@arcgis/charts-components 5.2.0-next.6 → 5.2.0-next.61
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/README.md +2 -2
- package/dist/cdn/{FF4DUQDZ.js → 22WGB4CQ.js} +1 -1
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2G65P262.js +2 -0
- package/dist/cdn/2RYKKN36.js +2 -0
- package/dist/cdn/3AYXOX4U.js +2 -0
- package/dist/cdn/{ZFZ5AEUQ.js → 3CGAUDYD.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → 3FZCVKWJ.js} +1 -1
- package/dist/cdn/{DCZWZOPF.js → 3GVTYZ2I.js} +1 -1
- package/dist/cdn/3YCGBAQY.js +2 -0
- package/dist/cdn/3ZGG7Q5M.js +2 -0
- package/dist/cdn/46PXO7ZC.js +4 -0
- package/dist/cdn/4COV22K4.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → 4EBMUPEV.js} +1 -1
- package/dist/cdn/4ITNOJXC.js +2 -0
- package/dist/cdn/{E7OAEGSE.js → 4VL2SBHK.js} +1 -1
- package/dist/cdn/54W4C75M.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{GDQBQQUP.js → 5JXEO4VE.js} +1 -1
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/5YP7P6S3.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/67QYTLMM.js +2 -0
- package/dist/cdn/6AI3ZXL5.js +2 -0
- package/dist/cdn/6MNV7FJC.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/{JRHMUFED.js → 7DIQIFKR.js} +1 -1
- package/dist/cdn/{ETKPMU7Z.js → 7WVTY3XI.js} +1 -1
- package/dist/cdn/{A5AECJXP.js → A2NFOGT2.js} +1 -1
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/ANHW36VW.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → ASZ6YFIL.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → AYQ4HHL6.js} +1 -1
- package/dist/cdn/AYUYEY5H.js +2 -0
- package/dist/cdn/{JJIGLOJA.js → AZKX3FMB.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → AZMQPJO3.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BDTKAMUN.js +2 -0
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/BHGOAHMJ.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BKK57XHL.js +2 -0
- package/dist/cdn/BLZLMGO6.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → CDJRYMBP.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → CHMLTTRN.js} +1 -1
- package/dist/cdn/{HVO4LIXR.js → CL5G6D6W.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → CMGCZ4MF.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → CVJSVWF3.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{K3GNHGEW.js → D3KIBJKD.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → DAFNQT4C.js} +1 -1
- package/dist/cdn/DBAM7MH7.js +2 -0
- package/dist/cdn/DGV6S2W3.js +2 -0
- package/dist/cdn/{TF7TE7K5.js → DJPMW6UC.js} +1 -1
- package/dist/cdn/DPTA2AET.js +2 -0
- package/dist/cdn/DQXO7PWX.js +2 -0
- package/dist/cdn/EAV3KAS7.js +2 -0
- package/dist/cdn/EMBMJCFZ.js +2 -0
- package/dist/cdn/EOHKNJSJ.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/EUOJG5H6.js +2 -0
- package/dist/cdn/{2HUAW34Q.js → EXS2KOEA.js} +1 -1
- package/dist/cdn/FHBCVW5T.js +2 -0
- package/dist/cdn/FJGG2VVZ.js +2 -0
- package/dist/cdn/FQLRMWNL.js +2 -0
- package/dist/cdn/{QFEZPP3R.js → GARBFC7Q.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → GP3LPIRJ.js} +1 -1
- package/dist/cdn/GRL5SM6K.js +2 -0
- package/dist/cdn/{ADGMA3ST.js → H57XAQPI.js} +2 -2
- package/dist/cdn/{L4G6FO7A.js → HBOYEK6P.js} +1 -1
- package/dist/cdn/{MVHQR4FJ.js → HOIPLQXD.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → HQMOMCWF.js} +1 -1
- package/dist/cdn/{N6AOFBBX.js → HSQ32NUA.js} +1 -1
- package/dist/cdn/{7HGVEE7A.js → HUNN3ERX.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I3XBTQKJ.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/INISFVAK.js +2 -0
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/{KCMZSNBL.js → ISK4QVLY.js} +1 -1
- package/dist/cdn/{DEGBVJ76.js → IUOORM26.js} +1 -1
- package/dist/cdn/J3CL6KB6.js +2 -0
- package/dist/cdn/JGESKW6S.js +2 -0
- package/dist/cdn/JH3NSZUT.js +2 -0
- package/dist/cdn/{ML3A3MYV.js → JS6A5QAV.js} +1 -1
- package/dist/cdn/{4LPXOEML.js → JUON3AJY.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/JYITKARU.js +104 -0
- package/dist/cdn/{KUZR6CGB.js → JZ5HUNM5.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/KCES2YBJ.js +2 -0
- package/dist/cdn/KDCZQ6UT.js +2 -0
- package/dist/cdn/KJZTU3DV.js +2 -0
- package/dist/cdn/KLKI4XNW.js +2 -0
- package/dist/cdn/{5XTQQOTT.js → KOCZJFY6.js} +1 -1
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/KWA7OWHO.js +2 -0
- package/dist/cdn/L7TUV2MY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LGTXQIF7.js +2 -0
- package/dist/cdn/{IPM2XKST.js → LHDBHPXR.js} +1 -1
- package/dist/cdn/LIBE4XVH.js +2 -0
- package/dist/cdn/M744CFJ2.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → MARXRC6B.js} +1 -1
- package/dist/cdn/MI6AKTXQ.js +2 -0
- package/dist/cdn/MJTWR33N.js +2 -0
- package/dist/cdn/MPGHOXLW.js +2 -0
- package/dist/cdn/MU6ZYADT.js +2 -0
- package/dist/cdn/{XE3FKQFA.js → MVCB4RM7.js} +1 -1
- package/dist/cdn/MXE4VPZS.js +2 -0
- package/dist/cdn/{KFONSKQF.js → MZ2RZ62O.js} +1 -1
- package/dist/cdn/NK66D65H.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/NZ2C5DJB.js +2 -0
- package/dist/cdn/O3VKOV2W.js +2 -0
- package/dist/cdn/{THTYR6IL.js → OAXHS4LE.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/OFFKJPQH.js +2 -0
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/ONKEO3Z2.js +2 -0
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{A4GEWIPY.js → OSUM4CWA.js} +1 -1
- package/dist/cdn/OT7PLFBK.js +2 -0
- package/dist/cdn/OWWQ5SYW.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/P5QEJOJS.js +2 -0
- package/dist/cdn/{5MEQANMY.js → PAQGR4DD.js} +1 -1
- package/dist/cdn/PBO5VH6A.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → PEEVY5UG.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/PLEC3GNT.js +2 -0
- package/dist/cdn/Q5OFF4FE.js +45 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QZCTLQBM.js +2 -0
- package/dist/cdn/RICA7GJM.js +2 -0
- package/dist/cdn/S5GVUYBL.js +2 -0
- package/dist/cdn/SCU3SBSN.js +2 -0
- package/dist/cdn/SQIKFO32.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/SUNHJPBW.js +2 -0
- package/dist/cdn/SYVPFDIW.js +2 -0
- package/dist/cdn/T62EETHJ.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TEWEPSIO.js +2 -0
- package/dist/cdn/{QOOBNATX.js → TGEHTOWR.js} +1 -1
- package/dist/cdn/{DAB5R2BN.js → TQYJM66E.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{SBYD2EKR.js → TSSN2OW3.js} +1 -1
- package/dist/cdn/TU3LYEK3.js +2 -0
- package/dist/cdn/TVG7KD3H.js +2 -0
- package/dist/cdn/{MRTKZZTF.js → U43KANH5.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → UB36FUCN.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/UM7RIOCE.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/V6LKZUEZ.js +3 -0
- package/dist/cdn/{YOT6DVSU.js → V7AEHY25.js} +1 -1
- package/dist/cdn/VA6KJZ2Y.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VM4XLVMS.js +2 -0
- package/dist/cdn/{KZ7LPNX3.js → VNNTABNO.js} +1 -1
- package/dist/cdn/VPYL3RVN.js +2 -0
- package/dist/cdn/{XW4PBQNW.js → VT6X6QMA.js} +1 -1
- package/dist/cdn/WFW6BNDT.js +2 -0
- package/dist/cdn/{GV3TT7L5.js → WKQB6Z7Z.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → WMUPNT4Q.js} +1 -1
- package/dist/cdn/WSL76GA5.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/WTJ2NJ76.js +2 -0
- package/dist/cdn/WZOHQJFB.js +2 -0
- package/dist/cdn/X3S4M6JL.js +2 -0
- package/dist/cdn/XV4LD73L.js +2 -0
- package/dist/cdn/Y5ZH7VS4.js +2 -0
- package/dist/cdn/{WASEMNYV.js → YC4WZNPI.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/ZGBULDPL.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → ZRX4BEOX.js} +1 -1
- package/dist/cdn/{S5UDCCRH.js → ZWIF7LHW.js} +1 -1
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +19 -21
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +27 -35
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +39 -36
- package/dist/chunks/box-plot-data.js +273 -282
- package/dist/chunks/box-plot-model.js +159 -144
- package/dist/chunks/chart-model.js +177 -145
- package/dist/chunks/chart-object-literals.js +2 -1
- package/dist/chunks/chart-ui-utils.js +24 -23
- package/dist/chunks/class-breaks.js +12 -12
- package/dist/chunks/combo-bar-line-chart-model.js +25 -26
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +24 -24
- package/dist/chunks/data.js +69 -69
- package/dist/chunks/gauge-model.js +18 -18
- package/dist/chunks/generate-x-axis-title.js +12 -12
- package/dist/chunks/heat-chart-model.js +93 -64
- package/dist/chunks/histogram-data.js +22 -22
- package/dist/chunks/histogram-model.js +10 -10
- package/dist/chunks/index.js +190 -179
- package/dist/chunks/index2.js +6069 -5721
- package/dist/chunks/index3.js +96 -86
- package/dist/chunks/index4.js +312 -87
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/line-chart-model.js +12 -12
- package/dist/chunks/model-setter.js +16 -15
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-y-guides.js +59 -74
- package/dist/chunks/negative-values-stacked-to-baseline.js +18 -18
- package/dist/chunks/pie-chart-data.js +174 -192
- package/dist/chunks/pie-chart-model.js +161 -148
- package/dist/chunks/radar-chart-model.js +397 -46
- package/dist/chunks/resource.js +5 -5
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-data.js +889 -774
- package/dist/chunks/serial-chart-model.js +145 -124
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +17 -13
- package/dist/chunks/type-guards2.js +41 -33
- package/dist/chunks/utils.js +108 -96
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/chunks/x-bounds.js +41 -42
- package/dist/components/arcgis-chart/customElement.d.ts +277 -164
- package/dist/components/arcgis-chart/customElement.js +10323 -10325
- package/dist/components/arcgis-charts-action-bar/customElement.js +33 -30
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +15 -18
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +138 -136
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +93 -86
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide/customElement.js +17 -18
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -54
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -56
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +65 -66
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
- package/dist/components/arcgis-charts-info-modal/customElement.js +6 -6
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +62 -67
- package/dist/index.js +471 -458
- package/dist/json-schema/index.d.ts +207 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +8 -5
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +44 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +6 -5
- package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
- package/dist/model/shared/type-guards.d.ts +16 -2
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +15 -3
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +42 -6
- package/dist/utils/chart-config/converter/index.js +198 -179
- package/dist/utils/chart-config/utils/index.d.ts +54 -4
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +2 -2
- package/dist/utils/data/index.d.ts +14 -10
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +16 -4
- package/dist/utils/defaults/interfaces.d.ts +7 -2
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +5 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +2 -1
- package/dist/utils/layer/query-features/index.d.ts +18 -1
- package/dist/utils/layer/query-parser/index.d.ts +5 -3
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +7 -8
- package/dist/cdn/24RLLXS6.js +0 -2
- package/dist/cdn/2N4MK6FQ.js +0 -2
- package/dist/cdn/32FR66QO.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3NUNWPAR.js +0 -2
- package/dist/cdn/43ZHPVBB.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/6AF2OTL6.js +0 -2
- package/dist/cdn/6CFIKYKR.js +0 -2
- package/dist/cdn/6GLTSMOR.js +0 -2
- package/dist/cdn/7EMCHGGV.js +0 -2
- package/dist/cdn/7OF2IANH.js +0 -2
- package/dist/cdn/7VN3A7S2.js +0 -2
- package/dist/cdn/7YWZG3ZS.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/ADPDJISV.js +0 -2
- package/dist/cdn/B4KAJRUJ.js +0 -2
- package/dist/cdn/BBUPTHPL.js +0 -2
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/BLZODYE2.js +0 -4
- package/dist/cdn/BO62KSB5.js +0 -2
- package/dist/cdn/C2FOUUEM.js +0 -2
- package/dist/cdn/CJPEW4LJ.js +0 -142
- package/dist/cdn/CVU3UPPF.js +0 -2
- package/dist/cdn/CZ5XRXCE.js +0 -2
- package/dist/cdn/D73VV2AZ.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DPNTYHTH.js +0 -2
- package/dist/cdn/DZ72EIRH.js +0 -2
- package/dist/cdn/EGISZTGB.js +0 -2
- package/dist/cdn/EP34TF4L.js +0 -2
- package/dist/cdn/EZD3FBJU.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FQT7V7QG.js +0 -2
- package/dist/cdn/G72TNKCS.js +0 -2
- package/dist/cdn/GQ5QBLRO.js +0 -2
- package/dist/cdn/HWJGWDU3.js +0 -2
- package/dist/cdn/HZR4NSZV.js +0 -2
- package/dist/cdn/ICFKKJWQ.js +0 -2
- package/dist/cdn/IWX5L226.js +0 -2
- package/dist/cdn/JNG6V7XC.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JS2KOBA2.js +0 -2
- package/dist/cdn/JTTJ455Y.js +0 -2
- package/dist/cdn/JWO5WVTZ.js +0 -2
- package/dist/cdn/K4WI2SGM.js +0 -2
- package/dist/cdn/KLHZFPYK.js +0 -2
- package/dist/cdn/KO7HQLGV.js +0 -2
- package/dist/cdn/L5AQ4I5T.js +0 -2
- package/dist/cdn/LC6CY2HW.js +0 -2
- package/dist/cdn/MBVTB42G.js +0 -2
- package/dist/cdn/MGEW6X3Y.js +0 -102
- package/dist/cdn/NSOZIR5F.js +0 -2
- package/dist/cdn/NTSTL3FK.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/O5A25X5K.js +0 -2
- package/dist/cdn/OAAJ6CIN.js +0 -2
- package/dist/cdn/OGYY2Y22.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PRGFNLY7.js +0 -2
- package/dist/cdn/PROSIXIF.js +0 -2
- package/dist/cdn/Q5JDSPJA.js +0 -2
- package/dist/cdn/QJC3FDWG.js +0 -2
- package/dist/cdn/QRLILSSI.js +0 -2
- package/dist/cdn/QY53LXP2.js +0 -2
- package/dist/cdn/R75MHIRF.js +0 -2
- package/dist/cdn/RDA5NV6M.js +0 -2
- package/dist/cdn/RG3DO2OE.js +0 -2
- package/dist/cdn/RPNZL6AC.js +0 -2
- package/dist/cdn/S32NLOJ5.js +0 -2
- package/dist/cdn/SCAZDS2G.js +0 -2
- package/dist/cdn/SJGYHEMZ.js +0 -2
- package/dist/cdn/STU55UIS.js +0 -58
- package/dist/cdn/TCTQ4LMU.js +0 -2
- package/dist/cdn/TDHHWIIC.js +0 -2
- package/dist/cdn/TJMPLGQI.js +0 -2
- package/dist/cdn/TJMTF45U.js +0 -3
- package/dist/cdn/TW5DX7YP.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UZEMSOA2.js +0 -2
- package/dist/cdn/VBHQFV2H.js +0 -2
- package/dist/cdn/VFREVEVA.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/VZTLODMQ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/XCUXUZXY.js +0 -2
- package/dist/cdn/XG3WW5GG.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YEZL5KRS.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import c from"./
|
|
2
|
+
import c from"./O3VKOV2W.js";import a from"./EAV3KAS7.js";import{F as p,H as b,O as g,c as r}from"./SCU3SBSN.js";import{e as u}from"./K4APZJ2O.js";export default $arcgis.t(([{b:v,c:l},y])=>{var m=t=>{let e=!1;return t.legend!==void 0&&(e=t.legend.visible??!0),e},L=(t,e)=>{e.legend===void 0&&(e.legend=g()),e.legend.visible=t},M=t=>t.legend?.title?.content,V=(t,e)=>{e.legend===void 0&&(e.legend=g()),(e.legend.title===void 0||t===void 0)&&(e.legend.title=b({text:"",visible:!0,font:p(r.LegendTitle),type:r.LegendTitle})),t!==void 0&&(e.legend.title.content=t)},D=t=>t.legend?.body,O=(t,e)=>{e.legend===void 0&&(e.legend=g()),e.legend.body=t??b({text:"",visible:!0,font:p(r.LegendText),type:r.LegendText}).content},h=t=>t.legend?.title?.content.text??"",P=(t,e)=>{if(e.legend?.title!==void 0)e.legend.title.content.text=t;else if(e.legend===void 0&&t!==void 0){let i=g();i.title!==void 0&&(i.title.content.text=t,i.title.visible=!0,e.legend=i)}},R=t=>t.legend?.title?.visible??!1,j=(t,e)=>{if(e.legend?.title!==void 0)e.legend.title.visible=t;else if(e.legend!==void 0&&e.legend?.title===void 0&&t)e.legend.title=b({text:h(e),visible:t,font:p(r.LegendTitle),type:r.LegendTitle});else if(e.legend===void 0){let i=g();i.title=b({text:h(e),visible:t,font:p(r.LegendTitle),type:r.LegendTitle}),e.legend=i}},C=t=>t.legend?.position??u.Right,k=(t,e)=>{if(e.legend!==void 0)e.legend.position=t;else if(e.legend===void 0){let i=g();i.position=t,e.legend=i}},H=t=>t.legend?.roundMarkers??!1,S=(t,e)=>{e.legend===void 0&&(e.legend=g()),e.legend.roundMarkers=t},w=t=>t.legend?.maxHeight??void 0,E=(t,e)=>{e.legend===void 0&&(e.legend=g()),e.legend.maxHeight=t},W=Object.defineProperty,X=Object.getOwnPropertyDescriptor,a=(t,e,i,c)=>{for(var o=X(e,i),n=t.length-1,s;n>=0;n--)(s=t[n])&&(o=s(e,i,o)||o);return o&&W(e,i,o),o},d=class extends y{get legendVisibility(){return m(this._config)}set legendVisibility(e){L(e,this._config)}get legendTitleText(){return h(this._config)}set legendTitleText(e){P(e,this._config)}get legendTitleVisibility(){return R(this._config)}set legendTitleVisibility(e){j(e,this._config)}get legendPosition(){return C(this._config)}set legendPosition(e){k(e,this._config)}get legendTitleSymbol(){return M(this._config)}set legendTitleSymbol(e){V(e,this._config)}get legendTextSymbol(){return D(this._config)}set legendTextSymbol(e){O(e,this._config)}get legendMaxHeight(){return w(this._config)}set legendMaxHeight(e){e!==void 0&&E(e,this._config)}get legendRoundMarker(){return H(this._config)}set legendRoundMarker(e){S(e,this._config)}};a([l],d.prototype,"legendVisibility");a([l],d.prototype,"legendTitleText");a([l],d.prototype,"legendTitleVisibility");a([l],d.prototype,"legendPosition");a([l],d.prototype,"legendTitleSymbol");a([l],d.prototype,"legendTextSymbol");a([l],d.prototype,"legendMaxHeight");a([l],d.prototype,"legendRoundMarker");var q=(t,e)=>t.series?.[e??0]?.dataTooltipVisible??!0,z=(t,e,i)=>{i&&t.series?.[i]?t.series[i].dataTooltipVisible=e:t.series&&t.series.forEach(c=>{c.dataTooltipVisible=e})},A=(t,e)=>t.series?.[e??0]?.dataTooltipReverseColor??!1,B=(t,e,i)=>{i&&t.series?.[i]?t.series[i].dataTooltipReverseColor=e:t.series&&t.series.forEach(c=>{c.dataTooltipReverseColor=e})},F=Object.defineProperty,G=Object.getOwnPropertyDescriptor,_=(t,e,i,c)=>{for(var o=G(e,i),n=t.length-1,s;n>=0;n--)(s=t[n])&&(o=s(e,i,o)||o);return o&&F(e,i,o),o},f=class extends y{getDataTooltipVisibility(e){return q(this._config,e)}setDataTooltipVisibility(e,i){z(this._config,e,i)}getDataTooltipReverseColor(e){return A(this._config,e)}setDataTooltipReverseColor(e,i){B(this._config,e,i)}};_([l],f.prototype,"setDataTooltipVisibility");_([l],f.prototype,"setDataTooltipReverseColor");var I=Object.defineProperty,J=Object.getOwnPropertyDescriptor,K=(t,e,i,c)=>{for(var o=J(e,i),n=t.length-1,s;n>=0;n--)(s=t[n])&&(o=s(e,i,o)||o);return o&&I(e,i,o),o},Q=t=>t.colorMatch??!0,U=(t,e)=>{e.colorMatch=t},T=class extends v{get colorMatch(){return Q(this._config)}set colorMatch(e){U(e,this._config)}};K([l],T.prototype,"colorMatch");var Y=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,$=(t,e,i,c)=>{for(var o=Z(e,i),n=t.length-1,s;n>=0;n--)(s=t[n])&&(o=s(e,i,o)||o);return o&&Y(e,i,o),o},N=t=>t.series[0]?.dataLabels?.visible??!1,ee=(t,e)=>{e.series.forEach(i=>{i.dataLabels!==void 0?i.dataLabels.visible=t:i.dataLabels=b({text:"",visible:t,font:p(r.DataLabels),type:r.DataLabels})})},x=class extends v{get dataLabelsVisibility(){return N(this._config)}set dataLabelsVisibility(e){ee(e,this._config)}};$([l],x.prototype,"dataLabelsVisibility");return{a:d,b:f,c:T,d:x}},a,c)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import"./
|
|
2
|
+
import"./BYSUABOV.js";var a={_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_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_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:"\u043F. \u043D. \u0435.",A:"a",P:"p",AM:"\u043F\u0440\u0435 \u043F\u043E\u0434\u043D\u0435",PM:"\u043F\u043E \u043F\u043E\u0434\u043D\u0435","A.M.":"\u043F\u0440\u0435 \u043F\u043E\u0434\u043D\u0435","P.M.":"\u043F\u043E \u043F\u043E\u0434\u043D\u0435",January:"\u0458\u0430\u043D\u0443\u0430\u0440",February:"\u0444\u0435\u0431\u0440\u0443\u0430\u0440",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0458",June:"\u0458\u0443\u043D",July:"\u0458\u0443\u043B",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0431\u0430\u0440",October:"\u043E\u043A\u0442\u043E\u0431\u0430\u0440",November:"\u043D\u043E\u0432\u0435\u043C\u0431\u0430\u0440",December:"\u0434\u0435\u0446\u0435\u043C\u0431\u0430\u0440",Jan:"\u0458\u0430\u043D",Feb:"\u0444\u0435\u0431",Mar:"\u043C\u0430\u0440",Apr:"\u0430\u043F\u0440","May(short)":"\u043C\u0430\u0458",Jun:"\u0458\u0443\u043D",Jul:"\u0458\u0443\u043B",Aug:"\u0430\u0432\u0433",Sep:"\u0441\u0435\u043F",Oct:"\u043E\u043A\u0442",Nov:"\u043D\u043E\u0432",Dec:"\u0434\u0435\u0446",Sunday:"\u043D\u0435\u0434\u0435\u0459\u0430",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u0459\u0430\u043A",Tuesday:"\u0443\u0442\u043E\u0440\u0430\u043A",Wednesday:"\u0441\u0440\u0435\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043A",Friday:"\u043F\u0435\u0442\u0430\u043A",Saturday:"\u0441\u0443\u0431\u043E\u0442\u0430",Sun:"\u043D\u0435\u0434",Mon:"\u043F\u043E\u043D",Tue:"\u0443\u0442\u043E",Wed:"\u0441\u0440\u0435",Thu:"\u0447\u0435\u0442",Fri:"\u043F\u0435\u0442",Sat:"\u0441\u0443\u0431",_dateOrd:function(_){var 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":"Zumiranje",Play:"Reprodukuj",Stop:"Zaustavi",Legend:"Legenda","Click, tap or press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Mati\u010Dna stranica",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:"\u0160tampaj",Image:"Snimak",Data:"Podaci",Print:"\u0160tampaj","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(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:"","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":"Iz %1 u %2","From %1":"Iz %1","To %1":"U %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{a as default};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{a as C}from"./GRL5SM6K.js";import{a as b}from"./3ZGG7Q5M.js";import{b as S,c as T}from"./IHO3OLL3.js";import h from"./7DIQIFKR.js";import{h as a}from"./JYC77MVD.js";import{a as f}from"./U43KANH5.js";import e from"./54W4C75M.js";import d from"./V6LKZUEZ.js";import{n as F}from"./H57XAQPI.js";import"./BGOWDCTO.js";import{za as x}from"./SCU3SBSN.js";import{a as L}from"./KX7KGXKQ.js";import{l as y}from"./SP2IPHWF.js";import"./NZ2C5DJB.js";import{A as p,B as $,C as r,H as P,g as k,i as s,n as m,z as g}from"./MARXRC6B.js";import{d as c}from"./QP5UAIC6.js";import"./KJZTU3DV.js";import"./K4APZJ2O.js";import"./BYSUABOV.js";export default $arcgis.t(([{Ca:D,ya:I},,{a:w,d:u,k:h,o:E}])=>{var o={name:"pie-chart-data-popover",header:"header",fab:"fab",popoverPickList:"popover-pick-list",flipClass:"sort-counter-clockwise",sortOrderPickList:"sort-order-pick-list",panel:"panel"},O=k`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.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}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.sort-icon-color{color:#000}.sort-counter-clockwise{transform:scaleX(-1)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`,v=class extends ${constructor(){super(...arguments),this._messages=f(),this.commonStrings=f({name:"common",blocking:!0}),this.picklist=g(),this.popoverElement=g(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.aggregationLabels=[],this.open=!1,this.layerFieldsInfo=[],this.arcgisChartsConfigPieChartDataPopoverChange=m(),this.arcgisChartsConfigPopoverClose=m()}static{this.properties={aggregationLabels:16,messageOverrides:0,headingTitle:1,referenceElement:0,open:5,contentKind:1,layerFieldsInfo:0,selectedContent:1}}static{this.styles=O}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=u.map(i=>x(i,this.commonStrings));y(this.aggregationLabels,t)||(this.aggregationLabels=t)}updated(){S(this.popoverElement.value,this.open),setTimeout(()=>{this.picklist.value?.setFocus()},w.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=T(e,t)}buildAggregationPickListItems(){return C(u,e=>e,(e,t)=>s`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${h(e,this.selectedContent)}></calcite-list-item>`)}buildSortOrder(){let e=Object.keys(c);return e.splice(e.indexOf(c.customSort),1),C(e,t=>t,t=>{let i="string",l="rotate",n="";switch(t){case c.labelAsc:i="string";break;case c.labelDesc:i="string",n=o.flipClass;break;case c.valueAsc:i="number";break;case c.valueDesc:i="number",n=o.flipClass;break;case c.customSort:}return s`<calcite-list-item .selected=${this.selectedContent===t} .label=${this._messages[t]} .value=${c[t]}><calcite-icon slot=content-end .icon=${i}></calcite-icon><calcite-icon class=${r(n)} slot=content-end .icon=${l}></calcite-icon></calcite-list-item>`})}buildPickListItem(e){return b(e.name,s`<calcite-list-item .label=${F(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${h(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case a.numericFields:{for(let l=0;l<t;l+=1){let n=this.layerFieldsInfo[l];I(n)&&i.push(this.buildPickListItem(n))}break}case a.category:{let l=b(" ",s`<calcite-list-item label=" " value=" " .selected=${h("",this.selectedContent)}></calcite-list-item>`);i.push(l);for(let n=0;n<t;n+=1){let d=this.layerFieldsInfo[n];(D(d)||d.type===L.String)&&i.push(this.buildPickListItem(d))}break}}return i}closePopover(){if(this.contentKind===a.numericFields&&this.pickListHasChanged){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigPieChartDataPopoverChange,contentKind:this.contentKind};E(e)}this.arcgisChartsConfigPopoverClose.emit()}onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigPieChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.closePopover()}renderAggregationType(){let e=this.buildAggregationPickListItems();return s`<calcite-list label class=${r(o.popoverPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderCategory(){let e=this.buildPickListItems(a.category);return s`<calcite-list label class=${r(o.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(a.numericFields);return s`<calcite-list label class=${r(o.popoverPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSortOrder(){let e=this.buildSortOrder();return s`<calcite-list label class=${`${o.popoverPickList} ${o.sortOrderPickList}`} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderPopoverInfo(){let e;switch(this.contentKind){case a.aggregation:e=this.renderAggregationType();break;case a.category:e=this.renderCategory();break;case a.numericFields:e=this.renderNumericFields();break;case a.sortOrder:e=this.renderSortOrder();break}return e}render(){let e;return this.contentKind===a.numericFields&&(e=s`<div slot=footer><calcite-fab class=${r(o.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),s`<div><calcite-popover class=${r(o.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .offsetDistance=${this.offsetDistance} .open=${this.open} label auto-close ${p(this.popoverElement)}><calcite-panel class=${r(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${r(o.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};P("arcgis-charts-config-pie-chart-popover",v);return v},d,e,h)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import"./
|
|
2
|
+
import"./BYSUABOV.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_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"dC",_era_bc:"aC",A:"a. m.",P:"p. m.",AM:"a. m.",PM:"p. m.","A.M.":"a. m.","P.M.":"p. m.",January:"de gener",February:"de febrer",March:"de mar\xE7",April:"d\u2019abril",May:"de maig",June:"de juny",July:"de juliol",August:"d\u2019agost",September:"de setembre",October:"d\u2019octubre",November:"de novembre",December:"de desembre",Jan:"de gen.",Feb:"de febr.",Mar:"de mar\xE7",Apr:"d\u2019abr.","May(short)":"de maig",Jun:"de juny",Jul:"de jul.",Aug:"d\u2019ag.",Sep:"de set.",Oct:"d\u2019oct.",Nov:"de nov.",Dec:"de des.",Sunday:"diumenge",Monday:"dilluns",Tuesday:"dimarts",Wednesday:"dimecres",Thursday:"dijous",Friday:"divendres",Saturday:"dissabte",Sun:"dg.",Mon:"dl.",Tue:"dt.",Wed:"dc.",Thu:"dj.",Fri:"dv.",Sat:"ds.",_dateOrd:function(d){var e="th";if(d<11||d>13)switch(d%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Reprodueix",Stop:"Parada",Legend:"Llegenda","Click, tap or press ENTER to toggle":"",Loading:"S'est\xE0 carregant",Home:"Inici",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Imprimeix",Image:"Imatge",Data:"Dades",Print:"Imprimeix","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(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:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"De %1 a %2","From %1":"De %1","To %1":"A %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{b as C}from"./IHO3OLL3.js";import j from"./7DIQIFKR.js";import"./JYC77MVD.js";import{a as g}from"./U43KANH5.js";import f from"./54W4C75M.js";import b from"./V6LKZUEZ.js";import"./H57XAQPI.js";import"./BGOWDCTO.js";import"./SCU3SBSN.js";import"./KX7KGXKQ.js";import{k as d}from"./SP2IPHWF.js";import"./NZ2C5DJB.js";import{A as n,B as m,C as e,H as p,g as c,i as h,n as a,z as i}from"./MARXRC6B.js";import"./QP5UAIC6.js";import"./KJZTU3DV.js";import"./K4APZJ2O.js";import"./BYSUABOV.js";export default $arcgis.t(([,,{h:v,i:s}])=>{var r={chartRenameComponent:"chart-rename-component",renameLabelContainer:"rename-label-container",renamePanel:"rename-panel"},u=c`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-label-container{padding:0 1rem;margin-top:1rem}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`,l=class extends m{constructor(){super(...arguments),this._messages=g(),this.characterLimitInputElement=i(),this.popoverElement=i(),this.isChartTitleInvalid=!1,this.changedName="",this.name="",this.open=!1,this.arcgisChartsConfigChartRenamePopoverChange=a(),this.arcgisChartsConfigPopoverClose=a()}static{this.properties={isChartTitleInvalid:16,changedName:16,messageOverrides:0,name:1,open:5,referenceElement:0}}static{this.styles=u}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(t){t.has("name")&&(this.changedName=this.name)}updated(){this.popoverElement.value?.reposition(),C(this.popoverElement.value,this.open)}onNameChange(t){let o=t.target.value;this.changedName=o,this.isChartTitleInvalid=d(o.trim()),this.characterLimitInputElement.value&&v({inputElement:this.characterLimitInputElement.value,status:this.isChartTitleInvalid?s.INVALID:s.IDLE})}onCancelClick(){this.changedName=this.name,this.arcgisChartsConfigPopoverClose.emit(),this.open=!1}onSubmitClick(){this.isChartTitleInvalid||(this.name=this.changedName,this.arcgisChartsConfigChartRenamePopoverChange.emit({name:this.changedName}),this.open=!1)}popoverClose(){this.changedName=this.name,this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}render(){return h`<div class=${e({[r.chartRenameComponent]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${n(this.popoverElement)}><calcite-panel class=${e(r.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${e(r.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${n(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`}};p("arcgis-charts-config-chart-rename-popover",l);return l},b,f,j)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{b as e,f as t}from"./KX7KGXKQ.js";import{a as o}from"./
|
|
2
|
+
import{b as e,f as t}from"./KX7KGXKQ.js";import{a as o}from"./K4APZJ2O.js";var s=153,a={type:o.Guide,style:{type:t.SLS,color:[127,127,127,s],width:2,style:e.Solid},label:{type:t.TS}};export{s as a,a as b};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as
|
|
2
|
+
import{a as k,b as f,c as v,d as g}from"./AYQ4HHL6.js";import b from"./EAV3KAS7.js";import a from"./V6LKZUEZ.js";import{T as n}from"./SCU3SBSN.js";export default $arcgis.t(([{db:a,eb:o},{b:d,c:b}])=>{var T=(s,e)=>{if(a(e.series[s])||o(e.series[s]))return k(e.series[s])},I=(s,e,i)=>{(a(i.series[e])||o(i.series[e]))&&f(s,i.series[e])},j=(s,e)=>{if(a(e.series[s])||o(e.series[s]))return v(e.series[s])},w=(s,e,i)=>{(a(i.series[e])||o(i.series[e]))&&g(s,i.series[e])},A=(s,e)=>a(e.series[s])||o(e.series[s])?e.series[s].markerSymbol?.color:void 0,O=(s,e,i)=>{if(a(i.series[e])||o(i.series[e])){let r=i.series[e];r.markerSymbol===void 0&&(r.markerSymbol=n()),r.markerSymbol.color=s}},_=(s,e)=>a(e.series[s])||o(e.series[s])?e.series?.[s]?.markerSymbol?.style:void 0,z=(s,e,i)=>{if(a(i.series[e])||o(i.series[e])){let r=i.series[e];r.markerSymbol===void 0&&(r.markerSymbol=n()),r.markerSymbol.style=s}},L=(s,e)=>a(e.series[s])||o(e.series[s])?e.series?.[s]?.markerSymbol?.size:void 0,P=(s,e,i)=>{if(a(i.series[e])||o(i.series[e])){let r=i.series[e];r.markerSymbol===void 0&&(r.markerSymbol=n()),r.markerSymbol.size=s}},q=(s,e)=>a(e.series[s])||o(e.series[s])?e.series?.[s]?.lineSmoothed??!1:!1,D=s=>{let{smoothed:e,seriesIndex:i,config:r}=s;(a(r.series[i])||o(r.series[i]))&&(r.series[i].lineSmoothed=e)},W=(s,e)=>a(e.series[s])||o(e.series[s])?e.series[s].showArea??!1:!1,C=s=>{let{visible:e,seriesIndex:i,config:r}=s;(a(r.series[i])||o(r.series[i]))&&(r.series[i].showArea=e)},E=(s,e)=>a(e.series[s])||o(e.series[s])?e.series[s].markerVisible??!0:!1,F=s=>{let{visible:e,seriesIndex:i,config:r}=s;(a(r.series[i])||o(r.series[i]))&&(r.series[i].markerVisible=e)},G=(s,e)=>a(e.series[s])||o(e.series[s])?e.series[s].areaColor:void 0,H=(s,e)=>a(e.series[s])||o(e.series[s])?e.series?.[s]?.connectLines:void 0,J=s=>{let{connect:e,seriesIndex:i,config:r}=s;(a(r.series[i])||o(r.series[i]))&&(r.series[i].connectLines=e)},y=Object.defineProperty,S=Object.getOwnPropertyDescriptor,p=(s,e,i,r)=>{for(var t=S(e,i),m=s.length-1,l;m>=0;m--)(l=s[m])&&(t=l(e,i,t)||t);return t&&y(e,i,t),t},u=(s,e)=>a(e.series[s])||o(e.series[s])?e.series[s].stackNegativeValuesToBaseline??!0:!1,h=s=>{let{stackNegativeValuesToBaseline:e,seriesIndex:i,config:r}=s;(a(r.series[i])||o(r.series[i]))&&(r.series[i].stackNegativeValuesToBaseline=e)},c=class extends d{isNegativeValuesStackedToBaseline(e){return u(e,this._config)}setNegativeValuesStackedToBaseline(e,i){h({stackNegativeValuesToBaseline:e,seriesIndex:i,config:this._config})}};p([b],c.prototype,"setNegativeValuesStackedToBaseline");return{a:T,b:I,c:j,d:w,e:A,f:O,g:_,h:z,i:L,j:P,k:q,l:D,m:W,n:C,o:E,p:F,q:G,r:H,s:J,t:c}},a,b)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import"./
|
|
2
|
+
import"./BYSUABOV.js";var o={_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 - dd MMM",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd MMM",_date_day:"dd MMM",_date_day_full:"dd MMM",_date_week:"ww",_date_week_full:"dd MMM",_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:"AD",_era_bc:"BC",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"A.M.","P.M.":"P.M.",January:"Janvier",February:"F\xE9vrier",March:"Mars",April:"Avril",May:"Mai",June:"Juin",July:"Juillet",August:"Ao\xFBt",September:"Septembre",October:"Octobre",November:"Novembre",December:"D\xE9cembre",Jan:"Jan",Feb:"F\xE9v",Mar:"Mar",Apr:"Avr","May(short)":"Mai",Jun:"Jui",Jul:"Jul",Aug:"Ao\xFB",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"D\xE9c",Sunday:"Dimanche",Monday:"Lundi",Tuesday:"Mardi",Wednesday:"Mercredi",Thursday:"Jeudi",Friday:"Vendredi",Saturday:"Samedi",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam",_dateOrd:function(e){let r="e";return(e<11||e>13)&&e%10===1&&(r="er"),r},"Zoom Out":"Zoom Arri\xE8re",Play:"Joue",Stop:"Arr\xEAte",Legend:"L\xE9gende","Press ENTER to toggle":"cliquez, appuyez ou appuyez sur entr\xE9e pour basculer",Loading:"Charger",Home:"Accueil",Chart:"Graphique","Serial chart":"Graphique s\xE9rial","X/Y chart":"Graphique X/Y","Pie chart":"Camembert","Gauge chart":"Jauge graphique","Radar chart":"Carte radar","Sankey diagram":"Graphique Sankey","Flow diagram":"repr\xE9sentation sch\xE9matique","Chord diagram":"diagramme d'accord","TreeMap chart":"carte de l'arbre","Sliced chart":"graphique en tranches",Series:"S\xE9ries","Candlestick Series":"S\xE9ries chandelier","OHLC Series":"S\xE9ries OHLC","Column Series":"S\xE9ries de colonnes","Line Series":"S\xE9rie de lignes","Pie Slice Series":"Tarte tranche S\xE9ries","Funnel Series":"S\xE9ries d'entonnoir","Pyramid Series":"S\xE9ries pyramidale","X/Y Series":"S\xE9ries X/Y",Map:"Mappe","Press ENTER to zoom in":"Appuyez sur ENTER pour zoomer","Press ENTER to zoom out":"Appuyez sur ENTER pour effectuer un zoom arri\xE8re","Use arrow keys to zoom in and out":"Utilisez les touches fl\xE9ch\xE9es pour zoomer et d\xE9zoomer","Use plus and minus keys on your keyboard to zoom in and out":"Utilisez les touches plus et moins de votre clavier pour effectuer un zoom avant ou arri\xE8re",Export:"Exporter",Image:"Image",Data:"Data",Print:"Imprimer","Press ENTER to open":"Cliquez, appuyez ou appuyez sur ENTER pour ouvrir","Press ENTER to print.":"Cliquez, appuyez ou appuyez sur ENTER pour imprimer","Press ENTER to export as %1.":"Cliquez, appuyez ou appuyez sur ENTER pour exporter comme %1","(Press ESC to close this message)":"(Appuyez sur ESC pour fermer ce message)","Image Export Complete":"Exportation d'image termin\xE9e","Export operation took longer than expected. Something might have gone wrong.":"L'exportation a pris plus de temps que pr\xE9vu. Quelque chose aurait mal tourn\xE9.","Saved from":"Enregistr\xE9 de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Utilisez la touche TAB pour s\xE9lectionner les boutons des poign\xE9es ou les fl\xE8ches gauche et droite pour modifier la s\xE9lection.","Use left and right arrows to move selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection","Use left and right arrows to move left selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection gauche","Use left and right arrows to move right selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection droite","Use TAB select grip buttons or up and down arrows to change selection":"Utilisez les boutons de s\xE9lection TAB ou les fl\xE8ches vers le haut et le bas pour modifier la s\xE9lection.","Use up and down arrows to move selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection","Use up and down arrows to move lower selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection inf\xE9rieure","Use up and down arrows to move upper selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection sup\xE9rieure","From %1 to %2":"De %1 \xE0 %2","From %1":"De %1","To %1":"\xE0 %1","No parser available for file: %1":"Aucun analyseur disponible pour le fichier: %1","Error parsing file: %1":"Erreur d'analyse du fichier: %1","Unable to load file: %1":"Impossible de charger le fichier: %1","Invalid date":"Date invalide",Close:"",Minimize:"",Confirm:""};export{o as default};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import b from"./V6LKZUEZ.js";import{d as $}from"./H57XAQPI.js";import{e as B}from"./BGOWDCTO.js";import{p as O}from"./SCU3SBSN.js";import{e as m}from"./SP2IPHWF.js";import{a,c as f,e as I}from"./QP5UAIC6.js";import{a as C}from"./KJZTU3DV.js";import{a as n,b as y,h as c,v as d}from"./K4APZJ2O.js";export default $arcgis.t(([{Ia:S,L:_,c:F,h:L,i:T,j:D,k:N,oa:h,wb:v,xa:b}])=>{function w(e,r){let s;return r===d.Category&&Array.isArray(e)?s=a.customSort:r===d.Category?s=e===c.Ascending?a.xAxisAsc:a.xAxisDesc:e===c.Ascending?s=a.yAxisAsc:s=a.yAxisDesc,s}function Z(e,r){let s;return r===d.Category&&Array.isArray(e)?s=f.customSort:s=e===c.Ascending?f.Asc:f.Desc,s}var z=e=>{let r=e.orderOptions?.data&&"orderBy"in e.orderOptions.data?e.orderOptions.data.orderBy:c.Ascending;return w(r,e.orderOptions?.data?.orderType??d.Category)},R=e=>{let r=C(e.series),s=!1;return(r===n.BarSeries||r===n.LineSeries)&&(s=z(e)===a.customSort),s},ee=e=>{let r=[],s=e.orderOptions?.data?.orderType;return R(e)&&s===d.Category&&(r=e.orderOptions?.data?.orderBy),r},re=(e,r,s,i)=>{let o=C(r.series),A=F(r);r.orderOptions??={};let t=A?[""]:c.Ascending;if(A)e===f.customSort&&s!==void 0?t=[...s]:t=e===f.Desc?c.Descending:c.Ascending,i?r.orderOptions.data={...r.orderOptions.data,orderByY:t,orderType:d.MultiAxes}:r.orderOptions.data={...r.orderOptions.data,orderByX:t,orderType:d.MultiAxes};else if(o===n.BarSeries||o===n.LineSeries){let p=d.Category;e===a.customSort&&s!==void 0?(t=[...s],r.orderOptions.data={orderType:p,orderBy:t}):(p=e===a.xAxisAsc||e===a.xAxisDesc?d.Category:d.YValue,t=e===a.xAxisAsc||e===a.yAxisAsc?c.Ascending:c.Descending,r.orderOptions.data={orderType:p,orderBy:t})}},se=e=>e?.series?.[0]?.x??"",ie=e=>{let{config:r,xAxisField:s,numericFields:i,aggregationType:o,mode:A,layer:t,numericFieldIndex:p,seriesIndex:k,splitByField:U="",fieldList:Y}=e,H=C(r.series),M=v(r.series),u;if(B(t)){let g=h(t);u=i.length===1&&i[0]===g}else{let{idField:g,isTraditionalTypeOID:P}=b(_(t));u=P&&i.length===1&&i[0]===g}let l="y",x="y";switch(H){case n.PieSeries:{o!==y.NoAggregation?A===I.Category?(l=`${o}_${i[0]}_0`.toUpperCase(),x=u?m(y.Count):m(`${o} of ${i[0]}`)):l=T:l=i[0];break}case n.BarSeries:case n.LineSeries:case n.ComboLineAndBarSeries:case n.RadarSeries:case n.HeatSeries:{if(U===""||i.length>1)E({fieldName:s,numericFields:i,fieldList:Y??[]})||M===$.BarAndLineFromFields?l=N:(l=o!==y.NoAggregation?`${o}_${i[p??0]}_${p??0}`.toUpperCase():i[p??0],x=u?m(y.Count):m(`${o} of ${i[p??0]}`));else{let g=i[0];l=o!==y.NoAggregation?`${o}_${g}_${k??0}`.toUpperCase():g,x=u?m(y.Count):m(`${o} of ${g}`)}break}}return{name:l,description:x}};function V(e){let{fieldName:r,fieldList:s}=e,i=S(s??[],r);return r===D||r===L||r===O||r===void 0||r.trim()===""||i===void 0}function E(e){let{fieldName:r,fieldList:s,numericFields:i}=e,o=i.filter(A=>S(s??[],A)?.type!=="esriFieldTypeOID");return V({fieldName:r,fieldList:s})&&(o?.length??0)>0}return{a:w,b:Z,c:z,d:ee,e:re,f:se,g:ie,h:V,i:E}},b)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import f from"./OWWQ5SYW.js";import{a as b}from"./GRL5SM6K.js";import{a as R}from"./3ZGG7Q5M.js";import{a as I}from"./IHO3OLL3.js";import{a as $}from"./U43KANH5.js";import e from"./54W4C75M.js";import a from"./V6LKZUEZ.js";import"./H57XAQPI.js";import"./BGOWDCTO.js";import"./SCU3SBSN.js";import"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./NZ2C5DJB.js";import{B as g,C as c,F as u,H as v,g as C,i as r,k as d,n as o}from"./MARXRC6B.js";import{a as w}from"./DAFNQT4C.js";import{k as s}from"./QP5UAIC6.js";import"./KJZTU3DV.js";import"./K4APZJ2O.js";import"./BYSUABOV.js";export default $arcgis.t(([{r:f},,{a:P}])=>{var h={addChartContainer:"add-chart-container",viewChartComponent:"view-chart-component",header:"header",dropdownPopup:"dropdown-popup"},E=C`.view-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}.add-chart-container{display:flex;justify-content:center;padding:2rem 0;background-color:var(--calcite-color-background)}.header{margin-left:1rem}.dropdown-popup{position:relative}`,m=class extends g{constructor(){super(...arguments),this._messages=$(),this.chartRenamePopover=null,this.popoverClose=()=>{let e=this.modelList?.find(t=>t.chartId===this.selectedChartId);this.chartTitle=e?.titleText??"",this.selectedActionChartId="",this.removeChartRenamePopover()},this.onChartRename=e=>{if(!this.disableEditing){this.chartTitle=e.detail.name;let t=this.modelList?.find(i=>i.chartId===this.selectedActionChartId);t!==void 0&&(t.titleText=this.chartTitle),this.selectedActionChartId="",this.removeChartRenamePopover()}},this.onModelConfigChange=()=>{this.requestUpdate()},this.onCalciteListOrderChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{newIndex:t,oldIndex:i}=e.detail;if(this.modelList!==void 0&&this.modelList?.length>0){let a=[...this.modelList],n=a?.[i],l=a?.[t];n&&l&&(a.splice(i,1),a.splice(t,0,n)),this.chartsOrderReorderCounter+=1,this.arcgisChartsConfigModelListReorder.emit({modelList:a})}}},this.isChartRenamePopoverOpen=!1,this.chartTitle="",this.chartsOrderReorderCounter=0,this.noGroup=!1,this.disableEditing=!1,this.arcgisChartsConfigModelListReorder=o(),this.arcgisChartsConfigViewChartAddChart=o(),this.arcgisChartsConfigViewChartDelete=o(),this.arcgisChartsConfigViewChartEdit=o(),this.arcgisChartsConfigViewChartSelect=o()}static{this.properties={isChartRenamePopoverOpen:16,chartTitle:16,selectedActionChartId:16,chartsOrderReorderCounter:16,messageOverrides:0,selectedChartId:1,layer:0,modelList:0,noGroup:5,disableEditing:5}}static{this.styles=E}willUpdate(e){e.has("modelList")&&this.modelListChange(this.modelList,e.get("modelList"))}disconnectedCallback(){super.disconnectedCallback(),this.removeChartRenamePopover()}modelListChange(e,t){t?.forEach(i=>{i.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}),e?.forEach(i=>{i.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)})}onAddChartClick(e){e.stopImmediatePropagation(),this.selectedActionChartId=void 0,this.isChartRenamePopoverOpen&&this.removeChartRenamePopover(),this.arcgisChartsConfigViewChartAddChart.emit({referenceElement:e.target,layerId:this.layer?.id.toString(),layerType:this.layer?.type})}buildTooltipLine(e,t){let i=typeof document<"u"&&document.documentElement.dir.toLowerCase()==="rtl",a=`${f(i)} `;return`${e}${a}${t}`}getChartTypeLabel(e){switch(w(e.chartType)){case s.BarChart:return this._messages.barChart??"";case s.LineChart:return this._messages.lineChart??"";case s.PieChart:return this._messages.pieChart??"";case s.Histogram:return this._messages.histogram??"";case s.Scatterplot:return this._messages.scatterplot??"";case s.BoxPlot:return this._messages.boxPlot??"";case s.HeatChart:return this._messages.calendarHeatChart??"";default:return""}}buildChartTooltip(e){let t=this.getChartTypeLabel(e);return this.buildTooltipLine(this._messages.chartType??"",t??"")}buildChartList(){let e=this.modelList?b(this.modelList,t=>t.chartId,(t,i)=>{let a=t.chartId,n=t.titleText,l=P(t.config),p=this.buildChartTooltip(t);return r`<calcite-list-item .label=${n??a??this._messages.chartTitle} title=${p??d} .selected=${this.selectedChartId===(a?.toString()??i.toString())} .value=${a??i.toString()} @click=${this.onChartSelect}><calcite-icon slot=content-start .icon=${l} title=${p??d}></calcite-icon>${this.disableEditing?null:r`<calcite-dropdown slot=actions-end overlay-positioning=fixed placement=bottom-end .open=${this.selectedActionChartId===a} @calciteDropdownClose=${()=>this.chartActionClosed(a??"")} @calciteDropdownOpen=${()=>this.chartActionOpened(a??"")} class=${c(h.dropdownPopup)}><calcite-action scale=l .text=${this._messages.chartActions??""} slot=trigger .active=${a===this.selectedActionChartId}><calcite-icon icon=ellipsis></calcite-icon></calcite-action><calcite-dropdown-group selection-mode=none><calcite-dropdown-item accesskey=edit @calciteDropdownItemSelect=${this.chartEditSelect}>${this._messages.edit}</calcite-dropdown-item><calcite-dropdown-item accesskey=rename @click=${L=>L.stopPropagation()} @calciteDropdownItemSelect=${this.chartRenameSelect}>${this._messages.rename}</calcite-dropdown-item><calcite-dropdown-item accesskey=delete @calciteDropdownItemSelect=${this.chartDeleteSelect}>${this._messages.delete}</calcite-dropdown-item></calcite-dropdown-group></calcite-dropdown>`}</calcite-list-item>`}):null;return this.layer?r`<div>${this.noGroup?null:r`<p class=${c(h.header)}>${this.layer.title??this.layer.id.toString()}</p>`}${R(this.chartsOrderReorderCounter,r`<calcite-list label .dragEnabled=${!this.disableEditing} selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${e}${this.disableEditing?null:r`<div class=${c(h.addChartContainer)}><calcite-fab slot=fab appearance=outline-fill kind=neutral text-enabled .text=${this._messages.addChart} .label=${this._messages.addChart} @click=${this.onAddChartClick} scale=s></calcite-fab></div>`}</calcite-list>`)}</div>`:null}onChartSelect(e){let t=e.currentTarget,i;t?.localName==="calcite-list-item"?i=t.value:t?.localName==="calcite-icon"&&(i=t.parentNode.value),this.arcgisChartsConfigViewChartSelect.emit({chartId:i})}chartEditSelect(){this.disableEditing||(this.arcgisChartsConfigViewChartEdit.emit({chartId:this.selectedActionChartId}),this.chartActionClosed(this.selectedActionChartId))}chartRenameSelect(e){if(!this.disableEditing){let t=e.target.closest("calcite-list-item"),i=this.modelList?.find(a=>a.chartId===this.selectedActionChartId);t!==null&&(this.renameReferenceElement=t),this.arcgisChartsConfigViewChartSelect.emit({chartId:this.selectedActionChartId}),this.chartTitle=i?.titleText??"",this.setupRenamePopover()}}chartDeleteSelect(){this.disableEditing||(this.arcgisChartsConfigViewChartDelete.emit({chartId:this.selectedActionChartId}),this.selectedActionChartId="")}chartActionClosed(e){e===this.selectedActionChartId&&!this.isChartRenamePopoverOpen&&(this.selectedActionChartId=void 0)}chartActionOpened(e){this.selectedActionChartId=e}setupRenamePopover(){this.isChartRenamePopoverOpen=!0,this.chartRenamePopover!==null&&(this.chartRenamePopover.name=this.chartTitle,this.chartRenamePopover.referenceElement=this.renameReferenceElement),this.chartRenamePopover=u(r`<arcgis-charts-config-chart-rename-popover .name=${this.chartTitle} .referenceElement=${this.renameReferenceElement} .open=${this.isChartRenamePopoverOpen} @arcgisChartsConfigPopoverClose=${this.popoverClose} @arcgisChartsConfigChartRenamePopoverChange=${this.onChartRename}></arcgis-charts-config-chart-rename-popover>`),!document.body.contains(this.chartRenamePopover)&&this.chartRenamePopover!==null&&document.body.appendChild(this.chartRenamePopover)}removeChartRenamePopover(){this.chartRenamePopover!==null&&(this.isChartRenamePopoverOpen=!1,this.chartRenamePopover=I(this.chartRenamePopover))}render(){return r`<div class=${c(h.viewChartComponent)}>${this.buildChartList()}</div>`}};v("arcgis-charts-config-view-charts",m);return m},a,e,f)
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{b as d}from"./IHO3OLL3.js";import{a as m}from"./U43KANH5.js";import{d as p}from"./BGOWDCTO.js";import"./SP2IPHWF.js";import"./NZ2C5DJB.js";import{A as r,B as n,C as s,H as h,g as l,i as a,n as i,z as o}from"./MARXRC6B.js";import{k as e}from"./QP5UAIC6.js";import"./BYSUABOV.js";var g={selectChartComponent:"select-chart-component",panel:"panel"},C=l`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.select-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}calcite-block{width:var(--arcgis-charts-config-calcite-block-default-width);height:var(--arcgis-charts-config-calcite-block-default-height);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.header{margin:0}.panel{max-height:60vh}`,c=class extends n{constructor(){super(...arguments),this._messages=m(),this.selectChartTypePopover=o(),this.open=!1,this.arcgisChartsConfigPopoverClose=i(),this.arcgisChartsConfigSelectChartTypeChange=i()}static{this.properties={messageOverrides:0,headerTitle:1,layerId:1,layerType:1,isRasterBarChartSupported:5,open:5,referenceElement:0,popoverPlacement:1,selectedModelType:1}}static{this.styles=C}async reposition(){await this.selectChartTypePopover.value?.reposition()}updated(){d(this.selectChartTypePopover.value,this.open)}buildRasterChartTypesList(){let t=this.isRasterBarChartSupported===!0;return a`<calcite-list label @click=${this.onChartTypeClick}>${t?a`<calcite-list-item .label=${this._messages.barChart} .value=${e.BarChart} .selected=${this.selectedModelType===e.BarChart}><calcite-icon slot=content-start icon=graph-bar></calcite-icon></calcite-list-item>`:null}<calcite-list-item .label=${this._messages.histogram} .value=${e.Histogram} .selected=${this.selectedModelType===e.Histogram}><calcite-icon slot=content-start icon=graph-histogram></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.scatterplot} .value=${e.Scatterplot} .selected=${this.selectedModelType===e.Scatterplot}><calcite-icon slot=content-start icon=graph-scatter-plot></calcite-icon></calcite-list-item></calcite-list>`}buildChartTypesList(){let t;return p(this.layerType)?t=this.buildRasterChartTypesList():t=a`<calcite-list label @click=${this.onChartTypeClick}><calcite-list-item .label=${this._messages.barChart} .value=${e.BarChart} .selected=${this.selectedModelType===e.BarChart}><calcite-icon slot=content-start icon=graph-bar></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.lineChart} .value=${e.LineChart} .selected=${this.selectedModelType===e.LineChart}><calcite-icon slot=content-start icon=graph-time-series></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.pieChart} .value=${e.PieChart} .selected=${this.selectedModelType===e.PieChart}><calcite-icon slot=content-start icon=pie-chart></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.histogram} .value=${e.Histogram} .selected=${this.selectedModelType===e.Histogram}><calcite-icon slot=content-start icon=graph-histogram></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.scatterplot} .value=${e.Scatterplot} .selected=${this.selectedModelType===e.Scatterplot}><calcite-icon slot=content-start icon=graph-scatter-plot></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.boxPlot} .value=${e.BoxPlot} .selected=${this.selectedModelType===e.BoxPlot}><calcite-icon slot=content-start icon=box-chart></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.calendarHeatChart} .value=${e.HeatChart} .selected=${this.selectedModelType===e.HeatChart}><calcite-icon slot=content-start icon=calendar-heat-chart></calcite-icon></calcite-list-item></calcite-list>`,t}onChartTypeClick(t){t.target?.localName==="calcite-list-item"?this.selectedModelType=t.target?.value:this.selectedModelType=t.target?.parentNode?.value,this.arcgisChartsConfigSelectChartTypeChange.emit()}popoverOpen(){setTimeout(()=>{this.selectChartTypePopover.value?.setFocus()},250)}popoverClose(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit(),setTimeout(()=>{this.referenceElement?.setFocus()},250)}render(){return a`<div class=${s({[g.selectChartComponent]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.popoverPlacement} .flipPlacements=${["top","bottom"]} @calcitePopoverOpen=${this.popoverOpen} @calcitePopoverClose=${this.popoverClose} .open=${this.open} auto-close label ${r(this.selectChartTypePopover)}><calcite-panel class=${s(g.panel)} .heading=${this.headerTitle??this._messages.chooseChartType} closable @calcitePanelClose=${this.popoverClose} .closed=${!this.open}>${this.buildChartTypesList()}</calcite-panel></calcite-popover></div>`}};h("arcgis-charts-config-select-chart-type-popover",c);export{c as ArcgisChartsConfigSelectChartTypePopover};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./V6LKZUEZ.js";import{q as x}from"./SCU3SBSN.js";import{a as k,b as g,d as b,f as C}from"./KX7KGXKQ.js";import{d as j,g as z,j as q,l as B,r as L}from"./SP2IPHWF.js";import{a as W}from"./K4APZJ2O.js";export default $arcgis.t(([Z,{createClassBreaksRenderer:Q},{getSchemes:U},K,{Oc:A,sa:G}])=>{function X(e){let a;switch(e.length){case 4:{let t=e.match(/^#?([\da-f]{1})([\da-f]{1})([\da-f]{1})$/iu);t&&(a=[Number.parseInt(`${t[1]}${t[1]}`,16),Number.parseInt(`${t[2]}${t[2]}`,16),Number.parseInt(`${t[3]}${t[3]}`,16),255]);break}case 5:{let t=e.match(/^#?([\da-f]{1})([\da-f]{1})([\da-f]{1})([\da-f]{1})$/iu);t&&(a=[Number.parseInt(`${t[1]}${t[1]}`,16),Number.parseInt(`${t[2]}${t[2]}`,16),Number.parseInt(`${t[3]}${t[3]}`,16),Number.parseInt(`${t[4]}${t[4]}`,16)]);break}case 7:{let t=e.match(/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu);t&&(a=[Number.parseInt(t[1],16),Number.parseInt(t[2],16),Number.parseInt(t[3],16),255]);break}case 9:{let t=e.match(/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})([\da-f]{2})$/iu);t&&(a=[Number.parseInt(t[1],16),Number.parseInt(t[2],16),Number.parseInt(t[3],16),Number.parseInt(t[4],16)]);break}}return a}function _(e){let a;if(typeof e=="string"&&e.startsWith("#")){let t=X(e);t&&(a=t)}else Array.isArray(e)&&e.every(t=>typeof t=="number")&&(e.length===4?a=e:e.length===3&&(a=[...e,255]));return a}function J(e){return e===b.BackwardDiagonal||e===b.Cross||e===b.DiagonalCross||e===b.ForwardDiagonal||e===b.Horizontal||e===b.Null||e===b.Solid||e===b.Vertical}function R(e){return e===g.Dash||e===g.DashDot||e===g.DashDotDot||e===g.Dot||e===g.Null||e===g.Solid}function ee(e){let{categoryField:a,numericFields:t,configFields:r,inlineData:c}=e,n={};return r&&Object.keys(r).length>0&&"dataItems"in c&&(n={type:"uniqueValue",field1:a,uniqueValueInfos:[]},c.dataItems.forEach(s=>{let l=s[a];if(l!=null){let o={value:l};t.forEach(i=>{let u=_(s[`${r.fillColor}_${i}`]),m=s[`${r.fillOpacity}_${i}`],p=s[`${r.fillStyle}_${i}`],f=s[`${r.markerSize}_${i}`],d=_(s[`${r.outlineColor}_${i}`]),F=s[`${r.outlineOpacity}_${i}`],$=s[`${r.outlineWidth}_${i}`],N=s[`${r.outlineStyle}_${i}`],S=_(s[`${r.lineColor}_${i}`]),O=s[`${r.lineOpacity}_${i}`],I=s[`${r.lineWidth}_${i}`],w=s[`${r.lineStyle}_${i}`],V=s[`${r.displayLabel}_${i}`];if(typeof V=="string"&&(o={...o,label:V}),f!=null){let y={type:C.SMS};f&&typeof f=="number"&&(y.size=f),o.symbol=y}if(u||J(p)){let y=o.symbol?.type===C.SMS?o.symbol:{type:C.SFS};if(u&&(m&&typeof m=="number"&&(u[3]=m),y.color=u),J(p)&&(y.style=p),o.symbol=y,d||$!=null||R(N)){let D={type:C.SLS};d&&(F&&typeof F=="number"&&(d[3]=F),D.color=d),R(N)&&(D.style=N),$&&typeof $=="number"&&(D.width=$),o.symbol.outline=D}}else if(S||I!=null||R(w)){let y={type:C.SLS};S&&(O&&typeof O=="number"&&(S[3]=O),y.color=S),R(w)&&(y.style=w),I!=null&&typeof I=="number"&&(y.width=I),o.symbol=y}}),(o.label||o.symbol)&&n.uniqueValueInfos.push(o)}})),n}function te(e){let{numericFields:a,configFields:t,inlineData:r}=e,c=r;return"dataItems"in r&&Object.entries(t).forEach(([n,s])=>{a.forEach(l=>{let o=`${s}_${l}`;r.dataItems.forEach(i=>{o in i&&delete i[o]})})}),c}function ae(e){let{categoryField:a,categoryType:t,numericFields:r,inlineData:c}=e,n;if("dataItems"in c){let{dataItems:s}=c,l=[],o="OBJECTID",i=s.map((m,p)=>{let f={...m};return"FID"in m?o="FID":"ObjectId"in m&&(o="ObjectId"),f[o]||(f[o]=p),{attributes:f}});l.push({type:"esriFieldTypeOID",name:o});let u;switch(t){case"dateOnly":u=k.DateOnly;break;case"timeStampOffset":u=k.TimestampOffset;break;case"date":u=k.Date;break;case"number":u=k.Double;break;default:u=k.String;break}l.push({type:u,name:a}),r.forEach(m=>{l.push({type:k.Double,name:m})}),n={id:"",layerType:"ArcGISFeatureLayer",featureCollection:{layers:[{layerDefinition:{fields:l},featureSet:{features:i}}]}}}return n}async function re(e){let{categoryField:a,categoryType:t,numericFields:r,configFields:c,inlineData:n}=e,s,l,o=z(n);c&&(s=ee({categoryField:a,numericFields:r,configFields:c,inlineData:o}),o=te({numericFields:r,configFields:c,inlineData:o}));let i=ae({categoryField:a,categoryType:t,numericFields:r,inlineData:o});return i&&(l=await G(i)),{chartRenderer:s,iLayer:i,layer:l}}var E=K.all(),se=U({geometryType:"point",theme:"high-to-low"});function H(e,a,t){let r=Math.max(0,Math.min(1,t));return[Math.round(e[0]+(a[0]-e[0])*r),Math.round(e[1]+(a[1]-e[1])*r),Math.round(e[2]+(a[2]-e[2])*r),Math.round(e[3]+(a[3]-e[3])*r)]}function ne(e,a){return a?.length===e?a:[]}function oe(e){let{numberOfClassBreaks:a,baseColors:t,fallbackStartColor:r=[237,248,251,255],fallbackEndColor:c=[136,65,157,255]}=e,n=[];if(a>0){let s=t?.[0]??r,l=t&&t.length>1?t[t.length-1]:c;if(a===1)n=[s];else for(let o=0;o<a;o++){let i=o/(a-1);n.push(H(s,l,i))}}return n}function le(e){let{colorRamp:a,numberOfClassBreaks:t,isFlipped:r}=e,c=[],n=!1;if(a.colorsForClassBreaks&&a.colorsForClassBreaks.length>0){let s=a.colorsForClassBreaks.find(l=>l.numClasses===t);if(s?.colors?.length===t){let l=s.colors.map(o=>M(o));l.every(o=>o!==void 0)&&(c=r?l.reverse():l,n=!0)}}if(!n){let s=a.colors||[];if(s.length>0){let l=s.map(M).filter(i=>i!==void 0);r&&(l=l.reverse());let o=[];for(let i=0;i<t;i++){let u=t>1?i/(t-1):0,m=Math.floor(u*(l.length-1)),p=Math.min(m+1,l.length-1),f=l[m],d=l[p];if(!f||!d){c=[];break}let F=u*(l.length-1)-m,$=H(f,d,F);o.push($)}c=o}}return c}function P(e){let{numberOfClassBreaks:a,selectedColorRamp:t,colorRamp:r,isFlipped:c=!1}=e,n=ne(a,r),s=t?le({colorRamp:t,numberOfClassBreaks:a,isFlipped:c}):[];return n.length!==a&&(n=s),n.length!==a&&(n=oe({numberOfClassBreaks:a,baseColors:s.length>0?s:r})),n}function ie(e,a=2){return`\u2264 ${(t=>{let r="";return t%1===0?r=t.toString():r=t.toFixed(a),r})(e)}`}function Ie(e){let a="#000000";if(e&&Array.isArray(e)&&e.length>=3){let t=h(e[0]||0),r=h(e[1]||0),c=h(e[2]||0),n=t.toString(16).padStart(2,"0"),s=r.toString(16).padStart(2,"0"),l=c.toString(16).padStart(2,"0");a=`#${n}${s}${l}`}return a}var De={all:["*"],light:["light"],dark:["dark"],redsAndYellows:["oranges","reds","yellows"],greens:["greens"],blues:["blues"],purplesAndPinks:["purples","pinks"],browns:["browns"],grays:["grays"],bright:["bright"],subdued:["subdued"],colorblindFriendly:["colorblind-friendly"]},Be={all:"all"},ce=e=>{let a=0,t=n=>{let s=0;return n.forEach(l=>{let o=l.toString().split(".")[1];o&&(s=Math.max(s,o.length))}),s},r=[...e].sort((n,s)=>n-s),c=t(r);for(;a<=c&&r.some((n,s)=>s>0&&A(n,a)<=A(r[s-1],a));)a++;return Math.min(a,c)};function h(e){return Math.max(0,Math.min(255,Math.round(e)))}function M(e){let a;if(e instanceof Z){let t=e.toRgba();a=[h(t[0]),h(t[1]),h(t[2]),h(t[3]*255)]}else if(Array.isArray(e)&&e.every(t=>typeof t=="number")&&e.length===4){let t=e.length>=4?e[3]??255:255,r=h(t<=1?t*255:t);a=[h(e[0]??0),h(e[1]??0),h(e[2]??0),r]}return a}function v(e){let a=[];for(let t of e){let r=M(t);r&&a.push(r)}return a}function T(e,a){let t=0,r=e.size<=a.size?e:a,c=r===e?a:e;for(let n of r)c.has(n)&&t++;return t}function ue(e){return[...e.colors??[],...q(e.colorsForClassBreaks??[],a=>a.colors??[])]}function me(e){let{ramp:a,breakKeys:t,breakCount:r,weights:c}=e,n=d=>d.join(","),s=a.colorsForClassBreaks?.find(d=>d.numClasses===r)?.colors??[],l=new Set(v(s).map(n)),o=T(t,l),i=new Set(v(P({numberOfClassBreaks:r,selectedColorRamp:a})).map(n)),u=T(t,i),m=ue(a).filter(d=>!!d),p=new Set(v(m).map(n)),f=T(t,p);return o*c.exactN+u*c.generated+f*c.anyOverlap}function Re(e,a){let t={exactN:100,generated:10,anyOverlap:1},r=n=>n.join(","),c;if(e?.length){let n=v(e.map(u=>u.symbol?.color)),s=new Set(n.map(r)),l=n.length,o=a.map(u=>{let m=me({ramp:u,breakKeys:s,breakCount:l,weights:t});return{ramp:u,score:m}}),i=L(o,[u=>-u.score,u=>u.ramp.name]);i[0]?.score>0&&(c=i[0].ramp)}return c}function ve(e,a){let t=!0;if(!e?.length||a.length<2)t=!1;else{let r=e.map(M),c=a.map(n=>n.symbol.color);if(r.length!==c.length)t=!1;else{let n=(o,i)=>!!o&&!!i&&o.length===i.length&&o.every((u,m)=>u===i[m]),s=0,l=c.length-1;for(;s<r.length&&l>=0;){if(!n(r[s],c[l])){t=!1;break}s++,l--}}}return t}async function fe(e){let{data:a,breaksCount:t,classificationMethod:r,xAxisField:c,colorsForClassBreaks:n}=e,s=[],l=await re({categoryField:c??"",categoryType:W.DateAxisFormat,numericFields:[x.valueField],inlineData:a});if(l.layer){let o=se?.primaryScheme,i=await Q({layer:l.layer,field:x.valueField,classificationMethod:r,numClasses:t,colorScheme:o});if(i?.classBreaksResult?.classBreakInfos?.length){let u=ce(i.classBreaksResult.classBreakInfos.map(m=>m.maxValue));s=i.classBreaksResult.classBreakInfos.map((m,p)=>({classMinValue:m.minValue,classMaxValue:m.maxValue,label:ie(m.maxValue,u),symbol:{type:C.SFS,style:b.Solid,color:n?.[p]||[0,0,0,255],outline:{style:g.Solid,width:.5,color:[50,50,50,.6]}}}))}}return s}function pe(e){return e?.length?e:Y.esriColorRamps}function de(e,a){return e?pe(a).find(t=>t.name===e):void 0}function ye(e){let{colorRampName:a,availableColorRamps:t}=e;return de(a,t)??Y.defaultColorRampForCharts}var Me=j(async e=>{let{data:a,breaksCount:t,classificationMethod:r,xAxisField:c,colorRampName:n,availableColorRamps:s,existingClassBreakInfos:l,useExistingColors:o,isColorRampFlipped:i}=e,u=ye({colorRampName:n,availableColorRamps:s}),m=i??!1,p=P({numberOfClassBreaks:t,selectedColorRamp:u,colorRamp:o?l?.map(f=>f.symbol?.color):void 0,isFlipped:m});return await fe({data:a,classificationMethod:r,breaksCount:t,xAxisField:c,colorsForClassBreaks:p})},e=>JSON.stringify(e)),Y={esriColorRamps:E,defaultColorRampForCharts:E.find(e=>e.name==="Blue 3")??E[0]};function Ne({currentBreaks:e,configBreaks:a,treatReversedColorsAsEqual:t=!0}){let r=!0;if(Array.isArray(e)&&Array.isArray(a)){let c=n=>n.map(({symbol:s,...l})=>l);if(B(c(e),c(a))){let n=e.map(i=>i.symbol?.color),s=a.map(i=>i.symbol?.color),l=B(n,s),o=B(n,[...s].reverse());r=t?!(l||o):!l}}return r}return{a:P,b:Ie,c:De,d:Be,e:Re,f:ve,g:Me,h:Y,i:Ne}},"Color","smartMapping/renderers/color","smartMapping/symbology/color","smartMapping/symbology/support/colorRamps",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as i,b as n,c}from"./
|
|
2
|
+
import{a as i,b as n,c}from"./DAFNQT4C.js";import{k as r}from"./QP5UAIC6.js";async function d(t){let a="config"in t?n(t.config):t.chartType,o;if(!("layer"in t)&&!("iLayer"in t)&&"config"in t&&t.config.iLayer===void 0)throw new Error("The source is missing. You can provide it to createModel through either `iLayer`, `layer`, or by setting the `config.iLayer` property.");switch(a){case r.LineChart:{let{LineChartModel:e}=await import("./VPYL3RVN.js").then(m=>m.default.then(e=>({LineChartModel:e})));o=new e;break}case r.ComboBarLineChart:{let{ComboBarLineChartModel:e}=await import("./ONKEO3Z2.js").then(m=>m.default.then(e=>({ComboBarLineChartModel:e})));o=new e;break}case r.PieChart:{let{PieChartModel:e}=await import("./4ITNOJXC.js").then(m=>m.default.then(e=>({PieChartModel:e})));o=new e;break}case r.Histogram:{let{HistogramModel:e}=await import("./OT7PLFBK.js").then(m=>m.default.then(e=>({HistogramModel:e})));o=new e;break}case r.Scatterplot:{let{ScatterplotModel:e}=await import("./X3S4M6JL.js").then(m=>m.default.then(e=>({ScatterplotModel:e})));o=new e;break}case r.BoxPlot:{let{BoxPlotModel:e}=await import("./FHBCVW5T.js").then(m=>m.default.then(e=>({BoxPlotModel:e})));o=new e;break}case r.Gauge:{let{GaugeModel:e}=await import("./TU3LYEK3.js").then(m=>m.default.then(e=>({GaugeModel:e})));o=new e;break}case r.RadarChart:{let{RadarChartModel:e}=await import("./LIBE4XVH.js").then(m=>m.default.then(e=>({RadarChartModel:e})));o=new e;break}case r.HeatChart:{let{HeatChartModel:e}=await import("./TVG7KD3H.js").then(m=>m.default.then(e=>({HeatChartModel:e})));o=new e;break}case r.BarChart:default:{let{BarChartModel:e}=await import("./MI6AKTXQ.js").then(m=>m.default.then(e=>({BarChartModel:e})));o=new e;break}}if(await o?.setup({layer:"layer"in t?t.layer:void 0,iLayer:"iLayer"in t?t.iLayer:void 0,config:"config"in t?t.config:void 0,commonStrings:"commonStrings"in t?t.commonStrings:void 0}),a!==void 0&&c(o,a))return o;{let e=i(o.chartType);throw new Error(`Please check the arguments provided to \`createModel\`. The generated model's type (\`${e}\`) does not match the type specified by either the \`chartType\` or the \`config\` argument (\`${a}\`).`)}}export{d as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{b as e}from"./
|
|
2
|
+
import{b as e}from"./K4APZJ2O.js";var a={actionBar:"action-bar",customActionTop:"custom-action-top",customActionBelow:"custom-action-below"},l={Mean:"mean",Median:"median",StandardDev:"standardDev",NormalDist:"normalDist"},n={Mean:"mean",Median:"median",StandardDev:"standardDev",Count:e.Count,CountExcludingNulls:"countExcludingNulls",Min:e.Minimum,Max:e.Maximum,Sum:e.Sum,Nulls:"nulls"},r={Data:"data",Series:"series",Slices:"slices",Axes:"axes",Guides:"guides",Format:"format",General:"general"},t={Title:"title",Text:"text",Label:"label",Palette:"palette"},o={xAxisField:"xAxisField",aggregation:"aggregation",numericFields:"numericField",splitByField:"splitByField",interval:"interval",intervalAlignment:"intervalAlignment"},s={category:"category",aggregation:"aggregation",numericFields:"numericField",splitByField:"splitByField",sortOrder:"sortOrder",interval:"interval",intervalAlignment:"intervalAlignment"},d={category:"category",aggregation:"aggregation",numericFields:"numericFields",sortOrder:"sortOrder"},m={numericFields:"numericField",transformation:"transformation",fillSymbol:"fillSymbol",lineSymbol:"lineSymbol"},c={xAxisField:"xAxis",yAxisField:"yAxis",sizeVariable:"sizeVariable",symbol:"symbol",trendLine:"trendLine",additionalTooltipFields:"additionalTooltipFields",none:"none"},g={category:"category",numericFields:"numericField",splitByField:"splitByField",sortOrder:"sortOrder"},u={xAxisField:"xAxisField",aggregation:"aggregation",numericFields:"numericField",calendarType:"calendarType",calendarViewType:"calendarViewType",classBreakMethod:"classBreakMethod",colorScheme:"colorScheme",null:"null"},y={WeekByDayOfWeekAndHourOfDay:"weekByDayOfWeekAndHourOfDay",YearByMonthAndDayOfMonth:"yearByMonthAndDayOfMonth"},F={Fixed:"fixed",Proportional:"proportional"},x={Up:"up",Down:"down"};export{a,l as b,n as c,r as d,t as e,o as f,s as g,d as h,m as i,c as j,g as k,u as l,y as m,F as n,x as o};
|