@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
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ChartOptions } from '../../chart-rendering/common/interfaces';
|
|
2
|
+
import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
|
|
3
|
+
import { IField, WebChart } from '../../spec';
|
|
4
|
+
import { DataUpdateDetails } from '../data/interfaces';
|
|
5
|
+
import { SelectionData } from '../misc/interfaces';
|
|
6
|
+
/**
|
|
7
|
+
* Indicates whether a data update is needed based on the changed properties.
|
|
8
|
+
* Checks for:
|
|
9
|
+
* - specific properties that require a data update when changed,
|
|
10
|
+
* - change of layer type (FeatureLayer to FeatureLayerView or vice-versa),
|
|
11
|
+
* - changes in the config that require a data update.
|
|
12
|
+
* @param props.config The current chart config
|
|
13
|
+
* @param props.previousConfig The previous chart config
|
|
14
|
+
* @param props.dataUpdateNeededProps The list of properties that require a data update when changed
|
|
15
|
+
* @param props.updatedProps A map of the properties that have been updated with their old and new values
|
|
16
|
+
* @param props.filterBySelection The current filterBySelection value
|
|
17
|
+
* @param props.previousSelectionOIDs The previous selection OIDs
|
|
18
|
+
* @param props.chartData The current chart data
|
|
19
|
+
* @param props.options The current chart options
|
|
20
|
+
* @param props.fieldList The list of fields in the layer or feature layer view
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
export declare function isDataUpdateNeeded(props: {
|
|
24
|
+
config: WebChart | undefined;
|
|
25
|
+
previousConfig: WebChart | undefined;
|
|
26
|
+
dataUpdateNeededProps: ArcgisChart["dataUpdateNeededProps"];
|
|
27
|
+
updatedProps: ArcgisChart["updatedProps"];
|
|
28
|
+
filterBySelection: ArcgisChart["filterBySelection"];
|
|
29
|
+
previousSelectionOIDs: SelectionData["selectionOIDs"];
|
|
30
|
+
chartData: ArcgisChart["chartData"];
|
|
31
|
+
options: ChartOptions;
|
|
32
|
+
fieldList: IField[];
|
|
33
|
+
}): {
|
|
34
|
+
dataUpdateNeeded: boolean;
|
|
35
|
+
dataUpdateDetails: DataUpdateDetails | undefined;
|
|
36
|
+
};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
|
|
2
2
|
/**
|
|
3
|
-
* Adds a
|
|
3
|
+
* Adds a watch handler on the feature layer, so every time the definition expression (filter) is modified we update
|
|
4
4
|
* the chart.
|
|
5
5
|
*
|
|
6
6
|
* @param component The chart component
|
|
7
7
|
*/
|
|
8
|
-
export declare function
|
|
8
|
+
export declare function watchLayerFilter(component: ArcgisChart): IHandle | undefined;
|
|
9
9
|
/**
|
|
10
|
-
* Adds a
|
|
10
|
+
* Adds a watch handler on the feature layer, so every time the renderer is modified we update the chart.
|
|
11
11
|
*
|
|
12
12
|
* @param component The chart component
|
|
13
13
|
*/
|
|
14
|
-
export declare function
|
|
14
|
+
export declare function watchLayerRenderer(component: ArcgisChart): IHandle | undefined;
|
|
15
15
|
/**
|
|
16
|
-
* Adds a
|
|
16
|
+
* Adds a watch handler on the feature layer view, so every time the view's extent is modified we update
|
|
17
17
|
* the chart.
|
|
18
18
|
*
|
|
19
19
|
* @param props.component The chart component
|
|
20
20
|
*/
|
|
21
|
-
export declare function
|
|
21
|
+
export declare function watchExtentChange(component: ArcgisChart): Promise<IHandle[] | undefined>;
|
|
22
22
|
/**
|
|
23
|
-
* Adds a
|
|
23
|
+
* Adds a watch handler on the view's time extent, so every time extent is modified we update the chart.
|
|
24
24
|
* @param component The chart component
|
|
25
25
|
*/
|
|
26
|
-
export declare function
|
|
26
|
+
export declare function watchViewTimeExtent(component: ArcgisChart): IHandle | undefined;
|
|
27
27
|
/**
|
|
28
|
-
* Adds a
|
|
28
|
+
* Adds a watch handler on the feature layer, so every time the fields are modified we update the chart.
|
|
29
29
|
*
|
|
30
30
|
* @param component The chart component
|
|
31
31
|
*/
|
|
32
|
-
export declare function
|
|
32
|
+
export declare function watchLayerFields(component: ArcgisChart): IHandle | undefined;
|
|
33
33
|
/**
|
|
34
|
-
* Adds a
|
|
34
|
+
* Adds a watch handler on the layer's view; so every time the selection data is modified, we update the chart.
|
|
35
35
|
* @param component The chart component
|
|
36
36
|
*/
|
|
37
|
-
export declare function
|
|
37
|
+
export declare function watchSelectionsChangeInView(component: ArcgisChart): IHandle | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView.js';
|
|
1
2
|
import { CSVOptions } from '../../interfaces';
|
|
2
3
|
import { ModelTypes } from '../../model';
|
|
3
4
|
import { IField, SupportedLayer } from '../../spec';
|
|
4
|
-
import { ChartConfig } from '../types';
|
|
5
|
-
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView.js';
|
|
6
5
|
import { SupportedLocalesForFormats } from '../localization/interfaces';
|
|
6
|
+
import { ChartConfig } from '../types';
|
|
7
7
|
/**
|
|
8
8
|
* A utility function to compare if a value has changed deeply.
|
|
9
9
|
* @param value
|
|
@@ -97,3 +97,9 @@ export declare function transformBoxPlotData<T extends Record<string, unknown>>(
|
|
|
97
97
|
* @param {unknown} date - The date to check, should be a string or a number.
|
|
98
98
|
*/
|
|
99
99
|
export declare const isValidDate: (date: unknown) => date is Date | number | string;
|
|
100
|
+
/**
|
|
101
|
+
* Returns a unique ID associated to a chart
|
|
102
|
+
*
|
|
103
|
+
* @param key A unique identifying the chart
|
|
104
|
+
*/
|
|
105
|
+
export declare function getChartUniqueInternalID(key: string): string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { WebChartDataTypes, WebChartQuery } from '../../spec';
|
|
2
2
|
import { DataWarningKeywords } from '../chart-config/validator/interfaces';
|
|
3
3
|
import { ChartSubType } from '../misc/interfaces';
|
|
4
|
-
import { BinnedServerData } from './time-binning/interfaces';
|
|
5
4
|
export interface DataMinMax {
|
|
6
5
|
minY: number;
|
|
7
6
|
maxY: number;
|
|
@@ -13,7 +12,6 @@ export interface DataInfo {
|
|
|
13
12
|
invalidType?: DataWarningKeywords;
|
|
14
13
|
count?: number;
|
|
15
14
|
data?: WebChartDataTypes;
|
|
16
|
-
binnedServerData?: BinnedServerData;
|
|
17
15
|
queryConfig?: WebChartQuery;
|
|
18
16
|
}
|
|
19
17
|
export declare const BoxPlotYFieldKeys: {
|
|
@@ -37,3 +35,33 @@ export interface BoxPlotYValueProps {
|
|
|
37
35
|
showOutliers?: boolean;
|
|
38
36
|
standardizeValues?: boolean;
|
|
39
37
|
}
|
|
38
|
+
export interface DataUpdateDetails {
|
|
39
|
+
common: {
|
|
40
|
+
queryChanged: boolean;
|
|
41
|
+
xOrYChanged: boolean;
|
|
42
|
+
numberOfSeriesChanged: boolean;
|
|
43
|
+
configFiltersChanged: boolean;
|
|
44
|
+
filterBySelectionChanged: boolean;
|
|
45
|
+
dataForFilterBySelectionChanged: boolean;
|
|
46
|
+
binTemporalDataChanged: boolean;
|
|
47
|
+
timeBinningChanged: boolean;
|
|
48
|
+
timeIntervalUnitChanged: boolean;
|
|
49
|
+
newTimeBinningWillBeCalculated: boolean;
|
|
50
|
+
valueFormatChangeRequiresNewData: boolean;
|
|
51
|
+
};
|
|
52
|
+
histogram: {
|
|
53
|
+
dataPropsChanged: boolean;
|
|
54
|
+
};
|
|
55
|
+
gauge: {
|
|
56
|
+
valueConversionChanged: boolean;
|
|
57
|
+
};
|
|
58
|
+
boxPlot: {
|
|
59
|
+
showMeanChanged: boolean;
|
|
60
|
+
};
|
|
61
|
+
heatChart: {
|
|
62
|
+
binningChanged: boolean;
|
|
63
|
+
};
|
|
64
|
+
scatterPlot: {
|
|
65
|
+
tooltipFieldsChanged: boolean;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -14,10 +14,6 @@ export interface TimeBinningStatistics {
|
|
|
14
14
|
dateRange: DateRange;
|
|
15
15
|
numberOfFeatures: number;
|
|
16
16
|
}
|
|
17
|
-
export interface BinnedServerData {
|
|
18
|
-
data: WebChartDataItem[];
|
|
19
|
-
timeBinningStats: TimeBinningStatistics;
|
|
20
|
-
}
|
|
21
17
|
export interface GroupProps {
|
|
22
18
|
binFirstOrLastIndex: number;
|
|
23
19
|
data: WebChartDataItem[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CategoryFormatOptions, Color, DateTimeFormatOptions, HistogramOverlays, IFont, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol, NumberFormatOptions, ScatterplotOverlays, SizePolicy, WebBoxPlot, WebChart, WebChartAxis, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartCursorCrosshair, WebChartGaugeAxis, WebChartGaugeSeries, WebChartHeatChartSeries, WebChartHistogramSeries, WebChartLegend, WebChartLineChartSeries, WebChartNeedle, WebChartOverlay, WebChartPieChartSeries, WebChartPieChartTick, WebChartRadarChartSeries, WebChartScatterplotSeries, WebChartText, WebChartTextSymbol, WebGaugeChart, WebChartStackedKinds, WebChartTypes } from '../../spec';
|
|
2
|
-
import { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, QueryDefaults, TextElements } from './interfaces';
|
|
3
2
|
import { CommonStrings } from '../localization/interfaces';
|
|
3
|
+
import { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, QueryDefaults, TextElements } from './interfaces';
|
|
4
4
|
export declare const histogramBinCount = 32;
|
|
5
5
|
export declare const featuresExtentField = "arcgis_charts_features_extent";
|
|
6
6
|
export declare const queryDefaults: QueryDefaults;
|
|
@@ -44,7 +44,7 @@ export interface QueryDefaults {
|
|
|
44
44
|
maxParallelRequests: number;
|
|
45
45
|
maxRecords: number;
|
|
46
46
|
outStatistics: Readonly<IStatisticDefinition>;
|
|
47
|
-
uniqueIdsName: string;
|
|
47
|
+
uniqueIdsName: number | string;
|
|
48
48
|
orderByJSAPIDelimiter: string;
|
|
49
49
|
}
|
|
50
50
|
export interface ChartTextProps {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
1
2
|
import { IFeatureLayer, IField, SupportedLayer, WebChart, WebChartDataFilters, WebChartQuery } from '../../spec';
|
|
2
3
|
import { default as FeatureLayer } from '@arcgis/core/layers/FeatureLayer.js';
|
|
3
|
-
import { default as SubtypeGroupLayer } from '@arcgis/core/layers/SubtypeGroupLayer';
|
|
4
|
+
import { default as SubtypeGroupLayer } from '@arcgis/core/layers/SubtypeGroupLayer.js';
|
|
4
5
|
import { default as Renderer } from '@arcgis/core/renderers/Renderer';
|
|
6
|
+
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
|
|
5
7
|
import { IFeatureType, QueryObject, QueryObjectProps, RendererInfo, SubtypeInfo } from './interfaces';
|
|
6
8
|
/**
|
|
7
9
|
* Returns the renderer type and the field and normalization field if applicable.
|
|
@@ -145,6 +147,21 @@ export declare function findMatchingLayerFieldName(props: {
|
|
|
145
147
|
fieldToMatch: string;
|
|
146
148
|
returnUndefinedIfNotFound?: boolean;
|
|
147
149
|
}): Promise<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Find the matching field in a list of fields based on the fieldToMatch parameter.
|
|
152
|
+
* It first looks for a perfect match (case-sensitive), then for an approximate match (case-insensitive).
|
|
153
|
+
* @param {IField[]} layerFieldList - The list of fields to search in.
|
|
154
|
+
* @param {string} fieldToMatch - The field name to match.
|
|
155
|
+
* @returns {IField | undefined} - The matching field if found, otherwise undefined.
|
|
156
|
+
*
|
|
157
|
+
* We look for a match in 2 steps:
|
|
158
|
+
*
|
|
159
|
+
* 1. Perfect match: the case of the fields is exactly the same. This helps when the layer has fields with the same name but with a
|
|
160
|
+
* different case (e.g. "field" and "FiElD"). Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8305
|
|
161
|
+
*
|
|
162
|
+
* 2: Approximate match: we upper-case the fields to compare them
|
|
163
|
+
*/
|
|
164
|
+
export declare function findMatchingField(layerFieldList: IField[], fieldToMatch: string): IField | undefined;
|
|
148
165
|
/**
|
|
149
166
|
* Finds the matching layer fields for a list of fields.
|
|
150
167
|
*
|
|
@@ -200,6 +217,32 @@ export declare function extractFieldsUsedInConfig(config: WebChart, layer: Suppo
|
|
|
200
217
|
* @returns {string[]} The list of layer fields
|
|
201
218
|
*/
|
|
202
219
|
export declare function extractFieldsFromConfigList(layer: SupportedLayer): Promise<string[]>;
|
|
220
|
+
/**
|
|
221
|
+
* Finds the matching layer in the view based on the provided layer's portal item id.
|
|
222
|
+
* The matching is done based on the portalItem id.
|
|
223
|
+
* If no matching layer is found, returns `undefined`.
|
|
224
|
+
* @param {__esri.MapView | __esri.SceneView | undefined} props.view The map or scene view
|
|
225
|
+
* @param {string} props.portalItemId The portal item id of the layer
|
|
226
|
+
*
|
|
227
|
+
* @returns {FeatureLayerView | SupportedLayer | undefined} The matching layer in the view or undefined if not found
|
|
228
|
+
*
|
|
229
|
+
* @requires
|
|
230
|
+
* - view
|
|
231
|
+
* - portalItemId
|
|
232
|
+
*
|
|
233
|
+
* ```
|
|
234
|
+
*
|
|
235
|
+
* @example
|
|
236
|
+
* ```ts
|
|
237
|
+
* const matchingLayer = findMatchingLayerFromView({ view, portalItemId: 'abc123' });
|
|
238
|
+
* ```
|
|
239
|
+
*
|
|
240
|
+
* @category Public
|
|
241
|
+
*/
|
|
242
|
+
export declare function findMatchingLayerFromView(props: {
|
|
243
|
+
view?: __esri.MapView | __esri.SceneView;
|
|
244
|
+
portalItemId: string;
|
|
245
|
+
}): FeatureLayerView | SupportedLayer | undefined;
|
|
203
246
|
export declare const layerPrivateFunctions: {
|
|
204
247
|
getServerRestInfo: typeof getServerRestInfo;
|
|
205
248
|
getSubtypeName: typeof getSubtypeName;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as AttributeBinsGraphic } from '@arcgis/core/AttributeBinsGraphic.js';
|
|
2
2
|
import { default as AttributeBinsFeatureSet } from '@arcgis/core/rest/support/AttributeBinsFeatureSet.js';
|
|
3
3
|
import { WebBoxPlot, WebChart, WebChartDataItem, WebChartQuery, WebChartTemporalBinning, WebHeatChart } from '../../../spec';
|
|
4
4
|
import { ErrorStrings } from '../../localization/interfaces';
|
|
@@ -140,7 +140,7 @@ export declare function queryUniqueIDs(props: {
|
|
|
140
140
|
queryConfig: WebChartQuery;
|
|
141
141
|
uniqueFeature?: boolean;
|
|
142
142
|
abortKey?: AbortControllerKeyType;
|
|
143
|
-
}): Promise<number[]>;
|
|
143
|
+
}): Promise<(number | string)[]>;
|
|
144
144
|
/**
|
|
145
145
|
* Aborts all existing queries and initializes a controller for new ones. The queries are associated
|
|
146
146
|
* to a unique key to avoid cancelling queries for other charts.
|
|
@@ -169,4 +169,4 @@ export declare function queryAttributeBinsForTemporalData(props: {
|
|
|
169
169
|
dateField: string;
|
|
170
170
|
splitByField?: string;
|
|
171
171
|
abortKey?: AbortControllerKeyType;
|
|
172
|
-
}): Promise<
|
|
172
|
+
}): Promise<AttributeBinsGraphic[]>;
|
|
@@ -74,11 +74,19 @@ export declare function mapAttributeBinsQueryForTemporalData(props: {
|
|
|
74
74
|
* @param props.field The field used by the heat chart
|
|
75
75
|
* @param props.fieldType The field type
|
|
76
76
|
* @param props.unit The unit of the temporal binning
|
|
77
|
+
* @param props.addIntervalStatement Whether to add the interval statement to shift the date from the data time zone to the output time zone
|
|
78
|
+
* @param props.outTimeZone The output time zone
|
|
79
|
+
* @param props.dataTimeZone The data time zone
|
|
80
|
+
* @param props.runsOnClientQueryEngine Whether the query will be executed on the client query engine (FeatureLayerView) or on the server
|
|
77
81
|
*/
|
|
78
82
|
export declare function getCalendarDatePartsParameters(props: {
|
|
79
83
|
field: string;
|
|
80
84
|
fieldType?: RESTFieldType;
|
|
81
85
|
unit?: string;
|
|
86
|
+
addIntervalStatement: boolean;
|
|
87
|
+
outTimeZone?: string;
|
|
88
|
+
dataTimeZone?: string | null;
|
|
89
|
+
runsOnClientQueryEngine?: boolean;
|
|
82
90
|
}): {
|
|
83
91
|
expression?: string;
|
|
84
92
|
start?: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SupportedLayer, WebChart } from '../../../spec';
|
|
2
1
|
import { default as FeatureLayer } from '@arcgis/core/layers/FeatureLayer';
|
|
3
2
|
import { default as SubtypeGroupLayer } from '@arcgis/core/layers/SubtypeGroupLayer';
|
|
4
3
|
import { default as SubtypeSublayer } from '@arcgis/core/layers/support/SubtypeSublayer';
|
|
5
|
-
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
|
|
4
|
+
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView.js';
|
|
5
|
+
import { SupportedLayer, WebChart } from '../../../spec';
|
|
6
6
|
import { QueryObject } from '../interfaces';
|
|
7
7
|
/**
|
|
8
8
|
* Indicates whether the input object is a feature collection.
|
|
@@ -13,7 +13,7 @@ export declare function isFeatureCollectionLayer(queryObject: QueryObject): quer
|
|
|
13
13
|
* Indicates whether the input object is an instance of `FeatureLayerView`.
|
|
14
14
|
* @param queryObject
|
|
15
15
|
*/
|
|
16
|
-
export declare function isFeatureLayerView(queryObject: QueryObject): queryObject is FeatureLayerView;
|
|
16
|
+
export declare function isFeatureLayerView(queryObject: QueryObject | SubtypeGroupLayer): queryObject is FeatureLayerView;
|
|
17
17
|
/**
|
|
18
18
|
* Indicates whether the input object is an instance of `FeatureLayer`.
|
|
19
19
|
* @param queryObject
|
|
@@ -170,7 +170,7 @@ export declare function getOverlayColorIndex(overlayType: OverlayTerms | undefin
|
|
|
170
170
|
* @param props.config The config that gets updated for each series visibility
|
|
171
171
|
* @param props.event The event that is currently being called
|
|
172
172
|
*/
|
|
173
|
-
export declare function updateSeriesVisibility(event: CustomEvent<LegendItemVisibility>, config?: WebBoxPlot | WebChart): void;
|
|
173
|
+
export declare function updateSeriesVisibility(event: Pick<CustomEvent<LegendItemVisibility>, "detail">, config?: WebBoxPlot | WebChart): void;
|
|
174
174
|
/**
|
|
175
175
|
* Sanitize an HTML string to prevent XSS attacks (https://owasp.org/www-community/attacks/xss/)
|
|
176
176
|
* @param inputToSanitize The HTML string to sanitize
|
|
@@ -32,7 +32,7 @@ export type SelectionIndexes = Map<number, {
|
|
|
32
32
|
export interface SelectionData {
|
|
33
33
|
selectionItems?: WebChartDataItem[];
|
|
34
34
|
selectionIndexes?: SelectionIndexes;
|
|
35
|
-
selectionOIDs?: number[];
|
|
35
|
+
selectionOIDs?: (number | string)[];
|
|
36
36
|
selectionSource?: SelectionSource;
|
|
37
37
|
}
|
|
38
38
|
export interface SelectionThemeProperties {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { WebChart, WebChartTypes } from '../../spec';
|
|
2
|
+
import { CommonStrings } from '../localization/interfaces';
|
|
2
3
|
export declare function getChartIcon(chart: WebChart): string;
|
|
3
4
|
/**
|
|
4
5
|
* Gets the chart type text based on the provided chart type.
|
|
5
6
|
* @param chartType
|
|
6
7
|
* @category Private
|
|
7
8
|
*/
|
|
8
|
-
export declare function getChartText(chartType: WebChartTypes):
|
|
9
|
+
export declare function getChartText(chartType: WebChartTypes, commonStrings: CommonStrings): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.42",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@amcharts/amcharts4": "^4.10.31",
|
|
30
|
-
"@amcharts/amcharts5": "~5.
|
|
31
|
-
"@arcgis/lumina": "5.0.0-next.
|
|
32
|
-
"@arcgis/toolkit": "5.0.0-next.
|
|
30
|
+
"@amcharts/amcharts5": "~5.14.3",
|
|
31
|
+
"@arcgis/lumina": "5.0.0-next.42",
|
|
32
|
+
"@arcgis/toolkit": "5.0.0-next.42",
|
|
33
33
|
"ajv": "6.12.6",
|
|
34
34
|
"d3-array": "^3.2.1",
|
|
35
35
|
"d3-shape": "^3.2.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@arcgis/core": ">=5.0.0-next.1 <5.1",
|
|
47
|
-
"@esri/calcite-components": "^3.3.
|
|
47
|
+
"@esri/calcite-components": "^3.3.2"
|
|
48
48
|
},
|
|
49
49
|
"css.customData": [
|
|
50
50
|
"dist/docs/vscode.css-custom-data.json"
|
package/dist/cdn/2HIESHCK.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.4 */
|
|
4
|
-
import{a as p}from"./MCECYQEL.js";import{a as I,b as w}from"./WMYPI52V.js";import d from"./CFKF5LDT.js";import"./J6LD6RWO.js";import{a as m}from"./ZGSSASAI.js";import b from"./R4JF6H5G.js";import a from"./GMBZEXQX.js";import{g as c}from"./VHG2HOUR.js";import"./6Y2WTGYS.js";import"./4Y76B53C.js";import{a as l}from"./BPIKEEVZ.js";import{A as o,D as v,F as C,g as f,h as n,w as h,x as r,y as N}from"./G2YNALPI.js";import"./KLVSGHXQ.js";export default $arcgis.t(([,,{a:g,f:M,g:x,h:B,i:i}])=>{var d={linkContainer:"link-container",label:"label",mb2:"mb-2"},E=f`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}calcite-block{width:var(--arcgis-charts-config-calcite-block-width, var(--arcgis-charts-config-calcite-block-default-width));height:var(--arcgis-charts-config-calcite-block-height, var(--arcgis-charts-config-calcite-block-default-height));border:0px;-webkit-box-shadow:0 0 0 0;box-shadow:0 0}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor)}.label{display:flex;justify-content:space-between}.mb-2{margin-bottom:var(--arcgis-charts-config-margin-minor)}.link-container{display:flex;justify-content:flex-end;margin-top:-.75rem}`,b=class extends N{constructor(){super(...arguments),this._messages=m(),this.commonStrings=m({name:"common",blocking:!0}),this.axisModel=new p,this.minBoundInputElement=h(),this.maxBoundInputElement=h(),this.showLogScaleSwitch=h(),this.defaultMinBound=Number.NaN,this.defaultMaxBound=Number.NaN,this.onMaxBoundsChange=async()=>{let e=this.maxBoundInputElement.value?.value,t=this.maxBoundInputElement.value?.status;if(e!==void 0&&e!==""){let s=this.maxBoundInputElement.value?.min===void 0?this.axisModel.getMinBound():Math.max(this.maxBoundInputElement.value.min,this.axisModel.getMinBound()),a=Number.parseFloat(e);if(a!==this.axisModel.getMinBound()&&M(a,s,this.maxBoundInputElement.value?.max)){if(a!==this.axisModel.getMaxBound()){this.axisModel.setMaxBound(a);let u=this.getAxisBoundsFromStateStore();u&&(u.currMaxBound=a)}t=i.IDLE}else t=i.INVALID}else t=i.IDLE;this.maxBoundInputElement.value&&B({inputElement:this.maxBoundInputElement.value,status:t}),t!==i.INVALID&&this.minBoundInputElement.value?.status===i.INVALID&&await this.onMinBoundsChange(),this.requestUpdate()},this.onMaxBoundsChangeDebounced=c(this.onMaxBoundsChange,g.DebounceTimer),this.onMinBoundsChange=async()=>{let e=this.minBoundInputElement.value?.value,t=this.minBoundInputElement.value?.status;if(e!==void 0&&e!==""){let s=this.minBoundInputElement.value?.max===void 0?this.axisModel.getMaxBound():Math.min(this.minBoundInputElement.value.max,this.axisModel.getMaxBound()),a=Number.parseFloat(e);if(a!==this.axisModel.getMaxBound()&&M(a,this.minBoundInputElement.value?.min,s)){if(a!==this.axisModel.getMinBound()){this.axisModel.setMinBound(a);let u=this.getAxisBoundsFromStateStore();u&&(u.currMinBound=a)}t=i.IDLE}else t=i.INVALID}else t=i.IDLE;this.minBoundInputElement.value&&B({inputElement:this.minBoundInputElement.value,status:t}),t!==i.INVALID&&this.maxBoundInputElement.value?.status===i.INVALID&&await this.onMaxBoundsChange(),await this.updateEnableLogarithmic(this.axisModel.getLogarithmic()&&(this.dataMinValue??Number.NaN)>0),this.requestUpdate()},this.onMinBoundsChangeDebounced=c(this.onMinBoundsChange,g.DebounceTimer),this.onModelConfigChange=()=>{this.requestUpdate()},this.disableMaxBoundResetBtn=!0,this.disableMinBoundResetBtn=!0,this.isXAxis=!1,this.axisTitle=""}static{this.properties={disableMaxBoundResetBtn:16,disableMinBoundResetBtn:16,messageOverrides:0,model:0,isXAxis:5,axisTitle:1,maxBoundMaxLimit:9,maxBoundMinLimit:9,minBoundMinLimit:9,minBoundMaxLimit:9,showMaxBoundOption:5,showMinBoundOption:5,showEnableLogOption:5,dataMaxValue:9,dataMinValue:9,initialMaxBound:9,initialMinBound:9}}static{this.styles=E}load(){this.modelChange(this.model),this.dataMinValue!==void 0&&this.dataMinValueChange(this.dataMinValue,Number.NaN),this.dataMaxValue!==void 0&&this.dataMaxValueChange(this.dataMaxValue,Number.NaN)}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("dataMinValue")&&this.dataMinValueChange(this.dataMinValue??Number.NaN,e.get("dataMinValue")),e.has("dataMaxValue")&&this.dataMaxValueChange(this.dataMaxValue??Number.NaN,e.get("dataMaxValue")),e.has("initialMaxBound")&&this.initialMaxBoundChange(),e.has("initialMinBound")&&this.initialMinBoundChange()}updated(){this.disableResetButtons()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){this.axisModel=new p(this.model,this.isXAxis),t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}dataMinValueChange(e,t){Number.isNaN(t)&&!Number.isNaN(e)&&(this.defaultMinBound=e)}dataMaxValueChange(e,t){Number.isNaN(t)&&!Number.isNaN(e)&&(this.defaultMaxBound=e)}initialMaxBoundChange(){Number.isNaN(this.axisModel.getMaxBound())||this.axisModel.setMaxBound(this.axisModel.getMaxBound())}initialMinBoundChange(){Number.isNaN(this.axisModel.getMinBound())||this.axisModel.setMinBound(this.axisModel.getMinBound())}getAxisBoundsFromStateStore(){let e,t=I.chartAxesBoundDataMap,s=this.model.chartId;if(s){let a=w({chartId:s,isXAxis:this.isXAxis,isLogarithmic:this.axisModel.getLogarithmic()});e=t[s]?.[a]}return e}disableResetButtons(){let e=this.getAxisBoundsFromStateStore();e&&(this.disableMaxBoundResetBtn=e.defaultMaxBound===e.currMaxBound,this.disableMinBoundResetBtn=e.defaultMinBound===e.currMinBound)}async onShowLogScaleMouseEnter(){this.showLogScaleTooltip?.remove(),this.showLogScaleSwitch.value?.disabled&&(this.showLogScaleTooltip=v(n`<calcite-tooltip .referenceElement=${this.showLogScaleSwitch.value??document.body} open>${this.commonStrings.utilsStrings.tooltips?.logDisabled??""}</calcite-tooltip>`),document.body.appendChild(this.showLogScaleTooltip))}onShowLogScaleMouseLeave(){this.showLogScaleTooltip?.remove()}async onCategoryFormatChange(e){this.axisModel.setValueFormat(e.target.categoryFormat)}async updateEnableLogarithmic(e){e!==this.axisModel.getLogarithmic()&&(this.axisModel.setLogarithmic(e),this.requestUpdate())}async onNumberFormatChange(e){this.axisModel.setValueFormat({type:l.NumberAxisFormat,intlOptions:e.detail}),this.requestUpdate()}async onRevertMaxBoundsToDefault(){if(this.maxBoundInputElement.value?.status===i.INVALID||this.axisModel.getMaxBound()!==this.defaultMaxBound){let e=this.getAxisBoundsFromStateStore();this.axisModel.getMinBound()>this.defaultMaxBound&&this.axisModel.setMinBound(e?.defaultMinBound??Number.NaN),this.axisModel.setMaxBound(e?.defaultMaxBound??Number.NaN),this.requestUpdate()}}async onRevertMinBoundsToDefault(){(this.minBoundInputElement.value?.status===i.INVALID||this.axisModel.getMinBound()!==this.defaultMinBound)&&(this.axisModel.getMaxBound()<this.defaultMinBound&&this.axisModel.setMaxBound(Number.NaN),this.axisModel.setMinBound(Number.NaN),this.requestUpdate())}async enableLogScale(e){let{checked:t}=e.target;this.axisModel.setLogarithmic(t&&(this.dataMinValue??Number.NaN)>0),this.requestUpdate()}render(){return n`<div><calcite-block .hidden=${this.axisModel.getValueFormat()?.type===l.DateAxisFormat} open .heading=${this.axisTitle}>${this.renderAxis()}</calcite-block></div>`}renderAxis(){let e=null,t={...this.axisModel.getValueFormat()};switch(this.axisModel.getValueFormat()?.type){case l.CategoryAxisFormat:e=n`<arcgis-charts-config-category-format .categoryFormat=${t} @arcgisChartsConfigCategoryFormatChange=${this.onCategoryFormatChange}></arcgis-charts-config-category-format>`;break;case l.NumberAxisFormat:e=n`<div>${this.renderShowLogScale()}${this.renderMinBound()}${this.renderMaxBound()}<arcgis-charts-config-number-format .numberFormat=${{...t.intlOptions}} @arcgisChartsConfigNumberFormatChange=${this.onNumberFormatChange}></arcgis-charts-config-number-format></div>`;break;case l.DateAxisFormat:e=null;break}return e}renderMaxBound(){let e;if(!this.showMaxBoundOption)e=null;else{let t=x(this.axisModel.getMaxBound(),this.initialMaxBound);e=n`<div><calcite-label class=${o(d.label)}>${this._messages.maxBounds}<calcite-input type=number number-button-type=none .min=${this.maxBoundMinLimit??Number.MIN_SAFE_INTEGER} .max=${this.maxBoundMaxLimit??Number.MAX_SAFE_INTEGER} step=any .value=${t} @calciteInputInput=${this.onMaxBoundsChangeDebounced} ${r(this.maxBoundInputElement)}></calcite-input></calcite-label><div class=${o(d.linkContainer)}><calcite-button .disabled=${this.disableMaxBoundResetBtn} @click=${this.onRevertMaxBoundsToDefault} appearance=transparent icon-end=reset>${this._messages.revertToDefault}</calcite-button></div></div>`}return e}renderMinBound(){let e;if(!this.showMinBoundOption)e=null;else{let t=x(this.axisModel.getMinBound(),this.initialMinBound??void 0);e=n`<div><calcite-label class=${o(d.label)}>${this._messages.minBounds}<calcite-input type=number number-button-type=none .min=${this.minBoundMinLimit??Number.MIN_SAFE_INTEGER} .max=${this.minBoundMaxLimit??Number.MAX_SAFE_INTEGER} step=any .value=${t} @calciteInputInput=${this.onMinBoundsChangeDebounced} ${r(this.minBoundInputElement)}></calcite-input></calcite-label><div class=${o(d.linkContainer)}><calcite-button .disabled=${this.disableMinBoundResetBtn} appearance=transparent icon-end=reset @click=${this.onRevertMinBoundsToDefault}>${this._messages.revertToDefault}</calcite-button></div></div>`}return e}renderShowLogScale(){let e;return this.showEnableLogOption&&(e=n`<calcite-label layout=inline-space-between class=${o({[d.label]:!0,[d.mb2]:!0})}>${this._messages.logScale}<div @mouseenter=${this.onShowLogScaleMouseEnter} @mouseleave=${this.onShowLogScaleMouseLeave}><calcite-switch .checked=${this.axisModel.getLogarithmic()&&(this.dataMinValue??Number.NaN)>0} .disabled=${(this.dataMinValue??Number.NaN)<=0} @calciteSwitchChange=${this.enableLogScale} ${r(this.showLogScaleSwitch)}></calcite-switch></div></calcite-label>`),e}};C("arcgis-charts-config-axis",b);return b},a,b,d)
|
package/dist/cdn/2JOGVVDJ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.4 */
|
|
4
|
-
import"./KLVSGHXQ.js";var _={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u043D. \u0435.",_era_bc:"\u0434\u043E \u043D. \u0435.",A:"\u0434\u043F",P:"\u043F\u043F",AM:"\u0434\u043F",PM:"\u043F\u043F","A.M.":"\u0434\u043F","P.M.":"\u043F\u043F",January:"\u0441\u0456\u0447\u043D\u044F",February:"\u043B\u044E\u0442\u043E\u0433\u043E",March:"\u0431\u0435\u0440\u0435\u0437\u043D\u044F",April:"\u043A\u0432\u0456\u0442\u043D\u044F",May:"\u0442\u0440\u0430\u0432\u043D\u044F",June:"\u0447\u0435\u0440\u0432\u043D\u044F",July:"\u043B\u0438\u043F\u043D\u044F",August:"\u0441\u0435\u0440\u043F\u043D\u044F",September:"\u0432\u0435\u0440\u0435\u0441\u043D\u044F",October:"\u0436\u043E\u0432\u0442\u043D\u044F",November:"\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434\u0430",December:"\u0433\u0440\u0443\u0434\u043D\u044F",Jan:"\u0441\u0456\u0447.",Feb:"\u043B\u044E\u0442.",Mar:"\u0431\u0435\u0440.",Apr:"\u043A\u0432\u0456\u0442.","May(short)":"\u0442\u0440\u0430\u0432.",Jun:"\u0447\u0435\u0440\u0432.",Jul:"\u043B\u0438\u043F.",Aug:"\u0441\u0435\u0440\u043F.",Sep:"\u0432\u0435\u0440.",Oct:"\u0436\u043E\u0432\u0442.",Nov:"\u043B\u0438\u0441\u0442.",Dec:"\u0433\u0440\u0443\u0434.",Sunday:"\u043D\u0435\u0434\u0456\u043B\u044F",Monday:"\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A",Tuesday:"\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A",Wednesday:"\u0441\u0435\u0440\u0435\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u0435\u0440",Friday:"\u043F\u02BC\u044F\u0442\u043D\u0438\u0446\u044F",Saturday:"\u0441\u0443\u0431\u043E\u0442\u0430",Sun:"\u043D\u0434",Mon:"\u043F\u043D",Tue:"\u0432\u0442",Wed:"\u0441\u0440",Thu:"\u0447\u0442",Fri:"\u043F\u0442",Sat:"\u0441\u0431",_dateOrd:function(e){return""},"Zoom Out":"\u041C\u0430\u0441\u0448\u0442\u0430\u0431\u0443\u0432\u0430\u043D\u043D\u044F",Play:"\u0412\u0456\u0434\u0442\u0432\u043E\u0440\u044E\u0432\u0430\u0442\u0438",Stop:"\u0417\u0443\u043F\u0438\u043D\u043A\u0430",Legend:"\u041B\u0435\u0433\u0435\u043D\u0434\u0430","Press ENTER to toggle":"",Loading:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0443\u0454\u0442\u044C\u0441\u044F",Home:"\u0413\u043E\u043B\u043E\u0432\u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"\u043A\u0430\u0440\u0442\u0430","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0414\u0440\u0443\u043A",Image:"\u0417\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F",Data:"\u0414\u0430\u043D\u0456",Print:"\u0414\u0440\u0443\u043A","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0412\u0456\u0434 %1 \u0434\u043E %2","From %1":"\u0412\u0456\u0434 %1","To %1":"\u0414\u043E %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{_ as default};
|
package/dist/cdn/2OR3NHGS.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.4 */
|
|
4
|
-
import d from"./HCZAZ5NC.js";import c from"./Z4SHW63D.js";import b from"./UF7XCMGM.js";import"./X36VPED7.js";import a from"./GMBZEXQX.js";import"./VHG2HOUR.js";import"./6Y2WTGYS.js";import"./4Y76B53C.js";import{a as o,b as g,s as y}from"./BPIKEEVZ.js";import"./G2YNALPI.js";import"./KLVSGHXQ.js";export default $arcgis.t(([,,,,,,,,{J:d,S:p,_:a,ha:l,oa:v},{c:x,qa:S},,{a:b,b:C,c:_}])=>{var w=t=>t.axes[0].needle?.visible??!0,L=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.visible=t},T=t=>t.axes[0].needle?.symbol,O=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.symbol=t},U=t=>t.axes[0].needle?.startWidth,E=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.startWidth=t},W=t=>t.axes[0].needle?.endWidth,D=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.endWidth=t},R=t=>t.axes[0].needle?.innerRadius,V=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.innerRadius=t},k=t=>t.axes[0].needle?.displayPin??!1,G=(t,e)=>{e.axes[0].needle===void 0&&(e.axes[0].needle=a()),e.axes[0].needle.displayPin=t},M=t=>t.axes[0].innerLabel?.visible??!0,$=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=d()),e.axes[0].innerLabel.visible=t},P=t=>t.axes[0].innerLabel?.content,q=(t,e)=>{e.axes[0].innerLabel===void 0&&(e.axes[0].innerLabel=d()),t!==void 0&&(e.axes[0].innerLabel.content=t)},N=t=>t.axes[0].ticks?.visible??!0,j=(t,e)=>{e.axes[0].ticks===void 0&&(e.axes[0].ticks={type:o.GaugeAxisTick}),e.axes[0].ticks.visible=t},z=t=>t.axes[0].labelsIncrement,B=(t,e)=>{e.axes[0].labelsIncrement=t},H=t=>t.axes[0].onlyShowFirstAndLastLabels??!1,J=(t,e)=>{e.axes[0].onlyShowFirstAndLastLabels=t},K=t=>t.series[0]?.valueConversion,Q=(t,e)=>{e.series[0]!==void 0&&(e.series[0].valueConversion=t)},A=t=>t.series[0]?.featureIndex,I=t=>{let{featureIndex:e,config:i,layerInfo:n,commonStrings:s}=t,r=u(i),F=f(i);e===null?delete i.series[0].featureIndex:i.series[0]!==void 0&&(i.series[0].featureIndex=e),h({config:i,layerInfo:n,field:r,aggregationType:F,commonStrings:s})},X=t=>t.subType??y.StatisticGauge,Y=t=>{let{config:e,field:i,aggregationType:n}=t;if(n!==g.NoAggregation){let s=A(e),r=m(s)?{}:{outStatistics:[{statisticType:n,onStatisticField:i,outStatisticFieldName:`${n}_${i}`}]};e.series[0].query=r}},Z=t=>{let{config:e,layerInfo:i,commonStrings:n,field:s,aggregationType:r}=t;e.title&&(e.title.content.text=x({config:e,layerInfo:i,commonStrings:n,numericFields:[s],aggregationType:r}))},h=t=>{let{config:e,field:i,aggregationType:n}=t;e.series[0]===void 0&&(e.series=[l({})]);let s=m(e.series[0]?.featureIndex),r=s?i:`${n}_${i}`;s&&i.startsWith(`${n}_`)&&(r=i.replace(`${n}_`,"")),e.series[0].x=r,Y({config:e,field:i,aggregationType:n}),Z(t)},f=t=>t.series[0]?.query?.outStatistics?.[0]?.statisticType??g.Count,ee=t=>{let{config:e,layerInfo:i,commonStrings:n,aggregationType:s}=t,r=u(e);h({config:e,layerInfo:i,commonStrings:n,field:r,aggregationType:s})},m=t=>typeof t=="number"&&t>=0,u=t=>m(t.series[0]?.featureIndex)?t.series[0]?.x:t.series[0]?.query?.outStatistics?.[0]?.onStatisticField??"",te=t=>{let{field:e,config:i,layerInfo:n,commonStrings:s}=t,r=f(i);h({config:i,layerInfo:n,commonStrings:s,field:e,aggregationType:r})},ie=t=>t.innerRadius??50,ne=(t,e)=>{e.innerRadius=t},se=t=>t.startAngle??-90,re=(t,e)=>{e.startAngle=t},ae=t=>t.endAngle??270,oe=(t,e)=>{e.endAngle=t};function ge(t){return p(t)}var c=class extends b{constructor(){super(...arguments),this._chartType=o.GaugeSeries}generateChartTitle(){return ge(this.commonStrings)}async setup(e){await this.loadConfigFromLayer(e),typeof this.resolveSetup=="function"&&this.resolveSetup()}get field(){return u(this._config)}set field(e){this.guardSetterFromAsyncOverwrite(()=>{te({field:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("field")})}get aggregationType(){return f(this._config)}set aggregationType(e){this.guardSetterFromAsyncOverwrite(()=>{ee({aggregationType:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("aggregationType")})}get innerRadius(){return ie(this._config)}set innerRadius(e){this.guardSetterFromAsyncOverwrite(()=>{ne(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("innerRadius")})}get startAngle(){return se(this._config)}set startAngle(e){this.guardSetterFromAsyncOverwrite(()=>{re(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("startAngle")})}get endAngle(){return ae(this._config)}set endAngle(e){this.guardSetterFromAsyncOverwrite(()=>{oe(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")),this.emitConfigUpdate("endAngle")})}get valueConversion(){return K(this._config)}set valueConversion(e){this.guardSetterFromAsyncOverwrite(()=>{Q(e,this._config),this.emitConfigUpdate("valueConversion")})}get featureIndex(){return A(this._config)}set featureIndex(e){this.guardSetterFromAsyncOverwrite(()=>{I({featureIndex:e,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.emitConfigUpdate("featureIndex")})}removeFeatureIndex(){this.guardSetterFromAsyncOverwrite(()=>{I({featureIndex:null,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),this.emitConfigUpdate("removeFeatureIndex")})}get gaugeSubType(){return X(this._config)}get needleVisibility(){return w(this._config)}set needleVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{L(e,this._config),this.emitConfigUpdate("needleVisibility")})}get needleSymbol(){return T(this._config)}set needleSymbol(e){this.guardSetterFromAsyncOverwrite(()=>{O(e,this._config),this.emitConfigUpdate("needleSymbol")})}get needleStartWidth(){return U(this._config)}set needleStartWidth(e){this.guardSetterFromAsyncOverwrite(()=>{E(e,this._config),this.emitConfigUpdate("needleStartWidth")})}get needleEndWidth(){return W(this._config)}set needleEndWidth(e){this.guardSetterFromAsyncOverwrite(()=>{D(e,this._config),this.emitConfigUpdate("needleEndWidth")})}get needleInnerRadius(){return R(this._config)}set needleInnerRadius(e){this.guardSetterFromAsyncOverwrite(()=>{V(e,this._config),this.emitConfigUpdate("needleInnerRadius")})}get needleDisplayPin(){return k(this._config)}set needleDisplayPin(e){this.guardSetterFromAsyncOverwrite(()=>{G(e,this._config),this.emitConfigUpdate("needleDisplayPin")})}get innerLabelVisible(){return M(this._config)}set innerLabelVisible(e){this.guardSetterFromAsyncOverwrite(()=>{$(e,this._config),this.emitConfigUpdate("innerLabelVisible")})}get innerLabelContent(){return P(this._config)}set innerLabelContent(e){this.guardSetterFromAsyncOverwrite(()=>{q(e,this._config),this.emitConfigUpdate("innerLabelContent")})}get axisTickVisibility(){return N(this._config)}set axisTickVisibility(e){this.guardSetterFromAsyncOverwrite(()=>{j(e,this._config),this.emitConfigUpdate("axisTickVisibility")})}get labelsIncrement(){return z(this._config)}set labelsIncrement(e){this.guardSetterFromAsyncOverwrite(()=>{B(e,this._config),this.emitConfigUpdate("labelsIncrement")})}get onlyShowFirstAndLastLabels(){return H(this._config)}set onlyShowFirstAndLastLabels(e){this.guardSetterFromAsyncOverwrite(()=>{J(e,this._config),this.emitConfigUpdate("onlyShowFirstAndLastLabels")})}generateDefaultConfig(){let e=v(this.commonStrings);return e.series=[l({objectIDField:this.layerInfo?.objectIdField})],e}};S(c,[C,_]);return c},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,c,d)
|
package/dist/cdn/2T3FKIKD.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.4 */
|
|
4
|
-
import"./KLVSGHXQ.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"d.Hr.",_era_bc:"\xEE.Hr.",A:"a.m.",P:"p.m.",AM:"a.m.",PM:"p.m.","A.M.":"a.m.","P.M.":"p.m.",January:"ianuarie",February:"februarie",March:"martie",April:"aprilie",May:"mai",June:"iunie",July:"iulie",August:"august",September:"septembrie",October:"octombrie",November:"noiembrie",December:"decembrie",Jan:"ian.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"mai",Jun:"iun.",Jul:"iul.",Aug:"aug.",Sep:"sept.",Oct:"oct.",Nov:"nov.",Dec:"dec.",Sunday:"duminic\u0103",Monday:"luni",Tuesday:"mar\u021Bi",Wednesday:"miercuri",Thursday:"joi",Friday:"vineri",Saturday:"s\xE2mb\u0103t\u0103",Sun:"dum.",Mon:"lun.",Tue:"mar.",Wed:"mie.",Thu:"joi",Fri:"vin.",Sat:"s\xE2m.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Redare",Stop:"Oprire",Legend:"Legend\u0103","Press ENTER to toggle":"",Loading:"Se \xEEncarc\u0103",Home:"Pagina principal\u0103",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Imprimare",Image:"Imagine",Data:"Date",Print:"Imprimare","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Din %1 la %2","From %1":"Din %1","To %1":"La %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
|
package/dist/cdn/3FPVN4WA.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.4 */
|
|
4
|
-
import"./KLVSGHXQ.js";var d={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u66A6",_era_bc:"\u7D00\u5143\u524D",A:"\u5348\u524D",P:"\u5348\u5F8C",AM:"\u5348\u524D",PM:"\u5348\u5F8C","A.M.":"\u5348\u524D","P.M.":"\u5348\u5F8C",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u65E5\u66DC\u65E5",Monday:"\u6708\u66DC\u65E5",Tuesday:"\u706B\u66DC\u65E5",Wednesday:"\u6C34\u66DC\u65E5",Thursday:"\u6728\u66DC\u65E5",Friday:"\u91D1\u66DC\u65E5",Saturday:"\u571F\u66DC\u65E5",Sun:"\u65E5",Mon:"\u6708",Tue:"\u706B",Wed:"\u6C34",Thu:"\u6728",Fri:"\u91D1",Sat:"\u571F",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u30BA\u30FC\u30E0",Play:"\u518D\u751F",Stop:"\u505C\u6B62",Legend:"\u51E1\u4F8B","Press ENTER to toggle":"",Loading:"\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059",Home:"\u30DB\u30FC\u30E0",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u5370\u5237",Image:"\u30A4\u30E1\u30FC\u30B8",Data:"\u30C7\u30FC\u30BF",Print:"\u5370\u5237","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u59CB\u70B9 %1 \u7D42\u70B9 %2","From %1":"\u59CB\u70B9 %1","To %1":"\u7D42\u70B9 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{d as default};
|
package/dist/cdn/3VT6VDXV.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.4 */
|
|
4
|
-
import{c as h}from"./J6LD6RWO.js";import i from"./H4KX74BW.js";import g from"./R4JF6H5G.js";import f from"./ZIJTOWYD.js";import e from"./SE3Q7IDB.js";import d from"./QGLIMHMS.js";import c from"./UF7XCMGM.js";import a from"./GMBZEXQX.js";import{e as b,j as G,k as w,p as _}from"./VHG2HOUR.js";import{d as V}from"./4Y76B53C.js";import{a as P,w as W}from"./BPIKEEVZ.js";export default $arcgis.t(([{A:S,Ca:J,Da:D,Fa:M,Ga:u,Nb:K,lc:Q,nb:v,qb:B,xb:O},{Aa:ee,Ba:oe,La:H,aa:X,ba:q,za:Y},{k:N,l:I,m:z,x:ae},{b:ne},{a:te,c:ie,d:re},{b:U},L])=>{var ke=[P.BarSeries,P.BoxPlotSeries,P.LineSeries,P.PieSeries,P.HistogramSeries,P.ScatterSeries],Ce=1,De={PNG:"png"};function de(c,e){return!G(c,e)}function Oe(c,e){return de(c,e)||c!==e}function ce(c){return(new Intl.NumberFormat(c,{minimumFractionDigits:1,maximumFractionDigits:1}).formatToParts(1.1).find(e=>e.type==="decimal")?.value??".")==="."?",":";"}var se=c=>{let{value:e,quoteAll:t=!1,locale:l="en"}=c,r=e==null?"":String(e);if(Number.isFinite(Number(r))){let o=Number(r);r=new Intl.NumberFormat(l,{minimumFractionDigits:0,maximumFractionDigits:2}).format(o).replace(/\u202F/gu," ")}return(t||/[",\r\n]/u.test(r))&&(r=`"${r.replace(/"/gu,'""')}"`),r};function he(c,e={}){let{columns:t,delimiter:l,includeHeader:r=!0,quoteAll:o=!1,locale:n}=e,m=c.length===0,a="";if(!m){let f=t??Object.keys(c[0]),x=[],F=n??U().formatLocale,p=l??ce(F);if(a+=`sep=${p}\r
|
|
5
|
-
`,r){let i=f.map(d=>se({value:d,quoteAll:o,locale:F}));x.push(i.join(p))}c.forEach(i=>{let d=f.map(s=>se({value:i[s],quoteAll:o,locale:F}));x.push(d.join(p))}),a+=x.join(`\r
|
|
6
|
-
`)}return a}function Ne(c){let{rawData:e,config:t,layer:l,fieldList:r}=c,o=e;if(t!==void 0&&Array.isArray(e)&&e.length>0){let n=W(t?.series);n===P.HistogramSeries?o=ue(t,e):n===P.BarSeries||n===P.LineSeries||n===P.ComboLineAndBarSeries?o=fe({config:t,rows:e,layer:l,fieldList:r}):n===P.PieSeries?o=pe({config:t,rows:e,layer:l,fieldList:r}):n===P.BoxPlotSeries&&(o=be({config:t,rows:e,fieldList:r}))}return o}function ue(c,e){let t=ne(c),l=`${b(h.Min)} of ${t}`,r=`${b(h.Max)} of ${t}`,o=`${b(h.Count)} of ${t}`;return e.map(n=>{let{minValue:m,maxValue:a,count:f}=n,x=w(m),F=w(a),p=w(f),i={};return x&&(i[l]=m.toFixed(2)),F&&(i[r]=a.toFixed(2)),x&&F&&(i.Label=`${m.toFixed(2)} - ${a.toFixed(2)}`),p&&(i[o]=f),i})}function le(c,e,t){let l=Object.keys(c),r=[];return t?r=t.map(o=>l.find(n=>n.toLowerCase().includes(o.toLowerCase()))||""):r=l.filter(o=>o.toLowerCase().includes(e.toLowerCase())),r.filter(o=>o.trim()!=="")}function fe(c){let{config:e,rows:t,layer:l,fieldList:r}=c,o=X(e),n=Y(e),m=b(n),a=oe(e),f=v(e.series),x=H(e),F=ee(e),p=K(l)?.objectIdField??"FID",i=a.length===1&&a[0]===p,d;switch(f){case u.BarAndLineNoAggregation:d=t.map(s=>{let g=$({field:o,value:s[o],fieldList:r}),y={[o]:g};return Object.assign(y,...a.map(A=>({[A]:s[A]}))),y});break;case u.BarAndLineFromFields:d=_(a,t).map(([s,g])=>{let y=O(e.series)[0],A={};return g!==void 0&&s!==void 0&&(A.Field=g[o],A.Value=g[y]),A});break;case u.BarAndLineMonoField:case u.BarAndLineMultiFields:d=t.map(s=>{let g=$({field:o,value:s[o],fieldList:r}),y={[o]:g};return a.forEach((A,C)=>{let j=q({config:e,xAxisField:o,numericFields:a,aggregationType:n,layer:l,numericFieldIndex:C}),T=O(e.series)[C],E=T,Z=T;T.toLowerCase()===j.name.toLowerCase()&&(E=j.description,Z=j.name),y[E]=s[Z]}),y});break;case u.BarAndLineSplitBy:d=t.flatMap(s=>{let g=le(s,a[0]),y=$({field:o,value:s[o],fieldList:r});return x.map((A,C)=>({[o]:y,[F]:A,[i?m:`${m} of ${a[0]}`]:s[g[C]]}))});break;case u.BarAndLineSplitByNoAggregation:d=t.map(s=>{let g=$({field:o,value:s[o],fieldList:r}),y=le(s,a[0],x);return{[o]:g,[F]:s[F],[a[0]]:s[y[0]]}});break;default:d=t}return d}function me(c,e=2){if(c.length===0)return[];let t=c.reduce((l,r)=>{for(let[o,n]of Object.entries(r))typeof n=="number"&&Number.isFinite(n)&&(l[o]=(l[o]??0)+n);return l},{});return c.map(l=>{let r={...l};for(let[o,n]of Object.entries(l))if(typeof n=="number"&&t[o]>0){let m=n/t[o]*100;r[`${o}${M}`]=`${m.toFixed(e)}%`}return r})}function pe(c){let{config:e,rows:t,layer:l,fieldList:r}=c,o=te(e),n=v(e.series),m=me(t,2),a=ie(e),f=n!==u.PieFromFields?V.Category:V.Fields,x=re(e,f),F=q({config:e,xAxisField:o,numericFields:a,aggregationType:x,mode:f,layer:l}),p=O(e.series)[0];return n===u.PieFromCategory?m=m.map(i=>{let d=$({field:o,value:i[o],fieldList:r}),s={[o]:d},g=p,y=p;return p.toLowerCase()===F.name.toLowerCase()&&(g=F.description,y=F.name),s[g]=i[y],s[b(M.trim())]=i[`${y}${M}`],s}):n===u.PieFromFields&&(m=_(a,m).map(([i,d])=>{let s={};return d!==void 0&&i!==void 0&&(s.Field=d[o],s.Value=d[p],s[b(M.trim())]=d[`${p}${M}`]),s})),m}function R(c){let{rawData:e,keyBase:t="",outRow:l}=c;for(let[r,o]of Object.entries(B)){let n=e[t+o];n!==void 0&&(l[r]=w(n)?n.toFixed(2):n);let m=e[t+o+J];m!==void 0&&(l[`${r} Outlier`]=w(m)?m.toFixed(2):m);let a=e[t+o+D];a!==void 0&&(l[`${r} Z-Score`]=w(a)?a.toFixed(2):a)}}function k(c){let{rawData:e,outRow:t,config:l,boxPlotSubType:r,fieldList:o}=c,n=N(l),m=z(l),a=I(l),f=B.Outlier,x=S;switch(r){case u.BoxPlotMonoFieldAndCategory:{let i=$({field:n,value:e[n],fieldList:o});t[n]=i,t[b(B.Outlier)]=e[f];break}case u.BoxPlotMultiFieldsAndCategory:{t[b(n)]=e[n],f=`${m.find(i=>Object.keys(e).some(d=>d.toLowerCase().includes(i.toLowerCase())))??""}_${f}`,t[b(B.Outlier)]=e[f];break}case u.BoxPlotMonoFieldAndSplitBy:case u.BoxPlotMultiFieldsAndSplitBy:{let i=e[a];f=`${i}_${f}`,t.Field=e[x],t[b(a)]=i,t[b(B.Outlier)]=e[f];break}case u.BoxPlotMonoFieldAndCategoryAndSplitBy:{let i=e[a];f=`${i}_${f}`,t[b(n)]=e[n],t[b(a)]=i,t[b(B.Outlier)]=e[f];break}case u.BoxPlotMonoField:case u.BoxPlotMultiFields:default:{t.Field=e[x],t[b(B.Outlier)]=e[f];break}}let F=`${f}${D}`,p=e[F];p!==void 0&&(t[`${b(B.Outlier)} Z-Score`]=w(p)?p.toFixed(2):p)}function Fe(c){let{rawData:e,outRow:t,config:l,splitByValue:r}=c,o=v(l.series),n=e[`${r}_${B.Average}`],m=I(l),a=N(l),f="";switch(o){case u.BoxPlotMonoFieldAndSplitBy:{f=`${r}_${m}`,t.Field=e[S],t[b(m)]=e[f];break}case u.BoxPlotMultiFieldsAndSplitBy:{f=`${r}_${B.Average}`,t.Field=e[S],t[b(m)]=e[f];break}case u.BoxPlotMonoFieldAndCategoryAndSplitBy:{f=`${r}_${B.Average}`,t[a]=e[a],t[b(m)]=r;break}}t[b(B.Average)]=w(n)?n.toFixed(2):n;let x=`${n}${D}`,F=e[x];F!==void 0&&(t[`${b(B.Average)} Z-Score`]=w(F)?F.toFixed(2):F)}function be(c){let{config:e,rows:t,fieldList:l}=c,r=v(e.series),o=r,n=ae(e),m=Array.isArray(t)&&t.length>0&&t.every(i=>i[L.boxPlot.boxPlotMeanLineMarkerId]!==void 0);n&&!m&&(r===u.BoxPlotMonoFieldAndSplitBy?o=u.BoxPlotMonoField:r===u.BoxPlotMultiFieldsAndSplitBy?o=u.BoxPlotMultiFields:r===u.BoxPlotMonoFieldAndCategoryAndSplitBy&&(o=u.BoxPlotMonoFieldAndCategory));let a=N(e),f=z(e),x=H(e),F=I(e),p;switch(o){case u.BoxPlotMonoField:case u.BoxPlotMonoFieldAndCategory:{p=t.map(i=>{let d={};if(i[L.boxPlot.boxPlotOutlierId])k({rawData:i,outRow:d,config:e,boxPlotSubType:o});else{if(o===u.BoxPlotMonoFieldAndCategory){let s=$({field:a,value:i[a],fieldList:l});d[a]=s}else o===u.BoxPlotMonoField&&(d.Field=i[S]);R({rawData:i,outRow:d})}return d});break}case u.BoxPlotMultiFields:{p=t.flatMap(i=>{let d={};return i[L.boxPlot.boxPlotOutlierId]?k({rawData:i,outRow:d,config:e,boxPlotSubType:o}):(d.Field=i[S],R({rawData:i,outRow:d})),[d]});break}case u.BoxPlotMultiFieldsAndCategory:{p=t.flatMap(i=>f.map(d=>{let s={},g="";if(s.Field=d,i[L.boxPlot.boxPlotOutlierId])k({rawData:i,outRow:s,config:e,boxPlotSubType:o});else{if(o===u.BoxPlotMultiFieldsAndCategory){let y=$({field:a,value:i[a],fieldList:l});s[a]=y,g=`${d}_`}R({rawData:i,outRow:s,keyBase:g})}return s}));break}case u.BoxPlotMonoFieldAndSplitBy:case u.BoxPlotMultiFieldsAndSplitBy:case u.BoxPlotMonoFieldAndCategoryAndSplitBy:{p=t.flatMap(i=>{if(i[L.boxPlot.boxPlotOutlierId]){let d={};return k({rawData:i,outRow:d,config:e,boxPlotSubType:o}),[d]}else return i[L.boxPlot.boxPlotMeanLineMarkerId]?x?.map(d=>{let s={};return Fe({rawData:i,outRow:s,splitByValue:d,config:e}),s}):x.map(d=>{let s={};if(o===u.BoxPlotMonoFieldAndCategoryAndSplitBy){let g=$({field:a,value:i[a],fieldList:l});s[a]=g}return i[L.boxPlot.boxPlotOutlierId]?k({rawData:i,outRow:s,config:e,boxPlotSubType:o}):(s[F]=d,R({rawData:i,outRow:s,keyBase:`${d}_`})),s})});break}default:p=t}return p}var xe=c=>{let e=!1;return(typeof c=="string"||typeof c=="number")&&(e=!Number.isNaN(new Date(c).getTime())),e},$=c=>{let{field:e,value:t,fieldList:l}=c,r=!1;return l!==void 0&&l.length>0&&(r=Q(l).some(o=>o===e)),xe(t)&&r?new Date(t).toISOString():t};return{a:ke,b:Ce,c:De,d:de,e:Oe,f:he,g:Ne}},a,c,d,e,f,g,i)
|
package/dist/cdn/3XDQPIZW.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.4 */
|
|
4
|
-
import"./KLVSGHXQ.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - d MMM",_date_hour:"HH:mm",_date_hour_full:"HH:mm - d MMM",_date_day:"d MMM",_date_day_full:"d MMM",_date_week:"ww",_date_week_full:"d MMM",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"v.C.",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"a.m.","P.M.":"p.m.",January:"januari",February:"februari",March:"maart",April:"april",May:"mei",June:"juni",July:"juli",August:"augustus",September:"september",October:"oktober",November:"november",December:"december",Jan:"jan",Feb:"feb",Mar:"mrt",Apr:"apr","May(short)":"mei",Jun:"jun",Jul:"jul",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"zondag",Monday:"maandag",Tuesday:"dinsdag",Wednesday:"woensdag",Thursday:"donderdag",Friday:"vrijdag",Saturday:"zaterdag",Sun:"Zo",Mon:"Ma",Tue:"Di",Wed:"Wo",Thu:"Do",Fri:"Vr",Sat:"Za",_dateOrd:function(e){let t="de";return(e==1||e==8||e>19)&&(t="ste"),t},"Zoom Out":"Uitzoomen",Play:"Afspelen",Stop:"Stoppen",Legend:"Legenda","Press ENTER to toggle":"Klik, tik of druk op Enter om aan of uit te zetten",Loading:"Laden",Home:"Home",Chart:"Grafiek","Serial chart":"Periodieke grafiek","X/Y chart":"X-Y grafiek","Pie chart":"Taartdiagram","Gauge chart":"Meterdiagram","Radar chart":"Radardiagram","Sankey diagram":"Sankey-diagram","Chord diagram":"Chord-diagram","Flow diagram":"Flow-diagram","TreeMap chart":"Treemap-grafiek",Series:"Reeks","Candlestick Series":"Candlestick-reeks","Column Series":"Kolomreeks","Line Series":"Lijnreeks","Pie Slice Series":"Taartpuntreeks","X/Y Series":"XY reeks",Map:"Kaart","Press ENTER to zoom in":"Druk op Enter om in te zoomen","Press ENTER to zoom out":"Druk op Enter om uit te zoomen","Use arrow keys to zoom in and out":"Zoom in of uit met de pijltjestoetsen","Use plus and minus keys on your keyboard to zoom in and out":"Zoom in of uit met de plus- en minustoetsen",Export:"Exporteren",Image:"Afbeelding",Data:"Data",Print:"Printen","Press ENTER to open":"Klik, tik of druk op Enter om te openen","Press ENTER to print.":"Klik, tik of druk op Enter om te printen","Press ENTER to export as %1.":"Klik, tik of druk op Enter om te exporteren als %1","(Press ESC to close this message)":"(Druk op ESC om dit bericht te sluiten)","Image Export Complete":"Afbeelding exporteren gereed","Export operation took longer than expected. Something might have gone wrong.":"Exportproces duurt langer dan verwacht. Er is misschien iets fout gegaan.","Saved from":"Opgeslagen via:",PNG:"PNG",JPG:"JPG",GIF:"GIF",SVG:"SVG",PDF:"PDF",JSON:"JSON",CSV:"CSV",XLSX:"XLSX",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Gebruik Tab om de hendels te selecteren of linker- en rechterpijltje om de selectie te veranderen","Use left and right arrows to move selection":"Gebruik linker- en rechterpijltje om de selectie te verplaatsen","Use left and right arrows to move left selection":"Gebruik linker- en rechterpijltje om de linkerselectie te verplaatsen","Use left and right arrows to move right selection":"Gebruik linker- en rechterpijltje om de rechterselectie te verplaatsen","Use TAB select grip buttons or up and down arrows to change selection":"Gebruik Tab om de hendels te selecteren of pijltje omhoog en omlaag om de selectie te veranderen","Use up and down arrows to move selection":"Gebruik pijltje omhoog en omlaag om de selectie te verplaatsen","Use up and down arrows to move lower selection":"Gebruik pijltje omhoog en omlaag om de onderste selectie te verplaatsen","Use up and down arrows to move upper selection":"Gebruik pijltje omhoog en omlaag om de bovenste selectie te verplaatsen","From %1 to %2":"Van %1 tot %2","From %1":"Van %1","To %1":"Tot %1","No parser available for file: %1":"Geen data-parser beschikbaar voor dit bestand: %1","Error parsing file: %1":"Fout tijdens parsen van bestand: %1","Unable to load file: %1":"Kan bestand niet laden: %1","Invalid date":"Ongeldige datum"};export{r as default};
|
package/dist/cdn/4LFWDONF.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.4 */
|
|
4
|
-
import{a as L}from"./7JODQO5M.js";import{a as k}from"./CJ275XU4.js";import{b as K,c as N}from"./B6YQ4QEG.js";import e from"./CFKF5LDT.js";import{f as s}from"./J6LD6RWO.js";import{a as C}from"./ZGSSASAI.js";import c from"./R4JF6H5G.js";import a from"./GMBZEXQX.js";import{j as b,q as d}from"./VHG2HOUR.js";import"./6Y2WTGYS.js";import"./4Y76B53C.js";import{k as r,o as h}from"./BPIKEEVZ.js";import{A as o,F as P,g as I,h as n,l as f,w as m,x as p,y as F}from"./G2YNALPI.js";import"./KLVSGHXQ.js";export default $arcgis.t(([,,,,,,,{Pa:E,Wa:D,ic:v,kc:T,xa:w,ya:A},,{a:y,c:$,g:S,k:g,o:z}])=>{var _=I`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}calcite-panel{max-height:60vh}calcite-panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}calcite-panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}calcite-panel .apply-button{width:17rem}`,c={jsAppFlyout:"js-app-flyout",name:"line-chart-data-popover",numericFieldPickList:"line-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",sizeSection:"size-section",applyButton:"apply-button"},x=class extends F{constructor(){super(...arguments),this._messages=C(),this.commonStrings=C({name:"common",blocking:!0}),this.picklist=m(),this.intervalSizeElement=m(),this.intervalTypeElement=m(),this.popoverElement=m(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.layerFieldsInfo=[],this.arcgisChartsConfigLineChartDataPopoverChange=f(),this.arcgisChartsConfigLineChartPopoverClose=f()}static{this.properties={aggregationLabels:16,timeAggregationLabels:16,messageOverrides:0,headingTitle:3,referenceElement:2,open:7,contentKind:1,layerFieldsInfo:0,selectedContent:1}}static{this.styles=_}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=$.map(l=>w(l,this.commonStrings));b(this.aggregationLabels,t)||(this.aggregationLabels=t);let i=[h.Start,h.End].map(l=>A(l,this.commonStrings));b(this.timeAggregationLabels,i)||(this.timeAggregationLabels=i)}updated(){setTimeout(async()=>{typeof this.picklist.value?.setFocus=="function"&&await this.picklist.value?.setFocus()},y.PopoverTimer),K(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},y.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=N(e,t)}buildAggregationPickListItems(){return L($,e=>e,(e,t)=>n`<calcite-list-item .label=${this.aggregationLabels?.[t]} .value=${e} .selected=${g(e,this.selectedContent)}></calcite-list-item>`)}buildIntervalAlignmentPickListItems(){let e=[h.Start,h.End];return L(e,t=>t,(t,i)=>n`<calcite-list-item .label=${this.timeAggregationLabels?.[i]} .value=${t} .selected=${g(t,this.selectedContent)}></calcite-list-item>`)}buildPickListItem(e){return k(e.name,n`<calcite-list-item .label=${E(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${g(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case s.numericFields:{for(let l=0;l<t;l+=1){let a=this.layerFieldsInfo?.[l];a&&v(a)&&i.push(this.buildPickListItem(a))}break}case s.xAxisField:{for(let l=0;l<t;l+=1){let a=this.layerFieldsInfo?.[l];a&&(v(a)||a.type===d.Date||a.type===d.DateOnly||a.type===d.TimestampOffset)&&i.push(this.buildPickListItem(a))}break}case s.splitByField:{let l=k(" ",n`<calcite-list-item label=" " value=" " .selected=${g("",this.selectedContent)}></calcite-list-item>`);i.push(l);for(let a=0;a<t;a+=1){let u=this.layerFieldsInfo?.[a];u&&(T(u)||u.type===d.String)&&i.push(this.buildPickListItem(u))}break}}return i}closePopover(){if(this.contentKind===s.numericFields){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigLineChartDataPopoverChange,contentKind:this.contentKind};z(e)}this.open=!1,this.arcgisChartsConfigLineChartPopoverClose.emit()}onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigLineChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}intervalChange(){let e=Number.parseInt(this.intervalSizeElement.value?.value??""),t=this.intervalTypeElement.value?.selectedOption?.value;!Number.isNaN(e)&&e>0&&this.arcgisChartsConfigLineChartDataPopoverChange.emit({contentKind:this.contentKind,value:[{intervalSize:e,intervalUnits:t}]}),this.open=!1}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}renderAggregationType(){let e=this.buildAggregationPickListItems();return n`<calcite-list label class=${o(c.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderXAxisField(){let e=this.buildPickListItems(s.xAxisField);return n`<calcite-list label class=${o(c.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(s.numericFields);return n`<calcite-list label class=${o(c.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(s.splitByField);return n`<calcite-list label class=${o(c.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderIntervalAlignment(){let e=this.buildIntervalAlignmentPickListItems();return n`<calcite-list label class=${o(c.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderInterval(){let e=this.selectedContent,t=[r.Second,r.Minute,r.Hour,r.Day,r.Week,r.Month,r.Year];return n`<div><div class=${o(c.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${S(e?.size,1)} ${p(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType??""} ${p(this.intervalTypeElement)}>${t.map(i=>n`<calcite-option .value=${i} .label=${D(i,this._messages)} .selected=${e?.unit===i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(c.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`}renderPopoverInfo(){let e;switch(this.contentKind){case s.aggregation:e=this.renderAggregationType();break;case s.xAxisField:e=this.renderXAxisField();break;case s.numericFields:e=this.renderNumericFields();break;case s.splitByField:e=this.renderSplitByField();break;case s.intervalAlignment:e=this.renderIntervalAlignment();break;case s.interval:e=this.renderInterval();break}return e}render(){let e;return this.contentKind===s.numericFields&&(e=n`<div slot=footer><calcite-fab class=${o(c.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),n`<div class=${o(c.jsAppFlyout)}><calcite-popover class=${o(c.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${p(this.popoverElement)}><calcite-panel closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(c.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};P("arcgis-charts-config-line-chart-popover",x);return x},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a,c,e)
|