@arcgis/charts-components 5.0.0-next.4 → 5.0.0-next.42
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/{IRZKAIIT.js → 23BP7J3J.js} +2 -2
- package/dist/cdn/{MCECYQEL.js → 27EN4MMO.js} +1 -1
- package/dist/cdn/2CJYKP5R.js +4 -0
- package/dist/cdn/2FFEC733.js +4 -0
- package/dist/cdn/{CJ275XU4.js → 2MNYW2BK.js} +2 -2
- package/dist/cdn/2NNXEDFO.js +4 -0
- package/dist/cdn/2P7VWK5U.js +4 -0
- package/dist/cdn/{S7PVBK5H.js → 2VR2AAFU.js} +2 -2
- package/dist/cdn/324FN4VA.js +4 -0
- package/dist/cdn/33ZNBSPZ.js +4 -0
- package/dist/cdn/{CFG6BWHU.js → 3P5MB5SI.js} +2 -2
- package/dist/cdn/{JI4UNOYW.js → 3Q5FZ6Y5.js} +2 -2
- package/dist/cdn/3QB5F25Z.js +4 -0
- package/dist/cdn/3RHDQAKH.js +4 -0
- package/dist/cdn/3RTTWY2T.js +4 -0
- package/dist/cdn/{4LXKAKH2.js → 46PFIWXL.js} +2 -2
- package/dist/cdn/{6OOD4LGL.js → 4BKAOSJT.js} +2 -2
- package/dist/cdn/{JYOVFITP.js → 4BOVZRXK.js} +2 -2
- package/dist/cdn/4CFM3HK3.js +4 -0
- package/dist/cdn/4DYIRSPX.js +4 -0
- package/dist/cdn/4GN5B4H7.js +4 -0
- package/dist/cdn/4IKPFSZB.js +4 -0
- package/dist/cdn/{ETWNVAK6.js → 4IM57YI4.js} +2 -2
- package/dist/cdn/4NDH2KXT.js +4 -0
- package/dist/cdn/4PJAS6WR.js +4 -0
- package/dist/cdn/{S4T5AQ4M.js → 4QJSZUMD.js} +2 -2
- package/dist/cdn/{XGDUULNK.js → 4XA7NYTT.js} +2 -2
- package/dist/cdn/4ZF4J4CO.js +4 -0
- package/dist/cdn/4ZHADPUO.js +4 -0
- package/dist/cdn/5424GNYE.js +4 -0
- package/dist/cdn/{YDAIHWZS.js → 5D4M7WLR.js} +2 -2
- package/dist/cdn/5HGFV45P.js +4 -0
- package/dist/cdn/636S2GYM.js +4 -0
- package/dist/cdn/{7JODQO5M.js → 6CCZMDGP.js} +2 -2
- package/dist/cdn/6DCZUWOC.js +4 -0
- package/dist/cdn/{L7Q66XTZ.js → 6HMCETVU.js} +2 -2
- package/dist/cdn/{6RITOQRE.js → 6J75BACN.js} +2 -2
- package/dist/cdn/75P5CNL6.js +4 -0
- package/dist/cdn/76SUJNXZ.js +4 -0
- package/dist/cdn/{DH6JYYIL.js → 7DDSQXOV.js} +2 -2
- package/dist/cdn/{VE4GUPP2.js → 7FTD3UBT.js} +2 -2
- package/dist/cdn/7HAAEQFY.js +4 -0
- package/dist/cdn/{FQBAURSX.js → 7JE77EWX.js} +2 -2
- package/dist/cdn/7WUYXW5X.js +4 -0
- package/dist/cdn/A2IQ7IX7.js +4 -0
- package/dist/cdn/AGYWWXKP.js +4 -0
- package/dist/cdn/AKUZFXLE.js +4 -0
- package/dist/cdn/{DQK7BSUW.js → ARV2ETE2.js} +2 -2
- package/dist/cdn/{3RWMBH3I.js → B2LNOYNN.js} +2 -2
- package/dist/cdn/B5ZYGPTM.js +4 -0
- package/dist/cdn/BKJJCG3W.js +4 -0
- package/dist/cdn/BN2LANTG.js +4 -0
- package/dist/cdn/BXRCILI6.js +4 -0
- package/dist/cdn/{X22T3KKM.js → CA3GGQGW.js} +2 -2
- package/dist/cdn/{JFSAPOGV.js → CMHTYOYY.js} +2 -2
- package/dist/cdn/{GWMAIDFR.js → CPFBWPIM.js} +2 -2
- package/dist/cdn/CRLIXD3T.js +4 -0
- package/dist/cdn/CZJD3ZL4.js +4 -0
- package/dist/cdn/D3VFLBE6.js +4 -0
- package/dist/cdn/DMJLD24S.js +4 -0
- package/dist/cdn/DOVKMPXH.js +4 -0
- package/dist/cdn/{JAT727M4.js → DTVF7FOX.js} +2 -2
- package/dist/cdn/DUIVRMLJ.js +4 -0
- package/dist/cdn/EB6TNULS.js +4 -0
- package/dist/cdn/{G2YNALPI.js → EDDW4TRJ.js} +2 -2
- package/dist/cdn/EFM7QME4.js +4 -0
- package/dist/cdn/EHYLRSNQ.js +4 -0
- package/dist/cdn/{4MH6EDOJ.js → EL4377PV.js} +2 -2
- package/dist/cdn/EM23MVSL.js +4 -0
- package/dist/cdn/EQGTUATN.js +4 -0
- package/dist/cdn/FATULKRI.js +4 -0
- package/dist/cdn/{DVQHHAGO.js → FJ5C3P7X.js} +2 -2
- package/dist/cdn/{I37V2JO3.js → FQJQS7SD.js} +2 -2
- package/dist/cdn/{B6YQ4QEG.js → FRZ3BASO.js} +2 -2
- package/dist/cdn/FUJJWTTH.js +4 -0
- package/dist/cdn/G2EZCHK4.js +4 -0
- package/dist/cdn/G2YV5RKB.js +4 -0
- package/dist/cdn/{XV3PGOV6.js → G4SMYPYO.js} +2 -2
- package/dist/cdn/GEAT4GWR.js +4 -0
- package/dist/cdn/GGVEJRBE.js +4 -0
- package/dist/cdn/GJIRVBCD.js +4 -0
- package/dist/cdn/{GSQPRROD.js → GTOLQFOO.js} +1 -1
- package/dist/cdn/{3MBGYMFR.js → H2HMORP3.js} +2 -2
- package/dist/cdn/HEBBDRKG.js +4 -0
- package/dist/cdn/HMPMOR2W.js +4 -0
- package/dist/cdn/{VZFHCTN6.js → HWHCR4XP.js} +2 -2
- package/dist/cdn/{ENFYCO6Y.js → I6GFNM62.js} +2 -2
- package/dist/cdn/{JX5UB5EC.js → IC3NQVZC.js} +2 -2
- package/dist/cdn/IF4BXNPM.js +4 -0
- package/dist/cdn/IIC333MB.js +6 -0
- package/dist/cdn/ISKI56BG.js +4 -0
- package/dist/cdn/{5VHSBJY5.js → IVABGNNQ.js} +2 -2
- package/dist/cdn/{42JULKHJ.js → JXUHPOCG.js} +2 -2
- package/dist/cdn/{X36VPED7.js → KWFO56N2.js} +2 -2
- package/dist/cdn/{R42W4J6D.js → L5X2F6PK.js} +2 -2
- package/dist/cdn/{BX2R4UF4.js → L7JUL45N.js} +2 -2
- package/dist/cdn/LDS7IG3K.js +4 -0
- package/dist/cdn/LMDCA24L.js +4 -0
- package/dist/cdn/LUOYSBNA.js +4 -0
- package/dist/cdn/MAHUSLDA.js +4 -0
- package/dist/cdn/MI5JMKZT.js +4 -0
- package/dist/cdn/{J4MDZ7ET.js → MNC73CMP.js} +2 -2
- package/dist/cdn/MUCHTIH4.js +4 -0
- package/dist/cdn/MV5PGTND.js +42 -0
- package/dist/cdn/MXNUOJJO.js +4 -0
- package/dist/cdn/{O46V6LSJ.js → MYMIV37B.js} +2 -2
- package/dist/cdn/NA7PVPS4.js +4 -0
- package/dist/cdn/NCBLL6AR.js +4 -0
- package/dist/cdn/NDXW2RTX.js +4 -0
- package/dist/cdn/NHCMKKFB.js +4 -0
- package/dist/cdn/NKZD5HJU.js +4 -0
- package/dist/cdn/NSXBWLED.js +4 -0
- package/dist/cdn/NYDAAPUI.js +4 -0
- package/dist/cdn/OKXPLBH2.js +4 -0
- package/dist/cdn/OQEQSDMX.js +4 -0
- package/dist/cdn/P2HPWKNC.js +4 -0
- package/dist/cdn/{AISJHTWW.js → P3VXV2NM.js} +2 -2
- package/dist/cdn/{BPIKEEVZ.js → Q7WGV65P.js} +1 -1
- package/dist/cdn/{XUDQTQ2B.js → QFKW763T.js} +2 -2
- package/dist/cdn/QLZKMEJR.js +4 -0
- package/dist/cdn/{SS2WV4YY.js → QVLL3HWJ.js} +2 -2
- package/dist/cdn/R5AZF5B2.js +4 -0
- package/dist/cdn/RKCV3SQQ.js +4 -0
- package/dist/cdn/RSEOOILA.js +4 -0
- package/dist/cdn/{YBCMFT4P.js → RV4BOFWS.js} +2 -2
- package/dist/cdn/RVBUIIDC.js +4 -0
- package/dist/cdn/{6Y2WTGYS.js → RWD7PAYU.js} +1 -1
- package/dist/cdn/{J6LD6RWO.js → SD54GBC2.js} +2 -2
- package/dist/cdn/SHLVYIU6.js +4 -0
- package/dist/cdn/SMEEFZLP.js +4 -0
- package/dist/cdn/{Y3L2K7EC.js → SNBDA5XK.js} +2 -2
- package/dist/cdn/{KLVSGHXQ.js → SQHVIYQB.js} +1 -1
- package/dist/cdn/SRTNL3QI.js +4 -0
- package/dist/cdn/{4Y76B53C.js → STTNYOA4.js} +1 -1
- package/dist/cdn/SU63VSWH.js +4 -0
- package/dist/cdn/{ZEDBVEQU.js → T5ONIZ2L.js} +2 -2
- package/dist/cdn/TBTZ2GX7.js +4 -0
- package/dist/cdn/{4EAY23CO.js → TCEW3S2Q.js} +2 -2
- package/dist/cdn/{WTLGREJQ.js → TJNDHM3W.js} +2 -2
- package/dist/cdn/TL2TLVEE.js +4 -0
- package/dist/cdn/{EEA6D5WP.js → TL7KW76E.js} +2 -2
- package/dist/cdn/TLEN6ISK.js +4 -0
- package/dist/cdn/TNXL3QAS.js +4 -0
- package/dist/cdn/TXAVRTOV.js +58 -0
- package/dist/cdn/U4YDTBPQ.js +4 -0
- package/dist/cdn/{DWBQZV5P.js → URZEK6GI.js} +2 -2
- package/dist/cdn/{RH5OUTAK.js → UT2XQ6MS.js} +2 -2
- package/dist/cdn/UUTYM5NH.js +4 -0
- package/dist/cdn/{VHG2HOUR.js → UYDY3K6D.js} +1 -1
- package/dist/cdn/UYIXVVBM.js +4 -0
- package/dist/cdn/VFCYMUSV.js +4 -0
- package/dist/cdn/VMXJ4IDL.js +4 -0
- package/dist/cdn/VVJ3KZ5T.js +4 -0
- package/dist/cdn/{QJARG3WZ.js → VX2JGZIO.js} +2 -2
- package/dist/cdn/W6PLN5C2.js +4 -0
- package/dist/cdn/{QTKLPYRG.js → W7OAVHYC.js} +2 -2
- package/dist/cdn/{EYJ7E6M7.js → W7WSNFTV.js} +2 -2
- package/dist/cdn/WNFGFY2S.js +4 -0
- package/dist/cdn/WNFYVZVG.js +4 -0
- package/dist/cdn/WWKWK4B6.js +4 -0
- package/dist/cdn/WXKT2AG2.js +4 -0
- package/dist/cdn/{UJIV2GMU.js → X4H4RBYA.js} +2 -2
- package/dist/cdn/X7W57GSM.js +4 -0
- package/dist/cdn/{B4OGLXF4.js → XBBHVZ25.js} +2 -2
- package/dist/cdn/XCGHWSFI.js +4 -0
- package/dist/cdn/XLEXQ3RY.js +4 -0
- package/dist/cdn/{4HN3TSXU.js → XQY4AL4K.js} +2 -2
- package/dist/cdn/XRZ2XSGM.js +4 -0
- package/dist/cdn/XTPFWVER.js +4 -0
- package/dist/cdn/{RQWOQMQU.js → XYHKFNKH.js} +2 -2
- package/dist/cdn/Y6G4P3KK.js +4 -0
- package/dist/cdn/YBTGAQJ2.js +4 -0
- package/dist/cdn/{J5NQV6XX.js → YLUZCRRG.js} +2 -2
- package/dist/cdn/{I5BOKXFX.js → YO5WHYVO.js} +2 -2
- package/dist/cdn/YPGRHGFA.js +4 -0
- package/dist/cdn/Z457REJ7.js +4 -0
- package/dist/cdn/Z5PN3JQR.js +4 -0
- package/dist/cdn/ZJFB5WDL.js +4 -0
- package/dist/cdn/{7TE6OUWS.js → ZLW36FK2.js} +2 -2
- package/dist/cdn/ZO2HZH2Z.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,105 +1,112 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { repeat as
|
|
3
|
-
import { keyed as
|
|
4
|
-
import { createModel as
|
|
5
|
-
import { b
|
|
1
|
+
import { c as N } from "../../chunks/runtime.js";
|
|
2
|
+
import { repeat as V } from "lit/directives/repeat.js";
|
|
3
|
+
import { keyed as $ } from "lit/directives/keyed.js";
|
|
4
|
+
import { createModel as U } from "../../model.js";
|
|
5
|
+
import { b, a as S, f as _, p as v, k as z, j as T } from "../../chunks/type-guards.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
|
-
import { isEqual as
|
|
8
|
-
import { W as o, i as
|
|
9
|
-
import {
|
|
7
|
+
import { isEqual as w } from "lodash-es";
|
|
8
|
+
import { W as o, i as O } from "../../chunks/series-types.js";
|
|
9
|
+
import { S as D, d3 as k, cQ as E, da as R, a9 as W } from "../../chunks/index.js";
|
|
10
10
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
12
|
import "@arcgis/core/rest/support/Query.js";
|
|
13
13
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
14
14
|
import "@arcgis/core/time/TimeExtent.js";
|
|
15
|
-
import "@arcgis/core/
|
|
15
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
16
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
17
|
+
import "@arcgis/core/Graphic.js";
|
|
18
|
+
import "d3-array";
|
|
19
|
+
import { substitute as H } from "@arcgis/core/intl.js";
|
|
20
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
21
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
22
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
23
|
+
import "simple-statistics";
|
|
16
24
|
import "@arcgis/core/request.js";
|
|
25
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
26
|
+
import "@arcgis/core/core/promiseUtils.js";
|
|
17
27
|
import "@arcgis/toolkit/dom";
|
|
18
|
-
import { C } from "../../chunks/
|
|
19
|
-
import { a as
|
|
20
|
-
import { r as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import "
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import { A as J } from "../../chunks/axis-model-wrapper.js";
|
|
31
|
-
import { d as ee } from "../../chunks/chart-ui-utils2.js";
|
|
32
|
-
import { C as te } from "../../chunks/interfaces4.js";
|
|
28
|
+
import { C as f } from "../../chunks/index4.js";
|
|
29
|
+
import { a as L } from "../../chunks/chart-ui-utils.js";
|
|
30
|
+
import { r as G } from "../../chunks/popover-ui-utils.js";
|
|
31
|
+
import { C as l } from "../../chunks/interfaces.js";
|
|
32
|
+
import { LitElement as X, createEvent as y, renderElement as I, safeStyleMap as Z, safeClassMap as d } from "@arcgis/lumina";
|
|
33
|
+
import { css as j, html as h } from "lit";
|
|
34
|
+
import { createRef as K, ref as q } from "lit/directives/ref.js";
|
|
35
|
+
import { u as P } from "../../chunks/useT9n.js";
|
|
36
|
+
import { a as Q, s as x, b as Y } from "../../chunks/store.js";
|
|
37
|
+
import { h as J, a as M, s as ee } from "../../chunks/web-component-utils.js";
|
|
38
|
+
import { A as te } from "../../chunks/axis-model-wrapper.js";
|
|
39
|
+
import { d as ae } from "../../chunks/chart-ui-utils2.js";
|
|
33
40
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
34
41
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
35
|
-
v5.0.0-next.
|
|
36
|
-
const
|
|
42
|
+
v5.0.0-next.42 */
|
|
43
|
+
const m = {
|
|
37
44
|
chartUIComponent: "chart-ui-component",
|
|
38
45
|
tabBar: "tab-bar",
|
|
39
46
|
tab: "tab"
|
|
40
47
|
};
|
|
41
|
-
function
|
|
48
|
+
function B(p, e) {
|
|
42
49
|
const a = /* @__PURE__ */ new Set();
|
|
43
50
|
let t = e;
|
|
44
|
-
return
|
|
51
|
+
return p?.forEach((i, s) => {
|
|
45
52
|
const r = i.chartId;
|
|
46
53
|
(a.has(r) || r === void 0 || r === "") && (i.chartId = `Chart_${Date.now()}_${s}`, e === r && (t = i.chartId)), a.add(r);
|
|
47
54
|
}), t;
|
|
48
55
|
}
|
|
49
|
-
function
|
|
50
|
-
return
|
|
56
|
+
function ie(p, e, a) {
|
|
57
|
+
return p?.filter((t) => E(a, t.config) && t.layer?.id === e) ?? [];
|
|
51
58
|
}
|
|
52
|
-
function
|
|
53
|
-
const { modelList: e, layerList: a, activeLayerId: t, disableEditing: i } =
|
|
59
|
+
function se(p) {
|
|
60
|
+
const { modelList: e, layerList: a, activeLayerId: t, disableEditing: i } = p, s = /* @__PURE__ */ new Map();
|
|
54
61
|
return e?.forEach((r) => {
|
|
55
|
-
const
|
|
56
|
-
|
|
62
|
+
const n = r.layer;
|
|
63
|
+
n && s.set(n.id, n);
|
|
57
64
|
}), i || a.forEach((r) => s.set(r.id, r)), Array.from(s.values()).filter((r) => !t || r.id === t);
|
|
58
65
|
}
|
|
59
|
-
function
|
|
60
|
-
|
|
66
|
+
function re(p, e) {
|
|
67
|
+
p.forEach((a) => {
|
|
61
68
|
e.forEach((t) => {
|
|
62
|
-
a?.id === t.layer?.id &&
|
|
69
|
+
a?.id === t.layer?.id && F(a, t);
|
|
63
70
|
});
|
|
64
71
|
});
|
|
65
72
|
}
|
|
66
|
-
function
|
|
67
|
-
const a =
|
|
73
|
+
function F(p, e) {
|
|
74
|
+
const a = p;
|
|
68
75
|
if (a) {
|
|
69
76
|
const t = [...a?.charts ?? []], i = t?.findIndex((r) => r.id === e.chartId);
|
|
70
77
|
let s = !1;
|
|
71
|
-
i !== void 0 && i > -1 ? (s = !
|
|
78
|
+
i !== void 0 && i > -1 ? (s = !w(t[i], e.config), t[i] = e.config) : a && !D(e.config) && (s = !0, t.push(e.config)), s && (a.charts = t);
|
|
72
79
|
}
|
|
73
80
|
}
|
|
74
|
-
function
|
|
75
|
-
const a =
|
|
81
|
+
function oe(p, e) {
|
|
82
|
+
const a = p;
|
|
76
83
|
if (a) {
|
|
77
84
|
const t = [...a.charts ?? []], i = t.findIndex((s) => s.id === e);
|
|
78
85
|
i > -1 && (t.splice(i, 1), a.charts = t);
|
|
79
86
|
}
|
|
80
87
|
}
|
|
81
|
-
function
|
|
82
|
-
const a =
|
|
88
|
+
function le(p, e) {
|
|
89
|
+
const a = p;
|
|
83
90
|
if (a) {
|
|
84
91
|
let t = [...a.charts ?? []];
|
|
85
|
-
t =
|
|
92
|
+
t = k({
|
|
86
93
|
arrayA: t,
|
|
87
94
|
arrayB: e.map((i) => i.config),
|
|
88
95
|
getKey: (i) => i.id ?? i.title?.content.text ?? ""
|
|
89
96
|
}), a.charts = t;
|
|
90
97
|
}
|
|
91
98
|
}
|
|
92
|
-
const ne =
|
|
93
|
-
class
|
|
99
|
+
const ne = j`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
|
|
100
|
+
class ce extends X {
|
|
94
101
|
constructor() {
|
|
95
|
-
super(), this.selectChartTypePopover = null, this.chartsListFlowItem =
|
|
102
|
+
super(), this.selectChartTypePopover = null, this.chartsListFlowItem = K(), this.supportedChartTypes = [
|
|
96
103
|
o.BarSeries,
|
|
97
104
|
o.BoxPlotSeries,
|
|
98
105
|
o.LineSeries,
|
|
99
106
|
o.PieSeries,
|
|
100
107
|
o.HistogramSeries,
|
|
101
108
|
o.ScatterSeries
|
|
102
|
-
], this._messages =
|
|
109
|
+
], this._messages = P(), this.commonStrings = P({ name: "common", blocking: !0 }), this.chartDataProcessComplete = (e) => {
|
|
103
110
|
const a = e, { chartData: t, model: i } = a.detail, s = this.getModel(this.selectedChartId);
|
|
104
111
|
if (i?.isSameChartAs(s))
|
|
105
112
|
switch (s?.chartType) {
|
|
@@ -111,25 +118,25 @@ class le extends G {
|
|
|
111
118
|
break;
|
|
112
119
|
}
|
|
113
120
|
case o.ScatterSeries: {
|
|
114
|
-
const
|
|
115
|
-
let
|
|
116
|
-
Number.isFinite(g) || (
|
|
121
|
+
const n = t, { dataItems: c, r2: g, aggregated: u } = n;
|
|
122
|
+
let C = g;
|
|
123
|
+
Number.isFinite(g) || (C = void 0), this.r2 = C, _(i) && (i.dataStore.r2 = C, i.dataStore.aggregated = u, u && (i.additionalTooltipField = void 0)), this.calculatedDataMinMaxBounds = this.getDataExtent(c), i && (i.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds);
|
|
117
124
|
break;
|
|
118
125
|
}
|
|
119
126
|
case o.LineSeries:
|
|
120
127
|
case o.BarSeries: {
|
|
121
|
-
const { dataItems:
|
|
122
|
-
if ((
|
|
123
|
-
const g = s.xAxisField, u =
|
|
124
|
-
u &&
|
|
128
|
+
const { dataItems: n, timeIntervalInfo: c } = t;
|
|
129
|
+
if ((b(s) || S(s) && s.binTemporalData) && (c?.size !== void 0 && s.temporalBinningSize !== c?.size && (s.temporalBinningSize = c?.size), c?.unit !== void 0 && s.temporalBinningUnit !== c?.unit && c?.unit !== O.Quarter && (s.temporalBinningUnit = c?.unit), c?.size !== void 0 && c?.unit !== void 0 && Q(x, { size: c.size, unit: c.unit })), this.calculatedDataMinMaxBounds = this.getDataExtent(n), i && (i.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds), S(s)) {
|
|
130
|
+
const g = s.xAxisField, u = n.some((A) => A[g] === null), C = s.nullCategory;
|
|
131
|
+
u && C === void 0 && (s.nullCategory = R.nullCategory);
|
|
125
132
|
}
|
|
126
133
|
break;
|
|
127
134
|
}
|
|
128
135
|
}
|
|
129
136
|
}, this.chartAxesMinMaxChange = (e) => {
|
|
130
|
-
const a = e, { bounds: t, model: i } = a.detail, s = this.getModel(this.selectedChartId), r = i?.isSameChartAs(s),
|
|
137
|
+
const a = e, { bounds: t, model: i } = a.detail, s = this.getModel(this.selectedChartId), r = i?.isSameChartAs(s), n = s?.chartType;
|
|
131
138
|
if (r)
|
|
132
|
-
switch (
|
|
139
|
+
switch (n) {
|
|
133
140
|
case o.BarSeries:
|
|
134
141
|
case o.BoxPlotSeries:
|
|
135
142
|
case o.LineSeries:
|
|
@@ -149,29 +156,29 @@ class le extends G {
|
|
|
149
156
|
this.seriesColor = t, i && (i.dataStore.seriesColor = t);
|
|
150
157
|
break;
|
|
151
158
|
case o.PieSeries: {
|
|
152
|
-
const
|
|
153
|
-
this.seriesColor =
|
|
159
|
+
const n = /* @__PURE__ */ new Map([[0, t]]);
|
|
160
|
+
this.seriesColor = n, i && (i.dataStore.seriesColor = n);
|
|
154
161
|
break;
|
|
155
162
|
}
|
|
156
163
|
case o.ScatterSeries:
|
|
157
164
|
}
|
|
158
165
|
}, this.chartNoRenderPropChange = (e) => {
|
|
159
|
-
const a = e, { propName: t, value: i, model: s } = a.detail, r = this.modelList.find((
|
|
166
|
+
const a = e, { propName: t, value: i, model: s } = a.detail, r = this.modelList.find((n) => s?.isSameChartAs(n));
|
|
160
167
|
if (r)
|
|
161
168
|
switch (t) {
|
|
162
169
|
case "rotation":
|
|
163
|
-
typeof i == "boolean" &&
|
|
170
|
+
typeof i == "boolean" && z(r) && (r.rotatedState = i);
|
|
164
171
|
break;
|
|
165
172
|
case "legendPosition":
|
|
166
|
-
typeof i == "string" &&
|
|
173
|
+
typeof i == "string" && v(r) && (r.legendPosition = i);
|
|
167
174
|
break;
|
|
168
175
|
case "legendVisibility":
|
|
169
|
-
typeof i == "boolean" &&
|
|
176
|
+
typeof i == "boolean" && v(r) && (r.legendVisibility = i);
|
|
170
177
|
break;
|
|
171
178
|
}
|
|
172
|
-
}, this.chartLegendItemVisibilityChange =
|
|
179
|
+
}, this.chartLegendItemVisibilityChange = (e) => {
|
|
173
180
|
const a = e, { legendItemVisibility: t, model: i } = a.detail, s = this.modelList.find((r) => i?.isSameChartAs(r));
|
|
174
|
-
s?.setSeriesVisibility(t),
|
|
181
|
+
s?.setSeriesVisibility(t), T(s) && ((s.getMinBound(1) === null || Number.isNaN(s.getMinBound(1))) && s.setMinBound(null, 1), (s.getMaxBound(1) === null || Number.isNaN(s.getMaxBound(1))) && s.setMaxBound(null, 1), b(s) && ((s.getMinBound(0) === null || Number.isNaN(s.getMinBound(0))) && s.setMinBound(null, 0), (s.getMaxBound(0) === null || Number.isNaN(s.getMaxBound(0))) && s.setMaxBound(null, 0)));
|
|
175
182
|
}, this.onSelectChartTypeChange = (e) => {
|
|
176
183
|
this.currentChartTypeText = "", this.calculatedDataMinMaxBounds = void 0, this.calculatedMinMaxBounds = void 0, this.removeSelectChartTypePopover();
|
|
177
184
|
const { selectedModelType: a, layerId: t } = e.target;
|
|
@@ -185,37 +192,34 @@ class le extends G {
|
|
|
185
192
|
}, this.onModelConfigChange = (e) => {
|
|
186
193
|
if (this.syncChartsToLayers && this.allowChartSyncing) {
|
|
187
194
|
const a = e.target;
|
|
188
|
-
|
|
195
|
+
F(a?.layer, a);
|
|
189
196
|
}
|
|
190
197
|
this.requestUpdate();
|
|
191
|
-
}, this.allowChartSyncing = !1, this.currentChartTypeText = "", this.modelList = [], this.layerList = [], this.disableEditing = !1, this.syncChartsToLayers = !1, this.panelNumber = 0, this.arcgisChartsConfigChartViewChartClose = y(), this.arcgisChartsConfigModelListChange = y(), this.arcgisChartsConfigNewChart = y(), this.arcgisChartsConfigPanelNumberChange = y(), this.arcgisChartsConfigSelectedChartChange = y(), this.listen("arcgisChartsConfigModelListReorder", this.modelListReorderChangeListener);
|
|
198
|
+
}, this.allowChartSyncing = !1, this.currentChartTypeText = "", this.modelList = [], this.layerList = [], this.disableEditing = !1, this.syncChartsToLayers = !1, this.panelNumber = 0, this.arcgisChartsConfigChartViewChartClose = y(), this.arcgisChartsConfigModelListChange = y(), this.arcgisChartsConfigNewChart = y(), this.arcgisChartsConfigPanelNumberChange = y(), this.arcgisChartsConfigSelectedChartChange = y(), this.addChartEventListeners(), this.listen("arcgisChartsConfigModelListReorder", this.modelListReorderChangeListener);
|
|
192
199
|
}
|
|
193
200
|
static {
|
|
194
|
-
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged: M }], layerList: [0, { hasChanged: M }], selectedChartId:
|
|
201
|
+
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged: M }], layerList: [0, { hasChanged: M }], selectedChartId: 1, activeLayerId: 1, disableEditing: 5, syncChartsToLayers: 5, timeZone: 1, headerTitle: 1, open: 5, chartData: [0, { hasChanged: M }], r2: 9, calculatedDataMinMaxBounds: [0, { hasChanged: M }], calculatedMinMaxBounds: [0, { hasChanged: M }], seriesColor: [0, { hasChanged: J }], popoverPlacement: 1, usePopupTemplateFieldsInfo: 5, panelNumber: 9, filterBySelection: 5 };
|
|
195
202
|
}
|
|
196
203
|
static {
|
|
197
204
|
this.styles = ne;
|
|
198
205
|
}
|
|
199
206
|
async setFocus() {
|
|
200
|
-
this.chartsListFlowItem.value?.setFocus();
|
|
201
|
-
}
|
|
202
|
-
connectedCallback() {
|
|
203
|
-
super.connectedCallback(), this.addChartEventListeners();
|
|
207
|
+
await this.chartsListFlowItem.value?.setFocus();
|
|
204
208
|
}
|
|
205
209
|
async load() {
|
|
206
210
|
await this.layerListChange();
|
|
207
211
|
const e = this.getModel(this.selectedChartId);
|
|
208
212
|
this.setEventBasedPropsFromModelData(e);
|
|
209
213
|
}
|
|
210
|
-
|
|
211
|
-
e.has("layerList") &&
|
|
214
|
+
willUpdate(e) {
|
|
215
|
+
e.has("layerList") && this.layerListChange(), e.has("panelNumber") && this.panelNumberChange(this.panelNumber), e.has("modelList") && this.modelListChange(this.modelList, e.get("modelList")), e.has("selectedChartId") && this.selectedChartIdChange(this.selectedChartId);
|
|
212
216
|
}
|
|
213
217
|
disconnectedCallback() {
|
|
214
|
-
super.disconnectedCallback(), this.clearPartialModels(), this.removeSelectChartTypePopover()
|
|
218
|
+
super.disconnectedCallback(), this.clearPartialModels(), this.removeSelectChartTypePopover();
|
|
215
219
|
}
|
|
216
220
|
modelListReorderChangeListener(e) {
|
|
217
221
|
const { modelList: a } = e.detail;
|
|
218
|
-
if (this.modelList =
|
|
222
|
+
if (this.modelList = k({
|
|
219
223
|
arrayA: this.modelList,
|
|
220
224
|
arrayB: a,
|
|
221
225
|
getKey: (t) => t.chartId ?? t.titleText ?? ""
|
|
@@ -223,7 +227,7 @@ class le extends G {
|
|
|
223
227
|
const t = a.find((i) => i.layer?.id !== void 0)?.layer?.id;
|
|
224
228
|
if (t) {
|
|
225
229
|
const i = this.layerList.find((s) => s.id.toString() === t);
|
|
226
|
-
i &&
|
|
230
|
+
i && le(i, a);
|
|
227
231
|
}
|
|
228
232
|
}
|
|
229
233
|
}
|
|
@@ -231,37 +235,37 @@ class le extends G {
|
|
|
231
235
|
const e = [], a = this.layerList.map((i) => i.id.toString()), t = [...this.modelList.filter((i) => a.includes(i.layer?.id ?? ""))];
|
|
232
236
|
for (let i of this.layerList ?? []) {
|
|
233
237
|
if (i.type === "sublayer") {
|
|
234
|
-
const
|
|
235
|
-
if (!
|
|
238
|
+
const n = await i.createFeatureLayer();
|
|
239
|
+
if (!n)
|
|
236
240
|
continue;
|
|
237
|
-
i =
|
|
241
|
+
i = n;
|
|
238
242
|
}
|
|
239
|
-
const
|
|
240
|
-
for (const
|
|
241
|
-
const
|
|
243
|
+
const r = i.charts;
|
|
244
|
+
for (const n of r ?? []) {
|
|
245
|
+
const c = await U({
|
|
242
246
|
layer: i,
|
|
243
|
-
config:
|
|
247
|
+
config: n
|
|
244
248
|
});
|
|
245
|
-
|
|
249
|
+
c !== void 0 && e.push(c);
|
|
246
250
|
}
|
|
247
251
|
}
|
|
248
|
-
|
|
252
|
+
B(e), e.forEach((i) => {
|
|
249
253
|
t.find((r) => r.isSameChartAs(i)) === void 0 && t.push(i);
|
|
250
254
|
}), this.modelList = t;
|
|
251
255
|
}
|
|
252
|
-
|
|
253
|
-
this.selectedChartId =
|
|
256
|
+
modelListChange(e, a) {
|
|
257
|
+
this.selectedChartId = B(e, this.selectedChartId), a?.forEach((i) => {
|
|
254
258
|
i.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
255
259
|
}), e.forEach((i) => {
|
|
256
260
|
i.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
257
261
|
});
|
|
258
262
|
const t = this.getModel(this.selectedChartId);
|
|
259
|
-
this.currentChartTypeText = t?.chartType !== void 0 ?
|
|
263
|
+
this.currentChartTypeText = t?.chartType !== void 0 ? L(t.chartType, this.commonStrings) : "", this.syncChartsToLayers && this.allowChartSyncing && re(this.layerList, e), this.arcgisChartsConfigModelListChange.emit({ modelList: e });
|
|
260
264
|
}
|
|
261
|
-
|
|
262
|
-
this.selectedChartId === void 0 && (this.panelNumber = 0), this.selectedPanel =
|
|
265
|
+
selectedChartIdChange(e) {
|
|
266
|
+
this.selectedChartId === void 0 && (this.panelNumber = 0), this.selectedPanel = l.Data;
|
|
263
267
|
const a = this.getModel(e);
|
|
264
|
-
this.setEventBasedPropsFromModelData(a), this.currentChartTypeText = a?.chartType !== void 0 ?
|
|
268
|
+
this.setEventBasedPropsFromModelData(a), this.currentChartTypeText = a?.chartType !== void 0 ? L(a.chartType, this.commonStrings) : "", e !== void 0 && e !== x.selectedChartId && (x.selectedChartId = e), this.allowChartSyncing = !0, this.arcgisChartsConfigSelectedChartChange.emit({
|
|
265
269
|
key: "key",
|
|
266
270
|
model: a
|
|
267
271
|
});
|
|
@@ -270,21 +274,18 @@ class le extends G {
|
|
|
270
274
|
e === 0 ? this.clearPartialModels() : e === 1 && this.removeSelectChartTypePopover(), this.arcgisChartsConfigPanelNumberChange.emit({ panelNumber: e, modelList: this.modelList });
|
|
271
275
|
}
|
|
272
276
|
addChartEventListeners() {
|
|
273
|
-
|
|
274
|
-
}
|
|
275
|
-
removeChartEventListeners() {
|
|
276
|
-
document.removeEventListener(C.DataProcessComplete, this.chartDataProcessComplete), document.removeEventListener(C.AxesMinMaxChange, this.chartAxesMinMaxChange), document.removeEventListener(C.SeriesColorChange, this.chartSeriesColorChange), document.removeEventListener(C.NoRenderPropChange, this.chartNoRenderPropChange), document.removeEventListener(C.LegendItemVisibilityChange, this.chartLegendItemVisibilityChange);
|
|
277
|
+
this.listenOn(document, f.DataProcessComplete, this.chartDataProcessComplete), this.listenOn(document, f.AxesMinMaxChange, this.chartAxesMinMaxChange), this.listenOn(document, f.SeriesColorChange, this.chartSeriesColorChange), this.listenOn(document, f.NoRenderPropChange, this.chartNoRenderPropChange), this.listenOn(document, f.LegendItemVisibilityChange, this.chartLegendItemVisibilityChange);
|
|
277
278
|
}
|
|
278
279
|
getDataExtent(e) {
|
|
279
280
|
const a = this.getModel(this.selectedChartId)?.config;
|
|
280
281
|
let t = [];
|
|
281
282
|
if (a !== void 0 && e !== void 0) {
|
|
282
|
-
const i =
|
|
283
|
+
const i = W({
|
|
283
284
|
chartConfig: a,
|
|
284
285
|
chartData: e
|
|
285
|
-
}), { minY: s, maxY: r, minX:
|
|
286
|
+
}), { minY: s, maxY: r, minX: n, maxX: c } = i;
|
|
286
287
|
t = [
|
|
287
|
-
{ isXAxis: !0, minimum:
|
|
288
|
+
{ isXAxis: !0, minimum: n, maximum: c },
|
|
288
289
|
{ isXAxis: !1, minimum: s, maximum: r }
|
|
289
290
|
];
|
|
290
291
|
}
|
|
@@ -293,32 +294,26 @@ class le extends G {
|
|
|
293
294
|
updateAxesBoundsInAppState(e) {
|
|
294
295
|
e?.forEach((a) => {
|
|
295
296
|
const { isXAxis: t, maximum: i, minimum: s } = a, r = this.getModel(this.selectedChartId);
|
|
296
|
-
if (r !== void 0 &&
|
|
297
|
-
const
|
|
297
|
+
if (r !== void 0 && T(r) && this.selectedChartId !== void 0) {
|
|
298
|
+
const n = new te(r, t), c = Y({
|
|
298
299
|
chartId: this.selectedChartId,
|
|
299
300
|
isXAxis: t,
|
|
300
|
-
isLogarithmic:
|
|
301
|
+
isLogarithmic: n.getLogarithmic()
|
|
301
302
|
}), g = x.chartAxesBoundDataMap;
|
|
302
303
|
g[this.selectedChartId] === void 0 && (g[this.selectedChartId] = {});
|
|
303
|
-
const u = g[this.selectedChartId]?.[
|
|
304
|
+
const u = g[this.selectedChartId]?.[c], C = {
|
|
304
305
|
defaultMinBound: u?.defaultMinBound === u?.currMinBound ? s : u?.defaultMinBound,
|
|
305
306
|
currMinBound: s,
|
|
306
307
|
defaultMaxBound: u?.defaultMaxBound === u?.currMaxBound ? i : u?.defaultMaxBound,
|
|
307
308
|
currMaxBound: i
|
|
308
309
|
};
|
|
309
|
-
!
|
|
310
|
+
!w(u, C) && this.selectedChartId !== void 0 && g?.[this.selectedChartId] !== void 0 && (g[this.selectedChartId][c] = C);
|
|
310
311
|
}
|
|
311
312
|
});
|
|
312
313
|
}
|
|
313
314
|
getPlacement() {
|
|
314
315
|
let e;
|
|
315
|
-
|
|
316
|
-
e = this.popoverPlacement;
|
|
317
|
-
else {
|
|
318
|
-
const a = this.modelList?.filter((i) => E(Q, i.config)).length;
|
|
319
|
-
e = Number(a) <= 2 ? "bottom" : "top";
|
|
320
|
-
}
|
|
321
|
-
return e;
|
|
316
|
+
return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((i) => E(ee, i.config)).length <= 2 ? "bottom" : "top", e;
|
|
322
317
|
}
|
|
323
318
|
onBackFlow() {
|
|
324
319
|
this.panelNumber -= 1;
|
|
@@ -329,22 +324,22 @@ class le extends G {
|
|
|
329
324
|
}
|
|
330
325
|
setupSelectChartTypePopover(e, a) {
|
|
331
326
|
const t = this.getPlacement();
|
|
332
|
-
this.removeSelectChartTypePopover(), this.selectChartTypePopover = I(
|
|
327
|
+
this.removeSelectChartTypePopover(), this.selectChartTypePopover = I(h`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${a} .popoverPlacement=${t} @arcgisChartsConfigPopoverClose=${this.onAddChartClose} @arcgisChartsConfigSelectChartTypeChange=${this.onSelectChartTypeChange}></arcgis-charts-config-select-chart-type-popover>`), !document.body.contains(this.selectChartTypePopover) && this.selectChartTypePopover !== null && document.body.appendChild(this.selectChartTypePopover);
|
|
333
328
|
}
|
|
334
329
|
getModel(e) {
|
|
335
330
|
return this.modelList?.find((a) => a.chartId === e);
|
|
336
331
|
}
|
|
337
332
|
removeSelectChartTypePopover() {
|
|
338
|
-
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover =
|
|
333
|
+
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover = G(this.selectChartTypePopover));
|
|
339
334
|
}
|
|
340
335
|
clearPartialModels() {
|
|
341
|
-
this.modelList = this.modelList.filter((e) => !
|
|
336
|
+
this.modelList = this.modelList.filter((e) => !D(e.config));
|
|
342
337
|
}
|
|
343
338
|
onViewChartDelete(e) {
|
|
344
339
|
const { chartId: a } = e.detail;
|
|
345
340
|
if (a !== void 0) {
|
|
346
341
|
const t = this.modelList.find((s) => s.chartId === a), i = this.layerList.find((s) => s.id === t?.layer?.id);
|
|
347
|
-
this.modelList = [...this.modelList.filter((s) => s.chartId !== a)], i && this.syncChartsToLayers && this.allowChartSyncing &&
|
|
342
|
+
this.modelList = [...this.modelList.filter((s) => s.chartId !== a)], i && this.syncChartsToLayers && this.allowChartSyncing && oe(i, a);
|
|
348
343
|
}
|
|
349
344
|
}
|
|
350
345
|
onViewChartsSelect(e) {
|
|
@@ -393,46 +388,46 @@ class le extends G {
|
|
|
393
388
|
t = "";
|
|
394
389
|
break;
|
|
395
390
|
}
|
|
396
|
-
this.tooltip = I(
|
|
391
|
+
this.tooltip = I(h`<calcite-tooltip style=${Z({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${a} open placement=top>${t}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
397
392
|
}
|
|
398
393
|
destroyTooltip() {
|
|
399
|
-
|
|
394
|
+
ae(this.tooltip);
|
|
400
395
|
}
|
|
401
396
|
renderViewCharts() {
|
|
402
|
-
const e =
|
|
397
|
+
const e = se({
|
|
403
398
|
modelList: this.modelList,
|
|
404
399
|
layerList: this.layerList,
|
|
405
400
|
activeLayerId: this.activeLayerId,
|
|
406
401
|
disableEditing: this.disableEditing
|
|
407
402
|
});
|
|
408
|
-
return
|
|
403
|
+
return V(e, (a) => a.id, (a) => h`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId !== void 0} .modelList=${ie(this.modelList, a.id.toString(), this.supportedChartTypes)} .selectedChartId=${this.selectedChartId ?? ""} .layer=${a} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`);
|
|
409
404
|
}
|
|
410
405
|
render() {
|
|
411
|
-
return this.open !== !1 ?
|
|
406
|
+
return this.open !== !1 ? h`<calcite-flow>${$("charts-list", h`<calcite-flow-item .selected=${this.panelNumber === 0 || this.disableEditing} .heading=${this.headerTitle ?? this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${q(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.renderTabs()}</calcite-flow>` : null;
|
|
412
407
|
}
|
|
413
408
|
renderTabs() {
|
|
414
409
|
const e = this.getModel(this.selectedChartId);
|
|
415
|
-
return
|
|
410
|
+
return $("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? l.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ? H(this._messages.pageFlowTitle, {
|
|
416
411
|
chartName: e?.titleText ?? this.currentChartTypeText,
|
|
417
412
|
layerName: e?.layer?.title ?? ""
|
|
418
|
-
}) : ""}>${e?.chartType !== void 0 ?
|
|
419
|
-
this.selectedPanel =
|
|
420
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.chartType === o.BarSeries ?
|
|
421
|
-
this.selectedPanel =
|
|
422
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.LineSeries ?
|
|
423
|
-
this.selectedPanel =
|
|
424
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.BoxPlotSeries ?
|
|
425
|
-
this.selectedPanel =
|
|
426
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.PieSeries ?
|
|
427
|
-
this.selectedPanel =
|
|
428
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== o.PieSeries ?
|
|
429
|
-
this.selectedPanel =
|
|
430
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== o.PieSeries ?
|
|
431
|
-
this.selectedPanel =
|
|
432
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}<calcite-action class=${
|
|
433
|
-
this.selectedPanel =
|
|
434
|
-
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action><calcite-action class=${
|
|
435
|
-
this.selectedPanel =
|
|
413
|
+
}) : ""}>${e?.chartType !== void 0 ? h`<calcite-action-bar class=${d(m.tabBar)} layout=horizontal expand-disabled><calcite-action class=${d(m.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel === l.Data || this.selectedPanel === void 0} @click=${() => {
|
|
414
|
+
this.selectedPanel = l.Data;
|
|
415
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>${e?.chartType === o.BarSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-bar-stacked scale=s alignment=center .active=${this.selectedPanel === l.Series} @click=${() => {
|
|
416
|
+
this.selectedPanel = l.Series;
|
|
417
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.LineSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-line-series scale=s alignment=center .active=${this.selectedPanel === l.Series} @click=${() => {
|
|
418
|
+
this.selectedPanel = l.Series;
|
|
419
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.BoxPlotSeries ? h`<calcite-action class=${d(m.tab)} icon=box-chart-series scale=s alignment=center .active=${this.selectedPanel === l.Series} @click=${() => {
|
|
420
|
+
this.selectedPanel = l.Series;
|
|
421
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType === o.PieSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-pie-slice scale=s alignment=center .active=${this.selectedPanel === l.Slices} @click=${() => {
|
|
422
|
+
this.selectedPanel = l.Slices;
|
|
423
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== o.PieSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-axis scale=s alignment=center .active=${this.selectedPanel === l.Axes} @click=${() => {
|
|
424
|
+
this.selectedPanel = l.Axes;
|
|
425
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}${e?.chartType !== o.PieSeries ? h`<calcite-action class=${d(m.tab)} icon=graph-guides scale=s alignment=center .active=${this.selectedPanel === l.Guides} @click=${() => {
|
|
426
|
+
this.selectedPanel = l.Guides;
|
|
427
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action>` : null}<calcite-action class=${d(m.tab)} icon=palette scale=s alignment=center .active=${this.selectedPanel === l.Format} @click=${() => {
|
|
428
|
+
this.selectedPanel = l.Format;
|
|
429
|
+
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action><calcite-action class=${d(m.tab)} icon=text scale=s alignment=center .active=${this.selectedPanel === l.General} @click=${() => {
|
|
430
|
+
this.selectedPanel = l.General;
|
|
436
431
|
}} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} text></calcite-action></calcite-action-bar>` : null}${this.renderChartUIComponent()}</calcite-flow-item>`);
|
|
437
432
|
}
|
|
438
433
|
renderChartUIComponent() {
|
|
@@ -441,28 +436,28 @@ class le extends G {
|
|
|
441
436
|
if (e !== void 0 && !this.disableEditing)
|
|
442
437
|
switch (e?.chartType) {
|
|
443
438
|
case "barSeries":
|
|
444
|
-
t =
|
|
439
|
+
t = h`<arcgis-charts-config-bar-chart class=${d(m.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-bar-chart>`;
|
|
445
440
|
break;
|
|
446
441
|
case "lineSeries":
|
|
447
|
-
t =
|
|
442
|
+
t = h`<arcgis-charts-config-line-chart class=${d(m.chartUIComponent)} .model=${e} .timeZone=${this.timeZone} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-line-chart>`;
|
|
448
443
|
break;
|
|
449
444
|
case "pieSeries":
|
|
450
|
-
t =
|
|
445
|
+
t = h`<arcgis-charts-config-pie-chart class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .chartData=${this.chartData} .page=${this.selectedPanel ?? l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor} .filterBySelection=${this.filterBySelection}></arcgis-charts-config-pie-chart>`;
|
|
451
446
|
break;
|
|
452
447
|
case "histogramSeries":
|
|
453
|
-
t =
|
|
448
|
+
t = h`<arcgis-charts-config-histogram class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .chartData=${this.chartData} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-histogram>`;
|
|
454
449
|
break;
|
|
455
450
|
case "scatterSeries":
|
|
456
|
-
t =
|
|
451
|
+
t = h`<arcgis-charts-config-scatter-plot class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .r2=${this.r2} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-scatter-plot>`;
|
|
457
452
|
break;
|
|
458
453
|
case "boxPlotSeries":
|
|
459
|
-
t =
|
|
454
|
+
t = h`<arcgis-charts-config-box-plot class=${d(m.chartUIComponent)} .model=${e} .usePopupTemplateFieldsInfo=${this.usePopupTemplateFieldsInfo} .layer=${a} .page=${this.selectedPanel ?? l.Data} .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .seriesColor=${this.seriesColor}></arcgis-charts-config-box-plot>`;
|
|
460
455
|
break;
|
|
461
456
|
}
|
|
462
457
|
return t;
|
|
463
458
|
}
|
|
464
459
|
}
|
|
465
|
-
|
|
460
|
+
N("arcgis-charts-config-create-flow", ce);
|
|
466
461
|
export {
|
|
467
|
-
|
|
462
|
+
ce as ArcgisChartsConfigCreateFlow
|
|
468
463
|
};
|
|
@@ -3,7 +3,7 @@ import { css as l, html as c } from "lit";
|
|
|
3
3
|
import { LitElement as a, safeClassMap as t } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.42 */
|
|
7
7
|
const e = {
|
|
8
8
|
fieldSelectButtonSection: "field-select-btn-section",
|
|
9
9
|
fieldSelectButton: "field-select-btn",
|
|
@@ -16,7 +16,7 @@ class n extends a {
|
|
|
16
16
|
super(...arguments), this.disabled = !1, this.invalid = !1;
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.properties = { label:
|
|
19
|
+
this.properties = { label: 1, disabled: 5, invalid: 5 };
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = r;
|