@arcgis/charts-components 5.0.0-next.87 → 5.0.0-next.89
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/{OVQT6OIS.js → 24CB5HJI.js} +2 -2
- package/dist/cdn/{TOJL6YMF.js → 26Y67K7N.js} +2 -2
- package/dist/cdn/{ZRK7JIUC.js → 27DGP7FJ.js} +2 -2
- package/dist/cdn/{64WOXDDN.js → 2FPDE35U.js} +2 -2
- package/dist/cdn/{435ULGSM.js → 2LO3SPLJ.js} +2 -2
- package/dist/cdn/{W4KN6SP4.js → 2MGDOOSL.js} +2 -2
- package/dist/cdn/{WS5VJZ2N.js → 3CG3PDD7.js} +2 -2
- package/dist/cdn/{F3J52EGD.js → 3EIFLW5E.js} +2 -2
- package/dist/cdn/{6OXEHSAO.js → 3GT7SI5M.js} +2 -2
- package/dist/cdn/{MSWDNFT3.js → 3KREHQJZ.js} +2 -2
- package/dist/cdn/{AFJRGU4T.js → 3LN7WPHP.js} +2 -2
- package/dist/cdn/{6GVPEG32.js → 3LTH4EH5.js} +2 -2
- package/dist/cdn/{4B7NLQEB.js → 3RCQCCYR.js} +2 -2
- package/dist/cdn/{KSYZVFDO.js → 3RVAM4I2.js} +2 -2
- package/dist/cdn/{6CPQ5XSE.js → 3XP7DSY2.js} +2 -2
- package/dist/cdn/{KTML7ZIK.js → 42QB7JTL.js} +2 -2
- package/dist/cdn/{CNTRDWTD.js → 4IRJ3ZH5.js} +2 -2
- package/dist/cdn/{ZFHFH3KA.js → 4LURDMPG.js} +2 -2
- package/dist/cdn/{TP6Y7PP2.js → 52OIVTUJ.js} +2 -2
- package/dist/cdn/{YIUS6RFT.js → 52YRLS2X.js} +2 -2
- package/dist/cdn/{DK5DZX56.js → 57TMPKZT.js} +2 -2
- package/dist/cdn/{IPSFXIO5.js → 5A37OQGF.js} +2 -2
- package/dist/cdn/{2WEPMGBW.js → 5B73ODNL.js} +2 -2
- package/dist/cdn/{HKQCHS2E.js → 5E7RK4WZ.js} +2 -2
- package/dist/cdn/{JN7LCBB6.js → 5HOJCOJU.js} +2 -2
- package/dist/cdn/{H2EC6NKB.js → 5KGHSUOR.js} +2 -2
- package/dist/cdn/{IDLCD437.js → 65DRX55E.js} +2 -2
- package/dist/cdn/{ZUVEOSMR.js → 6RKK7QJL.js} +2 -2
- package/dist/cdn/{PCETMGSH.js → 6T7JJWGH.js} +1 -1
- package/dist/cdn/{SMKWYDKU.js → 6W7QLRM7.js} +2 -2
- package/dist/cdn/{DKSYGT7Q.js → 6YDR4YHJ.js} +2 -2
- package/dist/cdn/{GQ64D4QE.js → 754FNOEV.js} +2 -2
- package/dist/cdn/{6DLG5KE4.js → 7NLZY2NB.js} +2 -2
- package/dist/cdn/{HULOWVUP.js → 7PAARU72.js} +2 -2
- package/dist/cdn/{2DBYJKGT.js → 7RRXY3UK.js} +2 -2
- package/dist/cdn/{COMJE3NB.js → 7ULBDN3D.js} +2 -2
- package/dist/cdn/{HO5OWTYL.js → AFYMGRYB.js} +1 -1
- package/dist/cdn/{CNT2AROW.js → AJ2VHTBF.js} +2 -2
- package/dist/cdn/{35HD36UB.js → ALURV5DZ.js} +2 -2
- package/dist/cdn/{EZGDTKQI.js → AOS6LXIH.js} +2 -2
- package/dist/cdn/{OSKHBURG.js → ATSLOOEO.js} +2 -2
- package/dist/cdn/{DK4452B5.js → BMTM52MS.js} +2 -2
- package/dist/cdn/{KPGM6PEY.js → BNSID2QB.js} +2 -2
- package/dist/cdn/{ZLOKPYZI.js → C2RP4HWG.js} +2 -2
- package/dist/cdn/{4VDMOLGU.js → C4U6ZLSK.js} +2 -2
- package/dist/cdn/{STRJMF5Z.js → CI4Q5WTV.js} +1 -1
- package/dist/cdn/{QOKTZVZG.js → CNSBS2XB.js} +2 -2
- package/dist/cdn/{CSCZSZB7.js → CUY3Y7MX.js} +2 -2
- package/dist/cdn/{H63UA36K.js → CXZUVPJ3.js} +2 -2
- package/dist/cdn/{EFCOF3V4.js → D3CMD5FZ.js} +2 -2
- package/dist/cdn/{7NJDB4ZF.js → D62QZXU2.js} +2 -2
- package/dist/cdn/{T4E2Q26G.js → D6RZOSZZ.js} +2 -2
- package/dist/cdn/{NND7WFTS.js → D72W3P23.js} +2 -2
- package/dist/cdn/{MPHNAGHP.js → DGIVZTKF.js} +1 -1
- package/dist/cdn/{4ZPL7FNT.js → DIRVMRX5.js} +2 -2
- package/dist/cdn/{QRYP34RH.js → DKRETPXT.js} +2 -2
- package/dist/cdn/{Z3WQW74W.js → DYMUHXPX.js} +2 -2
- package/dist/cdn/{KJ6AXSGY.js → E3FQMXCV.js} +2 -2
- package/dist/cdn/{MPGJZW35.js → E5GRHDPV.js} +2 -2
- package/dist/cdn/{VM23AYMO.js → EHJ2UZ63.js} +1 -1
- package/dist/cdn/{CRF55I2I.js → EJG5VR6A.js} +2 -2
- package/dist/cdn/{QTDRQKFQ.js → ESNRZNVW.js} +2 -2
- package/dist/cdn/{7FDBJYMV.js → ETR3G32Z.js} +2 -2
- package/dist/cdn/{H5SM4Z3V.js → ETY4UW5B.js} +2 -2
- package/dist/cdn/{YHGS4BZ2.js → EUMXBJUK.js} +2 -2
- package/dist/cdn/{IQM6MU3U.js → EXP64ASF.js} +2 -2
- package/dist/cdn/{PUACPWPQ.js → FCOH5NVB.js} +2 -2
- package/dist/cdn/{KYTYO6K5.js → FCPZ66E3.js} +2 -2
- package/dist/cdn/{JXFRBBFD.js → FK6WWS2O.js} +2 -2
- package/dist/cdn/{LR67PZT5.js → FRPTXIJJ.js} +2 -2
- package/dist/cdn/{CZ7GBGBZ.js → FVQJZVH7.js} +2 -2
- package/dist/cdn/{KW3JM3OV.js → FZDVH2XF.js} +1 -1
- package/dist/cdn/{KCSJ35QR.js → G45BZ7CP.js} +2 -2
- package/dist/cdn/{Z72TR6LK.js → G62YCASO.js} +2 -2
- package/dist/cdn/{KWYV3LIS.js → G6DH6HDY.js} +2 -2
- package/dist/cdn/{WFY3UNQL.js → HERC5JRL.js} +2 -2
- package/dist/cdn/{PABAOREW.js → HJPNWD6F.js} +2 -2
- package/dist/cdn/{JXZDY5BJ.js → HO77HDLB.js} +4 -4
- package/dist/cdn/{HKJAQJ6N.js → HSSQ7BT6.js} +2 -2
- package/dist/cdn/{WDMCPHBX.js → HTGNBOLE.js} +2 -2
- package/dist/cdn/{V3LIZ63C.js → HTZEAE3M.js} +2 -2
- package/dist/cdn/{HTC7LCQR.js → HY4C6DEP.js} +2 -2
- package/dist/cdn/{BGB4YP5J.js → IJUQRJFI.js} +2 -2
- package/dist/cdn/{GRAVSGNK.js → INL6UXIX.js} +2 -2
- package/dist/cdn/{FR63JMHH.js → ITHHZQXT.js} +2 -2
- package/dist/cdn/{636T7AIN.js → J6MPR7B6.js} +2 -2
- package/dist/cdn/{VT3Z3RST.js → JAMHYW6G.js} +2 -2
- package/dist/cdn/{NBC4AJNX.js → JEFWXZAI.js} +2 -2
- package/dist/cdn/{FR4Q325X.js → JHX7QEAJ.js} +2 -2
- package/dist/cdn/{DYYKSP2B.js → JLMDRYWA.js} +2 -2
- package/dist/cdn/{ST2XECPU.js → JOXHQXSY.js} +2 -2
- package/dist/cdn/{KOMB5HO4.js → JSD5IIH6.js} +2 -2
- package/dist/cdn/{T35LWGWG.js → JSOC3TXS.js} +2 -2
- package/dist/cdn/{PLBKNDRG.js → JVNMVXGR.js} +2 -2
- package/dist/cdn/{IDSFOE6S.js → JVQ3YXWZ.js} +2 -2
- package/dist/cdn/{OIKZKCYD.js → JXGWYEJK.js} +2 -2
- package/dist/cdn/{OVI7M5HS.js → KKNV3MPT.js} +2 -2
- package/dist/cdn/{JL22L5NA.js → KOAQMDIP.js} +2 -2
- package/dist/cdn/{6366FR2S.js → L4ZU5IB7.js} +2 -2
- package/dist/cdn/{75UYPVTY.js → L5AECO66.js} +2 -2
- package/dist/cdn/{IEKPRIFB.js → LCSB3NQ5.js} +2 -2
- package/dist/cdn/{SQZWGXIZ.js → LFWCDACG.js} +2 -2
- package/dist/cdn/{CAVSCKJZ.js → LWY4RY4Q.js} +2 -2
- package/dist/cdn/{ZLHCX5IQ.js → M2GXYB47.js} +2 -2
- package/dist/cdn/{TP4VQ5FP.js → M3PT5WZ2.js} +2 -2
- package/dist/cdn/{YGG7RMQR.js → MISULAHN.js} +2 -2
- package/dist/cdn/{BOKLBEJU.js → MO4DCWPC.js} +2 -2
- package/dist/cdn/{M2UFWFNP.js → N7V573Y4.js} +2 -2
- package/dist/cdn/{L3E6TOIA.js → NCBG6X62.js} +2 -2
- package/dist/cdn/{YWSWRNMJ.js → NXTOYXIG.js} +2 -2
- package/dist/cdn/{4VEBMNKM.js → OBRWPKW7.js} +2 -2
- package/dist/cdn/{26IFQZUQ.js → OHZCCJJL.js} +2 -2
- package/dist/cdn/{RNROUM7P.js → OMKHC26V.js} +2 -2
- package/dist/cdn/{THFP2H45.js → OXIOXPML.js} +2 -2
- package/dist/cdn/{S4EOTRJ2.js → OZAKQJSB.js} +2 -2
- package/dist/cdn/{ORYGH5HH.js → P2D5WICY.js} +2 -2
- package/dist/cdn/{AHMC3C2C.js → PECFPKUN.js} +2 -2
- package/dist/cdn/{5KINQ5VH.js → PEKLPIB4.js} +2 -2
- package/dist/cdn/{WTX2XDZC.js → PFZKK5AT.js} +2 -2
- package/dist/cdn/{V5ARIRSL.js → PJQ27X42.js} +2 -2
- package/dist/cdn/{AHANC4QC.js → PZDMLIZH.js} +23 -23
- package/dist/cdn/{HVME4DDX.js → PZOZSM2Q.js} +2 -2
- package/dist/cdn/{BNKGBLIO.js → Q4DA6K4Z.js} +2 -2
- package/dist/cdn/{6GDDUCPT.js → QCSGTHQR.js} +2 -2
- package/dist/cdn/{5ENFOOF4.js → QHMQJ4WY.js} +2 -2
- package/dist/cdn/{R4GXXUN3.js → QLRIZYE6.js} +2 -2
- package/dist/cdn/{57Q3ZSJR.js → QPOBNEUO.js} +2 -2
- package/dist/cdn/{CTOVH2V2.js → QRCHWXWO.js} +2 -2
- package/dist/cdn/{YLEUGX3A.js → QZPWNOWZ.js} +2 -2
- package/dist/cdn/{SMY6DBHH.js → RCLJDD6Q.js} +2 -2
- package/dist/cdn/{DPO44442.js → RFBV2Q6G.js} +2 -2
- package/dist/cdn/{UFAILGKX.js → RHE4NYXD.js} +2 -2
- package/dist/cdn/{CI5RX7B2.js → RKOYT7SP.js} +2 -2
- package/dist/cdn/{ZTE77YPY.js → RNAVPXQV.js} +1 -1
- package/dist/cdn/{N356NPH7.js → RQ7XHG3I.js} +2 -2
- package/dist/cdn/{6IEQJRED.js → RZQSJ7UE.js} +2 -2
- package/dist/cdn/{DFMG7I6J.js → S3CDMQEV.js} +2 -2
- package/dist/cdn/{W7EJYURT.js → S5NW53R3.js} +2 -2
- package/dist/cdn/{FCASIWVX.js → S5TMEBYP.js} +2 -2
- package/dist/cdn/{B3WRGAEI.js → S76DSPGM.js} +2 -2
- package/dist/cdn/{CEJ5CRCJ.js → SCWKLBSP.js} +2 -2
- package/dist/cdn/{GRX2CAMC.js → SSZQEZOB.js} +2 -2
- package/dist/cdn/{XWILOKSR.js → SWZ626ED.js} +2 -2
- package/dist/cdn/{OBHI7P7S.js → SXN2M735.js} +2 -2
- package/dist/cdn/{6LHAMQND.js → TBGBWSA7.js} +2 -2
- package/dist/cdn/{R6WXHVZC.js → TBX2JXYI.js} +2 -2
- package/dist/cdn/{HTKQZ5VI.js → TDOUEZYL.js} +2 -2
- package/dist/cdn/{3GLGIUM4.js → TOCR2SLY.js} +2 -2
- package/dist/cdn/{OGRGR5UW.js → TPCM6JAV.js} +2 -2
- package/dist/cdn/{DDRNMGNP.js → TPWC66I3.js} +2 -2
- package/dist/cdn/{2VKICAC2.js → U2LF63KV.js} +4 -4
- package/dist/cdn/{TIDGBO2H.js → UBJH35NR.js} +2 -2
- package/dist/cdn/{JZYV6M6P.js → UUO62QSX.js} +2 -2
- package/dist/cdn/{23DU6L7C.js → V4SIQTSL.js} +2 -2
- package/dist/cdn/{OB6JYVHC.js → VLCJRD56.js} +2 -2
- package/dist/cdn/{KICN2H2Y.js → VLXNSBH4.js} +2 -2
- package/dist/cdn/{4B6P34QV.js → VTDOCN42.js} +2 -2
- package/dist/cdn/{HB5HMRBV.js → W2R66CJX.js} +2 -2
- package/dist/cdn/{CQFXLPWX.js → WBEAP646.js} +2 -2
- package/dist/cdn/{65SSBUAZ.js → WQNN5VP6.js} +2 -2
- package/dist/cdn/{ANTNUASE.js → WT6UCBDJ.js} +2 -2
- package/dist/cdn/{4XMM77RK.js → WTH4SVJ4.js} +2 -2
- package/dist/cdn/{JSAKCC7O.js → WW5CGU7R.js} +2 -2
- package/dist/cdn/{BLXA2WF7.js → XCG2R5CJ.js} +2 -2
- package/dist/cdn/{S2DO643Z.js → XFPIW4WB.js} +2 -2
- package/dist/cdn/{YWVPF2E7.js → XGB4TSSP.js} +2 -2
- package/dist/cdn/{XAZTDHU5.js → XGNUEXQ2.js} +1 -1
- package/dist/cdn/{ENKFASXE.js → XKIPWSRD.js} +2 -2
- package/dist/cdn/{2TXVNFYR.js → XVUFERLV.js} +1 -1
- package/dist/cdn/{2SD43MEI.js → XWLXWZ4C.js} +2 -2
- package/dist/cdn/{TICUMFGG.js → Y45KZYDH.js} +2 -2
- package/dist/cdn/{TYGKF2RQ.js → Y5NAVZXD.js} +2 -2
- package/dist/cdn/{4ZLS45TJ.js → YKGPPPKC.js} +2 -2
- package/dist/cdn/{XFXJVJPD.js → YU76SN7B.js} +2 -2
- package/dist/cdn/{6QNFXVV4.js → Z3C5I7MU.js} +2 -2
- package/dist/cdn/{SXYB57OX.js → ZMPZDC4W.js} +2 -2
- package/dist/cdn/{6A2EZZC6.js → ZNQCN6YP.js} +2 -2
- package/dist/cdn/{PWRIJLP6.js → ZOJGY4UO.js} +2 -2
- package/dist/cdn/{ZVCK74ZT.js → ZP5VIMD6.js} +2 -2
- package/dist/cdn/{EZZFXDLT.js → ZU4DL37U.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +11 -1
- package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +13 -0
- package/dist/chart-rendering/next/chart-library-elements/legend/index.d.ts +5 -0
- package/dist/chunks/action-bar-utils.js +14 -14
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +2 -2
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +15 -15
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +23 -23
- package/dist/chunks/box-plot-model.js +2 -2
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +20 -20
- package/dist/chunks/combo-bar-line-chart-model.js +2 -2
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +13 -13
- package/dist/chunks/data.js +12 -12
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +11 -11
- package/dist/chunks/heat-chart-model.js +17 -17
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +2848 -2829
- package/dist/chunks/index2.js +2 -2
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +9 -9
- package/dist/chunks/model-with-multi-axes.js +23 -23
- package/dist/chunks/model-with-rotation.js +4 -4
- package/dist/chunks/pie-chart-data.js +33 -33
- package/dist/chunks/pie-chart-model.js +18 -18
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +2 -2
- 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 +13 -13
- package/dist/chunks/serial-chart-data.js +111 -111
- package/dist/chunks/serial-chart-model.js +7 -7
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +4 -4
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +27 -27
- package/dist/components/arcgis-chart/customElement.js +3580 -3541
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +239 -236
- package/dist/loader.js +1 -1
- package/dist/model.js +1 -1
- package/dist/utils/chart-config/utils/index.d.ts +21 -1
- package/package.json +4 -4
|
@@ -4,7 +4,7 @@ import "@arcgis/toolkit/intl";
|
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import { W as E } from "../../chunks/series-types.js";
|
|
6
6
|
import "d3-array";
|
|
7
|
-
import {
|
|
7
|
+
import { a3 as $ } from "../../chunks/index.js";
|
|
8
8
|
import "@arcgis/core/Graphic.js";
|
|
9
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -32,7 +32,7 @@ import { d as n } from "../../chunks/chart-ui-utils2.js";
|
|
|
32
32
|
import { i as h, k as L, p as M } from "../../chunks/type-guards.js";
|
|
33
33
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
34
34
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
35
|
-
v5.0.0-next.
|
|
35
|
+
v5.0.0-next.89 */
|
|
36
36
|
function N(d) {
|
|
37
37
|
return d?.tagName.toLowerCase() === "arcgis-chart";
|
|
38
38
|
}
|
|
@@ -4,7 +4,7 @@ import { u as e } from "../../chunks/useT9n.js";
|
|
|
4
4
|
import { LitElement as d } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.89 */
|
|
8
8
|
const u = o`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width)}`;
|
|
9
9
|
class l extends d {
|
|
10
10
|
constructor() {
|
|
@@ -10,7 +10,7 @@ import { createRef as r, ref as h } from "lit/directives/ref.js";
|
|
|
10
10
|
import { LitElement as C, renderElement as I, safeClassMap as u } from "@arcgis/lumina";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
13
|
-
v5.0.0-next.
|
|
13
|
+
v5.0.0-next.89 */
|
|
14
14
|
const o = {
|
|
15
15
|
linkContainer: "link-container",
|
|
16
16
|
label: "label",
|
|
@@ -3,7 +3,7 @@ import "@arcgis/toolkit/intl";
|
|
|
3
3
|
import { isEqual as r } from "lodash-es";
|
|
4
4
|
import "../../chunks/series-types.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import { g as n,
|
|
6
|
+
import { g as n, bE as c, bI as h } from "../../chunks/index.js";
|
|
7
7
|
import "@arcgis/core/Graphic.js";
|
|
8
8
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
9
9
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -27,7 +27,7 @@ import { css as p, html as a } from "lit";
|
|
|
27
27
|
import { C as o } from "../../chunks/interfaces.js";
|
|
28
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.89 */
|
|
31
31
|
const u = p`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
32
32
|
class C extends g {
|
|
33
33
|
constructor() {
|
|
@@ -4,7 +4,7 @@ import "@arcgis/toolkit/intl";
|
|
|
4
4
|
import { isEqual as v } from "lodash-es";
|
|
5
5
|
import { a as g, i as F, W as p, m as b } from "../../chunks/series-types.js";
|
|
6
6
|
import { a as y } from "../../chunks/rest-js-object-literals.js";
|
|
7
|
-
import {
|
|
7
|
+
import { bG as B, bp as O, bq as D, b as E, cU as S, cV as P, dg as _, p as x, db as A, c$ as U } from "../../chunks/index.js";
|
|
8
8
|
import "d3-array";
|
|
9
9
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
@@ -14,20 +14,20 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
14
14
|
import "@arcgis/core/core/promiseUtils.js";
|
|
15
15
|
import "@arcgis/core/request.js";
|
|
16
16
|
import "@arcgis/toolkit/dom";
|
|
17
|
-
import { r as
|
|
17
|
+
import { r as N } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { S as d } from "../../chunks/common.js";
|
|
19
19
|
import { repeat as V } from "lit/directives/repeat.js";
|
|
20
20
|
import { B as a, e as f } from "../../chunks/interfaces.js";
|
|
21
|
-
import { d as z, s as $, r as
|
|
21
|
+
import { d as z, s as $, r as M, g as R } from "../../chunks/store.js";
|
|
22
22
|
import { U as K } from "../../chunks/chart-ui-utils2.js";
|
|
23
23
|
import { u as L } from "../../chunks/useT9n.js";
|
|
24
24
|
import { css as j, html as n, nothing as H } from "lit";
|
|
25
25
|
import { createRef as c, ref as m } from "lit/directives/ref.js";
|
|
26
|
-
import { LitElement as
|
|
26
|
+
import { LitElement as q, createEvent as C, safeClassMap as l, renderElement as W } from "@arcgis/lumina";
|
|
27
27
|
import { x as Z } from "../../chunks/data.js";
|
|
28
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.89 */
|
|
31
31
|
const r = {
|
|
32
32
|
label: "label",
|
|
33
33
|
fieldList: "field-list",
|
|
@@ -40,7 +40,7 @@ const r = {
|
|
|
40
40
|
dimText: "dim-text",
|
|
41
41
|
intervalContainer: "interval-container"
|
|
42
42
|
}, G = j`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.custom-sort-buttons{display:flex;justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.mb-2{margin-bottom:var(--arcgis-charts-config-margin-minor)}.interval-container{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor)}`;
|
|
43
|
-
class
|
|
43
|
+
class J extends q {
|
|
44
44
|
constructor() {
|
|
45
45
|
super(...arguments), this._messages = L(), this.commonStrings = L({ name: "common", blocking: !0 }), this.barChartPopover = null, this.sortOrderElement = c(), this.aggregationElement = c(), this.categoryElement = c(), this.numericFieldsElement = c(), this.splitByFieldElement = c(), this.enableTimeBinningSwitch = c(), this.intervalAlignmentElement = c(), this.intervalElement = c(), this.originalCustomSortLabels = [], this.isCustomSortDisabled = !1, this.onBarChartDataChange = async (e) => {
|
|
46
46
|
try {
|
|
@@ -88,7 +88,7 @@ class Y extends W {
|
|
|
88
88
|
default:
|
|
89
89
|
break;
|
|
90
90
|
}
|
|
91
|
-
t !== a.interval && t !== a.intervalAlignment &&
|
|
91
|
+
t !== a.interval && t !== a.intervalAlignment && M($);
|
|
92
92
|
}
|
|
93
93
|
} catch (t) {
|
|
94
94
|
throw this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
@@ -110,9 +110,9 @@ class Y extends W {
|
|
|
110
110
|
this.modelChange(this.model), this.onModelConfigChange(), this.currentDataFilter = this.model.getDataFilters(), this.updateCustomSortProps();
|
|
111
111
|
}
|
|
112
112
|
willUpdate(e) {
|
|
113
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel =
|
|
113
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel = O(this.model.aggregationType, this.commonStrings), v(this.model.getDataFilters(), this.currentDataFilter) || (this.model.getSortOrder() === d.customSort && this.updateCustomSortProps(), this.currentDataFilter = this.model.getDataFilters());
|
|
114
114
|
const t = this.model.timeAggregationType;
|
|
115
|
-
t !== void 0 && (this.timeAggregationLabel =
|
|
115
|
+
t !== void 0 && (this.timeAggregationLabel = D(t, this.commonStrings)), this.disableSplitBy = this.model.numericFields.length > 1 || this.model.xAxisField === "" || this.model.xAxisField === E;
|
|
116
116
|
}
|
|
117
117
|
disconnectedCallback() {
|
|
118
118
|
super.disconnectedCallback(), this.removeBarChartDataPopover(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -234,10 +234,10 @@ class Y extends W {
|
|
|
234
234
|
i = this.intervalAlignmentElement.value, s = this._messages.intervalAlignment, o = this.model.timeAggregationType ?? "";
|
|
235
235
|
break;
|
|
236
236
|
}
|
|
237
|
-
this.barChartPopover =
|
|
237
|
+
this.barChartPopover = W(n`<arcgis-charts-config-bar-chart-popover .headingTitle=${s} .referenceElement=${i} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${o} .isCustomSortDisabled=${u} .isNoAggregationDisabled=${h} @arcgisChartsConfigBarChartDataPopoverChange=${this.onBarChartDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-bar-chart-popover>`), !document.body.contains(this.barChartPopover) && this.barChartPopover !== null && document.body.appendChild(this.barChartPopover);
|
|
238
238
|
}
|
|
239
239
|
removeBarChartDataPopover() {
|
|
240
|
-
this.barChartPopover !== null && (this.barChartPopover.open = !1, this.barChartPopover =
|
|
240
|
+
this.barChartPopover !== null && (this.barChartPopover.open = !1, this.barChartPopover = N(this.barChartPopover));
|
|
241
241
|
}
|
|
242
242
|
resetToOriginalCustomSortLabels() {
|
|
243
243
|
this.selectedCustomSortItemId = "", this.model.orderByList = [...this.originalCustomSortLabels], this.sortOrderResetCounter += 1;
|
|
@@ -277,7 +277,7 @@ class Y extends W {
|
|
|
277
277
|
return t === p.CategoryAxisFormat && e === d.customSort && !this.isCustomSortDisabled ? n`<calcite-label class=${l(r.label)}><div class=${l(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${i === 0 || i === -1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-up id=${f.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${i === -1 || i === this.model.orderByList.length - 1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-down id=${f.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${v(this.model.orderByList, this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${x(this.model.config.series ?? []) === A.BarAndLineFromFields ? this._messages.values : this._messages.category}${this.buildCustomSortList()}</calcite-label>` : null;
|
|
278
278
|
}
|
|
279
279
|
renderInterval() {
|
|
280
|
-
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i =
|
|
280
|
+
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = U(this.model.temporalBinningUnit ?? F.Second, this._messages) ?? "", s = R($), o = {
|
|
281
281
|
size: this.model.temporalBinningSize,
|
|
282
282
|
unit: this.model.temporalBinningUnit
|
|
283
283
|
}, h = v(o, s);
|
|
@@ -298,7 +298,7 @@ class Y extends W {
|
|
|
298
298
|
return n`<calcite-label class=${l(r.label)}>${this._messages.category}${t}</calcite-label><calcite-label class=${l(r.label)}>${this._messages.aggregation}${e}</calcite-label><calcite-label class=${l(r.label)}>${this._messages.numericFields}${o}</calcite-label><div class=${l(r.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div><calcite-label class=${l(r.label)}><span class=${l(this.disableSplitBy ? r.dimText : "")}>${this._messages.splitBy}</span>${i}</calcite-label><div .hidden=${!this.shouldShowTimeBinning()}><h3 class=${l(r.timeBinningHeader)}>${this._messages.timeBinningOptions}</h3><calcite-label class=${l(r.label)} layout=inline-space-between>${this._messages.enableTemporalBinning}<calcite-switch .checked=${this.model.binTemporalData} @calciteSwitchChange=${this.onEnableTimeBinningChange} ${m(this.enableTimeBinningSwitch)}></calcite-switch></calcite-label><div .hidden=${!this.model.binTemporalData || !this.shouldShowTimeBinning()}><calcite-label class=${l(r.label)}>${this._messages.interval}${u}</calcite-label><calcite-label class=${l(r.label)}>${this._messages.intervalAlignment}${w}</calcite-label><calcite-label class=${l(r.label)} layout=inline-space-between>${this._messages.trimIncompleteInterval}<calcite-switch .checked=${this.model.trimIncompleteTimeInterval} @calciteSwitchChange=${this.onTrimIncompleteIntervalChange}></calcite-switch></calcite-label><calcite-label class=${l(r.label)}>${this._messages.emptyBins}${T}</calcite-label></div></div><calcite-label class=${l(r.label)} layout=inline-space-between>${this._messages.treatNullAsCategory}<calcite-switch .checked=${this.model.fetchNULLValues} @calciteSwitchChange=${this.onTreatNullAsCategoryChange}></calcite-switch></calcite-label><calcite-label class=${l(r.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label><calcite-label class=${l(this.model.getAxisValueFormat(0)?.type === p.DateAxisFormat ? r.disabledLabel : r.label)}>${this._messages.sortOrder}${s}</calcite-label>${h}`;
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
k("arcgis-charts-config-bar-chart-data",
|
|
301
|
+
k("arcgis-charts-config-bar-chart-data", J);
|
|
302
302
|
export {
|
|
303
|
-
|
|
303
|
+
J as ArcgisChartsConfigBarChartData
|
|
304
304
|
};
|
|
@@ -13,7 +13,7 @@ import { B as n } from "../../chunks/interfaces.js";
|
|
|
13
13
|
import { S as m } from "../../chunks/common.js";
|
|
14
14
|
import "@arcgis/toolkit/intl";
|
|
15
15
|
import "d3-array";
|
|
16
|
-
import {
|
|
16
|
+
import { bp as w, bq as E, cJ as z, cU as N, bJ as I, bH as B, c$ as K } from "../../chunks/index.js";
|
|
17
17
|
import "@arcgis/core/Graphic.js";
|
|
18
18
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
19
19
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -29,11 +29,11 @@ import "@arcgis/core/rest/support/Query.js";
|
|
|
29
29
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
30
30
|
import "@arcgis/core/time/TimeExtent.js";
|
|
31
31
|
import "@arcgis/core/core/promiseUtils.js";
|
|
32
|
-
import { e as _, p as
|
|
33
|
-
import { h as C, U as y, i as g, d as
|
|
32
|
+
import { e as _, p as U } from "../../chunks/popover-ui-utils.js";
|
|
33
|
+
import { h as C, U as y, i as g, d as H, e as O, s as j } from "../../chunks/chart-ui-utils2.js";
|
|
34
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
35
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
36
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.89 */
|
|
37
37
|
const M = D`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.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)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`, o = {
|
|
38
38
|
jsAppFlyout: "js-app-flyout",
|
|
39
39
|
name: "bar-chart-data-popover",
|
|
@@ -75,7 +75,7 @@ class W extends x {
|
|
|
75
75
|
}, y.PopoverTimer);
|
|
76
76
|
}
|
|
77
77
|
selectedContentChange(e, t) {
|
|
78
|
-
this.pickListHasChanged =
|
|
78
|
+
this.pickListHasChanged = U(e, t);
|
|
79
79
|
}
|
|
80
80
|
buildAggregationListItems() {
|
|
81
81
|
const e = this.isNoAggregationDisabled ? C.filter((t) => t !== S.NoAggregation) : C;
|
|
@@ -90,7 +90,7 @@ class W extends x {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
destroyTooltip() {
|
|
93
|
-
|
|
93
|
+
H(this.tooltip);
|
|
94
94
|
}
|
|
95
95
|
buildSortOrder() {
|
|
96
96
|
const e = Object.keys(m);
|
|
@@ -163,7 +163,7 @@ class W extends x {
|
|
|
163
163
|
eventEmitter: this.arcgisChartsConfigBarChartDataPopoverChange,
|
|
164
164
|
contentKind: this.contentKind
|
|
165
165
|
};
|
|
166
|
-
|
|
166
|
+
O(e);
|
|
167
167
|
}
|
|
168
168
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
169
169
|
}
|
|
@@ -225,7 +225,7 @@ class W extends x {
|
|
|
225
225
|
p.Month,
|
|
226
226
|
p.Year
|
|
227
227
|
];
|
|
228
|
-
return a`<div><div class=${c(o.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${
|
|
228
|
+
return a`<div><div class=${c(o.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${j(e?.size, 1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${d(this.intervalTypeElement)}>${t.map((i) => a`<calcite-option .value=${i} .label=${K(i, this._messages)} .selected=${e?.unit === i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${c(o.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`;
|
|
229
229
|
}
|
|
230
230
|
renderPopoverInfo() {
|
|
231
231
|
let e;
|
|
@@ -4,7 +4,7 @@ import "@arcgis/toolkit/intl";
|
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import { e as r, a as u } from "../../chunks/series-types.js";
|
|
6
6
|
import "d3-array";
|
|
7
|
-
import {
|
|
7
|
+
import { db as T, dg as C } from "../../chunks/index.js";
|
|
8
8
|
import "@arcgis/core/Graphic.js";
|
|
9
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -30,7 +30,7 @@ import { LitElement as N, createEvent as O, renderElement as f, safeStyleMap as
|
|
|
30
30
|
import { d as _ } from "../../chunks/chart-ui-utils2.js";
|
|
31
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.89 */
|
|
34
34
|
const E = {
|
|
35
35
|
stackedType: "stacked-type"
|
|
36
36
|
}, o = {
|
|
@@ -107,14 +107,14 @@ class D extends N {
|
|
|
107
107
|
buildSeriesListItems() {
|
|
108
108
|
const e = this.model.seriesLength ?? 0, t = Array.from({ length: e }, (s, n) => n);
|
|
109
109
|
return P(t, (s) => this.model.getSeriesId(s), (s) => {
|
|
110
|
-
const n = this.model.getSeriesId(s), c = this.model.getSeriesColor(s), d = this.model.getSeriesName(s),
|
|
110
|
+
const n = this.model.getSeriesId(s), c = this.model.getSeriesColor(s), d = this.model.getSeriesName(s), b = this.model.chartSubType === T.BarAndLineFromFields ? this._messages.series : n;
|
|
111
111
|
let g = "#CCCCCC", p = "minus-square";
|
|
112
112
|
if ((e > 1 || !this.activeColorMatch) && c !== void 0) {
|
|
113
113
|
p = "square-f";
|
|
114
|
-
const [
|
|
115
|
-
g = `rgba(${
|
|
114
|
+
const [S, y, $, I] = [...c];
|
|
115
|
+
g = `rgba(${S},${y},${$},${I / 255})`;
|
|
116
116
|
}
|
|
117
|
-
return l`<calcite-list-item .label=${d ?? n ?? ""} .description=${
|
|
117
|
+
return l`<calcite-list-item .label=${d ?? n ?? ""} .description=${b} .value=${n} .selected=${this.selectedSeriesIndex === s} @click=${this.openSeriesPopOver}><calcite-icon .icon=${p} style=${h({ color: g })} slot=content-end></calcite-icon></calcite-list-item>`;
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
buildSeriesList() {
|
|
@@ -4,7 +4,7 @@ import "@arcgis/toolkit/intl";
|
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
6
|
import "d3-array";
|
|
7
|
-
import {
|
|
7
|
+
import { aq as h } from "../../chunks/index.js";
|
|
8
8
|
import "@arcgis/core/Graphic.js";
|
|
9
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -29,7 +29,7 @@ import { createRef as C, ref as u } from "lit/directives/ref.js";
|
|
|
29
29
|
import { LitElement as v, createEvent as o, safeClassMap as i } from "@arcgis/lumina";
|
|
30
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.89 */
|
|
33
33
|
const r = {
|
|
34
34
|
jsAppFlyout: "js-app-flyout",
|
|
35
35
|
panelChildrenContainer: "panel-children-container"
|
|
@@ -3,7 +3,7 @@ import "@arcgis/toolkit/intl";
|
|
|
3
3
|
import { isEqual as r } from "lodash-es";
|
|
4
4
|
import "../../chunks/series-types.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import { g as n,
|
|
6
|
+
import { g as n, bE as c } from "../../chunks/index.js";
|
|
7
7
|
import "@arcgis/core/Graphic.js";
|
|
8
8
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
9
9
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -27,7 +27,7 @@ import { css as m, html as s } from "lit";
|
|
|
27
27
|
import { C as a } from "../../chunks/interfaces.js";
|
|
28
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.89 */
|
|
31
31
|
const f = m`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
32
32
|
class g extends d {
|
|
33
33
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { W as y } from "../../chunks/series-types.js";
|
|
|
5
5
|
import "@arcgis/toolkit/intl";
|
|
6
6
|
import { isEqual as b } from "lodash-es";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { ax as d, cV as S, cU as g } from "../../chunks/index.js";
|
|
9
9
|
import "@arcgis/core/Graphic.js";
|
|
10
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -35,7 +35,7 @@ import { LitElement as P, createEvent as O, safeClassMap as o, renderElement as
|
|
|
35
35
|
import { x as k } from "../../chunks/data.js";
|
|
36
36
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
37
37
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
38
|
-
v5.0.0-next.
|
|
38
|
+
v5.0.0-next.89 */
|
|
39
39
|
const r = {
|
|
40
40
|
label: "label",
|
|
41
41
|
fieldList: "field-list",
|
|
@@ -7,7 +7,7 @@ import { a as u } from "../../chunks/rest-js-object-literals.js";
|
|
|
7
7
|
import "@arcgis/toolkit/intl";
|
|
8
8
|
import "lodash-es";
|
|
9
9
|
import "d3-array";
|
|
10
|
-
import {
|
|
10
|
+
import { cU as y, bJ as g, bH as $, cJ as x } from "../../chunks/index.js";
|
|
11
11
|
import "@arcgis/core/Graphic.js";
|
|
12
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -33,7 +33,7 @@ import { createRef as b, ref as m } from "lit/directives/ref.js";
|
|
|
33
33
|
import { LitElement as T, createEvent as C, renderElement as E, safeStyleMap as B, safeClassMap as d } from "@arcgis/lumina";
|
|
34
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
35
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
36
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.89 */
|
|
37
37
|
const o = {
|
|
38
38
|
jsAppFlyout: "js-app-flyout",
|
|
39
39
|
name: "bar-chart-data-popover",
|
|
@@ -5,7 +5,7 @@ import "@arcgis/toolkit/intl";
|
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import { f as d } from "../../chunks/series-types.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { db as S } from "../../chunks/index.js";
|
|
9
9
|
import "@arcgis/core/Graphic.js";
|
|
10
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -30,7 +30,7 @@ import { LitElement as O, renderElement as h, safeStyleMap as m, safeClassMap as
|
|
|
30
30
|
import { d as w } from "../../chunks/chart-ui-utils2.js";
|
|
31
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.89 */
|
|
34
34
|
const l = {
|
|
35
35
|
topSection: "top-section",
|
|
36
36
|
sectionLabel: "section-label",
|
|
@@ -5,7 +5,7 @@ import { isEqual as f } from "lodash-es";
|
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
6
|
import { R as v } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { aq as d } from "../../chunks/index.js";
|
|
9
9
|
import "@arcgis/core/Graphic.js";
|
|
10
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -30,7 +30,7 @@ import { createRef as S, ref as x } from "lit/directives/ref.js";
|
|
|
30
30
|
import { LitElement as $, createEvent as a, safeClassMap as l } from "@arcgis/lumina";
|
|
31
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.89 */
|
|
34
34
|
const c = {
|
|
35
35
|
jsAppFlyout: "js-app-flyout",
|
|
36
36
|
panelChildrenContainer: "panel-children-container"
|
|
@@ -6,7 +6,7 @@ import { createRef as d, ref as g } from "lit/directives/ref.js";
|
|
|
6
6
|
import { LitElement as f, createEvent as b, safeClassMap as a } from "@arcgis/lumina";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
9
|
+
v5.0.0-next.89 */
|
|
10
10
|
const e = {
|
|
11
11
|
container: "container",
|
|
12
12
|
label: "label",
|
|
@@ -29,7 +29,7 @@ import { createRef as o, ref as s } from "lit/directives/ref.js";
|
|
|
29
29
|
import { LitElement as u, createEvent as r, safeClassMap as a } from "@arcgis/lumina";
|
|
30
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.89 */
|
|
33
33
|
const e = {
|
|
34
34
|
jsAppFlyout: "js-app-flyout",
|
|
35
35
|
chartRenameComponent: "chart-rename-component",
|
|
@@ -4,7 +4,7 @@ import { u as i } from "../../chunks/useT9n.js";
|
|
|
4
4
|
import { LitElement as l, createEvent as t, safeClassMap as r } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.89 */
|
|
8
8
|
const n = {
|
|
9
9
|
colorStyleContainer: "color-style-container"
|
|
10
10
|
}, c = a`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}:host calcite-panel .color-style-container{display:flex;padding:0 1rem;margin-top:1rem}:host calcite-panel .color-style-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-styling-panel>.panel-body{padding:var(--arcgis-charts-panel-padding);margin-top:var(--arcgis-charts-inter-section-margin)}`;
|
|
@@ -5,7 +5,7 @@ import { u as h } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { LitElement as m, createEvent as n } from "@arcgis/lumina";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
8
|
+
v5.0.0-next.89 */
|
|
9
9
|
const u = "arcgis-charts-config-storage-colors", v = l`:host{--calcite-color-border-1: transparent}.color-header{margin-bottom:.5rem}`;
|
|
10
10
|
class b extends m {
|
|
11
11
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { b, a as S, f as _, p as v, k as z, j as T } from "../../chunks/type-gua
|
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import { isEqual as w } from "lodash-es";
|
|
8
8
|
import { W as o, i as O } from "../../chunks/series-types.js";
|
|
9
|
-
import {
|
|
9
|
+
import { _ as D, d9 as k, cX as E, dg as R, ag as W } from "../../chunks/index.js";
|
|
10
10
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
12
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -39,7 +39,7 @@ import { A as te } from "../../chunks/axis-model-wrapper.js";
|
|
|
39
39
|
import { d as ae } from "../../chunks/chart-ui-utils2.js";
|
|
40
40
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
41
41
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
42
|
-
v5.0.0-next.
|
|
42
|
+
v5.0.0-next.89 */
|
|
43
43
|
const m = {
|
|
44
44
|
chartUIComponent: "chart-ui-component",
|
|
45
45
|
tabBar: "tab-bar",
|
|
@@ -3,7 +3,7 @@ import { css as l, html as c } from "lit";
|
|
|
3
3
|
import { LitElement as a, safeClassMap as t } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.89 */
|
|
7
7
|
const e = {
|
|
8
8
|
fieldSelectButtonSection: "field-select-btn-section",
|
|
9
9
|
fieldSelectButton: "field-select-btn",
|
|
@@ -5,7 +5,7 @@ import { merge as i } from "lodash-es";
|
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
6
|
import { R as u, h as s, g as c, i as r } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { aF as S } from "../../chunks/index.js";
|
|
9
9
|
import "@arcgis/core/Graphic.js";
|
|
10
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -29,7 +29,7 @@ import { createRef as C, ref as x } from "lit/directives/ref.js";
|
|
|
29
29
|
import { LitElement as $, createEvent as h, safeClassMap as n } from "@arcgis/lumina";
|
|
30
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.89 */
|
|
33
33
|
const w = {
|
|
34
34
|
arial: "Arial",
|
|
35
35
|
arialBlack: "Arial Black",
|
|
@@ -33,7 +33,7 @@ import { css as j, html as S } from "lit";
|
|
|
33
33
|
import { LitElement as I, renderElement as O, safeClassMap as g } from "@arcgis/lumina";
|
|
34
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
35
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
36
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.89 */
|
|
37
37
|
const P = {
|
|
38
38
|
type: f.TS,
|
|
39
39
|
color: [1, 1, 1, 255],
|
|
@@ -29,7 +29,7 @@ import { createRef as p, ref as c } from "lit/directives/ref.js";
|
|
|
29
29
|
import { LitElement as m, createEvent as s, safeClassMap as h } from "@arcgis/lumina";
|
|
30
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.89 */
|
|
33
33
|
const g = {
|
|
34
34
|
jsAppFlyout: "js-app-flyout"
|
|
35
35
|
}, C = a``;
|
|
@@ -9,7 +9,7 @@ import { createRef as T, ref as f } from "lit/directives/ref.js";
|
|
|
9
9
|
import { LitElement as C, safeClassMap as i } from "@arcgis/lumina";
|
|
10
10
|
import "@arcgis/toolkit/intl";
|
|
11
11
|
import "d3-array";
|
|
12
|
-
import {
|
|
12
|
+
import { _ as $ } from "../../chunks/index.js";
|
|
13
13
|
import "@arcgis/core/Graphic.js";
|
|
14
14
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
15
15
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -29,7 +29,7 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
29
29
|
import "@arcgis/toolkit/dom";
|
|
30
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.89 */
|
|
33
33
|
const s = {
|
|
34
34
|
textInput: "text-input",
|
|
35
35
|
label: "label",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c as B } from "../../chunks/runtime.js";
|
|
2
2
|
import { keyed as X } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
|
-
import { cloneDeep as
|
|
4
|
+
import { cloneDeep as P } from "lodash-es";
|
|
5
5
|
import { W as z } from "../../chunks/series-types.js";
|
|
6
6
|
import { R as u, c as N } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import { j as p,
|
|
8
|
+
import { j as p, cF as Z, cG as E, cH as F, aH as j } from "../../chunks/index.js";
|
|
9
9
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
11
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -17,27 +17,27 @@ import { c as g, b as O } from "../../chunks/index3.js";
|
|
|
17
17
|
import { r as V } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { m as $, d as W, g as q, j as L, c as G } from "../../chunks/chart-ui-utils2.js";
|
|
19
19
|
import { d as M } from "../../chunks/default.js";
|
|
20
|
-
import { g as
|
|
21
|
-
import { u as
|
|
22
|
-
import { css as
|
|
20
|
+
import { g as H } from "../../chunks/resource.js";
|
|
21
|
+
import { u as U } from "../../chunks/useT9n.js";
|
|
22
|
+
import { css as Y, html as d } from "lit";
|
|
23
23
|
import { createRef as h, ref as m } from "lit/directives/ref.js";
|
|
24
24
|
import { LitElement as J, createEvent as K, renderElement as A, safeStyleMap as _, safeClassMap as o } from "@arcgis/lumina";
|
|
25
25
|
import { G as S } from "../../chunks/common.js";
|
|
26
26
|
import { j as Q, n as ee, o as te } from "../../chunks/type-guards.js";
|
|
27
27
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
28
28
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
29
|
-
v5.0.0-next.
|
|
29
|
+
v5.0.0-next.89 */
|
|
30
30
|
const n = {
|
|
31
31
|
row: "row",
|
|
32
32
|
column: "column",
|
|
33
33
|
colorPicker: "color-picker"
|
|
34
|
-
}, ie =
|
|
34
|
+
}, ie = Y`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column}.row{display:flex;flex-direction:row;column-gap:var(--arcgis-charts-inter-section-margin)}.column{display:flex;flex-direction:column;flex-wrap:wrap;flex-grow:1}.column>calcite-input{margin-bottom:.5rem;flex-grow:2}.column>calcite-input[type=number]{margin-bottom:.5rem}input{padding:.5rem}.label{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--arcgis-charts-intra-section-margin);flex-grow:1}.color-picker{border:1px solid var(--calcite-color-border-2);box-shadow:none;margin-bottom:var(--arcgis-charts-inter-section-margin)}.delete-guide{display:flex;flex-direction:row-reverse;height:2rem;margin:0 1rem;font-weight:550}.delete-guide:dir(rtl){flex-direction:row}`;
|
|
35
35
|
class se extends J {
|
|
36
36
|
constructor() {
|
|
37
|
-
super(...arguments), this._messages =
|
|
37
|
+
super(...arguments), this._messages = U(), this.startCalciteInput = h(), this.endCalciteInput = h(), this.startDateCalciteInput = h(), this.endDateCalciteInput = h(), this.startTimeCalciteInput = h(), this.endTimeCalciteInput = h(), this.colorElement = h(), this.colorChange = (e) => {
|
|
38
38
|
const t = e.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
39
39
|
if (p(i, a) === u.SLS) {
|
|
40
|
-
const l =
|
|
40
|
+
const l = P(M.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
41
41
|
...l,
|
|
42
42
|
...g(s) ? s : {},
|
|
43
43
|
color: t
|
|
@@ -48,7 +48,7 @@ class se extends J {
|
|
|
48
48
|
}, this.symbolChange = (e) => {
|
|
49
49
|
const t = e?.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
50
50
|
if (p(i, a) === u.SLS) {
|
|
51
|
-
const l =
|
|
51
|
+
const l = P(M.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
52
52
|
...l,
|
|
53
53
|
...g(s) ? s : {},
|
|
54
54
|
...g(t) ? t : {}
|
|
@@ -112,7 +112,7 @@ class se extends J {
|
|
|
112
112
|
})), this.guidePopover?.open === !0 && this.removeGuidePopover();
|
|
113
113
|
}
|
|
114
114
|
setGuideDateTimeRange() {
|
|
115
|
-
const e = this.calculatedMinMaxBounds?.find((c) => c.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((c) => c.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = Z(this.timeZone) ?? l, r =
|
|
115
|
+
const e = this.calculatedMinMaxBounds?.find((c) => c.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((c) => c.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = Z(this.timeZone) ?? l, r = E(i, s), f = F(i, s), v = E(a, s), R = F(a, s), T = this.startDateCalciteInput.value?.value ?? "", x = T === "" ? r : T, D = this.startTimeCalciteInput.value?.value ?? "", w = D === "" ? f : D, C = this.endDateCalciteInput.value?.value ?? "", y = C === "" ? v : C, I = this.endTimeCalciteInput.value?.value ?? "", k = I === "" ? R : I;
|
|
116
116
|
let b = !1;
|
|
117
117
|
if (!Array.isArray(x) && x !== void 0 && w !== void 0) {
|
|
118
118
|
const c = `${x}T${w}`;
|
|
@@ -230,7 +230,7 @@ class se extends J {
|
|
|
230
230
|
}
|
|
231
231
|
render() {
|
|
232
232
|
const e = this.model.getGuideStart(this.index, this.orientation), t = this.model.getGuideEnd(this.index, this.orientation), i = this.model.getGuideName(this.index, this.orientation), a = this.model.getGuideLabelText(this.index, this.orientation), l = this.model.getGuideAbove(this.index, this.orientation), s = this.model.getGuideVisibility(this.index, this.orientation), r = this.isXAxisDateField;
|
|
233
|
-
return d`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition ===
|
|
233
|
+
return d`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition === H(this.index, this.orientation, this.model)} collapsible .messageOverrides=${{
|
|
234
234
|
expand: this._messages.expand,
|
|
235
235
|
collapse: this._messages.collapse
|
|
236
236
|
}}><calcite-action slot=control text .icon=${s ? "view-visible" : "view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=control text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.start}${r ? d`<calcite-input-date-picker .value=${this.getDateStringFromBound(e)} required scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${m(this.startDateCalciteInput)}></calcite-input-date-picker>` : d`<calcite-input type=number required @calciteInputInput=${this.setGuideStart} @keydown=${L} number-button-type=none .value=${e?.toString()} ${m(this.startCalciteInput)}></calcite-input>`}</calcite-label><calcite-label class=${o(n.column)}>${this._messages.end}${r ? d`<calcite-input-date-picker .value=${this.getDateStringFromBound(t)} scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${m(this.endDateCalciteInput)}></calcite-input-date-picker>` : d`<calcite-input type=number @calciteInputInput=${this.setGuideEnd} @keydown=${L} number-button-type=none .value=${t?.toString()} ${m(this.endCalciteInput)}></calcite-input>`}</calcite-label></div>${r ? X("time-picker-row", d`<div class=${o(n.row)}>${e != null ? d`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(e)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${m(this.startTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}${t != null ? d`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(t)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${m(this.endTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}</div>`) : null}<div class=${o(n.row)}><div class=${o(n.column)}>${this.renderColorElement()}</div></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideName}<calcite-input type=text .value=${i} @calciteInputInput=${this.setGuideName}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideLabel}<calcite-input type=text .value=${a} @calciteInputInput=${this.setGuideLabel}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.display}<calcite-segmented-control @calciteSegmentedControlChange=${this.setGuideRendered} scale=s><calcite-segmented-control-item .checked=${l} .value=${this._messages.inFront}>${this._messages.inFront}</calcite-segmented-control-item><calcite-segmented-control-item .checked=${!l} .value=${this._messages.inBack}>${this._messages.inBack}</calcite-segmented-control-item></calcite-segmented-control></calcite-label></div></calcite-block>`;
|
|
@@ -30,7 +30,7 @@ import { createRef as c, ref as m } from "lit/directives/ref.js";
|
|
|
30
30
|
import { LitElement as h, createEvent as s, safeClassMap as g } from "@arcgis/lumina";
|
|
31
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.89 */
|
|
34
34
|
const C = {
|
|
35
35
|
jsAppFlyout: "js-app-flyout"
|
|
36
36
|
}, d = l``;
|