@arcgis/charts-components 5.1.0-next.87 → 5.1.0-next.89
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/{E236NXER.js → 26POUPWU.js} +1 -1
- package/dist/cdn/{WZ2UHREI.js → 3NMY4J2D.js} +1 -1
- package/dist/cdn/{OQNYW7IP.js → 3P4AQMMY.js} +1 -1
- package/dist/cdn/{JRBIKCLX.js → 3X3Z23AS.js} +1 -1
- package/dist/cdn/{YZABL4ES.js → 4ALZJ3CG.js} +1 -1
- package/dist/cdn/{NL5S3OE6.js → 4ENNLWRL.js} +1 -1
- package/dist/cdn/{DPB4UM43.js → 5YCOKGHG.js} +1 -1
- package/dist/cdn/{S7T24OCU.js → 62TXBTL3.js} +1 -1
- package/dist/cdn/{NZW6ACIT.js → 6YR5YBAA.js} +1 -1
- package/dist/cdn/{Q4T4D2LB.js → 75Z2ZEV6.js} +1 -1
- package/dist/cdn/{LLMY5OHZ.js → B4M5ONG5.js} +1 -1
- package/dist/cdn/{QC5B3B6A.js → BVLTMGGQ.js} +1 -1
- package/dist/cdn/{P5PYOHCA.js → C72UPKF4.js} +1 -1
- package/dist/cdn/{FUA7KDU7.js → CHILDA3R.js} +1 -1
- package/dist/cdn/{MXWWYMFC.js → CJSS55DK.js} +1 -1
- package/dist/cdn/{VYWV24JN.js → DSJH2QJG.js} +1 -1
- package/dist/cdn/{2YZFLCHV.js → EAAJU5TO.js} +1 -1
- package/dist/cdn/{UEWINO5H.js → G3XBMCKE.js} +1 -1
- package/dist/cdn/{AWKPSK42.js → HA5CFOJE.js} +1 -1
- package/dist/cdn/{6U3ROWZZ.js → HJIDBIQL.js} +1 -1
- package/dist/cdn/{H4V744QH.js → I3ZSXBQO.js} +1 -1
- package/dist/cdn/{KSO34SAO.js → JR55BTZ5.js} +1 -1
- package/dist/cdn/{JMR3NFDK.js → KVJZUPVF.js} +1 -1
- package/dist/cdn/{WHVMPOF6.js → N6Q3RRG6.js} +1 -1
- package/dist/cdn/{TS4AXHNJ.js → NM4MDQJP.js} +1 -1
- package/dist/cdn/{Q2EXXGKR.js → NMILLJKN.js} +1 -1
- package/dist/cdn/{QULJVW56.js → OOL3OCF6.js} +1 -1
- package/dist/cdn/{2PY6XJ5J.js → P5LRUJEM.js} +3 -3
- package/dist/cdn/{5P2CIK73.js → PFYY7H3D.js} +1 -1
- package/dist/cdn/{FTMDNRQ4.js → S3MRQDR4.js} +1 -1
- package/dist/cdn/SHV72LSB.js +2 -0
- package/dist/cdn/{IO7XSZZJ.js → U2UMLRH3.js} +1 -1
- package/dist/cdn/{RI3UECXS.js → U35ZUK2Z.js} +1 -1
- package/dist/cdn/{6CGIXX6D.js → UAE2H7RQ.js} +1 -1
- package/dist/cdn/{LRKPA44Q.js → UJLJHKRJ.js} +1 -1
- package/dist/cdn/{45N4ERUO.js → UJLYQ2MQ.js} +1 -1
- package/dist/cdn/{DNF2AXKJ.js → UJYTBVXZ.js} +1 -1
- package/dist/cdn/{GKB2KMVK.js → US7KJPHU.js} +1 -1
- package/dist/cdn/{7BU2NYJF.js → UYTK7QBJ.js} +1 -1
- package/dist/cdn/{MNYJ2GYM.js → WODW55PL.js} +1 -1
- package/dist/cdn/{27R3TDQ3.js → WPJSJKFO.js} +1 -1
- package/dist/cdn/{N72YIV7E.js → X4HMNXVO.js} +1 -1
- package/dist/cdn/{7FAH7JCG.js → XMEDNSCY.js} +1 -1
- package/dist/cdn/{5C6NKK2M.js → Y5Q5HB2N.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +43 -35
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +3 -3
- package/dist/cdn/A3N7FAEK.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import e from"./NGI7H6FA.js";import"./FPDW4F45.js";import{a as S}from"./
|
|
2
|
+
import e from"./NGI7H6FA.js";import"./FPDW4F45.js";import{a as S}from"./SHV72LSB.js";import d from"./PE3FCPYX.js";import"./YJXIGYX6.js";import b from"./EVQPWQQD.js";import{u as t,z as u}from"./Y7IQV44J.js";import"./MIYIXPXS.js";import"./EZM4ZDQI.js";import"./ETLJKITO.js";import{A as y,B as l,D as n,G as g,g as m,i as s,n as a,y as o,z as c}from"./GKNEQGLI.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,{g:w,h:f,i:r,j:h}])=>{var d={sizeSection:"size-section",dropdownText:"dropdown-text",colorPickerContainer:"color-picker-container"},v=m`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto}:host arcgis-charts-config-colors{padding:var(--arcgis-charts-panel-padding);padding-bottom:1rem}:host .size-section{padding:1rem;display:flex}:host .size-section calcite-label{flex:1 1 0px;width:0}:host .size-section calcite-label .dropdown-text{max-width:75px;overflow:hidden;white-space:normal;text-overflow:ellipsis;cursor:pointer}:host .color-picker-container{display:flex}:host .color-picker-container calcite-label{flex:1 1 0px;width:0}:host .color-picker-container calcite-label .dropdown-text{max-width:75px;overflow:hidden;white-space:normal;text-overflow:ellipsis;cursor:pointer}`,p=class extends y{constructor(){super(...arguments),this._messages=S(),this.lineWidthInputElement=o(),this.lineStyleDropdownElement=o(),this.lineStyle={type:u.SLS},this.open=!1,this.enableClose=!1,this.usePanel=!1,this.arcgisChartsConfigLineStyleChange=a(),this.arcgisChartsConfigLineStyleClose=a()}static{this.properties={messageOverrides:0,lineStyle:0,header:1,open:5,enableClose:5,usePanel:5}}static{this.styles=v}closePanel(e){e.target.closed&&this.enableClose&&(this.open=!1,this.arcgisChartsConfigLineStyleClose.emit())}colorChange(e){this.lineStyle.color=e.detail,this.emitLineStyleEvent()}lineStyleChange(){let e=this.lineStyleDropdownElement.value?.selectedItems[0].accessKey;this.lineStyle.style!==e&&(this.lineStyle.style=e,this.lineStyle={...this.lineStyle},this.emitLineStyleEvent())}selectedLineStyle(){let e,i;switch(this.lineStyle?.style){case t.Dot:e="line-dotted",i=this._messages.dot??"";break;case t.Dash:e="line-dashed",i=this._messages.dash??"";break;case t.Solid:default:e="line-solid",i=this._messages.solid??"";break}return{icon:e,style:i}}widthChange(){let e=this.lineWidthInputElement.value?.value;e!==void 0&&w(e,this.lineWidthInputElement.value?.min,this.lineWidthInputElement.value?.max)?(this.lineStyle.width=Number.parseInt(e),this.emitLineStyleEvent(),this.lineWidthInputElement.value&&r({inputElement:this.lineWidthInputElement.value,status:h.IDLE})):this.lineWidthInputElement.value&&r({inputElement:this.lineWidthInputElement.value,status:h.INVALID})}emitLineStyleEvent(){Number.isNaN(Number.parseInt(this.lineStyle?.color?.[0]?.toString()??""))&&(this.lineStyle.color=void 0),this.arcgisChartsConfigLineStyleChange.emit(this.lineStyle)}render(){let e=[s`<div class=${l(d.sizeSection)}><calcite-label>${this._messages.style}<calcite-dropdown @calciteDropdownSelect=${this.lineStyleChange} ${c(this.lineStyleDropdownElement)}><calcite-button .iconEnd=${this.selectedLineStyle().icon} slot=trigger kind=neutral appearance=outline-fill scale=m><label class=${l(d.dropdownText)}>${this.selectedLineStyle().style}</label></calcite-button><calcite-dropdown-group><calcite-dropdown-item icon-end=line-solid .selected=${this.lineStyle?.style===t.Solid} accesskey=${t.Solid??n}>${this._messages.solid}</calcite-dropdown-item><calcite-dropdown-item icon-end=line-dotted .selected=${this.lineStyle?.style===t.Dot} accesskey=${t.Dot??n}>${this._messages.dot}</calcite-dropdown-item><calcite-dropdown-item icon-end=line-dashed .selected=${this.lineStyle?.style===t.Dash} accesskey=${t.Dash??n}>${this._messages.dash}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown></calcite-label><calcite-label>${this._messages.width}<calcite-input type=number min=1 step=any .value=${f(this.lineStyle?.width)} @calciteInputInput=${this.widthChange} ${c(this.lineWidthInputElement)}></calcite-input></calcite-label></div>`,s`<div class=${l(d.colorPickerContainer)}><arcgis-charts-config-colors .heading=${this._messages.lineColor} .rgba=${this.lineStyle?.color??void 0} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div>`];return this.usePanel?s`<calcite-panel .heading=${this.header??this._messages.header} .closed=${!this.open} .closable=${this.enableClose} @calcitePanelClose=${this.closePanel}>${e}</calcite-panel>`:e}};g("arcgis-charts-config-line-style",p);return p},b,d,e)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as d}from"./F5NS6O5R.js";import{b as P}from"./EEBD6KKN.js";import i from"./NGI7H6FA.js";import{j as r}from"./FPDW4F45.js";import{a as u}from"./
|
|
2
|
+
import{a as d}from"./F5NS6O5R.js";import{b as P}from"./EEBD6KKN.js";import i from"./NGI7H6FA.js";import{j as r}from"./FPDW4F45.js";import{a as u}from"./SHV72LSB.js";import e from"./PE3FCPYX.js";import"./YJXIGYX6.js";import b from"./EVQPWQQD.js";import{z as h}from"./Y7IQV44J.js";import"./MIYIXPXS.js";import"./EZM4ZDQI.js";import"./ETLJKITO.js";import{A as f,B as a,G as v,g,i as o,n as s,y as c,z as p}from"./GKNEQGLI.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,,,,,,,,,,,,,,,{Cc:$,Kb:y},,{a:S,l:m,m:b}])=>{var n={jsAppFlyout:"js-app-flyout",scatterplotPopover:"scatter-plot-popover",fillColor:"fill-color",header:"header",pickListItemLabel:"pick-list-item-label",pickListPanel:"pick-list-panel"},L=g`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{width:100%}.pick-list-panel{max-height:60vh}`,C=class extends f{constructor(){super(...arguments),this.picklist=c(),this._messages=u(),this.popoverElement=c(),this.open=!1,this.layerFieldsInfo=[],this.arcgisChartsConfigPopoverClose=s(),this.arcgisChartsConfigScatterplotFillColorChange=s(),this.arcgisChartsConfigScatterplotLineStyleChange=s(),this.arcgisChartsConfigScatterplotSizeVariableFieldChange=s(),this.arcgisChartsConfigScatterplotAdditionalTooltipFieldChange=s(),this.arcgisChartsConfigScatterplotXYFieldChange=s()}static{this.properties={messageOverrides:0,headingTitle:1,contentKind:1,selectedContent:1,referenceElement:0,placement:1,open:5,layerFieldsInfo:0}}static{this.styles=L}async reposition(){await this.popoverElement.value?.reposition()}updated(){setTimeout(()=>{this.picklist.value?.setFocus()},S.PopoverTimer),P(this.popoverElement.value,this.open)}seriesPopoverClose(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}closePopover(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}updateSymbolProperties(e){this.selectedContent=e.target.lineStyle,this.arcgisChartsConfigScatterplotLineStyleChange.emit(e.detail)}updateColorProperties(e){this.selectedContent=e.detail,this.arcgisChartsConfigScatterplotFillColorChange.emit(e.detail)}onFieldSelectionChange(e){let t=e.target.selectedItems;this.contentKind===r.sizeVariable?this.arcgisChartsConfigScatterplotSizeVariableFieldChange.emit(t.map(i=>i.value)[0]):this.contentKind===r.additionalTooltipFields?this.arcgisChartsConfigScatterplotAdditionalTooltipFieldChange.emit(t.map(i=>i.value)[0]):this.arcgisChartsConfigScatterplotXYFieldChange.emit(t.map(i=>i.value)[0]),this.open=!1}render(){let e=this.selectedContent,t=this.selectedContent;return o`<div class=${a({[n.jsAppFlyout]:!0})}><calcite-popover class=${a(n.scatterplotPopover)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${b(this.placement)} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${p(this.popoverElement)}>${Array.isArray(e)?o`<arcgis-charts-config-color-style .header=${this._messages.fillColor} class=${a(n.fillColor)} enable-close .open=${this.open} .selectedColor=${e} @arcgisChartsConfigColorStyleClose=${this.seriesPopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>`:null}${t?.type===h.SLS?o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${t} @arcgisChartsConfigLineStyleClose=${this.seriesPopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>`:null}${!Array.isArray(e)&&t?.type!==h.SLS?this.renderVariablePickList():null}</calcite-popover></div>`}renderVariablePickList(){let e=this.layerFieldsInfo?.length??0,t=[];(this.contentKind===r.sizeVariable||this.contentKind===r.additionalTooltipFields)&&t.push(d(" ",o`<calcite-list-item label=" " value=" " .selected=${m("",this.selectedContent)}></calcite-list-item>`));for(let i=0;i<e;i+=1){let l=this.layerFieldsInfo?.[i]??void 0;if(l!==void 0&&(this.contentKind===r.additionalTooltipFields||$(l))){let F=y(this.layerFieldsInfo,l.name);t.push(d(l.name,o`<calcite-list-item .label=${F} .value=${l.name} .selected=${m(l.name,this.selectedContent)}></calcite-list-item>`))}}return o`<calcite-panel class=${a(n.pickListPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${a(n.header)}>${this.headingTitle??""}</div><calcite-list label class=${a(n.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onFieldSelectionChange} ${p(this.picklist)}>${t}</calcite-list></calcite-panel>`}};v("arcgis-charts-config-scatter-plot-popover",C);return C},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","AttributeBinsGraphic","layers/support/CodedValueDomain","intl","request","core/sql","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","applications/Components/imageryUtils","geometry/Extent","geometry/Point",b,e,i)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as h}from"./OLODR474.js";import{a as R}from"./F5NS6O5R.js";import{b as j}from"./EEBD6KKN.js";import k from"./FTGZEUG5.js";import i from"./NGI7H6FA.js";import{l as c,m as $}from"./FPDW4F45.js";import{a as b}from"./A3N7FAEK.js";import e from"./PE3FCPYX.js";import"./YJXIGYX6.js";import a from"./EVQPWQQD.js";import{l as T,t as A}from"./Y7IQV44J.js";import"./MIYIXPXS.js";import"./EZM4ZDQI.js";import{b as S,w as f,x as C}from"./ETLJKITO.js";import{A as I,B as l,C as L,D as g,G as P,g as F,i as o,n as d,y as u,z as p}from"./GKNEQGLI.js";import"./QPIMTXPL.js";export default $arcgis.t(([O,,,,,,,,,,,,,,,,,,,,,{Cc:N,Dc:M,Ha:_,Kb:D,Qa:v,x:E},,{a:B,d:y,l:m},{b:x,c:k}])=>{var q=F`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.pick-list-item-label{font-size:small}.panel{max-height:60vh}.color-ramp-popover{display:flex;flex-direction:column;gap:.75rem;min-width:320px;max-width:480px}.color-ramp-toolbar{display:flex;gap:.5rem;align-items:center;padding:5px 5px 0}.ramp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem;max-height:300px;overflow:auto;padding:.25rem}.ramp-item{display:flex;flex-direction:column;border:1px solid var(--calcite-color-foreground-3);background:var(--calcite-color-foreground-1);cursor:pointer;box-shadow:inset 0 0 0 1px transparent;transition:box-shadow .12s;border-radius:2px;min-height:56px;padding:4px}.ramp-item:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}.ramp-name{font-size:.625rem;line-height:1;padding:2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-3)}.ramp-item.selected{background-color:var(--calcite-color-brand)!important;border-color:var(--calcite-color-brand)!important;outline:2px solid var(--calcite-color-brand)!important;color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-name{color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-strip{box-shadow:none;border:none}.ramp-strips{display:flex;flex:1;height:28px;width:100%;overflow:hidden}.ramp-strip{flex:1;min-width:0}.ramp-strip-fallback{background:repeating-linear-gradient(45deg,var(--calcite-color-foreground-3) 0,var(--calcite-color-foreground-3) 5px,var(--calcite-color-foreground-2) 5px,var(--calcite-color-foreground-2) 10px)}.ramp-empty{grid-column:1/-1;font-size:.75rem;color:var(--calcite-color-text-3)}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-ramp-popover-footer{display:flex;padding:.5rem}.color-ramp-popover-footer calcite-button{flex:1}`,s={jsAppFlyout:"js-app-flyout",name:"bar-chart-data-popover",header:"header",pickListItemLabel:"pick-list-item-label",panel:"panel",colorRampPopover:"color-ramp-popover",colorRampToolbar:"color-ramp-toolbar",rampGrid:"ramp-grid",rampItem:"ramp-item",rampName:"ramp-name",rampStrips:"ramp-strips",rampStrip:"ramp-strip",rampStripFallback:"ramp-strip-fallback",rampEmpty:"ramp-empty",panelChildrenContainer:"panel-children-container",colorRampPopoverFooter:"color-ramp-popover-footer"},w=class extends I{constructor(){super(...arguments),this._messages=b(),this.commonStrings=b({name:"common",blocking:!0}),this.picklist=u(),this.popoverElement=u(),this.placement="leading",this.offsetDistance=-200,this.availableColorRamps=[],this.selectedCategory=k.all,this.aggregationLabels=[],this.isFlipped=!1,this.open=!1,this.layerFieldsInfo=[],this.arcgisChartsConfigHeatChartColorRampChange=d(),this.arcgisChartsConfigHeatChartDataPopoverChange=d(),this.arcgisChartsConfigPopoverClose=d(),this.arcgisChartsConfigPopoverEmptyCellColorChange=d(),this.arcgisChartsConfigPopoverEmptyCellNameChange=d()}static{this.properties={availableColorRamps:16,selectedColorRampName:16,selectedCategory:16,aggregationLabels:16,isFlipped:5,model:0,messageOverrides:0,headingTitle:1,referenceElement:0,open:5,contentKind:1,layerFieldsInfo:0,selectedContent:1,colorRamps:0}}static{this.styles=q}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(){let e=y.map(t=>_(t,this.commonStrings));T(this.aggregationLabels,e)||(this.aggregationLabels=e),this.colorRamps&&this.colorRamps!==this.availableColorRamps&&(this.availableColorRamps=this.colorRamps),this.contentKind===c.colorScheme&&this.selectedContent&&!this.selectedColorRampName&&(this.selectedColorRampName=this.selectedContent)}updated(){setTimeout(()=>{this.picklist.value?.setFocus()},B.PopoverTimer),j(this.popoverElement.value,this.open)}buildAggregationListItems(){return h(y.filter(e=>e!==S.NoAggregation),e=>e,(e,t)=>o`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${m(e,this.selectedContent)}></calcite-list-item>`)}buildPickListItem(e){return R(e.name,o`<calcite-list-item .label=${D(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${m(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,a=[];switch(e){case c.numericFields:{let i=R(" ",o`<calcite-list-item label=" " value=" " .selected=${m("",this.selectedContent)}></calcite-list-item>`);a.push(i);for(let r=0;r<t;r+=1){let n=this.layerFieldsInfo?.[r];n&&N(n)&&a.push(this.buildPickListItem(n))}break}case c.xAxisField:{for(let i=0;i<t;i+=1){let r=this.layerFieldsInfo?.[i];r&&M(r)&&a.push(this.buildPickListItem(r))}break}}return a}closePopover(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}onDataContentTypeChange(e){let t=e.target.selectedItems;this.arcgisChartsConfigHeatChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(a=>a.value)[0]}),this.open=!1}filterColorRamps(){let e=[];if(this.selectedCategory===k.all)e=this.availableColorRamps;else{let t=x[this.selectedCategory];e=this.availableColorRamps?.filter(a=>t.some(i=>a.tags.includes(i)))}return e}getRampColors(e){let t=e.colors;return this.isFlipped?[...t].reverse():t}rampColorToCss(e){let t="#000000";try{if(e){if(e instanceof O){let a=e.toHex();typeof a=="string"&&a.length&&(t=a)}else if(Array.isArray(e)){let[a,i,r,n]=e;[a,i,r].every(H=>typeof H=="number")&&(t=`rgba(${a},${i},${r},${n??1})`)}else if(typeof e=="object"&&e){let{r:a,g:i,b:r,a:n}=e;if(a!=null&&i!=null&&r!=null)return`rgba(${a},${i},${r},${n??1})`}}}catch{}return t}onCategoryDropdownSelect(e){let t=e.target.selectedItems[0]?.getAttribute("data-tag");t&&(this.selectedCategory=t)}onFlipAll(){if(this.isFlipped=!this.isFlipped,this.selectedColorRampName){let e=this.availableColorRamps.find(t=>t.name===this.selectedColorRampName);if(e){let t={...e,colors:this.getRampColors(e)};this.arcgisChartsConfigHeatChartColorRampChange.emit({rampName:e.name,ramp:t,isFlipped:this.isFlipped})}}}onRampSelect(e){this.selectedColorRampName=e.name;let t={...e,colors:this.getRampColors(e)};this.arcgisChartsConfigHeatChartColorRampChange.emit({rampName:e.name,ramp:t,isFlipped:this.isFlipped})}nameChange(e){let t=e.target.value;this.model.emptyCellText!==t&&(this.model.emptyCellText=t,this.arcgisChartsConfigPopoverEmptyCellNameChange.emit({name:t}))}colorChange(e){let t=e instanceof CustomEvent?e.detail:e,[a,i,r]=t,n=E*255;this.arcgisChartsConfigPopoverEmptyCellColorChange.emit({color:[a,i,r,n]})}renderAggregationType(){let e=this.buildAggregationListItems();return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderXAxisFieldSelect(){let e=this.buildPickListItems(c.xAxisField);return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(c.numericFields);return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderCalendarType(){let e=this.layerFieldsInfo.find(i=>i.name===this.model.xAxisField),t=Object.values($).filter(i=>i!==$.WeekByDayOfWeekAndHourOfDay||e?.type!==A.DateOnly),a=h(t,i=>i,i=>{let r=this._messages[i];return o`<calcite-list-item .label=${r} .value=${i} .selected=${m(i,this.selectedContent)}></calcite-list-item>`});return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${a}</calcite-list>`}renderCalendarViewType(){let e=h(Object.values(f),t=>t,t=>{let a=this._messages[t];return o`<calcite-list-item .label=${a} .value=${t} .disabled=${t!==f.singleCalendarView} .selected=${m(t,this.selectedContent)}></calcite-list-item>`});return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderClassBreakMethod(){let e=[{value:C.naturalBreaks,title:this._messages?.classBreaksMethod?.naturalBreaks,msg:this._messages?.classBreaksMethod?.naturalBreaksMsg},{value:C.equalInterval,title:this._messages?.classBreaksMethod?.equalInterval,msg:this._messages?.classBreaksMethod?.equalIntervalMsg},{value:C.quantile,title:this._messages?.classBreaksMethod?.quantile,msg:this._messages?.classBreaksMethod?.quantileMsg}],t=h(Object.values(e),({value:a})=>a,a=>{let{title:i,msg:r,value:n}=a;return o`<calcite-list-item .label=${i} .description=${r} .value=${n} .selected=${m(n,this.selectedContent)}></calcite-list-item>`});return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${t}</calcite-list>`}renderPopoverInfo(){let e;switch(this.contentKind){case c.aggregation:e=this.renderAggregationType();break;case c.numericFields:e=this.renderNumericFields();break;case c.xAxisField:e=this.renderXAxisFieldSelect();break;case c.calendarType:e=this.renderCalendarType();break;case c.calendarViewType:e=this.renderCalendarViewType();break;case c.classBreakMethod:e=this.renderClassBreakMethod();break;case c.colorScheme:e=this.renderColorRampSelect();break;case c.null:e=this.renderEmptyCellUI();break;default:e=o`<div></div>`;break}return e}renderColorRampSelect(){let e=this.filterColorRamps(),t=this._messages?.colorRampCategories?this._messages.colorRampCategories[this.selectedCategory]:this.selectedCategory;return o`<div class=${l(s.colorRampPopover)}><div class=${l(s.colorRampToolbar)}><calcite-dropdown selection-mode=single placement=bottom-start @calciteDropdownSelect=${this.onCategoryDropdownSelect}><calcite-button slot=trigger appearance=outline icon-end=chevron-down>${t}</calcite-button><calcite-dropdown-group group-title=${this._messages?.colorRamp?.allCategories??"All color ramps"??g}>${Object.keys(x).map(a=>o`<calcite-dropdown-item data-tag=${a??g} .selected=${this.selectedCategory===a}>${this._messages?.colorRampCategories?this._messages.colorRampCategories[a]:a}</calcite-dropdown-item>`)}</calcite-dropdown-group></calcite-dropdown><calcite-button appearance=outline icon-start=arrow-up-down @click=${this.onFlipAll}>${this._messages?.colorRamp?.flipRampColors}</calcite-button></div><div class=${l(s.rampGrid)}>${e.length===0&&o`<div class=${l(s.rampEmpty)}>${this._messages?.colorRamp?.noRamps} ${this.selectedCategory!=="all"?`"${this.selectedCategory}"`:""}</div>`||""}${e.map(a=>{let i=this.getRampColors(a),r=a.name===this.selectedColorRampName;return o`<div class=${`${s.rampItem} ${r?"selected":""}`} title=${a.name??g} @click=${()=>this.onRampSelect(a)}><div class=${l(s.rampName)} aria-hidden=true>${a.name}</div><div class=${l(s.rampStrips)}>${h(i,n=>n,n=>o`<div class=${l(s.rampStrip)} style=${L({backgroundColor:this.rampColorToCss(n)})}></div>`)}${i.length===0&&o`<div class=${`${s.rampStrip} ${s.rampStripFallback}`}></div>`||""}</div></div>`})}</div><div class=${l(s.colorRampPopoverFooter)}><calcite-button appearance=solid kind=brand @click=${this.closePopover}>${this._messages?.colorRamp?.done}</calcite-button></div></div>`}renderEmptyCellUI(){let e=this.model.emptyCellSymbol?.color??v.grayColor,t=this.model.emptyCellText??v.nullCategory?.text??"";return o`<div><div class=${l(s.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.nameChange}></calcite-input></calcite-label></div><div class=${l(s.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages?.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></div>`}render(){return o`<div class=${l(s.jsAppFlyout)}><calcite-popover class=${l(s.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${l(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${l(s.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${void 0}</calcite-panel></calcite-popover></div>`}};P("arcgis-charts-config-heat-chart-popover",w);return w},"Color","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","AttributeBinsGraphic","layers/support/CodedValueDomain","intl","request","core/sql","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","applications/Components/imageryUtils","geometry/Extent","geometry/Point",a,e,i,k)
|
|
2
|
+
import{a as h}from"./OLODR474.js";import{a as R}from"./F5NS6O5R.js";import{b as j}from"./EEBD6KKN.js";import k from"./FTGZEUG5.js";import i from"./NGI7H6FA.js";import{l as c,m as $}from"./FPDW4F45.js";import{a as b}from"./SHV72LSB.js";import e from"./PE3FCPYX.js";import"./YJXIGYX6.js";import a from"./EVQPWQQD.js";import{l as T,t as A}from"./Y7IQV44J.js";import"./MIYIXPXS.js";import"./EZM4ZDQI.js";import{b as S,w as f,x as C}from"./ETLJKITO.js";import{A as I,B as l,C as L,D as g,G as P,g as F,i as o,n as d,y as u,z as p}from"./GKNEQGLI.js";import"./QPIMTXPL.js";export default $arcgis.t(([O,,,,,,,,,,,,,,,,,,,,,{Cc:N,Dc:M,Ha:_,Kb:D,Qa:v,x:E},,{a:B,d:y,l:m},{b:x,c:k}])=>{var q=F`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.pick-list-item-label{font-size:small}.panel{max-height:60vh}.color-ramp-popover{display:flex;flex-direction:column;gap:.75rem;min-width:320px;max-width:480px}.color-ramp-toolbar{display:flex;gap:.5rem;align-items:center;padding:5px 5px 0}.ramp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem;max-height:300px;overflow:auto;padding:.25rem}.ramp-item{display:flex;flex-direction:column;border:1px solid var(--calcite-color-foreground-3);background:var(--calcite-color-foreground-1);cursor:pointer;box-shadow:inset 0 0 0 1px transparent;transition:box-shadow .12s;border-radius:2px;min-height:56px;padding:4px}.ramp-item:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}.ramp-name{font-size:.625rem;line-height:1;padding:2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-3)}.ramp-item.selected{background-color:var(--calcite-color-brand)!important;border-color:var(--calcite-color-brand)!important;outline:2px solid var(--calcite-color-brand)!important;color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-name{color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-strip{box-shadow:none;border:none}.ramp-strips{display:flex;flex:1;height:28px;width:100%;overflow:hidden}.ramp-strip{flex:1;min-width:0}.ramp-strip-fallback{background:repeating-linear-gradient(45deg,var(--calcite-color-foreground-3) 0,var(--calcite-color-foreground-3) 5px,var(--calcite-color-foreground-2) 5px,var(--calcite-color-foreground-2) 10px)}.ramp-empty{grid-column:1/-1;font-size:.75rem;color:var(--calcite-color-text-3)}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-ramp-popover-footer{display:flex;padding:.5rem}.color-ramp-popover-footer calcite-button{flex:1}`,s={jsAppFlyout:"js-app-flyout",name:"bar-chart-data-popover",header:"header",pickListItemLabel:"pick-list-item-label",panel:"panel",colorRampPopover:"color-ramp-popover",colorRampToolbar:"color-ramp-toolbar",rampGrid:"ramp-grid",rampItem:"ramp-item",rampName:"ramp-name",rampStrips:"ramp-strips",rampStrip:"ramp-strip",rampStripFallback:"ramp-strip-fallback",rampEmpty:"ramp-empty",panelChildrenContainer:"panel-children-container",colorRampPopoverFooter:"color-ramp-popover-footer"},w=class extends I{constructor(){super(...arguments),this._messages=b(),this.commonStrings=b({name:"common",blocking:!0}),this.picklist=u(),this.popoverElement=u(),this.placement="leading",this.offsetDistance=-200,this.availableColorRamps=[],this.selectedCategory=k.all,this.aggregationLabels=[],this.isFlipped=!1,this.open=!1,this.layerFieldsInfo=[],this.arcgisChartsConfigHeatChartColorRampChange=d(),this.arcgisChartsConfigHeatChartDataPopoverChange=d(),this.arcgisChartsConfigPopoverClose=d(),this.arcgisChartsConfigPopoverEmptyCellColorChange=d(),this.arcgisChartsConfigPopoverEmptyCellNameChange=d()}static{this.properties={availableColorRamps:16,selectedColorRampName:16,selectedCategory:16,aggregationLabels:16,isFlipped:5,model:0,messageOverrides:0,headingTitle:1,referenceElement:0,open:5,contentKind:1,layerFieldsInfo:0,selectedContent:1,colorRamps:0}}static{this.styles=q}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(){let e=y.map(t=>_(t,this.commonStrings));T(this.aggregationLabels,e)||(this.aggregationLabels=e),this.colorRamps&&this.colorRamps!==this.availableColorRamps&&(this.availableColorRamps=this.colorRamps),this.contentKind===c.colorScheme&&this.selectedContent&&!this.selectedColorRampName&&(this.selectedColorRampName=this.selectedContent)}updated(){setTimeout(()=>{this.picklist.value?.setFocus()},B.PopoverTimer),j(this.popoverElement.value,this.open)}buildAggregationListItems(){return h(y.filter(e=>e!==S.NoAggregation),e=>e,(e,t)=>o`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${m(e,this.selectedContent)}></calcite-list-item>`)}buildPickListItem(e){return R(e.name,o`<calcite-list-item .label=${D(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${m(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,a=[];switch(e){case c.numericFields:{let i=R(" ",o`<calcite-list-item label=" " value=" " .selected=${m("",this.selectedContent)}></calcite-list-item>`);a.push(i);for(let r=0;r<t;r+=1){let n=this.layerFieldsInfo?.[r];n&&N(n)&&a.push(this.buildPickListItem(n))}break}case c.xAxisField:{for(let i=0;i<t;i+=1){let r=this.layerFieldsInfo?.[i];r&&M(r)&&a.push(this.buildPickListItem(r))}break}}return a}closePopover(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}onDataContentTypeChange(e){let t=e.target.selectedItems;this.arcgisChartsConfigHeatChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(a=>a.value)[0]}),this.open=!1}filterColorRamps(){let e=[];if(this.selectedCategory===k.all)e=this.availableColorRamps;else{let t=x[this.selectedCategory];e=this.availableColorRamps?.filter(a=>t.some(i=>a.tags.includes(i)))}return e}getRampColors(e){let t=e.colors;return this.isFlipped?[...t].reverse():t}rampColorToCss(e){let t="#000000";try{if(e){if(e instanceof O){let a=e.toHex();typeof a=="string"&&a.length&&(t=a)}else if(Array.isArray(e)){let[a,i,r,n]=e;[a,i,r].every(H=>typeof H=="number")&&(t=`rgba(${a},${i},${r},${n??1})`)}else if(typeof e=="object"&&e){let{r:a,g:i,b:r,a:n}=e;if(a!=null&&i!=null&&r!=null)return`rgba(${a},${i},${r},${n??1})`}}}catch{}return t}onCategoryDropdownSelect(e){let t=e.target.selectedItems[0]?.getAttribute("data-tag");t&&(this.selectedCategory=t)}onFlipAll(){if(this.isFlipped=!this.isFlipped,this.selectedColorRampName){let e=this.availableColorRamps.find(t=>t.name===this.selectedColorRampName);if(e){let t={...e,colors:this.getRampColors(e)};this.arcgisChartsConfigHeatChartColorRampChange.emit({rampName:e.name,ramp:t,isFlipped:this.isFlipped})}}}onRampSelect(e){this.selectedColorRampName=e.name;let t={...e,colors:this.getRampColors(e)};this.arcgisChartsConfigHeatChartColorRampChange.emit({rampName:e.name,ramp:t,isFlipped:this.isFlipped})}nameChange(e){let t=e.target.value;this.model.emptyCellText!==t&&(this.model.emptyCellText=t,this.arcgisChartsConfigPopoverEmptyCellNameChange.emit({name:t}))}colorChange(e){let t=e instanceof CustomEvent?e.detail:e,[a,i,r]=t,n=E*255;this.arcgisChartsConfigPopoverEmptyCellColorChange.emit({color:[a,i,r,n]})}renderAggregationType(){let e=this.buildAggregationListItems();return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderXAxisFieldSelect(){let e=this.buildPickListItems(c.xAxisField);return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(c.numericFields);return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderCalendarType(){let e=this.layerFieldsInfo.find(i=>i.name===this.model.xAxisField),t=Object.values($).filter(i=>i!==$.WeekByDayOfWeekAndHourOfDay||e?.type!==A.DateOnly),a=h(t,i=>i,i=>{let r=this._messages[i];return o`<calcite-list-item .label=${r} .value=${i} .selected=${m(i,this.selectedContent)}></calcite-list-item>`});return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${a}</calcite-list>`}renderCalendarViewType(){let e=h(Object.values(f),t=>t,t=>{let a=this._messages[t];return o`<calcite-list-item .label=${a} .value=${t} .disabled=${t!==f.singleCalendarView} .selected=${m(t,this.selectedContent)}></calcite-list-item>`});return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderClassBreakMethod(){let e=[{value:C.naturalBreaks,title:this._messages?.classBreaksMethod?.naturalBreaks,msg:this._messages?.classBreaksMethod?.naturalBreaksMsg},{value:C.equalInterval,title:this._messages?.classBreaksMethod?.equalInterval,msg:this._messages?.classBreaksMethod?.equalIntervalMsg},{value:C.quantile,title:this._messages?.classBreaksMethod?.quantile,msg:this._messages?.classBreaksMethod?.quantileMsg}],t=h(Object.values(e),({value:a})=>a,a=>{let{title:i,msg:r,value:n}=a;return o`<calcite-list-item .label=${i} .description=${r} .value=${n} .selected=${m(n,this.selectedContent)}></calcite-list-item>`});return o`<calcite-list label class=${l(s.pickListItemLabel)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${t}</calcite-list>`}renderPopoverInfo(){let e;switch(this.contentKind){case c.aggregation:e=this.renderAggregationType();break;case c.numericFields:e=this.renderNumericFields();break;case c.xAxisField:e=this.renderXAxisFieldSelect();break;case c.calendarType:e=this.renderCalendarType();break;case c.calendarViewType:e=this.renderCalendarViewType();break;case c.classBreakMethod:e=this.renderClassBreakMethod();break;case c.colorScheme:e=this.renderColorRampSelect();break;case c.null:e=this.renderEmptyCellUI();break;default:e=o`<div></div>`;break}return e}renderColorRampSelect(){let e=this.filterColorRamps(),t=this._messages?.colorRampCategories?this._messages.colorRampCategories[this.selectedCategory]:this.selectedCategory;return o`<div class=${l(s.colorRampPopover)}><div class=${l(s.colorRampToolbar)}><calcite-dropdown selection-mode=single placement=bottom-start @calciteDropdownSelect=${this.onCategoryDropdownSelect}><calcite-button slot=trigger appearance=outline icon-end=chevron-down>${t}</calcite-button><calcite-dropdown-group group-title=${this._messages?.colorRamp?.allCategories??"All color ramps"??g}>${Object.keys(x).map(a=>o`<calcite-dropdown-item data-tag=${a??g} .selected=${this.selectedCategory===a}>${this._messages?.colorRampCategories?this._messages.colorRampCategories[a]:a}</calcite-dropdown-item>`)}</calcite-dropdown-group></calcite-dropdown><calcite-button appearance=outline icon-start=arrow-up-down @click=${this.onFlipAll}>${this._messages?.colorRamp?.flipRampColors}</calcite-button></div><div class=${l(s.rampGrid)}>${e.length===0&&o`<div class=${l(s.rampEmpty)}>${this._messages?.colorRamp?.noRamps} ${this.selectedCategory!=="all"?`"${this.selectedCategory}"`:""}</div>`||""}${e.map(a=>{let i=this.getRampColors(a),r=a.name===this.selectedColorRampName;return o`<div class=${`${s.rampItem} ${r?"selected":""}`} title=${a.name??g} @click=${()=>this.onRampSelect(a)}><div class=${l(s.rampName)} aria-hidden=true>${a.name}</div><div class=${l(s.rampStrips)}>${h(i,n=>n,n=>o`<div class=${l(s.rampStrip)} style=${L({backgroundColor:this.rampColorToCss(n)})}></div>`)}${i.length===0&&o`<div class=${`${s.rampStrip} ${s.rampStripFallback}`}></div>`||""}</div></div>`})}</div><div class=${l(s.colorRampPopoverFooter)}><calcite-button appearance=solid kind=brand @click=${this.closePopover}>${this._messages?.colorRamp?.done}</calcite-button></div></div>`}renderEmptyCellUI(){let e=this.model.emptyCellSymbol?.color??v.grayColor,t=this.model.emptyCellText??v.nullCategory?.text??"";return o`<div><div class=${l(s.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.nameChange}></calcite-input></calcite-label></div><div class=${l(s.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages?.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></div>`}render(){return o`<div class=${l(s.jsAppFlyout)}><calcite-popover class=${l(s.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${l(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${l(s.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${void 0}</calcite-panel></calcite-popover></div>`}};P("arcgis-charts-config-heat-chart-popover",w);return w},"Color","Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","AttributeBinsGraphic","layers/support/CodedValueDomain","intl","request","core/sql","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","applications/Components/imageryUtils","geometry/Extent","geometry/Point",a,e,i,k)
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as r}from"./W44VQVU5.js";import"./T5RPAQYI.js";import"./EZM4ZDQI.js";import"./ETLJKITO.js";import{F as a,p as e}from"./GKNEQGLI.js";import"./QPIMTXPL.js";var t=e(a,{"arcgis-chart":[()=>import("./2PY6XJ5J.js"),"_messages:,actionMode,allowUsingObjectIdStat,aria:,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,commonStrings:,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableAutoTheming,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,hideUIMessages,hideZeroCountCategories,ignoreSmoothRenderingLimit,ignoreViewExtent,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionManager:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showEmptySeries,showLicenseWatermark,showUIMessages,skipChartCreationQueue,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,syncViewSelection,timeZone,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,destroy,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection;applySelectionFromSelectionManager"],"arcgis-charts-action-bar":[()=>import("./45N4ERUO.js"),"_messages:,actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,commonStrings:,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle"],"arcgis-charts-config-axes":[()=>import("./UEWINO5H.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,messageOverrides:,model:,open,showEnableXLogOption,showEnableYLogOption,showMaxXBoundOption,showMaxYBoundOption,showMinXBoundOption,showMinYBoundOption"],"arcgis-charts-config-axis":[()=>import("./6CGIXX6D.js"),"axisTitle,dataMaxValue,dataMinValue,initialMaxBound,initialMinBound,isXAxis,maxBoundMaxLimit,maxBoundMinLimit,messageOverrides:,minBoundMaxLimit,minBoundMinLimit,model:,showEnableLogOption,showMaxBoundOption,showMinBoundOption"],"arcgis-charts-config-bar-chart":[()=>import("./RNDCOMA2.js"),"calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,seriesColor:,timeZone,usePopupTemplateFieldsInfo"],"arcgis-charts-config-bar-chart-data":[()=>import("./DPB4UM43.js"),"layerFieldsInfo:,messageOverrides:,model:,open"],"arcgis-charts-config-bar-chart-popover":[()=>import("./S7T24OCU.js"),"contentKind,headingTitle,isCustomSortDisabled,isNoAggregationDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-bar-chart-series":[()=>import("./5P2CIK73.js"),"activeColorMatch,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-bar-chart-series-popover":[()=>import("./RI3UECXS.js"),"messageOverrides:,nullCategory:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-box-plot":[()=>import("./2P5TV6TZ.js"),"calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-box-plot-data":[()=>import("./NL5S3OE6.js"),"layerFieldsInfo:,messageOverrides:,model:"],"arcgis-charts-config-box-plot-popover":[()=>import("./P5PYOHCA.js"),"contentKind,headingTitle,isCustomSortDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-box-plot-series":[()=>import("./2YZFLCHV.js"),"activeColorMatch,configSeriesOpen,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-box-plot-series-popover":[()=>import("./FTMDNRQ4.js"),"isLineSymbol,labelCanBeConfigured,messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-category-format":[()=>import("./Q2EXXGKR.js"),"categoryFormat:,messageOverrides:"],"arcgis-charts-config-chart-rename-popover":[()=>import("./27R3TDQ3.js"),"messageOverrides:,name,open,referenceElement:;reposition"],"arcgis-charts-config-color-style":[()=>import("./FUA7KDU7.js"),"enableClose,header,messageOverrides:,open,selectedColor:"],"arcgis-charts-config-colors":[()=>import("./JRBIKCLX.js"),"heading,messageOverrides:,rgba:"],"arcgis-charts-config-create-flow":[()=>import("./KSO34SAO.js"),"activeLayerId,calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,chartData:,close,disableEditing,filterBySelection,headerTitle,layerList:,messageOverrides:,modelList:,panelNumber,popoverPlacement,r2,selectedChartId,seriesColor:,syncChartsToLayers,timeZone,usePopupTemplateFieldsInfo;setFocus"],"arcgis-charts-config-field-select":[()=>import("./QX3TWFL2.js"),"disabled,invalid,label"],"arcgis-charts-config-font-style":[()=>import("./QC5B3B6A.js"),"enableClose,fontStyle:,header,messageOverrides:,open"],"arcgis-charts-config-format":[()=>import("./NZW6ACIT.js"),"messageOverrides:,model:"],"arcgis-charts-config-format-popover":[()=>import("./GKB2KMVK.js"),"messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],"arcgis-charts-config-general":[()=>import("./LLMY5OHZ.js"),"messageOverrides:,model:,open"],"arcgis-charts-config-guide":[()=>import("./JMR3NFDK.js"),"calculatedMinMaxBounds:,index,latestGuidePosition,messageOverrides:,model:,orientation,timeZone"],"arcgis-charts-config-guide-popover":[()=>import("./YZABL4ES.js"),"messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],"arcgis-charts-config-guides":[()=>import("./MNYJ2GYM.js"),"calculatedMinMaxBounds:,enableXAxisGuide,enableYAxisGuide,messageOverrides:,model:,open,timeZone"],"arcgis-charts-config-guides-type-popover":[()=>import("./6U3ROWZZ.js"),"enableXAxisGuide,enableYAxisGuide,messageOverrides:,open,placement,referenceElement:;reposition"],"arcgis-charts-config-heat-chart":[()=>import("./6TU7TELQ.js"),"layer:,model:,page,usePopupTemplateFieldsInfo"],"arcgis-charts-config-heat-chart-data":[()=>import("./WHVMPOF6.js"),"layerFieldsInfo:,messageOverrides:,model:,open"],"arcgis-charts-config-heat-chart-popover":[()=>import("./5C6NKK2M.js"),"colorRamps:,contentKind,headingTitle,isFlipped,layerFieldsInfo:,messageOverrides:,model:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-histogram":[()=>import("./N5SWE4NH.js"),"calculatedMinMaxBounds:,chartData:,layer:,model:,page,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-histogram-data":[()=>import("./QULJVW56.js"),"countValue,layerFieldsInfo:,maxValue,meanValue,medianValue,messageOverrides:,minValue,model:,nullsValue,open,selectedOverlaySymbolType,standardDevValue,sumValue"],"arcgis-charts-config-histogram-popover":[()=>import("./WZ2UHREI.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedBinColor:,selectedNumericField,selectedOverlaySymbol:,selectedOverlaySymbolType,selectedTransformationType;reposition"],"arcgis-charts-config-invalid-input-message":[()=>import("./JVUPGGG4.js"),"invalidInputMessage,isInvalid"],"arcgis-charts-config-line-chart":[()=>import("./WPIPMEWS.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,seriesColor:,timeZone,usePopupTemplateFieldsInfo"],"arcgis-charts-config-line-chart-data":[()=>import("./DNF2AXKJ.js"),"layerFieldsInfo:,messageOverrides:,model:,resetTimeInterval:"],"arcgis-charts-config-line-chart-popover":[()=>import("./Q4T4D2LB.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-line-chart-series":[()=>import("./MXWWYMFC.js"),"activeColorMatch,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-line-chart-series-popover":[()=>import("./TS4AXHNJ.js"),"messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-line-style":[()=>import("./N72YIV7E.js"),"enableClose,header,lineStyle:,messageOverrides:,open,usePanel"],"arcgis-charts-config-number-format":[()=>import("./E236NXER.js"),"messageOverrides:,numberFormat:"],"arcgis-charts-config-pie-chart":[()=>import("./FEOJNWJU.js"),"calculatedMinMaxBounds:,chartData:,filterBySelection,layer:,model:,page,popoverPlacement,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-pie-chart-data":[()=>import("./IO7XSZZJ.js"),"layerFieldsInfo:,messageOverrides:,model:"],"arcgis-charts-config-pie-chart-popover":[()=>import("./AWKPSK42.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-pie-chart-slices":[()=>import("./OQNYW7IP.js"),"chartData:,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-pie-chart-slices-popover":[()=>import("./VYWV24JN.js"),"messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSliceId;reposition"],"arcgis-charts-config-scatter-plot":[()=>import("./UMK53D2L.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,r2,usePopupTemplateFieldsInfo"],"arcgis-charts-config-scatter-plot-data":[()=>import("./7BU2NYJF.js"),"isTableLayer,layerFieldsInfo:,messageOverrides:,model:,r2"],"arcgis-charts-config-scatter-plot-popover":[()=>import("./7FAH7JCG.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-select-chart-type-popover":[()=>import("./LRKPA44Q.js"),"headerTitle,layerId,layerType,messageOverrides:,open,popoverPlacement,referenceElement:,selectedModelType;reposition"],"arcgis-charts-config-view-charts":[()=>import("./H4V744QH.js"),"disableEditing,layer:,messageOverrides:,modelList:,noGroup,selectedChartId"],"arcgis-charts-info-modal":[()=>import("./AUF6Z2XS.js"),"calciteThemeApplied,enableAutoTheming,heading,loaderColors:,message,showLoader"]});t({resourcesUrl:import.meta.url});var i=new CSSStyleSheet;i.replaceSync('@layer{:not([hydrated]):is(arcgis-chart,arcgis-charts-action-bar){visibility:hidden}:root,:host{--arcgis-charts-config-calcite-block-default-width: 100%;--arcgis-charts-config-calcite-block-default-height: auto;--arcgis-charts-config-default-max-width: 100%;--arcgis-charts-config-default-max-height: 100%;--arcgis-charts-background: rgb(223, 223, 223);--calcite-ui-foreground: rgb(223, 223, 223);--calcite-app-background-content: rgb(0, 0, 0, 0);--config-width: 40%;--config-height: 600px;--placement-direction: "row"}:root{--arcgis-charts-curtain-opacity: 1;--arcgis-charts-popup-ol-padding: 2em;--arcgis-charts-popup-body-padding-left: 0;--arcgis-charts-default-width: 100%;--arcgis-charts-default-height: 100%;--arcgis-charts-config-calcite-block-default-margin: 0;--arcgis-charts-config-margin-minor: .5rem;--arcgis-charts-config-margin-major: 1rem;--arcgis-charts-inter-section-margin: .9rem;--arcgis-charts-intra-section-margin: .3rem;--arcgis-charts-top-section-margin: .6rem;--arcgis-charts-input-height: 2.4rem;--arcgis-charts-panel-padding: 0 1rem;--arcgis-charts-border-radius: .2rem;--arcgis-charts-input-background: #ffffff;--arcgis-charts-border: #eaeaea;--arcgis-charts-border-hover: #dfdfdf;--arcgis-charts-border-invalid: red;--arcgis-charts-background-clear: transparent;--arcgis-charts-dim-text: rgb(150, 150, 150);--arcgis-charts-side-spacing: 1rem;--arcgis-charts-side-spacing-three-quarters: calc(var(--arcgis-charts-side-spacing) * 3 / 4);--arcgis-charts-side-spacing-half: calc(var(--arcgis-charts-side-spacing) / 2);--arcgis-charts-side-spacing-third: calc(var(--arcgis-charts-side-spacing) / 3);--arcgis-charts-side-spacing-quarter: calc(var(--arcgis-charts-side-spacing) / 4);--arcgis-charts-side-spacing-eighth: calc(var(--arcgis-charts-side-spacing) / 8);--arcgis-charts-side-spacing-plus-half: calc(var(--arcgis-charts-side-spacing) * 1.5);--arcgis-charts-side-spacing-double: calc(var(--arcgis-charts-side-spacing) * 2)}}');document.adoptedStyleSheets=[...document.adoptedStyleSheets,i];export{r as createModel};window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a);(($arcgis.importMap??={}).imports??={})["@arcgis/charts-components"]=import.meta.url
|
|
2
|
+
import{a as r}from"./W44VQVU5.js";import"./T5RPAQYI.js";import"./EZM4ZDQI.js";import"./ETLJKITO.js";import{F as a,p as e}from"./GKNEQGLI.js";import"./QPIMTXPL.js";var t=e(a,{"arcgis-chart":[()=>import("./P5LRUJEM.js"),"_messages:,actionMode,allowUsingObjectIdStat,aria:,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,commonStrings:,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableAutoTheming,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,hideUIMessages,hideZeroCountCategories,ignoreSmoothRenderingLimit,ignoreViewExtent,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionManager:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showEmptySeries,showLicenseWatermark,showUIMessages,skipChartCreationQueue,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,syncViewSelection,timeZone,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,destroy,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection;applySelectionFromSelectionManager"],"arcgis-charts-action-bar":[()=>import("./UJLYQ2MQ.js"),"_messages:,actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,commonStrings:,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle"],"arcgis-charts-config-axes":[()=>import("./G3XBMCKE.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,messageOverrides:,model:,open,showEnableXLogOption,showEnableYLogOption,showMaxXBoundOption,showMaxYBoundOption,showMinXBoundOption,showMinYBoundOption"],"arcgis-charts-config-axis":[()=>import("./UAE2H7RQ.js"),"axisTitle,dataMaxValue,dataMinValue,initialMaxBound,initialMinBound,isXAxis,maxBoundMaxLimit,maxBoundMinLimit,messageOverrides:,minBoundMaxLimit,minBoundMinLimit,model:,showEnableLogOption,showMaxBoundOption,showMinBoundOption"],"arcgis-charts-config-bar-chart":[()=>import("./RNDCOMA2.js"),"calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,seriesColor:,timeZone,usePopupTemplateFieldsInfo"],"arcgis-charts-config-bar-chart-data":[()=>import("./5YCOKGHG.js"),"layerFieldsInfo:,messageOverrides:,model:,open"],"arcgis-charts-config-bar-chart-popover":[()=>import("./62TXBTL3.js"),"contentKind,headingTitle,isCustomSortDisabled,isNoAggregationDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-bar-chart-series":[()=>import("./PFYY7H3D.js"),"activeColorMatch,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-bar-chart-series-popover":[()=>import("./U35ZUK2Z.js"),"messageOverrides:,nullCategory:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-box-plot":[()=>import("./2P5TV6TZ.js"),"calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-box-plot-data":[()=>import("./4ENNLWRL.js"),"layerFieldsInfo:,messageOverrides:,model:"],"arcgis-charts-config-box-plot-popover":[()=>import("./C72UPKF4.js"),"contentKind,headingTitle,isCustomSortDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-box-plot-series":[()=>import("./EAAJU5TO.js"),"activeColorMatch,configSeriesOpen,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-box-plot-series-popover":[()=>import("./S3MRQDR4.js"),"isLineSymbol,labelCanBeConfigured,messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-category-format":[()=>import("./NMILLJKN.js"),"categoryFormat:,messageOverrides:"],"arcgis-charts-config-chart-rename-popover":[()=>import("./WPJSJKFO.js"),"messageOverrides:,name,open,referenceElement:;reposition"],"arcgis-charts-config-color-style":[()=>import("./CHILDA3R.js"),"enableClose,header,messageOverrides:,open,selectedColor:"],"arcgis-charts-config-colors":[()=>import("./3X3Z23AS.js"),"heading,messageOverrides:,rgba:"],"arcgis-charts-config-create-flow":[()=>import("./JR55BTZ5.js"),"activeLayerId,calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,chartData:,close,disableEditing,filterBySelection,headerTitle,layerList:,messageOverrides:,modelList:,panelNumber,popoverPlacement,r2,selectedChartId,seriesColor:,syncChartsToLayers,timeZone,usePopupTemplateFieldsInfo;setFocus"],"arcgis-charts-config-field-select":[()=>import("./QX3TWFL2.js"),"disabled,invalid,label"],"arcgis-charts-config-font-style":[()=>import("./BVLTMGGQ.js"),"enableClose,fontStyle:,header,messageOverrides:,open"],"arcgis-charts-config-format":[()=>import("./6YR5YBAA.js"),"messageOverrides:,model:"],"arcgis-charts-config-format-popover":[()=>import("./US7KJPHU.js"),"messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],"arcgis-charts-config-general":[()=>import("./B4M5ONG5.js"),"messageOverrides:,model:,open"],"arcgis-charts-config-guide":[()=>import("./KVJZUPVF.js"),"calculatedMinMaxBounds:,index,latestGuidePosition,messageOverrides:,model:,orientation,timeZone"],"arcgis-charts-config-guide-popover":[()=>import("./4ALZJ3CG.js"),"messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],"arcgis-charts-config-guides":[()=>import("./WODW55PL.js"),"calculatedMinMaxBounds:,enableXAxisGuide,enableYAxisGuide,messageOverrides:,model:,open,timeZone"],"arcgis-charts-config-guides-type-popover":[()=>import("./HJIDBIQL.js"),"enableXAxisGuide,enableYAxisGuide,messageOverrides:,open,placement,referenceElement:;reposition"],"arcgis-charts-config-heat-chart":[()=>import("./6TU7TELQ.js"),"layer:,model:,page,usePopupTemplateFieldsInfo"],"arcgis-charts-config-heat-chart-data":[()=>import("./N6Q3RRG6.js"),"layerFieldsInfo:,messageOverrides:,model:,open"],"arcgis-charts-config-heat-chart-popover":[()=>import("./Y5Q5HB2N.js"),"colorRamps:,contentKind,headingTitle,isFlipped,layerFieldsInfo:,messageOverrides:,model:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-histogram":[()=>import("./N5SWE4NH.js"),"calculatedMinMaxBounds:,chartData:,layer:,model:,page,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-histogram-data":[()=>import("./OOL3OCF6.js"),"countValue,layerFieldsInfo:,maxValue,meanValue,medianValue,messageOverrides:,minValue,model:,nullsValue,open,selectedOverlaySymbolType,standardDevValue,sumValue"],"arcgis-charts-config-histogram-popover":[()=>import("./3NMY4J2D.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedBinColor:,selectedNumericField,selectedOverlaySymbol:,selectedOverlaySymbolType,selectedTransformationType;reposition"],"arcgis-charts-config-invalid-input-message":[()=>import("./JVUPGGG4.js"),"invalidInputMessage,isInvalid"],"arcgis-charts-config-line-chart":[()=>import("./WPIPMEWS.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,seriesColor:,timeZone,usePopupTemplateFieldsInfo"],"arcgis-charts-config-line-chart-data":[()=>import("./UJYTBVXZ.js"),"layerFieldsInfo:,messageOverrides:,model:,resetTimeInterval:"],"arcgis-charts-config-line-chart-popover":[()=>import("./75Z2ZEV6.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-line-chart-series":[()=>import("./CJSS55DK.js"),"activeColorMatch,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-line-chart-series-popover":[()=>import("./NM4MDQJP.js"),"messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-line-style":[()=>import("./X4HMNXVO.js"),"enableClose,header,lineStyle:,messageOverrides:,open,usePanel"],"arcgis-charts-config-number-format":[()=>import("./26POUPWU.js"),"messageOverrides:,numberFormat:"],"arcgis-charts-config-pie-chart":[()=>import("./FEOJNWJU.js"),"calculatedMinMaxBounds:,chartData:,filterBySelection,layer:,model:,page,popoverPlacement,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-pie-chart-data":[()=>import("./U2UMLRH3.js"),"layerFieldsInfo:,messageOverrides:,model:"],"arcgis-charts-config-pie-chart-popover":[()=>import("./HA5CFOJE.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-pie-chart-slices":[()=>import("./3P4AQMMY.js"),"chartData:,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-pie-chart-slices-popover":[()=>import("./DSJH2QJG.js"),"messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSliceId;reposition"],"arcgis-charts-config-scatter-plot":[()=>import("./UMK53D2L.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,r2,usePopupTemplateFieldsInfo"],"arcgis-charts-config-scatter-plot-data":[()=>import("./UYTK7QBJ.js"),"isTableLayer,layerFieldsInfo:,messageOverrides:,model:,r2"],"arcgis-charts-config-scatter-plot-popover":[()=>import("./XMEDNSCY.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-select-chart-type-popover":[()=>import("./UJLJHKRJ.js"),"headerTitle,layerId,layerType,messageOverrides:,open,popoverPlacement,referenceElement:,selectedModelType;reposition"],"arcgis-charts-config-view-charts":[()=>import("./I3ZSXBQO.js"),"disableEditing,layer:,messageOverrides:,modelList:,noGroup,selectedChartId"],"arcgis-charts-info-modal":[()=>import("./AUF6Z2XS.js"),"calciteThemeApplied,enableAutoTheming,heading,loaderColors:,message,showLoader"]});t({resourcesUrl:import.meta.url});var i=new CSSStyleSheet;i.replaceSync('@layer{:not([hydrated]):is(arcgis-chart,arcgis-charts-action-bar){visibility:hidden}:root,:host{--arcgis-charts-config-calcite-block-default-width: 100%;--arcgis-charts-config-calcite-block-default-height: auto;--arcgis-charts-config-default-max-width: 100%;--arcgis-charts-config-default-max-height: 100%;--arcgis-charts-background: rgb(223, 223, 223);--calcite-ui-foreground: rgb(223, 223, 223);--calcite-app-background-content: rgb(0, 0, 0, 0);--config-width: 40%;--config-height: 600px;--placement-direction: "row"}:root{--arcgis-charts-curtain-opacity: 1;--arcgis-charts-popup-ol-padding: 2em;--arcgis-charts-popup-body-padding-left: 0;--arcgis-charts-default-width: 100%;--arcgis-charts-default-height: 100%;--arcgis-charts-config-calcite-block-default-margin: 0;--arcgis-charts-config-margin-minor: .5rem;--arcgis-charts-config-margin-major: 1rem;--arcgis-charts-inter-section-margin: .9rem;--arcgis-charts-intra-section-margin: .3rem;--arcgis-charts-top-section-margin: .6rem;--arcgis-charts-input-height: 2.4rem;--arcgis-charts-panel-padding: 0 1rem;--arcgis-charts-border-radius: .2rem;--arcgis-charts-input-background: #ffffff;--arcgis-charts-border: #eaeaea;--arcgis-charts-border-hover: #dfdfdf;--arcgis-charts-border-invalid: red;--arcgis-charts-background-clear: transparent;--arcgis-charts-dim-text: rgb(150, 150, 150);--arcgis-charts-side-spacing: 1rem;--arcgis-charts-side-spacing-three-quarters: calc(var(--arcgis-charts-side-spacing) * 3 / 4);--arcgis-charts-side-spacing-half: calc(var(--arcgis-charts-side-spacing) / 2);--arcgis-charts-side-spacing-third: calc(var(--arcgis-charts-side-spacing) / 3);--arcgis-charts-side-spacing-quarter: calc(var(--arcgis-charts-side-spacing) / 4);--arcgis-charts-side-spacing-eighth: calc(var(--arcgis-charts-side-spacing) / 8);--arcgis-charts-side-spacing-plus-half: calc(var(--arcgis-charts-side-spacing) * 1.5);--arcgis-charts-side-spacing-double: calc(var(--arcgis-charts-side-spacing) * 2)}}');document.adoptedStyleSheets=[...document.adoptedStyleSheets,i];export{r as createModel};window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,a);(($arcgis.importMap??={}).imports??={})["@arcgis/charts-components"]=import.meta.url
|
|
@@ -8044,7 +8044,7 @@ function Ar(t) {
|
|
|
8044
8044
|
errorStrings: S
|
|
8045
8045
|
});
|
|
8046
8046
|
}
|
|
8047
|
-
|
|
8047
|
+
function Tr(t) {
|
|
8048
8048
|
const { chartConfig: e } = t, {
|
|
8049
8049
|
chart: i,
|
|
8050
8050
|
options: a,
|
|
@@ -8153,7 +8153,7 @@ function ku(t) {
|
|
|
8153
8153
|
});
|
|
8154
8154
|
});
|
|
8155
8155
|
}
|
|
8156
|
-
|
|
8156
|
+
function wx(t) {
|
|
8157
8157
|
const {
|
|
8158
8158
|
chartContainer: e,
|
|
8159
8159
|
chartConfig: i,
|
|
@@ -8170,7 +8170,7 @@ async function wx(t) {
|
|
|
8170
8170
|
Lr({ chart: g, localeInfo: { locale: h, formatLocale: p, rtl: b }, chartLocale: m }), g.events.on(P.Inited, () => g.zoomOutButton.deepInvalidate());
|
|
8171
8171
|
const x = H(i?.series);
|
|
8172
8172
|
g instanceof ge && x !== y.BoxPlotSeries && (g.maskBullets = !1);
|
|
8173
|
-
const S =
|
|
8173
|
+
const S = Tr({
|
|
8174
8174
|
chartConfig: i,
|
|
8175
8175
|
chart: g,
|
|
8176
8176
|
queryObject: a,
|
|
@@ -8184,7 +8184,7 @@ async function wx(t) {
|
|
|
8184
8184
|
});
|
|
8185
8185
|
return ie(g.uid, { config: $e(i) }), ku(g), Wp(g, a), Ep(g, a), { chart: g, chartElements: S };
|
|
8186
8186
|
}
|
|
8187
|
-
|
|
8187
|
+
function Rx(t) {
|
|
8188
8188
|
const {
|
|
8189
8189
|
chartContainer: e,
|
|
8190
8190
|
chartConfig: i,
|
|
@@ -8200,7 +8200,7 @@ async function Rx(t) {
|
|
|
8200
8200
|
g.id = i?.id ?? g.uid;
|
|
8201
8201
|
const h = Zc(g.htmlContainer);
|
|
8202
8202
|
Lr({ chart: g, localeInfo: h, chartLocale: c }), g.radius = dt(A.pieChart.chartRadius);
|
|
8203
|
-
const p =
|
|
8203
|
+
const p = Tr({
|
|
8204
8204
|
chartConfig: i,
|
|
8205
8205
|
chart: g,
|
|
8206
8206
|
queryObject: a,
|
|
@@ -8215,7 +8215,7 @@ async function Rx(t) {
|
|
|
8215
8215
|
});
|
|
8216
8216
|
return ie(g.uid, { config: $e(i), filterBySelection: u?.filterBySelection }), vx(g, a), { chart: g, chartElements: p };
|
|
8217
8217
|
}
|
|
8218
|
-
|
|
8218
|
+
function Bx(t) {
|
|
8219
8219
|
const {
|
|
8220
8220
|
chartContainer: e,
|
|
8221
8221
|
chartConfig: i,
|
|
@@ -8231,7 +8231,7 @@ async function Bx(t) {
|
|
|
8231
8231
|
Lr({ chart: d, localeInfo: m, chartLocale: r }), d.maskBullets = !1;
|
|
8232
8232
|
const g = A.gauge, h = Number.isFinite(i?.innerRadius) ? i?.innerRadius : g.innerRadius, p = Number.isFinite(i?.startAngle) ? i?.startAngle : g.startAngle, b = Number.isFinite(i?.endAngle) ? i?.endAngle : g.endAngle;
|
|
8233
8233
|
d.radius = dt(g.radius), typeof h == "number" && (d.innerRadius = dt(h)), typeof p == "number" && (d.startAngle = p), typeof b == "number" && (d.endAngle = b);
|
|
8234
|
-
const C =
|
|
8234
|
+
const C = Tr({
|
|
8235
8235
|
chartConfig: i,
|
|
8236
8236
|
chart: d,
|
|
8237
8237
|
queryObject: a,
|
|
@@ -8247,7 +8247,7 @@ async function Bx(t) {
|
|
|
8247
8247
|
d && !x && LC(i?.axes?.[0]) && (d.svgContainer?.measure(), d.invalidateData());
|
|
8248
8248
|
}), { chart: d, chartElements: C };
|
|
8249
8249
|
}
|
|
8250
|
-
|
|
8250
|
+
function Mx(t) {
|
|
8251
8251
|
const { newConfig: e } = t, {
|
|
8252
8252
|
chart: i,
|
|
8253
8253
|
chartElements: a,
|
|
@@ -8443,7 +8443,7 @@ function Px(t) {
|
|
|
8443
8443
|
subtitle: a.subtitle
|
|
8444
8444
|
}), Dn(i.footerElements, a.footer), In(e, a.background), ie(e.uid, { config: $e(a) });
|
|
8445
8445
|
}
|
|
8446
|
-
|
|
8446
|
+
function Vx(t) {
|
|
8447
8447
|
const {
|
|
8448
8448
|
chartContainer: e,
|
|
8449
8449
|
chartConfig: i,
|
|
@@ -8460,7 +8460,7 @@ async function Vx(t) {
|
|
|
8460
8460
|
let d;
|
|
8461
8461
|
switch (H(i?.series)) {
|
|
8462
8462
|
case y.PieSeries:
|
|
8463
|
-
si(n), d =
|
|
8463
|
+
si(n), d = Rx({
|
|
8464
8464
|
chartContainer: e,
|
|
8465
8465
|
chartConfig: i,
|
|
8466
8466
|
queryObject: n,
|
|
@@ -8474,7 +8474,7 @@ async function Vx(t) {
|
|
|
8474
8474
|
});
|
|
8475
8475
|
break;
|
|
8476
8476
|
case y.GaugeSeries:
|
|
8477
|
-
si(n), d =
|
|
8477
|
+
si(n), d = Bx({
|
|
8478
8478
|
chartContainer: e,
|
|
8479
8479
|
chartConfig: i,
|
|
8480
8480
|
queryObject: n,
|
|
@@ -8486,7 +8486,7 @@ async function Vx(t) {
|
|
|
8486
8486
|
});
|
|
8487
8487
|
break;
|
|
8488
8488
|
default:
|
|
8489
|
-
d =
|
|
8489
|
+
d = wx({
|
|
8490
8490
|
chartContainer: e,
|
|
8491
8491
|
chartConfig: i,
|
|
8492
8492
|
dataInfo: s,
|
|
@@ -8501,7 +8501,7 @@ async function Vx(t) {
|
|
|
8501
8501
|
}
|
|
8502
8502
|
return d;
|
|
8503
8503
|
}
|
|
8504
|
-
|
|
8504
|
+
function Wx(t) {
|
|
8505
8505
|
const {
|
|
8506
8506
|
chartContainer: e,
|
|
8507
8507
|
chartConfig: i,
|
|
@@ -8515,7 +8515,7 @@ async function Wx(t) {
|
|
|
8515
8515
|
dataInfo: u,
|
|
8516
8516
|
uniqueInternalID: d,
|
|
8517
8517
|
loaderHandle: m
|
|
8518
|
-
} = t, { errorStrings: g } = a, h = !Ml(e), b =
|
|
8518
|
+
} = t, { errorStrings: g } = a, h = !Ml(e), b = Vx({
|
|
8519
8519
|
chartContainer: e,
|
|
8520
8520
|
chartConfig: i,
|
|
8521
8521
|
dataInfo: u,
|
|
@@ -8538,7 +8538,7 @@ async function Wx(t) {
|
|
|
8538
8538
|
function S() {
|
|
8539
8539
|
d && Nm.delete(d), C.isDisposed() || (Lp(C), x !== void 0 && (b.chartElements = void 0), C.dispose());
|
|
8540
8540
|
}
|
|
8541
|
-
|
|
8541
|
+
function v(k) {
|
|
8542
8542
|
const {
|
|
8543
8543
|
newChartConfig: O,
|
|
8544
8544
|
dataWasUpdated: w,
|
|
@@ -8559,7 +8559,7 @@ async function Wx(t) {
|
|
|
8559
8559
|
case y.BarSeries:
|
|
8560
8560
|
case y.LineSeries:
|
|
8561
8561
|
case y.ComboLineAndBarSeries:
|
|
8562
|
-
C instanceof ge &&
|
|
8562
|
+
C instanceof ge && Mx({
|
|
8563
8563
|
chart: C,
|
|
8564
8564
|
chartElements: x,
|
|
8565
8565
|
queryObject: D,
|
|
@@ -8604,7 +8604,7 @@ async function Wx(t) {
|
|
|
8604
8604
|
break;
|
|
8605
8605
|
}
|
|
8606
8606
|
}
|
|
8607
|
-
|
|
8607
|
+
function F(k) {
|
|
8608
8608
|
const {
|
|
8609
8609
|
newChartConfig: O,
|
|
8610
8610
|
updateOptions: w,
|
|
@@ -8628,7 +8628,7 @@ async function Wx(t) {
|
|
|
8628
8628
|
queryObject: Q,
|
|
8629
8629
|
colorMatchApplied: N,
|
|
8630
8630
|
rendererFieldNames: X
|
|
8631
|
-
}),
|
|
8631
|
+
}), v({
|
|
8632
8632
|
newChartConfig: O,
|
|
8633
8633
|
updateOptions: w,
|
|
8634
8634
|
dataWasUpdated: R,
|
|
@@ -11916,7 +11916,10 @@ function yv(t, e) {
|
|
|
11916
11916
|
const n = $(t.uid, "config");
|
|
11917
11917
|
if (H(n?.series) !== y.HeatSeries) {
|
|
11918
11918
|
const r = a.dataItem?.component;
|
|
11919
|
-
r instanceof gt
|
|
11919
|
+
if (r instanceof gt) {
|
|
11920
|
+
const l = r.get("categoryField") ?? "", c = a.dataItem, u = c?.get("category"), d = c?.dataContext;
|
|
11921
|
+
o = u ?? (d?.[l] ?? i)?.toString();
|
|
11922
|
+
} else r instanceof ka && (o = r.get("name"));
|
|
11920
11923
|
}
|
|
11921
11924
|
if (n !== void 0) {
|
|
11922
11925
|
const { legend: r } = n, l = { ...r?.body, type: U.TS, text: o };
|
|
@@ -16670,7 +16673,12 @@ function DF(t) {
|
|
|
16670
16673
|
const h = e.dataItems, p = h.map((C) => C.dataContext), b = OF(p, i.dataItems);
|
|
16671
16674
|
h.forEach((C, x) => {
|
|
16672
16675
|
const S = b[x];
|
|
16673
|
-
typeof S[g] == "string"
|
|
16676
|
+
if (typeof S[g] == "string") {
|
|
16677
|
+
const v = S[g];
|
|
16678
|
+
C.set("category", v);
|
|
16679
|
+
const F = C.dataContext;
|
|
16680
|
+
F && (F[g] = v);
|
|
16681
|
+
}
|
|
16674
16682
|
}), e.markDirty();
|
|
16675
16683
|
}
|
|
16676
16684
|
}
|
|
@@ -17382,7 +17390,7 @@ function QF(t) {
|
|
|
17382
17390
|
colorMatchApplied: Ua(e)
|
|
17383
17391
|
});
|
|
17384
17392
|
}
|
|
17385
|
-
|
|
17393
|
+
function JF(t) {
|
|
17386
17394
|
const {
|
|
17387
17395
|
chart: e,
|
|
17388
17396
|
chartConfig: i,
|
|
@@ -17470,7 +17478,7 @@ async function JF(t) {
|
|
|
17470
17478
|
scrollbarYConfig: i.axes?.[1]?.scrollbar
|
|
17471
17479
|
});
|
|
17472
17480
|
}
|
|
17473
|
-
|
|
17481
|
+
function eA(t) {
|
|
17474
17482
|
const { chart: e, legend: i, loaderHandle: a, updateProps: o, gaugeMinMaxFromData: n } = t, {
|
|
17475
17483
|
newChartConfig: s,
|
|
17476
17484
|
updateOptions: r,
|
|
@@ -17567,7 +17575,7 @@ async function eA(t) {
|
|
|
17567
17575
|
case y.GaugeSeries:
|
|
17568
17576
|
case y.HistogramSeries:
|
|
17569
17577
|
case y.BoxPlotSeries:
|
|
17570
|
-
e instanceof Ae &&
|
|
17578
|
+
e instanceof Ae && JF({
|
|
17571
17579
|
chart: e,
|
|
17572
17580
|
chartConfig: T,
|
|
17573
17581
|
options: r,
|
|
@@ -17629,7 +17637,7 @@ function tA(t) {
|
|
|
17629
17637
|
colorMatchApplied: Ua(e)
|
|
17630
17638
|
});
|
|
17631
17639
|
}
|
|
17632
|
-
|
|
17640
|
+
function iA(t) {
|
|
17633
17641
|
const {
|
|
17634
17642
|
chart: e,
|
|
17635
17643
|
data: i,
|
|
@@ -17676,7 +17684,7 @@ async function iA(t) {
|
|
|
17676
17684
|
errorStrings: c
|
|
17677
17685
|
}), H(a.series) === y.HeatSeries && of(e);
|
|
17678
17686
|
}
|
|
17679
|
-
|
|
17687
|
+
function aA(t) {
|
|
17680
17688
|
const {
|
|
17681
17689
|
chartContainer: e,
|
|
17682
17690
|
chartConfig: i,
|
|
@@ -17729,7 +17737,7 @@ async function aA(t) {
|
|
|
17729
17737
|
}), Me(F.uid, {
|
|
17730
17738
|
queryConfig: b,
|
|
17731
17739
|
elementCount: C
|
|
17732
|
-
}), F instanceof Ae ?
|
|
17740
|
+
}), F instanceof Ae ? iA({
|
|
17733
17741
|
chart: F,
|
|
17734
17742
|
data: p,
|
|
17735
17743
|
chartConfig: S,
|
|
@@ -17762,8 +17770,8 @@ async function aA(t) {
|
|
|
17762
17770
|
EL(F);
|
|
17763
17771
|
}
|
|
17764
17772
|
return {
|
|
17765
|
-
update:
|
|
17766
|
-
I === void 0 && (I = ql(F, k.newChartConfig)),
|
|
17773
|
+
update: (k) => {
|
|
17774
|
+
I === void 0 && (I = ql(F, k.newChartConfig)), eA({ chart: F, legend: I, loaderHandle: d, updateProps: k, gaugeMinMaxFromData: x });
|
|
17767
17775
|
},
|
|
17768
17776
|
dispose: () => jF(v),
|
|
17769
17777
|
resetZoom: T,
|
|
@@ -18589,7 +18597,7 @@ class kA extends nm {
|
|
|
18589
18597
|
}
|
|
18590
18598
|
}
|
|
18591
18599
|
async updatedAsync() {
|
|
18592
|
-
if (this.dataFetching && (await this.dataFetching, this.dataFetching = void 0), this.
|
|
18600
|
+
if (this.dataFetching && (await this.dataFetching, this.dataFetching = void 0), this.config !== void 0 && this.chart !== void 0)
|
|
18593
18601
|
try {
|
|
18594
18602
|
(!this.config && !this.layer || fl(this.config, this.layer) && !ba(this.config) && await ml(this.config, this.layer)) && await this.updateQueue?.push({});
|
|
18595
18603
|
} catch (e) {
|
|
@@ -18602,7 +18610,7 @@ class kA extends nm {
|
|
|
18602
18610
|
}
|
|
18603
18611
|
}
|
|
18604
18612
|
}
|
|
18605
|
-
else this.chart === void 0 &&
|
|
18613
|
+
else this.chart === void 0 && await this.createChartInstance();
|
|
18606
18614
|
this.placeholder !== void 0 ? await this.notify(this.placeholder) : this.enableConfiguration && ba(this.config) && this.applyPlaceholderForPartialConfig(this.config);
|
|
18607
18615
|
}
|
|
18608
18616
|
useAmCharts5() {
|
|
@@ -19015,7 +19023,7 @@ class kA extends nm {
|
|
|
19015
19023
|
const a = i instanceof qt ? i.message : this.commonStrings?.errorStrings.errors.simpleError;
|
|
19016
19024
|
this.notify(a, this.commonStrings?.errorStrings.errorHeading);
|
|
19017
19025
|
}
|
|
19018
|
-
this.chart?.dispose(), this.
|
|
19026
|
+
this.chart?.dispose(), this.chart = void 0;
|
|
19019
19027
|
}
|
|
19020
19028
|
}
|
|
19021
19029
|
notifyDataProcessComplete(e) {
|
|
@@ -19036,7 +19044,7 @@ class kA extends nm {
|
|
|
19036
19044
|
else if (this.config) {
|
|
19037
19045
|
const e = this.chart === void 0, i = new Map(this.updatedProps), a = Array.from(i.keys());
|
|
19038
19046
|
if (e || a.length > 0) {
|
|
19039
|
-
this.checkForInvalidContainer(), e && (this.dataFetching && (await this.dataFetching, this.dataFetching = void 0), this.
|
|
19047
|
+
this.checkForInvalidContainer(), e && (this.dataFetching && (await this.dataFetching, this.dataFetching = void 0), this.updateConfigTimeZone(), this.checkForIncompatibleChartVersion(), this.updatedProps.clear());
|
|
19040
19048
|
const o = await this._loadQueryObject.taskComplete;
|
|
19041
19049
|
if (o) {
|
|
19042
19050
|
let n = this.gatherComponentOptions();
|
|
@@ -19230,14 +19238,14 @@ class kA extends nm {
|
|
|
19230
19238
|
queryConfig: E
|
|
19231
19239
|
})), e) {
|
|
19232
19240
|
const N = this.useAmCharts5() ? aA : Wx;
|
|
19233
|
-
this.
|
|
19241
|
+
this.chart = N({
|
|
19234
19242
|
...V,
|
|
19235
19243
|
chartConfig: d,
|
|
19236
19244
|
options: n,
|
|
19237
19245
|
globalOptions: this.gatherComponentGlobalOptions()
|
|
19238
|
-
})
|
|
19246
|
+
});
|
|
19239
19247
|
} else
|
|
19240
|
-
|
|
19248
|
+
this.chart?.update({
|
|
19241
19249
|
...V,
|
|
19242
19250
|
newChartConfig: d,
|
|
19243
19251
|
dataUpdateDetails: c,
|