@arcgis/charts-components 5.0.0-next.28 → 5.0.0-next.29
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/{XL4KQLHA.js → 227RYINO.js} +2 -2
- package/dist/cdn/{WJIDNWD4.js → 23M5MWUE.js} +2 -2
- package/dist/cdn/{45B2VPBB.js → 2HCL3U7H.js} +2 -2
- package/dist/cdn/{VMOMJF2S.js → 2Z6JBI37.js} +2 -2
- package/dist/cdn/{IHZW5EKG.js → 35KPRVEF.js} +2 -2
- package/dist/cdn/{H5DN5QBP.js → 3AAIHJ7T.js} +2 -2
- package/dist/cdn/{ZRTXEF4M.js → 3HYPAN4R.js} +2 -2
- package/dist/cdn/3MYBAIBN.js +4 -0
- package/dist/cdn/{6HNR27P6.js → 3QJFSEVH.js} +1 -1
- package/dist/cdn/{MPFXH6FB.js → 453IXEPF.js} +2 -2
- package/dist/cdn/{5YX5RQNF.js → 45C6N7LH.js} +2 -2
- package/dist/cdn/{W2TO4JSV.js → 4BQXI4YX.js} +2 -2
- package/dist/cdn/{77GAR6O7.js → 4DCX7URB.js} +2 -2
- package/dist/cdn/{Y32TQLWJ.js → 4F2ISRHO.js} +2 -2
- package/dist/cdn/{QARR2BNJ.js → 4GCDQA7H.js} +2 -2
- package/dist/cdn/{2HDW5YZH.js → 54J3X5S5.js} +2 -2
- package/dist/cdn/55BWCUT2.js +4 -0
- package/dist/cdn/{YVW252CK.js → 57BTF2Z4.js} +2 -2
- package/dist/cdn/{KVRP5DJG.js → 5ETGG6RV.js} +2 -2
- package/dist/cdn/{AKOVKAFO.js → 5FYIRWLE.js} +2 -2
- package/dist/cdn/{KGITN32X.js → 5LNXKT26.js} +2 -2
- package/dist/cdn/5WWKQYWT.js +4 -0
- package/dist/cdn/{OFCZJHOC.js → 5X4MPWCG.js} +2 -2
- package/dist/cdn/{D5DEVMBH.js → 65SJM5EY.js} +2 -2
- package/dist/cdn/6AIA5KG7.js +4 -0
- package/dist/cdn/{JJJIIQSD.js → 6L6A7GDI.js} +1 -1
- package/dist/cdn/{A5KCHMW4.js → 6QKN62GA.js} +2 -2
- package/dist/cdn/{CVMFRSNZ.js → 6RLPOJ3P.js} +2 -2
- package/dist/cdn/{N7HKIKNE.js → 6SKDAYJC.js} +2 -2
- package/dist/cdn/{WF7AHGX5.js → 7552FTOS.js} +2 -2
- package/dist/cdn/{DF6NCE6M.js → 77AKUFT5.js} +2 -2
- package/dist/cdn/77ATZLPU.js +4 -0
- package/dist/cdn/{7I53MFLW.js → 7ATEKLU6.js} +2 -2
- package/dist/cdn/{XCSLE3V2.js → 7AWMRTC6.js} +2 -2
- package/dist/cdn/{OCWHH3VO.js → 7FKCGDFG.js} +2 -2
- package/dist/cdn/{XT65XVWW.js → 7RS3RAYV.js} +2 -2
- package/dist/cdn/7VQUMOZF.js +4 -0
- package/dist/cdn/A24FRLXF.js +4 -0
- package/dist/cdn/{TOW2DKYI.js → A66MC2SV.js} +2 -2
- package/dist/cdn/{7S7JDPVI.js → AFOIFSSK.js} +2 -2
- package/dist/cdn/{C6FHLHT5.js → AJGUKEEM.js} +2 -2
- package/dist/cdn/{3QAFHN7Q.js → B3RIO3SG.js} +2 -2
- package/dist/cdn/B56QXSPE.js +4 -0
- package/dist/cdn/{25Y2DXCM.js → B6EZZFR7.js} +2 -2
- package/dist/cdn/{PM76JFZI.js → BBI3MFZ6.js} +2 -2
- package/dist/cdn/{64PSJBIK.js → BGBYNSCQ.js} +1 -1
- package/dist/cdn/{FTF7DBN3.js → BJEXT42Q.js} +2 -2
- package/dist/cdn/C55F6NAR.js +4 -0
- package/dist/cdn/{OYMTYZNK.js → CFRGSA7C.js} +2 -2
- package/dist/cdn/{OR4HA4EK.js → CGWFSGUD.js} +2 -2
- package/dist/cdn/{GMPHSCM5.js → CHQCRNXG.js} +2 -2
- package/dist/cdn/{MPECBXGM.js → CRYZGBKK.js} +1 -1
- package/dist/cdn/{R5TQTV73.js → CSPJBFH3.js} +2 -2
- package/dist/cdn/D4YIZPNP.js +4 -0
- package/dist/cdn/{WKIFJZVE.js → D63B4VGS.js} +2 -2
- package/dist/cdn/{MQXMA3FC.js → DALKQNAN.js} +2 -2
- package/dist/cdn/DDAGI7DE.js +4 -0
- package/dist/cdn/DGWOSLGL.js +4 -0
- package/dist/cdn/{74RHQ7DA.js → DNLK6AYR.js} +2 -2
- package/dist/cdn/{3G4LKUTY.js → DRY326KA.js} +2 -2
- package/dist/cdn/{YRHP42RI.js → E24V33OI.js} +2 -2
- package/dist/cdn/{KTJBFEOB.js → E6L24TR2.js} +1 -1
- package/dist/cdn/{67NJCVAP.js → EBV2ENFM.js} +2 -2
- package/dist/cdn/ECD57S6V.js +4 -0
- package/dist/cdn/{EZZOGDGS.js → EHBJDMOB.js} +2 -2
- package/dist/cdn/{QABDHBIJ.js → EJMON4YC.js} +2 -2
- package/dist/cdn/{WT2E2GCC.js → EKC5APDE.js} +2 -2
- package/dist/cdn/{2T723BS7.js → EKRJKSG2.js} +2 -2
- package/dist/cdn/EPGI27US.js +4 -0
- package/dist/cdn/EPXZZOTU.js +4 -0
- package/dist/cdn/{4ZI3RX4F.js → EQH4DSMZ.js} +2 -2
- package/dist/cdn/ESFDHKMV.js +4 -0
- package/dist/cdn/{4G4UM3U5.js → EW6S3LTP.js} +2 -2
- package/dist/cdn/{SNJATEUS.js → FFSIXTYR.js} +2 -2
- package/dist/cdn/{BS4SEXOB.js → FXKWJZNP.js} +2 -2
- package/dist/cdn/{ON3KRWLP.js → G7CEZFIL.js} +2 -2
- package/dist/cdn/{HF53CWQW.js → G7MCEKXD.js} +2 -2
- package/dist/cdn/{3YFQ3LAO.js → GDKTUYSX.js} +2 -2
- package/dist/cdn/{SO726PXH.js → GK4OFOIA.js} +2 -2
- package/dist/cdn/{H24ELZFT.js → GSJDDOET.js} +2 -2
- package/dist/cdn/{QZ5WCCHX.js → GVCMJJFD.js} +2 -2
- package/dist/cdn/{4X4CSSG3.js → GXXWPIZT.js} +2 -2
- package/dist/cdn/{BW52FUUE.js → H4U27W7Q.js} +2 -2
- package/dist/cdn/{BX5J3RTH.js → H7E7ID6M.js} +2 -2
- package/dist/cdn/{EZHEJJAQ.js → HGUBIU33.js} +2 -2
- package/dist/cdn/{3USMTJRM.js → HQRJWRMU.js} +2 -2
- package/dist/cdn/{6EYPDFD6.js → I3QEK34U.js} +2 -2
- package/dist/cdn/{MELC5H3X.js → I7GVESLR.js} +2 -2
- package/dist/cdn/{N2DWQGZ5.js → IC4FKOXT.js} +2 -2
- package/dist/cdn/IQASZL7P.js +4 -0
- package/dist/cdn/{WZ5DTCDR.js → IVH7GZXL.js} +2 -2
- package/dist/cdn/{DTWQFFJB.js → IVLHFKHS.js} +2 -2
- package/dist/cdn/{N3FAQAMU.js → IYFODUPO.js} +2 -2
- package/dist/cdn/{ZF6PR3CC.js → JBSLVUMR.js} +2 -2
- package/dist/cdn/{EKD3FWCW.js → JLSBQ7YP.js} +2 -2
- package/dist/cdn/JOQQHVL6.js +4 -0
- package/dist/cdn/{7D6VNU6H.js → JWIG6MAR.js} +2 -2
- package/dist/cdn/KJP3NSS3.js +4 -0
- package/dist/cdn/{FHNP2POD.js → KUL2HAU7.js} +2 -2
- package/dist/cdn/KWL6G6NA.js +4 -0
- package/dist/cdn/{U7NBB3LB.js → L4DVEQYV.js} +2 -2
- package/dist/cdn/{ACNNRA7A.js → L5VY4U7P.js} +2 -2
- package/dist/cdn/{WYRL5JOP.js → L6U2LQ2J.js} +2 -2
- package/dist/cdn/LJYF4M56.js +4 -0
- package/dist/cdn/{AJWZT5VX.js → LNUONQ5V.js} +2 -2
- package/dist/cdn/{Z3U5RHH6.js → LOBDYZO2.js} +2 -2
- package/dist/cdn/{WRENDH4A.js → LPJD7BMO.js} +2 -2
- package/dist/cdn/{I6XMDHMQ.js → LSVBJ4HE.js} +2 -2
- package/dist/cdn/{UMLBYNLG.js → LVTQ6DSG.js} +2 -2
- package/dist/cdn/{OCCESY5K.js → LZV5G44W.js} +2 -2
- package/dist/cdn/MBB2UL4T.js +4 -0
- package/dist/cdn/{WO45HJEA.js → MCBPRI3J.js} +2 -2
- package/dist/cdn/{SC3GQZ4Z.js → MCOY2D62.js} +2 -2
- package/dist/cdn/{TJAPHL6Q.js → MUABWJE4.js} +2 -2
- package/dist/cdn/{NU33XYS3.js → NEBXOTVO.js} +2 -2
- package/dist/cdn/{E53MXDA2.js → NEJSN3JR.js} +2 -2
- package/dist/cdn/NFLWTDWD.js +4 -0
- package/dist/cdn/{I5MGKQSH.js → NG4TI5KJ.js} +2 -2
- package/dist/cdn/{TUZK6L6M.js → NNP3VY3V.js} +2 -2
- package/dist/cdn/{AMEYGTC4.js → NTYT4R5I.js} +2 -2
- package/dist/cdn/{AKBERJGC.js → OBWIKUGC.js} +2 -2
- package/dist/cdn/{JKOP6ROV.js → OLF3U57N.js} +2 -2
- package/dist/cdn/{AWQASTYP.js → OSBW6FOC.js} +2 -2
- package/dist/cdn/{6LXPCVBU.js → P55NWIZK.js} +2 -2
- package/dist/cdn/{K5J3GIHV.js → P6LSZKPN.js} +2 -2
- package/dist/cdn/{G7DYCHMZ.js → PRJMBVC7.js} +2 -2
- package/dist/cdn/{2LYQEQ4W.js → PTLGU4MB.js} +2 -2
- package/dist/cdn/{AXB3W3DZ.js → QD3INGMU.js} +2 -2
- package/dist/cdn/QE3FFWAY.js +4 -0
- package/dist/cdn/{ITISYU34.js → QEV7J2TW.js} +2 -2
- package/dist/cdn/{ERMGHHYH.js → QNTKIML6.js} +2 -2
- package/dist/cdn/{QWP3HHF3.js → QUPCFWTB.js} +2 -2
- package/dist/cdn/RAR4UNTM.js +4 -0
- package/dist/cdn/{LZAMRBIR.js → RBHQC2W7.js} +2 -2
- package/dist/cdn/RBLV4RX7.js +4 -0
- package/dist/cdn/{E5NCXOER.js → RC7VAWVS.js} +27 -27
- package/dist/cdn/{OHMFRSLO.js → RWUHPDEW.js} +2 -2
- package/dist/cdn/{LWJ5ZF24.js → SBB25RVH.js} +2 -2
- package/dist/cdn/{43F7665M.js → SBSFV2EY.js} +2 -2
- package/dist/cdn/{2DTYFON6.js → SCCNUPGH.js} +2 -2
- package/dist/cdn/{3FR6FK3C.js → SKMVZEA4.js} +2 -2
- package/dist/cdn/{QJ5ZSM3A.js → SRAEEK3U.js} +2 -2
- package/dist/cdn/{CNK3LOBC.js → SVA2VUEO.js} +1 -1
- package/dist/cdn/{LTKWOR7Y.js → T5K5TNGX.js} +2 -2
- package/dist/cdn/{YLJ4KPKN.js → T7WYUODM.js} +2 -2
- package/dist/cdn/{K4B3QFNQ.js → TEIJKTRA.js} +2 -2
- package/dist/cdn/{B5KI4WUW.js → TEPWTXPH.js} +2 -2
- package/dist/cdn/{CFFGCXF2.js → TMKGTQYC.js} +2 -2
- package/dist/cdn/{EGX2ZIWG.js → TPDA3QLI.js} +2 -2
- package/dist/cdn/{USJPLEQ7.js → TTQTPH4N.js} +2 -2
- package/dist/cdn/{PXJZC2QA.js → TZZ5NV7B.js} +2 -2
- package/dist/cdn/{WTO6OTQI.js → VAYLHSPU.js} +1 -1
- package/dist/cdn/VKYEUV4G.js +4 -0
- package/dist/cdn/{DGYWZ7UC.js → VOORD3AW.js} +2 -2
- package/dist/cdn/{GFBQZH6C.js → VP7XO3GK.js} +2 -2
- package/dist/cdn/{DNVZIYIO.js → VR5YTWCR.js} +2 -2
- package/dist/cdn/{XH4LGA4S.js → VVESXLID.js} +2 -2
- package/dist/cdn/VVKL7KRB.js +4 -0
- package/dist/cdn/W4AZDRLP.js +4 -0
- package/dist/cdn/W667BDKN.js +4 -0
- package/dist/cdn/{IZX2EM7F.js → WJSOHZF3.js} +2 -2
- package/dist/cdn/{TX4IWDQU.js → WQMOCFU6.js} +2 -2
- package/dist/cdn/{X3TBJ6TT.js → WRCWHPFU.js} +2 -2
- package/dist/cdn/XC37KLDO.js +4 -0
- package/dist/cdn/{LG7B2IQY.js → XE5QRMQK.js} +2 -2
- package/dist/cdn/{GMN4T7D6.js → XQNER34X.js} +2 -2
- package/dist/cdn/{TOZ44NHZ.js → XU4GL22W.js} +2 -2
- package/dist/cdn/{TFO4N5O4.js → XV6D6AVL.js} +1 -1
- package/dist/cdn/{QVJVZ242.js → XXAYT65T.js} +2 -2
- package/dist/cdn/{JGWE3R3P.js → Y4TEDW3Y.js} +2 -2
- package/dist/cdn/{WE6NSQ3B.js → YCLHWTC3.js} +2 -2
- package/dist/cdn/{CTYNX2GT.js → YOKN6RLU.js} +2 -2
- package/dist/cdn/{5OI4ETP2.js → YVWVT7WY.js} +2 -2
- package/dist/cdn/{IKRL23DY.js → Z7AKC2TH.js} +2 -2
- package/dist/cdn/{LKFFPAGD.js → ZD32MHOU.js} +2 -2
- package/dist/cdn/{P2D5KTCB.js → ZRD525L6.js} +2 -2
- package/dist/cdn/{6VLL32EJ.js → ZRMD33KA.js} +2 -2
- package/dist/cdn/{3OHX2HI5.js → ZUBNDW4X.js} +2 -2
- package/dist/cdn/{N7SUV5FZ.js → ZURFX53N.js} +2 -2
- package/dist/cdn/{2XUIOHDT.js → ZXGFDTDF.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +17 -23
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- 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 +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +118 -123
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- 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 +1 -1
- package/dist/chunks/serial-chart-data.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-chart/customElement.js +2454 -2460
- package/dist/components/arcgis-charts-action-bar/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +23 -23
- package/dist/components/arcgis-charts-config-axis/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +22 -27
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-bar-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +28 -33
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +49 -49
- package/dist/components/arcgis-charts-config-box-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +37 -37
- 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 +6 -6
- package/dist/components/arcgis-charts-config-category-format/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +9 -15
- package/dist/components/arcgis-charts-config-color-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-colors/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +107 -119
- 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 +2 -2
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +11 -11
- 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 +31 -35
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +25 -30
- package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +15 -20
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-line-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +8 -8
- 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 +4 -4
- package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +27 -32
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +29 -29
- package/dist/components/arcgis-charts-config-pie-chart-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +5 -0
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +26 -31
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +36 -33
- package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +0 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +7 -3
- 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 +1 -1
- package/dist/loader.js +1 -1
- package/dist/model/mixins/model-with-multi-axes.d.ts +3 -3
- package/dist/model.js +1 -1
- package/dist/utils/components/watch-handlers.d.ts +12 -12
- package/dist/utils/misc/index.d.ts +1 -1
- package/dist/utils/ui/chart-ui-utils.d.ts +2 -1
- package/package.json +3 -3
- package/dist/cdn/2M4HDU6O.js +0 -4
- package/dist/cdn/3E5XIN3C.js +0 -4
- package/dist/cdn/47TBFKG2.js +0 -4
- package/dist/cdn/4CRXOTJL.js +0 -4
- package/dist/cdn/4LHYJZKH.js +0 -4
- package/dist/cdn/4MTRFM6A.js +0 -4
- package/dist/cdn/5LI2TSF2.js +0 -4
- package/dist/cdn/7KAYITHT.js +0 -4
- package/dist/cdn/B23AQKQD.js +0 -4
- package/dist/cdn/BGOBAWHV.js +0 -4
- package/dist/cdn/C6LLGIKT.js +0 -4
- package/dist/cdn/DCYBICHJ.css +0 -1
- package/dist/cdn/DDZO6MO3.js +0 -4
- package/dist/cdn/DZW6UZFU.js +0 -4
- package/dist/cdn/HFDF7KZ7.js +0 -4
- package/dist/cdn/I32YOJ2V.js +0 -4
- package/dist/cdn/KSBSE7SC.js +0 -4
- package/dist/cdn/KSMY5VBS.js +0 -4
- package/dist/cdn/M3TWXHKD.js +0 -4
- package/dist/cdn/NKUL4P5Z.js +0 -4
- package/dist/cdn/O7UVIMT7.js +0 -4
- package/dist/cdn/P22UKELH.js +0 -4
- package/dist/cdn/P6ZZKHR2.js +0 -4
- package/dist/cdn/RJKTENM6.js +0 -4
- package/dist/cdn/TG7ZISUA.js +0 -4
- package/dist/cdn/UWOOIVAT.js +0 -4
- package/dist/cdn/VKH5MLG5.js +0 -4
- package/dist/cdn/VLAMSWCX.js +0 -4
- package/dist/cdn/WKI5DXW4.js +0 -4
- package/dist/cdn/WP5C4YA4.js +0 -4
- package/dist/cdn/WWPT5UD4.js +0 -4
- package/dist/cdn/ZSGW52A3.js +0 -4
- package/dist/cdn/stdin.css +0 -1
|
@@ -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 { aq as d, cO as S, cN as
|
|
8
|
+
import { aq as d, cO as S, cN as g } from "../../chunks/index.js";
|
|
9
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
11
11
|
import "@arcgis/core/Graphic.js";
|
|
@@ -29,12 +29,12 @@ import { a as l, e as m } from "../../chunks/interfaces.js";
|
|
|
29
29
|
import { d as $, s as x } from "../../chunks/store.js";
|
|
30
30
|
import { U as F } from "../../chunks/chart-ui-utils2.js";
|
|
31
31
|
import { u as I } from "../../chunks/useT9n.js";
|
|
32
|
-
import { css as
|
|
33
|
-
import { createRef as h, ref as
|
|
32
|
+
import { css as B, nothing as w, html as a } from "lit";
|
|
33
|
+
import { createRef as h, ref as u } from "lit/directives/ref.js";
|
|
34
34
|
import { LitElement as P, createEvent as O, safeClassMap as o, renderElement as L } from "@arcgis/lumina";
|
|
35
35
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
36
36
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
37
|
-
v5.0.0-next.
|
|
37
|
+
v5.0.0-next.29 */
|
|
38
38
|
const r = {
|
|
39
39
|
label: "label",
|
|
40
40
|
fieldList: "field-list",
|
|
@@ -42,7 +42,7 @@ const r = {
|
|
|
42
42
|
dimText: "dim-text",
|
|
43
43
|
list: "list",
|
|
44
44
|
customSortButtons: "custom-sort-buttons"
|
|
45
|
-
}, k =
|
|
45
|
+
}, k = B`.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}.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}.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)}`;
|
|
46
46
|
class E extends P {
|
|
47
47
|
constructor() {
|
|
48
48
|
super(...arguments), this._messages = I(), this.boxPlotPopover = null, this.categoryElement = h(), this.numericFieldsElement = h(), this.splitByFieldElement = h(), this.sortOrderElement = h(), this.originalCustomSortLabels = [], this.isCustomSortDisabled = !1, this.onModelConfigChange = () => {
|
|
@@ -52,38 +52,38 @@ class E extends P {
|
|
|
52
52
|
}, this.onBoxPlotDataChange = async (t) => {
|
|
53
53
|
try {
|
|
54
54
|
if (t.detail !== null && t.detail?.value !== void 0) {
|
|
55
|
-
const { contentKind: e } = t.detail,
|
|
55
|
+
const { contentKind: e } = t.detail, s = [...t.detail.value];
|
|
56
56
|
switch ($(x), e) {
|
|
57
57
|
case l.category: {
|
|
58
|
-
const
|
|
59
|
-
if (this.model.category =
|
|
58
|
+
const i = s[0]?.trim() || d;
|
|
59
|
+
if (this.model.category = i, this.model.getSortOrder() === c.customSort) {
|
|
60
60
|
const n = await this.updateCustomSortProps();
|
|
61
61
|
this.model.orderByList = n, this.sortOrderResetCounter += 1;
|
|
62
62
|
}
|
|
63
63
|
break;
|
|
64
64
|
}
|
|
65
65
|
case l.numericFields: {
|
|
66
|
-
this.model.numericFields =
|
|
67
|
-
const
|
|
68
|
-
if (this.model.standardizeValues =
|
|
66
|
+
this.model.numericFields = s;
|
|
67
|
+
const i = s.length > 1;
|
|
68
|
+
if (this.model.standardizeValues = i, this.model.getSortOrder() === c.customSort) {
|
|
69
69
|
const n = await this.updateCustomSortProps();
|
|
70
70
|
this.model.orderByList = n, this.sortOrderResetCounter += 1;
|
|
71
71
|
}
|
|
72
72
|
break;
|
|
73
73
|
}
|
|
74
74
|
case l.splitByField: {
|
|
75
|
-
const
|
|
76
|
-
this.model.splitByField =
|
|
75
|
+
const i = s[0]?.trim() || "";
|
|
76
|
+
this.model.splitByField = i;
|
|
77
77
|
break;
|
|
78
78
|
}
|
|
79
79
|
case l.sortOrder:
|
|
80
80
|
{
|
|
81
|
-
const
|
|
82
|
-
if (
|
|
81
|
+
const i = s[0];
|
|
82
|
+
if (i === c.customSort) {
|
|
83
83
|
const n = await this.updateCustomSortProps();
|
|
84
|
-
this.model.setSortOrder(
|
|
84
|
+
this.model.setSortOrder(i, n);
|
|
85
85
|
} else
|
|
86
|
-
this.model.setSortOrder(
|
|
86
|
+
this.model.setSortOrder(i);
|
|
87
87
|
this.sortOrderResetCounter += 1;
|
|
88
88
|
}
|
|
89
89
|
break;
|
|
@@ -92,7 +92,7 @@ class E extends P {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
} catch (e) {
|
|
95
|
-
throw this.arcgisChartsConfigDataChangeError.emit({ error: e, model: this.model }), e;
|
|
95
|
+
throw e instanceof Error && this.arcgisChartsConfigDataChangeError.emit({ error: e, model: this.model }), e;
|
|
96
96
|
}
|
|
97
97
|
this.requestUpdate();
|
|
98
98
|
}, this.selectedCustomSortItemId = "", this.sortOrderResetCounter = 0, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError = O();
|
|
@@ -106,8 +106,8 @@ class E extends P {
|
|
|
106
106
|
load() {
|
|
107
107
|
this.modelChange(this.model), this.onModelConfigChange(), this.currentDataFilter = this.model.getDataFilters(), this.updateCustomSortProps();
|
|
108
108
|
}
|
|
109
|
-
|
|
110
|
-
t.has("model") && this.modelChange(this.model, t.get("model")), b(this.model.getDataFilters(), this.currentDataFilter) || (
|
|
109
|
+
willUpdate(t) {
|
|
110
|
+
t.has("model") && this.modelChange(this.model, t.get("model")), b(this.model.getDataFilters(), this.currentDataFilter) || (this.updateCustomSortProps(), this.currentDataFilter = this.model.getDataFilters()), this.disableSplitBy = this.model.numericFields.length === 0 || this.model.numericFields.length > 1 && this.model.category !== d;
|
|
111
111
|
}
|
|
112
112
|
disconnectedCallback() {
|
|
113
113
|
super.disconnectedCallback(), this.boxPlotPopover = p(this.boxPlotPopover), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -117,8 +117,8 @@ class E extends P {
|
|
|
117
117
|
}
|
|
118
118
|
onCalciteListOrderChange(t) {
|
|
119
119
|
if (t.detail !== null && t.detail !== void 0) {
|
|
120
|
-
const { newIndex: e, oldIndex:
|
|
121
|
-
this.model.moveCustomSortValuesInOrderByList(
|
|
120
|
+
const { newIndex: e, oldIndex: s } = t.detail;
|
|
121
|
+
this.model.moveCustomSortValuesInOrderByList(s, e);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
onCustomSortItemSelected(t) {
|
|
@@ -127,30 +127,30 @@ class E extends P {
|
|
|
127
127
|
}
|
|
128
128
|
onCustomSortItemMoved(t) {
|
|
129
129
|
const { id: e } = t.target;
|
|
130
|
-
let
|
|
131
|
-
const
|
|
132
|
-
e === m.Up ?
|
|
130
|
+
let s = this.model.orderByList.length;
|
|
131
|
+
const i = this.model.orderByList.indexOf(this.selectedCustomSortItemId);
|
|
132
|
+
e === m.Up ? s = i - 1 : e === m.Down && (s = i + 1), i >= 0 && s >= 0 && s < this.model.orderByList.length && (this.model.moveCustomSortValuesInOrderByList(i, s), this.sortOrderResetCounter += 1);
|
|
133
133
|
}
|
|
134
134
|
buildCustomSortListItems() {
|
|
135
135
|
return v(this.model.orderByList, (e) => e, (e) => {
|
|
136
|
-
const
|
|
137
|
-
return a`<calcite-list-item id=${e ??
|
|
136
|
+
const s = S(this.layerFieldsInfo, e);
|
|
137
|
+
return a`<calcite-list-item id=${e ?? w} .label=${e ?? ""} .description=${s} .value=${e} .selected=${this.selectedCustomSortItemId === e} @calciteListItemSelect=${this.onCustomSortItemSelected}><calcite-icon slot=content-end></calcite-icon></calcite-list-item>`;
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
140
|
buildCustomSortList() {
|
|
141
141
|
return f(this.sortOrderResetCounter, a`<calcite-list label class=${o(r.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildCustomSortListItems()}</calcite-list>`);
|
|
142
142
|
}
|
|
143
143
|
buildNumericFieldItem(t) {
|
|
144
|
-
return f(t, a`<calcite-list-item .label=${
|
|
144
|
+
return f(t, a`<calcite-list-item .label=${g(this.layerFieldsInfo, t)} .value=${t} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`);
|
|
145
145
|
}
|
|
146
146
|
onCategorySelect(t) {
|
|
147
147
|
this.categoryElement.value && !this.categoryElement.value.disabled && (this.contentKind = l.category, this.setupPopover(t));
|
|
148
148
|
}
|
|
149
149
|
async onRemoveNumericField(t) {
|
|
150
150
|
const e = t.target.value;
|
|
151
|
-
if (this.model.numericFields = this.model.numericFields.filter((
|
|
152
|
-
const
|
|
153
|
-
this.model.orderByList =
|
|
151
|
+
if (this.model.numericFields = this.model.numericFields.filter((s) => s !== e), this.model.numericFields.length === 0 && this.model.resetConfig(), this.model.getSortOrder() === c.customSort) {
|
|
152
|
+
const s = await this.updateCustomSortProps();
|
|
153
|
+
this.model.orderByList = s, this.sortOrderResetCounter += 1;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
async updateCustomSortProps() {
|
|
@@ -173,59 +173,59 @@ class E extends P {
|
|
|
173
173
|
}
|
|
174
174
|
setupPopover(t) {
|
|
175
175
|
t.stopImmediatePropagation(), this.boxPlotPopover = p(this.boxPlotPopover);
|
|
176
|
-
let e,
|
|
176
|
+
let e, s, i, n = !1;
|
|
177
177
|
switch (this.contentKind) {
|
|
178
178
|
case l.category:
|
|
179
|
-
e = this.categoryElement.value,
|
|
179
|
+
e = this.categoryElement.value, s = this._messages.categoryHeader, i = this.model.category === d ? "" : this.model.category;
|
|
180
180
|
break;
|
|
181
181
|
case l.numericFields:
|
|
182
|
-
e = this.numericFieldsElement.value,
|
|
182
|
+
e = this.numericFieldsElement.value, s = this._messages.numericFieldsHeader, i = this.model.numericFields;
|
|
183
183
|
break;
|
|
184
184
|
case l.splitByField:
|
|
185
|
-
e = this.splitByFieldElement.value,
|
|
185
|
+
e = this.splitByFieldElement.value, s = this._messages.splitByFieldHeader, i = this.model.splitByField;
|
|
186
186
|
break;
|
|
187
187
|
case l.sortOrder:
|
|
188
|
-
e = this.sortOrderElement.value,
|
|
188
|
+
e = this.sortOrderElement.value, s = this._messages.selectSortOrder, i = this.model.getSortOrder(), n = this.isCustomSortDisabled;
|
|
189
189
|
break;
|
|
190
190
|
}
|
|
191
|
-
this.boxPlotPopover = L(a`<arcgis-charts-config-box-plot-popover .headingTitle=${
|
|
191
|
+
this.boxPlotPopover = L(a`<arcgis-charts-config-box-plot-popover .headingTitle=${s} .referenceElement=${e} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${i} .isCustomSortDisabled=${n} @arcgisChartsConfigBoxPlotDataPopoverChange=${this.onBoxPlotDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-box-plot-popover>`), !document.body.contains(this.boxPlotPopover) && this.boxPlotPopover !== null && document.body.appendChild(this.boxPlotPopover);
|
|
192
192
|
}
|
|
193
193
|
onAddNumericFields(t) {
|
|
194
194
|
this.contentKind = l.numericFields, this.setupPopover(t);
|
|
195
195
|
}
|
|
196
196
|
getCorrectedSplitByValue() {
|
|
197
|
-
return this.model.splitByField?.trim() === "" ? "" :
|
|
197
|
+
return this.model.splitByField?.trim() === "" ? "" : g(this.layerFieldsInfo, this.model.splitByField);
|
|
198
198
|
}
|
|
199
199
|
getCorrectedCategoryValue() {
|
|
200
|
-
return this.model.category === d ? "" :
|
|
200
|
+
return this.model.category === d ? "" : g(this.layerFieldsInfo, this.model.category);
|
|
201
201
|
}
|
|
202
202
|
resetToOriginalCustomSortLabels() {
|
|
203
203
|
this.selectedCustomSortItemId = "", this.model.orderByList = [...this.originalCustomSortLabels], this.sortOrderResetCounter += 1;
|
|
204
204
|
}
|
|
205
205
|
renderCustomSortUI() {
|
|
206
|
-
const t = this.model.getSortOrder(), e = this.model.getAxisValueFormat(0)?.type,
|
|
207
|
-
return e === y.CategoryAxisFormat && t === c.customSort && !this.isCustomSortDisabled ? a`<calcite-label class=${o(r.label)}><div class=${o(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${
|
|
206
|
+
const t = this.model.getSortOrder(), e = this.model.getAxisValueFormat(0)?.type, s = this.model.orderByList.indexOf(this.selectedCustomSortItemId);
|
|
207
|
+
return e === y.CategoryAxisFormat && t === c.customSort && !this.isCustomSortDisabled ? a`<calcite-label class=${o(r.label)}><div class=${o(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${s === 0 || s === -1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-up id=${m.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${s === -1 || s === this.model.orderByList.length - 1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-down id=${m.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${b(this.model.orderByList, this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.model.category === d ? this._messages.values : this._messages.category}${this.buildCustomSortList()}</calcite-label>` : null;
|
|
208
208
|
}
|
|
209
209
|
renderNumericFields(t) {
|
|
210
210
|
const e = [];
|
|
211
|
-
for (const
|
|
212
|
-
e.push(this.buildNumericFieldItem(
|
|
213
|
-
return a`<calcite-list label class=${o(r.fieldList)} ${
|
|
211
|
+
for (const s of t)
|
|
212
|
+
e.push(this.buildNumericFieldItem(s));
|
|
213
|
+
return a`<calcite-list label class=${o(r.fieldList)} ${u(this.numericFieldsElement)}>${e}</calcite-list>`;
|
|
214
214
|
}
|
|
215
215
|
renderCategory() {
|
|
216
216
|
const t = this.getCorrectedCategoryValue(), e = this.model.numericFields.length === 0 || (this.model.numericFields ?? []).length > 1 && this.model.splitByField !== "";
|
|
217
|
-
return a`<arcgis-charts-config-field-select .label=${t} .disabled=${e} @click=${this.onCategorySelect} ${
|
|
217
|
+
return a`<arcgis-charts-config-field-select .label=${t} .disabled=${e} @click=${this.onCategorySelect} ${u(this.categoryElement)}></arcgis-charts-config-field-select>`;
|
|
218
218
|
}
|
|
219
219
|
renderSplitBy() {
|
|
220
220
|
const t = this.getCorrectedSplitByValue();
|
|
221
|
-
return a`<arcgis-charts-config-field-select .label=${t} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${
|
|
221
|
+
return a`<arcgis-charts-config-field-select .label=${t} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${u(this.splitByFieldElement)}></arcgis-charts-config-field-select>`;
|
|
222
222
|
}
|
|
223
223
|
renderSorting() {
|
|
224
|
-
return a`<arcgis-charts-config-field-select .label=${this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${
|
|
224
|
+
return a`<arcgis-charts-config-field-select .label=${this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${u(this.sortOrderElement)}></arcgis-charts-config-field-select>`;
|
|
225
225
|
}
|
|
226
226
|
render() {
|
|
227
|
-
const t = this.renderCategory(), e = this.renderNumericFields([...this.model.numericFields ?? []]),
|
|
228
|
-
return a`<
|
|
227
|
+
const t = this.renderCategory(), e = this.renderNumericFields([...this.model.numericFields ?? []]), s = this.renderSplitBy(), i = this.renderSorting(), n = this.renderCustomSortUI();
|
|
228
|
+
return a`<calcite-label class=${o(r.label)}>${this._messages.numericFields}${e}</calcite-label><div class=${o(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=${o(r.label)}><div>${this._messages.category} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${t}</calcite-label><calcite-label class=${o(r.label)}><div class=${o(this.disableSplitBy ? r.dimText : "")}>${this._messages.splitBy} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${s}</calcite-label><div>${(this.model.numericFields ?? []).length > 1 ? a`<calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.standardizeValues}<calcite-switch .checked=${this.model.standardizeValues} @calciteSwitchChange=${this.onStandardizeValuesChange}></calcite-switch></calcite-label>` : null}</div><calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.showOutliers}<calcite-switch .checked=${this.model.showOutliers} @calciteSwitchChange=${this.onShowOutliersChange}></calcite-switch></calcite-label><calcite-label class=${o(r.label)}>${this._messages.sortOrder}${i}</calcite-label>${n}`;
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
C("arcgis-charts-config-box-plot-data", E);
|
|
@@ -59,10 +59,20 @@ export declare class ArcgisChartsConfigBoxPlotPopover extends LitElement {
|
|
|
59
59
|
* @category Public
|
|
60
60
|
*/
|
|
61
61
|
reposition(): Promise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Event emitted when there is a change in data type.
|
|
64
|
+
*
|
|
65
|
+
* @event
|
|
66
|
+
*/
|
|
62
67
|
readonly arcgisChartsConfigBoxPlotDataPopoverChange: TargetedEvent<this, {
|
|
63
68
|
contentKind?: BoxPlotDataPopoverKinds;
|
|
64
69
|
value: string[];
|
|
65
70
|
}>;
|
|
71
|
+
/**
|
|
72
|
+
* Event emitted when the popover is closed.
|
|
73
|
+
*
|
|
74
|
+
* @event
|
|
75
|
+
*/
|
|
66
76
|
readonly arcgisChartsConfigPopoverClose: TargetedEvent<this, void>;
|
|
67
77
|
private _messages;
|
|
68
78
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { c as k } from "../../chunks/runtime.js";
|
|
2
2
|
import { keyed as p } from "lit/directives/keyed.js";
|
|
3
|
-
import { repeat as
|
|
3
|
+
import { repeat as v } from "lit/directives/repeat.js";
|
|
4
4
|
import { B as r } from "../../chunks/common.js";
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
6
|
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 { cN as
|
|
10
|
+
import { cN as y, bC as g, bA as $, cC as x } from "../../chunks/index.js";
|
|
11
11
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
12
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
13
13
|
import "@arcgis/core/Graphic.js";
|
|
@@ -25,15 +25,15 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
25
25
|
import "@arcgis/core/time/TimeExtent.js";
|
|
26
26
|
import "@arcgis/core/core/promiseUtils.js";
|
|
27
27
|
import { e as L, p as P } from "../../chunks/popover-ui-utils.js";
|
|
28
|
-
import { a as
|
|
29
|
-
import { U as h, e as I, i as f, d as
|
|
30
|
-
import { u as
|
|
31
|
-
import { css as
|
|
28
|
+
import { a as l } from "../../chunks/interfaces.js";
|
|
29
|
+
import { U as h, e as I, i as f, d as D } from "../../chunks/chart-ui-utils2.js";
|
|
30
|
+
import { u as S } from "../../chunks/useT9n.js";
|
|
31
|
+
import { css as w, html as n } from "lit";
|
|
32
32
|
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.29 */
|
|
37
37
|
const o = {
|
|
38
38
|
jsAppFlyout: "js-app-flyout",
|
|
39
39
|
name: "bar-chart-data-popover",
|
|
@@ -45,10 +45,10 @@ const o = {
|
|
|
45
45
|
sortMedian: "sort-median",
|
|
46
46
|
sortOrderPickList: "sort-order-pick-list",
|
|
47
47
|
panel: "panel"
|
|
48
|
-
}, N =
|
|
48
|
+
}, N = w`.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-mean,.sort-median{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`;
|
|
49
49
|
class z extends T {
|
|
50
50
|
constructor() {
|
|
51
|
-
super(...arguments), this._messages =
|
|
51
|
+
super(...arguments), this._messages = S(), this.picklist = b(), this.placement = "leading", this.popoverElement = b(), this.offsetDistance = -200, this.pickListHasChanged = !1, this.layerFieldsInfo = [], this.isCustomSortDisabled = !1, this.arcgisChartsConfigBoxPlotDataPopoverChange = C(), this.arcgisChartsConfigPopoverClose = C();
|
|
52
52
|
}
|
|
53
53
|
static {
|
|
54
54
|
this.properties = { messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, isCustomSortDisabled: 5, selectedContent: 1 };
|
|
@@ -62,9 +62,9 @@ class z extends T {
|
|
|
62
62
|
willUpdate(e) {
|
|
63
63
|
e.has("selectedContent") && this.selectedContentChange(this.selectedContent, e.get("selectedContent"));
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
setTimeout(
|
|
67
|
-
typeof this.picklist.value?.setFocus == "function" &&
|
|
65
|
+
updated() {
|
|
66
|
+
setTimeout(() => {
|
|
67
|
+
typeof this.picklist.value?.setFocus == "function" && this.picklist.value?.setFocus();
|
|
68
68
|
}, h.PopoverTimer), L(this.popoverElement.value, this.open), this.hasUpdated || setTimeout(() => {
|
|
69
69
|
this.popoverElement.value?.reposition();
|
|
70
70
|
}, h.PopoverTimer);
|
|
@@ -73,7 +73,7 @@ class z extends T {
|
|
|
73
73
|
this.pickListHasChanged = P(e, t);
|
|
74
74
|
}
|
|
75
75
|
closePopover() {
|
|
76
|
-
if (this.contentKind ===
|
|
76
|
+
if (this.contentKind === l.numericFields && this.pickListHasChanged) {
|
|
77
77
|
const e = {
|
|
78
78
|
pickListElement: this.picklist.value,
|
|
79
79
|
eventEmitter: this.arcgisChartsConfigBoxPlotDataPopoverChange,
|
|
@@ -83,7 +83,7 @@ class z extends T {
|
|
|
83
83
|
}
|
|
84
84
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
85
85
|
}
|
|
86
|
-
|
|
86
|
+
onDataContentTypeChange(e) {
|
|
87
87
|
this.pickListHasChanged = !0;
|
|
88
88
|
const t = e.target.selectedItems;
|
|
89
89
|
this.arcgisChartsConfigBoxPlotDataPopoverChange.emit({
|
|
@@ -92,20 +92,20 @@ class z extends T {
|
|
|
92
92
|
}), this.open = !1;
|
|
93
93
|
}
|
|
94
94
|
buildPickListItem(e) {
|
|
95
|
-
return p(e.name,
|
|
95
|
+
return p(e.name, n`<calcite-list-item .label=${y(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${f(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
96
96
|
}
|
|
97
97
|
buildPickListItems(e) {
|
|
98
98
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
99
99
|
switch (e) {
|
|
100
|
-
case
|
|
100
|
+
case l.numericFields: {
|
|
101
101
|
for (let s = 0; s < t; s += 1) {
|
|
102
102
|
const a = this.layerFieldsInfo[s];
|
|
103
103
|
$(a) && i.push(this.buildPickListItem(a));
|
|
104
104
|
}
|
|
105
105
|
break;
|
|
106
106
|
}
|
|
107
|
-
case
|
|
108
|
-
const s = p(" ",
|
|
107
|
+
case l.category: {
|
|
108
|
+
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${f("", this.selectedContent)}></calcite-list-item>`);
|
|
109
109
|
i.push(s);
|
|
110
110
|
for (let a = 0; a < t; a += 1) {
|
|
111
111
|
const c = this.layerFieldsInfo[a];
|
|
@@ -113,8 +113,8 @@ class z extends T {
|
|
|
113
113
|
}
|
|
114
114
|
break;
|
|
115
115
|
}
|
|
116
|
-
case
|
|
117
|
-
const s = p(" ",
|
|
116
|
+
case l.splitByField: {
|
|
117
|
+
const s = p(" ", n`<calcite-list-item label=" " value=" " .selected=${f("", this.selectedContent)}></calcite-list-item>`);
|
|
118
118
|
i.push(s);
|
|
119
119
|
for (let a = 0; a < t; a += 1) {
|
|
120
120
|
const c = this.layerFieldsInfo[a];
|
|
@@ -131,7 +131,7 @@ class z extends T {
|
|
|
131
131
|
buildSortOrder() {
|
|
132
132
|
const e = Object.keys(r);
|
|
133
133
|
let t;
|
|
134
|
-
return
|
|
134
|
+
return v(e, (i) => i, (i) => {
|
|
135
135
|
let s = "";
|
|
136
136
|
switch (i) {
|
|
137
137
|
case r.xAxisAsc: {
|
|
@@ -162,10 +162,10 @@ class z extends T {
|
|
|
162
162
|
break;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
return
|
|
165
|
+
return n`<calcite-list-item .disabled=${this.isCustomSortDisabled && i === r.customSort} .label=${this._messages[i]} .selected=${this.selectedContent === i} .value=${r[i]} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}><calcite-icon class=${`sort-icon-color ${s}`} slot=content-start .icon=${t}></calcite-icon></calcite-list-item>`;
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
|
-
|
|
168
|
+
onNumericFieldSelectionDone() {
|
|
169
169
|
this.pickListHasChanged && this.closePopover();
|
|
170
170
|
}
|
|
171
171
|
createTooltip(e) {
|
|
@@ -173,41 +173,41 @@ class z extends T {
|
|
|
173
173
|
const t = e.target, i = x(t), a = new Intl.NumberFormat(i).format(h.customSortLimit), c = F(this._messages.customSortLimit ?? "", {
|
|
174
174
|
totalLimit: a
|
|
175
175
|
});
|
|
176
|
-
this.tooltip = E(
|
|
176
|
+
this.tooltip = E(n`<calcite-tooltip style=${B({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${c}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
destroyTooltip() {
|
|
180
|
-
|
|
180
|
+
D(this.tooltip);
|
|
181
181
|
}
|
|
182
182
|
renderCategory() {
|
|
183
|
-
const e = this.buildPickListItems(
|
|
184
|
-
return
|
|
183
|
+
const e = this.buildPickListItems(l.category);
|
|
184
|
+
return n`<calcite-list label class=${d(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
185
185
|
}
|
|
186
186
|
renderNumericFields() {
|
|
187
|
-
const e = this.buildPickListItems(
|
|
188
|
-
return
|
|
187
|
+
const e = this.buildPickListItems(l.numericFields);
|
|
188
|
+
return n`<calcite-list label class=${d(o.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
189
189
|
}
|
|
190
190
|
renderSplitByField() {
|
|
191
|
-
const e = this.buildPickListItems(
|
|
192
|
-
return
|
|
191
|
+
const e = this.buildPickListItems(l.splitByField);
|
|
192
|
+
return n`<calcite-list label class=${d(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
193
193
|
}
|
|
194
194
|
renderSortOrder() {
|
|
195
195
|
const e = this.buildSortOrder();
|
|
196
|
-
return
|
|
196
|
+
return n`<calcite-list label class=${d(o.sortOrderPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
197
197
|
}
|
|
198
198
|
renderPopoverInfo() {
|
|
199
199
|
let e;
|
|
200
200
|
switch (this.contentKind) {
|
|
201
|
-
case
|
|
201
|
+
case l.category:
|
|
202
202
|
e = this.renderCategory();
|
|
203
203
|
break;
|
|
204
|
-
case
|
|
204
|
+
case l.numericFields:
|
|
205
205
|
e = this.renderNumericFields();
|
|
206
206
|
break;
|
|
207
|
-
case
|
|
207
|
+
case l.splitByField:
|
|
208
208
|
e = this.renderSplitByField();
|
|
209
209
|
break;
|
|
210
|
-
case
|
|
210
|
+
case l.sortOrder:
|
|
211
211
|
e = this.renderSortOrder();
|
|
212
212
|
break;
|
|
213
213
|
}
|
|
@@ -215,7 +215,7 @@ class z extends T {
|
|
|
215
215
|
}
|
|
216
216
|
render() {
|
|
217
217
|
let e;
|
|
218
|
-
return this.contentKind ===
|
|
218
|
+
return this.contentKind === l.numericFields && (e = n`<div slot=footer><calcite-fab class=${d(o.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div class=${d(o.jsAppFlyout)}><calcite-popover class=${d(o.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${m(this.popoverElement)}><calcite-panel class=${d(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${d(o.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
k("arcgis-charts-config-box-plot-popover", z);
|
|
@@ -30,7 +30,7 @@ import { LitElement as B, renderElement as h, safeStyleMap as m, createEvent as
|
|
|
30
30
|
import { d as T } 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.29 */
|
|
34
34
|
const l = {
|
|
35
35
|
topSection: "top-section",
|
|
36
36
|
sectionLabel: "section-label",
|
|
@@ -41,7 +41,7 @@ class N extends B {
|
|
|
41
41
|
constructor() {
|
|
42
42
|
super(...arguments), this._messages = O(), this.resetSeriesOriginal = () => {
|
|
43
43
|
this.configSeriesOpen = !1, this.selectedSeriesIndex = void 0, this.model.resetSeriesStyling(), this.seriesOrderResetCounter += 1;
|
|
44
|
-
}, this.onMultipleSeriesSelect =
|
|
44
|
+
}, this.onMultipleSeriesSelect = (e) => {
|
|
45
45
|
if (!this.shouldDisableMeanLinesOption()) {
|
|
46
46
|
const i = e.target, t = i.value ?? i.parentElement.value ?? "";
|
|
47
47
|
this.model.showMeanLines = t === d.MeanLines;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as g } from "../../chunks/runtime.js";
|
|
2
|
-
import { css as
|
|
2
|
+
import { css as C, html as n } from "lit";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
|
-
import { isEqual as
|
|
4
|
+
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";
|
|
@@ -30,11 +30,11 @@ 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.29 */
|
|
34
34
|
const c = {
|
|
35
35
|
jsAppFlyout: "js-app-flyout",
|
|
36
36
|
panelChildrenContainer: "panel-children-container"
|
|
37
|
-
}, P =
|
|
37
|
+
}, P = C`.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}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`;
|
|
38
38
|
class L extends $ {
|
|
39
39
|
constructor() {
|
|
40
40
|
super(...arguments), this._messages = b(), this.popoverElement = S(), this.isLineSymbol = !1, this.arcgisChartsConfigPopoverClose = a(), this.arcgisChartsConfigSeriesPopoverColorChange = a(), this.arcgisChartsConfigSeriesPopoverLineStyleChange = a(), this.arcgisChartsConfigSeriesPopoverLineWidthChange = a(), this.arcgisChartsConfigSeriesPopoverNameChange = a();
|
|
@@ -66,7 +66,7 @@ class L extends $ {
|
|
|
66
66
|
}
|
|
67
67
|
lineSymbolChange(e) {
|
|
68
68
|
const { lineStyle: t } = e.target, { color: s, style: i, width: o } = t;
|
|
69
|
-
if (s !== void 0 && !
|
|
69
|
+
if (s !== void 0 && !f(s, this.selectedColor)) {
|
|
70
70
|
const [r, p, h] = s, m = d * 255;
|
|
71
71
|
this.selectedColor = [r, p, h, m], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [r, p, h, m] });
|
|
72
72
|
}
|
|
@@ -81,7 +81,7 @@ class L extends $ {
|
|
|
81
81
|
style: this.selectedLineStyle,
|
|
82
82
|
width: this.selectedLineWidth,
|
|
83
83
|
color: e
|
|
84
|
-
}} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>` : n`<arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @
|
|
84
|
+
}} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>` : n`<arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors>`}</div></calcite-panel></calcite-popover></div>`;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
g("arcgis-charts-config-box-plot-series-popover", L);
|
|
@@ -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.29 */
|
|
10
10
|
const e = {
|
|
11
11
|
container: "container",
|
|
12
12
|
label: "label",
|
|
@@ -42,7 +42,7 @@ class v extends f {
|
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return m`<div
|
|
45
|
+
return m`<div class=${a(e.container)}><calcite-label class=${a(e.label)}>${this._messages.labelCharacterLmt}<calcite-input type=number class=${a(e.numberInput)} min=1 max=100 step=1 .value=${u(this.categoryFormat?.characterLimit, 11)} @calciteInputInput=${this.onCharacterLimitChange} ${g(this.characterLimitInputElement)}></calcite-input></calcite-label></div>`;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
o("arcgis-charts-config-category-format", v);
|
|
@@ -29,8 +29,8 @@ 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.
|
|
33
|
-
const
|
|
32
|
+
v5.0.0-next.29 */
|
|
33
|
+
const e = {
|
|
34
34
|
jsAppFlyout: "js-app-flyout",
|
|
35
35
|
chartRenameComponent: "chart-rename-component",
|
|
36
36
|
renameLabelContainer: "rename-label-container",
|
|
@@ -49,20 +49,14 @@ class v extends u {
|
|
|
49
49
|
async reposition() {
|
|
50
50
|
await this.popoverElement.value?.reposition();
|
|
51
51
|
}
|
|
52
|
-
|
|
53
|
-
this.changedName = this.name;
|
|
54
|
-
}
|
|
55
|
-
willUpdate(e) {
|
|
56
|
-
e.has("name") && (this.hasUpdated || this.name !== "") && this.changeName(this.name);
|
|
52
|
+
willUpdate(t) {
|
|
53
|
+
t.has("name") && (this.changedName = this.name);
|
|
57
54
|
}
|
|
58
55
|
updated() {
|
|
59
56
|
this.popoverElement.value?.reposition(), m(this.popoverElement.value, this.open);
|
|
60
57
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
onNameChange(e) {
|
|
65
|
-
const i = e.target.value;
|
|
58
|
+
onNameChange(t) {
|
|
59
|
+
const i = t.target.value;
|
|
66
60
|
this.changedName = i, this.isChartTitleInvalid = c(i.trim()), this.characterLimitInputElement.value && p({
|
|
67
61
|
inputElement: this.characterLimitInputElement.value,
|
|
68
62
|
status: this.isChartTitleInvalid ? n.INVALID : n.IDLE
|
|
@@ -79,9 +73,9 @@ class v extends u {
|
|
|
79
73
|
}
|
|
80
74
|
render() {
|
|
81
75
|
return g`<div class=${a({
|
|
82
|
-
[
|
|
83
|
-
[
|
|
84
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label .autoClose=${this.open} ${s(this.popoverElement)}><calcite-panel class=${a(
|
|
76
|
+
[e.chartRenameComponent]: !0,
|
|
77
|
+
[e.jsAppFlyout]: !0
|
|
78
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label .autoClose=${this.open} ${s(this.popoverElement)}><calcite-panel class=${a(e.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${a(e.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${s(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>`;
|
|
85
79
|
}
|
|
86
80
|
}
|
|
87
81
|
l("arcgis-charts-config-chart-rename-popover", v);
|