@arcgis/charts-components 5.2.0-next.136 → 5.2.0-next.137
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/{3SCHRJRU.js → 23CBL5NY.js} +1 -1
- package/dist/cdn/{I46OAPO7.js → 37TX2DZA.js} +1 -1
- package/dist/cdn/{IV6R3TUP.js → 3VEXMVQB.js} +1 -1
- package/dist/cdn/{4O2KDCKM.js → 47K363EN.js} +1 -1
- package/dist/cdn/{PQPHTXNR.js → CILY7MFG.js} +1 -1
- package/dist/cdn/EKXWPZLX.js +2 -0
- package/dist/cdn/{WOXI3AZO.js → EQ2NGRTO.js} +1 -1
- package/dist/cdn/{XID55HFP.js → MSWSY4LQ.js} +1 -1
- package/dist/cdn/{B5TTRVJI.js → OI5ZKPJ3.js} +1 -1
- package/dist/cdn/{5B3ABOG3.js → PFABNHEP.js} +1 -1
- package/dist/cdn/{QKGSVBTA.js → R5TBH7BZ.js} +1 -1
- package/dist/cdn/{4CZ42XEO.js → RXHMXHWH.js} +1 -1
- package/dist/cdn/{QHM4EVYR.js → W2OZZAPJ.js} +1 -1
- package/dist/cdn/{SADF3HXI.js → WFA6ZBEP.js} +1 -1
- package/dist/cdn/{DBOWNSG5.js → WT2BEF7N.js} +1 -1
- package/dist/cdn/{3OER7BU2.js → YBIFQSHP.js} +1 -1
- package/dist/cdn/{PSCLY3DM.js → ZJPKMTU6.js} +2 -2
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/x-bounds.js +75 -54
- package/dist/components/arcgis-chart/customElement.js +13 -16
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/model/mixins/model-with-guides.d.ts +17 -0
- package/package.json +4 -4
- package/dist/cdn/NTTEKGFE.js +0 -2
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as r}from"./QKGSVBTA.js";import{G as t,q as e}from"./UE4KTI5X.js";import"./64L7VJJK.js";import"./QP5UAIC6.js";import"./Z5QPCSUQ.js";import"./QVG3TOL4.js";import"./BYSUABOV.js";var a=e(t,{"arcgis-chart":[()=>import("./PSCLY3DM.js"),"_commonStrings:,_messages:,actionMode,allowUsingObjectIdStat,animationEnabled,aria:,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,calciteThemingCSSVariables:,chartIndex,chartLimits:,chartWillRender:,configurationEnabled,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,filterByViewExtent,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,hideUIMessages,hideZeroCountCategories,ignoreSmoothRenderingLimit,ignoreViewExtent,interactionsDisabled,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendInteractionsDisabled,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,popupTemplateFieldInfosEnabled,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotated,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionManager:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showEmptySeries,showLicenseWatermark,showUIMessages,skipChartCreationQueue,syncChartsSelection,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,syncViewSelection,syncViewTimeExtent,syncViewTimeZone,syncViewTimeZoneInclusionList:,timeZone,togglingLegendItemsDisabled,tooltipFormatter:,truncateLongTitles,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:,zeroCountAsValid;clearSelection,destroy,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection;applySelectionFromSelectionManager"],"arcgis-charts-action-bar":[()=>import("./MT4UZZHO.js"),"_messages:,actionBarSelectionMode,chartElement:,chartType,clearSelectionActive,clearSelectionDisabled,clearSelectionState,clearSelectionTitle,clearSelectionToggle,commonStrings:,csvExportExclusionList:,disableCSVExportForChartTypes:,editChartActive,editChartEnabled,editChartState,editChartTitle,editChartToggle,expanded,exportActionDisabled,exportActionState,exportAsCSVDisabled,exportAsCSVState,exportAsCSVTitle,exportAsImageDisabled,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionActive,filterBySelectionDisabled,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,filterByViewExtentActive,filterByViewExtentDisabled,filterByViewExtentTitle,forceDisableActions,fullExtentActive,fullExtentDisabled,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendActive,legendDisabled,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartActive,rotateChartDisabled,rotateChartState,rotateChartTitle,rotateChartToggle,selectionActive,selectionDisabled,selectionState,selectionTitle,selectionToggle,switchSelectionActive,switchSelectionDisabled,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomActive,zoomDisabled,zoomState,zoomTitle,zoomToggle"],"arcgis-charts-config-axes":[()=>import("./QD7SXYTF.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,messageOverrides:,model:,open,showEnableXLogOption,showEnableYLogOption,showMaxXBoundOption,showMaxYBoundOption,showMinXBoundOption,showMinYBoundOption"],"arcgis-charts-config-axis":[()=>import("./TXG73R7I.js"),"axisTitle,dataMaxValue,dataMinValue,initialMaxBound,initialMinBound,isXAxis,maxBoundMaxLimit,maxBoundMinLimit,messageOverrides:,minBoundMaxLimit,minBoundMinLimit,model:,showEnableLogOption,showMaxBoundOption,showMinBoundOption"],"arcgis-charts-config-bar-chart":[()=>import("./35PBCGSN.js"),"calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,timeZone,usePopupTemplateFieldsInfo"],"arcgis-charts-config-bar-chart-data":[()=>import("./GUDVONR6.js"),"layerFieldsInfo:,messageOverrides:,model:,open"],"arcgis-charts-config-bar-chart-popover":[()=>import("./R43SLOWX.js"),"contentKind,headingTitle,isCustomSortDisabled,isNoAggregationDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-bar-chart-series":[()=>import("./WDWEALIE.js"),"activeColorMatch,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-bar-chart-series-popover":[()=>import("./X7JF37XY.js"),"messageOverrides:,nullCategory:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-box-plot":[()=>import("./TNOEBWC6.js"),"calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-box-plot-data":[()=>import("./IGQE3GKE.js"),"layerFieldsInfo:,messageOverrides:,model:"],"arcgis-charts-config-box-plot-popover":[()=>import("./I46I6KOY.js"),"contentKind,headingTitle,isCustomSortDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-box-plot-series":[()=>import("./K6M6N5Y4.js"),"activeColorMatch,configSeriesOpen,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-box-plot-series-popover":[()=>import("./CPHTAVGQ.js"),"isLineSymbol,labelCanBeConfigured,messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-category-format":[()=>import("./BIN4ZNTH.js"),"categoryFormat:,messageOverrides:"],"arcgis-charts-config-chart-rename-popover":[()=>import("./FN4N6E4Z.js"),"messageOverrides:,name,open,referenceElement:;reposition"],"arcgis-charts-config-color-style":[()=>import("./2C2NIEZB.js"),"enableClose,header,messageOverrides:,open,selectedColor:"],"arcgis-charts-config-colors":[()=>import("./MTIRF2JT.js"),"heading,messageOverrides:,rgba:"],"arcgis-charts-config-create-flow":[()=>import("./3OER7BU2.js"),"activeLayerId,calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,chartData:,close,disableEditing,filterBySelection,headerTitle,layerList:,messageOverrides:,modelList:,panelNumber,popoverPlacement,popupTemplateFieldInfosEnabled,r2,selectedChartId,seriesColor:,syncChartsToLayers,timeZone,usePopupTemplateFieldsInfo,view:;setFocus"],"arcgis-charts-config-field-picker":[()=>import("./NWITMWCT.js"),"disabled,invalid,label"],"arcgis-charts-config-font-style":[()=>import("./HDBY2GFV.js"),"enableClose,fontStyle:,header,messageOverrides:,open"],"arcgis-charts-config-format":[()=>import("./TOQ5LNA2.js"),"messageOverrides:,model:"],"arcgis-charts-config-format-popover":[()=>import("./BGQBOLMO.js"),"messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],"arcgis-charts-config-general":[()=>import("./FNNNRYPK.js"),"messageOverrides:,model:,open"],"arcgis-charts-config-guide":[()=>import("./D7RKUPNX.js"),"calculatedMinMaxBounds:,index,latestGuidePosition,messageOverrides:,model:,orientation,timeZone"],"arcgis-charts-config-guide-popover":[()=>import("./G4A4HBNN.js"),"messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],"arcgis-charts-config-guides":[()=>import("./TK2F34AK.js"),"calculatedMinMaxBounds:,enableXAxisGuide,enableYAxisGuide,messageOverrides:,model:,open,timeZone"],"arcgis-charts-config-guides-type-popover":[()=>import("./ZD6FBRAV.js"),"enableXAxisGuide,enableYAxisGuide,messageOverrides:,open,placement,referenceElement:;reposition"],"arcgis-charts-config-heat-chart":[()=>import("./JEAGQZ6U.js"),"layer:,model:,page,popupTemplateFieldInfosEnabled,usePopupTemplateFieldsInfo"],"arcgis-charts-config-heat-chart-data":[()=>import("./ZOIPJDWO.js"),"layerFieldsInfo:,messageOverrides:,model:,open"],"arcgis-charts-config-heat-chart-popover":[()=>import("./GZJZ5V7Q.js"),"colorRamps:,contentKind,headingTitle,isFlipped,layerFieldsInfo:,messageOverrides:,model:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-histogram":[()=>import("./MWVAPA6R.js"),"calculatedMinMaxBounds:,chartData:,layer:,model:,page,popupTemplateFieldInfosEnabled,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-histogram-data":[()=>import("./6RUBYJSF.js"),"countValue,layerFieldsInfo:,maxValue,meanValue,medianValue,messageOverrides:,minValue,model:,nullsValue,open,selectedOverlaySymbolType,standardDevValue,sumValue"],"arcgis-charts-config-histogram-popover":[()=>import("./G4BWHPA3.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedBinColor:,selectedNumericField,selectedOverlaySymbol:,selectedOverlaySymbolType,selectedTransformationType;reposition"],"arcgis-charts-config-invalid-input-message":[()=>import("./CIAJ52ML.js"),"invalidInputMessage,isInvalid"],"arcgis-charts-config-line-chart":[()=>import("./WVAWR5QJ.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,timeZone,usePopupTemplateFieldsInfo"],"arcgis-charts-config-line-chart-data":[()=>import("./ZUCZVZTB.js"),"layerFieldsInfo:,messageOverrides:,model:,resetTimeInterval:"],"arcgis-charts-config-line-chart-popover":[()=>import("./Y7BPMJVM.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-line-chart-series":[()=>import("./YG3RPQLN.js"),"activeColorMatch,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-line-chart-series-popover":[()=>import("./XKUVYPZZ.js"),"messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-line-style":[()=>import("./NFNY5YEZ.js"),"enableClose,header,lineStyle:,messageOverrides:,open,usePanel"],"arcgis-charts-config-number-format":[()=>import("./AJLZM4IQ.js"),"messageOverrides:,numberFormat:"],"arcgis-charts-config-pie-chart":[()=>import("./7UVQYW4Q.js"),"calculatedMinMaxBounds:,chartData:,filterBySelection,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-pie-chart-data":[()=>import("./EHQJJN7C.js"),"layerFieldsInfo:,messageOverrides:,model:"],"arcgis-charts-config-pie-chart-popover":[()=>import("./JMTJXHWM.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-pie-chart-slices":[()=>import("./NFZIKRWX.js"),"chartData:,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-pie-chart-slices-popover":[()=>import("./M3XUZXNC.js"),"messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSliceId;reposition"],"arcgis-charts-config-scatter-plot":[()=>import("./N64ZNSEI.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,r2,usePopupTemplateFieldsInfo,view:"],"arcgis-charts-config-scatter-plot-aoi":[()=>import("./E2D4QDWN.js"),"messageOverrides:,view:"],"arcgis-charts-config-scatter-plot-data":[()=>import("./ENYTXX6O.js"),"isTableLayer,layerFieldsInfo:,messageOverrides:,model:,r2,view:"],"arcgis-charts-config-scatter-plot-popover":[()=>import("./AYMLPZBF.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-select-chart-type-popover":[()=>import("./WYIHJMCL.js"),"headerTitle,isRasterBarChartSupported,layerId,layerType,messageOverrides:,open,popoverPlacement,referenceElement:,selectedModelType;reposition"],"arcgis-charts-config-view-charts":[()=>import("./WZQU3ETT.js"),"disableEditing,layer:,messageOverrides:,modelList:,noGroup,selectedChartId"],"arcgis-charts-info-modal":[()=>import("./HPXU7UB6.js"),"calciteThemeColors:,heading,loaderColors:,message,showLoader"]});a({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-config-popover-pick-list-max-width: 314px;--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,p,j,i=(a.importMap??={}).imports??={})=>{"model/shared/setup-utils".split(",").map(e=>i[p+e+j]=i[p+e]=import.meta.resolve("./"+e+j));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,t,"@arcgis/charts-components/",".js");(($arcgis.importMap??={}).imports??={})["@arcgis/charts-components"]=import.meta.url
|
|
2
|
+
import{a as r}from"./R5TBH7BZ.js";import{G as t,q as e}from"./UE4KTI5X.js";import"./64L7VJJK.js";import"./QP5UAIC6.js";import"./Z5QPCSUQ.js";import"./QVG3TOL4.js";import"./BYSUABOV.js";var a=e(t,{"arcgis-chart":[()=>import("./ZJPKMTU6.js"),"_commonStrings:,_messages:,actionMode,allowUsingObjectIdStat,animationEnabled,aria:,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,calciteThemingCSSVariables:,chartIndex,chartLimits:,chartWillRender:,configurationEnabled,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,filterByViewExtent,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,hideUIMessages,hideZeroCountCategories,ignoreSmoothRenderingLimit,ignoreViewExtent,interactionsDisabled,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendInteractionsDisabled,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,popupTemplateFieldInfosEnabled,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotated,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionManager:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showEmptySeries,showLicenseWatermark,showUIMessages,skipChartCreationQueue,syncChartsSelection,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,syncViewSelection,syncViewTimeExtent,syncViewTimeZone,syncViewTimeZoneInclusionList:,timeZone,togglingLegendItemsDisabled,tooltipFormatter:,truncateLongTitles,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:,zeroCountAsValid;clearSelection,destroy,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection;applySelectionFromSelectionManager"],"arcgis-charts-action-bar":[()=>import("./MT4UZZHO.js"),"_messages:,actionBarSelectionMode,chartElement:,chartType,clearSelectionActive,clearSelectionDisabled,clearSelectionState,clearSelectionTitle,clearSelectionToggle,commonStrings:,csvExportExclusionList:,disableCSVExportForChartTypes:,editChartActive,editChartEnabled,editChartState,editChartTitle,editChartToggle,expanded,exportActionDisabled,exportActionState,exportAsCSVDisabled,exportAsCSVState,exportAsCSVTitle,exportAsImageDisabled,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionActive,filterBySelectionDisabled,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,filterByViewExtentActive,filterByViewExtentDisabled,filterByViewExtentTitle,forceDisableActions,fullExtentActive,fullExtentDisabled,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendActive,legendDisabled,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartActive,rotateChartDisabled,rotateChartState,rotateChartTitle,rotateChartToggle,selectionActive,selectionDisabled,selectionState,selectionTitle,selectionToggle,switchSelectionActive,switchSelectionDisabled,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomActive,zoomDisabled,zoomState,zoomTitle,zoomToggle"],"arcgis-charts-config-axes":[()=>import("./QD7SXYTF.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,messageOverrides:,model:,open,showEnableXLogOption,showEnableYLogOption,showMaxXBoundOption,showMaxYBoundOption,showMinXBoundOption,showMinYBoundOption"],"arcgis-charts-config-axis":[()=>import("./TXG73R7I.js"),"axisTitle,dataMaxValue,dataMinValue,initialMaxBound,initialMinBound,isXAxis,maxBoundMaxLimit,maxBoundMinLimit,messageOverrides:,minBoundMaxLimit,minBoundMinLimit,model:,showEnableLogOption,showMaxBoundOption,showMinBoundOption"],"arcgis-charts-config-bar-chart":[()=>import("./35PBCGSN.js"),"calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,timeZone,usePopupTemplateFieldsInfo"],"arcgis-charts-config-bar-chart-data":[()=>import("./GUDVONR6.js"),"layerFieldsInfo:,messageOverrides:,model:,open"],"arcgis-charts-config-bar-chart-popover":[()=>import("./R43SLOWX.js"),"contentKind,headingTitle,isCustomSortDisabled,isNoAggregationDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-bar-chart-series":[()=>import("./WDWEALIE.js"),"activeColorMatch,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-bar-chart-series-popover":[()=>import("./X7JF37XY.js"),"messageOverrides:,nullCategory:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-box-plot":[()=>import("./TNOEBWC6.js"),"calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-box-plot-data":[()=>import("./IGQE3GKE.js"),"layerFieldsInfo:,messageOverrides:,model:"],"arcgis-charts-config-box-plot-popover":[()=>import("./I46I6KOY.js"),"contentKind,headingTitle,isCustomSortDisabled,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-box-plot-series":[()=>import("./K6M6N5Y4.js"),"activeColorMatch,configSeriesOpen,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-box-plot-series-popover":[()=>import("./CPHTAVGQ.js"),"isLineSymbol,labelCanBeConfigured,messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-category-format":[()=>import("./BIN4ZNTH.js"),"categoryFormat:,messageOverrides:"],"arcgis-charts-config-chart-rename-popover":[()=>import("./FN4N6E4Z.js"),"messageOverrides:,name,open,referenceElement:;reposition"],"arcgis-charts-config-color-style":[()=>import("./2C2NIEZB.js"),"enableClose,header,messageOverrides:,open,selectedColor:"],"arcgis-charts-config-colors":[()=>import("./MTIRF2JT.js"),"heading,messageOverrides:,rgba:"],"arcgis-charts-config-create-flow":[()=>import("./YBIFQSHP.js"),"activeLayerId,calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,chartData:,close,disableEditing,filterBySelection,headerTitle,layerList:,messageOverrides:,modelList:,panelNumber,popoverPlacement,popupTemplateFieldInfosEnabled,r2,selectedChartId,seriesColor:,syncChartsToLayers,timeZone,usePopupTemplateFieldsInfo,view:;setFocus"],"arcgis-charts-config-field-picker":[()=>import("./NWITMWCT.js"),"disabled,invalid,label"],"arcgis-charts-config-font-style":[()=>import("./HDBY2GFV.js"),"enableClose,fontStyle:,header,messageOverrides:,open"],"arcgis-charts-config-format":[()=>import("./TOQ5LNA2.js"),"messageOverrides:,model:"],"arcgis-charts-config-format-popover":[()=>import("./BGQBOLMO.js"),"messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],"arcgis-charts-config-general":[()=>import("./FNNNRYPK.js"),"messageOverrides:,model:,open"],"arcgis-charts-config-guide":[()=>import("./D7RKUPNX.js"),"calculatedMinMaxBounds:,index,latestGuidePosition,messageOverrides:,model:,orientation,timeZone"],"arcgis-charts-config-guide-popover":[()=>import("./G4A4HBNN.js"),"messageOverrides:,open,placement,referenceElement:,selectedElement:;reposition"],"arcgis-charts-config-guides":[()=>import("./TK2F34AK.js"),"calculatedMinMaxBounds:,enableXAxisGuide,enableYAxisGuide,messageOverrides:,model:,open,timeZone"],"arcgis-charts-config-guides-type-popover":[()=>import("./ZD6FBRAV.js"),"enableXAxisGuide,enableYAxisGuide,messageOverrides:,open,placement,referenceElement:;reposition"],"arcgis-charts-config-heat-chart":[()=>import("./JEAGQZ6U.js"),"layer:,model:,page,popupTemplateFieldInfosEnabled,usePopupTemplateFieldsInfo"],"arcgis-charts-config-heat-chart-data":[()=>import("./ZOIPJDWO.js"),"layerFieldsInfo:,messageOverrides:,model:,open"],"arcgis-charts-config-heat-chart-popover":[()=>import("./GZJZ5V7Q.js"),"colorRamps:,contentKind,headingTitle,isFlipped,layerFieldsInfo:,messageOverrides:,model:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-histogram":[()=>import("./MWVAPA6R.js"),"calculatedMinMaxBounds:,chartData:,layer:,model:,page,popupTemplateFieldInfosEnabled,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-histogram-data":[()=>import("./6RUBYJSF.js"),"countValue,layerFieldsInfo:,maxValue,meanValue,medianValue,messageOverrides:,minValue,model:,nullsValue,open,selectedOverlaySymbolType,standardDevValue,sumValue"],"arcgis-charts-config-histogram-popover":[()=>import("./G4BWHPA3.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedBinColor:,selectedNumericField,selectedOverlaySymbol:,selectedOverlaySymbolType,selectedTransformationType;reposition"],"arcgis-charts-config-invalid-input-message":[()=>import("./CIAJ52ML.js"),"invalidInputMessage,isInvalid"],"arcgis-charts-config-line-chart":[()=>import("./WVAWR5QJ.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,timeZone,usePopupTemplateFieldsInfo"],"arcgis-charts-config-line-chart-data":[()=>import("./ZUCZVZTB.js"),"layerFieldsInfo:,messageOverrides:,model:,resetTimeInterval:"],"arcgis-charts-config-line-chart-popover":[()=>import("./Y7BPMJVM.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-line-chart-series":[()=>import("./YG3RPQLN.js"),"activeColorMatch,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-line-chart-series-popover":[()=>import("./XKUVYPZZ.js"),"messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedLineStyle,selectedLineWidth,selectedName,selectedSeriesIndex;reposition"],"arcgis-charts-config-line-style":[()=>import("./NFNY5YEZ.js"),"enableClose,header,lineStyle:,messageOverrides:,open,usePanel"],"arcgis-charts-config-number-format":[()=>import("./AJLZM4IQ.js"),"messageOverrides:,numberFormat:"],"arcgis-charts-config-pie-chart":[()=>import("./7UVQYW4Q.js"),"calculatedMinMaxBounds:,chartData:,filterBySelection,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,seriesColor:,usePopupTemplateFieldsInfo"],"arcgis-charts-config-pie-chart-data":[()=>import("./EHQJJN7C.js"),"layerFieldsInfo:,messageOverrides:,model:"],"arcgis-charts-config-pie-chart-popover":[()=>import("./JMTJXHWM.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-pie-chart-slices":[()=>import("./NFZIKRWX.js"),"chartData:,messageOverrides:,model:,popoverPlacement"],"arcgis-charts-config-pie-chart-slices-popover":[()=>import("./M3XUZXNC.js"),"messageOverrides:,open,placement,referenceElement:,selectedColor:,selectedName,selectedSliceId;reposition"],"arcgis-charts-config-scatter-plot":[()=>import("./N64ZNSEI.js"),"calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,layer:,model:,page,popoverPlacement,popupTemplateFieldInfosEnabled,r2,usePopupTemplateFieldsInfo,view:"],"arcgis-charts-config-scatter-plot-aoi":[()=>import("./E2D4QDWN.js"),"messageOverrides:,view:"],"arcgis-charts-config-scatter-plot-data":[()=>import("./ENYTXX6O.js"),"isTableLayer,layerFieldsInfo:,messageOverrides:,model:,r2,view:"],"arcgis-charts-config-scatter-plot-popover":[()=>import("./AYMLPZBF.js"),"contentKind,headingTitle,layerFieldsInfo:,messageOverrides:,open,placement,referenceElement:,selectedContent;reposition"],"arcgis-charts-config-select-chart-type-popover":[()=>import("./WYIHJMCL.js"),"headerTitle,isRasterBarChartSupported,layerId,layerType,messageOverrides:,open,popoverPlacement,referenceElement:,selectedModelType;reposition"],"arcgis-charts-config-view-charts":[()=>import("./WZQU3ETT.js"),"disableEditing,layer:,messageOverrides:,modelList:,noGroup,selectedChartId"],"arcgis-charts-info-modal":[()=>import("./HPXU7UB6.js"),"calciteThemeColors:,heading,loaderColors:,message,showLoader"]});a({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-config-popover-pick-list-max-width: 314px;--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,p,j,i=(a.importMap??={}).imports??={})=>{"model/shared/setup-utils".split(",").map(e=>i[p+e+j]=i[p+e]=import.meta.resolve("./"+e+j));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,t,"@arcgis/charts-components/",".js");(($arcgis.importMap??={}).imports??={})["@arcgis/charts-components"]=import.meta.url
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a}from"../../
|
|
2
|
+
import{a}from"../../R5TBH7BZ.js";import"../../64L7VJJK.js";import"../../QP5UAIC6.js";import"../../Z5QPCSUQ.js";import"../../QVG3TOL4.js";import"../../BYSUABOV.js";export{a as createModel};
|
package/dist/chunks/x-bounds.js
CHANGED
|
@@ -4,24 +4,24 @@ import { cloneDeep as _ } from "es-toolkit/compat";
|
|
|
4
4
|
import { G as c } from "./common.js";
|
|
5
5
|
import { b as g } from "./rest-js-object-literals.js";
|
|
6
6
|
import { a as x } from "./chart-object-literals.js";
|
|
7
|
-
import { Q as S, a2 as
|
|
8
|
-
import { bT as
|
|
7
|
+
import { Q as S, a2 as T, a3 as b, t as L } from "./index3.js";
|
|
8
|
+
import { bT as C, b as X, i as B } from "./index.js";
|
|
9
9
|
import { m as r, C as f } from "./model-setter.js";
|
|
10
10
|
import { f as A, e as M } from "./utils2.js";
|
|
11
|
-
import { n as
|
|
11
|
+
import { n as v, d as y, h as O } from "./utils.js";
|
|
12
12
|
const P = (t) => {
|
|
13
13
|
for (const e of t.axes ?? [])
|
|
14
14
|
for (const i of e?.guides ?? [])
|
|
15
15
|
if (i.label !== void 0)
|
|
16
16
|
return i.label;
|
|
17
|
-
},
|
|
17
|
+
}, R = (t, e) => {
|
|
18
18
|
for (const i of e.axes ?? [])
|
|
19
19
|
for (const s of i?.guides ?? []) {
|
|
20
20
|
const o = s.label?.text ?? "";
|
|
21
21
|
s.label = _(t), s.label !== void 0 && (s.label.text = o);
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function d(t) {
|
|
25
25
|
return {
|
|
26
26
|
...t,
|
|
27
27
|
axis: t.orientation === c.X ? t.config.axes?.[0] : t.config.axes?.[1],
|
|
@@ -29,70 +29,70 @@ function a(t) {
|
|
|
29
29
|
orientation: t.orientation ?? c.Y
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
const { axis: e, index: i } =
|
|
32
|
+
const D = (t) => {
|
|
33
|
+
const { axis: e, index: i } = d(t);
|
|
34
34
|
return e?.guides?.[i]?.visible ?? !0;
|
|
35
|
-
},
|
|
35
|
+
}, V = (t) => {
|
|
36
36
|
const i = (t.orientation ?? c.Y) === c.X ? t.config.axes?.[0] : t.config.axes?.[1];
|
|
37
37
|
t.index !== void 0 ? i?.guides?.[t.index] !== void 0 && (i.guides[t.index].visible = t.visible) : i?.guides?.forEach((s) => {
|
|
38
38
|
s.visible = t.visible;
|
|
39
39
|
});
|
|
40
|
-
},
|
|
41
|
-
const e =
|
|
42
|
-
|
|
43
|
-
},
|
|
44
|
-
const { axis: e, index: i } =
|
|
40
|
+
}, G = (t) => {
|
|
41
|
+
const e = C(t.start, t.end);
|
|
42
|
+
X(t.style) && e === g.SFS ? t.style = { type: g.SFS, color: t.style.color } : B(t.style) && e === g.SLS && (t.style = { type: g.SLS, color: t.style.color });
|
|
43
|
+
}, E = (t) => {
|
|
44
|
+
const { axis: e, index: i } = d(t);
|
|
45
45
|
return e?.guides?.[i]?.start ?? null;
|
|
46
46
|
}, w = (t) => {
|
|
47
|
-
const { start: e, axis: i, index: s } =
|
|
48
|
-
i?.guides?.[s] !== void 0 && (i.guides[s].start = e,
|
|
47
|
+
const { start: e, axis: i, index: s } = d(t);
|
|
48
|
+
i?.guides?.[s] !== void 0 && (i.guides[s].start = e, G(i.guides[s]));
|
|
49
49
|
}, F = (t) => {
|
|
50
|
-
const { axis: e, index: i } =
|
|
50
|
+
const { axis: e, index: i } = d(t);
|
|
51
51
|
return e?.guides?.[i]?.end;
|
|
52
52
|
}, W = (t) => {
|
|
53
|
-
const { end: e, axis: i, index: s } =
|
|
54
|
-
i?.guides?.[s] !== void 0 && (i.guides[s].end = e,
|
|
53
|
+
const { end: e, axis: i, index: s } = d(t);
|
|
54
|
+
i?.guides?.[s] !== void 0 && (i.guides[s].end = e, G(i.guides[s]));
|
|
55
55
|
}, j = (t) => {
|
|
56
|
-
const { axis: e, index: i } =
|
|
56
|
+
const { axis: e, index: i } = d(t);
|
|
57
57
|
return e?.guides?.[i]?.name;
|
|
58
58
|
}, $ = (t) => {
|
|
59
|
-
const { name: e, axis: i, index: s } =
|
|
59
|
+
const { name: e, axis: i, index: s } = d(t);
|
|
60
60
|
i?.guides?.[s] !== void 0 && (i.guides[s].name = e);
|
|
61
61
|
}, I = (t) => {
|
|
62
|
-
const { axis: e, index: i } =
|
|
62
|
+
const { axis: e, index: i } = d(t);
|
|
63
63
|
return e?.guides?.[i]?.label?.text;
|
|
64
64
|
}, N = (t) => {
|
|
65
|
-
const { labelText: e, axis: i, index: s } =
|
|
65
|
+
const { labelText: e, axis: i, index: s } = d(t), o = i?.guides?.[s]?.label ?? S(e, T(b.GuideLabel), b.GuideLabel);
|
|
66
66
|
i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...o, text: e });
|
|
67
67
|
}, Y = (t) => {
|
|
68
|
-
const { axis: e, index: i } =
|
|
68
|
+
const { axis: e, index: i } = d(t);
|
|
69
69
|
return e?.guides?.[i]?.above ?? !1;
|
|
70
70
|
}, Q = (t) => {
|
|
71
|
-
const { above: e, axis: i, index: s } =
|
|
71
|
+
const { above: e, axis: i, index: s } = d(t);
|
|
72
72
|
i?.guides?.[s] !== void 0 && (i.guides[s].above = e);
|
|
73
73
|
}, U = (t) => {
|
|
74
|
-
const { axis: e, index: i } =
|
|
74
|
+
const { axis: e, index: i } = d(t);
|
|
75
75
|
return e?.guides?.[i]?.style;
|
|
76
76
|
}, q = (t) => {
|
|
77
|
-
const { style: e, axis: i, index: s } =
|
|
77
|
+
const { style: e, axis: i, index: s } = d(t);
|
|
78
78
|
i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
|
|
79
|
-
},
|
|
79
|
+
}, me = (t) => {
|
|
80
80
|
const { config: e, name: i, index: s, orientation: o } = t, n = o === c.X ? e.axes?.[0] : e.axes?.[1];
|
|
81
81
|
if (n !== void 0) {
|
|
82
82
|
n.guides = n.guides ?? [];
|
|
83
|
-
const
|
|
83
|
+
const a = {
|
|
84
84
|
type: x.Guide,
|
|
85
85
|
name: i,
|
|
86
86
|
start: n.valueFormat.type === x.DateAxisFormat ? "" : 0,
|
|
87
|
-
style:
|
|
87
|
+
style: L()
|
|
88
88
|
};
|
|
89
|
-
s !== void 0 && s < n.guides.length ? n.guides.splice(s, 0,
|
|
89
|
+
s !== void 0 && s < n.guides.length ? n.guides.splice(s, 0, a) : n.guides.push(a);
|
|
90
90
|
}
|
|
91
91
|
}, pe = (t) => {
|
|
92
92
|
const { config: e, index: i, orientation: s } = t, o = s === c.X ? e.axes?.[0] : e.axes?.[1];
|
|
93
93
|
o?.guides !== void 0 && (i !== void 0 && i < o.guides.length ? o.guides.splice(i, 1) : o.guides.pop());
|
|
94
94
|
}, z = (t) => {
|
|
95
|
-
const { axis: e, index: i } =
|
|
95
|
+
const { axis: e, index: i } = d(t);
|
|
96
96
|
return e?.guides?.[i]?.tooltipReverseColor ?? !1;
|
|
97
97
|
}, H = (t) => {
|
|
98
98
|
const i = (t.orientation ?? c.Y) === c.X ? t.config.axes?.[0] : t.config.axes?.[1];
|
|
@@ -101,8 +101,8 @@ const V = (t) => {
|
|
|
101
101
|
});
|
|
102
102
|
};
|
|
103
103
|
var J = Object.defineProperty, K = Object.getOwnPropertyDescriptor, l = (t, e, i, s) => {
|
|
104
|
-
for (var o = K(e, i), n = t.length - 1,
|
|
105
|
-
(
|
|
104
|
+
for (var o = K(e, i), n = t.length - 1, a; n >= 0; n--)
|
|
105
|
+
(a = t[n]) && (o = a(e, i, o) || o);
|
|
106
106
|
return o && J(e, i, o), o;
|
|
107
107
|
};
|
|
108
108
|
class u extends h {
|
|
@@ -113,7 +113,7 @@ class u extends h {
|
|
|
113
113
|
return P(this._config);
|
|
114
114
|
}
|
|
115
115
|
set guideLabelsSymbol(e) {
|
|
116
|
-
|
|
116
|
+
R(e, this._config);
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* Gets whether a guide is visible.
|
|
@@ -122,10 +122,10 @@ class u extends h {
|
|
|
122
122
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
123
123
|
*/
|
|
124
124
|
getGuideVisibility(e, i) {
|
|
125
|
-
return
|
|
125
|
+
return D({ config: this._config, index: e, orientation: i });
|
|
126
126
|
}
|
|
127
127
|
setGuideVisibility(e, i, s) {
|
|
128
|
-
|
|
128
|
+
V({ visible: e, config: this._config, index: i, orientation: s });
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
131
|
* Gets the start value of a guide.
|
|
@@ -134,7 +134,7 @@ class u extends h {
|
|
|
134
134
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
135
135
|
*/
|
|
136
136
|
getGuideStart(e, i) {
|
|
137
|
-
return
|
|
137
|
+
return E({ config: this._config, index: e, orientation: i });
|
|
138
138
|
}
|
|
139
139
|
setGuideStart(e, i, s) {
|
|
140
140
|
w({ start: e, config: this._config, index: i, orientation: s });
|
|
@@ -205,12 +205,33 @@ class u extends h {
|
|
|
205
205
|
* @param index - The index of the guide in the list of guides for the given axis orientation.
|
|
206
206
|
* @param orientation - The axis orientation of the guide.
|
|
207
207
|
*/
|
|
208
|
-
|
|
208
|
+
getGuideTooltipReverseColor(e, i) {
|
|
209
209
|
return z({ config: this._config, index: e, orientation: i });
|
|
210
210
|
}
|
|
211
|
-
|
|
211
|
+
setGuideTooltipReverseColor(e, i, s) {
|
|
212
212
|
H({ reverseColor: e, config: this._config, index: i, orientation: s });
|
|
213
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* Gets whether the tooltip text color should be reversed for a guide.
|
|
216
|
+
*
|
|
217
|
+
* @param index - The index of the guide in the list of guides for the given axis orientation.
|
|
218
|
+
* @param orientation - The axis orientation of the guide.
|
|
219
|
+
* @deprecated since 5.2. Use {@link model/mixins/model-with-guides#getGuideTooltipReverseColor getGuideTooltipReverseColor} instead. This method will be removed from `ModelWithGuides` in 6.0.
|
|
220
|
+
*/
|
|
221
|
+
getTooltipReverseColor(e, i) {
|
|
222
|
+
return this.getGuideTooltipReverseColor(e, i);
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Sets whether the tooltip text color should be reversed for a guide.
|
|
226
|
+
*
|
|
227
|
+
* @param reverseColor - New reverseColor boolean to set.
|
|
228
|
+
* @param index - The index of the guide in the list of guides for the given axis orientation. If omitted, all guides for the orientation will be updated.
|
|
229
|
+
* @param orientation - The axis orientation of the guide.
|
|
230
|
+
* @deprecated since 5.2. Use {@link model/mixins/model-with-guides#setGuideTooltipReverseColor setGuideTooltipReverseColor} instead. This method will be removed from `ModelWithGuides` in 6.0.
|
|
231
|
+
*/
|
|
232
|
+
setTooltipReverseColor(e, i, s) {
|
|
233
|
+
this.setGuideTooltipReverseColor(e, i, s);
|
|
234
|
+
}
|
|
214
235
|
}
|
|
215
236
|
l([
|
|
216
237
|
r
|
|
@@ -238,7 +259,7 @@ l([
|
|
|
238
259
|
], u.prototype, "setGuideStyle");
|
|
239
260
|
l([
|
|
240
261
|
r
|
|
241
|
-
], u.prototype, "
|
|
262
|
+
], u.prototype, "setGuideTooltipReverseColor");
|
|
242
263
|
class he extends f {
|
|
243
264
|
/**
|
|
244
265
|
* Whether the x-axis labels are visible.
|
|
@@ -257,14 +278,14 @@ class he extends f {
|
|
|
257
278
|
}
|
|
258
279
|
}
|
|
259
280
|
var Z = Object.defineProperty, k = Object.getOwnPropertyDescriptor, ee = (t, e, i, s) => {
|
|
260
|
-
for (var o = k(e, i), n = t.length - 1,
|
|
261
|
-
(
|
|
281
|
+
for (var o = k(e, i), n = t.length - 1, a; n >= 0; n--)
|
|
282
|
+
(a = t[n]) && (o = a(e, i, o) || o);
|
|
262
283
|
return o && Z(e, i, o), o;
|
|
263
284
|
};
|
|
264
|
-
const ie = (t) =>
|
|
265
|
-
|
|
285
|
+
const ie = (t) => v({ config: t, axisIndex: 0, isMax: !0 }), te = (t, e) => {
|
|
286
|
+
y({ config: t, value: e, axisIndex: 0, isMax: !0 });
|
|
266
287
|
};
|
|
267
|
-
class
|
|
288
|
+
class m extends f {
|
|
268
289
|
/**
|
|
269
290
|
* Maximum bound set for the x-axis.
|
|
270
291
|
*
|
|
@@ -279,14 +300,14 @@ class G extends f {
|
|
|
279
300
|
}
|
|
280
301
|
ee([
|
|
281
302
|
r
|
|
282
|
-
],
|
|
303
|
+
], m.prototype, "maxXBound");
|
|
283
304
|
var se = Object.defineProperty, oe = Object.getOwnPropertyDescriptor, ne = (t, e, i, s) => {
|
|
284
|
-
for (var o = oe(e, i), n = t.length - 1,
|
|
285
|
-
(
|
|
305
|
+
for (var o = oe(e, i), n = t.length - 1, a; n >= 0; n--)
|
|
306
|
+
(a = t[n]) && (o = a(e, i, o) || o);
|
|
286
307
|
return o && se(e, i, o), o;
|
|
287
308
|
};
|
|
288
|
-
const
|
|
289
|
-
|
|
309
|
+
const de = (t) => v({ config: t, axisIndex: 0, isMax: !1 }), ae = (t, e) => {
|
|
310
|
+
y({ config: t, value: e, axisIndex: 0, isMax: !1 });
|
|
290
311
|
};
|
|
291
312
|
class p extends f {
|
|
292
313
|
/**
|
|
@@ -295,10 +316,10 @@ class p extends f {
|
|
|
295
316
|
* `null` indicates no explicit minimum.
|
|
296
317
|
*/
|
|
297
318
|
get minXBound() {
|
|
298
|
-
return
|
|
319
|
+
return de(this._config);
|
|
299
320
|
}
|
|
300
321
|
set minXBound(e) {
|
|
301
|
-
|
|
322
|
+
ae(this._config, e);
|
|
302
323
|
}
|
|
303
324
|
}
|
|
304
325
|
ne([
|
|
@@ -306,11 +327,11 @@ ne([
|
|
|
306
327
|
], p.prototype, "minXBound");
|
|
307
328
|
class re extends f {
|
|
308
329
|
}
|
|
309
|
-
O(re, [
|
|
330
|
+
O(re, [m, p]);
|
|
310
331
|
export {
|
|
311
332
|
u as M,
|
|
312
333
|
he as W,
|
|
313
334
|
re as a,
|
|
314
|
-
|
|
335
|
+
me as b,
|
|
315
336
|
pe as d
|
|
316
337
|
};
|
|
@@ -2358,7 +2358,7 @@ function Ql(t, e) {
|
|
|
2358
2358
|
return i;
|
|
2359
2359
|
}
|
|
2360
2360
|
function Wb(t) {
|
|
2361
|
-
|
|
2361
|
+
const e = [];
|
|
2362
2362
|
if (t.visible) {
|
|
2363
2363
|
const { chart: i } = t, a = D(i.uid, "config");
|
|
2364
2364
|
if (a) {
|
|
@@ -2369,23 +2369,20 @@ function Wb(t) {
|
|
|
2369
2369
|
seriesIndex: 0,
|
|
2370
2370
|
chartConfig: a
|
|
2371
2371
|
};
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
(l)
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
})), {
|
|
2372
|
+
Mr(t.slices, i).forEach((r) => {
|
|
2373
|
+
const l = r.dataItem?.dataContext ?? {};
|
|
2374
|
+
Ri(l) ? xo({
|
|
2375
|
+
groupOfSlicesDataContext: l
|
|
2376
|
+
})?.forEach((d, u) => {
|
|
2377
|
+
e.push({
|
|
2379
2378
|
...s,
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
}
|
|
2385
|
-
), r !== void 0 && r.forEach((l, c) => {
|
|
2386
|
-
e.push({
|
|
2379
|
+
elementIndex: u,
|
|
2380
|
+
elementDataContext: d
|
|
2381
|
+
});
|
|
2382
|
+
}) : e.push({
|
|
2387
2383
|
...s,
|
|
2388
|
-
|
|
2384
|
+
element: r,
|
|
2385
|
+
elementIndex: r.dataItem?.index,
|
|
2389
2386
|
elementDataContext: l
|
|
2390
2387
|
});
|
|
2391
2388
|
});
|