@arcgis/charts-components 5.0.0-next.4 → 5.0.0-next.41
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/2DWG5F7P.js +4 -0
- package/dist/cdn/{6OOD4LGL.js → 2NCFS5ZN.js} +2 -2
- package/dist/cdn/2NJCAPMH.js +4 -0
- package/dist/cdn/{IRZKAIIT.js → 2XFEFQKQ.js} +2 -2
- package/dist/cdn/33EHRBHE.js +4 -0
- package/dist/cdn/{QTKLPYRG.js → 35FIE3ZA.js} +2 -2
- package/dist/cdn/{AISJHTWW.js → 3I2FRHRE.js} +2 -2
- package/dist/cdn/3LRW6N7X.js +4 -0
- package/dist/cdn/3VO3FB5K.js +4 -0
- package/dist/cdn/44FUKRXB.js +4 -0
- package/dist/cdn/4HOXIBQ7.js +4 -0
- package/dist/cdn/4JW2DAGO.js +4 -0
- package/dist/cdn/4Z3FVTXX.js +4 -0
- package/dist/cdn/4ZK4IFBK.js +4 -0
- package/dist/cdn/4ZTQ3GJN.js +4 -0
- package/dist/cdn/56B3WXPT.js +4 -0
- package/dist/cdn/{JFSAPOGV.js → 5FRQWVHW.js} +2 -2
- package/dist/cdn/5K4P5FF5.js +4 -0
- package/dist/cdn/5TF3MXYM.js +4 -0
- package/dist/cdn/{4HN3TSXU.js → 5VDGROMO.js} +2 -2
- package/dist/cdn/5ZDORFC4.js +4 -0
- package/dist/cdn/65N2B6VE.js +4 -0
- package/dist/cdn/{YDAIHWZS.js → 6GFXDSYI.js} +2 -2
- package/dist/cdn/6HNO5F3T.js +4 -0
- package/dist/cdn/{G2YNALPI.js → 6IUHMHFW.js} +2 -2
- package/dist/cdn/{EYJ7E6M7.js → 6LVFNC6B.js} +2 -2
- package/dist/cdn/6MD7JHRH.js +4 -0
- package/dist/cdn/6QGNPX4U.js +4 -0
- package/dist/cdn/6TBJX27P.js +4 -0
- package/dist/cdn/6WWTY4I2.js +4 -0
- package/dist/cdn/6ZEHRGF3.js +58 -0
- package/dist/cdn/{RH5OUTAK.js → 73W26EEK.js} +2 -2
- package/dist/cdn/73ZVWIZK.js +4 -0
- package/dist/cdn/{QJARG3WZ.js → 75WQFN3N.js} +2 -2
- package/dist/cdn/7E5UC22R.js +4 -0
- package/dist/cdn/{JI4UNOYW.js → 7FSXM4QJ.js} +2 -2
- package/dist/cdn/{WTLGREJQ.js → 7IE6GICS.js} +2 -2
- package/dist/cdn/7K5YUJRY.js +4 -0
- package/dist/cdn/{B4OGLXF4.js → 7MFFL5MF.js} +2 -2
- package/dist/cdn/7MV4RWYI.js +4 -0
- package/dist/cdn/{GWMAIDFR.js → 7OSG3ZVC.js} +2 -2
- package/dist/cdn/{Y3L2K7EC.js → 7QYRKF3J.js} +2 -2
- package/dist/cdn/{DWBQZV5P.js → 7QZ27WVK.js} +2 -2
- package/dist/cdn/AJTK66CY.js +4 -0
- package/dist/cdn/{4MH6EDOJ.js → AQ7Y35MR.js} +2 -2
- package/dist/cdn/ASKXQFDV.js +6 -0
- package/dist/cdn/{6Y2WTGYS.js → AZ34HLMK.js} +1 -1
- package/dist/cdn/{X36VPED7.js → B2YZY55Z.js} +2 -2
- package/dist/cdn/BD3AJJ6H.js +4 -0
- package/dist/cdn/BDMBE5K2.js +4 -0
- package/dist/cdn/BOBGZQQ7.js +4 -0
- package/dist/cdn/BPKDFRF7.js +42 -0
- package/dist/cdn/{B6YQ4QEG.js → BPQSRV7P.js} +2 -2
- package/dist/cdn/BRE7XB7D.js +4 -0
- package/dist/cdn/CCJM3DSD.js +4 -0
- package/dist/cdn/CQOLPMPI.js +4 -0
- package/dist/cdn/{I37V2JO3.js → CZKXRUDD.js} +2 -2
- package/dist/cdn/{4Y76B53C.js → CZU6FIXV.js} +1 -1
- package/dist/cdn/D7DLBDTJ.js +4 -0
- package/dist/cdn/{ENFYCO6Y.js → DBMRQCOW.js} +2 -2
- package/dist/cdn/DCI2UGKH.js +4 -0
- package/dist/cdn/{42JULKHJ.js → DDY722Y3.js} +2 -2
- package/dist/cdn/DEALJAMC.js +4 -0
- package/dist/cdn/DGZCL3VC.js +4 -0
- package/dist/cdn/DLNTXUAG.js +4 -0
- package/dist/cdn/{R42W4J6D.js → DO5KFXTU.js} +2 -2
- package/dist/cdn/{FQBAURSX.js → E3ROT73N.js} +2 -2
- package/dist/cdn/EB223YOT.js +4 -0
- package/dist/cdn/EMCVTVV2.js +4 -0
- package/dist/cdn/{O46V6LSJ.js → EOR7U3GM.js} +2 -2
- package/dist/cdn/EPYQSE3E.js +4 -0
- package/dist/cdn/{UJIV2GMU.js → ESPPAZSC.js} +2 -2
- package/dist/cdn/EUNHUD4T.js +4 -0
- package/dist/cdn/EWEOCSGF.js +4 -0
- package/dist/cdn/{BX2R4UF4.js → FBL3GCBZ.js} +2 -2
- package/dist/cdn/FE4TGIGQ.js +4 -0
- package/dist/cdn/FOTHNKVL.js +4 -0
- package/dist/cdn/GGLUK743.js +4 -0
- package/dist/cdn/{L7Q66XTZ.js → GNLQASHI.js} +2 -2
- package/dist/cdn/GUNE3WAD.js +4 -0
- package/dist/cdn/HBQL2EMD.js +4 -0
- package/dist/cdn/{SS2WV4YY.js → HKGMOLRD.js} +2 -2
- package/dist/cdn/{GSQPRROD.js → HOVVFC6L.js} +1 -1
- package/dist/cdn/{XUDQTQ2B.js → HUFUYBXQ.js} +2 -2
- package/dist/cdn/IE2CSYBS.js +4 -0
- package/dist/cdn/IFR6ALG3.js +4 -0
- package/dist/cdn/{VZFHCTN6.js → ITSZ4YD4.js} +2 -2
- package/dist/cdn/{KLVSGHXQ.js → ITUN2QII.js} +1 -1
- package/dist/cdn/JGROWYBR.js +4 -0
- package/dist/cdn/JXQSYJVI.js +4 -0
- package/dist/cdn/K7F4PSI5.js +4 -0
- package/dist/cdn/KM6SKHS4.js +4 -0
- package/dist/cdn/KQQ5VAE6.js +4 -0
- package/dist/cdn/KSCQFK6O.js +4 -0
- package/dist/cdn/{6RITOQRE.js → KUPA4NYH.js} +2 -2
- package/dist/cdn/KX7LDT5U.js +4 -0
- package/dist/cdn/KYDE5BGL.js +4 -0
- package/dist/cdn/LF7AMLBG.js +4 -0
- package/dist/cdn/LI2AXX7D.js +4 -0
- package/dist/cdn/{VHG2HOUR.js → LJ5H3EO5.js} +1 -1
- package/dist/cdn/LQGZWMRT.js +4 -0
- package/dist/cdn/LTSZFIWS.js +4 -0
- package/dist/cdn/{7TE6OUWS.js → M54E6TIX.js} +2 -2
- package/dist/cdn/MBLT3A4I.js +4 -0
- package/dist/cdn/MCKPYCTD.js +4 -0
- package/dist/cdn/MCV3E2I2.js +4 -0
- package/dist/cdn/MGMDX2EP.js +4 -0
- package/dist/cdn/MNKDT6BW.js +4 -0
- package/dist/cdn/{ZEDBVEQU.js → MON3GOYU.js} +2 -2
- package/dist/cdn/MONZXQFL.js +4 -0
- package/dist/cdn/{DH6JYYIL.js → MRWATTMH.js} +2 -2
- package/dist/cdn/MSBQUANQ.js +4 -0
- package/dist/cdn/{S4T5AQ4M.js → MUYWWUUH.js} +2 -2
- package/dist/cdn/MX5QEBH7.js +4 -0
- package/dist/cdn/{YBCMFT4P.js → N2WUJDMX.js} +2 -2
- package/dist/cdn/{BPIKEEVZ.js → N5V6KSCF.js} +1 -1
- package/dist/cdn/N6GCNUV6.js +4 -0
- package/dist/cdn/NDVKLOWQ.js +4 -0
- package/dist/cdn/{J6LD6RWO.js → NTEKAWBR.js} +2 -2
- package/dist/cdn/NUHER3TV.js +4 -0
- package/dist/cdn/O7A3JPG3.js +4 -0
- package/dist/cdn/OBKNESYE.js +4 -0
- package/dist/cdn/OC27INJI.js +4 -0
- package/dist/cdn/{DVQHHAGO.js → OEGM43I2.js} +2 -2
- package/dist/cdn/OMLXUVQV.js +4 -0
- package/dist/cdn/{3MBGYMFR.js → OPET2ZL3.js} +2 -2
- package/dist/cdn/{VE4GUPP2.js → ORQTLQWG.js} +2 -2
- package/dist/cdn/{JAT727M4.js → P2KYKGKC.js} +2 -2
- package/dist/cdn/PSC2QJ6V.js +4 -0
- package/dist/cdn/PZTCT3O6.js +4 -0
- package/dist/cdn/{MCECYQEL.js → Q7J4XVHV.js} +1 -1
- package/dist/cdn/QJOY6R6C.js +4 -0
- package/dist/cdn/QJZ5HSKO.js +4 -0
- package/dist/cdn/{XV3PGOV6.js → QOC5F655.js} +2 -2
- package/dist/cdn/{I5BOKXFX.js → QPYCZS2J.js} +2 -2
- package/dist/cdn/QPYJ2BQR.js +4 -0
- package/dist/cdn/{4EAY23CO.js → QXJGNOKP.js} +2 -2
- package/dist/cdn/{S7PVBK5H.js → RACOQRIM.js} +2 -2
- package/dist/cdn/RBFJQGQW.js +4 -0
- package/dist/cdn/RKJ2VOJT.js +4 -0
- package/dist/cdn/ROSZCBTB.js +4 -0
- package/dist/cdn/SDSLJEJ3.js +4 -0
- package/dist/cdn/SDZKVQF4.js +4 -0
- package/dist/cdn/{5VHSBJY5.js → SLQYOCWK.js} +2 -2
- package/dist/cdn/SLWEYPSF.js +4 -0
- package/dist/cdn/{4LXKAKH2.js → SRUPTSGZ.js} +2 -2
- package/dist/cdn/SWMCPMFU.js +4 -0
- package/dist/cdn/SYMM6Y5F.js +4 -0
- package/dist/cdn/TFAT2LHV.js +4 -0
- package/dist/cdn/THCEHAJB.js +4 -0
- package/dist/cdn/TSSW2P5M.js +4 -0
- package/dist/cdn/U3KXGGKE.js +4 -0
- package/dist/cdn/UEZW2QWD.js +4 -0
- package/dist/cdn/UT6CHOS4.js +4 -0
- package/dist/cdn/VG5CREWQ.js +4 -0
- package/dist/cdn/{DQK7BSUW.js → VZJEGMXW.js} +2 -2
- package/dist/cdn/{CJ275XU4.js → W6HTSCIB.js} +2 -2
- package/dist/cdn/WA3GMUXR.js +4 -0
- package/dist/cdn/{XGDUULNK.js → WALBJMWU.js} +2 -2
- package/dist/cdn/{EEA6D5WP.js → WDZPULCA.js} +2 -2
- package/dist/cdn/{7JODQO5M.js → WNALF6OP.js} +2 -2
- package/dist/cdn/{ETWNVAK6.js → WZG3AOTR.js} +2 -2
- package/dist/cdn/{RQWOQMQU.js → XAKIME6A.js} +2 -2
- package/dist/cdn/{JYOVFITP.js → XJDELVYY.js} +2 -2
- package/dist/cdn/XLEFOCQT.js +4 -0
- package/dist/cdn/{J4MDZ7ET.js → XP4SMLNF.js} +2 -2
- package/dist/cdn/{J5NQV6XX.js → XR4OO6TX.js} +2 -2
- package/dist/cdn/XWKXBW5I.js +4 -0
- package/dist/cdn/{CFG6BWHU.js → YDQLSLAN.js} +2 -2
- package/dist/cdn/YIPSJCGP.js +4 -0
- package/dist/cdn/YOZVYD52.js +4 -0
- package/dist/cdn/{JX5UB5EC.js → YSG32BWE.js} +2 -2
- package/dist/cdn/{3RWMBH3I.js → YVFMU5VS.js} +2 -2
- package/dist/cdn/YYLXLY3J.js +4 -0
- package/dist/cdn/Z47QQ7A2.js +4 -0
- package/dist/cdn/ZJE37JES.js +4 -0
- package/dist/cdn/ZKDHTCI2.js +4 -0
- package/dist/cdn/{X22T3KKM.js → ZNMGTGUY.js} +2 -2
- package/dist/cdn/ZXS6CTZI.js +4 -0
- package/dist/cdn/ZXVDYSGV.js +4 -0
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/axes/index.d.ts +1 -1
- package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +0 -1
- package/dist/chart-rendering/common/config-utils/index.d.ts +13 -120
- package/dist/chart-rendering/common/data/index.d.ts +9 -6
- package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
- package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +3 -166
- package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
- package/dist/chart-rendering/common/data/utils/selection/index.d.ts +2 -2
- package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +6 -8
- package/dist/chart-rendering/common/error-utils/index.d.ts +2 -2
- package/dist/chart-rendering/common/events/index.d.ts +2 -4
- package/dist/chart-rendering/common/interfaces.d.ts +22 -8
- package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
- package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +2 -3
- package/dist/chart-rendering/common/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
- package/dist/chart-rendering/common/t9n/errors/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/axes/gauge/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/axes/histogram/index.d.ts +8 -2
- package/dist/chart-rendering/next/chart-library-elements/axes/index.d.ts +9 -2
- package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +3 -4
- package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/next/chart-library-elements/tooltips/bar-chart/index.d.ts +2 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +4 -4
- package/dist/chart-rendering/next/chart-library-elements/tooltips/histogram/index.d.ts +3 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/pie-chart/index.d.ts +2 -2
- package/dist/chart-rendering/next/chart-library-elements/tooltips/scatter-plot/index.d.ts +6 -1
- package/dist/chart-rendering/next/chart-library-elements/tooltips/utils/index.d.ts +22 -4
- package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
- package/dist/chart-rendering/next/index.d.ts +2 -2
- package/dist/chart-rendering/next/interfaces.d.ts +3 -0
- package/dist/chart-rendering/next/utils/chart-modal/index.d.ts +4 -4
- package/dist/chart-rendering/next/utils/index.d.ts +15 -7
- package/dist/chart-rendering/stable/chart-library-elements/axes/histogram/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/scatter-plot/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-renderer/index.d.ts +2 -2
- package/dist/chart-rendering/stable/chart-library-elements/label/utils/gauge/index.d.ts +5 -0
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
- package/dist/chart-rendering/stable/index.d.ts +8 -4
- package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
- package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +8 -10
- package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
- package/dist/chart-rendering/stable/utils/misc/index.d.ts +2 -8
- package/dist/chunks/action-bar-utils.js +32 -24
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +22 -13
- package/dist/chunks/bar-chart-series.js +21 -12
- package/dist/chunks/baseline-stacking.js +49 -40
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +231 -207
- package/dist/chunks/box-plot-model.js +57 -51
- package/dist/chunks/chart-ui-utils.js +17 -23
- package/dist/chunks/chart-ui-utils2.js +58 -50
- package/dist/chunks/combo-bar-line-chart-model.js +52 -57
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +146 -5393
- package/dist/chunks/data.js +61 -924
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +31 -23
- package/dist/chunks/heat-chart-model.js +176 -51
- package/dist/chunks/histogram-data.js +55 -47
- package/dist/chunks/histogram-model.js +19 -11
- package/dist/chunks/index.js +23743 -2182
- package/dist/chunks/index2.js +670 -36
- package/dist/chunks/index3.js +90 -63
- package/dist/chunks/index4.js +62 -91
- package/dist/chunks/interfaces.js +90 -16256
- package/dist/chunks/line-chart-model.js +17 -9
- package/dist/chunks/model-with-baseline-stacking.js +18 -28
- package/dist/chunks/model-with-data-labels.js +30 -21
- package/dist/chunks/model-with-multi-axes.js +166 -203
- package/dist/chunks/model-with-rotation.js +14 -5
- package/dist/chunks/pie-chart-data.js +144 -128
- package/dist/chunks/pie-chart-model.js +81 -73
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +15 -7
- 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 +44 -36
- package/dist/chunks/serial-chart-data.js +912 -0
- package/dist/chunks/serial-chart-model.js +60 -46
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +18 -9
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +22 -13
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +204 -189
- package/dist/components/arcgis-chart/customElement.d.ts +21 -16
- package/dist/components/arcgis-chart/customElement.js +8032 -7814
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +2 -3
- package/dist/components/arcgis-charts-action-bar/customElement.js +24 -16
- package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axis/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-axis/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +45 -41
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +116 -109
- package/dist/components/arcgis-charts-config-bar-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -27
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +25 -15
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +19 -10
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +34 -30
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +36 -23
- package/dist/components/arcgis-charts-config-box-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +31 -24
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-category-format/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +27 -24
- package/dist/components/arcgis-charts-config-color-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-colors/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +143 -148
- package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-font-style/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-format/customElement.js +34 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-general/customElement.js +27 -18
- package/dist/components/arcgis-charts-config-guide/customElement.js +23 -24
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +17 -8
- package/dist/components/arcgis-charts-config-guides/customElement.js +32 -36
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +21 -12
- package/dist/components/arcgis-charts-config-histogram/customElement.js +37 -33
- package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +29 -20
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +17 -8
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +37 -33
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +69 -52
- package/dist/components/arcgis-charts-config-line-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +36 -27
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +19 -10
- package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-line-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-number-format/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +48 -44
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +48 -35
- package/dist/components/arcgis-charts-config-pie-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +45 -36
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +31 -22
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -6
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -29
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +60 -45
- package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +22 -13
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +24 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +22 -13
- package/dist/docs/api.json +28 -95
- package/dist/docs/docs.json +116 -100
- package/dist/docs/vscode.html-custom-data.json +6 -2
- package/dist/docs/web-types.json +13 -8
- package/dist/index.js +426 -406
- package/dist/json-schema/index.d.ts +13 -2
- package/dist/loader.js +2 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +2 -4
- package/dist/model/box-plot-model/utils/box-plot-data.d.ts +2 -0
- package/dist/model/chart-model/chart-model.d.ts +8 -23
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +75 -10
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +61 -6
- package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
- package/dist/model/mixins/model-with-multi-axes.d.ts +24 -50
- package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
- package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -4
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -4
- package/dist/model/shared/axes.d.ts +0 -3
- package/dist/model/shared/data.d.ts +44 -2
- package/dist/model.js +1 -1
- package/dist/spec/data-source.d.ts +11 -0
- package/dist/spec/web-chart.d.ts +6 -4
- package/dist/store.d.ts +24 -3
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.d.ts +27 -3
- package/dist/utils/chart-config/utils/index.d.ts +260 -1
- package/dist/utils/chart-config/validator/index.d.ts +10 -10
- package/dist/utils/components/config-update.d.ts +21 -8
- package/dist/utils/components/data-update.d.ts +36 -0
- package/dist/utils/components/watch-handlers.d.ts +12 -12
- package/dist/utils/components/web-component-utils.d.ts +8 -2
- package/dist/utils/data/interfaces.d.ts +30 -2
- package/dist/utils/data/time-binning/interfaces.d.ts +0 -4
- package/dist/utils/defaults/index.d.ts +1 -1
- package/dist/utils/defaults/interfaces.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +44 -1
- package/dist/utils/layer/interfaces.d.ts +1 -0
- package/dist/utils/layer/query-features/index.d.ts +3 -3
- package/dist/utils/layer/query-parser/index.d.ts +8 -0
- package/dist/utils/layer/utils/index.d.ts +3 -3
- package/dist/utils/misc/index.d.ts +1 -1
- package/dist/utils/misc/interfaces.d.ts +1 -1
- package/dist/utils/ui/chart-ui-utils.d.ts +2 -1
- package/package.json +5 -5
- package/dist/cdn/2HIESHCK.js +0 -4
- package/dist/cdn/2JOGVVDJ.js +0 -4
- package/dist/cdn/2OR3NHGS.js +0 -4
- package/dist/cdn/2T3FKIKD.js +0 -4
- package/dist/cdn/3FPVN4WA.js +0 -4
- package/dist/cdn/3VT6VDXV.js +0 -6
- package/dist/cdn/3XDQPIZW.js +0 -4
- package/dist/cdn/4LFWDONF.js +0 -4
- package/dist/cdn/4QX45F5S.js +0 -4
- package/dist/cdn/4UCYNEJJ.js +0 -4
- package/dist/cdn/4XMAIN2E.js +0 -4
- package/dist/cdn/5O5PYF2D.js +0 -4
- package/dist/cdn/5PBT5VWS.js +0 -4
- package/dist/cdn/5V3CXHDL.js +0 -4
- package/dist/cdn/5YIO2GLZ.js +0 -4
- package/dist/cdn/6354Q7NB.js +0 -4
- package/dist/cdn/6CCMPHJI.js +0 -4
- package/dist/cdn/6MIYMT56.js +0 -4
- package/dist/cdn/73GA5EXO.js +0 -4
- package/dist/cdn/76CEXLKL.js +0 -4
- package/dist/cdn/7PMS3DYX.js +0 -4
- package/dist/cdn/A7F3IPBY.js +0 -4
- package/dist/cdn/ALNWHMNW.js +0 -4
- package/dist/cdn/AVER3U52.js +0 -4
- package/dist/cdn/AXPN4FNV.js +0 -4
- package/dist/cdn/BBT33245.js +0 -4
- package/dist/cdn/BO6GDR27.js +0 -4
- package/dist/cdn/BP7HF2AD.js +0 -4
- package/dist/cdn/CF277RPC.js +0 -4
- package/dist/cdn/CFKF5LDT.js +0 -4
- package/dist/cdn/CK5IM3GO.js +0 -4
- package/dist/cdn/CRP2AMFE.js +0 -4
- package/dist/cdn/DCYBICHJ.css +0 -1
- package/dist/cdn/DTVGPIJ3.js +0 -4
- package/dist/cdn/E3QCVPG4.js +0 -4
- package/dist/cdn/E6O5I55W.js +0 -4
- package/dist/cdn/EKB3B7EF.js +0 -4
- package/dist/cdn/FBWO7D6S.js +0 -4
- package/dist/cdn/FN6TDQYA.js +0 -4
- package/dist/cdn/FRJUF57I.js +0 -4
- package/dist/cdn/FXQUU3E2.js +0 -4
- package/dist/cdn/GMBZEXQX.js +0 -42
- package/dist/cdn/GVRKARMU.js +0 -4
- package/dist/cdn/H4KX74BW.js +0 -4
- package/dist/cdn/H5E32YO2.js +0 -4
- package/dist/cdn/H6M72SCY.js +0 -4
- package/dist/cdn/HAJ3HITN.js +0 -4
- package/dist/cdn/HCZAZ5NC.js +0 -4
- package/dist/cdn/HMCSR3Q5.js +0 -4
- package/dist/cdn/I6SMUBK4.js +0 -4
- package/dist/cdn/IBJ3ADC7.js +0 -4
- package/dist/cdn/II4CG7JE.js +0 -4
- package/dist/cdn/IIGVC6UH.js +0 -4
- package/dist/cdn/IMXTIBFY.js +0 -4
- package/dist/cdn/IPIPBPC6.js +0 -4
- package/dist/cdn/IRT42ZDF.js +0 -4
- package/dist/cdn/ITJI4AFT.js +0 -4
- package/dist/cdn/IVQM662J.js +0 -4
- package/dist/cdn/J7BOL2US.js +0 -4
- package/dist/cdn/J7XKLSKH.js +0 -4
- package/dist/cdn/J7YWPXDD.js +0 -4
- package/dist/cdn/JM4VWVPS.js +0 -4
- package/dist/cdn/JMDCNX7N.js +0 -4
- package/dist/cdn/JNE4Z6G5.js +0 -4
- package/dist/cdn/KC2RQX4R.js +0 -4
- package/dist/cdn/KEEA57RQ.js +0 -4
- package/dist/cdn/KHMU6HLZ.js +0 -58
- package/dist/cdn/L6KF75O5.js +0 -4
- package/dist/cdn/MCWQHEPF.js +0 -4
- package/dist/cdn/MQX4DPA6.js +0 -4
- package/dist/cdn/NAQM6RP7.js +0 -4
- package/dist/cdn/NDW2U7KB.js +0 -4
- package/dist/cdn/NPMQQH4S.js +0 -4
- package/dist/cdn/NRHWX6SR.js +0 -4
- package/dist/cdn/O73SAQIW.js +0 -4
- package/dist/cdn/OQTZ7B6W.js +0 -4
- package/dist/cdn/OWMDCQRI.js +0 -4
- package/dist/cdn/P5U4M276.js +0 -4
- package/dist/cdn/P7NTKSG6.js +0 -4
- package/dist/cdn/P7PPAJGS.js +0 -4
- package/dist/cdn/PPV5OKLH.js +0 -4
- package/dist/cdn/QFMSUZRQ.js +0 -4
- package/dist/cdn/QGLIMHMS.js +0 -4
- package/dist/cdn/QY3ZJ6XT.js +0 -4
- package/dist/cdn/QZ4B6KQZ.js +0 -4
- package/dist/cdn/R4JF6H5G.js +0 -4
- package/dist/cdn/RJLDFLMS.js +0 -4
- package/dist/cdn/RW73AOAV.js +0 -4
- package/dist/cdn/RX3WGJ2K.js +0 -4
- package/dist/cdn/SE3Q7IDB.js +0 -4
- package/dist/cdn/SE4OMJXM.js +0 -4
- package/dist/cdn/SZI274L4.js +0 -4
- package/dist/cdn/T27DWGVP.js +0 -4
- package/dist/cdn/TJTV5KU7.js +0 -4
- package/dist/cdn/U6CGXT4H.js +0 -4
- package/dist/cdn/UF7XCMGM.js +0 -4
- package/dist/cdn/V3MCTZ24.js +0 -4
- package/dist/cdn/W6WZHJCR.js +0 -4
- package/dist/cdn/WCRIFKUU.js +0 -4
- package/dist/cdn/WMYPI52V.js +0 -4
- package/dist/cdn/WQIZBBZX.js +0 -4
- package/dist/cdn/XY5HKZ4D.js +0 -4
- package/dist/cdn/YTTML4TM.js +0 -4
- package/dist/cdn/Z4SHW63D.js +0 -4
- package/dist/cdn/ZDIZOBJS.js +0 -4
- package/dist/cdn/ZFXICCAR.js +0 -4
- package/dist/cdn/ZGSSASAI.js +0 -4
- package/dist/cdn/ZHNY5GNR.js +0 -4
- package/dist/cdn/ZIJTOWYD.js +0 -4
- package/dist/cdn/ZK74JJQQ.js +0 -4
- package/dist/cdn/ZNXJXIA6.js +0 -4
- package/dist/cdn/ZVHDD22N.js +0 -4
- package/dist/cdn/ZVSUDJHS.js +0 -4
- package/dist/cdn/stdin.css +0 -1
- package/dist/chart-rendering/common/data/utils/misc/interfaces.d.ts +0 -30
- package/dist/chunks/index5.js +0 -66
- package/dist/chunks/interfaces2.js +0 -18
- package/dist/chunks/interfaces3.js +0 -96
- package/dist/chunks/interfaces4.js +0 -491
- package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -15
- package/dist/test/utils/test-utils/utils.d.ts +0 -13
|
@@ -1,27 +1,36 @@
|
|
|
1
1
|
import { c as r } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as l, html as o } from "lit";
|
|
3
3
|
import "../../chunks/series-types.js";
|
|
4
|
-
import { R as
|
|
4
|
+
import { R as p } from "../../chunks/rest-js-object-literals.js";
|
|
5
5
|
import "@arcgis/toolkit/intl";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import "../../chunks/
|
|
8
|
+
import "../../chunks/index.js";
|
|
9
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
11
|
+
import "@arcgis/core/Graphic.js";
|
|
12
|
+
import "@arcgis/core/intl.js";
|
|
13
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
14
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
15
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
16
|
+
import "simple-statistics";
|
|
17
|
+
import "@arcgis/core/request.js";
|
|
18
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
9
19
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
20
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
21
|
import "@arcgis/core/rest/support/Query.js";
|
|
12
22
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
13
23
|
import "@arcgis/core/time/TimeExtent.js";
|
|
14
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
15
|
-
import "@arcgis/core/request.js";
|
|
16
25
|
import "@arcgis/toolkit/dom";
|
|
17
|
-
import { e as
|
|
26
|
+
import { e as a } from "../../chunks/popover-ui-utils.js";
|
|
18
27
|
import { g as i } from "../../chunks/default.js";
|
|
19
28
|
import { u as n } from "../../chunks/useT9n.js";
|
|
20
29
|
import { createRef as c, ref as m } from "lit/directives/ref.js";
|
|
21
30
|
import { LitElement as h, createEvent as s, safeClassMap as g } from "@arcgis/lumina";
|
|
22
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
24
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.41 */
|
|
25
34
|
const C = {
|
|
26
35
|
jsAppFlyout: "js-app-flyout"
|
|
27
36
|
}, d = l``;
|
|
@@ -30,7 +39,7 @@ class f extends h {
|
|
|
30
39
|
super(...arguments), this._messages = n(), this.popoverElement = c(), this.placement = "leading", this.arcgisChartsConfigGuidePopoverColorChange = s(), this.arcgisChartsConfigGuidePopoverSymbolChange = s(), this.arcgisChartsConfigPopoverClose = s();
|
|
31
40
|
}
|
|
32
41
|
static {
|
|
33
|
-
this.properties = { messageOverrides: 0, selectedElement:
|
|
42
|
+
this.properties = { messageOverrides: 0, selectedElement: 0, referenceElement: 0, placement: 1, open: 5 };
|
|
34
43
|
}
|
|
35
44
|
static {
|
|
36
45
|
this.styles = d;
|
|
@@ -39,7 +48,7 @@ class f extends h {
|
|
|
39
48
|
await this.popoverElement.value?.reposition();
|
|
40
49
|
}
|
|
41
50
|
updated() {
|
|
42
|
-
|
|
51
|
+
a(this.popoverElement.value, this.open);
|
|
43
52
|
}
|
|
44
53
|
guidePopoverClose() {
|
|
45
54
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
@@ -54,7 +63,7 @@ class f extends h {
|
|
|
54
63
|
}
|
|
55
64
|
render() {
|
|
56
65
|
const t = this.selectedElement, e = this.selectedElement;
|
|
57
|
-
return o`<div class=${g(C.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${m(this.popoverElement)}>${Array.isArray(t) && o`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${t} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` || ""}${e?.type ===
|
|
66
|
+
return o`<div class=${g(C.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${m(this.popoverElement)}>${Array.isArray(t) && o`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${t} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` || ""}${e?.type === p.SLS && o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${e} @arcgisChartsConfigLineStyleClose=${this.guidePopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` || ""}</calcite-popover></div>`;
|
|
58
67
|
}
|
|
59
68
|
}
|
|
60
69
|
r("arcgis-charts-config-guide-popover", f);
|
|
@@ -1,33 +1,29 @@
|
|
|
1
1
|
import { c as p } from "../../chunks/runtime.js";
|
|
2
2
|
import { cloneDeep as r } from "lodash-es";
|
|
3
3
|
import { d as g } from "../../chunks/default.js";
|
|
4
|
-
import { g as
|
|
4
|
+
import { g as l, H as m } from "../../chunks/resource.js";
|
|
5
5
|
import { u as f } from "../../chunks/useT9n.js";
|
|
6
6
|
import { css as A, html as a } from "lit";
|
|
7
7
|
import { createRef as x, ref as C } from "lit/directives/ref.js";
|
|
8
|
-
import { LitElement as
|
|
9
|
-
import { G as
|
|
10
|
-
import { n as
|
|
8
|
+
import { LitElement as v, renderElement as b, safeClassMap as c } from "@arcgis/lumina";
|
|
9
|
+
import { G as s } from "../../chunks/common.js";
|
|
10
|
+
import { n as h, o as u } from "../../chunks/type-guards.js";
|
|
11
11
|
import "../../chunks/series-types.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
14
|
-
v5.0.0-next.
|
|
14
|
+
v5.0.0-next.41 */
|
|
15
15
|
const P = A`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.add-guide{display:flex;justify-content:center;padding:.5rem}.add-guide-btn{width:100%}.no-guides{border-radius:2rem}.no-messages{text-align:center}.guide-icon{padding-left:.5rem;padding-top:.5rem;width:1.5rem;height:1.5rem}`;
|
|
16
|
-
class $ extends
|
|
16
|
+
class $ extends v {
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments), this._messages = f(), this.addGuideButton = x(), this.guideTypePopover = null, this.addXGuide = (e) => {
|
|
19
|
-
if (
|
|
19
|
+
if (h(this.model)) {
|
|
20
20
|
const t = this.getUniqueName(this._messages.xAxisGuide ?? ""), i = this.model.getXGuidesLength() ?? 0;
|
|
21
|
-
this.model.addXAxisGuide(t, i), this.model.setGuideStyle(r(g.style), i,
|
|
22
|
-
n !== this.latestGuidePosition && (d.open = !1);
|
|
23
|
-
});
|
|
21
|
+
this.model.addXAxisGuide(t, i), this.model.setGuideStyle(r(g.style), i, s.X), this.latestGuidePosition = l(i, s.X, this.model), this.togglePopOver(e);
|
|
24
22
|
}
|
|
25
23
|
}, this.addYGuide = (e) => {
|
|
26
|
-
if (
|
|
24
|
+
if (u(this.model)) {
|
|
27
25
|
const t = this.getUniqueName(this._messages.yAxisGuide ?? ""), i = this.model.getYGuidesLength() ?? 0;
|
|
28
|
-
this.model.addYAxisGuide(t, i), this.model.setGuideStyle(r(g.style), i,
|
|
29
|
-
for (const s of this.el.shadowRoot?.querySelectorAll("calcite-block") ?? [])
|
|
30
|
-
s.open = !1;
|
|
26
|
+
this.model.addYAxisGuide(t, i), this.model.setGuideStyle(r(g.style), i, s.Y), this.latestGuidePosition = l(i, s.Y, this.model), this.togglePopOver(e);
|
|
31
27
|
}
|
|
32
28
|
}, this.togglePopOver = (e) => {
|
|
33
29
|
e.stopImmediatePropagation(), this.enableXAxisGuide && this.enableYAxisGuide && (this.showAddButton = !this.showAddButton);
|
|
@@ -38,7 +34,7 @@ class $ extends b {
|
|
|
38
34
|
}, this.showAddButton = !0, this.latestGuidePosition = 0, this.open = !1;
|
|
39
35
|
}
|
|
40
36
|
static {
|
|
41
|
-
this.properties = { showAddButton: 16, latestGuidePosition: 16, messageOverrides: 0, model: 0, timeZone:
|
|
37
|
+
this.properties = { showAddButton: 16, latestGuidePosition: 16, messageOverrides: 0, model: 0, timeZone: 1, calculatedMinMaxBounds: 0, enableXAxisGuide: 5, enableYAxisGuide: 5, open: 5 };
|
|
42
38
|
}
|
|
43
39
|
static {
|
|
44
40
|
this.styles = P;
|
|
@@ -56,50 +52,50 @@ class $ extends b {
|
|
|
56
52
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
57
53
|
}
|
|
58
54
|
getAllGuidesLength() {
|
|
59
|
-
const e =
|
|
55
|
+
const e = h(this.model) ? this.model.getXGuidesLength() ?? 0 : 0, t = u(this.model) ? this.model.getYGuidesLength() ?? 0 : 0;
|
|
60
56
|
return e + t;
|
|
61
57
|
}
|
|
62
58
|
getUniqueName(e, t = 1) {
|
|
63
59
|
const i = `${e} ${t}`;
|
|
64
|
-
let
|
|
65
|
-
if (l(this.model)) {
|
|
66
|
-
const d = this.model.getXGuidesLength() ?? 0;
|
|
67
|
-
for (let n = 0; n < d && !s; n += 1)
|
|
68
|
-
this.model.getGuideName(n, o.X) === i && (s = !0);
|
|
69
|
-
}
|
|
60
|
+
let d = !1;
|
|
70
61
|
if (h(this.model)) {
|
|
71
|
-
const
|
|
72
|
-
for (let n = 0; n <
|
|
73
|
-
this.model.getGuideName(n,
|
|
62
|
+
const o = this.model.getXGuidesLength() ?? 0;
|
|
63
|
+
for (let n = 0; n < o && !d; n += 1)
|
|
64
|
+
this.model.getGuideName(n, s.X) === i && (d = !0);
|
|
74
65
|
}
|
|
75
|
-
|
|
66
|
+
if (u(this.model)) {
|
|
67
|
+
const o = this.model.getYGuidesLength() ?? 0;
|
|
68
|
+
for (let n = 0; n < o && !d; n += 1)
|
|
69
|
+
this.model.getGuideName(n, s.Y) === i && (d = !0);
|
|
70
|
+
}
|
|
71
|
+
return d ? this.getUniqueName(e, t + 1) : i;
|
|
76
72
|
}
|
|
77
73
|
setChangedGuide(e) {
|
|
78
|
-
const { index: t, orientation: i, isDelete:
|
|
79
|
-
|
|
74
|
+
const { index: t, orientation: i, isDelete: d } = e.detail, o = l(t, i, this.model);
|
|
75
|
+
d && o !== void 0 && o <= this.latestGuidePosition && this.latestGuidePosition > 0 && (this.latestGuidePosition -= 1);
|
|
80
76
|
}
|
|
81
77
|
setupGuidePopover(e) {
|
|
82
78
|
e.stopImmediatePropagation(), this.togglePopOver(e);
|
|
83
79
|
}
|
|
84
80
|
renderGuideTypePopover() {
|
|
85
81
|
const e = this.getAllGuidesLength();
|
|
86
|
-
this.guideTypePopover =
|
|
82
|
+
this.guideTypePopover = b(a`<arcgis-charts-config-guides-type-popover .enableXAxisGuide=${this.enableXAxisGuide} .enableYAxisGuide=${this.enableYAxisGuide} .referenceElement=${this.addGuideButton.value} .placement=${e === 0 ? "bottom" : "top"} .open=${!this.showAddButton} @arcgisChartsAddXAxisGuide=${this.addXGuide} @arcgisChartsAddYAxisGuide=${this.addYGuide} @arcgisChartsConfigPopoverClose=${this.closeAddPopOver}></arcgis-charts-config-guides-type-popover>`), !this.showAddButton && !document.body.contains(this.guideTypePopover) && this.guideTypePopover !== null && document.body.appendChild(this.guideTypePopover);
|
|
87
83
|
}
|
|
88
84
|
renderGuide(e, t) {
|
|
89
85
|
let i;
|
|
90
|
-
return (this.enableXAxisGuide && t ===
|
|
86
|
+
return (this.enableXAxisGuide && t === s.X || this.enableYAxisGuide && t === s.Y) && (i = a`<arcgis-charts-config-guide .model=${this.model} .timeZone=${this.timeZone} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .index=${e} .orientation=${t} .latestGuidePosition=${this.latestGuidePosition} @arcgisChartsConfigGuideChange=${this.setChangedGuide}></arcgis-charts-config-guide>`), i;
|
|
91
87
|
}
|
|
92
88
|
renderGuides() {
|
|
93
89
|
const e = [];
|
|
94
|
-
if (
|
|
90
|
+
if (h(this.model)) {
|
|
95
91
|
const t = this.model.getXGuidesLength() ?? 0;
|
|
96
92
|
for (let i = 0; i < t; i += 1)
|
|
97
|
-
e.push(this.renderGuide(i,
|
|
93
|
+
e.push(this.renderGuide(i, s.X));
|
|
98
94
|
}
|
|
99
|
-
if (
|
|
95
|
+
if (u(this.model)) {
|
|
100
96
|
const t = this.model.getYGuidesLength() ?? 0;
|
|
101
97
|
for (let i = 0; i < t; i += 1)
|
|
102
|
-
e.push(this.renderGuide(i,
|
|
98
|
+
e.push(this.renderGuide(i, s.Y));
|
|
103
99
|
}
|
|
104
100
|
return e;
|
|
105
101
|
}
|
|
@@ -107,8 +103,8 @@ class $ extends b {
|
|
|
107
103
|
return a`<calcite-fab slot=fab appearance=outline-fill kind=neutral text-enabled .text=${this._messages.addGuide} .label=${this._messages.addGuide} @click=${e} scale=s></calcite-fab>`;
|
|
108
104
|
}
|
|
109
105
|
render() {
|
|
110
|
-
const t = this.getAllGuidesLength() > 0, i = this.showAddButton && this.enableXAxisGuide && this.enableYAxisGuide,
|
|
111
|
-
return a`${this.renderGuideTypePopover()}${t ? this.renderGuides() : a`<div class=${m
|
|
106
|
+
const t = this.getAllGuidesLength() > 0, i = this.showAddButton && this.enableXAxisGuide && this.enableYAxisGuide, d = this.enableXAxisGuide && !this.enableYAxisGuide, o = !this.enableXAxisGuide && this.enableYAxisGuide;
|
|
107
|
+
return a`${this.renderGuideTypePopover()}${t ? this.renderGuides() : a`<div class=${c(m.noMessages)}>${this._messages.noGuidesMsg}</div>`}<div class=${c(m.addGuide)} ${C(this.addGuideButton)}>${i && this.renderAddGuideButton(this.setupGuidePopover) || ""}${d && this.renderAddGuideButton(this.addXGuide) || ""}${o && this.renderAddGuideButton(this.addYGuide) || ""}</div>`;
|
|
112
108
|
}
|
|
113
109
|
}
|
|
114
110
|
p("arcgis-charts-config-guides", $);
|
|
@@ -2,49 +2,58 @@ import { c as t } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { html as e } from "lit";
|
|
3
3
|
import { LitElement as s, createEvent as i } from "@arcgis/lumina";
|
|
4
4
|
import { u as o } from "../../chunks/useT9n.js";
|
|
5
|
-
import { createRef as
|
|
5
|
+
import { createRef as r, ref as a } from "lit/directives/ref.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import "lodash-es";
|
|
8
8
|
import "../../chunks/series-types.js";
|
|
9
9
|
import "d3-array";
|
|
10
|
-
import "../../chunks/
|
|
10
|
+
import "../../chunks/index.js";
|
|
11
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
13
|
+
import "@arcgis/core/Graphic.js";
|
|
14
|
+
import "@arcgis/core/intl.js";
|
|
15
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
17
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
18
|
+
import "simple-statistics";
|
|
19
|
+
import "@arcgis/core/request.js";
|
|
20
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
11
21
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
12
22
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
13
23
|
import "@arcgis/core/rest/support/Query.js";
|
|
14
24
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
15
25
|
import "@arcgis/core/time/TimeExtent.js";
|
|
16
26
|
import "@arcgis/core/core/promiseUtils.js";
|
|
17
|
-
import "@arcgis/core/request.js";
|
|
18
27
|
import "@arcgis/toolkit/dom";
|
|
19
|
-
import { e as
|
|
28
|
+
import { e as p } from "../../chunks/popover-ui-utils.js";
|
|
20
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
21
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
22
|
-
v5.0.0-next.
|
|
23
|
-
class
|
|
31
|
+
v5.0.0-next.41 */
|
|
32
|
+
class l extends s {
|
|
24
33
|
constructor() {
|
|
25
|
-
super(...arguments), this._messages = o(), this.popoverElement =
|
|
34
|
+
super(...arguments), this._messages = o(), this.popoverElement = r(), this.onAddXGuide = () => {
|
|
26
35
|
this.open = !1, this.arcgisChartsAddXAxisGuide.emit();
|
|
27
36
|
}, this.onAddYGuide = () => {
|
|
28
37
|
this.open = !1, this.arcgisChartsAddYAxisGuide.emit();
|
|
29
38
|
}, this.enableXAxisGuide = !1, this.enableYAxisGuide = !1, this.placement = "bottom", this.open = !1, this.arcgisChartsAddXAxisGuide = i(), this.arcgisChartsAddYAxisGuide = i(), this.arcgisChartsConfigPopoverClose = i();
|
|
30
39
|
}
|
|
31
40
|
static {
|
|
32
|
-
this.properties = { enableXAxisGuide:
|
|
41
|
+
this.properties = { enableXAxisGuide: 5, enableYAxisGuide: 5, messageOverrides: 0, referenceElement: 0, placement: 1, open: 5 };
|
|
33
42
|
}
|
|
34
43
|
async reposition() {
|
|
35
44
|
await this.popoverElement.value?.reposition();
|
|
36
45
|
}
|
|
37
46
|
updated() {
|
|
38
|
-
|
|
47
|
+
p(this.popoverElement.value, this.open);
|
|
39
48
|
}
|
|
40
49
|
guidePopoverClose() {
|
|
41
50
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
42
51
|
}
|
|
43
52
|
render() {
|
|
44
|
-
return e`<calcite-popover .open=${this.open} .referenceElement=${this.referenceElement ?? document.body} flip-disabled pointer-disabled offset-distance=-18 @calcitePopoverClose=${this.guidePopoverClose} .placement=${this.placement} auto-close label ${
|
|
53
|
+
return e`<calcite-popover .open=${this.open} .referenceElement=${this.referenceElement ?? document.body} flip-disabled pointer-disabled offset-distance=-18 @calcitePopoverClose=${this.guidePopoverClose} .placement=${this.placement} auto-close label ${a(this.popoverElement)}><calcite-panel .heading=${this._messages.guideType} closable @calcitePanelClose=${this.guidePopoverClose}>${this.enableXAxisGuide ? e`<calcite-action .label=${this._messages.addXAxisGuide} .text=${this._messages.addXAxisGuide ?? ""} @click=${this.onAddXGuide} icon=x-axis-guide text-enabled></calcite-action>` : null}${this.enableYAxisGuide ? e`<calcite-action .label=${this._messages.addYAxisGuide} .text=${this._messages.addYAxisGuide ?? ""} @click=${this.onAddYGuide} icon=y-axis-guide text-enabled></calcite-action>` : null}</calcite-panel></calcite-popover>`;
|
|
45
54
|
}
|
|
46
55
|
}
|
|
47
|
-
t("arcgis-charts-config-guides-type-popover",
|
|
56
|
+
t("arcgis-charts-config-guides-type-popover", l);
|
|
48
57
|
export {
|
|
49
|
-
|
|
58
|
+
l as ArcgisChartsConfigGuidesTypePopover
|
|
50
59
|
};
|
|
@@ -1,43 +1,53 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEqual as r } from "lodash-es";
|
|
4
4
|
import "../../chunks/series-types.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import { g as
|
|
6
|
+
import { g as n, bx as h } from "../../chunks/index.js";
|
|
7
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
9
|
+
import "@arcgis/core/Graphic.js";
|
|
10
|
+
import "@arcgis/core/intl.js";
|
|
11
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
12
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
13
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
14
|
+
import "simple-statistics";
|
|
15
|
+
import "@arcgis/core/request.js";
|
|
16
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
7
17
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
18
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
19
|
import "@arcgis/core/rest/support/Query.js";
|
|
10
20
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
11
21
|
import "@arcgis/core/time/TimeExtent.js";
|
|
12
22
|
import "@arcgis/core/core/promiseUtils.js";
|
|
13
|
-
import "
|
|
14
|
-
import { b as d, h as c } from "../../chunks/index4.js";
|
|
23
|
+
import { b as c, h as m } from "../../chunks/index3.js";
|
|
15
24
|
import "@arcgis/toolkit/dom";
|
|
16
|
-
import { LitElement as
|
|
17
|
-
import { css as g, html as
|
|
18
|
-
import { C as s } from "../../chunks/
|
|
25
|
+
import { LitElement as d } from "@arcgis/lumina";
|
|
26
|
+
import { css as g, html as i } from "lit";
|
|
27
|
+
import { C as s } from "../../chunks/interfaces.js";
|
|
19
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
21
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.41 */
|
|
22
31
|
const f = g`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
23
|
-
class p extends
|
|
32
|
+
class p extends d {
|
|
24
33
|
constructor() {
|
|
25
34
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
26
|
-
const
|
|
27
|
-
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(
|
|
35
|
+
const t = e?.detail.config ?? this.model.config;
|
|
36
|
+
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(t);
|
|
28
37
|
};
|
|
29
38
|
}
|
|
30
39
|
static {
|
|
31
|
-
this.properties = { layerFieldsInfo: 16, model: 0, chartData: 0, seriesColor:
|
|
40
|
+
this.properties = { layerFieldsInfo: 16, model: 0, chartData: 0, seriesColor: 0, calculatedMinMaxBounds: 0, page: 1, layer: 0, usePopupTemplateFieldsInfo: 5 };
|
|
32
41
|
}
|
|
33
42
|
static {
|
|
34
43
|
this.styles = f;
|
|
35
44
|
}
|
|
36
45
|
async load() {
|
|
37
|
-
this.
|
|
46
|
+
this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model);
|
|
38
47
|
}
|
|
39
|
-
|
|
40
|
-
|
|
48
|
+
willUpdate(e) {
|
|
49
|
+
let a = !1;
|
|
50
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("layer") && this.layer !== void 0 && !r(e.get("layer"), this.layer) && (a = !0), e.has("usePopupTemplateFieldsInfo") && this.usePopupTemplateFieldsInfo !== e.get("usePopupTemplateFieldsInfo") && (a = !0), e.has("seriesColor") && this.seriesColorChange(this.seriesColor), this.layerFieldsInfo === void 0 && (a = !0), a && this.updateFetchLayerFieldsInfo();
|
|
41
51
|
}
|
|
42
52
|
disconnectedCallback() {
|
|
43
53
|
super.disconnectedCallback(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -45,43 +55,37 @@ class p extends m {
|
|
|
45
55
|
modelChange(e, a) {
|
|
46
56
|
a?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
47
57
|
}
|
|
48
|
-
async layerChange(e, a) {
|
|
49
|
-
e !== void 0 && !r(a, e) && await this.updateFetchLayerFieldsInfo();
|
|
50
|
-
}
|
|
51
|
-
async usePopupTemplateFieldsInfoChange(e, a) {
|
|
52
|
-
e !== void 0 && e !== a && await this.updateFetchLayerFieldsInfo();
|
|
53
|
-
}
|
|
54
58
|
seriesColorChange(e) {
|
|
55
59
|
this.model.colorMatch && e?.forEach((a) => {
|
|
56
|
-
|
|
60
|
+
c(a) && e?.get(0) !== void 0 && !r(this.model.binSymbol, a) && (this.model.binSymbol = a);
|
|
57
61
|
});
|
|
58
62
|
}
|
|
59
63
|
async updateFetchLayerFieldsInfo(e) {
|
|
60
64
|
const a = e ?? this.model.config;
|
|
61
|
-
let
|
|
62
|
-
if (!
|
|
63
|
-
const o =
|
|
64
|
-
o && (
|
|
65
|
+
let t = this.layer;
|
|
66
|
+
if (!t) {
|
|
67
|
+
const o = m(a) ? a.iLayer : void 0;
|
|
68
|
+
o && (t = await n(o));
|
|
65
69
|
}
|
|
66
|
-
|
|
70
|
+
t && (this.layerFieldsInfo = await h(t, this.usePopupTemplateFieldsInfo));
|
|
67
71
|
}
|
|
68
72
|
render() {
|
|
69
73
|
let e;
|
|
70
74
|
switch (this.page) {
|
|
71
75
|
case s.Data:
|
|
72
|
-
e =
|
|
76
|
+
e = i`<arcgis-charts-config-histogram-data .model=${this.model} .meanValue=${this.chartData?.mean} .medianValue=${this.chartData?.median} .standardDevValue=${this.chartData?.stddev} .minValue=${this.chartData?.min} .maxValue=${this.chartData?.max} .sumValue=${this.chartData?.sum} .nullsValue=${this.chartData?.nulls} .countValue=${this.chartData?.count} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-histogram-data>`;
|
|
73
77
|
break;
|
|
74
78
|
case s.Axes:
|
|
75
|
-
e =
|
|
79
|
+
e = i`<arcgis-charts-config-axes .model=${this.model} show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;
|
|
76
80
|
break;
|
|
77
81
|
case s.Guides:
|
|
78
|
-
e =
|
|
82
|
+
e = i`<arcgis-charts-config-guides .model=${this.model} enable-y-axis-guide></arcgis-charts-config-guides>`;
|
|
79
83
|
break;
|
|
80
84
|
case s.Format:
|
|
81
|
-
e =
|
|
85
|
+
e = i`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;
|
|
82
86
|
break;
|
|
83
87
|
case s.General:
|
|
84
|
-
e =
|
|
88
|
+
e = i`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;
|
|
85
89
|
break;
|
|
86
90
|
default:
|
|
87
91
|
e = "";
|
|
@@ -90,7 +94,7 @@ class p extends m {
|
|
|
90
94
|
return e;
|
|
91
95
|
}
|
|
92
96
|
}
|
|
93
|
-
|
|
97
|
+
l("arcgis-charts-config-histogram", p);
|
|
94
98
|
export {
|
|
95
99
|
p as ArcgisChartsConfigHistogram
|
|
96
100
|
};
|
|
@@ -81,6 +81,11 @@ export declare class ArcgisChartsConfigHistogramData extends LitElement {
|
|
|
81
81
|
* @default false
|
|
82
82
|
*/
|
|
83
83
|
open?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Event emitted upon catching an error in an async function.
|
|
86
|
+
*
|
|
87
|
+
* @event
|
|
88
|
+
*/
|
|
84
89
|
readonly arcgisChartsConfigDataChangeError: TargetedEvent<this, DataChangeErrorPayload>;
|
|
85
90
|
/**
|
|
86
91
|
* Event when there is change in histogram data popover.
|
|
@@ -2,29 +2,38 @@ import { c as k } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { debounce as y } from "lodash-es";
|
|
5
|
-
import { b as
|
|
5
|
+
import { b as p } from "../../chunks/series-types.js";
|
|
6
6
|
import { R as M } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { cN as I, aw as L, au as V } from "../../chunks/index.js";
|
|
9
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
11
|
+
import "@arcgis/core/Graphic.js";
|
|
12
|
+
import "@arcgis/core/intl.js";
|
|
13
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
14
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
15
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
16
|
+
import "simple-statistics";
|
|
17
|
+
import "@arcgis/core/request.js";
|
|
18
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
9
19
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
20
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
21
|
import "@arcgis/core/rest/support/Query.js";
|
|
12
22
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
13
23
|
import "@arcgis/core/time/TimeExtent.js";
|
|
14
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
15
|
-
import "@arcgis/core/request.js";
|
|
16
25
|
import "@arcgis/toolkit/dom";
|
|
17
26
|
import { r as T } from "../../chunks/popover-ui-utils.js";
|
|
18
|
-
import { H as m,
|
|
27
|
+
import { H as m, c as a, d } from "../../chunks/interfaces.js";
|
|
19
28
|
import { b as P, m as C, U as S, f as N, s as F, c as D, D as B } from "../../chunks/chart-ui-utils2.js";
|
|
20
29
|
import { d as _, s as H } from "../../chunks/store.js";
|
|
21
30
|
import { u as K } from "../../chunks/useT9n.js";
|
|
22
|
-
import { css as
|
|
31
|
+
import { css as z, html as r } from "lit";
|
|
23
32
|
import { createRef as b, ref as v } from "lit/directives/ref.js";
|
|
24
|
-
import { LitElement as
|
|
33
|
+
import { LitElement as A, createEvent as $, renderElement as U, safeStyleMap as w, safeClassMap as s } from "@arcgis/lumina";
|
|
25
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
26
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
27
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.41 */
|
|
28
37
|
const o = {
|
|
29
38
|
label: "label",
|
|
30
39
|
row: "row",
|
|
@@ -33,8 +42,8 @@ const o = {
|
|
|
33
42
|
sectionLabel: "section-label",
|
|
34
43
|
binTextPadding: "bin-text-padding",
|
|
35
44
|
histogramStatsList: "histogram-stats-list"
|
|
36
|
-
}, j =
|
|
37
|
-
class R extends
|
|
45
|
+
}, j = z`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.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{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}calcite-list-item{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor)}.label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.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);justify-content:space-between}.row{padding-top:1rem}.bin-count-container{display:flex;flex-wrap:wrap;padding:var(--arcgis-charts-config-margin-minor)}.bin-count-container>calcite-slider{flex-grow:10;min-width:50%}.bin-count-container>calcite-input{margin-bottom:.5rem;margin-top:var(--arcgis-charts-config-margin-minor);margin-left:var(--arcgis-charts-config-margin-minor);width:5rem}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.bin-text-padding{margin-left:var(--arcgis-charts-config-margin-minor)}.histogram-stats-list{pointer-events:none;margin-bottom:var(--arcgis-charts-config-margin-minor)}`;
|
|
46
|
+
class R extends A {
|
|
38
47
|
constructor() {
|
|
39
48
|
super(...arguments), this._messages = K(), this.numericalFieldSelectionElement = b(), this.transformationSelectionElement = b(), this.histogramPopover = null, this.binColorSectionElement = b(), this.binSliderElement = b(), this.binInputElement = b(), this.popoverHeading = "", this.onBinCountChange = y(() => {
|
|
40
49
|
const e = this.binInputElement.value?.value;
|
|
@@ -54,13 +63,13 @@ class R extends z {
|
|
|
54
63
|
e.stopImmediatePropagation(), this.onColorElementSelect(this.model.standardDevSymbol, this._messages.standardDevStyle ?? "", this.standardDevOverlayElement);
|
|
55
64
|
}, this.onModelConfigChange = () => {
|
|
56
65
|
this.requestUpdate();
|
|
57
|
-
}, this.updateProps =
|
|
66
|
+
}, this.updateProps = (e) => {
|
|
58
67
|
try {
|
|
59
68
|
if (e.detail !== null && e.detail !== void 0) {
|
|
60
69
|
const { contentKind: t } = e.detail, { value: i } = e.detail;
|
|
61
70
|
switch (_(H), t) {
|
|
62
71
|
case m.transformation:
|
|
63
|
-
this.model.dataTransformationType = i ??
|
|
72
|
+
this.model.dataTransformationType = i ?? p.None;
|
|
64
73
|
break;
|
|
65
74
|
case m.numericFields:
|
|
66
75
|
this.model.numericField = i ?? "";
|
|
@@ -70,7 +79,7 @@ class R extends z {
|
|
|
70
79
|
}
|
|
71
80
|
}
|
|
72
81
|
} catch (t) {
|
|
73
|
-
throw this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
82
|
+
throw t instanceof Error && this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
74
83
|
}
|
|
75
84
|
this.removeHistogramDataPopover(), this.requestUpdate();
|
|
76
85
|
}, this.updateSymbolProps = (e) => {
|
|
@@ -96,7 +105,7 @@ class R extends z {
|
|
|
96
105
|
}, this.binColorSelected = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError = $(), this.arcgisChartsConfigHistogramDataPopoverChange = $();
|
|
97
106
|
}
|
|
98
107
|
static {
|
|
99
|
-
this.properties = { binColorSelected: 16, selectedBinColorSymbol: 16, selectedOverlaySymbol: 16, selectedNumericalField: 16, selectedTransformationType: 16, selectedOverlaySymbolType:
|
|
108
|
+
this.properties = { binColorSelected: 16, selectedBinColorSymbol: 16, selectedOverlaySymbol: 16, selectedNumericalField: 16, selectedTransformationType: 16, selectedOverlaySymbolType: 1, messageOverrides: 0, model: 0, meanValue: 9, medianValue: 9, standardDevValue: 9, minValue: 9, maxValue: 9, sumValue: 9, nullsValue: 9, countValue: 9, layerFieldsInfo: 0, open: 5 };
|
|
100
109
|
}
|
|
101
110
|
static {
|
|
102
111
|
this.styles = j;
|
|
@@ -125,13 +134,13 @@ class R extends z {
|
|
|
125
134
|
getDataTransformationLabel() {
|
|
126
135
|
let e;
|
|
127
136
|
switch (this.model.dataTransformationType) {
|
|
128
|
-
case
|
|
137
|
+
case p.None:
|
|
129
138
|
e = this._messages.none ?? "";
|
|
130
139
|
break;
|
|
131
|
-
case
|
|
140
|
+
case p.Log:
|
|
132
141
|
e = this._messages.log ?? "";
|
|
133
142
|
break;
|
|
134
|
-
case
|
|
143
|
+
case p.Sqrt:
|
|
135
144
|
e = this._messages.sqRt ?? "";
|
|
136
145
|
break;
|
|
137
146
|
default:
|
|
@@ -244,12 +253,12 @@ class R extends z {
|
|
|
244
253
|
return r`<arcgis-charts-config-field-select .label=${this.getDataTransformationLabel()} @click=${this.onTransformationSelect} ${v(this.transformationSelectionElement)}></arcgis-charts-config-field-select>`;
|
|
245
254
|
}
|
|
246
255
|
renderColorListItem(e) {
|
|
247
|
-
const { textLabel: t, key: i, value: c, selected: l, ref: n, colorAction: h, color: g } = e, [
|
|
248
|
-
return f(i, r`<calcite-list-item .label=${t ?? ""} .value=${c} .selected=${l} ${v(n ?? void 0)}><calcite-action text=color slot=actions-end appearance=transparent @click=${h}><calcite-icon icon=line-solid style=${
|
|
256
|
+
const { textLabel: t, key: i, value: c, selected: l, ref: n, colorAction: h, color: g } = e, [u, O, E, x] = [...g ?? L()];
|
|
257
|
+
return f(i, r`<calcite-list-item .label=${t ?? ""} .value=${c} .selected=${l} ${v(n ?? void 0)}><calcite-action text=color slot=actions-end appearance=transparent @click=${h}><calcite-icon icon=line-solid style=${w(u !== void 0 ? { color: `rgba(${u},${O},${E},${(x ?? 0) / 255})` } : {})}></calcite-icon></calcite-action></calcite-list-item>`);
|
|
249
258
|
}
|
|
250
259
|
renderBinColorElement() {
|
|
251
260
|
const [e, t, i, c] = [...this.model.binSymbol?.color ?? V(0)];
|
|
252
|
-
return r`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .label=${this._messages.binColor} value=selectTrendLine .selected=${this.binColorSelected} @click=${this.onBinColorSelect} ${v(this.binColorSectionElement)}><calcite-icon slot=content-end icon=square-f style=${
|
|
261
|
+
return r`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .label=${this._messages.binColor} value=selectTrendLine .selected=${this.binColorSelected} @click=${this.onBinColorSelect} ${v(this.binColorSectionElement)}><calcite-icon slot=content-end icon=square-f style=${w({ color: `rgba(${e},${t},${i},${c / 255})` })} class=${s(o.iconSelect)}></calcite-icon></calcite-list-item></calcite-list>`;
|
|
253
262
|
}
|
|
254
263
|
renderNormalDistOverlay() {
|
|
255
264
|
return this.normalDistOverlayVisible = this.model.showNormalDistOverlay, this.renderColorListItem({
|
|
@@ -324,7 +333,7 @@ class R extends z {
|
|
|
324
333
|
}
|
|
325
334
|
render() {
|
|
326
335
|
const e = this.renderFieldSelect(), t = this.renderDataTransformationType();
|
|
327
|
-
return r`<div
|
|
336
|
+
return r`<div class=${s(o.sectionLabel)}>${this._messages.variables}</div><calcite-label class=${s(o.label)}>${this._messages.number}${e}</calcite-label><calcite-label class=${s(o.label)}>${this._messages.withTransformation}${t}</calcite-label><div class=${s(o.sectionLabel)}>${this._messages.bins}</div><p class=${s(o.binTextPadding)}>${this._messages.numberOfBins}</p>${this.renderBinsSection()}${this.renderBinColorElement()}<div class=${s(o.sectionLabel)}>${this._messages.overlays}</div>${this.renderOverlayList()}${this.renderShowDataLabels()}<div class=${s(o.sectionLabel)}>${this._messages.statistics}</div>${this.renderStats()}`;
|
|
328
337
|
}
|
|
329
338
|
}
|
|
330
339
|
k("arcgis-charts-config-histogram-data", R);
|
|
@@ -80,6 +80,11 @@ export declare class ArcgisChartsConfigHistogramPopover extends LitElement {
|
|
|
80
80
|
* @category Public
|
|
81
81
|
*/
|
|
82
82
|
reposition(): Promise<void>;
|
|
83
|
+
/**
|
|
84
|
+
* Event emitted when the popover is closed.
|
|
85
|
+
*
|
|
86
|
+
* @event
|
|
87
|
+
*/
|
|
83
88
|
readonly arcgisChartsConfigHistogramPopoverChange: TargetedEvent<this, {
|
|
84
89
|
contentKind: HistogramDataPopoverKinds | undefined;
|
|
85
90
|
value: any;
|