@luzmo/analytics-components-kit 1.0.0
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/LICENSE +18 -0
- package/README.md +32 -0
- package/components/area-chart-options.config-2Xre_7S4.cjs +20 -0
- package/components/area-chart-options.config-BLtZsUap.cjs +20 -0
- package/components/area-chart-options.config-BUfVeQm9.js +21 -0
- package/components/area-chart-options.config-FZM5H6Hj.js +143 -0
- package/components/area-chart-options.de-CHctbqhM.js +62 -0
- package/components/area-chart-options.de-DRx3zuhV.cjs +20 -0
- package/components/area-chart-options.en-Blbl6pB8.js +62 -0
- package/components/area-chart-options.en-CLN91urM.cjs +20 -0
- package/components/area-chart-options.es-DGjv-DZU.js +62 -0
- package/components/area-chart-options.es-FIavqZty.cjs +20 -0
- package/components/area-chart-options.fr-CUJjq3nU.cjs +20 -0
- package/components/area-chart-options.fr-Dsu3WQns.js +62 -0
- package/components/area-chart-options.nl-Bo3hskjO.cjs +20 -0
- package/components/area-chart-options.nl-vOS7vM6I.js +62 -0
- package/components/area-chart-positioning.config-D1p8YG7h.js +53 -0
- package/components/area-chart-positioning.config-v40g_TZU.cjs +20 -0
- package/components/area-chart-slots.config-BZidBVmL.cjs +20 -0
- package/components/area-chart-slots.config-CCazoEas.js +52 -0
- package/components/area-chart-slots.config-CJ-wQFT8.js +21 -0
- package/components/area-chart-slots.config-DEPpwQDS.cjs +20 -0
- package/components/bar-chart-options.config-B3i4P7BT.cjs +20 -0
- package/components/bar-chart-options.config-B_K8T154.cjs +20 -0
- package/components/bar-chart-options.config-C8MGYuQa.js +217 -0
- package/components/bar-chart-options.config-CnRlJUoN.js +21 -0
- package/components/bar-chart-options.de-CLpGL0AF.cjs +20 -0
- package/components/bar-chart-options.de-PTVH8kRF.js +88 -0
- package/components/bar-chart-options.en-BBHY9EgT.js +88 -0
- package/components/bar-chart-options.en-CRkPXsui.cjs +20 -0
- package/components/bar-chart-options.es--7E--_Z1.cjs +20 -0
- package/components/bar-chart-options.es-CoH9cMkz.js +88 -0
- package/components/bar-chart-options.fr-BH4heBW0.js +88 -0
- package/components/bar-chart-options.fr-CH_iPjqO.cjs +20 -0
- package/components/bar-chart-options.nl-BQFzw7iJ.cjs +20 -0
- package/components/bar-chart-options.nl-CBpKuFLF.js +88 -0
- package/components/bar-chart-positioning.config-BuaEyUCf.js +57 -0
- package/components/bar-chart-positioning.config-CfpP2Jly.cjs +20 -0
- package/components/bar-chart-slots.config-CAT85vmr.cjs +20 -0
- package/components/bar-chart-slots.config-CZJtcsDr.js +47 -0
- package/components/bar-chart-slots.config-Cddq2roI.js +21 -0
- package/components/bar-chart-slots.config-CqqbUrAv.cjs +20 -0
- package/components/base-BPca9j_g.js +206 -0
- package/components/base-Cz3eNBHA.cjs +20 -0
- package/components/base-store-DfoDqkmt.cjs +20 -0
- package/components/base-store-G57POLoi.js +157 -0
- package/components/bliss-Bcf_D84c.js +73 -0
- package/components/bliss-DjmDIk2v.cjs +20 -0
- package/components/box-plot-options.config-3HCFD4uS.cjs +20 -0
- package/components/box-plot-options.config-B7su6aqo.js +293 -0
- package/components/box-plot-options.config-PZ7HbGqJ.js +21 -0
- package/components/box-plot-options.config-e_GUeoiA.cjs +20 -0
- package/components/box-plot-options.de-CpgtVHLE.js +77 -0
- package/components/box-plot-options.de-o2rA8-XF.cjs +20 -0
- package/components/box-plot-options.en-CHDMkykd.js +77 -0
- package/components/box-plot-options.en-_X8Lu0AP.cjs +20 -0
- package/components/box-plot-options.es-CFZgEyw4.js +77 -0
- package/components/box-plot-options.es-DHGTPtrS.cjs +20 -0
- package/components/box-plot-options.fr-D64oSXkC.js +77 -0
- package/components/box-plot-options.fr-YmNybM8U.cjs +20 -0
- package/components/box-plot-options.nl-Drt4Qv-X.js +77 -0
- package/components/box-plot-options.nl-Dtwqoeof.cjs +20 -0
- package/components/box-plot-positioning.config-B4YkMWA_.cjs +20 -0
- package/components/box-plot-positioning.config-CG4jF952.js +46 -0
- package/components/box-plot-slots.config-4_oa-0QK.cjs +20 -0
- package/components/box-plot-slots.config-az8B6JnW.cjs +20 -0
- package/components/box-plot-slots.config-feapEfJM.js +21 -0
- package/components/box-plot-slots.config-nUfJ_LGk.js +37 -0
- package/components/bubble-chart-options.config-BnWVJO1o.js +112 -0
- package/components/bubble-chart-options.config-BqgiGB35.cjs +20 -0
- package/components/bubble-chart-options.config-DM0nxiqk.js +21 -0
- package/components/bubble-chart-options.config-Dmanm7Vs.cjs +20 -0
- package/components/bubble-chart-options.de-DDyYJR8o.cjs +20 -0
- package/components/bubble-chart-options.de-fUrBVh60.js +47 -0
- package/components/bubble-chart-options.en-AXgmg3ED.js +47 -0
- package/components/bubble-chart-options.en-BfnG6Bvn.cjs +20 -0
- package/components/bubble-chart-options.es-B47zlDs0.cjs +20 -0
- package/components/bubble-chart-options.es-CUc4OH_o.js +47 -0
- package/components/bubble-chart-options.fr-7xi8eq4u.cjs +20 -0
- package/components/bubble-chart-options.fr-BXBcDylU.js +47 -0
- package/components/bubble-chart-options.nl-Buu3R968.cjs +20 -0
- package/components/bubble-chart-options.nl-DfKk6nCd.js +47 -0
- package/components/bubble-chart-positioning.config-BRd8V2UC.js +53 -0
- package/components/bubble-chart-positioning.config-DOT0BeVS.cjs +20 -0
- package/components/bubble-chart-slots.config-CVSAlbhH.js +44 -0
- package/components/bubble-chart-slots.config-DMSLwenQ.cjs +20 -0
- package/components/bubble-chart-slots.config-DvZmiIa7.js +21 -0
- package/components/bubble-chart-slots.config-DzK5DeUG.cjs +20 -0
- package/components/bullet-chart-options.config-B1Vn4_ik.cjs +20 -0
- package/components/bullet-chart-options.config-Cl1BWo72.cjs +20 -0
- package/components/bullet-chart-options.config-CswmHjyU.js +72 -0
- package/components/bullet-chart-options.config-DImqnvQS.js +21 -0
- package/components/bullet-chart-options.de-BEQIQK_H.cjs +20 -0
- package/components/bullet-chart-options.de-ByDALwzE.js +37 -0
- package/components/bullet-chart-options.en-BH1OF8eX.js +37 -0
- package/components/bullet-chart-options.en-CnpSDW1B.cjs +20 -0
- package/components/bullet-chart-options.es-BQ3fpvdz.js +37 -0
- package/components/bullet-chart-options.es-D7KazVtp.cjs +20 -0
- package/components/bullet-chart-options.fr-BmP2aPMc.cjs +20 -0
- package/components/bullet-chart-options.fr-ClyT15b6.js +37 -0
- package/components/bullet-chart-options.nl-CKNQ0qMD.cjs +20 -0
- package/components/bullet-chart-options.nl-CPMmw_1r.js +37 -0
- package/components/bullet-chart-positioning.config-Cbo6S4j2.js +54 -0
- package/components/bullet-chart-positioning.config-DBUWWjuJ.cjs +20 -0
- package/components/bullet-chart-slots.config-24mge1Rb.js +43 -0
- package/components/bullet-chart-slots.config-Baob5_Ao.js +21 -0
- package/components/bullet-chart-slots.config-C8sSNEYS.cjs +20 -0
- package/components/bullet-chart-slots.config-DGfIHLLn.cjs +20 -0
- package/components/calculate-data-field-icon-BVPX5zbW.js +147 -0
- package/components/calculate-data-field-icon-DWi5UcG6.cjs +20 -0
- package/components/choropleth-map-options.config-B5a-jS-E.js +345 -0
- package/components/choropleth-map-options.config-Bz507wla.cjs +20 -0
- package/components/choropleth-map-options.config-fdlX4q0l.cjs +20 -0
- package/components/choropleth-map-options.config-jdSW3eG-.js +21 -0
- package/components/choropleth-map-options.de-CA4xU53T.cjs +20 -0
- package/components/choropleth-map-options.de-CZ2lQb0C.js +70 -0
- package/components/choropleth-map-options.en-DQUVi4IK.js +70 -0
- package/components/choropleth-map-options.en-DYx0Oz8k.cjs +20 -0
- package/components/choropleth-map-options.es-BUFGWBo9.js +70 -0
- package/components/choropleth-map-options.es-eDJxevkG.cjs +20 -0
- package/components/choropleth-map-options.fr-DENwigUC.js +70 -0
- package/components/choropleth-map-options.fr-VqUbSO4N.cjs +20 -0
- package/components/choropleth-map-options.nl-BgcRZWTI.js +70 -0
- package/components/choropleth-map-options.nl-U0FfrSMw.cjs +20 -0
- package/components/choropleth-map-positioning.config-DNkXRpP7.js +53 -0
- package/components/choropleth-map-positioning.config-gfQOcUSW.cjs +20 -0
- package/components/choropleth-map-slots.config-8K2qaDdD.cjs +20 -0
- package/components/choropleth-map-slots.config-Buhl7raw.js +21 -0
- package/components/choropleth-map-slots.config-DHvyjVgN.js +50 -0
- package/components/choropleth-map-slots.config-Kcjftv-i.cjs +20 -0
- package/components/chunk-350yNsax.cjs +20 -0
- package/components/circle-pack-chart-options.config-BFm7S4DW.cjs +20 -0
- package/components/circle-pack-chart-options.config-CLAlgXZi.cjs +20 -0
- package/components/circle-pack-chart-options.config-DHBVuVPt.js +21 -0
- package/components/circle-pack-chart-options.config-De0xZBcK.js +51 -0
- package/components/circle-pack-chart-options.de-BmP0oosh.cjs +20 -0
- package/components/circle-pack-chart-options.de-KEEdX5Pg.js +29 -0
- package/components/circle-pack-chart-options.en-C0dYkBaO.cjs +20 -0
- package/components/circle-pack-chart-options.en-CZ89zM0Z.js +29 -0
- package/components/circle-pack-chart-options.es-BNDPpNwN.cjs +20 -0
- package/components/circle-pack-chart-options.es-Kf4qOXNQ.js +29 -0
- package/components/circle-pack-chart-options.fr-BPNLf19S.js +29 -0
- package/components/circle-pack-chart-options.fr-CZfEOG48.cjs +20 -0
- package/components/circle-pack-chart-options.nl-C6cEER50.cjs +20 -0
- package/components/circle-pack-chart-options.nl-Dccu7LaR.js +29 -0
- package/components/circle-pack-chart-positioning.config-DIYIEECs.js +46 -0
- package/components/circle-pack-chart-positioning.config-oeL5YMuT.cjs +20 -0
- package/components/circle-pack-chart-slots.config-CNEL_5Yh.js +35 -0
- package/components/circle-pack-chart-slots.config-DHZpoYU7.cjs +20 -0
- package/components/circle-pack-chart-slots.config-Df7d0iQT.cjs +20 -0
- package/components/circle-pack-chart-slots.config-m0cvRmIx.js +21 -0
- package/components/circular-gauge-options.config-BX0QRPJp.cjs +20 -0
- package/components/circular-gauge-options.config-BpfWnvx2.cjs +20 -0
- package/components/circular-gauge-options.config-C9-sILKt.js +21 -0
- package/components/circular-gauge-options.config-RR8jotGL.js +185 -0
- package/components/circular-gauge-options.de-D9JQZdkh.cjs +20 -0
- package/components/circular-gauge-options.de-FQwDbIT6.js +55 -0
- package/components/circular-gauge-options.en-34ioKerD.js +55 -0
- package/components/circular-gauge-options.en-D0Su006B.cjs +20 -0
- package/components/circular-gauge-options.es-Bv9HUqO4.cjs +20 -0
- package/components/circular-gauge-options.es-OqU5naOB.js +55 -0
- package/components/circular-gauge-options.fr-Bd-5wME8.js +55 -0
- package/components/circular-gauge-options.fr-Dax02ETU.cjs +20 -0
- package/components/circular-gauge-options.nl-CZBsTRvn.cjs +20 -0
- package/components/circular-gauge-options.nl-DHK_5jsG.js +55 -0
- package/components/circular-gauge-positioning.config-UmevUGvx.js +46 -0
- package/components/circular-gauge-positioning.config-gT9x4m-r.cjs +20 -0
- package/components/circular-gauge-slots.config-DnlaTedo.cjs +20 -0
- package/components/circular-gauge-slots.config-Dtgebxtp.cjs +20 -0
- package/components/circular-gauge-slots.config-HzRxz38S.js +21 -0
- package/components/circular-gauge-slots.config-iJpsPdNO.js +36 -0
- package/components/classic-BaCPrGah.js +80 -0
- package/components/classic-CdD-6WLe.cjs +20 -0
- package/components/classic-dark-DGe9gKhf.js +71 -0
- package/components/classic-dark-MD0QSO13.cjs +20 -0
- package/components/color-DTIMSCrf.js +3807 -0
- package/components/color-iE6rFRt7.cjs +20 -0
- package/components/color-palettes-BMRJvy9Z.js +1472 -0
- package/components/color-palettes-BY7_7A2Z.cjs +20 -0
- package/components/color-range-utils-CasewTc8.cjs +20 -0
- package/components/color-range-utils-J5U8W-zE.js +61 -0
- package/components/column-chart-options.config-C74H-E-0.cjs +20 -0
- package/components/column-chart-options.config-CMFrLeWr.cjs +20 -0
- package/components/column-chart-options.config-DvwmVGzp.js +216 -0
- package/components/column-chart-options.config-hysQXdjV.js +21 -0
- package/components/column-chart-options.de-CXKYOGBW.js +88 -0
- package/components/column-chart-options.de-DE7igwOv.cjs +20 -0
- package/components/column-chart-options.en-ChEJUFIB.js +88 -0
- package/components/column-chart-options.en-DVp7uBnY.cjs +20 -0
- package/components/column-chart-options.es-B4LuU6vP.js +88 -0
- package/components/column-chart-options.es-B5_Vg34b.cjs +20 -0
- package/components/column-chart-options.fr-BYzL4WMi.js +88 -0
- package/components/column-chart-options.fr-DLqPqc7K.cjs +20 -0
- package/components/column-chart-options.nl-DYWm84vL.js +88 -0
- package/components/column-chart-options.nl-DzRkQOXU.cjs +20 -0
- package/components/column-chart-positioning.config-BBpP7Iof.js +53 -0
- package/components/column-chart-positioning.config-BbTBL1nE.cjs +20 -0
- package/components/column-chart-slots.config-AjviQPwz.js +47 -0
- package/components/column-chart-slots.config-DVaW1Gpe.cjs +20 -0
- package/components/column-chart-slots.config-IoLNblS-.cjs +20 -0
- package/components/column-chart-slots.config-szk_C4pC.js +21 -0
- package/components/combination-chart-options.config--6SrV7Ux.cjs +20 -0
- package/components/combination-chart-options.config-B7LzhI64.cjs +20 -0
- package/components/combination-chart-options.config-Dg6eTo-y.js +21 -0
- package/components/combination-chart-options.config-ZL3caYW9.js +84 -0
- package/components/combination-chart-options.de-BUhUF3OI.js +41 -0
- package/components/combination-chart-options.de-rIj97dYw.cjs +20 -0
- package/components/combination-chart-options.en-BViFYbdE.js +41 -0
- package/components/combination-chart-options.en-DRFSiThJ.cjs +20 -0
- package/components/combination-chart-options.es-Dp3SpL_B.js +41 -0
- package/components/combination-chart-options.es-afMkSb0N.cjs +20 -0
- package/components/combination-chart-options.fr-Ds2Mc0Zb.cjs +20 -0
- package/components/combination-chart-options.fr-rC6K04kF.js +41 -0
- package/components/combination-chart-options.nl-BFyI7Hwh.cjs +20 -0
- package/components/combination-chart-options.nl-ClJKzisU.js +41 -0
- package/components/combination-chart-positioning.config-BtyxXoKn.js +46 -0
- package/components/combination-chart-positioning.config-Cn0Iz7cT.cjs +20 -0
- package/components/combination-chart-slots.config-6xRv-F6P.js +40 -0
- package/components/combination-chart-slots.config-9ZQqBU_a.js +21 -0
- package/components/combination-chart-slots.config-DBsJbJ3Y.cjs +20 -0
- package/components/combination-chart-slots.config-WfT2lHY2.cjs +20 -0
- package/components/conditional-number-options.config-BzhEYbfI.js +21 -0
- package/components/conditional-number-options.config-CkesRgFT.cjs +20 -0
- package/components/conditional-number-options.config-DGR7Pv6Z.js +202 -0
- package/components/conditional-number-options.config-DShSGgvt.cjs +20 -0
- package/components/conditional-number-options.de-CSORwwF2.cjs +20 -0
- package/components/conditional-number-options.de-CYwDDiNP.js +58 -0
- package/components/conditional-number-options.en-B-LJW8HJ.cjs +20 -0
- package/components/conditional-number-options.en-DHP5sD4O.js +58 -0
- package/components/conditional-number-options.es-BEew99L6.js +58 -0
- package/components/conditional-number-options.es-C6VgHn8l.cjs +20 -0
- package/components/conditional-number-options.fr-C0ZVAIoG.cjs +20 -0
- package/components/conditional-number-options.fr-DcSaLAJG.js +58 -0
- package/components/conditional-number-options.nl-CC0DSLqt.cjs +20 -0
- package/components/conditional-number-options.nl-DH_mBBjQ.js +58 -0
- package/components/conditional-number-positioning.config-C-govF1o.js +46 -0
- package/components/conditional-number-positioning.config-DkPLA7dz.cjs +20 -0
- package/components/conditional-number-slots.config-BUedMjRU.cjs +20 -0
- package/components/conditional-number-slots.config-D90Hv6p-.cjs +20 -0
- package/components/conditional-number-slots.config-DZV_PszX.js +36 -0
- package/components/conditional-number-slots.config-NJi-oHEv.js +21 -0
- package/components/convert-datasets-to-data-fields-BmABEFCo.cjs +20 -0
- package/components/convert-datasets-to-data-fields-Bytr233W.js +67 -0
- package/components/cs-Btt2pHrd.js +124 -0
- package/components/cs-CmYoeJjE.cjs +20 -0
- package/components/da-BA-Ujlpn.js +124 -0
- package/components/da-BRL1jSI-.cjs +20 -0
- package/components/dashboard-store-CcAIBHUA.cjs +20 -0
- package/components/dashboard-store-D-TL1i2a.cjs +20 -0
- package/components/dashboard-store-D6zyqw-4.js +22 -0
- package/components/dashboard-store-DzLxEHyH.js +291 -0
- package/components/data-broker-Cq7Cgr4w.js +1609 -0
- package/components/data-broker-mFGFQfak.cjs +20 -0
- package/components/data-field/data-field.d.ts +26 -0
- package/components/data-field/index.cjs +20 -0
- package/components/data-field/index.d.ts +8 -0
- package/components/data-field/index.js +34 -0
- package/components/data-field/types.d.ts +4 -0
- package/components/data-field-B6zieD3R.js +333 -0
- package/components/data-field-CI5W945L.cjs +89 -0
- package/components/data-field-panel/data-field-panel.d.ts +231 -0
- package/components/data-field-panel/index.cjs +20 -0
- package/components/data-field-panel/index.d.ts +9 -0
- package/components/data-field-panel/index.js +37 -0
- package/components/data-field-panel/types.d.ts +27 -0
- package/components/data-field-panel-CQWzxX6M.js +377 -0
- package/components/data-field-panel-V6UNJgKD.cjs +87 -0
- package/components/data-fields-select-8Y2LghI7.cjs +41 -0
- package/components/data-fields-select-D6AWi3zk.js +258 -0
- package/components/date-comparison-filter-options.config-CBJremmD.cjs +20 -0
- package/components/date-comparison-filter-options.config-CNEcE0eQ.js +123 -0
- package/components/date-comparison-filter-options.config-DlsF-8rO.cjs +20 -0
- package/components/date-comparison-filter-options.config-KSgBHcWR.js +21 -0
- package/components/date-comparison-filter-options.de-BD_ixSQP.cjs +20 -0
- package/components/date-comparison-filter-options.de-BUxyTXJp.js +53 -0
- package/components/date-comparison-filter-options.en-BlwpLaf3.js +53 -0
- package/components/date-comparison-filter-options.en-ITns0Bpp.cjs +20 -0
- package/components/date-comparison-filter-options.es-BaLJPt3e.js +53 -0
- package/components/date-comparison-filter-options.es-DUp8B8hc.cjs +20 -0
- package/components/date-comparison-filter-options.fr--Kf_cNES.cjs +20 -0
- package/components/date-comparison-filter-options.fr-BnSGe27o.js +53 -0
- package/components/date-comparison-filter-options.nl-CEaQDsLG.cjs +20 -0
- package/components/date-comparison-filter-options.nl-Cd1cyUHd.js +53 -0
- package/components/date-comparison-filter-positioning.config-C4eln62I.js +36 -0
- package/components/date-comparison-filter-positioning.config-CONB8LzM.cjs +20 -0
- package/components/date-comparison-filter-slots.config-BcbVgiSD.cjs +20 -0
- package/components/date-comparison-filter-slots.config-D-ytZrJ5.js +21 -0
- package/components/date-comparison-filter-slots.config-DThMvd2x.js +30 -0
- package/components/date-comparison-filter-slots.config-Du5M-qe4.cjs +20 -0
- package/components/date-filter-options.config-BMH0ujU4.cjs +20 -0
- package/components/date-filter-options.config-CnWUeKC7.cjs +20 -0
- package/components/date-filter-options.config-D5EZNISc.js +21 -0
- package/components/date-filter-options.config-LNGMbFQz.js +115 -0
- package/components/date-filter-options.de-B35KhJic.js +49 -0
- package/components/date-filter-options.de-CdbVkHll.cjs +20 -0
- package/components/date-filter-options.en-B0bYKrPe.js +49 -0
- package/components/date-filter-options.en-mNpEGKuG.cjs +20 -0
- package/components/date-filter-options.es-B6m-cHl3.cjs +20 -0
- package/components/date-filter-options.es-DKLmJbq6.js +49 -0
- package/components/date-filter-options.fr-CDyEYQca.cjs +20 -0
- package/components/date-filter-options.fr-CzGJXkTU.js +49 -0
- package/components/date-filter-options.nl-CuCg93jo.cjs +20 -0
- package/components/date-filter-options.nl-e5UqlJel.js +49 -0
- package/components/date-filter-positioning.config-9iCjt9TW.js +36 -0
- package/components/date-filter-positioning.config-BSVIkyIp.cjs +20 -0
- package/components/date-filter-slots.config-C0gDkqZc.js +21 -0
- package/components/date-filter-slots.config-C1JbSBtN.cjs +20 -0
- package/components/date-filter-slots.config-CnPeGkjy.cjs +20 -0
- package/components/date-filter-slots.config-Ot7EJIso.js +34 -0
- package/components/de-BtD9ipf5.cjs +20 -0
- package/components/de-CoDuYH3p.js +136 -0
- package/components/de-D-7KU50N.cjs +20 -0
- package/components/de-m6ldPDu_.js +256 -0
- package/components/decompose-numeric-format-CZ-QQE7Z.js +34 -0
- package/components/decompose-numeric-format-ogpO53gK.cjs +20 -0
- package/components/default-BWFQiBEC.cjs +20 -0
- package/components/default-DPop9FEN.js +76 -0
- package/components/default-dark-D5e3ay6C.cjs +20 -0
- package/components/default-dark-DhkFUr6o.js +76 -0
- package/components/default-local-formats-C2swjTSo.cjs +20 -0
- package/components/default-local-formats-CB24DjrF.js +136 -0
- package/components/display-settings-binning-BPqozO0p.js +24 -0
- package/components/display-settings-binning-CYYnXQ7-.js +105 -0
- package/components/display-settings-binning-Cm7yEiz9.cjs +56 -0
- package/components/display-settings-binning-DDQulGJ6.cjs +20 -0
- package/components/display-settings-datetime-C77gzOBI.js +405 -0
- package/components/display-settings-datetime-DWXTW91l.js +26 -0
- package/components/display-settings-datetime-DthSl9jQ.cjs +217 -0
- package/components/display-settings-datetime-KbD0Lia6.cjs +20 -0
- package/components/display-settings-grand-totals-BJ1M10W5.js +84 -0
- package/components/display-settings-grand-totals-BXm_f1m8.js +24 -0
- package/components/display-settings-grand-totals-CJnG11dU.cjs +20 -0
- package/components/display-settings-grand-totals-CmDZau2m.cjs +44 -0
- package/components/display-settings-numeric-6Z2Y55OM.cjs +190 -0
- package/components/display-settings-numeric-CXtxE0oS.cjs +20 -0
- package/components/display-settings-numeric-D4iZVzNN.js +476 -0
- package/components/display-settings-numeric-xwW2Ftez.js +25 -0
- package/components/display-settings-period-over-period-Bz-xvQ50.cjs +20 -0
- package/components/display-settings-period-over-period-CX_SKe2C.cjs +229 -0
- package/components/display-settings-period-over-period-DxDS8UJ_.js +431 -0
- package/components/display-settings-period-over-period-vKm9GlS-.js +24 -0
- package/components/donut-chart-options.config-BFf8bH0F.js +204 -0
- package/components/donut-chart-options.config-BtXNseXO.cjs +20 -0
- package/components/donut-chart-options.config-CmbUzltP.cjs +20 -0
- package/components/donut-chart-options.config-DUnknnhE.js +21 -0
- package/components/donut-chart-options.de-CZTu6evW.cjs +20 -0
- package/components/donut-chart-options.de-YkGYUDRK.js +83 -0
- package/components/donut-chart-options.en-CC_a6MXS.cjs +20 -0
- package/components/donut-chart-options.en-Cq8d_nB6.js +83 -0
- package/components/donut-chart-options.es-7ToAw2Zj.cjs +20 -0
- package/components/donut-chart-options.es-C-TIdl-r.js +83 -0
- package/components/donut-chart-options.fr-BOry89Sp.cjs +20 -0
- package/components/donut-chart-options.fr-DUpBZlxU.js +83 -0
- package/components/donut-chart-options.nl-CVQIueaA.js +83 -0
- package/components/donut-chart-options.nl-Dj3ThXRR.cjs +20 -0
- package/components/donut-chart-positioning.config-ClBh5y1N.cjs +20 -0
- package/components/donut-chart-positioning.config-D7AnY1Hd.js +46 -0
- package/components/donut-chart-slots.config-CDN50MkB.cjs +20 -0
- package/components/donut-chart-slots.config-CXCc5uLR.js +21 -0
- package/components/donut-chart-slots.config-DzwT1FxH.cjs +20 -0
- package/components/donut-chart-slots.config-ZlmtYzC0.js +36 -0
- package/components/dropdown-filter-options.config-CC7LOZN3.js +21 -0
- package/components/dropdown-filter-options.config-CjkkA7J5.js +150 -0
- package/components/dropdown-filter-options.config-CwQmphBt.cjs +20 -0
- package/components/dropdown-filter-options.config-ht2OLRhs.cjs +20 -0
- package/components/dropdown-filter-options.de-BUvQrm7t.js +52 -0
- package/components/dropdown-filter-options.de-Bo9VXoaD.cjs +20 -0
- package/components/dropdown-filter-options.en-CAN0_Tje.cjs +20 -0
- package/components/dropdown-filter-options.en-CcoyN_Lx.js +52 -0
- package/components/dropdown-filter-options.es-CkDliS39.cjs +20 -0
- package/components/dropdown-filter-options.es-FPiODEPI.js +52 -0
- package/components/dropdown-filter-options.fr--JtzkqwX.js +52 -0
- package/components/dropdown-filter-options.fr-VPy0H9Ee.cjs +20 -0
- package/components/dropdown-filter-options.nl--A1jOwSA.js +52 -0
- package/components/dropdown-filter-options.nl-m8xMbD7a.cjs +20 -0
- package/components/dropdown-filter-positioning.config-BxLUUs_A.cjs +20 -0
- package/components/dropdown-filter-positioning.config-xb-xYGw0.js +36 -0
- package/components/dropdown-filter-slots.config-BraZno4T.js +35 -0
- package/components/dropdown-filter-slots.config-Bw4L0YFn.cjs +20 -0
- package/components/dropdown-filter-slots.config-CPKz4-X_.js +21 -0
- package/components/dropdown-filter-slots.config-tmLudYnp.cjs +20 -0
- package/components/dynamic-imageobject-slots.config-Bx8D6SZj.cjs +20 -0
- package/components/dynamic-imageobject-slots.config-Dy9pUkTd.js +28 -0
- package/components/en-BBN9uTkd.js +21 -0
- package/components/en-GB-DTxkonEp.js +26 -0
- package/components/en-GB-DjoYvjrl.cjs +20 -0
- package/components/en-US-Bj5mH9Iu.cjs +20 -0
- package/components/en-US-Pln3ByIB.js +21 -0
- package/components/en-_ptzcF9N.cjs +20 -0
- package/components/es-B-d9rJ1C.cjs +20 -0
- package/components/es-B1K0yyCm.cjs +20 -0
- package/components/es-CQWwxiVv.js +256 -0
- package/components/es-CjvFizHv.js +329 -0
- package/components/evolution-number-options.config-C0FriYZc.cjs +20 -0
- package/components/evolution-number-options.config-Cm8YvxvW.js +21 -0
- package/components/evolution-number-options.config-D7JqzepN.js +225 -0
- package/components/evolution-number-options.config-DtYhCNPR.cjs +20 -0
- package/components/evolution-number-options.de-DJHyWQ12.cjs +20 -0
- package/components/evolution-number-options.de-DRlGKNXv.js +74 -0
- package/components/evolution-number-options.en-DFayH3VG.js +74 -0
- package/components/evolution-number-options.en-DHdzlaer.cjs +20 -0
- package/components/evolution-number-options.es-D6sYyQox.cjs +20 -0
- package/components/evolution-number-options.es-DHX-g6Px.js +74 -0
- package/components/evolution-number-options.fr-BYLhoUoI.js +74 -0
- package/components/evolution-number-options.fr-B_VCVPuR.cjs +20 -0
- package/components/evolution-number-options.nl-Bzf4u2Qh.js +74 -0
- package/components/evolution-number-options.nl-C9IXttIx.cjs +20 -0
- package/components/evolution-number-positioning.config-CSvd_hib.js +46 -0
- package/components/evolution-number-positioning.config-DiuSi7Gu.cjs +20 -0
- package/components/evolution-number-slots.config-BG0weE0b.js +21 -0
- package/components/evolution-number-slots.config-C7pbA1gu.js +34 -0
- package/components/evolution-number-slots.config-OLi3ZwXd.cjs +20 -0
- package/components/evolution-number-slots.config-TQ3uP0zm.cjs +20 -0
- package/components/fi-BvBjcLPe.cjs +20 -0
- package/components/fi-CzJZyPSV.js +124 -0
- package/components/filters/filters.d.ts +88 -0
- package/components/filters/index.cjs +20 -0
- package/components/filters/index.d.ts +8 -0
- package/components/filters/index.js +36 -0
- package/components/filters/transformations/transform-filters.d.ts +33 -0
- package/components/filters/types.d.ts +8 -0
- package/components/filters-DaPTSt9B.cjs +323 -0
- package/components/filters-Dm8RzMvm.js +1606 -0
- package/components/focus-visible-26VqWQ_0.js +21 -0
- package/components/focus-visible-3ACCHno4.cjs +20 -0
- package/components/focus-visible-B_5e8cbD.cjs +20 -0
- package/components/focus-visible-D1pJhWEh.js +58 -0
- package/components/formatter-BOPc5C7n.cjs +20 -0
- package/components/formatter-xyiOs9mB.js +1312 -0
- package/components/fr-BUdGV8hb.js +256 -0
- package/components/fr-BiD18d2I.js +329 -0
- package/components/fr-CFIp0_7j.cjs +20 -0
- package/components/fr-D79nW6IG.cjs +20 -0
- package/components/funnel-chart-options.config-CfOBHTTn.cjs +20 -0
- package/components/funnel-chart-options.config-DkQMXL5z.js +21 -0
- package/components/funnel-chart-options.config-DmrRPOIu.cjs +20 -0
- package/components/funnel-chart-options.config-DyxCuNK-.js +184 -0
- package/components/funnel-chart-options.de-CLm3_JyI.cjs +20 -0
- package/components/funnel-chart-options.de-DphjfS_f.js +74 -0
- package/components/funnel-chart-options.en-D6a8I39X.cjs +20 -0
- package/components/funnel-chart-options.en-DmRUebbf.js +74 -0
- package/components/funnel-chart-options.es-DkOJ-9gO.cjs +20 -0
- package/components/funnel-chart-options.es-a_1_9TPq.js +74 -0
- package/components/funnel-chart-options.fr-CBV1Ym2F.js +74 -0
- package/components/funnel-chart-options.fr-Cq4NRUNs.cjs +20 -0
- package/components/funnel-chart-options.nl-CWfBnok9.js +74 -0
- package/components/funnel-chart-options.nl-Cuv1WgzK.cjs +20 -0
- package/components/funnel-chart-positioning.config-BvQz7oaw.js +46 -0
- package/components/funnel-chart-positioning.config-I7GoDFvz.cjs +20 -0
- package/components/funnel-chart-slots.config-D1eNUbq8.js +40 -0
- package/components/funnel-chart-slots.config-D6SKZqHl.cjs +20 -0
- package/components/funnel-chart-slots.config-DyueNPbl.js +21 -0
- package/components/funnel-chart-slots.config-st7C6Xk6.cjs +20 -0
- package/components/get-css-variable-BEd39qVL.cjs +24 -0
- package/components/get-css-variable-DpEed5QG.js +1209 -0
- package/components/he-C80arJQW.js +124 -0
- package/components/he-DQJpj7kw.cjs +20 -0
- package/components/heat-map-options.config-BL5BO2rg.js +21 -0
- package/components/heat-map-options.config-D8d9ZEiO.cjs +20 -0
- package/components/heat-map-options.config-Dlbv4hya.cjs +20 -0
- package/components/heat-map-options.config-DnQ_Gztv.js +221 -0
- package/components/heat-map-options.de-BNskyu2Z.cjs +20 -0
- package/components/heat-map-options.de-Bdzp8cCj.js +73 -0
- package/components/heat-map-options.en-BheRTc3D.cjs +20 -0
- package/components/heat-map-options.en-tVVg5SK8.js +73 -0
- package/components/heat-map-options.es-CAbUgy7y.cjs +20 -0
- package/components/heat-map-options.es-Dk75Cx6m.js +73 -0
- package/components/heat-map-options.fr-D7JdpNPZ.cjs +20 -0
- package/components/heat-map-options.fr-D9ntZknl.js +73 -0
- package/components/heat-map-options.nl-BvCPsKhN.cjs +20 -0
- package/components/heat-map-options.nl-NYigq3aM.js +73 -0
- package/components/heat-map-positioning.config-D0R77ttg.js +46 -0
- package/components/heat-map-positioning.config-DsnUJZQu.cjs +20 -0
- package/components/heat-map-slots.config-B3lY2qbJ.js +21 -0
- package/components/heat-map-slots.config-Bm3lCeIf.cjs +20 -0
- package/components/heat-map-slots.config-Bndea3Tv.js +34 -0
- package/components/heat-map-slots.config-XgVhMNHn.cjs +20 -0
- package/components/heat-table-options.config-B-dk-6lu.js +21 -0
- package/components/heat-table-options.config-CQoRufhD.cjs +20 -0
- package/components/heat-table-options.config-DnvGmo2r.cjs +20 -0
- package/components/heat-table-options.config-Dxo-KoLP.js +369 -0
- package/components/heat-table-options.de-2b9_bUno.cjs +20 -0
- package/components/heat-table-options.de-CWQBGSph.js +110 -0
- package/components/heat-table-options.en-BdneX0C6.cjs +20 -0
- package/components/heat-table-options.en-BmsIdzx2.js +110 -0
- package/components/heat-table-options.es-B4fSzLAU.cjs +20 -0
- package/components/heat-table-options.es-DmMva4jd.js +110 -0
- package/components/heat-table-options.fr-BAAwn3yi.js +110 -0
- package/components/heat-table-options.fr-BbDK_Psx.cjs +20 -0
- package/components/heat-table-options.nl-CFG6_Gfk.js +110 -0
- package/components/heat-table-options.nl-Cht0SLQi.cjs +20 -0
- package/components/heat-table-positioning.config-B41YyIrP.cjs +20 -0
- package/components/heat-table-positioning.config-CSQV9Xsf.js +53 -0
- package/components/heat-table-slots.config-CMub-9Yv.cjs +20 -0
- package/components/heat-table-slots.config-CR-RxWfI.cjs +20 -0
- package/components/heat-table-slots.config-DQaCLhhE.js +46 -0
- package/components/heat-table-slots.config-DfFaFojD.js +21 -0
- package/components/helpers-C49EKGl3.cjs +20 -0
- package/components/helpers-PCg4fY3n.js +64 -0
- package/components/hexbin-map-options.config-BZWNOng8.cjs +20 -0
- package/components/hexbin-map-options.config-DUC20CW7.cjs +20 -0
- package/components/hexbin-map-options.config-gExtgEE9.js +21 -0
- package/components/hexbin-map-options.config-hJ4B9e-A.js +273 -0
- package/components/hexbin-map-options.de-CdoDxcW4.cjs +20 -0
- package/components/hexbin-map-options.de-Dq2IDFmm.js +106 -0
- package/components/hexbin-map-options.en-0WBc2eB6.js +106 -0
- package/components/hexbin-map-options.en-DfhJYD5L.cjs +20 -0
- package/components/hexbin-map-options.es-BqL2wU5Q.cjs +20 -0
- package/components/hexbin-map-options.es-Cq6RnsWT.js +106 -0
- package/components/hexbin-map-options.fr-CJaiCncL.js +106 -0
- package/components/hexbin-map-options.fr-DjCcPQdB.cjs +20 -0
- package/components/hexbin-map-options.nl-BJtIgx7l.cjs +20 -0
- package/components/hexbin-map-options.nl-CYFVxbk0.js +106 -0
- package/components/hexbin-map-positioning.config-Cg3FcnbE.cjs +20 -0
- package/components/hexbin-map-positioning.config-DsBmghzw.js +46 -0
- package/components/hexbin-map-slots.config-BTzQLeQ5.cjs +20 -0
- package/components/hexbin-map-slots.config-BYlpMGE_.js +34 -0
- package/components/hexbin-map-slots.config-GtQch7bq.cjs +20 -0
- package/components/hexbin-map-slots.config-mzcftiGL.js +21 -0
- package/components/hu-CHHoqDbL.js +124 -0
- package/components/hu-DlB_9c4Y.cjs +20 -0
- package/components/image-options.config-CTiAF3tM.cjs +20 -0
- package/components/image-options.config-CYXPf0tg.cjs +20 -0
- package/components/image-options.config-D2RT0Aun.js +21 -0
- package/components/image-options.config-D4rg6xfd.js +150 -0
- package/components/image-options.de-CPi63a7V.js +84 -0
- package/components/image-options.de-DZ-wNThq.cjs +20 -0
- package/components/image-options.en-Bgzgy9EG.cjs +20 -0
- package/components/image-options.en-ClcEVXcm.js +84 -0
- package/components/image-options.es-KpMdcTOY.js +84 -0
- package/components/image-options.es-dGDjYPqN.cjs +20 -0
- package/components/image-options.fr-3LSFKgIE.js +84 -0
- package/components/image-options.fr-Ce3fEqNU.cjs +20 -0
- package/components/image-options.nl-C4AO3oWf.js +84 -0
- package/components/image-options.nl-DNR1R-OY.cjs +20 -0
- package/components/image-slots.config-BBhjTwpa.cjs +20 -0
- package/components/image-slots.config-CIPvKbdh.cjs +20 -0
- package/components/image-slots.config-MlWR595s.js +21 -0
- package/components/image-slots.config-meNJPFYE.js +21 -0
- package/components/index.cjs +387 -0
- package/components/index.js +2731 -0
- package/components/it-Bt-Kwtxt.cjs +20 -0
- package/components/it-CudpZq1i.js +329 -0
- package/components/item-context-configs.cjs +238 -0
- package/components/item-context-configs.js +990 -0
- package/components/item-grid/actions.d.ts +3 -0
- package/components/item-grid/helpers/grid-effects.d.ts +1 -0
- package/components/item-grid/helpers/grid-events.d.ts +56 -0
- package/components/item-grid/helpers/grid-interactions.d.ts +88 -0
- package/components/item-grid/helpers/grid-item-management.d.ts +30 -0
- package/components/item-grid/helpers/grid-item-popover.d.ts +15 -0
- package/components/item-grid/helpers/grid-items.d.ts +9 -0
- package/components/item-grid/helpers/grid-keyboard-updates.d.ts +18 -0
- package/components/item-grid/helpers/grid-keydown-event.d.ts +18 -0
- package/components/item-grid/helpers/grid-popover-cleanup.d.ts +4 -0
- package/components/item-grid/helpers/grid-rendering.d.ts +63 -0
- package/components/item-grid/helpers/grid-stack-lifecycle.d.ts +26 -0
- package/components/item-grid/helpers/grid-theme.d.ts +16 -0
- package/components/item-grid/helpers/grid-update-cycle.d.ts +22 -0
- package/components/item-grid/index.cjs +20 -0
- package/components/item-grid/index.d.ts +11 -0
- package/components/item-grid/index.js +29 -0
- package/components/item-grid/item-grid-item-actions-menu.d.ts +34 -0
- package/components/item-grid/item-grid.d.ts +243 -0
- package/components/item-grid/types.d.ts +57 -0
- package/components/item-grid-DIYV-3AC.js +8103 -0
- package/components/item-grid-Q3GlBPL6.cjs +320 -0
- package/components/item-list-DzYGV4Rp.cjs +20 -0
- package/components/item-list-qA_uf8N3.js +743 -0
- package/components/item-list.cjs +20 -0
- package/components/item-list.js +21 -0
- package/components/item-option/helpers/control-markup.d.ts +14 -0
- package/components/item-option/helpers/control-templates/action-button-group-template.d.ts +2 -0
- package/components/item-option/helpers/control-templates/color-palette-picker-template.d.ts +2 -0
- package/components/item-option/helpers/control-templates/color-picker-template.d.ts +2 -0
- package/components/item-option/helpers/control-templates/color-range-template.d.ts +2 -0
- package/components/item-option/helpers/control-templates/multi-language-field-template.d.ts +8 -0
- package/components/item-option/helpers/control-templates/number-field-template.d.ts +2 -0
- package/components/item-option/helpers/control-templates/picker-template.d.ts +2 -0
- package/components/item-option/helpers/control-templates/position-picker-template.d.ts +2 -0
- package/components/item-option/helpers/control-templates/positions-number-field-template.d.ts +2 -0
- package/components/item-option/helpers/control-templates/radio-button-group.d.ts +2 -0
- package/components/item-option/helpers/control-templates/slider-template.d.ts +2 -0
- package/components/item-option/helpers/control-templates/switch-template.d.ts +2 -0
- package/components/item-option/helpers/control-templates/text-field-template.d.ts +7 -0
- package/components/item-option/helpers/enum-values.d.ts +7 -0
- package/components/item-option/helpers/generate-callback.d.ts +1 -0
- package/components/item-option/helpers/get-control-by-key.d.ts +1 -0
- package/components/item-option/helpers/get-default-value.d.ts +1 -0
- package/components/item-option/helpers/get-enum-values.d.ts +1 -0
- package/components/item-option/helpers/get-extra-label-values.d.ts +7 -0
- package/components/item-option/helpers/get-value-by-key.d.ts +1 -0
- package/components/item-option/index.cjs +20 -0
- package/components/item-option/index.d.ts +7 -0
- package/components/item-option/index.js +32 -0
- package/components/item-option/item-option.d.ts +48 -0
- package/components/item-option-B-jdD4az.cjs +252 -0
- package/components/item-option-DY0NLdz8.js +962 -0
- package/components/item-option-action-button-group/index.cjs +20 -0
- package/components/item-option-action-button-group/index.d.ts +7 -0
- package/components/item-option-action-button-group/index.js +32 -0
- package/components/item-option-action-button-group/item-option-action-button-group.d.ts +30 -0
- package/components/item-option-action-button-group-BGseOlXH.js +114 -0
- package/components/item-option-action-button-group-CO1gNTC8.cjs +53 -0
- package/components/item-option-base-B7ouWFev.js +121 -0
- package/components/item-option-base-DVsbix3i.cjs +56 -0
- package/components/item-option-color-palette-picker/index.cjs +20 -0
- package/components/item-option-color-palette-picker/index.d.ts +7 -0
- package/components/item-option-color-palette-picker/index.js +32 -0
- package/components/item-option-color-palette-picker/item-option-color-palette-picker.d.ts +45 -0
- package/components/item-option-color-palette-picker-BrH21hkG.js +2034 -0
- package/components/item-option-color-palette-picker-DMrIIDVp.cjs +39 -0
- package/components/item-option-color-picker/index.cjs +20 -0
- package/components/item-option-color-picker/index.d.ts +7 -0
- package/components/item-option-color-picker/index.js +32 -0
- package/components/item-option-color-picker/item-option-color-picker.d.ts +27 -0
- package/components/item-option-color-picker-BI6v_g9M.cjs +34 -0
- package/components/item-option-color-picker-CYk2hO7U.js +83 -0
- package/components/item-option-color-range/index.cjs +20 -0
- package/components/item-option-color-range/index.d.ts +7 -0
- package/components/item-option-color-range/index.js +32 -0
- package/components/item-option-color-range/item-option-color-range.d.ts +99 -0
- package/components/item-option-color-range-BekwI5f6.cjs +98 -0
- package/components/item-option-color-range-CPAyCAdZ.js +217 -0
- package/components/item-option-multi-language-field/index.cjs +20 -0
- package/components/item-option-multi-language-field/index.d.ts +7 -0
- package/components/item-option-multi-language-field/index.js +32 -0
- package/components/item-option-multi-language-field/item-option-multi-language-field.d.ts +20 -0
- package/components/item-option-multi-language-field-BujOe8kw.js +78 -0
- package/components/item-option-multi-language-field-DQI7p1IU.cjs +33 -0
- package/components/item-option-number-field/index.cjs +20 -0
- package/components/item-option-number-field/index.d.ts +7 -0
- package/components/item-option-number-field/index.js +32 -0
- package/components/item-option-number-field/item-option-number-field.d.ts +24 -0
- package/components/item-option-number-field-P-JmfaCr.cjs +38 -0
- package/components/item-option-number-field-QXhNwvtx.js +98 -0
- package/components/item-option-panel/index.cjs +20 -0
- package/components/item-option-panel/index.d.ts +7 -0
- package/components/item-option-panel/index.js +33 -0
- package/components/item-option-panel/item-option-panel.d.ts +77 -0
- package/components/item-option-panel-BQCvJgnH.cjs +67 -0
- package/components/item-option-panel-CitKdCTB.js +174 -0
- package/components/item-option-picker/index.cjs +20 -0
- package/components/item-option-picker/index.d.ts +7 -0
- package/components/item-option-picker/index.js +32 -0
- package/components/item-option-picker/item-option-picker.d.ts +24 -0
- package/components/item-option-picker-DOP2i66P.cjs +37 -0
- package/components/item-option-picker-Wf80pj4q.js +73 -0
- package/components/item-option-position-picker/index.cjs +20 -0
- package/components/item-option-position-picker/index.d.ts +7 -0
- package/components/item-option-position-picker/index.js +32 -0
- package/components/item-option-position-picker/item-option-position-picker.d.ts +17 -0
- package/components/item-option-position-picker-Ds3KqRUs.cjs +32 -0
- package/components/item-option-position-picker-kvZSbVUR.js +113 -0
- package/components/item-option-positions-number-field/index.cjs +20 -0
- package/components/item-option-positions-number-field/index.d.ts +7 -0
- package/components/item-option-positions-number-field/index.js +32 -0
- package/components/item-option-positions-number-field/item-option-positions-number-field.d.ts +33 -0
- package/components/item-option-positions-number-field-BbmEfuPQ.js +160 -0
- package/components/item-option-positions-number-field-DwZHRxDJ.cjs +49 -0
- package/components/item-option-radio-button-group/index.cjs +20 -0
- package/components/item-option-radio-button-group/index.d.ts +7 -0
- package/components/item-option-radio-button-group/index.js +32 -0
- package/components/item-option-radio-button-group/item-option-radio-button-group.d.ts +21 -0
- package/components/item-option-radio-button-group-CVOnvvKw.cjs +37 -0
- package/components/item-option-radio-button-group-U1axxete.js +70 -0
- package/components/item-option-slider/index.cjs +20 -0
- package/components/item-option-slider/index.d.ts +7 -0
- package/components/item-option-slider/index.js +32 -0
- package/components/item-option-slider/item-option-slider.d.ts +18 -0
- package/components/item-option-slider-Bea5W_3p.js +77 -0
- package/components/item-option-slider-DcJitGFF.cjs +33 -0
- package/components/item-option-switch/index.cjs +20 -0
- package/components/item-option-switch/index.d.ts +7 -0
- package/components/item-option-switch/index.js +32 -0
- package/components/item-option-switch/item-option-switch.d.ts +14 -0
- package/components/item-option-switch-BPqMvJoA.js +65 -0
- package/components/item-option-switch-C4urKPUA.cjs +30 -0
- package/components/item-option-text-field/index.cjs +20 -0
- package/components/item-option-text-field/index.d.ts +7 -0
- package/components/item-option-text-field/index.js +32 -0
- package/components/item-option-text-field/item-option-text-field.d.ts +18 -0
- package/components/item-option-text-field-Bzsxh3F6.cjs +33 -0
- package/components/item-option-text-field-Elgi3UYd.js +76 -0
- package/components/item-options-configs.cjs +20 -0
- package/components/item-options-configs.js +65 -0
- package/components/item-slot-drop/index.cjs +20 -0
- package/components/item-slot-drop/index.d.ts +9 -0
- package/components/item-slot-drop/index.js +36 -0
- package/components/item-slot-drop/item-slot-drop.d.ts +99 -0
- package/components/item-slot-drop/types.d.ts +5 -0
- package/components/item-slot-drop-DAST6KZj.js +310 -0
- package/components/item-slot-drop-m9aMe70R.cjs +91 -0
- package/components/item-slot-drop-panel/index.cjs +20 -0
- package/components/item-slot-drop-panel/index.d.ts +7 -0
- package/components/item-slot-drop-panel/index.js +37 -0
- package/components/item-slot-drop-panel/item-slot-drop-panel.d.ts +180 -0
- package/components/item-slot-drop-panel-BJ-tTZ9h.cjs +57 -0
- package/components/item-slot-drop-panel-Ca0DgsUE.js +338 -0
- package/components/item-slot-picker/index.cjs +20 -0
- package/components/item-slot-picker/index.d.ts +7 -0
- package/components/item-slot-picker/index.js +38 -0
- package/components/item-slot-picker/item-slot-picker.d.ts +137 -0
- package/components/item-slot-picker-BATTdu-9.cjs +141 -0
- package/components/item-slot-picker-Dm2wMgjL.js +429 -0
- package/components/item-slot-picker-panel/index.cjs +20 -0
- package/components/item-slot-picker-panel/index.d.ts +7 -0
- package/components/item-slot-picker-panel/index.js +40 -0
- package/components/item-slot-picker-panel/item-slot-picker-panel.d.ts +230 -0
- package/components/item-slot-picker-panel-COZK1ugU.js +431 -0
- package/components/item-slot-picker-panel-Dj4uClxv.cjs +78 -0
- package/components/item-slots-configs.cjs +20 -0
- package/components/item-slots-configs.js +65 -0
- package/components/item-store-6WwQrV4w.cjs +20 -0
- package/components/item-store-Coz-cxxG.js +22 -0
- package/components/item-store-F7s95JLU.cjs +20 -0
- package/components/item-store-Y36oG97S.js +169 -0
- package/components/ja-KACmPQkM.js +124 -0
- package/components/ja-XLb6FIv0.cjs +20 -0
- package/components/ko-BrB8PI8q.cjs +20 -0
- package/components/ko-DJTwKnzA.js +124 -0
- package/components/line-chart-options.config-C8lmhZf4.js +21 -0
- package/components/line-chart-options.config-DBkHXd3X.cjs +20 -0
- package/components/line-chart-options.config-DyZxE0yC.js +165 -0
- package/components/line-chart-options.config-n4QaC_l6.cjs +20 -0
- package/components/line-chart-options.de-CKmhJbWW.js +56 -0
- package/components/line-chart-options.de-CLMa2jCo.cjs +20 -0
- package/components/line-chart-options.en-BPM6nPdT.js +56 -0
- package/components/line-chart-options.en-MV-ERFHy.cjs +20 -0
- package/components/line-chart-options.es-0ceGdJ1G.js +56 -0
- package/components/line-chart-options.es-2WZiy6Wz.cjs +20 -0
- package/components/line-chart-options.fr-B-gaC6hO.js +56 -0
- package/components/line-chart-options.fr-BQYLHv7c.cjs +20 -0
- package/components/line-chart-options.nl-Co-NMdRg.js +56 -0
- package/components/line-chart-options.nl-D6kAEMio.cjs +20 -0
- package/components/line-chart-positioning.config-D4t-BRfg.cjs +20 -0
- package/components/line-chart-positioning.config-VE7XiafC.js +53 -0
- package/components/line-chart-slots.config-CD_qmlcl.cjs +20 -0
- package/components/line-chart-slots.config-DP94KKPE.cjs +20 -0
- package/components/line-chart-slots.config-DYVV8c8y.js +52 -0
- package/components/line-chart-slots.config-PYoYKQ9s.js +21 -0
- package/components/load-data-fields-for-datasets-DoXICIh1.cjs +20 -0
- package/components/load-data-fields-for-datasets-b3_MelOq.js +40 -0
- package/components/localize-1PfTYVMY.cjs +20 -0
- package/components/localize-CTTwlzBP.js +27 -0
- package/components/localized-mixin-BMNoUdF8.js +48 -0
- package/components/localized-mixin-FYdeD8xw.cjs +20 -0
- package/components/map-tile-providers-BSrCErzD.js +113 -0
- package/components/map-tile-providers-DGbbtg6N.cjs +20 -0
- package/components/marker-map-options.config-BaaGknpb.js +21 -0
- package/components/marker-map-options.config-C4ld-c8K.js +114 -0
- package/components/marker-map-options.config-CCsnOooe.cjs +20 -0
- package/components/marker-map-options.config-DFaAaqx5.cjs +20 -0
- package/components/marker-map-options.de-9KaVh4Sh.js +61 -0
- package/components/marker-map-options.de-B87tdWO7.cjs +20 -0
- package/components/marker-map-options.en-DWJiVBzr.cjs +20 -0
- package/components/marker-map-options.en-DlaTrtMW.js +61 -0
- package/components/marker-map-options.es-mw13aU0b.js +61 -0
- package/components/marker-map-options.es-s7B69PbP.cjs +20 -0
- package/components/marker-map-options.fr-Ba_0aEqv.js +61 -0
- package/components/marker-map-options.fr-DUQAJOYo.cjs +20 -0
- package/components/marker-map-options.nl-B6N8Tr3E.js +61 -0
- package/components/marker-map-options.nl-C9pwkd1w.cjs +20 -0
- package/components/marker-map-positioning.config-BfUv58wL.cjs +20 -0
- package/components/marker-map-positioning.config-DJIV20Hh.js +46 -0
- package/components/marker-map-slots.config-B-4pKa-g.cjs +20 -0
- package/components/marker-map-slots.config-BaUmrOHN.js +34 -0
- package/components/marker-map-slots.config-D4CTVYWP.cjs +20 -0
- package/components/marker-map-slots.config-LGsxiVpz.js +21 -0
- package/components/mk-BAgy74Dv.cjs +20 -0
- package/components/mk-CQl_3qx6.js +124 -0
- package/components/nl-5RUWGoLb.js +256 -0
- package/components/nl-B6MR7x9G.cjs +20 -0
- package/components/nl-CCePnvda.cjs +20 -0
- package/components/nl-DfZ2oCfi.js +136 -0
- package/components/no-CHKH_V9J.cjs +20 -0
- package/components/no-ernI6kx8.js +136 -0
- package/components/ohlc-chart-options.config-BXxXQkRS.js +62 -0
- package/components/ohlc-chart-options.config-Bqxy97bU.cjs +20 -0
- package/components/ohlc-chart-options.config-DaFLqFdX.js +21 -0
- package/components/ohlc-chart-options.config-fiD3fpiv.cjs +20 -0
- package/components/ohlc-chart-options.de-Cvg_euWz.js +36 -0
- package/components/ohlc-chart-options.de-XjoJzpre.cjs +20 -0
- package/components/ohlc-chart-options.en-B3xnvkO3.js +36 -0
- package/components/ohlc-chart-options.en-DmSvelo0.cjs +20 -0
- package/components/ohlc-chart-options.es-6-mghM_d.js +36 -0
- package/components/ohlc-chart-options.es-BkUgZ8dL.cjs +20 -0
- package/components/ohlc-chart-options.fr-DNJ3zMsK.cjs +20 -0
- package/components/ohlc-chart-options.fr-khf6olAg.js +36 -0
- package/components/ohlc-chart-options.nl-BRQW-9gL.js +36 -0
- package/components/ohlc-chart-options.nl-Dy1R6NB2.cjs +20 -0
- package/components/ohlc-chart-positioning.config-3bOnrlYU.js +76 -0
- package/components/ohlc-chart-positioning.config-EL7DN8q3.cjs +20 -0
- package/components/ohlc-chart-slots.config-BCJ9ED5k.js +65 -0
- package/components/ohlc-chart-slots.config-CZQq7VFa.cjs +20 -0
- package/components/ohlc-chart-slots.config-D2JblS7O.js +21 -0
- package/components/ohlc-chart-slots.config-Y_Z6CI5B.cjs +20 -0
- package/components/orion-BpiTvxZG.js +66 -0
- package/components/orion-XHp7jQCM.cjs +20 -0
- package/components/parallel-coordinates-plot-options.config-B1blCVaF.js +39 -0
- package/components/parallel-coordinates-plot-options.config-B2jhkqPi.js +21 -0
- package/components/parallel-coordinates-plot-options.config-BG1-AVv-.cjs +20 -0
- package/components/parallel-coordinates-plot-options.config-SfjPTAgP.cjs +20 -0
- package/components/parallel-coordinates-plot-options.de-C0n_5zr7.js +28 -0
- package/components/parallel-coordinates-plot-options.de-DAN6VQ_8.cjs +20 -0
- package/components/parallel-coordinates-plot-options.en-BUGyRyuz.js +28 -0
- package/components/parallel-coordinates-plot-options.en-EGxLWaSu.cjs +20 -0
- package/components/parallel-coordinates-plot-options.es-B2jzRYcO.cjs +20 -0
- package/components/parallel-coordinates-plot-options.es-BzFpivBz.js +28 -0
- package/components/parallel-coordinates-plot-options.fr-2-pnV1m2.js +28 -0
- package/components/parallel-coordinates-plot-options.fr-H91eUWB2.cjs +20 -0
- package/components/parallel-coordinates-plot-options.nl-Bh6TD9K3.cjs +20 -0
- package/components/parallel-coordinates-plot-options.nl-gYVpHkAq.js +28 -0
- package/components/parallel-coordinates-plot-positioning.config-C0C3Zl2F.js +46 -0
- package/components/parallel-coordinates-plot-positioning.config-D-TSl5rg.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-B-sIV1t4.js +21 -0
- package/components/parallel-coordinates-plot-slots.config-BLA0Y8is.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-CIbH68Cd.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-DwVAaBGN.js +43 -0
- package/components/period-over-period-condition.const-B7guqx0X.cjs +20 -0
- package/components/period-over-period-condition.const-Bbni1MQG.js +27 -0
- package/components/periods.const-CjJ_sJnT.js +153 -0
- package/components/periods.const-DhGqpGg4.cjs +20 -0
- package/components/pinky-Tl0NHCI-.js +66 -0
- package/components/pinky-y28VltvR.cjs +20 -0
- package/components/pivot-table-options.config-18x8sb9-.cjs +20 -0
- package/components/pivot-table-options.config-CfGWn8qu.js +21 -0
- package/components/pivot-table-options.config-DD69jz3T.cjs +20 -0
- package/components/pivot-table-options.config-DO4eJNRF.js +242 -0
- package/components/pivot-table-options.de-BtoZVxta.js +65 -0
- package/components/pivot-table-options.de-BuKlvS0F.cjs +20 -0
- package/components/pivot-table-options.en-CQBDznLO.js +65 -0
- package/components/pivot-table-options.en-DHiGw9j9.cjs +20 -0
- package/components/pivot-table-options.es-DEit3O3t.cjs +20 -0
- package/components/pivot-table-options.es-D_aa5tGs.js +65 -0
- package/components/pivot-table-options.fr-f7X6GNmr.js +65 -0
- package/components/pivot-table-options.fr-wej4bv5I.cjs +20 -0
- package/components/pivot-table-options.nl-Di79djtH.cjs +20 -0
- package/components/pivot-table-options.nl-DtASgvRA.js +65 -0
- package/components/pivot-table-positioning.config-LD5vgAnb.cjs +20 -0
- package/components/pivot-table-positioning.config-jy5IfNOw.js +53 -0
- package/components/pivot-table-slots.config-BRoTuh5s.cjs +20 -0
- package/components/pivot-table-slots.config-BsxdRaL9.js +21 -0
- package/components/pivot-table-slots.config-CXY9oYOe.cjs +20 -0
- package/components/pivot-table-slots.config-xAZsVphg.js +52 -0
- package/components/pl-DDMwt0vm.cjs +20 -0
- package/components/pl-yFTrGW1n.js +124 -0
- package/components/positioning.config-BNPNCxF_.cjs +20 -0
- package/components/positioning.config-DdqhF3Rc.js +21 -0
- package/components/pt-Cb39jwPy.js +124 -0
- package/components/pt-aT4nHLqe.cjs +20 -0
- package/components/pyramid-chart-options.config-CFimR9Ph.js +237 -0
- package/components/pyramid-chart-options.config-CIKsbzVw.cjs +20 -0
- package/components/pyramid-chart-options.config-D1ohMpy2.js +21 -0
- package/components/pyramid-chart-options.config-DS5GV657.cjs +20 -0
- package/components/pyramid-chart-options.de-BsLZCk3X.js +100 -0
- package/components/pyramid-chart-options.de-VGNYIXHE.cjs +20 -0
- package/components/pyramid-chart-options.en-D9NrWy2Q.js +100 -0
- package/components/pyramid-chart-options.en-gf15Y7mS.cjs +20 -0
- package/components/pyramid-chart-options.es-DWALno6M.js +100 -0
- package/components/pyramid-chart-options.es-DaM05U_X.cjs +20 -0
- package/components/pyramid-chart-options.fr-DRsVQFnF.js +100 -0
- package/components/pyramid-chart-options.fr-UcAXHOka.cjs +20 -0
- package/components/pyramid-chart-options.nl-BS95W8Nt.cjs +20 -0
- package/components/pyramid-chart-options.nl-CHiAtMSp.js +100 -0
- package/components/pyramid-chart-positioning.config-Dl4UwBQz.cjs +20 -0
- package/components/pyramid-chart-positioning.config-kDvgHnVh.js +53 -0
- package/components/pyramid-chart-slots.config-7g6qw5M-.js +21 -0
- package/components/pyramid-chart-slots.config-BqHE-iim.cjs +20 -0
- package/components/pyramid-chart-slots.config-DY7zjl4n.js +47 -0
- package/components/pyramid-chart-slots.config-Dula1coT.cjs +20 -0
- package/components/radar-chart-options.config-BOFyiphZ.cjs +20 -0
- package/components/radar-chart-options.config-BUPvtmBx.cjs +20 -0
- package/components/radar-chart-options.config-Bf08CPsL.js +127 -0
- package/components/radar-chart-options.config-DWlDzvxn.js +21 -0
- package/components/radar-chart-options.de-DVoKmwHk.js +44 -0
- package/components/radar-chart-options.de-yOMNzdh6.cjs +20 -0
- package/components/radar-chart-options.en-BzSBxr43.cjs +20 -0
- package/components/radar-chart-options.en-mpG6-Z5-.js +44 -0
- package/components/radar-chart-options.es-BbvJko34.js +44 -0
- package/components/radar-chart-options.es-nMp4UQO5.cjs +20 -0
- package/components/radar-chart-options.fr-DL0uPK49.cjs +20 -0
- package/components/radar-chart-options.fr-zve-wiVZ.js +44 -0
- package/components/radar-chart-options.nl-BUkBF7VX.js +44 -0
- package/components/radar-chart-options.nl-DhftuDWA.cjs +20 -0
- package/components/radar-chart-positioning.config-CNqfPU07.cjs +20 -0
- package/components/radar-chart-positioning.config-DAXNqxQR.js +53 -0
- package/components/radar-chart-slots.config-BQFobub3.js +21 -0
- package/components/radar-chart-slots.config-B_68HOHa.cjs +20 -0
- package/components/radar-chart-slots.config-FZUdScnC.js +50 -0
- package/components/radar-chart-slots.config-SjHxTv1_.cjs +20 -0
- package/components/radiant-BNKB02No.cjs +20 -0
- package/components/radiant-D7RiaWeg.js +69 -0
- package/components/regular-table-options.config-Do2Qwj5X.js +145 -0
- package/components/regular-table-options.config-gDGwIiLf.js +21 -0
- package/components/regular-table-options.config-o4hPSzxf.cjs +20 -0
- package/components/regular-table-options.config-xnRjEJvN.cjs +20 -0
- package/components/regular-table-options.de-BhlwoeHh.js +55 -0
- package/components/regular-table-options.de-CADFOHUc.cjs +20 -0
- package/components/regular-table-options.en-CklERfkR.js +55 -0
- package/components/regular-table-options.en-Dy-jRxrN.cjs +20 -0
- package/components/regular-table-options.es-BsoiFhrK.cjs +20 -0
- package/components/regular-table-options.es-D8qT11sT.js +55 -0
- package/components/regular-table-options.fr-BTJWm-wH.js +55 -0
- package/components/regular-table-options.fr-DSy6n2Du.cjs +20 -0
- package/components/regular-table-options.nl-C9PlUi5f.js +55 -0
- package/components/regular-table-options.nl-CDDSsgAU.cjs +20 -0
- package/components/regular-table-positioning.config-1FS6yaAl.js +36 -0
- package/components/regular-table-positioning.config-De3oU_pc.cjs +20 -0
- package/components/regular-table-slots.config-By0Up-hn.cjs +20 -0
- package/components/regular-table-slots.config-CLuKlZ6J.js +21 -0
- package/components/regular-table-slots.config-CxI3H_Sz.js +32 -0
- package/components/regular-table-slots.config-DSgpuQ9f.cjs +20 -0
- package/components/route-map-options.config-2Q8HcToU.cjs +20 -0
- package/components/route-map-options.config-BdCVYaNw.cjs +20 -0
- package/components/route-map-options.config-DUI86oXK.js +323 -0
- package/components/route-map-options.config-zVjgBTS6.js +21 -0
- package/components/route-map-options.de-BwnkGOm4.cjs +20 -0
- package/components/route-map-options.de-DFeO2vRE.js +74 -0
- package/components/route-map-options.en-BSMNKxZ3.js +74 -0
- package/components/route-map-options.en-DyOOfXiN.cjs +20 -0
- package/components/route-map-options.es-1Xt40LQF.cjs +20 -0
- package/components/route-map-options.es-DduAb-Pf.js +74 -0
- package/components/route-map-options.fr-41fSNKXt.cjs +20 -0
- package/components/route-map-options.fr-BNbzW8lM.js +74 -0
- package/components/route-map-options.nl-705EGu9M.js +74 -0
- package/components/route-map-options.nl-BzxvmmOv.cjs +20 -0
- package/components/route-map-positioning.config-BZRWRAnO.js +64 -0
- package/components/route-map-positioning.config-IrV4oYET.cjs +20 -0
- package/components/route-map-slots.config-DIDZf5Kb.js +56 -0
- package/components/route-map-slots.config-Dtt-s2gb.cjs +20 -0
- package/components/route-map-slots.config-PVP3_yAy.cjs +20 -0
- package/components/route-map-slots.config-pr1-orhC.js +21 -0
- package/components/royale-CCE2HBGs.cjs +20 -0
- package/components/royale-DYaFsDfk.js +58 -0
- package/components/ru-PLC714kP.cjs +20 -0
- package/components/ru-RRgETHIN.js +124 -0
- package/components/sankey-diagram-options.config-D-VxuAaa.cjs +20 -0
- package/components/sankey-diagram-options.config-D54KrwL7.cjs +20 -0
- package/components/sankey-diagram-options.config-DbgExHkO.js +123 -0
- package/components/sankey-diagram-options.config-po6w_CQO.js +21 -0
- package/components/sankey-diagram-options.de-B74nHZVk.cjs +20 -0
- package/components/sankey-diagram-options.de-R0NjEw2W.js +61 -0
- package/components/sankey-diagram-options.en-Bd3j1hzj.js +61 -0
- package/components/sankey-diagram-options.en-Ik4vbibk.cjs +20 -0
- package/components/sankey-diagram-options.es-4jltSeX5.cjs +20 -0
- package/components/sankey-diagram-options.es-DmgC5L1S.js +61 -0
- package/components/sankey-diagram-options.fr-KUM2TvGF.js +61 -0
- package/components/sankey-diagram-options.fr-ezMKBPQ7.cjs +20 -0
- package/components/sankey-diagram-options.nl-BP2-UBsD.js +61 -0
- package/components/sankey-diagram-options.nl-DlW4Mii3.cjs +20 -0
- package/components/sankey-diagram-positioning.config-B5t_tdDH.js +64 -0
- package/components/sankey-diagram-positioning.config-Bm6-ZWBD.cjs +20 -0
- package/components/sankey-diagram-slots.config-BhMt8KHW.js +58 -0
- package/components/sankey-diagram-slots.config-BposXsoV.cjs +20 -0
- package/components/sankey-diagram-slots.config-CP-zweq7.js +21 -0
- package/components/sankey-diagram-slots.config-DcBMaEqM.cjs +20 -0
- package/components/scatter-plot-options.config-8nIFCVb4.js +21 -0
- package/components/scatter-plot-options.config-BW0byQEP.js +299 -0
- package/components/scatter-plot-options.config-BZ7NXFYc.cjs +20 -0
- package/components/scatter-plot-options.config-Du1_BO3A.cjs +20 -0
- package/components/scatter-plot-options.de-BIaTnaM-.js +94 -0
- package/components/scatter-plot-options.de-UAs8fRCI.cjs +20 -0
- package/components/scatter-plot-options.en-C1-cWNmG.cjs +20 -0
- package/components/scatter-plot-options.en-CS6LV_hd.js +94 -0
- package/components/scatter-plot-options.es-BqBrs61n.cjs +20 -0
- package/components/scatter-plot-options.es-shRMxTJQ.js +94 -0
- package/components/scatter-plot-options.fr-BUoMYBy8.js +94 -0
- package/components/scatter-plot-options.fr-DWAPKDAd.cjs +20 -0
- package/components/scatter-plot-options.nl-CR772zBF.cjs +20 -0
- package/components/scatter-plot-options.nl-sQV_yEfx.js +94 -0
- package/components/scatter-plot-positioning.config-C-0hcw_k.cjs +20 -0
- package/components/scatter-plot-positioning.config-DKZJumG4.js +75 -0
- package/components/scatter-plot-slots.config-Bwxcr0QY.js +21 -0
- package/components/scatter-plot-slots.config-Bzo4oAPE.cjs +20 -0
- package/components/scatter-plot-slots.config-Dhm3cihk.js +71 -0
- package/components/scatter-plot-slots.config-DsqkN7b4.cjs +20 -0
- package/components/search-filter-options.config-Ba1EJnYG.cjs +20 -0
- package/components/search-filter-options.config-D5gdzarf.cjs +20 -0
- package/components/search-filter-options.config-ZHCrQA_N.js +21 -0
- package/components/search-filter-options.config-ZNefUAWC.js +100 -0
- package/components/search-filter-options.de-B8I3PiAO.js +40 -0
- package/components/search-filter-options.de-Dqc0qmMW.cjs +20 -0
- package/components/search-filter-options.en-0i5gD6M6.js +40 -0
- package/components/search-filter-options.en-D0LGLtIS.cjs +20 -0
- package/components/search-filter-options.es-BTNM7PHe.cjs +20 -0
- package/components/search-filter-options.es-CoZo9Wf_.js +40 -0
- package/components/search-filter-options.fr-Ch54x_BK.cjs +20 -0
- package/components/search-filter-options.fr-DVxtdVk3.js +40 -0
- package/components/search-filter-options.nl-BaQwLd5R.js +40 -0
- package/components/search-filter-options.nl-DoaWlcEV.cjs +20 -0
- package/components/search-filter-positioning.config-BQHndp1y.cjs +20 -0
- package/components/search-filter-positioning.config-CX4kxrWQ.js +36 -0
- package/components/search-filter-slots.config-C8l0fjWH.cjs +20 -0
- package/components/search-filter-slots.config-DUGwopZr.js +36 -0
- package/components/search-filter-slots.config-g9rK8MS6.cjs +20 -0
- package/components/search-filter-slots.config-q0r1jaUh.js +21 -0
- package/components/seasonal-B2GJEjZy.cjs +20 -0
- package/components/seasonal-TyLmJBDU.js +74 -0
- package/components/set-locale-7H4YCP38.cjs +20 -0
- package/components/set-locale-CoJL3mt9.js +43 -0
- package/components/slicer-filter-options.config-BdloBMXy.js +223 -0
- package/components/slicer-filter-options.config-CkUyFqaf.cjs +20 -0
- package/components/slicer-filter-options.config-CrcT7_LR.cjs +20 -0
- package/components/slicer-filter-options.config-DT3L5Rp-.js +21 -0
- package/components/slicer-filter-options.de-DF4x9Yeb.js +67 -0
- package/components/slicer-filter-options.de-De157aas.cjs +20 -0
- package/components/slicer-filter-options.en-BPaypcJp.cjs +20 -0
- package/components/slicer-filter-options.en-wv1drfJg.js +67 -0
- package/components/slicer-filter-options.es-D4recjSl.cjs +20 -0
- package/components/slicer-filter-options.es-DDz9FL9U.js +67 -0
- package/components/slicer-filter-options.fr-CMyTJK91.js +67 -0
- package/components/slicer-filter-options.fr-DcecZnCJ.cjs +20 -0
- package/components/slicer-filter-options.nl-Cdw-V2K4.cjs +20 -0
- package/components/slicer-filter-options.nl-CqJPh-r0.js +67 -0
- package/components/slicer-filter-positioning.config-BcE3B37J.js +46 -0
- package/components/slicer-filter-positioning.config-J1Mwi1zX.cjs +20 -0
- package/components/slicer-filter-slots.config-6Bu2SJD6.cjs +20 -0
- package/components/slicer-filter-slots.config-CEuCHlpm.js +41 -0
- package/components/slicer-filter-slots.config-DCzJi_zt.js +21 -0
- package/components/slicer-filter-slots.config-DurGMg5W.cjs +20 -0
- package/components/slider-filter-options.config-C3-7EbK_.js +69 -0
- package/components/slider-filter-options.config-C7OQna_B.js +21 -0
- package/components/slider-filter-options.config-CCn8pGHT.cjs +20 -0
- package/components/slider-filter-options.config-WUdQpOGg.cjs +20 -0
- package/components/slider-filter-options.de-CGdzVKMJ.cjs +20 -0
- package/components/slider-filter-options.de-Dnvw6feI.js +33 -0
- package/components/slider-filter-options.en-6qf9CqCm.cjs +20 -0
- package/components/slider-filter-options.en-ZIlRmFKX.js +33 -0
- package/components/slider-filter-options.es-B13HrMm1.cjs +20 -0
- package/components/slider-filter-options.es-CkJgiIVa.js +33 -0
- package/components/slider-filter-options.fr-Dg9qdXE9.cjs +20 -0
- package/components/slider-filter-options.fr-Dwup1hdc.js +33 -0
- package/components/slider-filter-options.nl-Cj2vJX8p.cjs +20 -0
- package/components/slider-filter-options.nl-Ckpy5uLE.js +33 -0
- package/components/slider-filter-positioning.config-Bby_Jn5V.cjs +20 -0
- package/components/slider-filter-positioning.config-C-hKC2jW.js +36 -0
- package/components/slider-filter-slots.config-1bTRZ61A.js +21 -0
- package/components/slider-filter-slots.config-BzLtclP_.js +40 -0
- package/components/slider-filter-slots.config-DGDMOxlB.cjs +20 -0
- package/components/slider-filter-slots.config-smds3DAy.cjs +20 -0
- package/components/slot-labels.config-Bm49TFhQ.cjs +20 -0
- package/components/slot-labels.config-CIzgUg2E.js +61 -0
- package/components/slot-menu-BiLItuJc.cjs +182 -0
- package/components/slot-menu-qG0SDoCW.js +934 -0
- package/components/slots-config-CJMtnUGH.cjs +20 -0
- package/components/slots-config-DV6nrlfy.js +75 -0
- package/components/spacer-options.config-BXAV_VSO.cjs +20 -0
- package/components/spacer-options.config-R22pAwMO.js +21 -0
- package/components/speedometer-chart-options.config-CRNQ39jo.js +21 -0
- package/components/speedometer-chart-options.config-DCGI0mS6.cjs +20 -0
- package/components/speedometer-chart-options.config-DFeIesAF.cjs +20 -0
- package/components/speedometer-chart-options.config-_J_EoJua.js +243 -0
- package/components/speedometer-chart-options.de-B3r4YQbX.cjs +20 -0
- package/components/speedometer-chart-options.de-BaTT7sC0.js +64 -0
- package/components/speedometer-chart-options.en-Ba-Cwac_.js +64 -0
- package/components/speedometer-chart-options.en-DPuE7n8r.cjs +20 -0
- package/components/speedometer-chart-options.es-B2p0FQmR.cjs +20 -0
- package/components/speedometer-chart-options.es-DaanTo9Z.js +64 -0
- package/components/speedometer-chart-options.fr-6eJiofE_.cjs +20 -0
- package/components/speedometer-chart-options.fr-QLbx9dhi.js +64 -0
- package/components/speedometer-chart-options.nl-Dqbla2Va.cjs +20 -0
- package/components/speedometer-chart-options.nl-IDdfOumT.js +64 -0
- package/components/speedometer-chart-positioning.config-By7Y0rFq.js +46 -0
- package/components/speedometer-chart-positioning.config-DTclwcdN.cjs +20 -0
- package/components/speedometer-chart-slots.config-80xEPzxx.js +21 -0
- package/components/speedometer-chart-slots.config-BOB1d23V.js +36 -0
- package/components/speedometer-chart-slots.config-BiM4WT2s.cjs +20 -0
- package/components/speedometer-chart-slots.config-CNFlFL0M.cjs +20 -0
- package/components/spike-map-options.config-BCySYyfQ.cjs +20 -0
- package/components/spike-map-options.config-C6_Gp6Ab.js +410 -0
- package/components/spike-map-options.config-dbgRqYC0.cjs +20 -0
- package/components/spike-map-options.config-n3taiCNa.js +21 -0
- package/components/spike-map-options.de-CWSndvRM.js +101 -0
- package/components/spike-map-options.de-ChXHD5wQ.cjs +20 -0
- package/components/spike-map-options.en-B4jMPhsP.js +101 -0
- package/components/spike-map-options.en-Cq_6jpBR.cjs +20 -0
- package/components/spike-map-options.es-C44A5lLr.js +101 -0
- package/components/spike-map-options.es-TYLOuYW7.cjs +20 -0
- package/components/spike-map-options.fr-CP_uZ-Gb.cjs +20 -0
- package/components/spike-map-options.fr-VypcKdPw.js +101 -0
- package/components/spike-map-options.nl-CWu1gJ5T.cjs +20 -0
- package/components/spike-map-options.nl-D3Yyn1wE.js +101 -0
- package/components/spike-map-positioning.config-BXa8HQ_k.js +53 -0
- package/components/spike-map-positioning.config-BkSG3x84.cjs +20 -0
- package/components/spike-map-slots.config-CVnQBtaV.cjs +20 -0
- package/components/spike-map-slots.config-Cswj0xwr.cjs +20 -0
- package/components/spike-map-slots.config-MwHA1gDL.js +44 -0
- package/components/spike-map-slots.config-dHejT1kk.js +21 -0
- package/components/strip-plot-options.config-0vxF_rA2.cjs +20 -0
- package/components/strip-plot-options.config-BjoeF5YO.js +50 -0
- package/components/strip-plot-options.config-Nvf6fEFk.js +21 -0
- package/components/strip-plot-options.config-_Dr9KHXi.cjs +20 -0
- package/components/strip-plot-options.de-Dd9a9fPQ.cjs +20 -0
- package/components/strip-plot-options.de-IoPn7oJt.js +29 -0
- package/components/strip-plot-options.en-D0Qqq1Th.cjs +20 -0
- package/components/strip-plot-options.en-DjB0OfxY.js +29 -0
- package/components/strip-plot-options.es-Bzktz1Sg.cjs +20 -0
- package/components/strip-plot-options.es-D6qa2HrV.js +29 -0
- package/components/strip-plot-options.fr-B02pVFX3.js +29 -0
- package/components/strip-plot-options.fr-B1pXbEQ_.cjs +20 -0
- package/components/strip-plot-options.nl-C7Dpun4a.js +29 -0
- package/components/strip-plot-options.nl-DxPT4n4J.cjs +20 -0
- package/components/strip-plot-positioning.config-HcXxjyRG.cjs +20 -0
- package/components/strip-plot-positioning.config-aQk4_1Xb.js +46 -0
- package/components/strip-plot-slots.config-B0T5s3GP.js +35 -0
- package/components/strip-plot-slots.config-CFbRgYki.cjs +20 -0
- package/components/strip-plot-slots.config-rGWMVBFR.js +21 -0
- package/components/strip-plot-slots.config-y3YDPJOZ.cjs +20 -0
- package/components/sunburst-chart-options.config-C-tLD1o7.cjs +20 -0
- package/components/sunburst-chart-options.config-C2zQ9nYz.js +21 -0
- package/components/sunburst-chart-options.config-CGsqsExj.cjs +20 -0
- package/components/sunburst-chart-options.config-COSgp5nO.js +157 -0
- package/components/sunburst-chart-options.de-BBXGpRl_.cjs +20 -0
- package/components/sunburst-chart-options.de-DxbkHEMM.js +58 -0
- package/components/sunburst-chart-options.en-B5dMIPkP.js +58 -0
- package/components/sunburst-chart-options.en-BPbfFR1N.cjs +20 -0
- package/components/sunburst-chart-options.es-C5qPG5_b.js +58 -0
- package/components/sunburst-chart-options.es-CvIjGmIc.cjs +20 -0
- package/components/sunburst-chart-options.fr-DF4bERQz.js +58 -0
- package/components/sunburst-chart-options.fr-sMlTXOhE.cjs +20 -0
- package/components/sunburst-chart-options.nl-87zv6xMD.js +58 -0
- package/components/sunburst-chart-options.nl-DdpRC3ru.cjs +20 -0
- package/components/sunburst-chart-positioning.config-BBERJq3_.js +46 -0
- package/components/sunburst-chart-positioning.config-CtWoG3SX.cjs +20 -0
- package/components/sunburst-chart-slots.config-DUji8xDa.cjs +20 -0
- package/components/sunburst-chart-slots.config-DZG9chKz.js +21 -0
- package/components/sunburst-chart-slots.config-DdpW7Bmi.cjs +20 -0
- package/components/sunburst-chart-slots.config-DiZ-7SKI.js +35 -0
- package/components/sv-Dkwsl2Ee.cjs +20 -0
- package/components/sv-gn0-mytu.js +124 -0
- package/components/symbol-map-options.config-CHvyeJAw.js +21 -0
- package/components/symbol-map-options.config-C_9RBKuz.js +154 -0
- package/components/symbol-map-options.config-do0x7mLS.cjs +20 -0
- package/components/symbol-map-options.config-wSWcH2Mh.cjs +20 -0
- package/components/symbol-map-options.de-CJg2YoFY.cjs +20 -0
- package/components/symbol-map-options.de-CN9tUutu.js +64 -0
- package/components/symbol-map-options.en-CyOKQm6I.cjs +20 -0
- package/components/symbol-map-options.en-DPTSW3Do.js +64 -0
- package/components/symbol-map-options.es-BHn8D48W.js +64 -0
- package/components/symbol-map-options.es-DXUI01br.cjs +20 -0
- package/components/symbol-map-options.fr-BsdF0Cw0.cjs +20 -0
- package/components/symbol-map-options.fr-C07zv9ck.js +64 -0
- package/components/symbol-map-options.nl-CroF44bm.js +64 -0
- package/components/symbol-map-options.nl-DQbitmGo.cjs +20 -0
- package/components/symbol-map-positioning.config-BbxAkUIr.js +53 -0
- package/components/symbol-map-positioning.config-BlAzwMFJ.cjs +20 -0
- package/components/symbol-map-slots.config-1eYOB98F.js +21 -0
- package/components/symbol-map-slots.config-B3rRU0p6.cjs +20 -0
- package/components/symbol-map-slots.config-DRul9b6y.cjs +20 -0
- package/components/symbol-map-slots.config-DrT9RGFC.js +50 -0
- package/components/text-options.config-B7Ouz1Rl.cjs +20 -0
- package/components/text-options.config-DAb1_DtR.js +64 -0
- package/components/text-options.config-DK4QDoYQ.js +21 -0
- package/components/text-options.config-zI6JdKPd.cjs +20 -0
- package/components/text-options.de-Crv5DpLE.cjs +20 -0
- package/components/text-options.de-DuaSTcyA.js +28 -0
- package/components/text-options.en-C-tci0Ci.js +28 -0
- package/components/text-options.en-SVfgq7Jp.cjs +20 -0
- package/components/text-options.es-Nma2mRiP.cjs +20 -0
- package/components/text-options.es-Rx7KHGAz.js +28 -0
- package/components/text-options.fr-BrM8Eh-U.cjs +20 -0
- package/components/text-options.fr-DzqSLPhy.js +28 -0
- package/components/text-options.nl-CW5FFcuV.js +28 -0
- package/components/text-options.nl-D9er3-_l.cjs +20 -0
- package/components/text-slots.config-CHplFGlp.js +21 -0
- package/components/text-slots.config-CMHIamin.cjs +20 -0
- package/components/text-slots.config-D7BPvMAh.js +21 -0
- package/components/text-slots.config-DaAj9_lZ.cjs +20 -0
- package/components/themes-C_39V1G9.cjs +20 -0
- package/components/themes-bCjQyliX.js +72 -0
- package/components/tr-aLQKG5LY.cjs +20 -0
- package/components/tr-c4-BU9v1.js +136 -0
- package/components/treemap-chart-options.config-B0Gba2Ef.cjs +20 -0
- package/components/treemap-chart-options.config-CW026n_M.js +181 -0
- package/components/treemap-chart-options.config-Cqh5DypW.cjs +20 -0
- package/components/treemap-chart-options.config-Kr3O__Df.js +21 -0
- package/components/treemap-chart-options.de-LL0LKEpa.js +62 -0
- package/components/treemap-chart-options.de-xkTIwrB7.cjs +20 -0
- package/components/treemap-chart-options.en-m5faFjDf.js +62 -0
- package/components/treemap-chart-options.en-yuBBUWkp.cjs +20 -0
- package/components/treemap-chart-options.es-C3oKCx-G.js +62 -0
- package/components/treemap-chart-options.es-CROzD1x9.cjs +20 -0
- package/components/treemap-chart-options.fr-B71z_9gd.cjs +20 -0
- package/components/treemap-chart-options.fr-BAdxYEfZ.js +62 -0
- package/components/treemap-chart-options.nl-D9h87KBF.js +62 -0
- package/components/treemap-chart-options.nl-DczdC-hh.cjs +20 -0
- package/components/treemap-chart-positioning.config-CIETtX7z.js +53 -0
- package/components/treemap-chart-positioning.config-D1XNvHSu.cjs +20 -0
- package/components/treemap-chart-slots.config-C-olFS2Y.cjs +20 -0
- package/components/treemap-chart-slots.config-CIGAjh6z.cjs +20 -0
- package/components/treemap-chart-slots.config-HNCZRJhW.js +44 -0
- package/components/treemap-chart-slots.config-Tk1WB7Sr.js +21 -0
- package/components/type-check-B3D6_Mcx.cjs +20 -0
- package/components/type-check-BzMcgc41.js +50 -0
- package/components/types.cjs +19 -0
- package/components/types.js +19 -0
- package/components/urban-B0n_0UsK.cjs +20 -0
- package/components/urban-B17l_jN-.js +69 -0
- package/components/utils/base.cjs +20 -0
- package/components/utils/base.js +24 -0
- package/components/utils/store.cjs +20 -0
- package/components/utils/store.js +82 -0
- package/components/utils-CN2XBaEg.cjs +20 -0
- package/components/utils-ClXpDapW.js +307 -0
- package/components/utils.cjs +20 -0
- package/components/utils.js +30 -0
- package/components/validate-B4emkSyG.js +25 -0
- package/components/validate-DJkRpSba.cjs +20 -0
- package/components/venn-diagram-options.config-Cr3T0Om7.cjs +20 -0
- package/components/venn-diagram-options.config-Csz_c5BN.cjs +20 -0
- package/components/venn-diagram-options.config-DbpuPImo.js +21 -0
- package/components/venn-diagram-options.config-U0iDtCRQ.js +21 -0
- package/components/venn-diagram-positioning.config-DwJmMft4.js +53 -0
- package/components/venn-diagram-positioning.config-DwxN2IgP.cjs +20 -0
- package/components/venn-diagram-slots.config-CYOQ348z.js +21 -0
- package/components/venn-diagram-slots.config-C_4zbrGY.cjs +20 -0
- package/components/venn-diagram-slots.config-DW660ONt.cjs +20 -0
- package/components/venn-diagram-slots.config-Dy6Cm17G.js +44 -0
- package/components/video-options.config-C-UP4qlU.js +124 -0
- package/components/video-options.config-CE_w04B-.cjs +20 -0
- package/components/video-options.config-Dxt8y56a.cjs +20 -0
- package/components/video-options.config-G_2E_Nna.js +21 -0
- package/components/video-options.de-BXLumZIy.cjs +20 -0
- package/components/video-options.de-DHdkng1r.js +58 -0
- package/components/video-options.en-B8XyHP_B.cjs +20 -0
- package/components/video-options.en-BUr_2v-M.js +58 -0
- package/components/video-options.es-C6qKYoV-.cjs +20 -0
- package/components/video-options.es-CcnXy-6S.js +58 -0
- package/components/video-options.fr-CEJOuXoA.cjs +20 -0
- package/components/video-options.fr-D00Gv639.js +58 -0
- package/components/video-options.nl-BI1wI7ks.js +58 -0
- package/components/video-options.nl-GO8WNYM6.cjs +20 -0
- package/components/video-slots.config-BM_-F_PI.js +21 -0
- package/components/video-slots.config-C3UX34v0.js +21 -0
- package/components/video-slots.config-DYbhhhi6.cjs +20 -0
- package/components/video-slots.config-H8U3k_LZ.cjs +20 -0
- package/components/vivid-C9fGcIvd.js +70 -0
- package/components/vivid-D43iodwm.cjs +20 -0
- package/components/wordcloud-chart-options.config-B2aJGgdn.cjs +20 -0
- package/components/wordcloud-chart-options.config-BvTBnHfa.js +21 -0
- package/components/wordcloud-chart-options.config-Ctq2LuWu.js +87 -0
- package/components/wordcloud-chart-options.config-DoVol3kI.cjs +20 -0
- package/components/wordcloud-chart-options.de-BqQUmn8-.cjs +20 -0
- package/components/wordcloud-chart-options.de-yJ-YiULY.js +47 -0
- package/components/wordcloud-chart-options.en-B9IV-XxN.cjs +20 -0
- package/components/wordcloud-chart-options.en-BoPkgtbZ.js +47 -0
- package/components/wordcloud-chart-options.es-CdflN7fD.cjs +20 -0
- package/components/wordcloud-chart-options.es-D0Q0vzuB.js +47 -0
- package/components/wordcloud-chart-options.fr-DK2LV1HW.js +47 -0
- package/components/wordcloud-chart-options.fr-Dn8cBhjc.cjs +20 -0
- package/components/wordcloud-chart-options.nl-Yo09IVhE.cjs +20 -0
- package/components/wordcloud-chart-options.nl-owqF3aHk.js +47 -0
- package/components/wordcloud-chart-positioning.config-BeNYD1wR.cjs +20 -0
- package/components/wordcloud-chart-positioning.config-C1a4IXic.js +53 -0
- package/components/wordcloud-chart-slots.config-C6CfnGEG.js +42 -0
- package/components/wordcloud-chart-slots.config-CHdJPM3a.cjs +20 -0
- package/components/wordcloud-chart-slots.config-CJhYxfYb.js +21 -0
- package/components/wordcloud-chart-slots.config-gLuhcONR.cjs +20 -0
- package/components/zh-CN-B4TbF4c_.cjs +20 -0
- package/components/zh-CN-DnAvdfHM.js +124 -0
- package/components/zh-TW-D7vyxL1P.js +124 -0
- package/components/zh-TW-DUhwmBzU.cjs +20 -0
- package/custom-elements.json +7225 -0
- package/generated/locale-codes.d.ts +13 -0
- package/index.d.ts +26 -0
- package/item-definitions/context-helpers.d.ts +2 -0
- package/item-definitions/item-context.config.d.ts +45 -0
- package/item-definitions/item-list.d.ts +35 -0
- package/item-definitions/item-options.config.d.ts +45 -0
- package/item-definitions/item-slots.config.d.ts +1 -0
- package/item-definitions/slot-labels.config.d.ts +2 -0
- package/package.json +222 -0
- package/react/README.md +79 -0
- package/react/components/data-field/index.ts +1 -0
- package/react/components/data-field/types.ts +5 -0
- package/react/components/data-field-panel/index.ts +1 -0
- package/react/components/data-field-panel/types.ts +27 -0
- package/react/components/data-field-panel.component.ts +38 -0
- package/react/components/data-field.component.ts +30 -0
- package/react/components/filters/index.ts +1 -0
- package/react/components/filters/types.ts +9 -0
- package/react/components/filters.component.ts +27 -0
- package/react/components/item-grid/index.ts +1 -0
- package/react/components/item-grid/types.ts +64 -0
- package/react/components/item-grid.component.ts +36 -0
- package/react/components/item-option-action-button-group.component.ts +25 -0
- package/react/components/item-option-color-palette-picker.component.ts +25 -0
- package/react/components/item-option-color-picker.component.ts +27 -0
- package/react/components/item-option-color-range.component.ts +27 -0
- package/react/components/item-option-multi-language-field.component.ts +25 -0
- package/react/components/item-option-number-field.component.ts +25 -0
- package/react/components/item-option-panel.component.ts +27 -0
- package/react/components/item-option-picker.component.ts +25 -0
- package/react/components/item-option-position-picker.component.ts +25 -0
- package/react/components/item-option-positions-number-field.component.ts +25 -0
- package/react/components/item-option-radio-button-group.component.ts +25 -0
- package/react/components/item-option-slider.component.ts +25 -0
- package/react/components/item-option-switch.component.ts +25 -0
- package/react/components/item-option-text-field.component.ts +25 -0
- package/react/components/item-option.component.ts +22 -0
- package/react/components/item-slot-drop/index.ts +1 -0
- package/react/components/item-slot-drop/types.ts +6 -0
- package/react/components/item-slot-drop-panel.component.ts +30 -0
- package/react/components/item-slot-drop.component.ts +36 -0
- package/react/components/item-slot-picker-panel.component.ts +36 -0
- package/react/components/item-slot-picker.component.ts +27 -0
- package/react/esm/components/data-field/index.d.ts +1 -0
- package/react/esm/components/data-field/index.js +1 -0
- package/react/esm/components/data-field/types.d.ts +4 -0
- package/react/esm/components/data-field/types.js +1 -0
- package/react/esm/components/data-field-panel/index.d.ts +1 -0
- package/react/esm/components/data-field-panel/index.js +1 -0
- package/react/esm/components/data-field-panel/types.d.ts +27 -0
- package/react/esm/components/data-field-panel/types.js +1 -0
- package/react/esm/components/data-field-panel.component.d.ts +21 -0
- package/react/esm/components/data-field-panel.component.js +26 -0
- package/react/esm/components/data-field.component.d.ts +18 -0
- package/react/esm/components/data-field.component.js +19 -0
- package/react/esm/components/filters/index.d.ts +1 -0
- package/react/esm/components/filters/index.js +1 -0
- package/react/esm/components/filters/types.d.ts +8 -0
- package/react/esm/components/filters/types.js +1 -0
- package/react/esm/components/filters.component.d.ts +12 -0
- package/react/esm/components/filters.component.js +17 -0
- package/react/esm/components/item-grid/index.d.ts +1 -0
- package/react/esm/components/item-grid/index.js +1 -0
- package/react/esm/components/item-grid/types.d.ts +57 -0
- package/react/esm/components/item-grid/types.js +1 -0
- package/react/esm/components/item-grid.component.d.ts +18 -0
- package/react/esm/components/item-grid.component.js +23 -0
- package/react/esm/components/item-option-action-button-group.component.d.ts +10 -0
- package/react/esm/components/item-option-action-button-group.component.js +15 -0
- package/react/esm/components/item-option-color-palette-picker.component.d.ts +10 -0
- package/react/esm/components/item-option-color-palette-picker.component.js +15 -0
- package/react/esm/components/item-option-color-picker.component.d.ts +12 -0
- package/react/esm/components/item-option-color-picker.component.js +17 -0
- package/react/esm/components/item-option-color-range.component.d.ts +12 -0
- package/react/esm/components/item-option-color-range.component.js +17 -0
- package/react/esm/components/item-option-multi-language-field.component.d.ts +10 -0
- package/react/esm/components/item-option-multi-language-field.component.js +15 -0
- package/react/esm/components/item-option-number-field.component.d.ts +10 -0
- package/react/esm/components/item-option-number-field.component.js +15 -0
- package/react/esm/components/item-option-panel.component.d.ts +12 -0
- package/react/esm/components/item-option-panel.component.js +17 -0
- package/react/esm/components/item-option-picker.component.d.ts +10 -0
- package/react/esm/components/item-option-picker.component.js +15 -0
- package/react/esm/components/item-option-position-picker.component.d.ts +10 -0
- package/react/esm/components/item-option-position-picker.component.js +15 -0
- package/react/esm/components/item-option-positions-number-field.component.d.ts +10 -0
- package/react/esm/components/item-option-positions-number-field.component.js +15 -0
- package/react/esm/components/item-option-radio-button-group.component.d.ts +10 -0
- package/react/esm/components/item-option-radio-button-group.component.js +15 -0
- package/react/esm/components/item-option-slider.component.d.ts +10 -0
- package/react/esm/components/item-option-slider.component.js +15 -0
- package/react/esm/components/item-option-switch.component.d.ts +10 -0
- package/react/esm/components/item-option-switch.component.js +15 -0
- package/react/esm/components/item-option-text-field.component.d.ts +10 -0
- package/react/esm/components/item-option-text-field.component.js +15 -0
- package/react/esm/components/item-option.component.d.ts +8 -0
- package/react/esm/components/item-option.component.js +13 -0
- package/react/esm/components/item-slot-drop/index.d.ts +1 -0
- package/react/esm/components/item-slot-drop/index.js +1 -0
- package/react/esm/components/item-slot-drop/types.d.ts +5 -0
- package/react/esm/components/item-slot-drop/types.js +1 -0
- package/react/esm/components/item-slot-drop-panel.component.d.ts +14 -0
- package/react/esm/components/item-slot-drop-panel.component.js +19 -0
- package/react/esm/components/item-slot-drop.component.d.ts +17 -0
- package/react/esm/components/item-slot-drop.component.js +22 -0
- package/react/esm/components/item-slot-picker-panel.component.d.ts +18 -0
- package/react/esm/components/item-slot-picker-panel.component.js +23 -0
- package/react/esm/components/item-slot-picker.component.d.ts +12 -0
- package/react/esm/components/item-slot-picker.component.js +17 -0
- package/react/esm/index.d.ts +26 -0
- package/react/esm/index.js +100 -0
- package/react/esm/types.d.ts +14 -0
- package/react/esm/types.js +8 -0
- package/react/index.ts +106 -0
- package/react/lit-react-stubs.d.ts +15 -0
- package/react/luzmo-stub.d.ts +145 -0
- package/react/react-stubs.d.ts +19 -0
- package/react/tsconfig.json +41 -0
- package/react/types.ts +42 -0
- package/react/utils/base/base.d.ts +16 -0
- package/react/utils/base/focus-visible.d.ts +29 -0
- package/react/utils/base/focusable.d.ts +58 -0
- package/react/utils/base/index.d.ts +5 -0
- package/react/utils/base/localized-mixin.d.ts +22 -0
- package/react/utils/base/sized-mixin.d.ts +17 -0
- package/react/utils/color/color-palettes.d.ts +17 -0
- package/react/utils/color/extrapolate-color.d.ts +1 -0
- package/react/utils/data/load-data-fields-for-datasets.d.ts +22 -0
- package/react/utils/data-broker/index.d.ts +213 -0
- package/react/utils/data-field-types/calculate-data-field-icon.d.ts +12 -0
- package/react/utils/data-field-types/default-acceptable-data-field-types.d.ts +1 -0
- package/react/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +1 -0
- package/react/utils/drag/draggable.d.ts +13 -0
- package/react/utils/filters/expressions.d.ts +15 -0
- package/react/utils/filters/index.d.ts +1 -0
- package/react/utils/formatter/calculate-duration.d.ts +2 -0
- package/react/utils/formatter/decompose-numeric-format.d.ts +11 -0
- package/react/utils/formatter/default-local-formats.d.ts +20 -0
- package/react/utils/formatter/formats/cs.d.ts +20 -0
- package/react/utils/formatter/formats/da.d.ts +20 -0
- package/react/utils/formatter/formats/de.d.ts +21 -0
- package/react/utils/formatter/formats/en-GB.d.ts +21 -0
- package/react/utils/formatter/formats/en-US.d.ts +1 -0
- package/react/utils/formatter/formats/en.d.ts +1 -0
- package/react/utils/formatter/formats/es.d.ts +54 -0
- package/react/utils/formatter/formats/fi.d.ts +20 -0
- package/react/utils/formatter/formats/fr.d.ts +54 -0
- package/react/utils/formatter/formats/he.d.ts +20 -0
- package/react/utils/formatter/formats/hu.d.ts +20 -0
- package/react/utils/formatter/formats/it.d.ts +54 -0
- package/react/utils/formatter/formats/ja.d.ts +20 -0
- package/react/utils/formatter/formats/ko.d.ts +20 -0
- package/react/utils/formatter/formats/mk.d.ts +20 -0
- package/react/utils/formatter/formats/nl.d.ts +21 -0
- package/react/utils/formatter/formats/no.d.ts +21 -0
- package/react/utils/formatter/formats/pl.d.ts +20 -0
- package/react/utils/formatter/formats/pt.d.ts +20 -0
- package/react/utils/formatter/formats/ru.d.ts +20 -0
- package/react/utils/formatter/formats/sv.d.ts +20 -0
- package/react/utils/formatter/formats/tr.d.ts +21 -0
- package/react/utils/formatter/formats/zh-CN.d.ts +20 -0
- package/react/utils/formatter/formats/zh-TW.d.ts +20 -0
- package/react/utils/formatter/formatter.d.ts +9 -0
- package/react/utils/formatter/localize.d.ts +3 -0
- package/react/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
- package/react/utils/formatter/tests/calculate-duration.test.d.ts +1 -0
- package/react/utils/formatter/tests/decompose-numeric-format.test.d.ts +1 -0
- package/react/utils/formatter/tests/default-local-formats.test.d.ts +1 -0
- package/react/utils/formatter/tests/formatter.test.d.ts +1 -0
- package/react/utils/formatter/tests/localize.test.d.ts +1 -0
- package/react/utils/get-css-variable.d.ts +1 -0
- package/react/utils/index.d.ts +9 -0
- package/react/utils/localize/set-locale.d.ts +7 -0
- package/react/utils/map-tile-providers/index.d.ts +93 -0
- package/react/utils/slot-state/slot-context.d.ts +4 -0
- package/react/utils/slot-state/slot-store.d.ts +39 -0
- package/react/utils/store/base-store.d.ts +162 -0
- package/react/utils/store/dashboard-store.d.ts +49 -0
- package/react/utils/store/index.d.ts +135 -0
- package/react/utils/store/item-store.d.ts +33 -0
- package/react/utils/store/store-registry.d.ts +170 -0
- package/react/utils/store/tests/dashboard-store.test.d.ts +1 -0
- package/react/utils/store/tests/item-store.test.d.ts +1 -0
- package/react/utils/store/tests/store-registry.test.d.ts +1 -0
- package/react/utils/store/types.d.ts +270 -0
- package/react/utils/switch-item/index.d.ts +34 -0
- package/react/utils/switch-item/slot-role-classification.d.ts +31 -0
- package/react/utils/switch-item/stories/switch-item.stories.d.ts +17 -0
- package/react/utils/switch-item/tests/slot-role-classification.test.d.ts +1 -0
- package/react/utils/switch-item/tests/switch-item.test.d.ts +1 -0
- package/react/utils/themes/bliss.d.ts +2 -0
- package/react/utils/themes/classic-dark.d.ts +2 -0
- package/react/utils/themes/classic.d.ts +2 -0
- package/react/utils/themes/default-dark.d.ts +2 -0
- package/react/utils/themes/default.d.ts +2 -0
- package/react/utils/themes/index.d.ts +4 -0
- package/react/utils/themes/orion.d.ts +2 -0
- package/react/utils/themes/pinky.d.ts +2 -0
- package/react/utils/themes/radiant.d.ts +2 -0
- package/react/utils/themes/royale.d.ts +2 -0
- package/react/utils/themes/seasonal.d.ts +2 -0
- package/react/utils/themes/urban.d.ts +2 -0
- package/react/utils/themes/vivid.d.ts +2 -0
- package/react/utils/time/formats.const.d.ts +4 -0
- package/react/utils/time/period-over-period-condition.const.d.ts +8 -0
- package/react/utils/time/periods.const.d.ts +15 -0
- package/react/utils/transformations/convert-data-field-to-slot-content.d.ts +9 -0
- package/react/utils/transformations/convert-datasets-to-data-fields.d.ts +30 -0
- package/react/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +1 -0
- package/react/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +1 -0
- package/react/utils/types/tests/type-check.test.d.ts +1 -0
- package/react/utils/types/type-check.d.ts +28 -0
- package/types/dataset-data-field.types.d.ts +53 -0
- package/types/dataset.types.d.ts +27 -0
- package/types/slot.types.d.ts +15 -0
- package/types.d.ts +20 -0
- package/utils/base/base.d.ts +16 -0
- package/utils/base/focus-visible.d.ts +29 -0
- package/utils/base/focusable.d.ts +58 -0
- package/utils/base/index.d.ts +5 -0
- package/utils/base/localized-mixin.d.ts +22 -0
- package/utils/base/sized-mixin.d.ts +17 -0
- package/utils/color/color-palettes.d.ts +17 -0
- package/utils/color/extrapolate-color.d.ts +1 -0
- package/utils/data/load-data-fields-for-datasets.d.ts +22 -0
- package/utils/data-broker/index.d.ts +213 -0
- package/utils/data-field-types/calculate-data-field-icon.d.ts +12 -0
- package/utils/data-field-types/default-acceptable-data-field-types.d.ts +1 -0
- package/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +1 -0
- package/utils/drag/draggable.d.ts +13 -0
- package/utils/filters/expressions.d.ts +15 -0
- package/utils/filters/index.d.ts +1 -0
- package/utils/formatter/calculate-duration.d.ts +2 -0
- package/utils/formatter/decompose-numeric-format.d.ts +11 -0
- package/utils/formatter/default-local-formats.d.ts +20 -0
- package/utils/formatter/formats/cs.d.ts +20 -0
- package/utils/formatter/formats/da.d.ts +20 -0
- package/utils/formatter/formats/de.d.ts +21 -0
- package/utils/formatter/formats/en-GB.d.ts +21 -0
- package/utils/formatter/formats/en-US.d.ts +1 -0
- package/utils/formatter/formats/en.d.ts +1 -0
- package/utils/formatter/formats/es.d.ts +54 -0
- package/utils/formatter/formats/fi.d.ts +20 -0
- package/utils/formatter/formats/fr.d.ts +54 -0
- package/utils/formatter/formats/he.d.ts +20 -0
- package/utils/formatter/formats/hu.d.ts +20 -0
- package/utils/formatter/formats/it.d.ts +54 -0
- package/utils/formatter/formats/ja.d.ts +20 -0
- package/utils/formatter/formats/ko.d.ts +20 -0
- package/utils/formatter/formats/mk.d.ts +20 -0
- package/utils/formatter/formats/nl.d.ts +21 -0
- package/utils/formatter/formats/no.d.ts +21 -0
- package/utils/formatter/formats/pl.d.ts +20 -0
- package/utils/formatter/formats/pt.d.ts +20 -0
- package/utils/formatter/formats/ru.d.ts +20 -0
- package/utils/formatter/formats/sv.d.ts +20 -0
- package/utils/formatter/formats/tr.d.ts +21 -0
- package/utils/formatter/formats/zh-CN.d.ts +20 -0
- package/utils/formatter/formats/zh-TW.d.ts +20 -0
- package/utils/formatter/formatter.d.ts +9 -0
- package/utils/formatter/localize.d.ts +3 -0
- package/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
- package/utils/formatter/tests/calculate-duration.test.d.ts +1 -0
- package/utils/formatter/tests/decompose-numeric-format.test.d.ts +1 -0
- package/utils/formatter/tests/default-local-formats.test.d.ts +1 -0
- package/utils/formatter/tests/formatter.test.d.ts +1 -0
- package/utils/formatter/tests/localize.test.d.ts +1 -0
- package/utils/get-css-variable.d.ts +1 -0
- package/utils/index.d.ts +9 -0
- package/utils/localize/set-locale.d.ts +7 -0
- package/utils/map-tile-providers/index.d.ts +93 -0
- package/utils/slot-state/slot-context.d.ts +4 -0
- package/utils/slot-state/slot-store.d.ts +39 -0
- package/utils/store/base-store.d.ts +162 -0
- package/utils/store/dashboard-store.d.ts +49 -0
- package/utils/store/index.d.ts +135 -0
- package/utils/store/item-store.d.ts +33 -0
- package/utils/store/store-registry.d.ts +170 -0
- package/utils/store/tests/dashboard-store.test.d.ts +1 -0
- package/utils/store/tests/item-store.test.d.ts +1 -0
- package/utils/store/tests/store-registry.test.d.ts +1 -0
- package/utils/store/types.d.ts +270 -0
- package/utils/switch-item/index.d.ts +34 -0
- package/utils/switch-item/slot-role-classification.d.ts +31 -0
- package/utils/switch-item/stories/switch-item.stories.d.ts +17 -0
- package/utils/switch-item/tests/slot-role-classification.test.d.ts +1 -0
- package/utils/switch-item/tests/switch-item.test.d.ts +1 -0
- package/utils/themes/bliss.d.ts +2 -0
- package/utils/themes/classic-dark.d.ts +2 -0
- package/utils/themes/classic.d.ts +2 -0
- package/utils/themes/default-dark.d.ts +2 -0
- package/utils/themes/default.d.ts +2 -0
- package/utils/themes/index.d.ts +4 -0
- package/utils/themes/orion.d.ts +2 -0
- package/utils/themes/pinky.d.ts +2 -0
- package/utils/themes/radiant.d.ts +2 -0
- package/utils/themes/royale.d.ts +2 -0
- package/utils/themes/seasonal.d.ts +2 -0
- package/utils/themes/urban.d.ts +2 -0
- package/utils/themes/vivid.d.ts +2 -0
- package/utils/time/formats.const.d.ts +4 -0
- package/utils/time/period-over-period-condition.const.d.ts +8 -0
- package/utils/time/periods.const.d.ts +15 -0
- package/utils/transformations/convert-data-field-to-slot-content.d.ts +9 -0
- package/utils/transformations/convert-datasets-to-data-fields.d.ts +30 -0
- package/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +1 -0
- package/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +1 -0
- package/utils/types/tests/type-check.test.d.ts +1 -0
- package/utils/types/type-check.d.ts +28 -0
|
@@ -0,0 +1,1606 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
import { n as __decorate, t as LocalizedMixin } from "./localized-mixin-BMNoUdF8.js";
|
|
21
|
+
import { c as validateUuids } from "./type-check-BzMcgc41.js";
|
|
22
|
+
import { t as localize } from "./localize-CTTwlzBP.js";
|
|
23
|
+
import { t as dataBroker } from "./data-broker-Cq7Cgr4w.js";
|
|
24
|
+
import { n as DATETIME_LEVELS } from "./periods.const-CjJ_sJnT.js";
|
|
25
|
+
import { luzmoPlus, luzmoTrashOutline } from "@luzmo/icons";
|
|
26
|
+
import { html, unsafeCSS } from "lit";
|
|
27
|
+
import { property, state } from "lit/decorators.js";
|
|
28
|
+
import { localized, msg } from "@lit/localize";
|
|
29
|
+
import { repeat } from "lit/directives/repeat.js";
|
|
30
|
+
import "@luzmo/lucero/action-button";
|
|
31
|
+
import "@luzmo/lucero/field-label";
|
|
32
|
+
import "@luzmo/lucero/icon";
|
|
33
|
+
import "@luzmo/lucero/text-field";
|
|
34
|
+
import "@luzmo/lucero/number-field";
|
|
35
|
+
import "@luzmo/lucero/picker";
|
|
36
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
37
|
+
import "@luzmo/lucero/menu";
|
|
38
|
+
import "@luzmo/lucero/select";
|
|
39
|
+
import "@luzmo/lucero/button";
|
|
40
|
+
import { ElementSizes, LuzmoElement, SizedMixin } from "@luzmo/lucero/utils";
|
|
41
|
+
import "@luzmo/lucero/date-time-picker";
|
|
42
|
+
function isFilterGroup(d) {
|
|
43
|
+
return typeof d == "object" && !!d && "condition" in d && "filters" in d;
|
|
44
|
+
}
|
|
45
|
+
function isRecord(d) {
|
|
46
|
+
return typeof d == "object" && !!d && !Array.isArray(d);
|
|
47
|
+
}
|
|
48
|
+
function toItemFilterParameters(d) {
|
|
49
|
+
if (!Array.isArray(d) || d.length === 0) return [];
|
|
50
|
+
let L = isRecord(d[0]) ? d[0] : void 0, R = d.length > 1 ? d[1] : void 0;
|
|
51
|
+
return d.length > 1 ? [L, R] : [L];
|
|
52
|
+
}
|
|
53
|
+
function toItemFilter(d) {
|
|
54
|
+
return typeof d.expression != "string" || d.expression.length === 0 ? null : {
|
|
55
|
+
expression: d.expression,
|
|
56
|
+
parameters: toItemFilterParameters(d.parameters)
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function transformFilterGroup(d) {
|
|
60
|
+
if (!d || !d.filters) return {
|
|
61
|
+
condition: "and",
|
|
62
|
+
filters: [],
|
|
63
|
+
subGroups: []
|
|
64
|
+
};
|
|
65
|
+
let L = [], R = [];
|
|
66
|
+
for (let z of d.filters) if (isFilterGroup(z)) R.push(transformFilterGroup(z));
|
|
67
|
+
else {
|
|
68
|
+
let d = toItemFilter(z);
|
|
69
|
+
d && L.push(d);
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
condition: d.condition?.toLowerCase() === "or" ? "or" : "and",
|
|
73
|
+
filters: L,
|
|
74
|
+
subGroups: R
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function transformFilters(d) {
|
|
78
|
+
return d ? [transformFilterGroup(d)] : [];
|
|
79
|
+
}
|
|
80
|
+
function toEditFilterCondition(d) {
|
|
81
|
+
return {
|
|
82
|
+
expression: d.expression,
|
|
83
|
+
parameters: Array.isArray(d.parameters) ? [...d.parameters] : []
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function toEditFilterGroup(d) {
|
|
87
|
+
let L = d.subGroups ?? [];
|
|
88
|
+
return {
|
|
89
|
+
condition: d.condition === "or" ? "OR" : "AND",
|
|
90
|
+
filters: [...d.filters.map(toEditFilterCondition), ...L.map((d) => toEditFilterGroup(d))]
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function reverseTransformFilters(d) {
|
|
94
|
+
return !d || d.length === 0 ? [] : d.map((d) => toEditFilterGroup(d));
|
|
95
|
+
}
|
|
96
|
+
const filterExpressionsConfigurations = () => [
|
|
97
|
+
{
|
|
98
|
+
id: "? = ?",
|
|
99
|
+
key: "? = ?",
|
|
100
|
+
expression: "? = ?",
|
|
101
|
+
name: msg("equals", { desc: "Filter expression for equals comparison" }),
|
|
102
|
+
description: msg("equals", { desc: "Filter expression for equals comparison" }),
|
|
103
|
+
tiny: msg("eq", { desc: "Short form of equals comparison" }),
|
|
104
|
+
type: ["numeric", "hierarchy"],
|
|
105
|
+
subtype: ["ip_address"]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
id: "? != ?",
|
|
109
|
+
key: "? != ?",
|
|
110
|
+
expression: "? != ?",
|
|
111
|
+
name: msg("not equals", { desc: "Filter expression for not equals comparison" }),
|
|
112
|
+
description: msg("not equals", { desc: "Filter expression for not equals comparison" }),
|
|
113
|
+
tiny: msg("not eq", { desc: "Short form of not equals comparison" }),
|
|
114
|
+
type: ["numeric", "hierarchy"],
|
|
115
|
+
subtype: ["ip_address"]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
id: "? in ?",
|
|
119
|
+
key: "? in ?",
|
|
120
|
+
expression: "? in ?",
|
|
121
|
+
name: msg("is in", { desc: "Filter expression for in comparison" }),
|
|
122
|
+
description: msg("is in", { desc: "Filter expression for in comparison" }),
|
|
123
|
+
tiny: msg("is in", { desc: "Filter expression for in comparison" }),
|
|
124
|
+
type: ["numeric", "hierarchy"],
|
|
125
|
+
subtype: ["ip_address"]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
id: "? not in ?",
|
|
129
|
+
key: "? not in ?",
|
|
130
|
+
expression: "? not in ?",
|
|
131
|
+
name: msg("is not in", { desc: "Filter expression for not in comparison" }),
|
|
132
|
+
description: msg("is not in", { desc: "Filter expression for not in comparison" }),
|
|
133
|
+
tiny: msg("is not in", { desc: "Filter expression for not in comparison" }),
|
|
134
|
+
type: ["numeric", "hierarchy"],
|
|
135
|
+
subtype: ["ip_address"]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
id: "? like ?",
|
|
139
|
+
key: "? like ?",
|
|
140
|
+
expression: "? like ?",
|
|
141
|
+
name: msg("contains", { desc: "Filter expression for contains comparison" }),
|
|
142
|
+
description: msg("contains", { desc: "Filter expression for contains comparison" }),
|
|
143
|
+
tiny: msg("cont", { desc: "Short form of contains comparison in filter expression" }),
|
|
144
|
+
type: ["hierarchy"],
|
|
145
|
+
subtype: ["ip_address"]
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
id: "? not like ?",
|
|
149
|
+
key: "? not like ?",
|
|
150
|
+
expression: "? not like ?",
|
|
151
|
+
name: msg("does not contain", { desc: "Filter expression for does not contain comparison" }),
|
|
152
|
+
description: msg("does not contain", { desc: "Filter expression for does not contain comparison" }),
|
|
153
|
+
tiny: msg("not cont", { desc: "Short form of does not contain comparison in filter expression" }),
|
|
154
|
+
type: ["hierarchy"],
|
|
155
|
+
subtype: ["ip_address"]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
id: "? starts with ?",
|
|
159
|
+
key: "? starts with ?",
|
|
160
|
+
expression: "? starts with ?",
|
|
161
|
+
name: msg("starts with", { desc: "Filter expression for starts with comparison" }),
|
|
162
|
+
description: msg("starts with", { desc: "Filter expression for starts with comparison" }),
|
|
163
|
+
tiny: msg("starts with", { desc: "Filter expression for starts with comparison" }),
|
|
164
|
+
type: ["hierarchy"],
|
|
165
|
+
subtype: ["ip_address"]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
id: "? not starts with ?",
|
|
169
|
+
key: "? not starts with ?",
|
|
170
|
+
expression: "? not starts with ?",
|
|
171
|
+
name: msg("does not start with", { desc: "Filter expression for does not start with comparison" }),
|
|
172
|
+
description: msg("does not start with", { desc: "Filter expression for does not start with comparison" }),
|
|
173
|
+
tiny: msg("not starts with", { desc: "Short form of does not start with comparison in filter expression" }),
|
|
174
|
+
type: ["hierarchy"],
|
|
175
|
+
subtype: ["ip_address"]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
id: "? ends with ?",
|
|
179
|
+
key: "? ends with ?",
|
|
180
|
+
expression: "? ends with ?",
|
|
181
|
+
name: msg("ends with", { desc: "Filter expression for ends with comparison" }),
|
|
182
|
+
description: msg("ends with", { desc: "Filter expression for ends with comparison" }),
|
|
183
|
+
tiny: msg("ends with", { desc: "Filter expression for ends with comparison" }),
|
|
184
|
+
type: ["hierarchy"],
|
|
185
|
+
subtype: ["ip_address"]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
id: "? not ends with ?",
|
|
189
|
+
key: "? not ends with ?",
|
|
190
|
+
expression: "? not ends with ?",
|
|
191
|
+
name: msg("does not end with", { desc: "Filter expression for does not end with comparison" }),
|
|
192
|
+
description: msg("does not end with", { desc: "Filter expression for does not end with comparison" }),
|
|
193
|
+
tiny: msg("not ends with", { desc: "Short form of does not end with comparison in filter expression" }),
|
|
194
|
+
type: ["hierarchy"],
|
|
195
|
+
subtype: ["ip_address"]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
id: "? < ?",
|
|
199
|
+
key: "? < ?",
|
|
200
|
+
expression: "? < ?",
|
|
201
|
+
name: msg("less than", { desc: "Filter expression for less than comparison" }),
|
|
202
|
+
description: msg("less than", { desc: "Filter expression for less than comparison" }),
|
|
203
|
+
tiny: "<",
|
|
204
|
+
type: ["numeric", "datetime"],
|
|
205
|
+
subtype: ["ip_address"]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
id: "? <= ?",
|
|
209
|
+
key: "? <= ?",
|
|
210
|
+
expression: "? <= ?",
|
|
211
|
+
name: msg("less than or equal", { desc: "Filter expression for less than or equal comparison" }),
|
|
212
|
+
description: msg("less than or equal", { desc: "Filter expression for less than or equal comparison" }),
|
|
213
|
+
tiny: "<=",
|
|
214
|
+
type: ["numeric", "datetime"],
|
|
215
|
+
subtype: ["ip_address"]
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
id: "? > ?",
|
|
219
|
+
key: "? > ?",
|
|
220
|
+
expression: "? > ?",
|
|
221
|
+
name: msg("greater than", { desc: "Filter expression for greater than comparison" }),
|
|
222
|
+
description: msg("greater than", { desc: "Filter expression for greater than comparison" }),
|
|
223
|
+
tiny: ">",
|
|
224
|
+
type: ["numeric", "datetime"],
|
|
225
|
+
subtype: ["ip_address"]
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
id: "? >= ?",
|
|
229
|
+
key: "? >= ?",
|
|
230
|
+
expression: "? >= ?",
|
|
231
|
+
name: msg("greater than or equal", { desc: "Filter expression for greater than or equal comparison" }),
|
|
232
|
+
description: msg("greater than or equal", { desc: "Filter expression for greater than or equal comparison" }),
|
|
233
|
+
tiny: ">=",
|
|
234
|
+
type: ["numeric", "datetime"],
|
|
235
|
+
subtype: ["ip_address"]
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
id: "? between ?",
|
|
239
|
+
key: "? between ?",
|
|
240
|
+
expression: "? between ?",
|
|
241
|
+
name: msg("is between", { desc: "Filter expression for between comparison" }),
|
|
242
|
+
description: msg("is between", { desc: "Filter expression for between comparison" }),
|
|
243
|
+
tiny: msg("between", { desc: "Short form of between comparison in filter expression" }),
|
|
244
|
+
type: [],
|
|
245
|
+
subtype: ["ip_address"]
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
id: "last_now",
|
|
249
|
+
key: "last_now",
|
|
250
|
+
expression: "last_now",
|
|
251
|
+
name: msg("last (x) periods", { desc: "Filter expression for last (x) periods" }),
|
|
252
|
+
description: msg("last (x) periods", { desc: "Filter expression for last (x) periods" }),
|
|
253
|
+
tiny: msg("last", { desc: "Short form of last (x) periods in filter expression" }),
|
|
254
|
+
type: ["datetime"]
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
id: "last_available",
|
|
258
|
+
key: "last_available",
|
|
259
|
+
expression: "last_available",
|
|
260
|
+
name: msg("last (x) available periods", { desc: "Filter expression for last (x) available periods" }),
|
|
261
|
+
description: msg("last (x) available periods", { desc: "Filter expression for last (x) available periods" }),
|
|
262
|
+
tiny: msg("last available", { desc: "Short form of last (x) available periods in filter expression" }),
|
|
263
|
+
type: ["datetime"]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
id: "last_completed",
|
|
267
|
+
key: "last_completed",
|
|
268
|
+
expression: "last_completed",
|
|
269
|
+
name: msg("last completed period", { desc: "Filter expression for last completed period" }),
|
|
270
|
+
description: msg("last completed (period)", { desc: "Filter expression for last completed period" }),
|
|
271
|
+
tiny: msg("last completed", { desc: "Short form of last completed period in filter expression" }),
|
|
272
|
+
type: ["datetime"]
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
id: "next_now",
|
|
276
|
+
key: "next_now",
|
|
277
|
+
expression: "next_now",
|
|
278
|
+
name: msg("next (x) periods", { desc: "Filter expression for next (x) periods" }),
|
|
279
|
+
description: msg("next (x) periods", { desc: "Filter expression for next (x) periods" }),
|
|
280
|
+
tiny: msg("next", { desc: "Short form of next (x) periods in filter expression" }),
|
|
281
|
+
type: ["datetime"]
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
id: "more_than_ago",
|
|
285
|
+
key: "more_than_ago",
|
|
286
|
+
expression: "more_than_ago",
|
|
287
|
+
name: msg("more than (x) periods ago", { desc: "Filter expression for more than (x) periods ago" }),
|
|
288
|
+
description: msg("more than (x) periods ago", { desc: "Filter expression for more than (x) periods ago" }),
|
|
289
|
+
tiny: msg("more than ago", { desc: "Short form of more than (x) periods ago in filter expression" }),
|
|
290
|
+
type: ["datetime"]
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
id: "or_more_ago",
|
|
294
|
+
key: "or_more_ago",
|
|
295
|
+
expression: "or_more_ago",
|
|
296
|
+
name: msg("(x) periods or more ago", { desc: "Filter expression for (x) periods or more ago" }),
|
|
297
|
+
description: msg("(x) periods or more ago", { desc: "Filter expression for (x) periods or more ago" }),
|
|
298
|
+
tiny: msg("or more ago", { desc: "Short form of (x) periods or more ago in filter expression" }),
|
|
299
|
+
type: ["datetime"]
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
id: "next_full",
|
|
303
|
+
key: "next_full",
|
|
304
|
+
expression: "next_full",
|
|
305
|
+
name: msg("next full (period)", { desc: "Filter expression for next full period" }),
|
|
306
|
+
description: msg("next full (period)", { desc: "Filter expression for next full period" }),
|
|
307
|
+
tiny: msg("next full", { desc: "Short form of next full period in filter expression" }),
|
|
308
|
+
type: ["datetime"]
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
id: "WTD",
|
|
312
|
+
key: "to_date",
|
|
313
|
+
expression: "to_date",
|
|
314
|
+
unit: 4,
|
|
315
|
+
name: msg("week to date", { desc: "Filter expression for week to date" }),
|
|
316
|
+
description: msg("week to date", { desc: "Filter expression for week to date" }),
|
|
317
|
+
tiny: msg("WTD", { desc: "Short form of week to date in filter expression" }),
|
|
318
|
+
type: ["datetime"]
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
id: "MTD",
|
|
322
|
+
key: "to_date",
|
|
323
|
+
expression: "to_date",
|
|
324
|
+
unit: 3,
|
|
325
|
+
name: msg("month to date", { desc: "Filter expression for month to date" }),
|
|
326
|
+
description: msg("month to date", { desc: "Filter expression for month to date" }),
|
|
327
|
+
tiny: msg("MTD", { desc: "Short form of month to date in filter expression" }),
|
|
328
|
+
type: ["datetime"]
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
id: "QTD",
|
|
332
|
+
key: "to_date",
|
|
333
|
+
expression: "to_date",
|
|
334
|
+
unit: 2,
|
|
335
|
+
name: msg("quarter to date", { desc: "Filter expression for quarter to date" }),
|
|
336
|
+
description: msg("quarter to date", { desc: "Filter expression for quarter to date" }),
|
|
337
|
+
tiny: msg("QTD", { desc: "Short form of quarter to date in filter expression" }),
|
|
338
|
+
type: ["datetime"]
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
id: "YTD",
|
|
342
|
+
key: "to_date",
|
|
343
|
+
expression: "to_date",
|
|
344
|
+
unit: 1,
|
|
345
|
+
name: msg("year to date", { desc: "Filter expression for year to date" }),
|
|
346
|
+
description: msg("year to date", { desc: "Filter expression for year to date" }),
|
|
347
|
+
tiny: msg("YTD", { desc: "Short form of year to date in filter expression" }),
|
|
348
|
+
type: ["datetime"]
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
id: "? is null",
|
|
352
|
+
key: "? is null",
|
|
353
|
+
expression: "? is null",
|
|
354
|
+
name: msg("is missing", { desc: "Filter expression for is missing" }),
|
|
355
|
+
description: msg("is missing", { desc: "Filter expression for is missing" }),
|
|
356
|
+
tiny: msg("missing", { desc: "Short form of is missing in filter expression" }),
|
|
357
|
+
type: [
|
|
358
|
+
"numeric",
|
|
359
|
+
"datetime",
|
|
360
|
+
"hierarchy",
|
|
361
|
+
"spatial"
|
|
362
|
+
],
|
|
363
|
+
subtype: ["ip_address"]
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
id: "? is not null",
|
|
367
|
+
key: "? is not null",
|
|
368
|
+
expression: "? is not null",
|
|
369
|
+
name: msg("is not missing", { desc: "Filter expression for is not missing" }),
|
|
370
|
+
description: msg("is not missing", { desc: "Filter expression for is not missing" }),
|
|
371
|
+
tiny: msg("not missing", { desc: "Short form of is not missing in filter expression" }),
|
|
372
|
+
type: [
|
|
373
|
+
"numeric",
|
|
374
|
+
"datetime",
|
|
375
|
+
"hierarchy",
|
|
376
|
+
"spatial"
|
|
377
|
+
],
|
|
378
|
+
subtype: ["ip_address"]
|
|
379
|
+
}
|
|
380
|
+
], getValidExpressions = (d, L, R) => {
|
|
381
|
+
let z = new Set(["? in ?", "? not in ?"]);
|
|
382
|
+
return !d && !L ? filterExpressionsConfigurations() : filterExpressionsConfigurations().filter((B) => (d && B.type.includes(d) || L && B.subtype?.includes(L)) && !(R && z.has(B.key)));
|
|
383
|
+
};
|
|
384
|
+
var filter_expression_picker_module_default = ":host{font-family:var(--luzmo-font-family);--var:blue}", LuzmoFilterExpressionPicker = class extends LocalizedMixin(SizedMixin(LuzmoElement, { validSizes: Object.values(ElementSizes) })) {
|
|
385
|
+
constructor(...d) {
|
|
386
|
+
super(...d), this.hasLabel = !1, this.allowEmpty = !1, this.placeholder = "", this.disabled = !1, this.invalid = !1, this.isFormula = !1, this._expressionConfigurations = filterExpressionsConfigurations();
|
|
387
|
+
}
|
|
388
|
+
static get styles() {
|
|
389
|
+
return [unsafeCSS(filter_expression_picker_module_default)];
|
|
390
|
+
}
|
|
391
|
+
_sendChangeEvent() {
|
|
392
|
+
if (this.disabled) return;
|
|
393
|
+
let d = { expression: this.filter?.expression };
|
|
394
|
+
this.filter?.parameters?.[1]?.unit && (d.unit = this.filter?.parameters?.[1]?.unit), this.dispatchEvent(new CustomEvent("luzmo-expression-selected", {
|
|
395
|
+
bubbles: !0,
|
|
396
|
+
composed: !0,
|
|
397
|
+
cancelable: !0,
|
|
398
|
+
detail: d
|
|
399
|
+
}));
|
|
400
|
+
}
|
|
401
|
+
setExpression(d) {
|
|
402
|
+
this._richExpression = d?.detail?.value?.[0];
|
|
403
|
+
let L = this._expressionConfigurations.find((d) => d.id === this._richExpression), R = structuredClone(this.filter);
|
|
404
|
+
R.expression = L?.expression, L?.unit && (this._unit = L.unit, R?.parameters[0] && (R.parameters[1] = { unit: this._unit })), this.filter = R, this._sendChangeEvent();
|
|
405
|
+
}
|
|
406
|
+
willUpdate(d) {
|
|
407
|
+
super.willUpdate(d);
|
|
408
|
+
let L = d.has("filter"), R = d.has("type"), z = d.has("subtype"), B = d.has("isFormula"), V = getValidExpressions(this.type, this.subtype, this.isFormula), H = [
|
|
409
|
+
"YTD",
|
|
410
|
+
"QTD",
|
|
411
|
+
"MTD",
|
|
412
|
+
"WTD"
|
|
413
|
+
];
|
|
414
|
+
if (this.filter?.expression === "to_date") {
|
|
415
|
+
let d = this.filter?.parameters[1]?.unit ?? 1;
|
|
416
|
+
this._unit = d, this._richExpression = H[d - 1] ?? "YTD";
|
|
417
|
+
} else this._richExpression = this.filter?.expression;
|
|
418
|
+
(R || z || B || L) && this.filter && !this.disabled && !V?.find((d) => d.expression === this.filter?.expression) ? (this.invalid = !0, console.warn(`Warning: ${this.filter?.expression} is not valid given the type: ${this.type} and subtype: ${this.subtype}`)) : this.invalid = !1, !this.filter?.expression && !this.allowEmpty && (this._richExpression = V?.[0]?.id, this.filter = {
|
|
419
|
+
...this.filter,
|
|
420
|
+
expression: this._richExpression
|
|
421
|
+
}, this._sendChangeEvent());
|
|
422
|
+
}
|
|
423
|
+
render() {
|
|
424
|
+
let d = getValidExpressions(this.type, this.subtype, this.isFormula)?.map((d) => ({
|
|
425
|
+
value: d.id,
|
|
426
|
+
label: d.description,
|
|
427
|
+
shortLabel: d.tiny
|
|
428
|
+
})), L = this.disabled || !this.filter?.expression && !this.allowEmpty, R = html`<luzmo-field-label
|
|
429
|
+
for="expression"
|
|
430
|
+
size=${this.size}
|
|
431
|
+
>${this.label ?? msg("Select an expression", { desc: "Label for expression picker" })}</luzmo-field-label
|
|
432
|
+
>`, z = this.hasLabel ? this.placeholder ?? msg("Select...") : this.placeholder || this.label || msg("Filter expression", { desc: "Accessible label for expression picker" });
|
|
433
|
+
return html`${this.hasLabel ? R : ""}
|
|
434
|
+
<luzmo-select
|
|
435
|
+
label=${z}
|
|
436
|
+
id="expression"
|
|
437
|
+
size=${this.size}
|
|
438
|
+
variant="highlight"
|
|
439
|
+
selects="single"
|
|
440
|
+
.language=${this.language}
|
|
441
|
+
?disabled=${L}
|
|
442
|
+
?invalid=${this.invalid}
|
|
443
|
+
.options=${d}
|
|
444
|
+
.value=${[this._richExpression]}
|
|
445
|
+
@change=${this.setExpression}
|
|
446
|
+
>
|
|
447
|
+
</luzmo-select>`;
|
|
448
|
+
}
|
|
449
|
+
};
|
|
450
|
+
__decorate([property({
|
|
451
|
+
type: String,
|
|
452
|
+
reflect: !0
|
|
453
|
+
})], LuzmoFilterExpressionPicker.prototype, "filter", void 0), __decorate([property({
|
|
454
|
+
type: Boolean,
|
|
455
|
+
attribute: "has-label",
|
|
456
|
+
reflect: !0
|
|
457
|
+
})], LuzmoFilterExpressionPicker.prototype, "hasLabel", void 0), __decorate([property({
|
|
458
|
+
type: String,
|
|
459
|
+
reflect: !0
|
|
460
|
+
})], LuzmoFilterExpressionPicker.prototype, "label", void 0), __decorate([property({
|
|
461
|
+
type: Boolean,
|
|
462
|
+
attribute: "allow-empty",
|
|
463
|
+
reflect: !0
|
|
464
|
+
})], LuzmoFilterExpressionPicker.prototype, "allowEmpty", void 0), __decorate([property({
|
|
465
|
+
type: String,
|
|
466
|
+
attribute: "placeholder",
|
|
467
|
+
reflect: !0
|
|
468
|
+
})], LuzmoFilterExpressionPicker.prototype, "placeholder", void 0), __decorate([property({
|
|
469
|
+
type: Boolean,
|
|
470
|
+
attribute: "disabled",
|
|
471
|
+
reflect: !0
|
|
472
|
+
})], LuzmoFilterExpressionPicker.prototype, "disabled", void 0), __decorate([property({
|
|
473
|
+
type: String,
|
|
474
|
+
attribute: "type",
|
|
475
|
+
reflect: !0
|
|
476
|
+
})], LuzmoFilterExpressionPicker.prototype, "type", void 0), __decorate([property({
|
|
477
|
+
type: String,
|
|
478
|
+
attribute: "subtype",
|
|
479
|
+
reflect: !0
|
|
480
|
+
})], LuzmoFilterExpressionPicker.prototype, "subtype", void 0), __decorate([property({
|
|
481
|
+
type: Boolean,
|
|
482
|
+
attribute: "invalid",
|
|
483
|
+
reflect: !0
|
|
484
|
+
})], LuzmoFilterExpressionPicker.prototype, "invalid", void 0), __decorate([property({
|
|
485
|
+
type: Boolean,
|
|
486
|
+
attribute: "is-formula",
|
|
487
|
+
reflect: !0
|
|
488
|
+
})], LuzmoFilterExpressionPicker.prototype, "isFormula", void 0), __decorate([state()], LuzmoFilterExpressionPicker.prototype, "_richExpression", void 0), __decorate([state()], LuzmoFilterExpressionPicker.prototype, "_unit", void 0), LuzmoFilterExpressionPicker = __decorate([localized()], LuzmoFilterExpressionPicker), customElements.get("luzmo-filter-expression-picker") || customElements.define("luzmo-filter-expression-picker", LuzmoFilterExpressionPicker);
|
|
489
|
+
var filter_value_picker_module_default = ":host{--var:blue}", filter_value_picker_datetime_module_default = ":host{gap:var(--luzmo-filter-value-picker-datetime-gap,var(--filter-value-picker-datetime-gap));--filter-value-picker-datetime-gap:var(--luzmo-spacing-3);flex-direction:row;flex-shrink:1;min-width:0;display:flex}:host([size=s]){--filter-value-picker-datetime-gap:var(--luzmo-spacing-2)}:host([size=m]){--filter-value-picker-datetime-gap:var(--luzmo-spacing-3)}:host([size=l]){--filter-value-picker-datetime-gap:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1))}:host([size=xl]){--filter-value-picker-datetime-gap:var(--luzmo-spacing-4)}", LuzmoFilterValuePickerDatetime = class extends LocalizedMixin(SizedMixin(LuzmoElement, { validSizes: Object.values(ElementSizes) })) {
|
|
490
|
+
constructor(...d) {
|
|
491
|
+
super(...d), this.contentLanguage = "en";
|
|
492
|
+
}
|
|
493
|
+
static get styles() {
|
|
494
|
+
return [unsafeCSS(filter_value_picker_datetime_module_default)];
|
|
495
|
+
}
|
|
496
|
+
willUpdate(d) {
|
|
497
|
+
super.willUpdate(d), d.get("filter") && ([
|
|
498
|
+
"last_now",
|
|
499
|
+
"last_available",
|
|
500
|
+
"next_now",
|
|
501
|
+
"more_than_ago",
|
|
502
|
+
"or_more_ago"
|
|
503
|
+
].includes(this.filter?.expression) ? this.filter.parameters[1] = {
|
|
504
|
+
quantity: this.filter?.parameters?.[1]?.quantity ?? 1,
|
|
505
|
+
unit: this.filter?.parameters?.[1]?.unit ?? 1
|
|
506
|
+
} : [
|
|
507
|
+
"last_completed",
|
|
508
|
+
"next_full",
|
|
509
|
+
"to_date"
|
|
510
|
+
].includes(this.filter?.expression) ? this.filter.parameters[1] = { unit: this.filter?.parameters?.[1]?.unit ?? 1 } : this.filter.parameters[1] = typeof this.filter.parameters[1] == "string" ? this.filter.parameters[1] : (/* @__PURE__ */ new Date()).toISOString());
|
|
511
|
+
}
|
|
512
|
+
_sendChangeEvent() {
|
|
513
|
+
this.filter.parameters = [{ ...this.filter?.parameters?.[0] }, this._value], this.dispatchEvent(new CustomEvent("luzmo-filter-value-changed", {
|
|
514
|
+
bubbles: !0,
|
|
515
|
+
composed: !0,
|
|
516
|
+
cancelable: !0,
|
|
517
|
+
detail: { value: this._value }
|
|
518
|
+
}));
|
|
519
|
+
}
|
|
520
|
+
setDate(d) {
|
|
521
|
+
this._value = d.detail.value, this._value !== this.filter?.parameters?.[1] && this._sendChangeEvent();
|
|
522
|
+
}
|
|
523
|
+
setUnit(d) {
|
|
524
|
+
let L = DATETIME_LEVELS.find((L) => L.key === d?.target?.value)?.level;
|
|
525
|
+
this.filter?.parameters?.[1]?.unit !== L && (this._value = {
|
|
526
|
+
unit: L ?? 1,
|
|
527
|
+
quantity: this.filter?.parameters?.[1]?.quantity ?? 1
|
|
528
|
+
}, this._sendChangeEvent());
|
|
529
|
+
}
|
|
530
|
+
setQuantity(d) {
|
|
531
|
+
let L = d?.target?.value;
|
|
532
|
+
this.filter?.parameters?.[1]?.quantity !== L && (this._value = {
|
|
533
|
+
quantity: L,
|
|
534
|
+
unit: this.filter?.parameters?.[1]?.unit ?? 1
|
|
535
|
+
}, this._sendChangeEvent());
|
|
536
|
+
}
|
|
537
|
+
renderDatePicker() {
|
|
538
|
+
let d = "second";
|
|
539
|
+
return this.filter?.parameters?.[0]?.lowestLevel > 4 && (d = this.filter?.parameters?.[0]?.lowestLevel === 5 ? "day" : this.filter?.parameters?.[0]?.lowestLevel === 6 ? "hour" : this.filter?.parameters?.[0]?.lowestLevel === 7 ? "minute" : "second"), html`<luzmo-date-time-picker
|
|
540
|
+
aria-label=${msg("Filter date", { desc: "Aria label for filter date picker" })}
|
|
541
|
+
.size=${this.size}
|
|
542
|
+
.precision=${d}
|
|
543
|
+
.timeZone=${this.timeZone}
|
|
544
|
+
@change=${this.setDate}
|
|
545
|
+
.value=${this.filter?.parameters?.[1]}
|
|
546
|
+
></luzmo-date-time-picker>`;
|
|
547
|
+
}
|
|
548
|
+
renderQuantityField() {
|
|
549
|
+
return html`<luzmo-number-field
|
|
550
|
+
label=${msg("Quantity", { desc: "Label for quantity number field" })}
|
|
551
|
+
.size=${this.size}
|
|
552
|
+
.value=${this.filter?.parameters?.[1]?.quantity}
|
|
553
|
+
@input=${this.setQuantity}
|
|
554
|
+
@change=${this.setQuantity}
|
|
555
|
+
></luzmo-number-field>`;
|
|
556
|
+
}
|
|
557
|
+
renderUnitPicker() {
|
|
558
|
+
let d = DATETIME_LEVELS.map((d) => html`<luzmo-menu-item .value=${d.key}>
|
|
559
|
+
${d.i18n()}
|
|
560
|
+
</luzmo-menu-item>`), L = DATETIME_LEVELS.find((d) => d.level === this.filter?.parameters?.[1]?.unit)?.key ?? DATETIME_LEVELS?.[0]?.key;
|
|
561
|
+
return html`<luzmo-picker
|
|
562
|
+
.label=${msg("Time unit", { desc: "Aria label for time unit picker" })}
|
|
563
|
+
.size=${this.size}
|
|
564
|
+
.value=${L}
|
|
565
|
+
@change=${this.setUnit}
|
|
566
|
+
variant="highlight"
|
|
567
|
+
>${d}</luzmo-picker
|
|
568
|
+
>`;
|
|
569
|
+
}
|
|
570
|
+
render() {
|
|
571
|
+
let d = this.filter?.expression;
|
|
572
|
+
return [
|
|
573
|
+
"last_now",
|
|
574
|
+
"last_available",
|
|
575
|
+
"next_now",
|
|
576
|
+
"more_than_ago",
|
|
577
|
+
"or_more_ago"
|
|
578
|
+
].includes(d) ? html`${this.renderQuantityField()}${this.renderUnitPicker()}` : ["last_completed", "next_full"].includes(d) ? this.renderUnitPicker() : this.renderDatePicker();
|
|
579
|
+
}
|
|
580
|
+
};
|
|
581
|
+
__decorate([property({
|
|
582
|
+
type: String,
|
|
583
|
+
attribute: "content-language",
|
|
584
|
+
reflect: !0
|
|
585
|
+
})], LuzmoFilterValuePickerDatetime.prototype, "contentLanguage", void 0), __decorate([property({
|
|
586
|
+
type: String,
|
|
587
|
+
attribute: "time-zone",
|
|
588
|
+
reflect: !0
|
|
589
|
+
})], LuzmoFilterValuePickerDatetime.prototype, "timeZone", void 0), __decorate([property({
|
|
590
|
+
type: Object,
|
|
591
|
+
reflect: !1
|
|
592
|
+
})], LuzmoFilterValuePickerDatetime.prototype, "filter", void 0), LuzmoFilterValuePickerDatetime = __decorate([localized()], LuzmoFilterValuePickerDatetime), customElements.get("luzmo-filter-value-picker-datetime") || customElements.define("luzmo-filter-value-picker-datetime", LuzmoFilterValuePickerDatetime);
|
|
593
|
+
var filter_value_picker_hierarchy_module_default = ".missing-value{color:var(--luzmo-filter-value-picker-hierarchy-missing-value-color,#767676)}:host{--var:blue}", LIMIT_OF_VALUES_PER_FETCH$1 = 5e3, LuzmoFilterValuePickerHierarchy = class extends LocalizedMixin(SizedMixin(LuzmoElement, { validSizes: Object.values(ElementSizes) })) {
|
|
594
|
+
constructor(...d) {
|
|
595
|
+
super(...d), this.contentLanguage = "en", this._hierarchyValues = [], this._retrieving = !0, this._search = "", this._error = null, this._allValuesRetrieved = !1, this._runningQueries = [];
|
|
596
|
+
}
|
|
597
|
+
static get styles() {
|
|
598
|
+
return [unsafeCSS(filter_value_picker_hierarchy_module_default)];
|
|
599
|
+
}
|
|
600
|
+
connectedCallback() {
|
|
601
|
+
super.connectedCallback();
|
|
602
|
+
let d = {};
|
|
603
|
+
this.apiUrl && (d.apiUrl = this.apiUrl), this.cacheTime && (d.staleTime = this.cacheTime, d.gcTime = this.cacheTime * 2), this.authKey && this.authToken && (d.authKey = this.authKey, d.authToken = this.authToken), dataBroker.configure(d);
|
|
604
|
+
}
|
|
605
|
+
willUpdate(d) {
|
|
606
|
+
if (super.willUpdate(d), d.has("filter") && this.filter) {
|
|
607
|
+
let L = d.get("filter")?.expression;
|
|
608
|
+
(d.get("filter")?.parameters?.[0]?.columnId || d.get("filter")?.parameters?.[0]?.formulaId) !== (this.filter?.parameters?.[0]?.columnId || this.filter?.parameters?.[0]?.formulaId) && ([
|
|
609
|
+
"? in ?",
|
|
610
|
+
"? not in ?",
|
|
611
|
+
"? = ?",
|
|
612
|
+
"? != ?"
|
|
613
|
+
].includes(this.filter?.expression) || ![
|
|
614
|
+
"? in ?",
|
|
615
|
+
"? not in ?",
|
|
616
|
+
"? = ?",
|
|
617
|
+
"? != ?"
|
|
618
|
+
].includes(L)) && (this._hierarchyValues = [], this._allValuesRetrieved = !1, this._retrieving = !0);
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
async _fetchHierarchyValues(d = 0) {
|
|
622
|
+
if (this._allValuesRetrieved) {
|
|
623
|
+
this._retrieving = !1;
|
|
624
|
+
return;
|
|
625
|
+
}
|
|
626
|
+
if (!this.filter?.parameters?.[0]) {
|
|
627
|
+
this._retrieving = !1, this._error = "Missing column parameters";
|
|
628
|
+
return;
|
|
629
|
+
}
|
|
630
|
+
let L = this.filter.parameters[0], R = L.columnId, z = L.formulaId, V = L.datasetId;
|
|
631
|
+
if (!R && !z) {
|
|
632
|
+
this._retrieving = !1, this._error = "Missing column id or formula id";
|
|
633
|
+
return;
|
|
634
|
+
} else if (!V) {
|
|
635
|
+
this._retrieving = !1, this._error = "Missing dataset id";
|
|
636
|
+
return;
|
|
637
|
+
}
|
|
638
|
+
this._retrieving = !0, this._error = null;
|
|
639
|
+
let H = {
|
|
640
|
+
expression: "? like ?",
|
|
641
|
+
parameters: [{
|
|
642
|
+
column_id: R,
|
|
643
|
+
formula_id: z,
|
|
644
|
+
dataset_id: V
|
|
645
|
+
}, this._search]
|
|
646
|
+
}, U = {
|
|
647
|
+
dimensions: [{
|
|
648
|
+
column_id: R,
|
|
649
|
+
formula_id: z,
|
|
650
|
+
dataset_id: V
|
|
651
|
+
}],
|
|
652
|
+
where: [],
|
|
653
|
+
order: [{
|
|
654
|
+
column_id: R,
|
|
655
|
+
formula_id: z,
|
|
656
|
+
dataset_id: V,
|
|
657
|
+
order: "asc"
|
|
658
|
+
}],
|
|
659
|
+
limit: {
|
|
660
|
+
by: LIMIT_OF_VALUES_PER_FETCH$1,
|
|
661
|
+
offset: d
|
|
662
|
+
}
|
|
663
|
+
};
|
|
664
|
+
this._search && this._allValuesRetrieved && U.where.push(H);
|
|
665
|
+
let W = new AbortController(), G = new Promise((d, L) => {
|
|
666
|
+
dataBroker.fetchData(U).then(d).catch(L), W.signal.addEventListener("abort", () => {
|
|
667
|
+
console.warn("Request aborted"), L({ status: "aborted" });
|
|
668
|
+
});
|
|
669
|
+
}), K = {
|
|
670
|
+
promise: G,
|
|
671
|
+
abortController: W
|
|
672
|
+
};
|
|
673
|
+
this._runningQueries.push(K);
|
|
674
|
+
try {
|
|
675
|
+
let L = await G, R = L && Array.isArray(L.data) ? L.data.map((d) => d[0]) : [];
|
|
676
|
+
this._search || (this._allValuesRetrieved = R.length < LIMIT_OF_VALUES_PER_FETCH$1), this._hierarchyValues = d > 0 ? [...this._hierarchyValues, ...R] : R;
|
|
677
|
+
} catch (d) {
|
|
678
|
+
if (d?.status === "aborted") return;
|
|
679
|
+
this._error = d instanceof Error ? d.message : "Unknown error", this._hierarchyValues = [];
|
|
680
|
+
} finally {
|
|
681
|
+
this._runningQueries = this._runningQueries.filter((d) => d.promise !== G), this._retrieving = !1;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
_sendChangeEvent() {
|
|
685
|
+
this.dispatchEvent(new CustomEvent("luzmo-filter-value-changed", {
|
|
686
|
+
bubbles: !0,
|
|
687
|
+
composed: !0,
|
|
688
|
+
cancelable: !0,
|
|
689
|
+
detail: { value: this._value }
|
|
690
|
+
}));
|
|
691
|
+
}
|
|
692
|
+
setHierarchy(d) {
|
|
693
|
+
let L;
|
|
694
|
+
L = ["? in ?", "? not in ?"].includes(this.filter?.expression) ? d?.detail?.value : ["? = ?", "? != ?"].includes(this.filter?.expression) ? d?.detail?.value?.[0] : d?.target?.value, this._value !== L && (this._value = L, this.filter = {
|
|
695
|
+
...this.filter,
|
|
696
|
+
parameters: [{ ...this.filter?.parameters?.[0] }, this._value]
|
|
697
|
+
}, this._sendChangeEvent());
|
|
698
|
+
}
|
|
699
|
+
onScrolled(d) {
|
|
700
|
+
!this._retrieving && !this._allValuesRetrieved && d?.detail?.last === this._hierarchyValues.length - 1 && this._fetchHierarchyValues(this._hierarchyValues.length);
|
|
701
|
+
}
|
|
702
|
+
renderTextField() {
|
|
703
|
+
return html`<luzmo-text-field
|
|
704
|
+
label=${msg("Filter value", { desc: "Label for filter value text field" })}
|
|
705
|
+
.size=${this.size}
|
|
706
|
+
@change=${this.setHierarchy}
|
|
707
|
+
@input=${this.setHierarchy}
|
|
708
|
+
.value=${this.filter?.parameters?.[1] ?? ""}
|
|
709
|
+
></luzmo-text-field>`;
|
|
710
|
+
}
|
|
711
|
+
setSearchString(d) {
|
|
712
|
+
this._search = d?.detail?.string ?? "", this._allValuesRetrieved || (this._searchQueryTimeout && (this._runningQueries.forEach((d) => {
|
|
713
|
+
d?.abortController && d.abortController.abort();
|
|
714
|
+
}), this._runningQueries = [], clearTimeout(this._searchQueryTimeout)), this._searchQueryTimeout = setTimeout(() => {
|
|
715
|
+
this._fetchHierarchyValues();
|
|
716
|
+
}, 500));
|
|
717
|
+
}
|
|
718
|
+
resetSearchString() {
|
|
719
|
+
this._search = "";
|
|
720
|
+
}
|
|
721
|
+
onOpened() {
|
|
722
|
+
this._fetchHierarchyValues();
|
|
723
|
+
}
|
|
724
|
+
renderHierarchyPicker() {
|
|
725
|
+
if (this._error) return html`<div class="error" role="alert">Error: ${this._error}</div>`;
|
|
726
|
+
let d = (this._search ? this._hierarchyValues.filter((d) => localize(d.name, this.contentLanguage, { allowEmpty: !0 })?.toLowerCase().includes(this._search.toLowerCase()) || d.toString().toLowerCase().includes(this._search.toLowerCase())) : this._hierarchyValues).map((d) => {
|
|
727
|
+
let L = localize(d?.name, this.contentLanguage) ?? "N/A";
|
|
728
|
+
return typeof L != "string" && (L = "N/A"), {
|
|
729
|
+
value: d?.id,
|
|
730
|
+
label: L
|
|
731
|
+
};
|
|
732
|
+
}), L = this.filter?.expression, R = ["? = ?", "? != ?"].includes(L), B = msg("Selected {count} items"), V = msg("Search"), H = msg("No data"), U = msg("No results"), G = msg("Select...");
|
|
733
|
+
return html`<luzmo-select
|
|
734
|
+
.size=${this.size}
|
|
735
|
+
.label=${G}
|
|
736
|
+
.retrieving=${this._retrieving}
|
|
737
|
+
.selects=${R ? "single" : "multiple"}
|
|
738
|
+
.variant=${R ? "highlight" : "checkboxes"}
|
|
739
|
+
emphasized
|
|
740
|
+
no-wrap
|
|
741
|
+
?invalid=${!!this._error}
|
|
742
|
+
.multipleLabelTemplate=${B}
|
|
743
|
+
.searchLabel=${V}
|
|
744
|
+
.noDataLabel=${H}
|
|
745
|
+
.noResultsLabel=${U}
|
|
746
|
+
@change=${this.setHierarchy}
|
|
747
|
+
@luzmo-search=${this.setSearchString}
|
|
748
|
+
@luzmo-opened=${this.onOpened}
|
|
749
|
+
@luzmo-closed=${this.resetSearchString}
|
|
750
|
+
@luzmo-scrolled=${this.onScrolled}
|
|
751
|
+
.options=${d}
|
|
752
|
+
.value=${R ? [this.filter?.parameters?.[1]] : this.filter?.parameters?.[1]}
|
|
753
|
+
>
|
|
754
|
+
</luzmo-select>`;
|
|
755
|
+
}
|
|
756
|
+
render() {
|
|
757
|
+
let d = this.filter?.expression;
|
|
758
|
+
return [
|
|
759
|
+
"? in ?",
|
|
760
|
+
"? not in ?",
|
|
761
|
+
"? = ?",
|
|
762
|
+
"? != ?"
|
|
763
|
+
].includes(d) ? this.renderHierarchyPicker() : this.renderTextField();
|
|
764
|
+
}
|
|
765
|
+
};
|
|
766
|
+
__decorate([property({
|
|
767
|
+
type: String,
|
|
768
|
+
attribute: "api-url",
|
|
769
|
+
reflect: !0
|
|
770
|
+
})], LuzmoFilterValuePickerHierarchy.prototype, "apiUrl", void 0), __decorate([property({
|
|
771
|
+
type: String,
|
|
772
|
+
attribute: "auth-key",
|
|
773
|
+
reflect: !0
|
|
774
|
+
})], LuzmoFilterValuePickerHierarchy.prototype, "authKey", void 0), __decorate([property({
|
|
775
|
+
type: String,
|
|
776
|
+
attribute: "auth-token",
|
|
777
|
+
reflect: !0
|
|
778
|
+
})], LuzmoFilterValuePickerHierarchy.prototype, "authToken", void 0), __decorate([property({
|
|
779
|
+
type: Number,
|
|
780
|
+
attribute: "cache-time",
|
|
781
|
+
reflect: !0
|
|
782
|
+
})], LuzmoFilterValuePickerHierarchy.prototype, "cacheTime", void 0), __decorate([property({
|
|
783
|
+
type: String,
|
|
784
|
+
attribute: "content-language",
|
|
785
|
+
reflect: !0
|
|
786
|
+
})], LuzmoFilterValuePickerHierarchy.prototype, "contentLanguage", void 0), __decorate([property({
|
|
787
|
+
type: Object,
|
|
788
|
+
reflect: !1
|
|
789
|
+
})], LuzmoFilterValuePickerHierarchy.prototype, "filter", void 0), __decorate([state()], LuzmoFilterValuePickerHierarchy.prototype, "_hierarchyValues", void 0), __decorate([state()], LuzmoFilterValuePickerHierarchy.prototype, "_retrieving", void 0), __decorate([state()], LuzmoFilterValuePickerHierarchy.prototype, "_search", void 0), __decorate([state()], LuzmoFilterValuePickerHierarchy.prototype, "_error", void 0), LuzmoFilterValuePickerHierarchy = __decorate([localized()], LuzmoFilterValuePickerHierarchy), customElements.get("luzmo-filter-value-picker-hierarchy") || customElements.define("luzmo-filter-value-picker-hierarchy", LuzmoFilterValuePickerHierarchy);
|
|
790
|
+
var filter_value_picker_numeric_module_default = ".missing-value{opacity:.4}:host{--var:blue}", LIMIT_OF_VALUES_PER_FETCH = 5e3, LuzmoFilterValuePickerNumeric = class extends LocalizedMixin(SizedMixin(LuzmoElement, { validSizes: Object.values(ElementSizes) })) {
|
|
791
|
+
constructor(...d) {
|
|
792
|
+
super(...d), this.contentLanguage = "en", this._numericValues = [], this._retrieving = !0, this._search = "", this._error = null, this._allValuesRetrieved = !1, this._runningQueries = [];
|
|
793
|
+
}
|
|
794
|
+
static get styles() {
|
|
795
|
+
return [unsafeCSS(filter_value_picker_numeric_module_default)];
|
|
796
|
+
}
|
|
797
|
+
connectedCallback() {
|
|
798
|
+
super.connectedCallback();
|
|
799
|
+
let d = {};
|
|
800
|
+
this.apiUrl && (d.apiUrl = this.apiUrl), this.cacheTime && (d.staleTime = this.cacheTime, d.gcTime = this.cacheTime * 2), this.authKey && this.authToken && (d.authKey = this.authKey, d.authToken = this.authToken), dataBroker.configure(d);
|
|
801
|
+
}
|
|
802
|
+
willUpdate(d) {
|
|
803
|
+
if (super.willUpdate(d), d.has("filter") && this.filter) {
|
|
804
|
+
let L = d.get("filter")?.expression, R = this.filter?.expression;
|
|
805
|
+
((d.get("filter")?.parameters?.[0]?.columnId || d.get("filter")?.parameters?.[0]?.formulaId) !== (this.filter?.parameters?.[0]?.columnId || this.filter?.parameters?.[0]?.formulaId) || !["? in ?", "? not in ?"].includes(L)) && ["? in ?", "? not in ?"].includes(R) && (this._numericValues = [], this._allValuesRetrieved = !1, this._retrieving = !0);
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
async _fetchNumericValues(d = 0) {
|
|
809
|
+
if (this._allValuesRetrieved) {
|
|
810
|
+
this._retrieving = !1;
|
|
811
|
+
return;
|
|
812
|
+
}
|
|
813
|
+
if (!this.filter?.parameters?.[0]) {
|
|
814
|
+
this._retrieving = !1, this._error = "Missing column parameters";
|
|
815
|
+
return;
|
|
816
|
+
}
|
|
817
|
+
let L = this.filter.parameters[0], R = L.columnId, z = L.formulaId, V = L.datasetId;
|
|
818
|
+
if (!R && !z) {
|
|
819
|
+
this._retrieving = !1, this._error = "Missing column id or formula id";
|
|
820
|
+
return;
|
|
821
|
+
} else if (!V) {
|
|
822
|
+
this._retrieving = !1, this._error = "Missing dataset id";
|
|
823
|
+
return;
|
|
824
|
+
}
|
|
825
|
+
this._retrieving = !0, this._error = null;
|
|
826
|
+
let H = {
|
|
827
|
+
expression: "? like ?",
|
|
828
|
+
parameters: [{
|
|
829
|
+
dataset_id: V,
|
|
830
|
+
expression: `CAST({${V}:${R ?? z}},hierarchy)`
|
|
831
|
+
}, this._search]
|
|
832
|
+
}, U = {
|
|
833
|
+
dimensions: [{
|
|
834
|
+
column_id: R,
|
|
835
|
+
formula_id: z,
|
|
836
|
+
dataset_id: V
|
|
837
|
+
}],
|
|
838
|
+
where: [],
|
|
839
|
+
order: [{
|
|
840
|
+
column_id: R,
|
|
841
|
+
formula_id: z,
|
|
842
|
+
dataset_id: V,
|
|
843
|
+
order: "asc"
|
|
844
|
+
}],
|
|
845
|
+
limit: {
|
|
846
|
+
by: LIMIT_OF_VALUES_PER_FETCH,
|
|
847
|
+
offset: d
|
|
848
|
+
}
|
|
849
|
+
};
|
|
850
|
+
this._search && !this._allValuesRetrieved && U.where.push(H);
|
|
851
|
+
let W = new AbortController(), G = new Promise((d, L) => {
|
|
852
|
+
dataBroker.fetchData(U).then(d).catch(L), W.signal.addEventListener("abort", () => {
|
|
853
|
+
console.warn("Request aborted"), L({ status: "aborted" });
|
|
854
|
+
});
|
|
855
|
+
}), K = {
|
|
856
|
+
promise: G,
|
|
857
|
+
abortController: W
|
|
858
|
+
};
|
|
859
|
+
this._runningQueries.push(K);
|
|
860
|
+
try {
|
|
861
|
+
let L = await G, R = L && Array.isArray(L.data) ? L.data.map((d) => d[0]) : [];
|
|
862
|
+
this._search || (this._allValuesRetrieved = R.length < LIMIT_OF_VALUES_PER_FETCH), this._numericValues = d > 0 ? [...this._numericValues, ...R] : R;
|
|
863
|
+
} catch (d) {
|
|
864
|
+
if (d?.status === "aborted") return;
|
|
865
|
+
this._error = d instanceof Error ? d.message : "Unknown error", this._numericValues = [];
|
|
866
|
+
} finally {
|
|
867
|
+
this._runningQueries = this._runningQueries.filter((d) => d.promise !== G), this._retrieving = !1;
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
_sendChangeEvent() {
|
|
871
|
+
this.dispatchEvent(new CustomEvent("luzmo-filter-value-changed", {
|
|
872
|
+
bubbles: !0,
|
|
873
|
+
composed: !0,
|
|
874
|
+
cancelable: !0,
|
|
875
|
+
detail: { value: this._value }
|
|
876
|
+
}));
|
|
877
|
+
}
|
|
878
|
+
setValue(d) {
|
|
879
|
+
let L = ["? in ?", "? not in ?"].includes(this.filter?.expression) ? d?.detail?.value : d?.target?.value;
|
|
880
|
+
this._value !== L && (this._value = L, this.filter = {
|
|
881
|
+
...this.filter,
|
|
882
|
+
parameters: [{ ...this.filter?.parameters?.[0] }, L]
|
|
883
|
+
}, this._sendChangeEvent());
|
|
884
|
+
}
|
|
885
|
+
selectValue(d) {
|
|
886
|
+
let L = (d.detail?.value ?? "").map((d) => Number.parseFloat(d));
|
|
887
|
+
this.filter = {
|
|
888
|
+
...this.filter,
|
|
889
|
+
parameters: [{ ...this.filter?.parameters?.[0] }, L]
|
|
890
|
+
}, this._value = L, this._sendChangeEvent();
|
|
891
|
+
}
|
|
892
|
+
onScrolled(d) {
|
|
893
|
+
!this._retrieving && !this._allValuesRetrieved && d?.detail?.last === this._numericValues.length - 1 && this._fetchNumericValues(this._numericValues.length);
|
|
894
|
+
}
|
|
895
|
+
renderNumberField() {
|
|
896
|
+
return html`<luzmo-number-field
|
|
897
|
+
label="Numeric filter value"
|
|
898
|
+
grows
|
|
899
|
+
.size=${this.size}
|
|
900
|
+
@change=${this.setValue}
|
|
901
|
+
@input=${this.setValue}
|
|
902
|
+
.value=${this.filter?.parameters?.[1]}
|
|
903
|
+
></luzmo-number-field>`;
|
|
904
|
+
}
|
|
905
|
+
setSearchString(d) {
|
|
906
|
+
this._search = d?.detail?.string ?? "", this._allValuesRetrieved || (this._searchQueryTimeout && (this._runningQueries.forEach((d) => {
|
|
907
|
+
d?.abortController && d.abortController.abort();
|
|
908
|
+
}), this._runningQueries = [], clearTimeout(this._searchQueryTimeout)), this._searchQueryTimeout = setTimeout(() => {
|
|
909
|
+
this._fetchNumericValues();
|
|
910
|
+
}, 500));
|
|
911
|
+
}
|
|
912
|
+
resetSearchString() {
|
|
913
|
+
this._search = "";
|
|
914
|
+
}
|
|
915
|
+
onOpened() {
|
|
916
|
+
this._fetchNumericValues();
|
|
917
|
+
}
|
|
918
|
+
renderValuePicker() {
|
|
919
|
+
if (this._error) return html`<div class="error" role="alert">${this._error}</div>`;
|
|
920
|
+
let d = this._numericValues.filter((d) => d.toString().toLowerCase().includes(this._search.toLowerCase())).map((d) => ({
|
|
921
|
+
value: d,
|
|
922
|
+
label: d
|
|
923
|
+
})), L = msg("Selected {count} items"), R = msg("Search"), z = msg("No data"), B = msg("No results"), V = msg("Select...");
|
|
924
|
+
return html`<luzmo-select
|
|
925
|
+
.size=${this.size}
|
|
926
|
+
.label=${V}
|
|
927
|
+
.retrieving=${this._retrieving}
|
|
928
|
+
selects="multiple"
|
|
929
|
+
variant="checkboxes"
|
|
930
|
+
emphasized
|
|
931
|
+
no-wrap
|
|
932
|
+
?invalid=${!!this._error}
|
|
933
|
+
.multipleLabelTemplate=${L}
|
|
934
|
+
.searchLabel=${R}
|
|
935
|
+
.noDataLabel=${z}
|
|
936
|
+
.noResultsLabel=${B}
|
|
937
|
+
@change=${this.selectValue}
|
|
938
|
+
@luzmo-search=${this.setSearchString}
|
|
939
|
+
@luzmo-opened=${this.onOpened}
|
|
940
|
+
@luzmo-closed=${this.resetSearchString}
|
|
941
|
+
@luzmo-scrolled=${this.onScrolled}
|
|
942
|
+
.options=${d}
|
|
943
|
+
.value=${this.filter?.parameters?.[1]}
|
|
944
|
+
>
|
|
945
|
+
</luzmo-select>`;
|
|
946
|
+
}
|
|
947
|
+
render() {
|
|
948
|
+
let d = this.filter?.expression;
|
|
949
|
+
return ["? in ?", "? not in ?"].includes(d) ? this.renderValuePicker() : this.renderNumberField();
|
|
950
|
+
}
|
|
951
|
+
};
|
|
952
|
+
__decorate([property({
|
|
953
|
+
type: String,
|
|
954
|
+
attribute: "api-url",
|
|
955
|
+
reflect: !0
|
|
956
|
+
})], LuzmoFilterValuePickerNumeric.prototype, "apiUrl", void 0), __decorate([property({
|
|
957
|
+
type: String,
|
|
958
|
+
attribute: "auth-key",
|
|
959
|
+
reflect: !0
|
|
960
|
+
})], LuzmoFilterValuePickerNumeric.prototype, "authKey", void 0), __decorate([property({
|
|
961
|
+
type: String,
|
|
962
|
+
attribute: "auth-token",
|
|
963
|
+
reflect: !0
|
|
964
|
+
})], LuzmoFilterValuePickerNumeric.prototype, "authToken", void 0), __decorate([property({
|
|
965
|
+
type: Number,
|
|
966
|
+
attribute: "cache-time",
|
|
967
|
+
reflect: !0
|
|
968
|
+
})], LuzmoFilterValuePickerNumeric.prototype, "cacheTime", void 0), __decorate([property({
|
|
969
|
+
type: String,
|
|
970
|
+
attribute: "content-language",
|
|
971
|
+
reflect: !0
|
|
972
|
+
})], LuzmoFilterValuePickerNumeric.prototype, "contentLanguage", void 0), __decorate([property({
|
|
973
|
+
type: Object,
|
|
974
|
+
reflect: !1
|
|
975
|
+
})], LuzmoFilterValuePickerNumeric.prototype, "filter", void 0), __decorate([state()], LuzmoFilterValuePickerNumeric.prototype, "_numericValues", void 0), __decorate([state()], LuzmoFilterValuePickerNumeric.prototype, "_retrieving", void 0), __decorate([state()], LuzmoFilterValuePickerNumeric.prototype, "_search", void 0), __decorate([state()], LuzmoFilterValuePickerNumeric.prototype, "_error", void 0), LuzmoFilterValuePickerNumeric = __decorate([localized()], LuzmoFilterValuePickerNumeric), customElements.get("luzmo-filter-value-picker-numeric") || customElements.define("luzmo-filter-value-picker-numeric", LuzmoFilterValuePickerNumeric);
|
|
976
|
+
var LuzmoFilterValuePicker = class extends LocalizedMixin(SizedMixin(LuzmoElement, { validSizes: Object.values(ElementSizes) })) {
|
|
977
|
+
constructor(...d) {
|
|
978
|
+
super(...d), this.contentLanguage = "en", this._expressionsWithoutValuePicker = new Set([
|
|
979
|
+
"? is null",
|
|
980
|
+
"? is not null",
|
|
981
|
+
"to_date"
|
|
982
|
+
]);
|
|
983
|
+
}
|
|
984
|
+
static get styles() {
|
|
985
|
+
return [unsafeCSS(filter_value_picker_module_default)];
|
|
986
|
+
}
|
|
987
|
+
_sendChangeEvent(d) {
|
|
988
|
+
this.dispatchEvent(new CustomEvent("luzmo-filter-value-changed", {
|
|
989
|
+
bubbles: !0,
|
|
990
|
+
composed: !0,
|
|
991
|
+
cancelable: !0,
|
|
992
|
+
detail: { value: d }
|
|
993
|
+
}));
|
|
994
|
+
}
|
|
995
|
+
setFilterValue(d) {
|
|
996
|
+
d.stopPropagation(), this._sendChangeEvent(d?.detail?.value);
|
|
997
|
+
}
|
|
998
|
+
renderNumericValuePicker() {
|
|
999
|
+
return html`<luzmo-filter-value-picker-numeric
|
|
1000
|
+
.apiUrl=${this.apiUrl}
|
|
1001
|
+
.authKey=${this.authKey}
|
|
1002
|
+
.authToken=${this.authToken}
|
|
1003
|
+
.cacheTime=${this.cacheTime}
|
|
1004
|
+
.filter=${this.filter}
|
|
1005
|
+
.size=${this.size}
|
|
1006
|
+
.language=${this.language}
|
|
1007
|
+
.contentLanguage=${this.contentLanguage}
|
|
1008
|
+
@luzmo-filter-value-changed=${this.setFilterValue}
|
|
1009
|
+
></luzmo-filter-value-picker-numeric>`;
|
|
1010
|
+
}
|
|
1011
|
+
renderHierarchyValuePicker() {
|
|
1012
|
+
return html`<luzmo-filter-value-picker-hierarchy
|
|
1013
|
+
.apiUrl=${this.apiUrl}
|
|
1014
|
+
.authKey=${this.authKey}
|
|
1015
|
+
.authToken=${this.authToken}
|
|
1016
|
+
.cacheTime=${this.cacheTime}
|
|
1017
|
+
.filter=${this.filter}
|
|
1018
|
+
.size=${this.size}
|
|
1019
|
+
.language=${this.language}
|
|
1020
|
+
.contentLanguage=${this.contentLanguage}
|
|
1021
|
+
@luzmo-filter-value-changed=${this.setFilterValue}
|
|
1022
|
+
></luzmo-filter-value-picker-hierarchy>`;
|
|
1023
|
+
}
|
|
1024
|
+
renderDateTimeValuePicker() {
|
|
1025
|
+
return html`<luzmo-filter-value-picker-datetime
|
|
1026
|
+
.apiUrl=${this.apiUrl}
|
|
1027
|
+
.authKey=${this.authKey}
|
|
1028
|
+
.authToken=${this.authToken}
|
|
1029
|
+
.cacheTime=${this.cacheTime}
|
|
1030
|
+
.filter=${this.filter}
|
|
1031
|
+
.timeZone=${this.timeZone}
|
|
1032
|
+
.language=${this.language}
|
|
1033
|
+
.contentLanguage=${this.contentLanguage}
|
|
1034
|
+
.size=${this.size}
|
|
1035
|
+
@luzmo-filter-value-changed=${this.setFilterValue}
|
|
1036
|
+
></luzmo-filter-value-picker-datetime>`;
|
|
1037
|
+
}
|
|
1038
|
+
renderDisabledTextField() {
|
|
1039
|
+
let d = this.filter?.parameters?.[1] ?? "";
|
|
1040
|
+
return html`<luzmo-text-field
|
|
1041
|
+
label=${msg("Filter value", { desc: "Label for filter value text field" })}
|
|
1042
|
+
.size=${this.size}
|
|
1043
|
+
.value=${d}
|
|
1044
|
+
.disabled=${!0}
|
|
1045
|
+
></luzmo-text-field>`;
|
|
1046
|
+
}
|
|
1047
|
+
render() {
|
|
1048
|
+
let d = this.valueType ?? "", L = this.filter?.expression;
|
|
1049
|
+
return !L || this._expressionsWithoutValuePicker.has(L) ? html`
|
|
1050
|
+
|
|
1051
|
+
` : [
|
|
1052
|
+
"numeric",
|
|
1053
|
+
"hierarchy",
|
|
1054
|
+
"datetime"
|
|
1055
|
+
].includes(d) ? d === "numeric" ? this.renderNumericValuePicker() : d === "datetime" ? this.renderDateTimeValuePicker() : this.renderHierarchyValuePicker() : typeof this.filter?.parameters?.[1] == "string" ? this.renderDisabledTextField() : html`
|
|
1056
|
+
|
|
1057
|
+
`;
|
|
1058
|
+
}
|
|
1059
|
+
};
|
|
1060
|
+
__decorate([property({
|
|
1061
|
+
type: String,
|
|
1062
|
+
attribute: "api-url",
|
|
1063
|
+
reflect: !0
|
|
1064
|
+
})], LuzmoFilterValuePicker.prototype, "apiUrl", void 0), __decorate([property({
|
|
1065
|
+
type: String,
|
|
1066
|
+
attribute: "auth-key",
|
|
1067
|
+
reflect: !0
|
|
1068
|
+
})], LuzmoFilterValuePicker.prototype, "authKey", void 0), __decorate([property({
|
|
1069
|
+
type: String,
|
|
1070
|
+
attribute: "auth-token",
|
|
1071
|
+
reflect: !0
|
|
1072
|
+
})], LuzmoFilterValuePicker.prototype, "authToken", void 0), __decorate([property({
|
|
1073
|
+
type: Number,
|
|
1074
|
+
attribute: "cache-time",
|
|
1075
|
+
reflect: !0
|
|
1076
|
+
})], LuzmoFilterValuePicker.prototype, "cacheTime", void 0), __decorate([property({
|
|
1077
|
+
type: String,
|
|
1078
|
+
attribute: "content-language",
|
|
1079
|
+
reflect: !0
|
|
1080
|
+
})], LuzmoFilterValuePicker.prototype, "contentLanguage", void 0), __decorate([property({
|
|
1081
|
+
type: String,
|
|
1082
|
+
attribute: "time-zone",
|
|
1083
|
+
reflect: !0
|
|
1084
|
+
})], LuzmoFilterValuePicker.prototype, "timeZone", void 0), __decorate([property({
|
|
1085
|
+
type: String,
|
|
1086
|
+
attribute: "value-type",
|
|
1087
|
+
reflect: !0
|
|
1088
|
+
})], LuzmoFilterValuePicker.prototype, "valueType", void 0), __decorate([property({
|
|
1089
|
+
type: Object,
|
|
1090
|
+
reflect: !1
|
|
1091
|
+
})], LuzmoFilterValuePicker.prototype, "filter", void 0), customElements.get("luzmo-filter-value-picker") || customElements.define("luzmo-filter-value-picker", LuzmoFilterValuePicker);
|
|
1092
|
+
var filter_item_module_default = ":host{flex-direction:row;min-width:0;max-width:100%;display:flex}[role=group]{gap:var(--luzmo-filter-item-gap,var(--filter-item-gap));flex-direction:row;min-width:0;max-width:100%;display:flex}luzmo-data-fields-select{flex-shrink:1;min-width:0}luzmo-filter-value-picker{flex-shrink:2;min-width:0}:host{--filter-item-gap:var(--luzmo-spacing-3)}:host([size=s]){--filter-item-gap:var(--luzmo-spacing-2)}:host([size=m]){--filter-item-gap:var(--luzmo-spacing-3)}:host([size=l]){--filter-item-gap:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1))}:host([size=xl]){--filter-item-gap:var(--luzmo-spacing-4)}", LuzmoFilterItem = class extends LocalizedMixin(SizedMixin(LuzmoElement, { validSizes: Object.values(ElementSizes) })) {
|
|
1093
|
+
constructor(...d) {
|
|
1094
|
+
super(...d), this.apiUrl = "https://api.luzmo.com", this.contentLanguage = "en", this.filter = {}, this._loading = !1, this._datasetsDataFields = [];
|
|
1095
|
+
}
|
|
1096
|
+
static get styles() {
|
|
1097
|
+
return [unsafeCSS(filter_item_module_default)];
|
|
1098
|
+
}
|
|
1099
|
+
connectedCallback() {
|
|
1100
|
+
super.connectedCallback();
|
|
1101
|
+
let d = {};
|
|
1102
|
+
this.apiUrl && (d.apiUrl = this.apiUrl), this.cacheTime && (d.staleTime = this.cacheTime, d.gcTime = this.cacheTime * 2), d.authKey = this.authKey || "", d.authToken = this.authToken || "", dataBroker.configure(d);
|
|
1103
|
+
}
|
|
1104
|
+
_clearTypeState() {
|
|
1105
|
+
this._type = void 0, this._subType = void 0, this._isFormula = void 0;
|
|
1106
|
+
}
|
|
1107
|
+
async _fetchDatasetDataFields() {
|
|
1108
|
+
if (!this.datasetIds || this.datasetIds.length === 0) {
|
|
1109
|
+
this._error = "Missing dataset ids to fetch columns & formulas", this._datasetsDataFields = [], this._loading = !1;
|
|
1110
|
+
return;
|
|
1111
|
+
}
|
|
1112
|
+
let { valid: d, invalid: L } = validateUuids(this.datasetIds);
|
|
1113
|
+
if (L.length > 0 && console.warn(`[LuzmoFilterItem] Invalid dataset IDs provided (not valid UUIDs): ${L.join(", ")}. These will be skipped.`), d.length === 0) {
|
|
1114
|
+
this._error = "Invalid dataset IDs provided. Dataset IDs must be valid UUIDs.", this._datasetsDataFields = [], this._loading = !1;
|
|
1115
|
+
return;
|
|
1116
|
+
}
|
|
1117
|
+
this._loading = !0, this._error = null;
|
|
1118
|
+
try {
|
|
1119
|
+
let L = await dataBroker.fetchDatasetsWithColumnsAndFormulas(d);
|
|
1120
|
+
for (let d of L) for (let L of [...d.columns, ...d.formulas]) L.datasetId = d.id;
|
|
1121
|
+
this._datasetsDataFields = L;
|
|
1122
|
+
} catch (d) {
|
|
1123
|
+
console.error("Error fetching dataset columns & formulas:", d), this._error = d instanceof Error ? d.message : "Unknown error", this._datasetsDataFields = [];
|
|
1124
|
+
} finally {
|
|
1125
|
+
this._loading = !1;
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
willUpdate(d) {
|
|
1129
|
+
super.willUpdate(d);
|
|
1130
|
+
let L = d.has("filter"), R = d.has("datasetIds"), z = d.has("authKey"), V = d.has("authToken"), H = d.has("_datasetsDataFields");
|
|
1131
|
+
if (L || R || H && this.filter?.parameters?.[0]?.columnId && (this.filter?.parameters?.[0]?.datasetId || this.filter?.parameters?.[0]?.formulaId)) if (!this.datasetIds || this.datasetIds.length === 0 || this._datasetsDataFields.length === 0) this._clearTypeState();
|
|
1132
|
+
else {
|
|
1133
|
+
let d = this._datasetsDataFields.find((d) => d.id === this.filter.parameters?.[0]?.datasetId);
|
|
1134
|
+
if (d) {
|
|
1135
|
+
let L = !1;
|
|
1136
|
+
for (let R of [...d.columns || [], ...d?.formulas || []]) if (R.id === this.filter.parameters?.[0]?.columnId || R.id === this.filter.parameters?.[0]?.formulaId) {
|
|
1137
|
+
this._type = R.type, this._subType = R.subtype, this._isFormula = R.id === this.filter.parameters?.[0]?.formulaId, L = !0;
|
|
1138
|
+
break;
|
|
1139
|
+
}
|
|
1140
|
+
L || this._clearTypeState();
|
|
1141
|
+
} else this._clearTypeState();
|
|
1142
|
+
}
|
|
1143
|
+
if (z || V) {
|
|
1144
|
+
let d = {
|
|
1145
|
+
authKey: this.authKey || "",
|
|
1146
|
+
authToken: this.authToken || ""
|
|
1147
|
+
};
|
|
1148
|
+
dataBroker.configure(d);
|
|
1149
|
+
}
|
|
1150
|
+
(R || z || V) && this._fetchDatasetDataFields();
|
|
1151
|
+
}
|
|
1152
|
+
_sendChangeEvent() {
|
|
1153
|
+
this.dispatchEvent(new CustomEvent("luzmo-filter-changed", {
|
|
1154
|
+
bubbles: !0,
|
|
1155
|
+
composed: !0,
|
|
1156
|
+
cancelable: !0,
|
|
1157
|
+
detail: { filter: this.filter }
|
|
1158
|
+
}));
|
|
1159
|
+
}
|
|
1160
|
+
setFilterDataField(d) {
|
|
1161
|
+
if (this._cannotReferenceColumn()) return;
|
|
1162
|
+
let L = d.detail?.dataFields?.[0], R = this._type, z = this.filter?.parameters?.[0]?.columnId || this.filter?.parameters?.[0]?.formulaId, B = L?.columnId || L?.formulaId;
|
|
1163
|
+
this._type = L?.type, this._subType = L?.subtype, this._isFormula = !!L?.formulaId;
|
|
1164
|
+
let V = getValidExpressions(this._type, this._subType, this._isFormula);
|
|
1165
|
+
this.filter = structuredClone(this.filter ?? {}), V?.includes(this.filter?.expression) || (this.filter.expression = V?.[0]?.expression), this.filter.parameters = this.filter?.parameters ?? [], this.filter.parameters[0] = { datasetId: L?.datasetId }, this._isFormula ? this.filter.parameters[0].formulaId = L?.formulaId : this.filter.parameters[0].columnId = L?.columnId, L?.lowestLevel, R === this._type ? z !== B && this._type === "hierarchy" && (this.filter.parameters[1] = ["? in ?", "? not in ?"].includes(this.filter.expression) ? [] : "") : this._type === "hierarchy" ? (this.filter.expression = "? like ?", this.filter.parameters[1] = "") : this._type === "numeric" ? (this.filter.expression = "? > ?", this.filter.parameters[1] = 0) : this._type === "datetime" ? (this.filter.expression = "? < ?", this.filter.parameters[1] = (/* @__PURE__ */ new Date()).toISOString()) : (this.filter.expression = "? is not null", this.filter.parameters = [this.filter.parameters[0]]), this._sendChangeEvent();
|
|
1166
|
+
}
|
|
1167
|
+
setFilterExpression(d) {
|
|
1168
|
+
if (this._cannotReferenceColumn()) return;
|
|
1169
|
+
let L = structuredClone(this.filter ?? {}), R = L.expression;
|
|
1170
|
+
if (L.expression = d.detail?.expression, R !== L.expression) {
|
|
1171
|
+
if (["? is null", "? is not null"].includes(L.expression)) L.parameters = [L.parameters[0]];
|
|
1172
|
+
else if (this._type === "datetime") if ([
|
|
1173
|
+
"YTD",
|
|
1174
|
+
"QTD",
|
|
1175
|
+
"MTD",
|
|
1176
|
+
"WTD"
|
|
1177
|
+
].includes(L.expression)) {
|
|
1178
|
+
let R = d?.detail?.unit;
|
|
1179
|
+
R && (L.parameters[1] = { unit: typeof R == "number" ? R : 1 });
|
|
1180
|
+
} else if ([
|
|
1181
|
+
"last_completed",
|
|
1182
|
+
"next_full",
|
|
1183
|
+
"to_date"
|
|
1184
|
+
].includes(L.expression)) {
|
|
1185
|
+
let d = L?.parameters?.[1]?.unit;
|
|
1186
|
+
L.parameters[1] = { unit: typeof d == "number" ? d : 1 };
|
|
1187
|
+
} else if ([
|
|
1188
|
+
"last_now",
|
|
1189
|
+
"last_available",
|
|
1190
|
+
"next_now",
|
|
1191
|
+
"more_than_ago",
|
|
1192
|
+
"or_more_ago"
|
|
1193
|
+
].includes(L.expression)) {
|
|
1194
|
+
let d = L?.parameters?.[1]?.unit, R = L?.parameters?.[1]?.quantity;
|
|
1195
|
+
L.parameters[1] = {
|
|
1196
|
+
unit: typeof d == "number" ? d : 1,
|
|
1197
|
+
quantity: typeof R == "number" ? R : 1
|
|
1198
|
+
};
|
|
1199
|
+
} else L.parameters[1] = (/* @__PURE__ */ new Date()).toISOString();
|
|
1200
|
+
else this._type === "hierarchy" ? ["? in ?", "? not in ?"].includes(L.expression) ? ["? = ?", "? != ?"].includes(R) ? L.parameters[1] = L.parameters[1] ? [L.parameters[1]] : [] : L.parameters[1] = [] : ["? = ?", "? != ?"].includes(L.expression) ? ["? in ?", "? not in ?"].includes(R) ? L.parameters[1] = Array.isArray(L.parameters[1]) && L.parameters[1][0] ? L.parameters[1][0] : "" : L.parameters[1] = "" : L.parameters[1] = ["? in ?", "? not in ?"].includes(R) ? "" : L.parameters[1] ?? "" : this._type === "numeric" && (["? in ?", "? not in ?"].includes(L.expression) && ["? in ?", "? not in ?"].includes(R) ? L.parameters[1] = L.parameters[1] ?? [] : ["? in ?", "? not in ?"].includes(L.expression) ? L.parameters[1] = [] : L.parameters[1] = ["? in ?", "? not in ?"].includes(R) ? 0 : L.parameters[1] ?? 0);
|
|
1201
|
+
this.filter = L, this._sendChangeEvent();
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
setFilterValue(d) {
|
|
1205
|
+
this._cannotReferenceColumn() || (this.filter.parameters[1] = d?.detail?.value, this._sendChangeEvent());
|
|
1206
|
+
}
|
|
1207
|
+
_cannotReferenceColumn() {
|
|
1208
|
+
if (!(this.filter?.parameters?.[0]?.columnId || this.filter?.parameters?.[0]?.formulaId)) return !1;
|
|
1209
|
+
if (!this.datasetIds || this.datasetIds.length === 0 || this._datasetsDataFields.length === 0) return !0;
|
|
1210
|
+
let d = this.filter?.parameters?.[0]?.datasetId, L = this._datasetsDataFields.find((L) => L.id === d);
|
|
1211
|
+
return L ? ![...L.columns || [], ...L.formulas || []].find((d) => d.id === this.filter?.parameters?.[0]?.columnId || d.id === this.filter?.parameters?.[0]?.formulaId) : !0;
|
|
1212
|
+
}
|
|
1213
|
+
renderDataFieldPicker() {
|
|
1214
|
+
let d = this._cannotReferenceColumn(), L = d ? msg("Unknown") : void 0, R = d || this._loading ? "" : this.filter?.parameters?.[0]?.columnId || this.filter?.parameters?.[0]?.formulaId;
|
|
1215
|
+
return html`<luzmo-data-fields-select
|
|
1216
|
+
.language=${this.language}
|
|
1217
|
+
.contentLanguage=${this.contentLanguage}
|
|
1218
|
+
.size=${this.size}
|
|
1219
|
+
.value=${R ? [R] : []}
|
|
1220
|
+
selects="single"
|
|
1221
|
+
.datasetsDataFields=${this._datasetsDataFields}
|
|
1222
|
+
placeholder=${ifDefined(L)}
|
|
1223
|
+
.invalid=${!!this._error || d}
|
|
1224
|
+
?disabled=${d}
|
|
1225
|
+
.retrieving=${this._loading}
|
|
1226
|
+
.pending=${this._loading}
|
|
1227
|
+
@luzmo-data-fields-selected=${this.setFilterDataField}
|
|
1228
|
+
></luzmo-data-fields-select>`;
|
|
1229
|
+
}
|
|
1230
|
+
renderExpressionPicker() {
|
|
1231
|
+
let d = this._cannotReferenceColumn(), L = !this.filter?.parameters?.[0]?.datasetId || !this.filter?.parameters?.[0]?.columnId || d;
|
|
1232
|
+
return html`<luzmo-filter-expression-picker
|
|
1233
|
+
.language=${this.language}
|
|
1234
|
+
.size=${this.size}
|
|
1235
|
+
.type=${this._type}
|
|
1236
|
+
.subtype=${this._subType}
|
|
1237
|
+
.filter=${this.filter}
|
|
1238
|
+
?isFormula=${this._isFormula}
|
|
1239
|
+
?disabled=${L}
|
|
1240
|
+
@luzmo-expression-selected=${this.setFilterExpression}
|
|
1241
|
+
></luzmo-filter-expression-picker>`;
|
|
1242
|
+
}
|
|
1243
|
+
renderValuePicker() {
|
|
1244
|
+
let d = this._cannotReferenceColumn(), L = !this.filter?.parameters?.[0]?.datasetId || !this.filter?.parameters?.[0]?.columnId || d;
|
|
1245
|
+
return html`<luzmo-filter-value-picker
|
|
1246
|
+
.apiUrl=${this.apiUrl}
|
|
1247
|
+
.authKey=${this.authKey}
|
|
1248
|
+
.authToken=${this.authToken}
|
|
1249
|
+
.cacheTime=${this.cacheTime}
|
|
1250
|
+
.language=${this.language}
|
|
1251
|
+
.contentLanguage=${this.contentLanguage}
|
|
1252
|
+
.timeZone=${this.timeZone}
|
|
1253
|
+
.size=${this.size}
|
|
1254
|
+
.filter=${this.filter}
|
|
1255
|
+
.valueType=${this._type}
|
|
1256
|
+
?disabled=${L}
|
|
1257
|
+
@luzmo-filter-value-changed=${this.setFilterValue}
|
|
1258
|
+
></luzmo-filter-value-picker>`;
|
|
1259
|
+
}
|
|
1260
|
+
render() {
|
|
1261
|
+
return html`<div role="group" aria-label=${msg("Filter condition", { desc: "Accessible label for filter item group" })}>
|
|
1262
|
+
${this.renderDataFieldPicker()} ${this.renderExpressionPicker()}
|
|
1263
|
+
${this.renderValuePicker()}
|
|
1264
|
+
</div>`;
|
|
1265
|
+
}
|
|
1266
|
+
};
|
|
1267
|
+
__decorate([property({
|
|
1268
|
+
type: String,
|
|
1269
|
+
attribute: "api-url",
|
|
1270
|
+
reflect: !0
|
|
1271
|
+
})], LuzmoFilterItem.prototype, "apiUrl", void 0), __decorate([property({
|
|
1272
|
+
type: String,
|
|
1273
|
+
attribute: "auth-key",
|
|
1274
|
+
reflect: !0
|
|
1275
|
+
})], LuzmoFilterItem.prototype, "authKey", void 0), __decorate([property({
|
|
1276
|
+
type: String,
|
|
1277
|
+
attribute: "auth-token",
|
|
1278
|
+
reflect: !0
|
|
1279
|
+
})], LuzmoFilterItem.prototype, "authToken", void 0), __decorate([property({
|
|
1280
|
+
type: Number,
|
|
1281
|
+
attribute: "cache-time",
|
|
1282
|
+
reflect: !0
|
|
1283
|
+
})], LuzmoFilterItem.prototype, "cacheTime", void 0), __decorate([property({
|
|
1284
|
+
type: String,
|
|
1285
|
+
reflect: !0
|
|
1286
|
+
})], LuzmoFilterItem.prototype, "contentLanguage", void 0), __decorate([property({
|
|
1287
|
+
type: String,
|
|
1288
|
+
attribute: "time-zone",
|
|
1289
|
+
reflect: !0
|
|
1290
|
+
})], LuzmoFilterItem.prototype, "timeZone", void 0), __decorate([property({
|
|
1291
|
+
type: Array,
|
|
1292
|
+
attribute: "dataset-ids",
|
|
1293
|
+
reflect: !0
|
|
1294
|
+
})], LuzmoFilterItem.prototype, "datasetIds", void 0), __decorate([property({
|
|
1295
|
+
type: Object,
|
|
1296
|
+
reflect: !1
|
|
1297
|
+
})], LuzmoFilterItem.prototype, "filter", void 0), __decorate([state()], LuzmoFilterItem.prototype, "_type", void 0), __decorate([state()], LuzmoFilterItem.prototype, "_subType", void 0), __decorate([state()], LuzmoFilterItem.prototype, "_isFormula", void 0), __decorate([state()], LuzmoFilterItem.prototype, "_error", void 0), __decorate([state()], LuzmoFilterItem.prototype, "_loading", void 0), __decorate([state()], LuzmoFilterItem.prototype, "_datasetsDataFields", void 0), LuzmoFilterItem = __decorate([localized()], LuzmoFilterItem), customElements.get("luzmo-filter-item") || customElements.define("luzmo-filter-item", LuzmoFilterItem);
|
|
1298
|
+
var filters_module_default = ":host{font-family:var(--luzmo-filters-font-family,var(--luzmo-font-family));color:var(--luzmo-filters-font-color,var(--luzmo-font-color));max-width:100%;display:block}.filter-group-container{max-width:100%;padding:calc(var(--luzmo-indicator-gap) + 2*var(--luzmo-indicator-width));overflow:hidden}.filter-group{flex-direction:row;min-width:0;max-width:100%;display:flex}.filter-group.nested{margin-top:var(--luzmo-filters-nested-group-margin-top,var(--filters-nested-group-margin-top));margin-bottom:var(--luzmo-filters-nested-group-margin-bottom,var(--filters-nested-group-margin-bottom))}.group-content{flex-direction:column;flex:1;min-width:0;display:flex}.filters-list{gap:var(--luzmo-filters-filters-list-gap,var(--filters-filters-list-gap));flex-direction:column;min-width:0;max-width:100%;display:flex}.filter-item-wrapper{align-items:flex-start;min-width:0;max-width:100%;display:flex;position:relative}.filter-item-content{align-items:center;gap:var(--luzmo-filters-filter-line-gap,var(--filters-filter-line-gap));flex:1;min-width:0;display:flex}.filter-item-content luzmo-filter-item{flex:1;min-width:0}.filter-item-content .delete-filter-button{flex-shrink:0;align-self:center}.condition-wrapper{flex:0 0 var(--luzmo-filters-condition-warpper-width,var(--filters-condition-warpper-width));justify-content:center;align-items:center;display:flex;position:relative}.condition-wrapper:before{content:\"\";left:50%;top:var(--luzmo-filters-vertical-line-top,var(--filters-vertical-line-top));bottom:var(--luzmo-filters-vertical-line-bottom,var(--filters-vertical-line-bottom));width:var(--luzmo-filters-vertical-line-width,var(--filters-vertical-line-width));background:var(--luzmo-filters-vertical-line-color,var(--luzmo-border-color));position:absolute}.condition-badge{min-width:auto;padding-inline:var(--luzmo-filters-condition-padding-horizontal,var(--filters-condition-padding-horizontal));text-transform:uppercase;background:var(--luzmo-filters-condition-badge-background,var(--luzmo-primary));color:var(--luzmo-filters-condition-badge-color,var(--luzmo-primary-inverse-color));border-radius:var(--luzmo-filters-condition-badge-border-radius,var(--luzmo-border-radius));box-shadow:0 0 0 var(--luzmo-filters-condition-badge-halo,var(--filters-condition-badge-halo))var(--luzmo-filters-condition-badge-background,var(--luzmo-background-color));font-weight:700}.condition-badge:hover{background:var(--luzmo-filters-condition-badge-background-hover,var(--luzmo-primary-hover))}.group-actions{margin-top:var(--luzmo-filters-group-actions-margin-top,var(--filters-group-actions-margin-top));gap:var(--luzmo-filters-group-actions-gap,var(--filters-group-actions-gap));flex-wrap:wrap;display:flex}.delete-group-button{margin-left:auto}.add-root-group-container{margin-top:var(--luzmo-filters-add-root-group-container-margin-top,var(--filters-add-root-group-container-margin-top));padding-left:0}.add-subgroup-button,.add-filter-button{--luzmo-action-button-text-to-visual:var(--luzmo-filters-group-actions-text-to-visual,var(--filters-group-actions-text-to-visual));--luzmo-action-button-content-color-default:var(--luzmo-filters-group-actions-color,var(--luzmo-primary-hover));--luzmo-action-button-content-color-hover:var(--luzmo-filters-group-actions-color-hover,var(--luzmo-primary-hover));--luzmo-action-button-content-color-down:var(--luzmo-filters-group-actions-color-down,var(--luzmo-primary-down));--luzmo-action-button-content-color-focus:var(--luzmo-filters-group-actions-color-focus,var(--luzmo-primary-focus))}.add-group-button{--luzmo-button-padding-label-to-icon:var(--luzmo-filters-add-group-button-text-to-visual,var(--filters-add-group-button-text-to-visual))}.dataset-ids-empty-message{color:var(--luzmo-filters-error-message-color,var(--luzmo-disabled-color));font-size:var(--luzmo-filters-error-message-font-size,var(--filters-font-size))}:host{--filters-condition-warpper-width:56px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-3);--filters-filters-list-gap:var(--luzmo-spacing-3);--filters-nested-group-margin-top:var(--luzmo-spacing-3);--filters-nested-group-margin-bottom:var(--luzmo-spacing-3);--filters-vertical-line-top:var(--luzmo-spacing-2);--filters-vertical-line-bottom:var(--luzmo-spacing-2);--filters-vertical-line-width:1px;--filters-group-actions-text-to-visual:var(--luzmo-spacing-2);--filters-add-group-button-text-to-visual:var(--luzmo-spacing-3);--filters-group-actions-gap:var(--luzmo-spacing-3);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-4);--filters-filter-line-gap:var(--luzmo-spacing-3);--filters-group-actions-margin-top:var(--luzmo-spacing-3);--filters-error-message-font-size:var(--luzmo-font-size)}:host([size=s]){--filters-condition-warpper-width:48px;--filters-condition-padding-horizontal:var(--luzmo-spacing-2);--filters-condition-badge-halo:var(--luzmo-spacing-2);--filters-filters-list-gap:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-nested-group-margin-top:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-nested-group-margin-bottom:calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--filters-vertical-line-top:var(--luzmo-spacing-2);--filters-vertical-line-bottom:var(--luzmo-spacing-2);--filters-group-actions-text-to-visual:var(--luzmo-spacing-1);--filters-add-group-button-text-to-visual:var(--luzmo-spacing-2);--filters-group-actions-gap:var(--luzmo-spacing-2);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-3);--filters-filter-line-gap:var(--luzmo-spacing-2);--filters-group-actions-margin-top:var(--luzmo-spacing-2);--filters-error-message-font-size:var(--luzmo-font-size-s)}:host([size=l]){--filters-condition-warpper-width:64px;--filters-condition-padding-horizontal:var(--luzmo-spacing-3);--filters-condition-badge-halo:var(--luzmo-spacing-4);--filters-filters-list-gap:var(--luzmo-spacing-4);--filters-nested-group-margin-top:var(--luzmo-spacing-4);--filters-nested-group-margin-bottom:var(--luzmo-spacing-4);--filters-vertical-line-top:var(--luzmo-spacing-3);--filters-vertical-line-bottom:var(--luzmo-spacing-3);--filters-group-actions-text-to-visual:var(--luzmo-spacing-2);--filters-add-group-button-text-to-visual:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--filters-group-actions-gap:var(--luzmo-spacing-3);--filters-add-root-group-container-margin-top:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-filter-line-gap:var(--luzmo-spacing-3);--filters-group-actions-margin-top:var(--luzmo-spacing-3);--filters-error-message-font-size:var(--luzmo-font-size-l)}:host([size=xl]){--filters-condition-warpper-width:72px;--filters-condition-padding-horizontal:var(--luzmo-spacing-3);--filters-condition-badge-halo:var(--luzmo-spacing-4);--filters-filters-list-gap:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-nested-group-margin-top:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-nested-group-margin-bottom:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--filters-vertical-line-top:var(--luzmo-spacing-3);--filters-vertical-line-bottom:var(--luzmo-spacing-3);--filters-group-actions-text-to-visual:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--filters-add-group-button-text-to-visual:var(--luzmo-spacing-4);--filters-group-actions-gap:var(--luzmo-spacing-4);--filters-add-root-group-container-margin-top:var(--luzmo-spacing-5);--filters-filter-line-gap:var(--luzmo-spacing-4);--filters-group-actions-margin-top:var(--luzmo-spacing-4);--filters-error-message-font-size:var(--luzmo-font-size-xl)}", CONDITION_LABELS = {
|
|
1299
|
+
AND: () => msg("AND", { desc: "Logical AND condition for combining filters" }),
|
|
1300
|
+
OR: () => msg("OR", { desc: "Logical OR condition for combining filters" })
|
|
1301
|
+
}, LuzmoFilters = class extends LocalizedMixin(SizedMixin(LuzmoElement, { validSizes: Object.values(ElementSizes) })) {
|
|
1302
|
+
constructor(...d) {
|
|
1303
|
+
super(...d), this.apiUrl = "https://api.luzmo.com", this.contentLanguage = "en", this.filters = [], this.debounce = 300, this._internalFilterGroup = null, this._debounceTimeout = null;
|
|
1304
|
+
}
|
|
1305
|
+
static get styles() {
|
|
1306
|
+
return [unsafeCSS(filters_module_default)];
|
|
1307
|
+
}
|
|
1308
|
+
get _oneSizeSmaller() {
|
|
1309
|
+
return {
|
|
1310
|
+
xxs: "xxs",
|
|
1311
|
+
xs: "xs",
|
|
1312
|
+
s: "xs",
|
|
1313
|
+
m: "s",
|
|
1314
|
+
l: "m",
|
|
1315
|
+
xl: "l",
|
|
1316
|
+
xxl: "xl"
|
|
1317
|
+
}[this.size] || "s";
|
|
1318
|
+
}
|
|
1319
|
+
get _isDatasetIdsEmpty() {
|
|
1320
|
+
return !this.datasetIds || this.datasetIds.length === 0;
|
|
1321
|
+
}
|
|
1322
|
+
disconnectedCallback() {
|
|
1323
|
+
super.disconnectedCallback(), this._debounceTimeout &&= (clearTimeout(this._debounceTimeout), null);
|
|
1324
|
+
}
|
|
1325
|
+
willUpdate(d) {
|
|
1326
|
+
if (super.willUpdate(d), d.has("filters")) {
|
|
1327
|
+
let d = reverseTransformFilters(this.filters);
|
|
1328
|
+
d.length === 0 ? this._internalFilterGroup = null : d.length === 1 ? this._internalFilterGroup = structuredClone(d[0]) : this._internalFilterGroup = {
|
|
1329
|
+
condition: "AND",
|
|
1330
|
+
filters: structuredClone(d)
|
|
1331
|
+
};
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
_generateEmptyGroup() {
|
|
1335
|
+
return {
|
|
1336
|
+
condition: "AND",
|
|
1337
|
+
filters: []
|
|
1338
|
+
};
|
|
1339
|
+
}
|
|
1340
|
+
_generateEmptyFilter() {
|
|
1341
|
+
return {
|
|
1342
|
+
expression: void 0,
|
|
1343
|
+
parameters: []
|
|
1344
|
+
};
|
|
1345
|
+
}
|
|
1346
|
+
_getFiltersForExport() {
|
|
1347
|
+
if (!this._internalFilterGroup) return [];
|
|
1348
|
+
if (this._internalFilterGroup.filters.length > 0 && this._internalFilterGroup.filters.every((d) => this._isGroup(d))) return structuredClone(this._internalFilterGroup.filters).map((d) => transformFilters(d)[0]).filter((d) => !!d);
|
|
1349
|
+
let [d] = transformFilters(structuredClone(this._internalFilterGroup));
|
|
1350
|
+
return d ? [d] : [];
|
|
1351
|
+
}
|
|
1352
|
+
_sendChangeEvent() {
|
|
1353
|
+
this._debounceTimeout && clearTimeout(this._debounceTimeout);
|
|
1354
|
+
let d = () => {
|
|
1355
|
+
this.dispatchEvent(new CustomEvent("luzmo-filters-changed", {
|
|
1356
|
+
bubbles: !0,
|
|
1357
|
+
composed: !0,
|
|
1358
|
+
cancelable: !0,
|
|
1359
|
+
detail: { filters: this._getFiltersForExport() }
|
|
1360
|
+
}));
|
|
1361
|
+
};
|
|
1362
|
+
this.debounce > 0 ? this._debounceTimeout = setTimeout(d, this.debounce) : d();
|
|
1363
|
+
}
|
|
1364
|
+
_isGroup(d) {
|
|
1365
|
+
return "condition" in d && "filters" in d;
|
|
1366
|
+
}
|
|
1367
|
+
_toggleCondition(d) {
|
|
1368
|
+
d.condition = d.condition === "AND" ? "OR" : "AND", this.requestUpdate(), this._sendChangeEvent();
|
|
1369
|
+
}
|
|
1370
|
+
_addFilter(d) {
|
|
1371
|
+
if (this._isDatasetIdsEmpty) return;
|
|
1372
|
+
let L = d;
|
|
1373
|
+
L ||= (this._internalFilterGroup ||= this._generateEmptyGroup(), this._internalFilterGroup), L.filters.push(this._generateEmptyFilter()), this.requestUpdate(), this._sendChangeEvent();
|
|
1374
|
+
}
|
|
1375
|
+
_addSubGroup(d) {
|
|
1376
|
+
if (this._isDatasetIdsEmpty) return;
|
|
1377
|
+
let L = this._generateEmptyGroup();
|
|
1378
|
+
L.condition = d.condition === "AND" ? "OR" : "AND", L.filters.push(this._generateEmptyFilter()), d.filters.push(L), this.requestUpdate(), this._sendChangeEvent();
|
|
1379
|
+
}
|
|
1380
|
+
_removeFilter(d, L) {
|
|
1381
|
+
if (this._internalFilterGroup) {
|
|
1382
|
+
if (d.filters.splice(L, 1), d !== this._internalFilterGroup && d.filters.length === 0) {
|
|
1383
|
+
let L = this._findParentGroup(this._internalFilterGroup, d);
|
|
1384
|
+
if (L) {
|
|
1385
|
+
let R = L.filters.indexOf(d);
|
|
1386
|
+
R !== -1 && L.filters.splice(R, 1);
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
this._collapseGroupsAfterDelete(), this.requestUpdate(), this._sendChangeEvent();
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
_updateFilter(d, L, R) {
|
|
1393
|
+
R.stopPropagation(), this._isGroup(d.filters[L]) || (d.filters[L] = R.detail.filter, this._sendChangeEvent());
|
|
1394
|
+
}
|
|
1395
|
+
_addGroup() {
|
|
1396
|
+
if (this._isDatasetIdsEmpty) return;
|
|
1397
|
+
this._internalFilterGroup ||= this._generateEmptyGroup();
|
|
1398
|
+
let d = this._generateEmptyGroup();
|
|
1399
|
+
d.condition = this._internalFilterGroup.condition === "AND" ? "OR" : "AND", d.filters.push(this._internalFilterGroup);
|
|
1400
|
+
let L = this._generateEmptyGroup();
|
|
1401
|
+
L.condition = d.condition === "AND" ? "OR" : "AND", L.filters.push(this._generateEmptyFilter()), d.filters.push(L), this._internalFilterGroup = d, this.requestUpdate(), this._sendChangeEvent();
|
|
1402
|
+
}
|
|
1403
|
+
_renderFilterItem(d, L, R) {
|
|
1404
|
+
return html`
|
|
1405
|
+
<div class="filter-item-wrapper">
|
|
1406
|
+
<div class="filter-item-content">
|
|
1407
|
+
<luzmo-filter-item
|
|
1408
|
+
.apiUrl=${this.apiUrl}
|
|
1409
|
+
.authKey=${this.authKey}
|
|
1410
|
+
.authToken=${this.authToken}
|
|
1411
|
+
.cacheTime=${this.cacheTime}
|
|
1412
|
+
.language=${this.language}
|
|
1413
|
+
.contentLanguage=${this.contentLanguage}
|
|
1414
|
+
.timeZone=${this.timeZone}
|
|
1415
|
+
.datasetIds=${this.datasetIds}
|
|
1416
|
+
.filter=${d}
|
|
1417
|
+
.size=${this.size}
|
|
1418
|
+
@luzmo-filter-changed=${this._updateFilter.bind(this, L, R)}
|
|
1419
|
+
></luzmo-filter-item>
|
|
1420
|
+
<luzmo-action-button
|
|
1421
|
+
class="delete-filter-button"
|
|
1422
|
+
.size=${this.size}
|
|
1423
|
+
quiet
|
|
1424
|
+
.label=${msg("Remove filter", { desc: "Aria label for remove filter button" })}
|
|
1425
|
+
@click=${this._removeFilter.bind(this, L, R)}
|
|
1426
|
+
>
|
|
1427
|
+
<luzmo-icon slot="icon" .icon=${luzmoTrashOutline} .size=${this.size}></luzmo-icon>
|
|
1428
|
+
</luzmo-action-button>
|
|
1429
|
+
</div>
|
|
1430
|
+
</div>
|
|
1431
|
+
`;
|
|
1432
|
+
}
|
|
1433
|
+
_renderGroup(d, L = !1) {
|
|
1434
|
+
let R = d.filters.length > 0, z = d.filters.length > 1, B = CONDITION_LABELS[d.condition]?.() ?? d.condition;
|
|
1435
|
+
return html`
|
|
1436
|
+
<div class="filter-group ${L ? "nested" : ""}" role="group">
|
|
1437
|
+
${L ? html`
|
|
1438
|
+
<div class="condition-wrapper">
|
|
1439
|
+
${z ? html`
|
|
1440
|
+
<luzmo-action-button
|
|
1441
|
+
class="condition-badge"
|
|
1442
|
+
.size=${this._oneSizeSmaller}
|
|
1443
|
+
quiet
|
|
1444
|
+
aria-pressed=${d.condition === "AND" ? "true" : "false"}
|
|
1445
|
+
.label=${msg("Toggle filter condition, currently ", { desc: "Aria label prefix for filter condition toggle" }) + B}
|
|
1446
|
+
@click=${this._toggleCondition.bind(this, d)}
|
|
1447
|
+
>
|
|
1448
|
+
${B}
|
|
1449
|
+
</luzmo-action-button>
|
|
1450
|
+
` : ""}
|
|
1451
|
+
</div>
|
|
1452
|
+
` : z ? html`
|
|
1453
|
+
<div class="condition-wrapper">
|
|
1454
|
+
<luzmo-action-button
|
|
1455
|
+
class="condition-badge"
|
|
1456
|
+
.size=${this._oneSizeSmaller}
|
|
1457
|
+
quiet
|
|
1458
|
+
aria-pressed=${d.condition === "AND" ? "true" : "false"}
|
|
1459
|
+
.label=${msg("Toggle filter condition, currently ", { desc: "Aria label prefix for filter condition toggle" }) + B}
|
|
1460
|
+
@click=${this._toggleCondition.bind(this, d)}
|
|
1461
|
+
>
|
|
1462
|
+
${B}
|
|
1463
|
+
</luzmo-action-button>
|
|
1464
|
+
</div>
|
|
1465
|
+
` : ""}
|
|
1466
|
+
<div class="group-content">
|
|
1467
|
+
${R ? html`
|
|
1468
|
+
<div class="filters-list">
|
|
1469
|
+
${repeat(d.filters, (d, L) => L, (L, R) => html`
|
|
1470
|
+
${this._isGroup(L) ? this._renderGroup(L, !0) : this._renderFilterItem(L, d, R)}
|
|
1471
|
+
`)}
|
|
1472
|
+
</div>
|
|
1473
|
+
` : ""}
|
|
1474
|
+
|
|
1475
|
+
<div class="group-actions">
|
|
1476
|
+
<luzmo-action-button
|
|
1477
|
+
class="add-filter-button"
|
|
1478
|
+
.size=${this.size}
|
|
1479
|
+
quiet
|
|
1480
|
+
?disabled=${this._isDatasetIdsEmpty}
|
|
1481
|
+
@click=${this._addFilter.bind(this, d)}
|
|
1482
|
+
>
|
|
1483
|
+
<luzmo-icon slot="icon" .icon=${luzmoPlus} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
1484
|
+
${msg("Filter", { desc: "Add filter button label" })}
|
|
1485
|
+
</luzmo-action-button>
|
|
1486
|
+
|
|
1487
|
+
<luzmo-action-button
|
|
1488
|
+
class="add-subgroup-button"
|
|
1489
|
+
.size=${this.size}
|
|
1490
|
+
quiet
|
|
1491
|
+
?disabled=${this._isDatasetIdsEmpty}
|
|
1492
|
+
@click=${this._addSubGroup.bind(this, d)}
|
|
1493
|
+
>
|
|
1494
|
+
<luzmo-icon slot="icon" .icon=${luzmoPlus} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
1495
|
+
${msg("Subgroup", { desc: "Add subgroup button label" })}
|
|
1496
|
+
</luzmo-action-button>
|
|
1497
|
+
</div>
|
|
1498
|
+
</div>
|
|
1499
|
+
</div>
|
|
1500
|
+
`;
|
|
1501
|
+
}
|
|
1502
|
+
_findParentGroup(d, L) {
|
|
1503
|
+
for (let R of d.filters) {
|
|
1504
|
+
if (R === L) return d;
|
|
1505
|
+
if (this._isGroup(R)) {
|
|
1506
|
+
let d = this._findParentGroup(R, L);
|
|
1507
|
+
if (d) return d;
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
return null;
|
|
1511
|
+
}
|
|
1512
|
+
_collapseIfNeeded(d) {
|
|
1513
|
+
if (d.filters.length === 1 && this._isGroup(d.filters[0])) {
|
|
1514
|
+
let L = d.filters[0];
|
|
1515
|
+
d.condition = L.condition, d.filters = L.filters;
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
_collapseGroupsAfterDelete() {
|
|
1519
|
+
if (!this._internalFilterGroup) return;
|
|
1520
|
+
let d = (L) => {
|
|
1521
|
+
for (let R of L.filters) this._isGroup(R) && d(R);
|
|
1522
|
+
this._collapseIfNeeded(L);
|
|
1523
|
+
};
|
|
1524
|
+
d(this._internalFilterGroup);
|
|
1525
|
+
}
|
|
1526
|
+
render() {
|
|
1527
|
+
if (this._isDatasetIdsEmpty) return html`
|
|
1528
|
+
<div class="filter-group-container">
|
|
1529
|
+
<div class="dataset-ids-empty-message" role="status">
|
|
1530
|
+
${msg("Cannot retrieve dataset data fields", { desc: "Error message when datasetIds is empty" })}
|
|
1531
|
+
</div>
|
|
1532
|
+
</div>
|
|
1533
|
+
`;
|
|
1534
|
+
if (!this._internalFilterGroup || this._internalFilterGroup.filters.length === 0) return html`
|
|
1535
|
+
<div class="filter-group-container">
|
|
1536
|
+
<luzmo-button
|
|
1537
|
+
class="add-filter-button"
|
|
1538
|
+
.size=${this.size}
|
|
1539
|
+
treatment="outline"
|
|
1540
|
+
?disabled=${this._isDatasetIdsEmpty}
|
|
1541
|
+
@click=${() => this._addFilter()}
|
|
1542
|
+
>
|
|
1543
|
+
<luzmo-icon slot="icon" .icon=${luzmoPlus} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
1544
|
+
${msg("Add filter", { desc: "Add filter button label" })}
|
|
1545
|
+
</luzmo-button>
|
|
1546
|
+
</div>
|
|
1547
|
+
`;
|
|
1548
|
+
let d = this._internalFilterGroup.filters.length > 1;
|
|
1549
|
+
return html`
|
|
1550
|
+
<div class="filter-group-container">
|
|
1551
|
+
${this._renderGroup(this._internalFilterGroup)}
|
|
1552
|
+
|
|
1553
|
+
${d ? html`
|
|
1554
|
+
<div class="add-root-group-container">
|
|
1555
|
+
<luzmo-button
|
|
1556
|
+
class="add-group-button"
|
|
1557
|
+
.size=${this.size}
|
|
1558
|
+
treatment="outline"
|
|
1559
|
+
?disabled=${this._isDatasetIdsEmpty}
|
|
1560
|
+
@click=${this._addGroup}
|
|
1561
|
+
>
|
|
1562
|
+
<luzmo-icon slot="icon" .icon=${luzmoPlus} .size=${this._oneSizeSmaller}></luzmo-icon>
|
|
1563
|
+
${msg("Group", { desc: "Add group button label" })}
|
|
1564
|
+
</luzmo-button>
|
|
1565
|
+
</div>
|
|
1566
|
+
` : ""}
|
|
1567
|
+
</div>
|
|
1568
|
+
`;
|
|
1569
|
+
}
|
|
1570
|
+
};
|
|
1571
|
+
__decorate([property({
|
|
1572
|
+
type: String,
|
|
1573
|
+
attribute: "api-url",
|
|
1574
|
+
reflect: !0
|
|
1575
|
+
})], LuzmoFilters.prototype, "apiUrl", void 0), __decorate([property({
|
|
1576
|
+
type: String,
|
|
1577
|
+
attribute: "auth-key",
|
|
1578
|
+
reflect: !0
|
|
1579
|
+
})], LuzmoFilters.prototype, "authKey", void 0), __decorate([property({
|
|
1580
|
+
type: String,
|
|
1581
|
+
attribute: "auth-token",
|
|
1582
|
+
reflect: !0
|
|
1583
|
+
})], LuzmoFilters.prototype, "authToken", void 0), __decorate([property({
|
|
1584
|
+
type: Number,
|
|
1585
|
+
attribute: "cache-time",
|
|
1586
|
+
reflect: !0
|
|
1587
|
+
})], LuzmoFilters.prototype, "cacheTime", void 0), __decorate([property({
|
|
1588
|
+
type: String,
|
|
1589
|
+
attribute: "content-language",
|
|
1590
|
+
reflect: !0
|
|
1591
|
+
})], LuzmoFilters.prototype, "contentLanguage", void 0), __decorate([property({
|
|
1592
|
+
type: String,
|
|
1593
|
+
attribute: "time-zone",
|
|
1594
|
+
reflect: !0
|
|
1595
|
+
})], LuzmoFilters.prototype, "timeZone", void 0), __decorate([property({
|
|
1596
|
+
type: Array,
|
|
1597
|
+
attribute: "dataset-ids",
|
|
1598
|
+
reflect: !0
|
|
1599
|
+
})], LuzmoFilters.prototype, "datasetIds", void 0), __decorate([property({
|
|
1600
|
+
type: Array,
|
|
1601
|
+
reflect: !1
|
|
1602
|
+
})], LuzmoFilters.prototype, "filters", void 0), __decorate([property({
|
|
1603
|
+
type: Number,
|
|
1604
|
+
reflect: !0
|
|
1605
|
+
})], LuzmoFilters.prototype, "debounce", void 0), __decorate([state()], LuzmoFilters.prototype, "_internalFilterGroup", void 0), LuzmoFilters = __decorate([localized()], LuzmoFilters), customElements.get("luzmo-filters") || customElements.define("luzmo-filters", LuzmoFilters);
|
|
1606
|
+
export { LuzmoFilterValuePickerHierarchy as a, LuzmoFilterValuePickerNumeric as i, LuzmoFilterItem as n, LuzmoFilterValuePickerDatetime as o, LuzmoFilterValuePicker as r, LuzmoFilterExpressionPicker as s, LuzmoFilters as t };
|