@arcgis/charts-components 4.34.0-next.157 → 4.34.0-next.158
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/{BEF2F5UZ.js → 2G3IHOLY.js} +2 -2
- package/dist/cdn/{TIESJRLD.js → 2KIA5QUH.js} +2 -2
- package/dist/cdn/{X5AG4BVK.js → 2OSJAWWS.js} +2 -2
- package/dist/cdn/{RWYOP4PZ.js → 2PKLZTV7.js} +2 -2
- package/dist/cdn/{ZPVBLE5H.js → 2U5F25YV.js} +2 -2
- package/dist/cdn/{N5UJ2UOL.js → 2Z4MNCDY.js} +2 -2
- package/dist/cdn/{NM5FGAFC.js → 3EWWVZS4.js} +2 -2
- package/dist/cdn/{XN2FXAAC.js → 3FMQYHQ3.js} +2 -2
- package/dist/cdn/{SL36NZFI.js → 3FTU52MC.js} +2 -2
- package/dist/cdn/{JL2G6CWI.js → 3FWP46TG.js} +2 -2
- package/dist/cdn/{7RCFDA6Q.js → 3KGK3UTD.js} +2 -2
- package/dist/cdn/{IVGLUBUX.js → 3L6Q6KL6.js} +1 -1
- package/dist/cdn/{2QLCP7ZF.js → 3UNE6TTF.js} +2 -2
- package/dist/cdn/{DKCKLMVU.js → 44BNW3VZ.js} +2 -2
- package/dist/cdn/{PMJ5GFAU.js → 4B7MQD2G.js} +2 -2
- package/dist/cdn/{G6QDXLEK.js → 4DYPOWRC.js} +2 -2
- package/dist/cdn/{IBZ5YXVA.js → 4EDGBNDW.js} +2 -2
- package/dist/cdn/{VTXXXHHS.js → 4ERNI53Y.js} +2 -2
- package/dist/cdn/{66ZOY6E4.js → 56RS6YJZ.js} +1 -1
- package/dist/cdn/{CRIFUIIP.js → 5FXA7JPH.js} +2 -2
- package/dist/cdn/5IH6SONS.js +4 -0
- package/dist/cdn/{GC7LRVFW.js → 5MQN4T3B.js} +2 -2
- package/dist/cdn/{P6NTSYFQ.js → 5NOQLTHL.js} +2 -2
- package/dist/cdn/{NQVHTTEI.js → 5OGSEOB6.js} +2 -2
- package/dist/cdn/{5BVRWUUE.js → 6ESVHA4X.js} +2 -2
- package/dist/cdn/{GBOILEQL.js → 6H5BQWEW.js} +2 -2
- package/dist/cdn/{CZOZHMTD.js → 6UWUO2EN.js} +2 -2
- package/dist/cdn/{FDHANGKE.js → 6WUFPUHO.js} +2 -2
- package/dist/cdn/{RWKZEXWL.js → 6Y5BYBYQ.js} +2 -2
- package/dist/cdn/{CGHTCMWZ.js → 7A2KHEVT.js} +2 -2
- package/dist/cdn/{WYXUJPL2.js → 7M7NU5CV.js} +2 -2
- package/dist/cdn/{6ZR7L4DJ.js → 7QDZ3EQS.js} +2 -2
- package/dist/cdn/{UFAG7KV3.js → 7UO25RB6.js} +2 -2
- package/dist/cdn/{YI6FQSBY.js → 7XCO3DZP.js} +2 -2
- package/dist/cdn/{743CXVWQ.js → A5MHUVWZ.js} +2 -2
- package/dist/cdn/{NFN6PZ63.js → AEW3ZE7R.js} +2 -2
- package/dist/cdn/{F2SI2CEG.js → AMFX3RS7.js} +2 -2
- package/dist/cdn/{IFJLWRBP.js → ANUYXMLR.js} +2 -2
- package/dist/cdn/{JGUXGI46.js → AU2DQCPD.js} +2 -2
- package/dist/cdn/{UGYFJZCP.js → B3RWDWR6.js} +2 -2
- package/dist/cdn/{CXOKRYRR.js → BCOGK42U.js} +2 -2
- package/dist/cdn/{MDEUILI3.js → BIOWIXCI.js} +2 -2
- package/dist/cdn/{BYQQB7BN.js → BSU4VR57.js} +2 -2
- package/dist/cdn/{SB4FJYOO.js → BVKUX2TO.js} +2 -2
- package/dist/cdn/{YS5IY7K6.js → BX4BDKCE.js} +2 -2
- package/dist/cdn/{YEB5PHHQ.js → C3L455RV.js} +2 -2
- package/dist/cdn/{KA5RMBAW.js → C4AYS3WW.js} +2 -2
- package/dist/cdn/{2PWORPUQ.js → C5TC7VTL.js} +2 -2
- package/dist/cdn/{SOPGZEQZ.js → CRCYEODV.js} +2 -2
- package/dist/cdn/{5XNSZ52Z.js → CRK3L2PK.js} +2 -2
- package/dist/cdn/{WXLE6RPM.js → CVI5JSQY.js} +2 -2
- package/dist/cdn/{ZTBNEDCQ.js → CXUWCZT5.js} +2 -2
- package/dist/cdn/{XLZVVJLI.js → D6GU4VCG.js} +1 -1
- package/dist/cdn/{S3H7X4PZ.js → DCBY7PKD.js} +2 -2
- package/dist/cdn/{6RLWZIUN.js → DCULJHKH.js} +2 -2
- package/dist/cdn/{TQWEHKLP.js → DFEDJS4S.js} +2 -2
- package/dist/cdn/{2SVP6RDG.js → DHMWE5WC.js} +2 -2
- package/dist/cdn/{WYMOYDMS.js → DLLACGRT.js} +2 -2
- package/dist/cdn/{QGHMTH5F.js → DUJJLWP4.js} +2 -2
- package/dist/cdn/{FK7Z4HT6.js → EFEBAL47.js} +1 -1
- package/dist/cdn/{P35BC6AN.js → EFTIHZSN.js} +2 -2
- package/dist/cdn/{GB4YYWYW.js → EKC3Q6CC.js} +2 -2
- package/dist/cdn/{MVVENE5N.js → ENS6MNHU.js} +2 -2
- package/dist/cdn/{UXY4UYU4.js → FHLO27CQ.js} +2 -2
- package/dist/cdn/{5N6BABDX.js → FKMFYC2R.js} +2 -2
- package/dist/cdn/{34Z7BI45.js → FS53MFQF.js} +2 -2
- package/dist/cdn/{PYCWJFX4.js → FZ2KEZ2N.js} +2 -2
- package/dist/cdn/{3YT4EFYT.js → GAA6XVJN.js} +2 -2
- package/dist/cdn/{PVT7I76U.js → GAYLU2JA.js} +2 -2
- package/dist/cdn/{CE3VTPDT.js → GBHS3PUR.js} +2 -2
- package/dist/cdn/{JF5UZREZ.js → GDTLU6DX.js} +2 -2
- package/dist/cdn/{HKEDP6T3.js → GGZ7K2EK.js} +1 -1
- package/dist/cdn/{5MGLNDES.js → GITEE4E4.js} +2 -2
- package/dist/cdn/{ZFY3C4FV.js → GMQCGM63.js} +2 -2
- package/dist/cdn/{UIZVBNW7.js → GX3MQNNO.js} +2 -2
- package/dist/cdn/{3YSINQ2F.js → GYRSRL7L.js} +2 -2
- package/dist/cdn/{EFO3AFCZ.js → H4QZWURT.js} +2 -2
- package/dist/cdn/{4VTWINB5.js → HAP45GJY.js} +2 -2
- package/dist/cdn/{S6OCLJPJ.js → HATQKT3R.js} +2 -2
- package/dist/cdn/{OGFYS43X.js → HHQXFTAR.js} +2 -2
- package/dist/cdn/{ZUH3YHWE.js → HKPREX4S.js} +2 -2
- package/dist/cdn/{6WUFNOEN.js → HNR5H52W.js} +2 -2
- package/dist/cdn/{TELZKVS5.js → HNUZXZKS.js} +2 -2
- package/dist/cdn/{VBQI72IW.js → HQ7AXULT.js} +2 -2
- package/dist/cdn/{HB6XGBH4.js → HTN47TCR.js} +2 -2
- package/dist/cdn/{3JDEYC6D.js → HVXHSUGW.js} +2 -2
- package/dist/cdn/{PC2CIW55.js → IB7ISHAM.js} +2 -2
- package/dist/cdn/{HZK43NE2.js → ICYNQUET.js} +2 -2
- package/dist/cdn/{RI74MZIA.js → IE77SPRT.js} +2 -2
- package/dist/cdn/{RI2LJM2L.js → IH54XWEZ.js} +2 -2
- package/dist/cdn/{JRDYNYHL.js → IHCU42YD.js} +2 -2
- package/dist/cdn/{NFXCTCVB.js → IJPDAJVP.js} +2 -2
- package/dist/cdn/{FMNTFDFE.js → IKKX2DDZ.js} +2 -2
- package/dist/cdn/{ZDZZHYUM.js → ILAQAMCS.js} +2 -2
- package/dist/cdn/{3NXJIAFU.js → IOQEQM7P.js} +2 -2
- package/dist/cdn/{5DBXNRFX.js → IXEXC7ZG.js} +1 -1
- package/dist/cdn/{V2LALXOK.js → JHHQTZBS.js} +2 -2
- package/dist/cdn/{N67I6WNT.js → JNNQR7CY.js} +2 -2
- package/dist/cdn/{CVWVJ3A6.js → JQYRS5R5.js} +1 -1
- package/dist/cdn/{BG7NIL5F.js → JYWM5OLE.js} +2 -2
- package/dist/cdn/{BWKNLQZ2.js → K5K4AZL7.js} +2 -2
- package/dist/cdn/{VUGG62A5.js → KLETAPJ5.js} +2 -2
- package/dist/cdn/{Y2Z5WDYM.js → KMQNEFLI.js} +2 -2
- package/dist/cdn/{IFNX67DK.js → KO6MLJP4.js} +2 -2
- package/dist/cdn/{3VCBOP4Q.js → KS6E4UWZ.js} +2 -2
- package/dist/cdn/{ZXVA5VQH.js → L75VSDF5.js} +2 -2
- package/dist/cdn/{4GG4BXXX.js → LEO7DHNI.js} +2 -2
- package/dist/cdn/{T34T5EN5.js → LETH7DHL.js} +2 -2
- package/dist/cdn/{L6ZUMZWQ.js → LUIY4767.js} +2 -2
- package/dist/cdn/{P2YOTHYJ.js → MA76U6BW.js} +2 -2
- package/dist/cdn/{C3CEWZEF.js → MR4PPWG2.js} +2 -2
- package/dist/cdn/{YILS2F7H.js → MUMJNJPU.js} +2 -2
- package/dist/cdn/{GDQA4AAQ.js → MXQFUWTN.js} +7 -7
- package/dist/cdn/{2YFRRJTY.js → NB3LNEDZ.js} +2 -2
- package/dist/cdn/{TNLN4IG4.js → NIHOR6RV.js} +2 -2
- package/dist/cdn/{POS343J3.js → NILTQEM7.js} +2 -2
- package/dist/cdn/{VWR7W2CM.js → NXIOJBZ7.js} +2 -2
- package/dist/cdn/{DGPPE6UN.js → OGXKRIVA.js} +2 -2
- package/dist/cdn/{K3ZWWCHK.js → P44LSZEH.js} +2 -2
- package/dist/cdn/{IHHXZRC2.js → P5YBDZ7B.js} +2 -2
- package/dist/cdn/PGOAOFJW.js +4 -0
- package/dist/cdn/{2V4H2FEO.js → PIC7TPEG.js} +2 -2
- package/dist/cdn/{4HAXGFGL.js → PLEWATRV.js} +2 -2
- package/dist/cdn/{J3MQV5O6.js → PPLIQXLW.js} +2 -2
- package/dist/cdn/{JO7B74MP.js → PX3Q3C7N.js} +2 -2
- package/dist/cdn/{N4LJXSOB.js → Q7JI4AD5.js} +2 -2
- package/dist/cdn/{4ZP5FMTA.js → QF33ETYU.js} +2 -2
- package/dist/cdn/{LOT3TP4X.js → R4WF5VUP.js} +2 -2
- package/dist/cdn/{DA7RF2SI.js → RB5JJ2OC.js} +2 -2
- package/dist/cdn/{FTSBUAGN.js → RDZNNTZL.js} +2 -2
- package/dist/cdn/{3QVLRXIQ.js → RQNA4736.js} +2 -2
- package/dist/cdn/{537QIJO2.js → RUEXZMDC.js} +2 -2
- package/dist/cdn/{64HL7VGS.js → S4LLFCWX.js} +2 -2
- package/dist/cdn/{PD3Y4HY2.js → SBMCE4V4.js} +2 -2
- package/dist/cdn/{BE2EA5WA.js → SDEN5OCA.js} +2 -2
- package/dist/cdn/{S2PT5VT7.js → SGN5BIAN.js} +2 -2
- package/dist/cdn/{EQSDLQZG.js → SIZSUPP5.js} +2 -2
- package/dist/cdn/{YJECHQY3.js → SQB6PI4W.js} +2 -2
- package/dist/cdn/{WBZAWBNB.js → SY7DHEJ4.js} +2 -2
- package/dist/cdn/{BWDGH2ZQ.js → T33YDMG6.js} +2 -2
- package/dist/cdn/{3VFIS56Y.js → T6BQMSEK.js} +1 -1
- package/dist/cdn/{I6BKJIFL.js → THI2AAFW.js} +2 -2
- package/dist/cdn/{XDKHANF4.js → TTGHIOSP.js} +2 -2
- package/dist/cdn/{BDK75S3J.js → U74H4YIB.js} +2 -2
- package/dist/cdn/{2WHBE4ZT.js → U7PSEJHB.js} +2 -2
- package/dist/cdn/{K74GMLB6.js → UEFXC6OE.js} +2 -2
- package/dist/cdn/{RPH6NPVZ.js → UJF7DBL4.js} +2 -2
- package/dist/cdn/{T4SJ35XR.js → UNDHPPMR.js} +2 -2
- package/dist/cdn/{MHMQD6AM.js → UNW3VHA4.js} +1 -1
- package/dist/cdn/{R3C63OAM.js → URSAOFCC.js} +2 -2
- package/dist/cdn/{QVYPT635.js → UTH6FRZQ.js} +2 -2
- package/dist/cdn/{SJQZRFAO.js → VFRRXZTZ.js} +2 -2
- package/dist/cdn/{43LZP3QJ.js → VMHQUXLK.js} +2 -2
- package/dist/cdn/{7KZJLWEV.js → VMVF7WO3.js} +2 -2
- package/dist/cdn/{PWBWFRSW.js → VT7QBGEW.js} +2 -2
- package/dist/cdn/{SZFZEOOB.js → VWTBZWX7.js} +2 -2
- package/dist/cdn/{AE3Y4FDR.js → VZNNNW2L.js} +2 -2
- package/dist/cdn/{67MXDGB4.js → WDNIYOS5.js} +2 -2
- package/dist/cdn/{IJ2O4TN7.js → WQUMOIUM.js} +2 -2
- package/dist/cdn/{TFTQGFWP.js → X6OFJ26T.js} +2 -2
- package/dist/cdn/{DSY274EO.js → X7GRVW5U.js} +2 -2
- package/dist/cdn/{7ASELTOG.js → XC6EYY2E.js} +1 -1
- package/dist/cdn/{YYLTLQIB.js → XCRNLNZF.js} +2 -2
- package/dist/cdn/{WUMUIXXP.js → XGACLOZR.js} +2 -2
- package/dist/cdn/{2ID2RVKZ.js → XSAMSVZO.js} +2 -2
- package/dist/cdn/{3QQ4DV5E.js → XU4Q2EIF.js} +2 -2
- package/dist/cdn/{DWR2THH7.js → XUYVEECI.js} +2 -2
- package/dist/cdn/{CMQCYQIH.js → Y34FKLIK.js} +2 -2
- package/dist/cdn/{BZ63HLWU.js → YC6IUYJK.js} +2 -2
- package/dist/cdn/{6ZJCEO34.js → YCHAMIB7.js} +2 -2
- package/dist/cdn/{4JFSPH5E.js → YGLNMXRC.js} +2 -2
- package/dist/cdn/{QDILZWDI.js → YJI2KNXM.js} +2 -2
- package/dist/cdn/{MDZ5CAHP.js → YLFINMD3.js} +2 -2
- package/dist/cdn/{ECNWD2N3.js → YO6JB5OH.js} +2 -2
- package/dist/cdn/{ULGUXHQJ.js → YUWEPTWC.js} +2 -2
- package/dist/cdn/{TRXJLZQ6.js → YYJNVNJT.js} +2 -2
- package/dist/cdn/{5AUZQ7XT.js → ZBOG22K2.js} +2 -2
- package/dist/cdn/{BSCL2IL6.js → ZN6KDILD.js} +2 -2
- package/dist/cdn/{PA5WAOHS.js → ZOUEDTTQ.js} +2 -2
- package/dist/cdn/{QPNPATSP.js → ZPMOWXCF.js} +2 -2
- package/dist/cdn/{T34LMOEJ.js → ZS37MCKX.js} +2 -2
- package/dist/cdn/{PESWCLQ3.js → ZUFNTXXG.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +294 -292
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +48 -36
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +13 -7
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +6 -1
- package/dist/model.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/4DS3OI5Z.js +0 -4
- package/dist/cdn/LNDVNPKY.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{w as t}from"./
|
|
3
|
+
v4.34.0-next.158 */
|
|
4
|
+
import{w as t}from"./JQYRS5R5.js";import{a as r,w as i}from"./3L6Q6KL6.js";function c(n){let s=[r.BarSeries,r.LineSeries,r.ComboLineAndBarSeries,r.BoxPlotSeries],e=i(n?.series);return e!==void 0?s.includes(e):!1}function S(n){let s=[r.BarSeries,r.LineSeries,r.ComboLineAndBarSeries,r.RadarSeries],e=i(n?.series);return e!==void 0?s.includes(e):!1}function f(n){return n?.type===t.SFS}function d(n){return n?.type===t.SLS}function p(n){return n?.type===t.SMS}function y(n){return n?.type===t.TS}function m(n){return n&&"iLayer"in n&&n.iLayer}function a(n){return n?.type===r.BoxPlotSeries}function v(n){return n?.type===r.LineSeries}function L(n){return n?.type===r.RadarSeries}function B(n){return n?.type===r.BarSeries}var l=n=>i(n)===r.LineSeries,b=n=>i(n)===r.RadarSeries;function x(n){return n.every(a)}function R(n){return n!==void 0&&n.type===r.NumberAxisFormat}function A(n){return n===void 0||"bins"in n}function C(n){return n===void 0||"dataItems"in n}function I(n){return n===void 0||"dataItems"in n&&"r2"in n}function h(n){return"value"in n}export{c as a,S as b,f as c,d,p as e,y as f,m as g,a as h,v as i,L as j,B as k,l,b as m,x as n,R as o,A as p,C as q,I as r,h as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{A as e,F as a,g as s,h as l,y as c}from"./
|
|
3
|
+
v4.34.0-next.158 */
|
|
4
|
+
import{A as e,F as a,g as s,h as l,y as c}from"./XC6EYY2E.js";import"./GGZ7K2EK.js";var t={fieldSelectButtonSection:"field-select-btn-section",fieldSelectButton:"field-select-btn",fieldSelectButtonText:"field-select-btn-text",fieldSelectButtonIcon:"field-select-btn-icon",fieldSelectButtonInvalid:"field-select-btn-invalid"},d=s`.field-select-btn-section{background-color:var(--arcgis-charts-input-background);min-width:100%}.field-select-btn{background:var(--arcgis-charts-background-clear);border:1px solid;border-radius:var(--arcgis-charts-border-radius);display:flex;align-items:center;justify-content:space-between;padding:var(--arcgis-charts-side-spacing-half) var(--arcgis-charts-side-spacing-quarter);cursor:pointer;width:100%;text-align:unset}.field-select-btn:not(.field-select-btn-invalid){border-color:var(--arcgis-charts-border)}.field-select-btn.field-select-btn-invalid{border-color:var(--arcgis-charts-border-invalid)}.field-select-btn-exp{width:calc(100% - 32px)}.field-select-btn-exp .field-select-btn{border:none;border-radius:0;border-right:1px solid var(--arcgis-charts-border)}.field-select-btn-text{flex:0 1 auto;overflow:hidden;padding:0 var(--arcgis-charts-side-spacing-eighth);text-overflow:ellipsis;white-space:nowrap}.field-select-btn-icon{flex:0 0 0%;padding:0 var(--arcgis-charts-side-spacing-half)}.field-select-btn:disabled{cursor:default}`,i=class extends c{constructor(){super(...arguments),this.disabled=!1,this.invalid=!1}static{this.properties={label:3,disabled:7,invalid:7}}static{this.styles=d}render(){let r=`${t.fieldSelectButton} ${this.invalid?t.fieldSelectButtonInvalid:""}`;return l`<div class=${e(t.fieldSelectButtonSection)}><button class=${e(r)} .disabled=${this.disabled}><span class=${e(t.fieldSelectButtonText)}>${this.label}</span><span class=${e(t.fieldSelectButtonIcon)}><calcite-icon scale=s icon=chevron-down></calcite-icon></span></button></div>`}};a("arcgis-charts-config-field-select",i);export{i as ArcgisChartsConfigFieldSelect};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import e from"./
|
|
3
|
+
v4.34.0-next.158 */
|
|
4
|
+
import e from"./NIHOR6RV.js";import"./ANUYXMLR.js";import{a as f}from"./YJI2KNXM.js";import d from"./URSAOFCC.js";import b from"./5NOQLTHL.js";import{r as t,w as u}from"./JQYRS5R5.js";import"./D6GU4VCG.js";import"./IXEXC7ZG.js";import"./3L6Q6KL6.js";import{A as l,C as n,F as y,g as m,h as s,l as a,w as o,x as c,y as g}from"./XC6EYY2E.js";import"./GGZ7K2EK.js";export default $arcgis.t(([,,{f:w,g:S,h:r,i:d}])=>{var h={sizeSection:"size-section",dropdownText:"dropdown-text",colorPickerContainer:"color-picker-container"},b=m`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.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 g{constructor(){super(...arguments),this._messages=f(),this.lineWidthInputElement=o(),this.lineStyleDropdownElement=o(),this.lineStyle={type:u.SLS},this.arcgisChartsConfigLineStyleChange=a(),this.arcgisChartsConfigLineStyleClose=a()}static{this.properties={messageOverrides:0,lineStyle:2,header:1,open:7,enableClose:7,usePanel:7}}static{this.styles=b}closePanel(e){e.target.closed&&this.enableClose===!0&&(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:d.IDLE})):this.lineWidthInputElement.value&&r({inputElement:this.lineWidthInputElement.value,status:d.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(h.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(h.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=${S(this.lineStyle?.width)} @calciteInputInput=${this.widthChange} ${c(this.lineWidthInputElement)}></calcite-input></calcite-label></div>`,s`<div class=${l(h.colorPickerContainer)}><arcgis-charts-config-colors .rgba=${this.lineStyle?.color??void 0} @colorSelect=${this.colorChange}></arcgis-charts-config-colors></div>`];return this.usePanel!==!1?s`<calcite-panel .heading=${this.header??this._messages.header} .closed=${this.open===!1} .closable=${this.enableClose} @calcitePanelClose=${this.closePanel}>${e}</calcite-panel>`:e}};y("arcgis-charts-config-line-style",p);return p},b,d,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.158 */
|
|
4
|
+
import"./GGZ7K2EK.js";var _={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"dC",_era_bc:"aC",A:"a. m.",P:"p. m.",AM:"a. m.",PM:"p. m.","A.M.":"a. m.","P.M.":"p. m.",January:"de gener",February:"de febrer",March:"de mar\xE7",April:"d\u2019abril",May:"de maig",June:"de juny",July:"de juliol",August:"d\u2019agost",September:"de setembre",October:"d\u2019octubre",November:"de novembre",December:"de desembre",Jan:"de gen.",Feb:"de febr.",Mar:"de mar\xE7",Apr:"d\u2019abr.","May(short)":"de maig",Jun:"de juny",Jul:"de jul.",Aug:"d\u2019ag.",Sep:"de set.",Oct:"d\u2019oct.",Nov:"de nov.",Dec:"de des.",Sunday:"diumenge",Monday:"dilluns",Tuesday:"dimarts",Wednesday:"dimecres",Thursday:"dijous",Friday:"divendres",Saturday:"dissabte",Sun:"dg.",Mon:"dl.",Tue:"dt.",Wed:"dc.",Thu:"dj.",Fri:"dv.",Sat:"ds.",_dateOrd:function(d){let e="th";if(d<11||d>13)switch(d%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Reprodueix",Stop:"Parada",Legend:"Llegenda","Press ENTER to toggle":"",Loading:"S'est\xE0 carregant",Home:"Inici",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Imprimeix",Image:"Imatge",Data:"Dades",Print:"Imprimeix","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"De %1 a %2","From %1":"De %1","To %1":"A %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{_ as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.158 */
|
|
4
|
+
import"./GGZ7K2EK.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u66A6",_era_bc:"\u7D00\u5143\u524D",A:"\u5348\u524D",P:"\u5348\u5F8C",AM:"\u5348\u524D",PM:"\u5348\u5F8C","A.M.":"\u5348\u524D","P.M.":"\u5348\u5F8C",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u65E5\u66DC\u65E5",Monday:"\u6708\u66DC\u65E5",Tuesday:"\u706B\u66DC\u65E5",Wednesday:"\u6C34\u66DC\u65E5",Thursday:"\u6728\u66DC\u65E5",Friday:"\u91D1\u66DC\u65E5",Saturday:"\u571F\u66DC\u65E5",Sun:"\u65E5",Mon:"\u6708",Tue:"\u706B",Wed:"\u6C34",Thu:"\u6728",Fri:"\u91D1",Sat:"\u571F",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u30BA\u30FC\u30E0",Play:"\u518D\u751F",Stop:"\u505C\u6B62",Legend:"\u51E1\u4F8B","Press ENTER to toggle":"",Loading:"\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059",Home:"\u30DB\u30FC\u30E0",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u5370\u5237",Image:"\u30A4\u30E1\u30FC\u30B8",Data:"\u30C7\u30FC\u30BF",Print:"\u5370\u5237","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u59CB\u70B9 %1 \u7D42\u70B9 %2","From %1":"\u59CB\u70B9 %1","To %1":"\u7D42\u70B9 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{b as g}from"./
|
|
3
|
+
v4.34.0-next.158 */
|
|
4
|
+
import{b as g}from"./YLFINMD3.js";import{a as m}from"./YJI2KNXM.js";import b from"./5NOQLTHL.js";import{w as r}from"./JQYRS5R5.js";import"./D6GU4VCG.js";import"./3L6Q6KL6.js";import{A as c,F as h,g as a,h as t,l as o,w as l,x as n,y as p}from"./XC6EYY2E.js";import"./GGZ7K2EK.js";export default $arcgis.t(([])=>{var C={jsAppFlyout:"js-app-flyout"},f=a``,i=class extends p{constructor(){super(...arguments),this._messages=m(),this.popoverElement=l(),this.placement="leading",this.arcgisChartsConfigFormatPopoverColorChange=o(),this.arcgisChartsConfigFormatPopoverSymbolChange=o(),this.arcgisChartsConfigFormatPopoverTextChange=o(),this.arcgisChartsConfigPopoverClose=o()}static{this.properties={messageOverrides:0,selectedElement:2,referenceElement:2,placement:3,open:7}}static{this.styles=f}async reposition(){await this.popoverElement.value?.reposition()}updated(){g(this.popoverElement.value,this.open)}closePopover(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}updateSymbolProperties(e){this.selectedElement=e.target.lineStyle,this.arcgisChartsConfigFormatPopoverSymbolChange.emit(e.detail)}updateTextProperties(e){this.selectedElement=e.target.fontStyle,this.arcgisChartsConfigFormatPopoverTextChange.emit(e.detail)}updateColorProperties(e){this.selectedElement=e.detail,this.arcgisChartsConfigFormatPopoverColorChange.emit(e.detail)}render(){let e=this.selectedElement,s=this.selectedElement;return t`<div class=${c(C.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .open=${this.open} label @calcitePopoverClose=${this.closePopover} pointer-disabled auto-close ${n(this.popoverElement)}>${Array.isArray(e)?t`<arcgis-charts-config-color-style .header=${this._messages.backgroundElement} enable-close .open=${this.open} .selectedColor=${e} @arcgisChartsConfigColorStyleClose=${this.closePopover} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>`:null}${s?.type===r.SLS?t`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${s} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>`:null}${s?.type===r.TS?t`<arcgis-charts-config-font-style .header=${this._messages.textStyle} .open=${this.open} enable-close .fontStyle=${s} @arcgisChartsConfigFontStyleClose=${this.closePopover} @arcgisChartsConfigFontStyleChange=${this.updateTextProperties}></arcgis-charts-config-font-style>`:null}</calcite-popover></div>`}};h("arcgis-charts-config-format-popover",i);return i},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.158 */
|
|
4
|
+
import"./GGZ7K2EK.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd. MMM yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd. MMM yyyy",_date_day:"dd. MMM",_date_day_full:"dd. MMM yyyy",_date_week:"ww",_date_week_full:"dd. MMM yyyy",_date_month:"MMM",_date_month_full:"MMM yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"e.Kr.",_era_bc:"f.Kr.",A:"a",P:"p",AM:"a.m.",PM:"p.m.","A.M.":"a.m.","P.M.":"p.m.",January:"januar",February:"februar",March:"mars",April:"april",May:"mai",June:"juni",July:"juli",August:"august",September:"september",October:"oktober",November:"november",December:"desember",Jan:"jan.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"mai",Jun:"jun.",Jul:"jul.",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"des.",Sunday:"s\xF8ndag",Monday:"mandag",Tuesday:"tirsdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF8rdag",Sun:"s\xF8n.",Mon:"man.",Tue:"tir.",Wed:"ons.",Thu:"tor.",Fri:"fre.",Sat:"l\xF8r.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Spill av",Stop:"Stopp",Legend:"Tegnforklaring","Press ENTER to toggle":"",Loading:"Laster inn",Home:"Hjem",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Skriv ut",Image:"Bilde",Data:"Data",Print:"Skriv ut","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Fra %1 til %2","From %1":"Fra %1","To %1":"Til %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import b from"./64HL7VGS.js";import{h as C,n as te}from"./3JDEYC6D.js";import a from"./P6NTSYFQ.js";import{d as $,f as E,i as Y,j as Z,q as ee}from"./CVWVJ3A6.js";import{b as d}from"./5DBXNRFX.js";import{a as f,h as x,v as u}from"./IVGLUBUX.js";export default $arcgis.t(([,,,,,,,{substitute:P},{Ac:L,B:w,Fa:_,L:J,M:oe,N:ie,Qa:F,U:D,V:H,aa:se,ea:W,ib:A,mb:re,oc:le,qc:G,rc:K,yb:ne,z:j},{M:T,b:O,e:Q,g:R,h:ae,na:ye,q:ce,ra:me}])=>{var oo=(o,e)=>e?.series?.[o]?.name,io=(o,e,i)=>{let s=i;s?.series?.[e]!==void 0&&(s.series[e].name=o)},so=(o,e)=>{let i,s=e.series?.[o];return s?.type===f.BoxPlotSeries?i=s.fillSymbol?.color:s?.type===f.LineSeries&&(i=s.lineSymbol?.color),i},Fe=o=>{let e=o.series[0];return o.showMean===!0&&C(e)?e.fillSymbol?.color:void 0},ve=(o,e)=>{let i=e.series[0];e.showMean===!0&&C(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=o:i.fillSymbol={...D(),color:o})},ro=(o,e,i)=>{let s=i?.series?.[e];s?.type===f.BoxPlotSeries&&s.fillSymbol!==void 0?s.fillSymbol.color=o:s?.type===f.LineSeries&&s.lineSymbol!==void 0&&(s.lineSymbol.color=o,s.markerSymbol!==void 0&&(s.markerSymbol.color=o))},Me=o=>o.series.map(e=>e.id),Be=(o,e)=>{e?.series?.sort((i,s)=>o.findIndex(r=>i.id===r)-o.findIndex(r=>s.id===r))},no=(o,e,i)=>{let s=Me(i),[r]=s.splice(o,1);s.splice(e,0,r),Be(s,i)},lo=o=>U(o)?o.series.findIndex(e=>e.type===f.BoxPlotSeries):-1;function Ae(o,e,i){let s=be(o,e,i),r=ce(o),n=L(o);return s===r||n}function de(o,e,i){let s=k(o,e,i),r=T(1,o),n=L(o);return s===r||n}function Le(o){let{config:e,layerInfo:i,newCategory:s}=o,{layerFieldsInfo:r}=i,n=B(e),t=s!==w?F(r,n):"",l=T(0,e),a=L(e);return t===l||a||l.trim()===""}var B=o=>A(o)?.x??w,Ce=$(o=>{let e=A(o),i=e?.query?.where?.split("=")[0].trim()??"";return re(e?.query?.where)?"":i},o=>A(o)?.query?.where),fe=$(o=>ne(o?.series).filter(e=>e!==""),o=>o?.series),V=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={...W(r,i),x:e===void 0||e===""?w:e,y:s,query:{}};return E(n)},Oe=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={...se({commonStrings:r,seriesIndex:i}),x:e===void 0||e===""?w:e,y:s,query:{}};return E(n)};function ge(o){let{x:e,y:i,seriesTemplate:s,commonStrings:r}=o,{id:n,fillSymbol:t}=s??{},l=W(r),a=n??`series_${Date.now()}`;return l.id=a,l.name=a,l.x=e,l.y=i,t?l.fillSymbol=t:l.fillSymbol&&(l.fillSymbol.color=_,l.fillSymbol?.outline&&(l.fillSymbol.outline.color=_)),l}function ue(o){let{numericFields:e,config:i,layerInfo:s,category:r,commonStrings:n}=o,{layerFieldsInfo:t}=s,l=[],a=r??B(i),y=!1;if(e.length===0){let c=V({y:"",seriesIndex:0,category:a,commonStrings:n});l.push(c)}else if(a===w){let c=e.length>1?e:e[0],b=V({y:c,seriesIndex:0,category:a,commonStrings:n}),v=e.length>1?n.axisLabels.values:F(s.layerFieldsInfo,e[0]),g={...b,id:e[0],name:v,x:a},m=i.series.find(S=>Z(c,S.y)&&S.query?.where===void 0);m!==void 0&&(!i.colorMatch&&"fillSymbol"in m&&(g.fillSymbol=m.fillSymbol,y=!0),g.id=m.id,g.name=m.name),l.push(g)}else for(let c=0;c<e.length;c+=1){let b=e[c],v=V({y:b,seriesIndex:c,category:a,commonStrings:n}),g=F(t,b),m={...v,id:b,name:g,x:a},S=i.series.find(h=>b===h.y);S!==void 0&&(!i.colorMatch&&"fillSymbol"in S&&(m.fillSymbol=S.fillSymbol,y=!0),m.id=S.id,m.name=S.name),l.push(m)}return i.series.length===1&&l.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(l[0].fillSymbol=i.series[0].fillSymbol,y=!0),i.colorMatch=!y,l}var Se=o=>o?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",ke=o=>o.series.some(e=>e.type===f.LineSeries)&&o.series.some(e=>e.type===f.BoxPlotSeries);function qe(o,e,i){let s=[];return o.forEach(r=>{if(r.type===f.BoxPlotSeries){let{type:n,fillSymbol:t,...l}=r;s.push({...l,type:f.LineSeries,lineSymbol:{...J({width:j}),...t!==void 0?{color:t.color}:{}},markerSymbol:{...H(),...t!==void 0?{color:t.color}:{}}})}}),s.unshift(ge({x:o[0].x,y:o[0].y,seriesTemplate:i,commonStrings:e})),s}function De(o){let e=o.slice(1),i=[];return e.forEach(s=>{if(s.type===f.LineSeries){let{type:r,lineSymbol:n,markerSymbol:t,...l}=s,a=D();i.push({...l,type:f.BoxPlotSeries,fillSymbol:{...a,color:n?.color}})}}),i}function pe(o){let{formerSeries:e,newSeries:i,showMean:s}=o,r=i,n=a=>a.type===(s?f.LineSeries:f.BoxPlotSeries),t=e.filter(n).map(a=>a.id),l=i.filter(n).map(a=>a.id);return t.length===l.length&&JSON.stringify(t)!==JSON.stringify(l)&&(r=r.sort((a,y)=>t.findIndex(c=>c===a.id)-t.findIndex(c=>c===y.id))),r}async function Te(o){let{config:e,layerInfo:i,commonStrings:s,splitByField:r,numericFields:n,category:t}=o,{layer:l,layerFieldsInfo:a}=i,{fetchNullValues:y}=A(e)?.query??{},c=t??B(e),{categoriesArray:b,splitByFieldType:v}=await ye({config:e,layer:l,layerFieldsInfo:a,xAxisField:z(c)?void 0:c,aggregationFields:n,splitByField:r,fetchNullValues:y}),g=[],m=!1,S=ke(e);if(b.length===0){g=ue({numericFields:n,category:c,config:e,layerInfo:i,commonStrings:s});for(let h of g)h.query&&(h.query.where=`${r}=''`)}else for(let h=0;h<b.length;h+=1){let M=b[h],q={y:n,seriesIndex:h,category:c,commonStrings:s},X=S?Oe(q):V(q),he={fieldName:r,fieldValueToMatch:M??"",subtypeInfo:G(i.layer),fieldList:i.layerFieldsInfo},we=K(he),N=`${M}`,I={...X,id:N,name:we??N,x:c===void 0||c===""?w:c,query:{...X.query,where:`${r}=${v===ee.String&&M!==null?`'${M}'`:M}`}},p=e.series.find(Ie=>Se(Ie)===N);p!==void 0&&(e.colorMatch||(I.type===f.BoxPlotSeries?C(p)?I.fillSymbol=p.fillSymbol:I.fillSymbol={...D(),color:p.lineSymbol?.color}:C(p)?(I.lineSymbol={...J({width:j}),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}},I.markerSymbol={...H(),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}}):(I.lineSymbol=p.lineSymbol,I.markerSymbol=p.markerSymbol),m=!0),I.id=p.id,I.name=p.name),g.push(I)}if(g=pe({formerSeries:e.series,newSeries:g,showMean:U(e)}),e.colorMatch=!m,U(e)){let h=e.series.find(q=>q.type===f.BoxPlotSeries),M=ge({x:c,y:n,seriesTemplate:h,commonStrings:s});g.unshift(M)}return g}var to=async o=>{let{splitByField:e,numericFields:i,category:s,config:r,layerInfo:n,commonStrings:t}=o,{layerFieldsInfo:l}=n,a=Ne(s,i,e),y=le(l),c=B(r),b=Ae(r,n,t),v=de(r,n,t),g=Le({config:r,layerInfo:n,newCategory:s}),m=R(r);if(!y.includes(c)&&y.includes(s)?m=ie():y.includes(c)&&!y.includes(s)&&(m=oe()),m!==void 0&&ae(r,t,m),Ve(a?{newShowMeanLines:r.showMean,config:r,commonStrings:t}:{newShowMeanLines:!1,config:r,commonStrings:t}),r.series=a?await Te({config:r,layerInfo:n,splitByField:e,numericFields:i,category:s,commonStrings:t}):ue({numericFields:i,config:r,layerInfo:n,category:s,commonStrings:t}),g){let S=z(s)?"":F(l,s);O(r,0,S)}if(v){let S=k(r,n,t);O(r,1,S)}r?.title!==void 0&&b&&(r.title.content.text=be(r,n,t)),Q({config:r,value:null,axisIndex:1,isMax:!1}),Q({config:r,value:null,axisIndex:1,isMax:!0})},Pe=o=>o?.standardizeValues??!1;function k(o,e,i){let{layerFieldsInfo:s}=e,r=Pe(o)?i.axisLabels.standardizedValues:i.axisLabels.values,n=o?.series?.map(t=>t.y).flat();return n=[...new Set(n)],n.length===1&&(r=F(s,n[0])),r}function be(o,e,i){let{layerFieldsInfo:s}=e,r=B(o),n=fe(o),t=Ce(o),l=n.map(c=>F(s??[],c)).join(", "),a=F(s??[],r),y="";return n.length>0&&(r!==w&&t!==""?y=P(i.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:l,category:a,splitByField:t}):r!==w?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:a}):t!==""?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:t}):y=P(i.titleLabels.distributionOfField,{valueField:l})),y}var ao=o=>{let{series:e,splitByField:i,layerInfo:s,commonStrings:r}=o,n=typeof e.y=="string"?F(s.layerFieldsInfo,e.y):r.axisLabels.values;Y(i)||(n=Se(e));let t={fieldName:i,fieldValueToMatch:n??"",subtypeInfo:G(s.layer),fieldList:s.layerFieldsInfo};return n=K(t)??n,n??e.id},co=o=>o?.showOutliers??!1,yo=o=>{let{newShowOutliers:e,config:i,layerInfo:s,commonStrings:r}=o;if(i.showOutliers=e,de(i,s,r)){let n=k(i,s,r);O(i,1,n)}},mo=o=>{let{newStandardizeValues:e,config:i,layerInfo:s,commonStrings:r}=o,n=T(1,i),t=k(i,s,r),l=L(i);if(i.standardizeValues=e,n===t||l){let a=k(i,s,r);O(i,1,a)}},xe=o=>{let e=d.xAxisAsc,i=o.orderOptions?.data?.orderType??u.Category,s=o.orderOptions?.data?.orderBy??x.Ascending;switch(i){case u.Category:e=Array.isArray(s)?d.customSort:s===x.Ascending?d.xAxisAsc:d.xAxisDesc;break;case u.Mean:e=s===x.Ascending?d.meanAsc:d.meanDesc;break;case u.Median:e=s===x.Ascending?d.medianAsc:d.medianDesc;break}return e},fo=(o,e,i)=>{let s=u.Category,r=x.Ascending;if(e.orderOptions=e.orderOptions??{},o===d.customSort&&i!==void 0)e.orderOptions.data={orderType:u.Category,orderBy:i};else{switch(o){case d.xAxisAsc:{s=u.Category,r=x.Ascending;break}case d.xAxisDesc:{s=u.Category,r=x.Descending;break}case d.meanAsc:{s=u.Mean,r=x.Ascending;break}case d.meanDesc:{s=u.Mean,r=x.Descending;break}case d.medianAsc:{s=u.Median,r=x.Ascending;break}case d.medianDesc:{s=u.Median,r=x.Descending;break}}e.orderOptions.data={orderType:s,orderBy:r}}},U=o=>o.showMean??!1,Ve=o=>{let{newShowMeanLines:e=!1,config:i,commonStrings:s,previousMeanLinesBoxColor:r}=o,n=e?r:Fe(i),t=(e??!1)!==(i.showMean??!1);if(i.showMean=e,t){let l;e?l=te(i.series)?qe(i.series,s):i.series:l=De(i.series),l&&(l=pe({formerSeries:i.series,newSeries:l,showMean:e}),i.series=l)}return e&&r!==void 0&&ve(r,i),{previousMeanLinesBoxColor:n}},go=o=>{let e=[],i=o.orderOptions?.data?.orderType;return xe(o)===d.customSort&&i===u.Category&&(e=o.orderOptions?.data?.orderBy),e},uo=(o,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;xe(e)===d.customSort&&i===u.Category&&(e.orderOptions.data={orderType:u.Category,orderBy:o})},So=async(o,e)=>{let i=B(o),s=R(o)?.type,r=fe(o),n=[];return s===f.CategoryAxisFormat&&(i===w?n=r:z(i)||(n=await me({layerInfo:e,config:o,category:i}))),n},z=o=>o.trim()===""||o===w,ze=(o,e)=>e.length>1&&!z(o),Ne=(o,e,i)=>!ze(o,e)&&i!=="";return{a:oo,b:io,c:so,d:Fe,e:ve,f:ro,g:Me,h:Be,i:no,j:lo,k:B,l:Ce,m:fe,n:to,o:Pe,p:k,q:be,r:ao,s:co,t:yo,u:mo,v:xe,w:fo,x:U,y:Ve,z:go,A:uo,B:So,C:ze,D:Ne}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b)
|
|
3
|
+
v4.34.0-next.158 */
|
|
4
|
+
import b from"./S4LLFCWX.js";import{h as C,n as te}from"./HVXHSUGW.js";import a from"./5NOQLTHL.js";import{d as $,f as E,i as Y,j as Z,q as ee}from"./JQYRS5R5.js";import{b as d}from"./IXEXC7ZG.js";import{a as f,h as x,v as u}from"./3L6Q6KL6.js";export default $arcgis.t(([,,,,,,,{substitute:P},{Ac:L,B:w,Fa:_,L:J,M:oe,N:ie,Qa:F,U:D,V:H,aa:se,ea:W,ib:A,mb:re,oc:le,qc:G,rc:K,yb:ne,z:j},{M:T,b:O,e:Q,g:R,h:ae,na:ye,q:ce,ra:me}])=>{var oo=(o,e)=>e?.series?.[o]?.name,io=(o,e,i)=>{let s=i;s?.series?.[e]!==void 0&&(s.series[e].name=o)},so=(o,e)=>{let i,s=e.series?.[o];return s?.type===f.BoxPlotSeries?i=s.fillSymbol?.color:s?.type===f.LineSeries&&(i=s.lineSymbol?.color),i},Fe=o=>{let e=o.series[0];return o.showMean===!0&&C(e)?e.fillSymbol?.color:void 0},ve=(o,e)=>{let i=e.series[0];e.showMean===!0&&C(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=o:i.fillSymbol={...D(),color:o})},ro=(o,e,i)=>{let s=i?.series?.[e];s?.type===f.BoxPlotSeries&&s.fillSymbol!==void 0?s.fillSymbol.color=o:s?.type===f.LineSeries&&s.lineSymbol!==void 0&&(s.lineSymbol.color=o,s.markerSymbol!==void 0&&(s.markerSymbol.color=o))},Me=o=>o.series.map(e=>e.id),Be=(o,e)=>{e?.series?.sort((i,s)=>o.findIndex(r=>i.id===r)-o.findIndex(r=>s.id===r))},no=(o,e,i)=>{let s=Me(i),[r]=s.splice(o,1);s.splice(e,0,r),Be(s,i)},lo=o=>U(o)?o.series.findIndex(e=>e.type===f.BoxPlotSeries):-1;function Ae(o,e,i){let s=be(o,e,i),r=ce(o),n=L(o);return s===r||n}function de(o,e,i){let s=k(o,e,i),r=T(1,o),n=L(o);return s===r||n}function Le(o){let{config:e,layerInfo:i,newCategory:s}=o,{layerFieldsInfo:r}=i,n=B(e),t=s!==w?F(r,n):"",l=T(0,e),a=L(e);return t===l||a||l.trim()===""}var B=o=>A(o)?.x??w,Ce=$(o=>{let e=A(o),i=e?.query?.where?.split("=")[0].trim()??"";return re(e?.query?.where)?"":i},o=>A(o)?.query?.where),fe=$(o=>ne(o?.series).filter(e=>e!==""),o=>o?.series),V=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={...W(r,i),x:e===void 0||e===""?w:e,y:s,query:{}};return E(n)},Oe=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={...se({commonStrings:r,seriesIndex:i}),x:e===void 0||e===""?w:e,y:s,query:{}};return E(n)};function ge(o){let{x:e,y:i,seriesTemplate:s,commonStrings:r}=o,{id:n,fillSymbol:t}=s??{},l=W(r),a=n??`series_${Date.now()}`;return l.id=a,l.name=a,l.x=e,l.y=i,t?l.fillSymbol=t:l.fillSymbol&&(l.fillSymbol.color=_,l.fillSymbol?.outline&&(l.fillSymbol.outline.color=_)),l}function ue(o){let{numericFields:e,config:i,layerInfo:s,category:r,commonStrings:n}=o,{layerFieldsInfo:t}=s,l=[],a=r??B(i),y=!1;if(e.length===0){let c=V({y:"",seriesIndex:0,category:a,commonStrings:n});l.push(c)}else if(a===w){let c=e.length>1?e:e[0],b=V({y:c,seriesIndex:0,category:a,commonStrings:n}),v=e.length>1?n.axisLabels.values:F(s.layerFieldsInfo,e[0]),g={...b,id:e[0],name:v,x:a},m=i.series.find(S=>Z(c,S.y)&&S.query?.where===void 0);m!==void 0&&(!i.colorMatch&&"fillSymbol"in m&&(g.fillSymbol=m.fillSymbol,y=!0),g.id=m.id,g.name=m.name),l.push(g)}else for(let c=0;c<e.length;c+=1){let b=e[c],v=V({y:b,seriesIndex:c,category:a,commonStrings:n}),g=F(t,b),m={...v,id:b,name:g,x:a},S=i.series.find(h=>b===h.y);S!==void 0&&(!i.colorMatch&&"fillSymbol"in S&&(m.fillSymbol=S.fillSymbol,y=!0),m.id=S.id,m.name=S.name),l.push(m)}return i.series.length===1&&l.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(l[0].fillSymbol=i.series[0].fillSymbol,y=!0),i.colorMatch=!y,l}var Se=o=>o?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",ke=o=>o.series.some(e=>e.type===f.LineSeries)&&o.series.some(e=>e.type===f.BoxPlotSeries);function qe(o,e,i){let s=[];return o.forEach(r=>{if(r.type===f.BoxPlotSeries){let{type:n,fillSymbol:t,...l}=r;s.push({...l,type:f.LineSeries,lineSymbol:{...J({width:j}),...t!==void 0?{color:t.color}:{}},markerSymbol:{...H(),...t!==void 0?{color:t.color}:{}}})}}),s.unshift(ge({x:o[0].x,y:o[0].y,seriesTemplate:i,commonStrings:e})),s}function De(o){let e=o.slice(1),i=[];return e.forEach(s=>{if(s.type===f.LineSeries){let{type:r,lineSymbol:n,markerSymbol:t,...l}=s,a=D();i.push({...l,type:f.BoxPlotSeries,fillSymbol:{...a,color:n?.color}})}}),i}function pe(o){let{formerSeries:e,newSeries:i,showMean:s}=o,r=i,n=a=>a.type===(s?f.LineSeries:f.BoxPlotSeries),t=e.filter(n).map(a=>a.id),l=i.filter(n).map(a=>a.id);return t.length===l.length&&JSON.stringify(t)!==JSON.stringify(l)&&(r=r.sort((a,y)=>t.findIndex(c=>c===a.id)-t.findIndex(c=>c===y.id))),r}async function Te(o){let{config:e,layerInfo:i,commonStrings:s,splitByField:r,numericFields:n,category:t}=o,{layer:l,layerFieldsInfo:a}=i,{fetchNullValues:y}=A(e)?.query??{},c=t??B(e),{categoriesArray:b,splitByFieldType:v}=await ye({config:e,layer:l,layerFieldsInfo:a,xAxisField:z(c)?void 0:c,aggregationFields:n,splitByField:r,fetchNullValues:y}),g=[],m=!1,S=ke(e);if(b.length===0){g=ue({numericFields:n,category:c,config:e,layerInfo:i,commonStrings:s});for(let h of g)h.query&&(h.query.where=`${r}=''`)}else for(let h=0;h<b.length;h+=1){let M=b[h],q={y:n,seriesIndex:h,category:c,commonStrings:s},X=S?Oe(q):V(q),he={fieldName:r,fieldValueToMatch:M??"",subtypeInfo:G(i.layer),fieldList:i.layerFieldsInfo},we=K(he),N=`${M}`,I={...X,id:N,name:we??N,x:c===void 0||c===""?w:c,query:{...X.query,where:`${r}=${v===ee.String&&M!==null?`'${M}'`:M}`}},p=e.series.find(Ie=>Se(Ie)===N);p!==void 0&&(e.colorMatch||(I.type===f.BoxPlotSeries?C(p)?I.fillSymbol=p.fillSymbol:I.fillSymbol={...D(),color:p.lineSymbol?.color}:C(p)?(I.lineSymbol={...J({width:j}),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}},I.markerSymbol={...H(),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}}):(I.lineSymbol=p.lineSymbol,I.markerSymbol=p.markerSymbol),m=!0),I.id=p.id,I.name=p.name),g.push(I)}if(g=pe({formerSeries:e.series,newSeries:g,showMean:U(e)}),e.colorMatch=!m,U(e)){let h=e.series.find(q=>q.type===f.BoxPlotSeries),M=ge({x:c,y:n,seriesTemplate:h,commonStrings:s});g.unshift(M)}return g}var to=async o=>{let{splitByField:e,numericFields:i,category:s,config:r,layerInfo:n,commonStrings:t}=o,{layerFieldsInfo:l}=n,a=Ne(s,i,e),y=le(l),c=B(r),b=Ae(r,n,t),v=de(r,n,t),g=Le({config:r,layerInfo:n,newCategory:s}),m=R(r);if(!y.includes(c)&&y.includes(s)?m=ie():y.includes(c)&&!y.includes(s)&&(m=oe()),m!==void 0&&ae(r,t,m),Ve(a?{newShowMeanLines:r.showMean,config:r,commonStrings:t}:{newShowMeanLines:!1,config:r,commonStrings:t}),r.series=a?await Te({config:r,layerInfo:n,splitByField:e,numericFields:i,category:s,commonStrings:t}):ue({numericFields:i,config:r,layerInfo:n,category:s,commonStrings:t}),g){let S=z(s)?"":F(l,s);O(r,0,S)}if(v){let S=k(r,n,t);O(r,1,S)}r?.title!==void 0&&b&&(r.title.content.text=be(r,n,t)),Q({config:r,value:null,axisIndex:1,isMax:!1}),Q({config:r,value:null,axisIndex:1,isMax:!0})},Pe=o=>o?.standardizeValues??!1;function k(o,e,i){let{layerFieldsInfo:s}=e,r=Pe(o)?i.axisLabels.standardizedValues:i.axisLabels.values,n=o?.series?.map(t=>t.y).flat();return n=[...new Set(n)],n.length===1&&(r=F(s,n[0])),r}function be(o,e,i){let{layerFieldsInfo:s}=e,r=B(o),n=fe(o),t=Ce(o),l=n.map(c=>F(s??[],c)).join(", "),a=F(s??[],r),y="";return n.length>0&&(r!==w&&t!==""?y=P(i.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:l,category:a,splitByField:t}):r!==w?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:a}):t!==""?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:t}):y=P(i.titleLabels.distributionOfField,{valueField:l})),y}var ao=o=>{let{series:e,splitByField:i,layerInfo:s,commonStrings:r}=o,n=typeof e.y=="string"?F(s.layerFieldsInfo,e.y):r.axisLabels.values;Y(i)||(n=Se(e));let t={fieldName:i,fieldValueToMatch:n??"",subtypeInfo:G(s.layer),fieldList:s.layerFieldsInfo};return n=K(t)??n,n??e.id},co=o=>o?.showOutliers??!1,yo=o=>{let{newShowOutliers:e,config:i,layerInfo:s,commonStrings:r}=o;if(i.showOutliers=e,de(i,s,r)){let n=k(i,s,r);O(i,1,n)}},mo=o=>{let{newStandardizeValues:e,config:i,layerInfo:s,commonStrings:r}=o,n=T(1,i),t=k(i,s,r),l=L(i);if(i.standardizeValues=e,n===t||l){let a=k(i,s,r);O(i,1,a)}},xe=o=>{let e=d.xAxisAsc,i=o.orderOptions?.data?.orderType??u.Category,s=o.orderOptions?.data?.orderBy??x.Ascending;switch(i){case u.Category:e=Array.isArray(s)?d.customSort:s===x.Ascending?d.xAxisAsc:d.xAxisDesc;break;case u.Mean:e=s===x.Ascending?d.meanAsc:d.meanDesc;break;case u.Median:e=s===x.Ascending?d.medianAsc:d.medianDesc;break}return e},fo=(o,e,i)=>{let s=u.Category,r=x.Ascending;if(e.orderOptions=e.orderOptions??{},o===d.customSort&&i!==void 0)e.orderOptions.data={orderType:u.Category,orderBy:i};else{switch(o){case d.xAxisAsc:{s=u.Category,r=x.Ascending;break}case d.xAxisDesc:{s=u.Category,r=x.Descending;break}case d.meanAsc:{s=u.Mean,r=x.Ascending;break}case d.meanDesc:{s=u.Mean,r=x.Descending;break}case d.medianAsc:{s=u.Median,r=x.Ascending;break}case d.medianDesc:{s=u.Median,r=x.Descending;break}}e.orderOptions.data={orderType:s,orderBy:r}}},U=o=>o.showMean??!1,Ve=o=>{let{newShowMeanLines:e=!1,config:i,commonStrings:s,previousMeanLinesBoxColor:r}=o,n=e?r:Fe(i),t=(e??!1)!==(i.showMean??!1);if(i.showMean=e,t){let l;e?l=te(i.series)?qe(i.series,s):i.series:l=De(i.series),l&&(l=pe({formerSeries:i.series,newSeries:l,showMean:e}),i.series=l)}return e&&r!==void 0&&ve(r,i),{previousMeanLinesBoxColor:n}},go=o=>{let e=[],i=o.orderOptions?.data?.orderType;return xe(o)===d.customSort&&i===u.Category&&(e=o.orderOptions?.data?.orderBy),e},uo=(o,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;xe(e)===d.customSort&&i===u.Category&&(e.orderOptions.data={orderType:u.Category,orderBy:o})},So=async(o,e)=>{let i=B(o),s=R(o)?.type,r=fe(o),n=[];return s===f.CategoryAxisFormat&&(i===w?n=r:z(i)||(n=await me({layerInfo:e,config:o,category:i}))),n},z=o=>o.trim()===""||o===w,ze=(o,e)=>e.length>1&&!z(o),Ne=(o,e,i)=>!ze(o,e)&&i!=="";return{a:oo,b:io,c:so,d:Fe,e:ve,f:ro,g:Me,h:Be,i:no,j:lo,k:B,l:Ce,m:fe,n:to,o:Pe,p:k,q:be,r:ao,s:co,t:yo,u:mo,v:xe,w:fo,x:U,y:Ve,z:go,A:uo,B:So,C:ze,D:Ne}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as t,b as r,c as n}from"./
|
|
3
|
+
v4.34.0-next.158 */
|
|
4
|
+
import{a as t,b as r,c as n}from"./RB5JJ2OC.js";import{j as i}from"./IXEXC7ZG.js";async function Y(s){let o="config"in s?r(s.config):s.chartType,e;if(!("layer"in s)&&!("iLayer"in s)&&"config"in s&&s.config.iLayer===void 0)throw new Error("The source is missing. You can provide it to createModel through either `iLayer`, `layer`, or by setting the `config.iLayer` property.");switch(o){case i.LineChart:{let{LineChartModel:a}=await import("./DCULJHKH.js").then(m=>m.default.then(e=>({LineChartModel:e})));e=new a;break}case i.ComboBarLineChart:{let{ComboBarLineChartModel:a}=await import("./C3L455RV.js").then(m=>m.default.then(e=>({ComboBarLineChartModel:e})));e=new a;break}case i.PieChart:{let{PieChartModel:a}=await import("./QF33ETYU.js").then(m=>m.default.then(e=>({PieChartModel:e})));e=new a;break}case i.Histogram:{let{HistogramModel:a}=await import("./SDEN5OCA.js").then(m=>m.default.then(e=>({HistogramModel:e})));e=new a;break}case i.Scatterplot:{let{ScatterplotModel:a}=await import("./3KGK3UTD.js").then(m=>m.default.then(e=>({ScatterplotModel:e})));e=new a;break}case i.BoxPlot:{let{BoxPlotModel:a}=await import("./2KIA5QUH.js").then(m=>m.default.then(e=>({BoxPlotModel:e})));e=new a;break}case i.Gauge:{let{GaugeModel:a}=await import("./BCOGK42U.js").then(m=>m.default.then(e=>({GaugeModel:e})));e=new a;break}case i.RadarChart:{let{RadarChartModel:a}=await import("./NXIOJBZ7.js").then(m=>m.default.then(e=>({RadarChartModel:e})));e=new a;break}case i.HeatChart:{let{HeatChartModel:a}=await import("./5IH6SONS.js").then(m=>m.default.then(e=>({HeatChartModel:e})));e=new a;break}case i.BarChart:default:{let{BarChartModel:a}=await import("./GAA6XVJN.js").then(m=>m.default.then(e=>({BarChartModel:e})));e=new a;break}}if(await e?.setup({layer:"layer"in s?s.layer:void 0,iLayer:"iLayer"in s?s.iLayer:void 0,config:"config"in s?s.config:void 0}),o!==void 0&&n(e,o))return e;{let a=t(e.chartType);throw new Error(`Please check the arguments provided to \`createModel\`. The generated model's type (\`${a}\`) does not match the type specified by either the \`chartType\` or the \`config\` argument (\`${o}\`).`)}}export{Y as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as p}from"./MHMQD6AM.js";import{a as I,b as w}from"./66ZOY6E4.js";import d from"./TNLN4IG4.js";import"./IFJLWRBP.js";import{a as m}from"./QDILZWDI.js";import b from"./R3C63OAM.js";import a from"./P6NTSYFQ.js";import{g as c}from"./CVWVJ3A6.js";import"./XLZVVJLI.js";import"./5DBXNRFX.js";import{a as l}from"./IVGLUBUX.js";import{A as o,D as v,F as C,g as f,h as n,w as h,x as r,y as N}from"./7ASELTOG.js";import"./HKEDP6T3.js";export default $arcgis.t(([,,{a:g,f:M,g:x,h:B,i:i}])=>{var d={linkContainer:"link-container",label:"label",mb2:"mb-2"},E=f`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}calcite-block{width:var(--arcgis-charts-config-calcite-block-width, var(--arcgis-charts-config-calcite-block-default-width));height:var(--arcgis-charts-config-calcite-block-height, var(--arcgis-charts-config-calcite-block-default-height));border:0px;-webkit-box-shadow:0 0 0 0;box-shadow:0 0}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor)}.label{display:flex;justify-content:space-between}.mb-2{margin-bottom:var(--arcgis-charts-config-margin-minor)}.link-container{display:flex;justify-content:flex-end;margin-top:-.75rem}`,b=class extends N{constructor(){super(...arguments),this._messages=m(),this.commonStrings=m({name:"common",blocking:!0}),this.axisModel=new p,this.minBoundInputElement=h(),this.maxBoundInputElement=h(),this.showLogScaleSwitch=h(),this.defaultMinBound=Number.NaN,this.defaultMaxBound=Number.NaN,this.onMaxBoundsChange=async()=>{let e=this.maxBoundInputElement.value?.value,t=this.maxBoundInputElement.value?.status;if(e!==void 0&&e!==""){let s=this.maxBoundInputElement.value?.min===void 0?this.axisModel.getMinBound():Math.max(this.maxBoundInputElement.value.min,this.axisModel.getMinBound()),a=Number.parseFloat(e);if(a!==this.axisModel.getMinBound()&&M(a,s,this.maxBoundInputElement.value?.max)){if(a!==this.axisModel.getMaxBound()){this.axisModel.setMaxBound(a);let u=this.getAxisBoundsFromStateStore();u&&(u.currMaxBound=a)}t=i.IDLE}else t=i.INVALID}else t=i.IDLE;this.maxBoundInputElement.value&&B({inputElement:this.maxBoundInputElement.value,status:t}),t!==i.INVALID&&this.minBoundInputElement.value?.status===i.INVALID&&await this.onMinBoundsChange(),this.requestUpdate()},this.onMaxBoundsChangeDebounced=c(this.onMaxBoundsChange,g.DebounceTimer),this.onMinBoundsChange=async()=>{let e=this.minBoundInputElement.value?.value,t=this.minBoundInputElement.value?.status;if(e!==void 0&&e!==""){let s=this.minBoundInputElement.value?.max===void 0?this.axisModel.getMaxBound():Math.min(this.minBoundInputElement.value.max,this.axisModel.getMaxBound()),a=Number.parseFloat(e);if(a!==this.axisModel.getMaxBound()&&M(a,this.minBoundInputElement.value?.min,s)){if(a!==this.axisModel.getMinBound()){this.axisModel.setMinBound(a);let u=this.getAxisBoundsFromStateStore();u&&(u.currMinBound=a)}t=i.IDLE}else t=i.INVALID}else t=i.IDLE;this.minBoundInputElement.value&&B({inputElement:this.minBoundInputElement.value,status:t}),t!==i.INVALID&&this.maxBoundInputElement.value?.status===i.INVALID&&await this.onMaxBoundsChange(),await this.updateEnableLogarithmic(this.axisModel.getLogarithmic()&&(this.dataMinValue??Number.NaN)>0),this.requestUpdate()},this.onMinBoundsChangeDebounced=c(this.onMinBoundsChange,g.DebounceTimer),this.onModelConfigChange=()=>{this.requestUpdate()},this.disableMaxBoundResetBtn=!0,this.disableMinBoundResetBtn=!0,this.isXAxis=!1,this.axisTitle=""}static{this.properties={disableMaxBoundResetBtn:16,disableMinBoundResetBtn:16,messageOverrides:0,model:0,isXAxis:5,axisTitle:1,maxBoundMaxLimit:9,maxBoundMinLimit:9,minBoundMinLimit:9,minBoundMaxLimit:9,showMaxBoundOption:5,showMinBoundOption:5,showEnableLogOption:5,dataMaxValue:9,dataMinValue:9,initialMaxBound:9,initialMinBound:9}}static{this.styles=E}load(){this.modelChange(this.model),this.dataMinValue!==void 0&&this.dataMinValueChange(this.dataMinValue,Number.NaN),this.dataMaxValue!==void 0&&this.dataMaxValueChange(this.dataMaxValue,Number.NaN)}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("dataMinValue")&&this.dataMinValueChange(this.dataMinValue??Number.NaN,e.get("dataMinValue")),e.has("dataMaxValue")&&this.dataMaxValueChange(this.dataMaxValue??Number.NaN,e.get("dataMaxValue")),e.has("initialMaxBound")&&this.initialMaxBoundChange(),e.has("initialMinBound")&&this.initialMinBoundChange()}updated(){this.disableResetButtons()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){this.axisModel=new p(this.model,this.isXAxis),t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}dataMinValueChange(e,t){Number.isNaN(t)&&!Number.isNaN(e)&&(this.defaultMinBound=e)}dataMaxValueChange(e,t){Number.isNaN(t)&&!Number.isNaN(e)&&(this.defaultMaxBound=e)}initialMaxBoundChange(){Number.isNaN(this.axisModel.getMaxBound())||this.axisModel.setMaxBound(this.axisModel.getMaxBound())}initialMinBoundChange(){Number.isNaN(this.axisModel.getMinBound())||this.axisModel.setMinBound(this.axisModel.getMinBound())}getAxisBoundsFromStateStore(){let e,t=I.chartAxesBoundDataMap,s=this.model.chartId;if(s){let a=w({chartId:s,isXAxis:this.isXAxis,isLogarithmic:this.axisModel.getLogarithmic()});e=t[s]?.[a]}return e}disableResetButtons(){let e=this.getAxisBoundsFromStateStore();e&&(this.disableMaxBoundResetBtn=e.defaultMaxBound===e.currMaxBound,this.disableMinBoundResetBtn=e.defaultMinBound===e.currMinBound)}async onShowLogScaleMouseEnter(){this.showLogScaleTooltip?.remove(),this.showLogScaleSwitch.value?.disabled&&(this.showLogScaleTooltip=v(n`<calcite-tooltip .referenceElement=${this.showLogScaleSwitch.value??document.body} open>${this.commonStrings.utilsStrings.tooltips?.logDisabled??""}</calcite-tooltip>`),document.body.appendChild(this.showLogScaleTooltip))}onShowLogScaleMouseLeave(){this.showLogScaleTooltip?.remove()}async onCategoryFormatChange(e){this.axisModel.setValueFormat(e.target.categoryFormat)}async updateEnableLogarithmic(e){e!==this.axisModel.getLogarithmic()&&(this.axisModel.setLogarithmic(e),this.requestUpdate())}async onNumberFormatChange(e){this.axisModel.setValueFormat({type:l.NumberAxisFormat,intlOptions:e.detail}),this.requestUpdate()}async onRevertMaxBoundsToDefault(){if(this.maxBoundInputElement.value?.status===i.INVALID||this.axisModel.getMaxBound()!==this.defaultMaxBound){let e=this.getAxisBoundsFromStateStore();this.axisModel.getMinBound()>this.defaultMaxBound&&this.axisModel.setMinBound(e?.defaultMinBound??Number.NaN),this.axisModel.setMaxBound(e?.defaultMaxBound??Number.NaN),this.requestUpdate()}}async onRevertMinBoundsToDefault(){(this.minBoundInputElement.value?.status===i.INVALID||this.axisModel.getMinBound()!==this.defaultMinBound)&&(this.axisModel.getMaxBound()<this.defaultMinBound&&this.axisModel.setMaxBound(Number.NaN),this.axisModel.setMinBound(Number.NaN),this.requestUpdate())}async enableLogScale(e){let{checked:t}=e.target;this.axisModel.setLogarithmic(t&&(this.dataMinValue??Number.NaN)>0),this.requestUpdate()}render(){return n`<div><calcite-block .hidden=${this.axisModel.getValueFormat()?.type===l.DateAxisFormat} open .heading=${this.axisTitle}>${this.renderAxis()}</calcite-block></div>`}renderAxis(){let e=null,t={...this.axisModel.getValueFormat()};switch(this.axisModel.getValueFormat()?.type){case l.CategoryAxisFormat:e=n`<arcgis-charts-config-category-format .categoryFormat=${t} @arcgisChartsConfigCategoryFormatChange=${this.onCategoryFormatChange}></arcgis-charts-config-category-format>`;break;case l.NumberAxisFormat:e=n`<div>${this.renderShowLogScale()}${this.renderMinBound()}${this.renderMaxBound()}<arcgis-charts-config-number-format .numberFormat=${{...t.intlOptions}} @arcgisChartsConfigNumberFormatChange=${this.onNumberFormatChange}></arcgis-charts-config-number-format></div>`;break;case l.DateAxisFormat:e=null;break}return e}renderMaxBound(){let e;if(!this.showMaxBoundOption)e=null;else{let t=x(this.axisModel.getMaxBound(),this.initialMaxBound);e=n`<div><calcite-label class=${o(d.label)}>${this._messages.maxBounds}<calcite-input type=number number-button-type=none .min=${this.maxBoundMinLimit??Number.MIN_SAFE_INTEGER} .max=${this.maxBoundMaxLimit??Number.MAX_SAFE_INTEGER} step=any .value=${t} @calciteInputInput=${this.onMaxBoundsChangeDebounced} ${r(this.maxBoundInputElement)}></calcite-input></calcite-label><div class=${o(d.linkContainer)}><calcite-button .disabled=${this.disableMaxBoundResetBtn} @click=${this.onRevertMaxBoundsToDefault} appearance=transparent icon-end=reset>${this._messages.revertToDefault}</calcite-button></div></div>`}return e}renderMinBound(){let e;if(!this.showMinBoundOption)e=null;else{let t=x(this.axisModel.getMinBound(),this.initialMinBound??void 0);e=n`<div><calcite-label class=${o(d.label)}>${this._messages.minBounds}<calcite-input type=number number-button-type=none .min=${this.minBoundMinLimit??Number.MIN_SAFE_INTEGER} .max=${this.minBoundMaxLimit??Number.MAX_SAFE_INTEGER} step=any .value=${t} @calciteInputInput=${this.onMinBoundsChangeDebounced} ${r(this.minBoundInputElement)}></calcite-input></calcite-label><div class=${o(d.linkContainer)}><calcite-button .disabled=${this.disableMinBoundResetBtn} appearance=transparent icon-end=reset @click=${this.onRevertMinBoundsToDefault}>${this._messages.revertToDefault}</calcite-button></div></div>`}return e}renderShowLogScale(){let e;return this.showEnableLogOption&&(e=n`<calcite-label layout=inline-space-between class=${o({[d.label]:!0,[d.mb2]:!0})}>${this._messages.logScale}<div @mouseenter=${this.onShowLogScaleMouseEnter} @mouseleave=${this.onShowLogScaleMouseLeave}><calcite-switch .checked=${this.axisModel.getLogarithmic()&&(this.dataMinValue??Number.NaN)>0} .disabled=${(this.dataMinValue??Number.NaN)<=0} @calciteSwitchChange=${this.enableLogScale} ${r(this.showLogScaleSwitch)}></calcite-switch></div></calcite-label>`),e}};C("arcgis-charts-config-axis",b);return b},a,b,d)
|
|
3
|
+
v4.34.0-next.158 */
|
|
4
|
+
import{a as p}from"./UNW3VHA4.js";import{a as I,b as w}from"./56RS6YJZ.js";import d from"./NIHOR6RV.js";import"./ANUYXMLR.js";import{a as m}from"./YJI2KNXM.js";import b from"./URSAOFCC.js";import a from"./5NOQLTHL.js";import{g as c}from"./JQYRS5R5.js";import"./D6GU4VCG.js";import"./IXEXC7ZG.js";import{a as l}from"./3L6Q6KL6.js";import{A as o,D as v,F as C,g as f,h as n,w as h,x as r,y as N}from"./XC6EYY2E.js";import"./GGZ7K2EK.js";export default $arcgis.t(([,,{a:g,f:M,g:x,h:B,i:i}])=>{var d={linkContainer:"link-container",label:"label",mb2:"mb-2"},E=f`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}calcite-block{width:var(--arcgis-charts-config-calcite-block-width, var(--arcgis-charts-config-calcite-block-default-width));height:var(--arcgis-charts-config-calcite-block-height, var(--arcgis-charts-config-calcite-block-default-height));border:0px;-webkit-box-shadow:0 0 0 0;box-shadow:0 0}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor)}.label{display:flex;justify-content:space-between}.mb-2{margin-bottom:var(--arcgis-charts-config-margin-minor)}.link-container{display:flex;justify-content:flex-end;margin-top:-.75rem}`,b=class extends N{constructor(){super(...arguments),this._messages=m(),this.commonStrings=m({name:"common",blocking:!0}),this.axisModel=new p,this.minBoundInputElement=h(),this.maxBoundInputElement=h(),this.showLogScaleSwitch=h(),this.defaultMinBound=Number.NaN,this.defaultMaxBound=Number.NaN,this.onMaxBoundsChange=async()=>{let e=this.maxBoundInputElement.value?.value,t=this.maxBoundInputElement.value?.status;if(e!==void 0&&e!==""){let s=this.maxBoundInputElement.value?.min===void 0?this.axisModel.getMinBound():Math.max(this.maxBoundInputElement.value.min,this.axisModel.getMinBound()),a=Number.parseFloat(e);if(a!==this.axisModel.getMinBound()&&M(a,s,this.maxBoundInputElement.value?.max)){if(a!==this.axisModel.getMaxBound()){this.axisModel.setMaxBound(a);let u=this.getAxisBoundsFromStateStore();u&&(u.currMaxBound=a)}t=i.IDLE}else t=i.INVALID}else t=i.IDLE;this.maxBoundInputElement.value&&B({inputElement:this.maxBoundInputElement.value,status:t}),t!==i.INVALID&&this.minBoundInputElement.value?.status===i.INVALID&&await this.onMinBoundsChange(),this.requestUpdate()},this.onMaxBoundsChangeDebounced=c(this.onMaxBoundsChange,g.DebounceTimer),this.onMinBoundsChange=async()=>{let e=this.minBoundInputElement.value?.value,t=this.minBoundInputElement.value?.status;if(e!==void 0&&e!==""){let s=this.minBoundInputElement.value?.max===void 0?this.axisModel.getMaxBound():Math.min(this.minBoundInputElement.value.max,this.axisModel.getMaxBound()),a=Number.parseFloat(e);if(a!==this.axisModel.getMaxBound()&&M(a,this.minBoundInputElement.value?.min,s)){if(a!==this.axisModel.getMinBound()){this.axisModel.setMinBound(a);let u=this.getAxisBoundsFromStateStore();u&&(u.currMinBound=a)}t=i.IDLE}else t=i.INVALID}else t=i.IDLE;this.minBoundInputElement.value&&B({inputElement:this.minBoundInputElement.value,status:t}),t!==i.INVALID&&this.maxBoundInputElement.value?.status===i.INVALID&&await this.onMaxBoundsChange(),await this.updateEnableLogarithmic(this.axisModel.getLogarithmic()&&(this.dataMinValue??Number.NaN)>0),this.requestUpdate()},this.onMinBoundsChangeDebounced=c(this.onMinBoundsChange,g.DebounceTimer),this.onModelConfigChange=()=>{this.requestUpdate()},this.disableMaxBoundResetBtn=!0,this.disableMinBoundResetBtn=!0,this.isXAxis=!1,this.axisTitle=""}static{this.properties={disableMaxBoundResetBtn:16,disableMinBoundResetBtn:16,messageOverrides:0,model:0,isXAxis:5,axisTitle:1,maxBoundMaxLimit:9,maxBoundMinLimit:9,minBoundMinLimit:9,minBoundMaxLimit:9,showMaxBoundOption:5,showMinBoundOption:5,showEnableLogOption:5,dataMaxValue:9,dataMinValue:9,initialMaxBound:9,initialMinBound:9}}static{this.styles=E}load(){this.modelChange(this.model),this.dataMinValue!==void 0&&this.dataMinValueChange(this.dataMinValue,Number.NaN),this.dataMaxValue!==void 0&&this.dataMaxValueChange(this.dataMaxValue,Number.NaN)}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("dataMinValue")&&this.dataMinValueChange(this.dataMinValue??Number.NaN,e.get("dataMinValue")),e.has("dataMaxValue")&&this.dataMaxValueChange(this.dataMaxValue??Number.NaN,e.get("dataMaxValue")),e.has("initialMaxBound")&&this.initialMaxBoundChange(),e.has("initialMinBound")&&this.initialMinBoundChange()}updated(){this.disableResetButtons()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){this.axisModel=new p(this.model,this.isXAxis),t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}dataMinValueChange(e,t){Number.isNaN(t)&&!Number.isNaN(e)&&(this.defaultMinBound=e)}dataMaxValueChange(e,t){Number.isNaN(t)&&!Number.isNaN(e)&&(this.defaultMaxBound=e)}initialMaxBoundChange(){Number.isNaN(this.axisModel.getMaxBound())||this.axisModel.setMaxBound(this.axisModel.getMaxBound())}initialMinBoundChange(){Number.isNaN(this.axisModel.getMinBound())||this.axisModel.setMinBound(this.axisModel.getMinBound())}getAxisBoundsFromStateStore(){let e,t=I.chartAxesBoundDataMap,s=this.model.chartId;if(s){let a=w({chartId:s,isXAxis:this.isXAxis,isLogarithmic:this.axisModel.getLogarithmic()});e=t[s]?.[a]}return e}disableResetButtons(){let e=this.getAxisBoundsFromStateStore();e&&(this.disableMaxBoundResetBtn=e.defaultMaxBound===e.currMaxBound,this.disableMinBoundResetBtn=e.defaultMinBound===e.currMinBound)}async onShowLogScaleMouseEnter(){this.showLogScaleTooltip?.remove(),this.showLogScaleSwitch.value?.disabled&&(this.showLogScaleTooltip=v(n`<calcite-tooltip .referenceElement=${this.showLogScaleSwitch.value??document.body} open>${this.commonStrings.utilsStrings.tooltips?.logDisabled??""}</calcite-tooltip>`),document.body.appendChild(this.showLogScaleTooltip))}onShowLogScaleMouseLeave(){this.showLogScaleTooltip?.remove()}async onCategoryFormatChange(e){this.axisModel.setValueFormat(e.target.categoryFormat)}async updateEnableLogarithmic(e){e!==this.axisModel.getLogarithmic()&&(this.axisModel.setLogarithmic(e),this.requestUpdate())}async onNumberFormatChange(e){this.axisModel.setValueFormat({type:l.NumberAxisFormat,intlOptions:e.detail}),this.requestUpdate()}async onRevertMaxBoundsToDefault(){if(this.maxBoundInputElement.value?.status===i.INVALID||this.axisModel.getMaxBound()!==this.defaultMaxBound){let e=this.getAxisBoundsFromStateStore();this.axisModel.getMinBound()>this.defaultMaxBound&&this.axisModel.setMinBound(e?.defaultMinBound??Number.NaN),this.axisModel.setMaxBound(e?.defaultMaxBound??Number.NaN),this.requestUpdate()}}async onRevertMinBoundsToDefault(){(this.minBoundInputElement.value?.status===i.INVALID||this.axisModel.getMinBound()!==this.defaultMinBound)&&(this.axisModel.getMaxBound()<this.defaultMinBound&&this.axisModel.setMaxBound(Number.NaN),this.axisModel.setMinBound(Number.NaN),this.requestUpdate())}async enableLogScale(e){let{checked:t}=e.target;this.axisModel.setLogarithmic(t&&(this.dataMinValue??Number.NaN)>0),this.requestUpdate()}render(){return n`<div><calcite-block .hidden=${this.axisModel.getValueFormat()?.type===l.DateAxisFormat} open .heading=${this.axisTitle}>${this.renderAxis()}</calcite-block></div>`}renderAxis(){let e=null,t={...this.axisModel.getValueFormat()};switch(this.axisModel.getValueFormat()?.type){case l.CategoryAxisFormat:e=n`<arcgis-charts-config-category-format .categoryFormat=${t} @arcgisChartsConfigCategoryFormatChange=${this.onCategoryFormatChange}></arcgis-charts-config-category-format>`;break;case l.NumberAxisFormat:e=n`<div>${this.renderShowLogScale()}${this.renderMinBound()}${this.renderMaxBound()}<arcgis-charts-config-number-format .numberFormat=${{...t.intlOptions}} @arcgisChartsConfigNumberFormatChange=${this.onNumberFormatChange}></arcgis-charts-config-number-format></div>`;break;case l.DateAxisFormat:e=null;break}return e}renderMaxBound(){let e;if(!this.showMaxBoundOption)e=null;else{let t=x(this.axisModel.getMaxBound(),this.initialMaxBound);e=n`<div><calcite-label class=${o(d.label)}>${this._messages.maxBounds}<calcite-input type=number number-button-type=none .min=${this.maxBoundMinLimit??Number.MIN_SAFE_INTEGER} .max=${this.maxBoundMaxLimit??Number.MAX_SAFE_INTEGER} step=any .value=${t} @calciteInputInput=${this.onMaxBoundsChangeDebounced} ${r(this.maxBoundInputElement)}></calcite-input></calcite-label><div class=${o(d.linkContainer)}><calcite-button .disabled=${this.disableMaxBoundResetBtn} @click=${this.onRevertMaxBoundsToDefault} appearance=transparent icon-end=reset>${this._messages.revertToDefault}</calcite-button></div></div>`}return e}renderMinBound(){let e;if(!this.showMinBoundOption)e=null;else{let t=x(this.axisModel.getMinBound(),this.initialMinBound??void 0);e=n`<div><calcite-label class=${o(d.label)}>${this._messages.minBounds}<calcite-input type=number number-button-type=none .min=${this.minBoundMinLimit??Number.MIN_SAFE_INTEGER} .max=${this.minBoundMaxLimit??Number.MAX_SAFE_INTEGER} step=any .value=${t} @calciteInputInput=${this.onMinBoundsChangeDebounced} ${r(this.minBoundInputElement)}></calcite-input></calcite-label><div class=${o(d.linkContainer)}><calcite-button .disabled=${this.disableMinBoundResetBtn} appearance=transparent icon-end=reset @click=${this.onRevertMinBoundsToDefault}>${this._messages.revertToDefault}</calcite-button></div></div>`}return e}renderShowLogScale(){let e;return this.showEnableLogOption&&(e=n`<calcite-label layout=inline-space-between class=${o({[d.label]:!0,[d.mb2]:!0})}>${this._messages.logScale}<div @mouseenter=${this.onShowLogScaleMouseEnter} @mouseleave=${this.onShowLogScaleMouseLeave}><calcite-switch .checked=${this.axisModel.getLogarithmic()&&(this.dataMinValue??Number.NaN)>0} .disabled=${(this.dataMinValue??Number.NaN)<=0} @calciteSwitchChange=${this.enableLogScale} ${r(this.showLogScaleSwitch)}></calcite-switch></div></calcite-label>`),e}};C("arcgis-charts-config-axis",b);return b},a,b,d)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
3
|
+
v4.34.0-next.158 */
|
|
4
4
|
var e="customSort",s={xAxisAsc:"xAxisAsc",xAxisDesc:"xAxisDesc",yAxisAsc:"yAxisAsc",yAxisDesc:"yAxisDesc",customSort:e},a={xAxisAsc:"xAxisAsc",xAxisDesc:"xAxisDesc",meanAsc:"meanAsc",meanDesc:"meanDesc",medianAsc:"medianAsc",medianDesc:"medianDesc",customSort:e},i={labelAsc:"labelAsc",labelDesc:"labelDesc",valueAsc:"valueAsc",valueDesc:"valueDesc",customSort:e},t={Category:"category",Fields:"fields"},l={Category:"category",Value:"value",Percentage:"percentage",Both:"both"},r={TextElements:"textElements",XAxisTitle:"xAxisTitle",YAxisTitle:"yAxisTitle",AxisLabels:"axisLabels",GuideLabels:"guideLabels",Title:"title",LegendText:"legendText",LegendTitle:"legendTitle",Description:"description",DataLabels:"dataLabels",Background:"background",LeaderLines:"leaderLines",AxisLines:"axisLines",GridLines:"gridLines"},c={AxisLines:"axisLines",GridLines:"gridLines",LeaderLines:"leaderLines"};var x={Background:"background"},n={X:"x",Y:"y"},A={BarChart:"barChart",LineChart:"lineChart",ComboBarLineChart:"comboBarLineChart",BoxPlot:"boxPlot",PieChart:"pieChart",Scatterplot:"scatterplot",Histogram:"histogram",Gauge:"gauge",RadarChart:"radarChart",HeatChart:"heatChart"};export{s as a,a as b,i as c,t as d,l as e,r as f,c as g,x as h,n as i,A as j};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v4.34.0-next.158 */
|
|
4
|
+
import b from"./6UWUO2EN.js";import a from"./5NOQLTHL.js";import{f as g}from"./JQYRS5R5.js";import{e as c}from"./3L6Q6KL6.js";export default $arcgis.t(([,,,,,,,{I:n,K:l,R:o,q:s},{a:r}])=>{var m=t=>t.colorMatch??!0,p=(t,e)=>{e.colorMatch=t},h=class extends r{get colorMatch(){return m(this._config)}set colorMatch(e){this.guardSetterFromAsyncOverwrite(()=>{p(e,this._config),this.emitConfigUpdate("colorMatch")})}},y=t=>{let e=!1;return t.legend!==void 0&&(e=t.legend.visible??!0),e},T=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.visible=t},u=t=>t.legend?.title?.content,x=(t,e)=>{e.legend===void 0&&(e.legend=o()),(e.legend.title===void 0||t===void 0)&&(e.legend.title=l({text:"",visible:!0,font:n(s.LegendTitle),type:s.LegendTitle})),t!==void 0&&(e.legend.title.content=t)},L=t=>t.legend?.body,_=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.body=t??l({text:"",visible:!0,font:n(s.LegendText),type:s.LegendText}).content},a=t=>t.legend?.title?.content.text??"",S=(t,e)=>{if(e.legend?.title!==void 0)e.legend.title.content.text=t;else if(e.legend===void 0&&t!==void 0){let i=o();i.title!==void 0&&(i.title.content.text=t,i.title.visible=!0,e.legend=i)}},C=t=>t.legend?.title?.visible??!1,V=(t,e)=>{if(e.legend?.title!==void 0)e.legend.title.visible=t;else if(e.legend!==void 0&&e.legend?.title===void 0&&t)e.legend.title=l({text:a(e),visible:t,font:n(s.LegendTitle),type:s.LegendTitle});else if(e.legend===void 0){let i=o();i.title=l({text:a(e),visible:t,font:n(s.LegendTitle),type:s.LegendTitle}),e.legend=i}},M=t=>t.legend?.position??c.Right,w=(t,e)=>{if(e.legend!==void 0)e.legend.position=t;else if(e.legend===void 0){let i=o();i.position=t,e.legend=i}},A=t=>t.legend?.roundMarkers??!1,F=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.roundMarkers=t},O=t=>t.legend?.maxHeight??void 0,U=(t,e)=>{e.legend===void 0&&(e.legend=o()),e.legend.maxHeight=t},f=class extends r{get legendVisibility(){return y(this._config)}set legendVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{T(e,this._config),this.emitConfigUpdate("legendVisibility")})}get legendTitleText(){return a(this._config)}set legendTitleText(e){this.guardSetterFromAsyncOverwrite(()=>{S(e,this._config),this.emitConfigUpdate("legendTitleText")})}get legendTitleVisibility(){return C(this._config)}set legendTitleVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{V(e,this._config),this.emitConfigUpdate("legendTitleVisibility")})}get legendPosition(){return M(this._config)}set legendPosition(e){this.guardSetterFromAsyncOverwrite(()=>{w(e,this._config),this.emitConfigUpdate("legendPosition")})}get legendTitleSymbol(){return u(this._config)}set legendTitleSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{x(e,this._config),this.emitConfigUpdate("legendTitleSymbol")})}get legendTextSymbol(){return L(this._config)}set legendTextSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{_(e,this._config),this.emitConfigUpdate("legendTextSymbol")})}get legendMaxHeight(){return O(this._config)}set legendMaxHeight(e){e!==void 0&&this.guardSetterFromAsyncOverwrite(()=>{U(e,this._config),this.emitConfigUpdate("legendMaxHeight")})}get legendRoundMarker(){return A(this._config)}set legendRoundMarker(e){this.guardSetterFromAsyncOverwrite(()=>{F(e,this._config),this.emitConfigUpdate("legendRoundMarker")})}},D=(t,e)=>t.series?.[e??0]?.dataTooltipVisible??!0,R=(t,e,i)=>{i&&t.series?.[i]?t.series[i].dataTooltipVisible=e:t.series&&t.series.forEach(d=>{d.dataTooltipVisible=e})},k=(t,e)=>t.series?.[e??0]?.dataTooltipReverseColor??!1,H=(t,e,i)=>{i&&t.series?.[i]?t.series[i].dataTooltipReverseColor=e:t.series&&t.series.forEach(d=>{d.dataTooltipReverseColor=e})},b=class extends r{getDataTooltipVisibility(e){return D(this._config,e)}setDataTooltipVisibility(e,i){this.guardSetterFromAsyncOverwrite(()=>{R(this._config,e,i),this.emitConfigUpdate("setDataTooltipVisibility")})}getDataTooltipReverseColor(e){return k(this._config,e)}setDataTooltipReverseColor(e,i){this.guardSetterFromAsyncOverwrite(()=>{H(this._config,e,i),this.emitConfigUpdate("setDataTooltipReverseColor")})}},E=t=>t.series[0]?.dataLabels?.visible??!1,P=(t,e)=>{e.series.forEach(i=>{i.dataLabels!==void 0?i.dataLabels.visible=t:i.dataLabels=l({text:"",visible:t,font:n(s.DataLabels),type:s.DataLabels})})},j=t=>{for(let e of t.series)if(e.dataLabels!==void 0)return e.dataLabels.content},q=(t,e)=>{for(let i of e.series)(i.dataLabels===void 0||t===void 0)&&(i.dataLabels=l({text:"",visible:!0,font:n(s.DataLabels),type:s.DataLabels})),t!==void 0&&(i.dataLabels.content=g(t))},v=class extends r{get dataLabelsVisibility(){return E(this._config)}set dataLabelsVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{P(e,this._config),this.emitConfigUpdate("dataLabelsVisibility")})}get dataLabelsSymbol(){return j(this._config)}set dataLabelsSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{q(e,this._config),this.emitConfigUpdate("dataLabelsSymbol")})}};return{a:h,b:f,c:b,d:v}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,b)
|