@arcgis/charts-components 5.0.0-next.86 → 5.0.0-next.88
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/{OJGFFLB4.js → 24LQI5UP.js} +2 -2
- package/dist/cdn/{LMECZ3LI.js → 25TUVVEH.js} +2 -2
- package/dist/cdn/{4WGS7E6I.js → 27PWUJ7Z.js} +2 -2
- package/dist/cdn/{BRMI6PR5.js → 2MTWQZKF.js} +2 -2
- package/dist/cdn/{4FWY3NZB.js → 2VJR2SE3.js} +2 -2
- package/dist/cdn/{JZZEK3YN.js → 2Y24AIQ6.js} +2 -2
- package/dist/cdn/{TXFAFD3X.js → 3B44U2WA.js} +2 -2
- package/dist/cdn/{GVQESSLD.js → 3OKWJ63T.js} +2 -2
- package/dist/cdn/{5KAGXMNI.js → 3XIBYWF4.js} +2 -2
- package/dist/cdn/{VTH6BI5N.js → 4HDOCBOX.js} +2 -2
- package/dist/cdn/{OYNUAZZV.js → 4IHA6NI3.js} +2 -2
- package/dist/cdn/{62HBMLPA.js → 4MAIH2TE.js} +2 -2
- package/dist/cdn/{LUMJX4SY.js → 4OP45FBW.js} +2 -2
- package/dist/cdn/{ZHISIJTC.js → 4Q6ITS2D.js} +2 -2
- package/dist/cdn/{LUKLLDM5.js → 4TGRSEE4.js} +2 -2
- package/dist/cdn/{K2LKIJ2Z.js → 4TYAOWIH.js} +2 -2
- package/dist/cdn/{X3KNTNFU.js → 4UIMX5TK.js} +2 -2
- package/dist/cdn/{VN7OFNYY.js → 4ZCX666S.js} +2 -2
- package/dist/cdn/{QDIIPKQD.js → 56UPJR37.js} +2 -2
- package/dist/cdn/{NFRJZFAO.js → 5BARNFCX.js} +1 -1
- package/dist/cdn/{M4BU4DM6.js → 5DKPOEXI.js} +2 -2
- package/dist/cdn/{Q6NDOCVY.js → 6HHVSZQR.js} +2 -2
- package/dist/cdn/{S3JVGPGO.js → 6JOEJQB4.js} +2 -2
- package/dist/cdn/{RP74QQMX.js → 6KS3Q2BH.js} +2 -2
- package/dist/cdn/{6YEGT6R6.js → 6XWVL25L.js} +2 -2
- package/dist/cdn/{KER3XGQA.js → 6Y55HJ56.js} +2 -2
- package/dist/cdn/{CAG37YOB.js → 7GIS5RQ5.js} +2 -2
- package/dist/cdn/{KFZLZGCL.js → 7KFTASHK.js} +2 -2
- package/dist/cdn/{WWOLZJYM.js → 7SYD6245.js} +2 -2
- package/dist/cdn/{XT2YONDD.js → A34XPMDO.js} +1 -1
- package/dist/cdn/{7PJZHTJQ.js → A3SUAB2V.js} +2 -2
- package/dist/cdn/{TQQKSSTW.js → ABXUTZ3W.js} +2 -2
- package/dist/cdn/{JWF4VKC7.js → AECM2WLR.js} +2 -2
- package/dist/cdn/{LGW62YR6.js → AEQF64SA.js} +2 -2
- package/dist/cdn/{K5N2GIGU.js → AEYLEE63.js} +2 -2
- package/dist/cdn/{4FVYN2Z4.js → AL2THLIB.js} +2 -2
- package/dist/cdn/{N4VT6BRO.js → AN5TWGVU.js} +2 -2
- package/dist/cdn/{I6MGSOS7.js → ARMH4FNK.js} +2 -2
- package/dist/cdn/{Y7MD47US.js → AUZKXMVV.js} +2 -2
- package/dist/cdn/{FCHVTDQE.js → AX2RXMVL.js} +2 -2
- package/dist/cdn/{QLIQ7YMR.js → B2IFPHZM.js} +2 -2
- package/dist/cdn/{4SQQMPTA.js → BFFBN2YD.js} +2 -2
- package/dist/cdn/{FTWYKJXJ.js → BGKQHTAM.js} +2 -2
- package/dist/cdn/{QYXZDFFF.js → BJI522OU.js} +2 -2
- package/dist/cdn/{IZYW6YIY.js → BJQ4BHK6.js} +2 -2
- package/dist/cdn/{FVCQB6Y2.js → BPL23JJN.js} +2 -2
- package/dist/cdn/{GYJD2WAY.js → BSG5BH6P.js} +2 -2
- package/dist/cdn/{26QHJVQM.js → BXFGHL6N.js} +2 -2
- package/dist/cdn/{M6P7AOIW.js → BYZIU5DC.js} +2 -2
- package/dist/cdn/{LEZZSJJ4.js → BZPTSAKU.js} +2 -2
- package/dist/cdn/{AIMV6JKY.js → C3IC5OYO.js} +1 -1
- package/dist/cdn/{45HXDL5T.js → CIVBAKJK.js} +2 -2
- package/dist/cdn/{JRROOSHF.js → D2IOHTUH.js} +2 -2
- package/dist/cdn/{RL7O4DF7.js → D5AI2N3Z.js} +2 -2
- package/dist/cdn/{P2EK45SA.js → DG73QHIW.js} +4 -4
- package/dist/cdn/{LXZIJMJB.js → DHLC2T5B.js} +2 -2
- package/dist/cdn/{LN2GIMMB.js → DKZHHURX.js} +1 -1
- package/dist/cdn/{YV3OLI4C.js → DOOO7A43.js} +2 -2
- package/dist/cdn/{IKUDG3X5.js → DQ3GCN43.js} +2 -2
- package/dist/cdn/{V4WPE7CI.js → DQJ7DO77.js} +2 -2
- package/dist/cdn/{CHJBPVMW.js → DVOC6T2P.js} +2 -2
- package/dist/cdn/{4P3DIJZA.js → EBDQKGNE.js} +2 -2
- package/dist/cdn/{BWTHEM7O.js → EITVJTC6.js} +2 -2
- package/dist/cdn/{4GDPMLAT.js → F2HVBCNT.js} +2 -2
- package/dist/cdn/{LOWEZEVA.js → FETI6NGE.js} +2 -2
- package/dist/cdn/{DZUE3X2L.js → FIEGKD5P.js} +1 -1
- package/dist/cdn/{GEOZUMWN.js → FLVNYDW2.js} +2 -2
- package/dist/cdn/{SL33WL4W.js → FN54PS2Q.js} +2 -2
- package/dist/cdn/{VNWNPB33.js → FN6XN2XK.js} +2 -2
- package/dist/cdn/{TZVZELHQ.js → FO4EPT35.js} +2 -2
- package/dist/cdn/{2GIYHDZ6.js → FSBLWJ3L.js} +2 -2
- package/dist/cdn/{7S6P6TV2.js → G7YFH23S.js} +2 -2
- package/dist/cdn/{OWKFNV6N.js → GDXHXKPH.js} +2 -2
- package/dist/cdn/{HQEEWTVT.js → GFW6UM7F.js} +2 -2
- package/dist/cdn/{LWKKDEUW.js → GN6FTV3F.js} +2 -2
- package/dist/cdn/{YMCKZKD5.js → GTMUY7UX.js} +2 -2
- package/dist/cdn/{U3G7U32X.js → H2NE7OV7.js} +2 -2
- package/dist/cdn/{M3FHM64D.js → HHQBSFFT.js} +2 -2
- package/dist/cdn/{4VD4H6NC.js → HSYH3E4L.js} +2 -2
- package/dist/cdn/{PWLEQM22.js → I36WJWOP.js} +2 -2
- package/dist/cdn/{UX34A47Z.js → IDBHAVRS.js} +2 -2
- package/dist/cdn/{XBO5SEYU.js → IEYQTK77.js} +2 -2
- package/dist/cdn/{3LLZVOKE.js → IJCNQDG6.js} +2 -2
- package/dist/cdn/{3GEERV2Q.js → IJY2HAWS.js} +1 -1
- package/dist/cdn/{OP2TP5GQ.js → IOBWE2UA.js} +2 -2
- package/dist/cdn/{2V3FSKX4.js → IUUT7WAH.js} +2 -2
- package/dist/cdn/{UTQF7L7Y.js → IZQOQKOT.js} +2 -2
- package/dist/cdn/{GNZLG7SK.js → JFZ6TSUR.js} +2 -2
- package/dist/cdn/{BJRDO6JE.js → JPGKQEOR.js} +2 -2
- package/dist/cdn/{DAGZ2A6U.js → JUNFH7ZH.js} +2 -2
- package/dist/cdn/{3DMSBBQW.js → K5BVYY4I.js} +2 -2
- package/dist/cdn/{FKIRIJ2M.js → KGU4ZRGY.js} +2 -2
- package/dist/cdn/{NDSO4YIA.js → KM4BEQAD.js} +22 -22
- package/dist/cdn/{RFK55FVM.js → KX7QAXYI.js} +2 -2
- package/dist/cdn/{V5ORUE5G.js → KXT5IP5E.js} +2 -2
- package/dist/cdn/{ENCQ2N4M.js → KXWLRVZJ.js} +2 -2
- package/dist/cdn/{QUCPTEQX.js → L7RTT2MH.js} +2 -2
- package/dist/cdn/{LTDLLA6D.js → LBDBHG3R.js} +2 -2
- package/dist/cdn/{W62VYZGK.js → LCDLKGZF.js} +2 -2
- package/dist/cdn/{6UEPSMOG.js → LCXEH6GR.js} +2 -2
- package/dist/cdn/{4S3QUYNY.js → LHKTTUYH.js} +2 -2
- package/dist/cdn/{3J63VTU4.js → LLE5BB3B.js} +2 -2
- package/dist/cdn/{7T5NAOIV.js → LV5OTVOG.js} +2 -2
- package/dist/cdn/{JIE4WKAU.js → LXJRH2BR.js} +2 -2
- package/dist/cdn/{6BFOYDFM.js → MGOVGVST.js} +2 -2
- package/dist/cdn/{XEQLSMIX.js → MJM47IOB.js} +1 -1
- package/dist/cdn/{A5RGEX3F.js → MLNKYV7P.js} +2 -2
- package/dist/cdn/{Z3OEKH65.js → MXYSDDYD.js} +4 -4
- package/dist/cdn/{GF56ISK3.js → N2HD2Q34.js} +2 -2
- package/dist/cdn/{SFH2E4YV.js → NAWKN36D.js} +2 -2
- package/dist/cdn/{MJLF4YTW.js → NE5MSVQF.js} +2 -2
- package/dist/cdn/{OGSY72PI.js → NK622FN5.js} +2 -2
- package/dist/cdn/{JAF3QH4W.js → NOOUVQ2F.js} +2 -2
- package/dist/cdn/{HWR4LEEC.js → NXWWNC2N.js} +2 -2
- package/dist/cdn/{V6UKGPV6.js → OCQMQBAY.js} +2 -2
- package/dist/cdn/{HURE2M7V.js → OI4QXQVJ.js} +2 -2
- package/dist/cdn/{ZHEXSIFK.js → OMWRXJC5.js} +2 -2
- package/dist/cdn/{JV6JRMVV.js → OX4IWXH7.js} +1 -1
- package/dist/cdn/{UQ6FYTMO.js → P4QB2GBX.js} +2 -2
- package/dist/cdn/{AT52UBWO.js → P5QAQROY.js} +2 -2
- package/dist/cdn/{EHW2XGXO.js → P5R5FFWC.js} +2 -2
- package/dist/cdn/{77FV4QZT.js → PSLI55X5.js} +2 -2
- package/dist/cdn/{XBUZKQYV.js → PYBZA26A.js} +2 -2
- package/dist/cdn/{YKWLIT26.js → QCBURWYY.js} +2 -2
- package/dist/cdn/{QDD4WBHQ.js → QDAGDMJX.js} +2 -2
- package/dist/cdn/{D5TRTRTE.js → QVU5YQUD.js} +2 -2
- package/dist/cdn/{VV2ISCCN.js → QWARBK4C.js} +2 -2
- package/dist/cdn/{CRJSO3EJ.js → RPHZKVMH.js} +2 -2
- package/dist/cdn/{H2T5RAXV.js → RPMS6MHQ.js} +2 -2
- package/dist/cdn/{YNELXYK2.js → RXFJ4R7W.js} +2 -2
- package/dist/cdn/{CFOAMIXM.js → S3PR24B5.js} +2 -2
- package/dist/cdn/{KAUVXLCK.js → S6KBY37S.js} +2 -2
- package/dist/cdn/{SCQIYGI5.js → S6VMRK4M.js} +2 -2
- package/dist/cdn/{N7TBFPZN.js → S77SLVGT.js} +2 -2
- package/dist/cdn/{OZAUNNOG.js → SAOFV7VO.js} +2 -2
- package/dist/cdn/{5JOYBOGL.js → SDULNNH5.js} +2 -2
- package/dist/cdn/{5MFAIZ4X.js → SG2P7567.js} +2 -2
- package/dist/cdn/{FA6NBU3X.js → SLHQLFVD.js} +2 -2
- package/dist/cdn/{LQQ2BSVO.js → SXHH2LGQ.js} +2 -2
- package/dist/cdn/{6AXZFUBL.js → T2OXE7RV.js} +2 -2
- package/dist/cdn/{2AF26Z7S.js → T3MA77ZN.js} +2 -2
- package/dist/cdn/{ODDDUVMW.js → T5GRQXMY.js} +2 -2
- package/dist/cdn/{534ZSJZM.js → TG3JGIEZ.js} +2 -2
- package/dist/cdn/{W3IZSGUD.js → TLHNPV4A.js} +2 -2
- package/dist/cdn/{4FJPK6H6.js → TW5XJ4QB.js} +2 -2
- package/dist/cdn/{R266GLKB.js → TXRLVZNU.js} +2 -2
- package/dist/cdn/{WFFZUCNJ.js → UDJLI6LQ.js} +2 -2
- package/dist/cdn/{6OKLOZOL.js → UMQOQOFF.js} +2 -2
- package/dist/cdn/{BDTSHA4P.js → UVRJUROP.js} +2 -2
- package/dist/cdn/{RSS4XBH5.js → UXO6HWHB.js} +2 -2
- package/dist/cdn/{RGJ5KL2V.js → UYJMZAII.js} +2 -2
- package/dist/cdn/{7LYL3V7C.js → UYM6DSVC.js} +2 -2
- package/dist/cdn/{ADHD2R6N.js → UZH4XS5B.js} +2 -2
- package/dist/cdn/{KTPUICPC.js → VHIB4OFA.js} +2 -2
- package/dist/cdn/{XGG5EUH4.js → VT7W2IMD.js} +2 -2
- package/dist/cdn/{KE47N3KC.js → VUDYBNY4.js} +2 -2
- package/dist/cdn/{72NXTJP5.js → VV5GJ2UP.js} +1 -1
- package/dist/cdn/{S5EKQ27N.js → VYPQTI6J.js} +2 -2
- package/dist/cdn/{WPTSAKIT.js → WNZ2K43W.js} +2 -2
- package/dist/cdn/{MRJ5KM53.js → WY42R542.js} +2 -2
- package/dist/cdn/{BAGX6IBF.js → WYPFSCYZ.js} +2 -2
- package/dist/cdn/{ACFNEW44.js → XB3IOEMB.js} +2 -2
- package/dist/cdn/{PAEYEG7S.js → XBZMENZK.js} +2 -2
- package/dist/cdn/{4YPWVM62.js → XDXOR4KR.js} +2 -2
- package/dist/cdn/{FDCGL633.js → XF752TNC.js} +2 -2
- package/dist/cdn/{RYO3MIFF.js → XUT7VJEX.js} +2 -2
- package/dist/cdn/{MHQERPNY.js → XVYZMYZZ.js} +2 -2
- package/dist/cdn/{XTMAQI3K.js → Y23HC6PC.js} +2 -2
- package/dist/cdn/{VQ3KNZ5B.js → Y3AACSQE.js} +2 -2
- package/dist/cdn/{SA6F6LIB.js → YAFDPLYA.js} +2 -2
- package/dist/cdn/{BMENEHBH.js → YDBULTV7.js} +2 -2
- package/dist/cdn/{B6ARSVS6.js → YVYMN5NO.js} +2 -2
- package/dist/cdn/{IDCOYOD2.js → ZDFLO2TG.js} +2 -2
- package/dist/cdn/{MAIERUCE.js → ZIJHE6ME.js} +2 -2
- package/dist/cdn/{PSYKTMMH.js → ZJRYIBDH.js} +2 -2
- package/dist/cdn/{3HTPIDU2.js → ZKZHAWCT.js} +2 -2
- package/dist/cdn/{IDUT4PW3.js → ZMOT7R6Z.js} +2 -2
- package/dist/cdn/{FH7KKD7M.js → ZORGR37L.js} +2 -2
- package/dist/cdn/{VHJMUC5U.js → ZROCR6FB.js} +2 -2
- package/dist/cdn/{QTKO3PJU.js → ZWX7Q666.js} +2 -2
- package/dist/cdn/index.js +2 -2
- 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 +1975 -1964
- 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 +3391 -3349
- 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 +3 -3
|
@@ -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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
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.88 */
|
|
34
34
|
const C = {
|
|
35
35
|
jsAppFlyout: "js-app-flyout"
|
|
36
36
|
}, d = l``;
|