@luzmo/analytics-components-kit 1.0.8-beta.7 → 1.0.9-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -4
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.js +2 -2
- package/components/{ai-chat-CG-eIiBr.cjs → ai-chat-1OlRpimu.cjs} +1 -1
- package/components/{ai-chat-CMc_9Oo2.js → ai-chat-PesGGOLP.js} +2 -2
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -1
- package/components/{ai-interaction-textarea-D9g9G0T1.js → ai-interaction-textarea-BXKG2elT.js} +3 -3
- package/components/{ai-interaction-textarea-B6tZgh5k.cjs → ai-interaction-textarea-CmFGJzbb.cjs} +1 -1
- package/components/{area-chart-options.config-B94ERc30.js → area-chart-options.config-DJnPr93H.js} +1 -1
- package/components/{area-chart-positioning.config-CS-5H8-C.cjs → area-chart-positioning.config-C37nmNfP.cjs} +1 -1
- package/components/{area-chart-positioning.config-BEwDQj3T.js → area-chart-positioning.config-CF8Z7PuX.js} +1 -1
- package/components/{area-chart-slots.config-DdPO34_g.js → area-chart-slots.config-ClE-gYVY.js} +1 -1
- package/components/{bar-chart-options.config-B1C3t6uk.js → bar-chart-options.config-D1x5WPbL.js} +1 -1
- package/components/{bar-chart-positioning.config-DkIvwJI5.cjs → bar-chart-positioning.config-C4ii41mE.cjs} +1 -1
- package/components/{bar-chart-positioning.config-CBbTYesB.js → bar-chart-positioning.config-vuRQZsYr.js} +1 -1
- package/components/{bar-chart-slots.config-BnbZRLIr.js → bar-chart-slots.config-rMFwFprg.js} +1 -1
- package/components/{base-DSeXdW9S.js → base-8L8Jt2vi.js} +2 -2
- package/components/{base-D6QPZnpu.cjs → base-K-bf6_7X.cjs} +1 -1
- package/components/{box-plot-options.config-sBfVzPTw.js → box-plot-options.config-CooBIc6N.js} +1 -1
- package/components/{box-plot-positioning.config-o5D-mRFr.cjs → box-plot-positioning.config-D2LpbgQ_.cjs} +1 -1
- package/components/{box-plot-positioning.config-CNC-RTwl.js → box-plot-positioning.config-DMIsI9yU.js} +1 -1
- package/components/{box-plot-slots.config-D6F2R2dw.js → box-plot-slots.config-DS2UIfRF.js} +1 -1
- package/components/{bubble-chart-options.config-DKeBF5A0.js → bubble-chart-options.config-B6aLA_1d.js} +1 -1
- package/components/{bubble-chart-positioning.config-CtreNdST.cjs → bubble-chart-positioning.config-Btak-zwN.cjs} +1 -1
- package/components/{bubble-chart-positioning.config-3ilPXLpZ.js → bubble-chart-positioning.config-jYu0Q0Mc.js} +1 -1
- package/components/{bubble-chart-slots.config-BJdtdpS0.js → bubble-chart-slots.config-2qy2RqaU.js} +1 -1
- package/components/{bullet-chart-options.config-DdTBWTAF.js → bullet-chart-options.config-CBmbmhzI.js} +1 -1
- package/components/{bullet-chart-positioning.config-CkFhShBk.js → bullet-chart-positioning.config-BWHfPPyA.js} +1 -1
- package/components/{bullet-chart-positioning.config-dHj3YrT_.cjs → bullet-chart-positioning.config-CwoRVgNS.cjs} +1 -1
- package/components/{bullet-chart-slots.config-NeUTKgYI.js → bullet-chart-slots.config-BaMmwIH0.js} +1 -1
- package/components/{choropleth-map-options.config-nOE0NWaD.js → choropleth-map-options.config-DWWydGJ3.js} +1 -1
- package/components/{choropleth-map-positioning.config-BSs-bRGv.cjs → choropleth-map-positioning.config-DttV0Dk_.cjs} +1 -1
- package/components/{choropleth-map-positioning.config-DOt86t59.js → choropleth-map-positioning.config-KtxcLW7E.js} +1 -1
- package/components/{choropleth-map-slots.config-BbBwTeuw.js → choropleth-map-slots.config-DqOi1kCn.js} +1 -1
- package/components/{circle-pack-chart-options.config-CgE8vGP9.js → circle-pack-chart-options.config-D2RCikyA.js} +1 -1
- package/components/{circle-pack-chart-positioning.config-CVNdIYau.cjs → circle-pack-chart-positioning.config-N-rZvQjR.cjs} +1 -1
- package/components/{circle-pack-chart-positioning.config-BkFATJjC.js → circle-pack-chart-positioning.config-QBO-pwDr.js} +1 -1
- package/components/{circle-pack-chart-slots.config-CJFjalBn.js → circle-pack-chart-slots.config-B7_1p86m.js} +1 -1
- package/components/{circular-gauge-options.config-DtNYelhq.js → circular-gauge-options.config-syWQJHKT.js} +1 -1
- package/components/{circular-gauge-positioning.config-SrbCaaOr.cjs → circular-gauge-positioning.config-Cf1zuLXa.cjs} +1 -1
- package/components/{circular-gauge-positioning.config-BV2xb5TF.js → circular-gauge-positioning.config-DKGmEpFj.js} +1 -1
- package/components/{circular-gauge-slots.config-DAKsa5Hq.js → circular-gauge-slots.config-BxjCP1ao.js} +1 -1
- package/components/{column-chart-options.config-C2GGiHOI.js → column-chart-options.config-B2LIl9lL.js} +1 -1
- package/components/{column-chart-positioning.config-DTQe3h_H.cjs → column-chart-positioning.config-DcErS56C.cjs} +1 -1
- package/components/{column-chart-positioning.config-T7juV3XT.js → column-chart-positioning.config-LkQSNtSH.js} +1 -1
- package/components/{column-chart-slots.config-Bpr-WaCi.js → column-chart-slots.config-D6MBTcj4.js} +1 -1
- package/components/{combination-chart-options.config-LddX4naq.js → combination-chart-options.config-0ATFph8S.js} +1 -1
- package/components/{combination-chart-positioning.config-78C7wKnS.js → combination-chart-positioning.config-7iAEpO7h.js} +1 -1
- package/components/{combination-chart-positioning.config-BrSmdan-.cjs → combination-chart-positioning.config-Dzi93oAp.cjs} +1 -1
- package/components/{combination-chart-slots.config-u-QLoQQ-.js → combination-chart-slots.config-dYT9lz8M.js} +1 -1
- package/components/{conditional-number-options.config-qdX9T4zu.js → conditional-number-options.config-Bv2xONtI.js} +1 -1
- package/components/{conditional-number-positioning.config-z_eEfpud.js → conditional-number-positioning.config-Bse6AKPP.js} +1 -1
- package/components/{conditional-number-positioning.config-_9ySKU1z.cjs → conditional-number-positioning.config-CTy0zLXu.cjs} +1 -1
- package/components/{conditional-number-slots.config-CiLUXRSe.js → conditional-number-slots.config-DtYkqtN8.js} +1 -1
- package/components/create-lazy-loader-BO_oTDF5.js +31 -0
- package/components/create-lazy-loader-DYPgQh0L.cjs +20 -0
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.js +1 -1
- package/components/{data-field-D1WW_V0N.js → data-field-CSm9APdz.js} +3 -3
- package/components/{data-field-9ZZFw68C.cjs → data-field-D2y4cv9j.cjs} +1 -1
- package/components/data-field-level/index.cjs +1 -1
- package/components/data-field-level/index.js +1 -1
- package/components/{data-field-level-DR_dXjnL.js → data-field-level-B0aj8c5M.js} +3 -3
- package/components/{data-field-level-Dc-EMhC3.cjs → data-field-level-Llx0Y9m-.cjs} +1 -1
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.js +1 -1
- package/components/{data-field-panel-U-5Q-TRp.js → data-field-panel-DpBWJnes.js} +4 -4
- package/components/data-field-panel-Dv60lRUC.cjs +87 -0
- package/components/data-fields-select/data-fields-select.d.ts +5 -1
- package/components/data-fields-select/index.cjs +1 -1
- package/components/data-fields-select/index.js +1 -1
- package/components/{data-fields-select-BYhAzdA6.js → data-fields-select-69TDpIG_.js} +14 -5
- package/components/data-fields-select-BHa8THub.cjs +43 -0
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -1
- package/components/{dataset-selector-list-BXg6DIKI.cjs → dataset-selector-list-D5lBv2sD.cjs} +1 -1
- package/components/{dataset-selector-list-q6qWA7B-.js → dataset-selector-list-DTMXvqfO.js} +1 -1
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +1 -1
- package/components/{dataset-selector-row-bqwY3zaf.cjs → dataset-selector-row-gHWsZlrC.cjs} +1 -1
- package/components/{dataset-selector-row-ZKET7lVc.js → dataset-selector-row-kiHtzZcP.js} +2 -2
- package/components/{date-comparison-filter-options.config-BSzzAJPM.js → date-comparison-filter-options.config-DgLx-m3L.js} +1 -1
- package/components/{date-comparison-filter-slots.config-Cvze969w.js → date-comparison-filter-slots.config-BKZ13uzB.js} +1 -1
- package/components/{date-filter-options.config-C6VvDjd8.js → date-filter-options.config-Cbiy0QKd.js} +1 -1
- package/components/{date-filter-slots.config-Y8hmQh0S.js → date-filter-slots.config-SzWky1y7.js} +1 -1
- package/components/{de-C5CMIy08.js → de-BhKtDR6p.js} +34 -0
- package/components/de-DXFLsh4N.cjs +20 -0
- package/components/{convert-data-field-to-slot-content-C6IIqU7G.js → default-acceptable-data-field-types-DFOFWWnT.js} +12 -12
- package/components/default-acceptable-data-field-types-fPsz64ka.cjs +20 -0
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/{display-settings-D_wBgzm1.js → display-settings-DKuvd62j.js} +11 -9
- package/components/{display-settings-BlMhlvVS.cjs → display-settings-DPqTRJ7E.cjs} +3 -1
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -1
- package/components/{display-settings-binning-GIE6ww1Q.js → display-settings-binning-BkCNSkgf.js} +2 -2
- package/components/{display-settings-binning-HrXOdGwO.cjs → display-settings-binning-DZKo_tBm.cjs} +1 -1
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/{display-settings-datetime-YS7_TUet.js → display-settings-datetime-BTgriFcv.js} +14 -14
- package/components/{display-settings-datetime-DNeLEl3L.cjs → display-settings-datetime-DD7Oh-2T.cjs} +8 -8
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +1 -1
- package/components/{display-settings-grand-totals-C-7s1Tyo.cjs → display-settings-grand-totals-BsIZg67h.cjs} +1 -1
- package/components/{display-settings-grand-totals-Bt_ju8jp.js → display-settings-grand-totals-DH7AoyQY.js} +2 -2
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +1 -1
- package/components/{display-settings-numeric-OHmktQsz.js → display-settings-numeric-CkFpOoWU.js} +2 -2
- package/components/{display-settings-numeric--uwJWzC1.cjs → display-settings-numeric-CsmrnEp2.cjs} +1 -1
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +8 -0
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +1 -1
- package/components/{display-settings-period-over-period-B1_IJjWK.js → display-settings-period-over-period-CdI5wuL_.js} +19 -10
- package/components/{display-settings-period-over-period-C4X8c-_R.cjs → display-settings-period-over-period-Co37HcSm.cjs} +7 -9
- package/components/{donut-chart-options.config-CPHgS1Wi.js → donut-chart-options.config-C8wpZzyJ.js} +1 -1
- package/components/{donut-chart-positioning.config-BY2TIeeY.cjs → donut-chart-positioning.config-BThtaJEt.cjs} +1 -1
- package/components/{donut-chart-positioning.config-D34HegyZ.js → donut-chart-positioning.config-D2uG_Irk.js} +1 -1
- package/components/{donut-chart-slots.config-DilGk7ju.js → donut-chart-slots.config-fGqtoKZi.js} +1 -1
- package/components/{dropdown-filter-options.config-DFJKns3l.js → dropdown-filter-options.config-DkiapYtc.js} +1 -1
- package/components/{dropdown-filter-slots.config-7heZtoEY.js → dropdown-filter-slots.config-DPcT6v-9.js} +1 -1
- package/components/es-DK-49nGv.cjs +20 -0
- package/components/{es-BCur0-77.js → es-DUENN-m1.js} +34 -0
- package/components/{evolution-number-options.config-DT7iGQA8.js → evolution-number-options.config-Ca9ABNVM.js} +1 -1
- package/components/{evolution-number-positioning.config-CKzCTjdO.js → evolution-number-positioning.config-BtjobZqK.js} +1 -1
- package/components/{evolution-number-positioning.config-BBvULr59.cjs → evolution-number-positioning.config-DtYiv9oB.cjs} +1 -1
- package/components/{evolution-number-slots.config-noZzIHkT.js → evolution-number-slots.config-CKawNqUS.js} +1 -1
- package/components/filter-expression-picker/filter-expression-picker.d.ts +4 -0
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/{filter-expression-picker-DurfSgRY.js → filter-expression-picker-C4kE_Thd.js} +14 -6
- package/components/{filter-expression-picker-BOLyxG2r.cjs → filter-expression-picker-CU-OfSmI.cjs} +4 -2
- package/components/filter-item/filter-item.d.ts +39 -0
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.d.ts +1 -0
- package/components/filter-item/index.js +1 -1
- package/components/filter-item-Be6Z7NMz.js +792 -0
- package/components/filter-item-CxPrwF-R.cjs +111 -0
- package/components/filter-parameter-picker/filter-parameter-picker.d.ts +4 -0
- package/components/filter-parameter-picker/index.cjs +1 -1
- package/components/filter-parameter-picker/index.js +1 -1
- package/components/{filter-parameter-picker-BWNBc8BI.js → filter-parameter-picker-Ba8bvoPZ.js} +18 -10
- package/components/{filter-parameter-picker-DSYaE9Sv.cjs → filter-parameter-picker-BtJLCUbT.cjs} +5 -4
- package/components/filter-value-picker/filter-value-picker.d.ts +6 -0
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/{filter-value-picker-kzIrnmdp.js → filter-value-picker-DD206JZl.js} +26 -8
- package/components/{filter-value-picker-DYl_1pis.cjs → filter-value-picker-Dpua1vcJ.cjs} +11 -2
- package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +6 -0
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +1 -1
- package/components/{filter-value-picker-datetime-CP5__ua6.js → filter-value-picker-datetime-Bj0YaPtB.js} +25 -5
- package/components/{filter-value-picker-datetime-BFbmCKs3.cjs → filter-value-picker-datetime-DWgI83nJ.cjs} +11 -2
- package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +6 -0
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/filter-value-picker-hierarchy-BEoqkQq0.cjs +54 -0
- package/components/{filter-value-picker-hierarchy-j0LRYW1c.js → filter-value-picker-hierarchy-ZMThNJYm.js} +22 -6
- package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +6 -0
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -1
- package/components/filter-value-picker-numeric-1Vxp_Vam.cjs +54 -0
- package/components/{filter-value-picker-numeric-BmKmeOol.js → filter-value-picker-numeric-CVaDogFQ.js} +21 -4
- package/components/filters/filters.d.ts +62 -2
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.d.ts +2 -1
- package/components/filters/index.js +1 -1
- package/components/filters/types.d.ts +2 -0
- package/components/filters-Cnm0Kwk3.js +926 -0
- package/components/filters-Dtbt99BP.cjs +199 -0
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -1
- package/components/{formula-BYx4gH6i.js → formula-BE9bipho.js} +2 -2
- package/components/{formula-cc2AaiLt.cjs → formula-DGMnKmnR.cjs} +1 -1
- package/components/{formula-codemirror-EMK3MCNZ.cjs → formula-codemirror-B14vsZXJ.cjs} +1 -1
- package/components/{formula-codemirror-CVzyYNLO.js → formula-codemirror-xfm0QtJN.js} +5 -5
- package/components/formula-display-store-8hohve9v.cjs +20 -0
- package/components/{formula-display-store-BPn9m5TL.js → formula-display-store-JAaWuYNB.js} +229 -235
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.js +3 -3
- package/components/{formula-editor-CWKXcUTF.cjs → formula-editor-CkW-JfyT.cjs} +1 -1
- package/components/{formula-editor-BxoIkARr.js → formula-editor-DN87mT8q.js} +7 -7
- package/components/formula-field/index.cjs +1 -1
- package/components/formula-field/index.js +1 -1
- package/components/{formula-field-BtvaOWki.js → formula-field-B1EMJOfK.js} +1 -1
- package/components/{formula-field-CzS2pKJI.cjs → formula-field-CQYFSBHL.cjs} +1 -1
- package/components/formula-input-base-BCQXmd1P.cjs +49 -0
- package/components/{formula-input-base-DVtGLoyA.js → formula-input-base-HL0Fg74x.js} +7 -7
- package/components/{fr-BnECl1nx.js → fr-CePmGBUH.js} +34 -0
- package/components/fr-uE3fb3kc.cjs +20 -0
- package/components/{funnel-chart-options.config-D21WdHBI.js → funnel-chart-options.config-CygQsQVD.js} +1 -1
- package/components/{funnel-chart-positioning.config-BPSmV76y.cjs → funnel-chart-positioning.config-DeLnAGGT.cjs} +1 -1
- package/components/{funnel-chart-positioning.config-CvhpE7rN.js → funnel-chart-positioning.config-TVzSiV6I.js} +1 -1
- package/components/{funnel-chart-slots.config-BWszdEe8.js → funnel-chart-slots.config-CfnSH4Ay.js} +1 -1
- package/components/{get-css-variable-B8sJUuig.cjs → get-css-variable-CBXsAxR6.cjs} +1 -1
- package/components/{get-css-variable-r1spgqX0.js → get-css-variable-DYnldi15.js} +1 -1
- package/components/{get-dataset-name-D53TN7N9.js → get-dataset-name-DLjeChNS.js} +1 -1
- package/components/{get-dataset-name-DYLdbEs-.cjs → get-dataset-name-mGNEfkAv.cjs} +1 -1
- package/components/{groupings-BtmmUlPK.js → groupings-CODDxpbZ.js} +1 -1
- package/components/{groupings-Bn9384Zw.cjs → groupings-DKMq8DgS.cjs} +1 -1
- package/components/{heat-map-options.config-DkuYkbWu.js → heat-map-options.config-X96sw-BV.js} +1 -1
- package/components/{heat-map-positioning.config-AOHTEJf7.js → heat-map-positioning.config--wm9l7bB.js} +1 -1
- package/components/{heat-map-positioning.config-CHDHFIo2.cjs → heat-map-positioning.config-ddrgZXa9.cjs} +1 -1
- package/components/{heat-map-slots.config-Cwun49Qb.js → heat-map-slots.config-D2ypExJQ.js} +1 -1
- package/components/{heat-table-options.config-BJP1jVB8.js → heat-table-options.config-D6dA9J97.js} +1 -1
- package/components/{heat-table-positioning.config-DprOfmlW.js → heat-table-positioning.config-CIhhBEMg.js} +1 -1
- package/components/{heat-table-positioning.config-DCLE9cy4.cjs → heat-table-positioning.config-qMDSRhZR.cjs} +1 -1
- package/components/{heat-table-slots.config-nGB_B2mh.js → heat-table-slots.config-B1iOn6ay.js} +1 -1
- package/components/{hexbin-map-options.config-Bqp3u2bH.js → hexbin-map-options.config-FK9DrXGD.js} +1 -1
- package/components/{hexbin-map-positioning.config-BmLljWez.cjs → hexbin-map-positioning.config-E_BpcIFy.cjs} +1 -1
- package/components/{hexbin-map-positioning.config-BjxkoqGh.js → hexbin-map-positioning.config-S7VYUwVD.js} +1 -1
- package/components/{hexbin-map-slots.config-BK-ftozd.js → hexbin-map-slots.config-CC1xZINm.js} +1 -1
- package/components/{image-options.config-Cz55iN7J.js → image-options.config-DxF0RSUF.js} +1 -1
- package/components/{image-slots.config-kvHutBFK.js → image-slots.config-Ba8NXeCH.js} +1 -1
- package/components/index.cjs +1 -1
- package/components/index.js +62 -62
- package/components/interactive-viz-item/index.cjs +1 -1
- package/components/interactive-viz-item/index.js +1 -1
- package/components/interactive-viz-item/interactive-viz-item.d.ts +4 -3
- package/components/interactive-viz-item/load-config-panel.d.ts +2 -0
- package/components/interactive-viz-item--kqitfEZ.cjs +249 -0
- package/components/{interactive-viz-item-DL5aqkvx.js → interactive-viz-item-cdShBZQA.js} +124 -95
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +1 -1
- package/components/{item-grid-CcwnD_u5.cjs → item-grid-BfhqMuQA.cjs} +2 -2
- package/components/{item-grid-C_OTtv4T.js → item-grid-xCM8AqRH.js} +24 -24
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/{item-option-h8URFjZ2.cjs → item-option-B5FraAiv.cjs} +5 -5
- package/components/{item-option-DRWLN89_.js → item-option-DaAlj_OB.js} +52 -52
- package/components/item-option-action-button-group/index.cjs +1 -1
- package/components/item-option-action-button-group/index.js +1 -1
- package/components/{item-option-action-button-group-B9ghoHeh.js → item-option-action-button-group-4w8ub3cT.js} +1 -1
- package/components/{item-option-action-button-group-Byg9h7uo.cjs → item-option-action-button-group-DHu8VjCy.cjs} +1 -1
- package/components/{item-option-base-Dwf3dByS.cjs → item-option-base-4Bwn-3Fc.cjs} +1 -1
- package/components/{item-option-base-pYrkqt6q.js → item-option-base-BxQUwXzg.js} +1 -1
- package/components/item-option-color-palette-picker/index.cjs +1 -1
- package/components/item-option-color-palette-picker/index.js +1 -1
- package/components/{item-option-color-palette-picker-DnVqGnm4.js → item-option-color-palette-picker-D5nO-Bqb.js} +1 -1
- package/components/{item-option-color-palette-picker-v6TBE-I0.cjs → item-option-color-palette-picker-DrhHKaAK.cjs} +1 -1
- package/components/item-option-color-picker/index.cjs +1 -1
- package/components/item-option-color-picker/index.js +1 -1
- package/components/{item-option-color-picker-CNkNZ1p-.cjs → item-option-color-picker-Bhv_k1uW.cjs} +1 -1
- package/components/{item-option-color-picker-CO-OAFOs.js → item-option-color-picker-CKokPQcS.js} +1 -1
- package/components/item-option-color-range/index.cjs +1 -1
- package/components/item-option-color-range/index.js +1 -1
- package/components/{item-option-color-range-BveD6fsp.cjs → item-option-color-range-CwDkzRcx.cjs} +1 -1
- package/components/{item-option-color-range-bdYUxgQ9.js → item-option-color-range-DYsMbFEb.js} +1 -1
- package/components/item-option-guidelines/index.cjs +1 -1
- package/components/item-option-guidelines/index.js +1 -1
- package/components/{item-option-guidelines-Ce88dTV-.js → item-option-guidelines-CXl4Yla4.js} +3 -3
- package/components/{item-option-guidelines-D8UjylMx.cjs → item-option-guidelines-DMjA-h3h.cjs} +1 -1
- package/components/item-option-multi-language-field/index.cjs +1 -1
- package/components/item-option-multi-language-field/index.js +1 -1
- package/components/{item-option-multi-language-field-D0jRPAjY.cjs → item-option-multi-language-field-C75Hd2fG.cjs} +1 -1
- package/components/{item-option-multi-language-field-0qfdBanp.js → item-option-multi-language-field-S6Mt3k23.js} +1 -1
- package/components/item-option-number-field/index.cjs +1 -1
- package/components/item-option-number-field/index.js +1 -1
- package/components/{item-option-number-field-DYJ0eIf7.cjs → item-option-number-field-Bg5r0IAX.cjs} +1 -1
- package/components/{item-option-number-field-CcEav5C3.js → item-option-number-field-CALw8q_J.js} +1 -1
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/{item-option-panel-6Voh87nt.cjs → item-option-panel-DBXgOsM4.cjs} +1 -1
- package/components/{item-option-panel-DrI7HYrY.js → item-option-panel-v7yUS9hb.js} +3 -3
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -1
- package/components/{item-option-picker-Bv4aGaCO.js → item-option-picker-CZyzd3Nq.js} +1 -1
- package/components/{item-option-picker-DkEgfEE7.cjs → item-option-picker-RFstpFwI.cjs} +1 -1
- package/components/item-option-position-picker/index.cjs +1 -1
- package/components/item-option-position-picker/index.js +1 -1
- package/components/{item-option-position-picker-1d7qZmDv.js → item-option-position-picker-C8cnHEH4.js} +1 -1
- package/components/{item-option-position-picker-CKgaqFJR.cjs → item-option-position-picker-CKHbHHl1.cjs} +1 -1
- package/components/item-option-positions-number-field/index.cjs +1 -1
- package/components/item-option-positions-number-field/index.js +1 -1
- package/components/{item-option-positions-number-field-BJXer0y5.cjs → item-option-positions-number-field-BGs3WWaz.cjs} +1 -1
- package/components/{item-option-positions-number-field-DUlBsbUL.js → item-option-positions-number-field-BJTY1qZR.js} +1 -1
- package/components/item-option-radio-button-group/index.cjs +1 -1
- package/components/item-option-radio-button-group/index.js +1 -1
- package/components/{item-option-radio-button-group-ChtTIO3B.cjs → item-option-radio-button-group-CN8TLtsV.cjs} +1 -1
- package/components/{item-option-radio-button-group-DuMcIZvr.js → item-option-radio-button-group-vhm4r4_k.js} +1 -1
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -1
- package/components/{item-option-slider-CWxRoAbA.js → item-option-slider-CQOKWBZQ.js} +1 -1
- package/components/{item-option-slider-CBSnkHVq.cjs → item-option-slider-DbLPhpJd.cjs} +1 -1
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -1
- package/components/{item-option-switch-dO66fjoD.cjs → item-option-switch-CWpb0nf3.cjs} +1 -1
- package/components/{item-option-switch-DvMLATBO.js → item-option-switch-azZX2vJr.js} +1 -1
- package/components/item-option-text-field/index.cjs +1 -1
- package/components/item-option-text-field/index.js +1 -1
- package/components/{item-option-text-field-DS-gn_Gc.js → item-option-text-field-CIM_38yi.js} +1 -1
- package/components/{item-option-text-field-Furz80ho.cjs → item-option-text-field-CS3Lccda.cjs} +1 -1
- package/components/item-options-configs.js +45 -45
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.js +1 -1
- package/components/item-slot-drop-C8WYPu_w.cjs +91 -0
- package/components/{item-slot-drop-DE90FDdS.js → item-slot-drop-DeZ2GvAu.js} +27 -27
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +1 -1
- package/components/{item-slot-drop-panel-DLqyYvKj.cjs → item-slot-drop-panel-BcBHDDTT.cjs} +6 -6
- package/components/{item-slot-drop-panel-CyfhbUlE.js → item-slot-drop-panel-LpfX7ap0.js} +48 -48
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -1
- package/components/{item-slot-picker-BM03UNRE.js → item-slot-picker-BSO1ltXC.js} +42 -42
- package/components/{item-slot-picker-CgEtqhqe.cjs → item-slot-picker-CvySq194.cjs} +17 -17
- package/components/item-slot-picker-panel/index.cjs +1 -1
- package/components/item-slot-picker-panel/index.js +1 -1
- package/components/{item-slot-picker-panel-DPaabfv5.js → item-slot-picker-panel-CsntXcAp.js} +15 -15
- package/components/{item-slot-picker-panel-CuH3OcmV.cjs → item-slot-picker-panel-DQ_OzMO_.cjs} +8 -8
- package/components/item-slots-configs.js +45 -45
- package/components/{line-chart-options.config-D8gRtfj3.js → line-chart-options.config-C3_RnROS.js} +1 -1
- package/components/{line-chart-positioning.config-CPGyHeJF.js → line-chart-positioning.config-CrreArf5.js} +1 -1
- package/components/{line-chart-positioning.config-BnDYCjGX.cjs → line-chart-positioning.config-DMe1Ldwk.cjs} +1 -1
- package/components/{line-chart-slots.config-C6LEwEwh.js → line-chart-slots.config-CA-I6B6o.js} +1 -1
- package/components/{localized-mixin-DBUkUh0o.js → localized-mixin-DaLXe5J9.js} +1 -1
- package/components/{localized-mixin-CtNoCjjI.cjs → localized-mixin-DiUJOd06.cjs} +1 -1
- package/components/{marker-map-options.config-BE8GnY_T.js → marker-map-options.config-OMdgbAc4.js} +1 -1
- package/components/{marker-map-positioning.config-Bq1EPg3J.cjs → marker-map-positioning.config-CpI8nCtC.cjs} +1 -1
- package/components/{marker-map-positioning.config-CBERtxkG.js → marker-map-positioning.config-DW9tMO2M.js} +1 -1
- package/components/{marker-map-slots.config-Cyk-QFPT.js → marker-map-slots.config-CcGNgr1_.js} +1 -1
- package/components/{nl-h9vVAk2e.js → nl-BaZM3WoR.js} +34 -0
- package/components/nl-BoEhzeIh.cjs +20 -0
- package/components/{ohlc-chart-options.config-xgegn34C.js → ohlc-chart-options.config-CWRI5bXI.js} +1 -1
- package/components/{ohlc-chart-positioning.config-aCf-SEt7.cjs → ohlc-chart-positioning.config-9DETh4xy.cjs} +1 -1
- package/components/{ohlc-chart-positioning.config-CpPJyyLB.js → ohlc-chart-positioning.config-CkX8gyS2.js} +1 -1
- package/components/{ohlc-chart-slots.config-CQFi8BIT.js → ohlc-chart-slots.config-Pv0xst-Y.js} +1 -1
- package/components/{parallel-coordinates-plot-options.config-BUQLHO1k.js → parallel-coordinates-plot-options.config-DbuNgevO.js} +1 -1
- package/components/{parallel-coordinates-plot-positioning.config-D1CB7jOv.cjs → parallel-coordinates-plot-positioning.config-CLDZdGdh.cjs} +1 -1
- package/components/{parallel-coordinates-plot-positioning.config-DsNDp1G7.js → parallel-coordinates-plot-positioning.config-DTJZLEeT.js} +1 -1
- package/components/{parallel-coordinates-plot-slots.config-D5o-5y_j.js → parallel-coordinates-plot-slots.config-GvYC-RXK.js} +1 -1
- package/components/{pivot-table-options.config-DW9UDipI.js → pivot-table-options.config-CTz4bcGJ.js} +1 -1
- package/components/{pivot-table-positioning.config-gBHM1_-K.cjs → pivot-table-positioning.config-B-SALuVb.cjs} +1 -1
- package/components/{pivot-table-positioning.config-BFWS3Yk_.js → pivot-table-positioning.config-CtSYHD-n.js} +1 -1
- package/components/{pivot-table-slots.config-Cl5z3IQo.js → pivot-table-slots.config-BAW0U3nh.js} +1 -1
- package/components/{pragmatic-element-adapter-C_7HSvGV.js → pragmatic-element-adapter-D0LRKx5U.js} +75 -74
- package/components/{pragmatic-element-adapter-DPWYJiW9.cjs → pragmatic-element-adapter-DdyH32ix.cjs} +4 -4
- package/components/{pyramid-chart-options.config-Cbg351Yy.js → pyramid-chart-options.config-C7btzuZj.js} +1 -1
- package/components/{pyramid-chart-positioning.config-B8dbZhvt.js → pyramid-chart-positioning.config-0Juiava5.js} +1 -1
- package/components/{pyramid-chart-positioning.config-DD64vCwl.cjs → pyramid-chart-positioning.config-BllFtneP.cjs} +1 -1
- package/components/{pyramid-chart-slots.config-DNzq2hMx.js → pyramid-chart-slots.config-CsMMyhV3.js} +1 -1
- package/components/{radar-chart-options.config-DrNyOkHq.js → radar-chart-options.config-CtA6MpUp.js} +1 -1
- package/components/{radar-chart-positioning.config-C2DWQu8V.js → radar-chart-positioning.config-BPbb63S6.js} +1 -1
- package/components/{radar-chart-positioning.config-DN51_Tzb.cjs → radar-chart-positioning.config-BY4RKNDi.cjs} +1 -1
- package/components/{radar-chart-slots.config-CXgfvAkt.js → radar-chart-slots.config-8Kf_WAFi.js} +1 -1
- package/components/{regular-table-options.config-CweBtAvm.js → regular-table-options.config-BRmS77t-.js} +1 -1
- package/components/{regular-table-slots.config-DCkw4Xkq.js → regular-table-slots.config-r-N9A-qA.js} +1 -1
- package/components/{route-map-options.config-DXHqb8Ve.js → route-map-options.config-C65J81_7.js} +1 -1
- package/components/{route-map-positioning.config-D7X6QuWY.js → route-map-positioning.config-D6nZFd8f.js} +1 -1
- package/components/{route-map-positioning.config-ryk_dUkh.cjs → route-map-positioning.config-GQ9AJfej.cjs} +1 -1
- package/components/{route-map-slots.config-DJ76FOsJ.js → route-map-slots.config-DMII2UuP.js} +1 -1
- package/components/{sankey-diagram-options.config-1lSECht4.js → sankey-diagram-options.config-nQDCRhKs.js} +1 -1
- package/components/{sankey-diagram-positioning.config-CJfGpnPS.cjs → sankey-diagram-positioning.config-DAuj5A08.cjs} +1 -1
- package/components/{sankey-diagram-positioning.config-A_7xM06n.js → sankey-diagram-positioning.config-R1EjoR5F.js} +1 -1
- package/components/{sankey-diagram-slots.config-BCc8P4j0.js → sankey-diagram-slots.config-DmWIGut0.js} +1 -1
- package/components/{scatter-plot-options.config-9zL4v24E.js → scatter-plot-options.config-BplrME7w.js} +1 -1
- package/components/{scatter-plot-positioning.config-qpwrugRe.js → scatter-plot-positioning.config-DGoMnNZy.js} +1 -1
- package/components/{scatter-plot-positioning.config-Duao2ftU.cjs → scatter-plot-positioning.config-o4c-wuRo.cjs} +1 -1
- package/components/{scatter-plot-slots.config-BMTdhTZG.js → scatter-plot-slots.config-B7wQVEEj.js} +1 -1
- package/components/{search-filter-options.config-B_qQjr68.js → search-filter-options.config-yAz6IIto.js} +1 -1
- package/components/{search-filter-slots.config-qCILSYzs.js → search-filter-slots.config-D8-V0BT5.js} +1 -1
- package/components/{set-locale-B-GvqA1H.cjs → set-locale-Xh_1AFbC.cjs} +1 -1
- package/components/{set-locale-CgCeLPlb.js → set-locale-ydAPif-7.js} +4 -4
- package/components/{slicer-filter-options.config-DK62SCMp.js → slicer-filter-options.config-BtGkT2hI.js} +1 -1
- package/components/{slicer-filter-positioning.config-DxhC39ak.cjs → slicer-filter-positioning.config-BqpIENEm.cjs} +1 -1
- package/components/{slicer-filter-positioning.config-93hC7jID.js → slicer-filter-positioning.config-D_didkcw.js} +1 -1
- package/components/{slicer-filter-slots.config-C9_NdJm4.js → slicer-filter-slots.config-DR0Wg_Zr.js} +1 -1
- package/components/{slider-filter-options.config-CP5bXdih.js → slider-filter-options.config-D_yZ_nFz.js} +1 -1
- package/components/{slider-filter-slots.config-15eAAGVn.js → slider-filter-slots.config-BUHw-32u.js} +1 -1
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -1
- package/components/{slot-menu-DHJtAZ5_.js → slot-menu-CUdbaW3K.js} +35 -36
- package/components/slot-menu-DRx1Ffla.cjs +71 -0
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -1
- package/components/{slot-menu-list-QltpaoWh.js → slot-menu-list-DVSxamVa.js} +3 -3
- package/components/{slot-menu-list-CeWcE4KK.cjs → slot-menu-list-DaHzz_ve.cjs} +1 -1
- package/components/slots-config-GlSNH7Gr.js +76 -0
- package/components/{speedometer-chart-options.config-dsUupCqm.js → speedometer-chart-options.config-BL7evgzP.js} +1 -1
- package/components/{speedometer-chart-positioning.config-CZbwyYsk.js → speedometer-chart-positioning.config-CmxsV4-x.js} +1 -1
- package/components/{speedometer-chart-positioning.config-DtRG3-e5.cjs → speedometer-chart-positioning.config-eVUWDhkL.cjs} +1 -1
- package/components/{speedometer-chart-slots.config-DfTw7JTF.js → speedometer-chart-slots.config-2Y_x52Gy.js} +1 -1
- package/components/{spike-map-options.config-Dh4Ky5ZP.js → spike-map-options.config-DjoTrAsC.js} +1 -1
- package/components/{spike-map-positioning.config-CevjyQ5F.cjs → spike-map-positioning.config-B38djRlf.cjs} +1 -1
- package/components/{spike-map-positioning.config-LBqSYD2n.js → spike-map-positioning.config-Bta7ar9e.js} +1 -1
- package/components/{spike-map-slots.config-i-c0F9QM.js → spike-map-slots.config-DJWMFPIR.js} +1 -1
- package/components/{strip-plot-options.config-Vw3GoLef.js → strip-plot-options.config-tDmVlu9U.js} +1 -1
- package/components/{strip-plot-positioning.config-cCdQxMM_.js → strip-plot-positioning.config-0vlAfmDB.js} +1 -1
- package/components/{strip-plot-positioning.config-DF5VxzvB.cjs → strip-plot-positioning.config-atH68L8u.cjs} +1 -1
- package/components/{strip-plot-slots.config-BuF7X3xN.js → strip-plot-slots.config-suFyIf5-.js} +1 -1
- package/components/{sunburst-chart-options.config-CXOrVmIe.js → sunburst-chart-options.config-Bjue_lQN.js} +1 -1
- package/components/{sunburst-chart-positioning.config-DmkZEexM.js → sunburst-chart-positioning.config-B2x6afBV.js} +1 -1
- package/components/{sunburst-chart-positioning.config-CERBvfoF.cjs → sunburst-chart-positioning.config-NFzFNuXB.cjs} +1 -1
- package/components/{sunburst-chart-slots.config-Cq-E6kyI.js → sunburst-chart-slots.config-BqVT-h0Z.js} +1 -1
- package/components/{symbol-map-options.config-Dultd0tF.js → symbol-map-options.config-Dyeya5Z2.js} +1 -1
- package/components/{symbol-map-positioning.config-BwG_G6He.js → symbol-map-positioning.config-B6v9PFTk.js} +1 -1
- package/components/{symbol-map-positioning.config-DhYxG8RC.cjs → symbol-map-positioning.config-DGpmp_N1.cjs} +1 -1
- package/components/{symbol-map-slots.config-BfdBHkzN.js → symbol-map-slots.config-Rhpher5o.js} +1 -1
- package/components/{text-options.config-BUiRyi3L.js → text-options.config-CXhvzzPF.js} +1 -1
- package/components/{text-slots.config-CM_ZaW3p.js → text-slots.config-Dzj4-x2G.js} +1 -1
- package/components/{treemap-chart-options.config-6l3HzikF.js → treemap-chart-options.config-BzOCEWog.js} +1 -1
- package/components/{treemap-chart-positioning.config-arjPT6b_.js → treemap-chart-positioning.config-Bf2VNVRQ.js} +1 -1
- package/components/{treemap-chart-positioning.config-BwrrXs4a.cjs → treemap-chart-positioning.config-NMULB8UM.cjs} +1 -1
- package/components/{treemap-chart-slots.config-CHkGtIOa.js → treemap-chart-slots.config-DRcafVU-.js} +1 -1
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/utils/store.js +1 -1
- package/components/utils-SzKvwZ9-.cjs +20 -0
- package/components/{utils-B_rE5b7a.js → utils-_8LPCz9-.js} +47 -47
- package/components/utils.cjs +1 -1
- package/components/utils.js +9 -9
- package/components/{venn-diagram-options.config-Wi0dQsAu.js → venn-diagram-options.config-BMlduwIp.js} +1 -1
- package/components/{venn-diagram-positioning.config-GGLCcrqp.cjs → venn-diagram-positioning.config-D4cODPGV.cjs} +1 -1
- package/components/{venn-diagram-positioning.config-DSh3Ns9L.js → venn-diagram-positioning.config-DgOl0Vh-.js} +1 -1
- package/components/{venn-diagram-slots.config-DY04aeYK.js → venn-diagram-slots.config-CMDndPVi.js} +1 -1
- package/components/{video-options.config-B6pQUPB7.js → video-options.config-DdfSTJEJ.js} +1 -1
- package/components/{video-slots.config-C-kXGzo3.js → video-slots.config-Utnn0DBW.js} +1 -1
- package/components/viz-item-menu/index.cjs +1 -1
- package/components/viz-item-menu/index.js +1 -1
- package/components/{viz-item-menu-hLdU-02Q.cjs → viz-item-menu-CNHv6qDa.cjs} +1 -1
- package/components/{viz-item-menu-B7yRaSAU.js → viz-item-menu-L_j0L08h.js} +1 -1
- package/components/{wordcloud-chart-options.config-CpMtpG7q.js → wordcloud-chart-options.config-y9Z5I_ZN.js} +1 -1
- package/components/{wordcloud-chart-positioning.config-B8ZzwIdd.js → wordcloud-chart-positioning.config-BP6iqy-N.js} +1 -1
- package/components/{wordcloud-chart-positioning.config-Cxyhs6gk.cjs → wordcloud-chart-positioning.config-DZEkWvb0.cjs} +1 -1
- package/components/{wordcloud-chart-slots.config-Cc5F92Tv.js → wordcloud-chart-slots.config-CvabtgbP.js} +1 -1
- package/custom-elements.json +402 -3
- package/package.json +2 -2
- package/react/components/filters.component.ts +1 -1
- package/react/esm/components/filters.component.d.ts +1 -1
- package/react/esm/components/filters.component.js +1 -1
- package/react/package.json +2 -2
- package/utils/create-lazy-loader.d.ts +5 -0
- package/utils/filters/filter-text.d.ts +64 -0
- package/utils/filters/index.d.ts +1 -0
- package/utils/filters/presentation.d.ts +4 -0
- package/utils/filters/tests/filter-text.test.d.ts +1 -0
- package/utils/formatter/localized-template.d.ts +4 -0
- package/utils/formatter/tests/localized-template.test.d.ts +1 -0
- package/utils/slot-state/slot-store.d.ts +4 -0
- package/utils/slot-state/tests/slot-store.test.d.ts +1 -0
- package/utils/tests/create-lazy-loader.test.d.ts +1 -0
- package/components/convert-data-field-to-slot-content-DLzkk6dT.cjs +0 -20
- package/components/data-field-panel-DFA97_8o.cjs +0 -87
- package/components/data-fields-select-BtXNFZy9.cjs +0 -41
- package/components/de-CdZnQbKI.cjs +0 -20
- package/components/es-7RD7O4q3.cjs +0 -20
- package/components/filter-item-C58zIpPh.js +0 -316
- package/components/filter-item-obyHcs9f.cjs +0 -71
- package/components/filter-value-picker-hierarchy-BTf992WX.cjs +0 -48
- package/components/filter-value-picker-numeric-DJi0Utk_.cjs +0 -48
- package/components/filters-BddhKRZC.js +0 -745
- package/components/filters-Dx6g0xl9.cjs +0 -153
- package/components/formula-display-store-DER7C0GG.cjs +0 -20
- package/components/formula-input-base-CvD0b2cO.cjs +0 -49
- package/components/fr-CGw2IwXh.cjs +0 -20
- package/components/interactive-viz-item-DTr14-9-.cjs +0 -247
- package/components/item-slot-drop-f8jm-34W.cjs +0 -91
- package/components/nl-BnzS_ZtB.cjs +0 -20
- package/components/slot-menu-CPxyyKSe.cjs +0 -71
- package/components/slots-config-D3ivNWtC.js +0 -76
- package/components/utils-BwJNkc-z.cjs +0 -20
|
@@ -0,0 +1,249 @@
|
|
|
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
|
+
const e=require("./base-K-bf6_7X.cjs"),t=require("./decorate-DCJt-2rt.cjs"),n=require("./localized-mixin-DiUJOd06.cjs"),r=require("./create-lazy-loader-DYPgQh0L.cjs");let i=require("@luzmo/icons");require("@luzmo/lucero/icon"),require("@luzmo/lucero/overlay"),require("@luzmo/lucero/popover");let a=require("lit"),o=require("lit/decorators.js"),s=require("@lit/localize");require("@luzmo/lucero/action-button"),require("@luzmo/embed"),require("@luzmo/lucero/action-group"),require("@luzmo/lucero/field-label"),require("@luzmo/lucero/number-field"),require("@luzmo/lucero/picker"),require("@luzmo/lucero/progress-circle"),require("@luzmo/lucero/tabs");var c=`:host{box-sizing:border-box;display:block;container-type:inline-size}.answer{width:100%;display:block}.chart-actions-bar{justify-content:space-between;align-items:center;gap:var(--luzmo-interactive-viz-item-actions-gap,var(--interactive-viz-item-actions-gap));padding-block:var(--luzmo-interactive-viz-item-actions-padding-block,var(--interactive-viz-item-actions-padding-block));flex-wrap:nowrap;margin-block-start:var(--luzmo-interactive-viz-item-actions-margin-block-start,var(--interactive-viz-item-actions-margin-block-start));display:flex}.chart-actions-primary{gap:var(--luzmo-interactive-viz-item-actions-gap,var(--interactive-viz-item-actions-gap));flex-wrap:wrap;flex:1;align-items:center;min-width:0;display:flex}.ranking-content{gap:var(--luzmo-spacing-3);padding:var(--luzmo-spacing-3);flex-direction:column;display:flex}.ranking-row{gap:var(--luzmo-spacing-3);align-items:center;display:flex}.ranking-number{width:4rem}.icon-flipped{transform:scaleY(-1)}.chart-container{border-radius:var(--luzmo-interactive-viz-item-chart-border-radius,var(--interactive-viz-item-chart-border-radius));height:var(--luzmo-interactive-viz-item-chart-height,var(--interactive-viz-item-chart-height));overflow:hidden}.chart-container luzmo-embed-viz-item{width:100%;height:100%;display:block}.feedback-row{padding-block:var(--luzmo-interactive-viz-item-feedback-padding-block,var(--interactive-viz-item-feedback-padding-block));justify-content:space-between;align-items:center;display:flex}.rating-btn-positive{--luzmo-action-button-content-color-default-selected:var(--luzmo-interactive-viz-item-rating-positive-color,var(--interactive-viz-item-rating-positive-color));--luzmo-action-button-content-color-hover-selected:var(--luzmo-interactive-viz-item-rating-positive-color,var(--interactive-viz-item-rating-positive-color));--luzmo-action-button-content-color-down-selected:var(--luzmo-interactive-viz-item-rating-positive-color,var(--interactive-viz-item-rating-positive-color));--luzmo-action-button-content-color-focus-selected:var(--luzmo-interactive-viz-item-rating-positive-color,var(--interactive-viz-item-rating-positive-color));--luzmo-action-button-background-color-default-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background));--luzmo-action-button-background-color-hover-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background));--luzmo-action-button-background-color-down-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background));--luzmo-action-button-background-color-focus-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background))}.rating-btn-negative{--luzmo-action-button-content-color-default-selected:var(--luzmo-interactive-viz-item-rating-negative-color,var(--interactive-viz-item-rating-negative-color));--luzmo-action-button-content-color-hover-selected:var(--luzmo-interactive-viz-item-rating-negative-color,var(--interactive-viz-item-rating-negative-color));--luzmo-action-button-content-color-down-selected:var(--luzmo-interactive-viz-item-rating-negative-color,var(--interactive-viz-item-rating-negative-color));--luzmo-action-button-content-color-focus-selected:var(--luzmo-interactive-viz-item-rating-negative-color,var(--interactive-viz-item-rating-negative-color));--luzmo-action-button-background-color-default-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background));--luzmo-action-button-background-color-hover-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background));--luzmo-action-button-background-color-down-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background));--luzmo-action-button-background-color-focus-selected:var(--luzmo-interactive-viz-item-rating-selected-background,var(--interactive-viz-item-rating-selected-background))}.config-toggle{--luzmo-action-button-border-radius:32px;margin-inline-start:auto}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.config-panel{border:1px solid var(--luzmo-interactive-viz-item-config-panel-border-color,var(--interactive-viz-item-config-panel-border-color));border-radius:var(--luzmo-interactive-viz-item-config-panel-border-radius,var(--interactive-viz-item-config-panel-border-radius));padding:var(--luzmo-interactive-viz-item-config-panel-padding,var(--interactive-viz-item-config-panel-padding));background:var(--luzmo-interactive-viz-item-config-panel-background,var(--interactive-viz-item-config-panel-background));margin-block-start:var(--luzmo-spacing-2)}.config-panel luzmo-tab-panel[selected]{padding-block-start:var(--luzmo-spacing-4);display:block}.config-panel luzmo-item-option-panel,.config-panel luzmo-item-slot-picker-panel,.config-panel luzmo-filters{width:100%;max-height:15rem;scrollbar-width:thin;scrollbar-color:var(--luzmo-interactive-viz-item-config-panel-border-color,var(--interactive-viz-item-config-panel-border-color)) transparent;padding-inline-end:var(--luzmo-spacing-3);overflow-y:auto}.edit-grid{min-height:12.5rem;display:flex}.edit-column{gap:var(--luzmo-spacing-3);flex-direction:column;display:flex}.edit-column:first-child{flex-shrink:0;max-width:15rem}.edit-column-filters{border-inline-start:1px solid var(--luzmo-interactive-viz-item-config-panel-border-color,var(--interactive-viz-item-config-panel-border-color));flex:1;min-width:18.75rem;padding-inline-start:var(--luzmo-spacing-5)}@container (width<=520px){.edit-grid{flex-direction:column}.edit-column,.edit-column:first-child{width:100%;min-width:0;max-width:100%}.edit-column-filters{border-inline-start:none;border-block-start:1px solid var(--luzmo-interactive-viz-item-config-panel-border-color,var(--interactive-viz-item-config-panel-border-color));min-width:0;margin-block-start:var(--luzmo-spacing-3);padding-block-start:var(--luzmo-spacing-4);padding-inline-start:0}}@container (width<=768px){.chart-container{height:calc(var(--luzmo-interactive-viz-item-chart-height,var(--interactive-viz-item-chart-height)) - 2.5rem)}}:host{--interactive-viz-item-actions-gap:var(--luzmo-spacing-3);--interactive-viz-item-actions-padding-block:var(--luzmo-spacing-3);--interactive-viz-item-actions-margin-block-start:var(--luzmo-spacing-5);--interactive-viz-item-chart-height:20rem;--interactive-viz-item-chart-border-radius:var(--luzmo-border-radius);--interactive-viz-item-feedback-padding-block:var(--luzmo-spacing-4);--interactive-viz-item-config-panel-padding:var(--luzmo-spacing-5);--interactive-viz-item-config-panel-border-color:var(--luzmo-border-color);--interactive-viz-item-config-panel-border-radius:var(--luzmo-border-radius);--interactive-viz-item-config-panel-background:var(--luzmo-background-color);--interactive-viz-item-rating-positive-color:var(--luzmo-positive-color,#12855a);--interactive-viz-item-rating-negative-color:var(--luzmo-negative-color,#ca221c);--interactive-viz-item-rating-selected-background:var(--luzmo-background-color-focus,#0000000f)}:host([size=s]){--interactive-viz-item-chart-height:17.5rem}:host([size=l]){--interactive-viz-item-chart-height:22rem}:host([size=xl]){--interactive-viz-item-chart-height:24rem}`,l=function(e){return e.Top=`top`,e.Bottom=`bottom`,e}({}),u=function(e){return e.Asc=`asc`,e.Desc=`desc`,e}({}),d=function(e){return e.Measure=`measure`,e.Category=`category`,e}({}),f=5,p=Array.isArray;function m(e){return typeof e==`string`}function h(e){let t={...e};return!t.datasetId&&t.set&&(t.datasetId=t.set),!t.set&&t.datasetId&&(t.set=t.datasetId),!t.columnId&&t.column&&(t.columnId=t.column),!t.column&&t.columnId&&(t.column=t.columnId),!t.formulaId&&t.formula&&(t.formulaId=t.formula),!t.formula&&t.formulaId&&(t.formula=t.formulaId),t}function g(e){return p(e)?e:Object.entries(e).map(([e,t])=>({name:e,content:p(t)?t:[]}))}function _(e){let t=new Set;for(let n of e)for(let e of n.content){let n=e.datasetId??e.set;m(n)&&t.add(n)}return[...t]}function v(e){let t=g(e.slots??[]),n=e.options??{},r=n.interactivity;return{type:e.type,options:{...n,interactivity:{...r,scheduledExport:!1}},slots:t.map(e=>({...e,content:p(e.content)?e.content.map(e=>h(e)):[]})),filters:e.filters}}function y(e,t){return{...e,options:{...e.options,theme:{...e.options.theme,...t}}}}function b(e){let t=e.find(e=>e.name===`measure`||e.name===`measures`);if(t&&t.content.length>1)return!0;let n=e.find(e=>e.name===`legend`);return n?n.content.length>0:!1}function x(e){let t=[],n=e.options;switch(e.type){case`area-chart`:case`bar-chart`:case`column-chart`:if(t.push({type:`rankingPicker`,mutationType:`rankAndSort`,ranking:n.ranking??{active:!1,number:5,direction:l.Top},sort:n.sort??{direction:u.Desc,by:d.Measure},importance:100}),b(e.slots)){let r=e.type===`area-chart`,i=r?[{key:`stacked`,label:`Stacked`},{key:`unstacked`,label:`Unstacked`},{key:`100`,label:`100%`},{key:`stream`,label:`Stream`}]:[{key:`grouped`,label:`Grouped`},{key:`stacked`,label:`Stacked`},{key:`100`,label:`100%`}],a=r?`stacked`:`grouped`;t.push({type:`optionDropdown`,mutationType:`mode`,values:i,currentValue:n.mode??a,importance:90})}break;case`donut-chart`:{let e=n.display??{};t.push({type:`optionDropdown`,mutationType:`donutLabelDisplay`,values:[{key:`withLegend`,label:`With legend`},{key:`withLabels`,label:`With labels`}],currentValue:e.categoryLabels===!0?`withLabels`:`withLegend`,importance:90});break}case`bubble-chart`:{let e=n.display??{};t.push({type:`optionDropdown`,mutationType:`bubbleValues`,values:[{key:`none`,label:`No values`},{key:`absolute`,label:`Absolute`},{key:`percentage`,label:`Percentage`}],currentValue:e.bubbleValues??e.values??`none`,importance:100});break}}return t.sort((e,t)=>t.importance-e.importance)}function S(e,t,n){let r=e.options;switch(t){case`mode`:return{...e,options:{...r,mode:n}};case`donutLabelDisplay`:{let t={...r.display??{}};return n===`withLabels`?(t.legend=!1,t.categoryLabels=!0):(t.legend=!0,t.categoryLabels=!1),{...e,options:{...r,display:t}}}case`bubbleValues`:{let t={...r.display??{}};return t.bubbleLabels=t.bubbleLabels!==!1,t.bubbleValues=n,{...e,options:{...r,display:t}}}default:return e}}function C(e,t){switch(t.type){case`slots`:return{...e,slots:t.slotsContents};case`options`:return{...e,options:t.options};case`filters`:return{...e,filters:t.filters};case`chartAction`:return S(e,t.actionType,t.key);case`rankAndSort`:return{...e,options:{...e.options,ranking:t.ranking,sort:t.sort}};case`fullReplace`:return t.chart;default:return e}}var w=[`luzmo-filters`,`luzmo-item-option-panel`,`luzmo-item-slot-picker-panel`],T=r.t(()=>Promise.all([Promise.resolve().then(()=>require("./filters/index.cjs")),Promise.resolve().then(()=>require("./item-option-panel/index.cjs")),Promise.resolve().then(()=>require("./item-slot-picker-panel/index.cjs"))])),E=T.load,D=()=>T.isLoaded()||w.every(e=>customElements.get(e)!==void 0),O=0,k=class extends n.t(e.n(e.i,{validSizes:Object.values(e.t)})){constructor(...e){super(...e),this.chart=null,this.feedback=null,this.messageId=``,this.authKey=``,this.authToken=``,this.apiUrl=`https://api.luzmo.com`,this.appServer=`https://app.luzmo.com`,this.contentLanguage=``,this.hideActions=!1,this.hideFeedback=!1,this.hideConfigPanel=!1,this._configPanelOpen=!1,this._configPanelPending=!1,this._configPanelLoadFailed=!1,this._rankingTriggerId=`interactive-viz-item-ranking-${++O}`,this._handleSlotsChanged=e=>{this.chart&&this._emitChart({...this.chart,slots:e.detail.slotsContents})},this._handleFiltersChanged=e=>{this.chart&&this._emitChart({...this.chart,filters:e.detail.filters})},this._handleOptionsChanged=e=>{if(!this.chart)return;let t=e.detail.options;if(!t)return;let n=this.chart.options.theme??{};this._emitChart({...this.chart,options:{...t,theme:{...n}}})}}static get styles(){return[(0,a.unsafeCSS)(c)]}get _effectiveContentLanguage(){return this.contentLanguage||this.language}_dispatch(e,t){let n=new CustomEvent(e,{detail:t,bubbles:!0,composed:!0});this.dispatchEvent(n)}get _chartActions(){return this.chart?x(v(this.chart)):[]}get _rating(){return this.feedback?.rating??0}get _canShowConfigPanel(){return!!this.chart&&!this.hideConfigPanel}async _toggleConfigPanel(){if(this._configPanelLoadFailed=!1,this._configPanelOpen){this._configPanelOpen=!1;return}if(!this._configPanelPending){if(!D()){this._configPanelPending=!0;try{await E()}catch(e){console.warn(`Failed to load the chart configuration panel:`,e),this._configPanelLoadFailed=!0;return}finally{this._configPanelPending=!1}}!this.isConnected||!this._canShowConfigPanel||(this._configPanelOpen=!0)}}_emitOptions(e){this._dispatch(`luzmo-chart-options-changed`,{options:e})}_emitChart(e){this._dispatch(`luzmo-chart-changed`,{chart:e})}_handleDropdownChange(e,t){if(!this.chart)return;t.stopPropagation();let n=t.detail,r=typeof n==`string`?n:n?.value??t.target?.value;if(!r)return;let i=C(v(this.chart),{type:`chartAction`,actionType:e.mutationType,key:r});this._emitOptions(i.options)}_currentRanking(e){return e.ranking??{active:!1,number:5,direction:l.Top}}_currentSort(e){return e.sort??{direction:u.Desc,by:d.Measure}}_emitRankAndSort(e,t){this.chart&&this._emitOptions({...this.chart.options,ranking:e,sort:t})}_renderOptionDropdown(e){let t=e.values??[],n=e.currentValue||t[0]?.key||``;return a.html`
|
|
21
|
+
<luzmo-picker
|
|
22
|
+
size=${this.size}
|
|
23
|
+
variant="highlight"
|
|
24
|
+
value=${n}
|
|
25
|
+
@change=${t=>this._handleDropdownChange(e,t)}
|
|
26
|
+
>
|
|
27
|
+
${t.map(e=>a.html`<luzmo-menu-item value=${e.key}>${e.label}</luzmo-menu-item>`)}
|
|
28
|
+
</luzmo-picker>
|
|
29
|
+
`}_renderRankingPicker(e){let t=this._currentRanking(e),n=this._currentSort(e);if(!t.active)return a.html`
|
|
30
|
+
<luzmo-action-button
|
|
31
|
+
size=${this.size}
|
|
32
|
+
@click=${()=>this._emitRankAndSort({active:!0,number:5,direction:l.Top},n)}
|
|
33
|
+
>
|
|
34
|
+
<luzmo-icon slot="icon" size="xs" .icon=${i.luzmoAlignLeft}></luzmo-icon>
|
|
35
|
+
${(0,s.msg)(`Show top 5`,{desc:`Label to activate top-N ranking on a chart`})}
|
|
36
|
+
</luzmo-action-button>
|
|
37
|
+
`;let r=t.direction===l.Bottom?(0,s.msg)(`Bottom`,{desc:`Ranking direction: keep the lowest values`}):(0,s.msg)(`Top`,{desc:`Ranking direction: keep the highest values`});return a.html`
|
|
38
|
+
<luzmo-action-button size=${this.size} id=${this._rankingTriggerId}>
|
|
39
|
+
<luzmo-icon slot="icon" size="xs" .icon=${i.luzmoAlignLeft}></luzmo-icon>
|
|
40
|
+
${r} ${t.number||5}
|
|
41
|
+
</luzmo-action-button>
|
|
42
|
+
|
|
43
|
+
<luzmo-overlay type="auto" placement="bottom-start" trigger=${`${this._rankingTriggerId}@click`}>
|
|
44
|
+
<luzmo-popover>
|
|
45
|
+
<div class="ranking-content">
|
|
46
|
+
<div class="ranking-row">
|
|
47
|
+
<luzmo-action-group
|
|
48
|
+
size=${this.size}
|
|
49
|
+
compact
|
|
50
|
+
selects="single"
|
|
51
|
+
.selected=${[t.direction]}
|
|
52
|
+
@change=${t=>this._handleDirectionChange(e,t)}
|
|
53
|
+
>
|
|
54
|
+
<luzmo-action-button value="top" emphasized
|
|
55
|
+
>${(0,s.msg)(`Top`,{desc:`Ranking direction: keep the highest values`})}</luzmo-action-button
|
|
56
|
+
>
|
|
57
|
+
<luzmo-action-button value="bottom" emphasized
|
|
58
|
+
>${(0,s.msg)(`Bottom`,{desc:`Ranking direction: keep the lowest values`})}</luzmo-action-button
|
|
59
|
+
>
|
|
60
|
+
</luzmo-action-group>
|
|
61
|
+
|
|
62
|
+
<luzmo-number-field
|
|
63
|
+
class="ranking-number"
|
|
64
|
+
size=${this.size}
|
|
65
|
+
hide-stepper
|
|
66
|
+
min="1"
|
|
67
|
+
max="100"
|
|
68
|
+
step="1"
|
|
69
|
+
.value=${t.number}
|
|
70
|
+
@change=${t=>this._handleNumberChange(e,t)}
|
|
71
|
+
@input=${t=>this._handleNumberChange(e,t)}
|
|
72
|
+
></luzmo-number-field>
|
|
73
|
+
</div>
|
|
74
|
+
|
|
75
|
+
<div class="ranking-row">
|
|
76
|
+
<luzmo-action-group
|
|
77
|
+
size=${this.size}
|
|
78
|
+
compact
|
|
79
|
+
selects="single"
|
|
80
|
+
.selected=${[n.by]}
|
|
81
|
+
@change=${t=>this._handleSortByChange(e,t)}
|
|
82
|
+
>
|
|
83
|
+
<luzmo-action-button value="measure" emphasized>123</luzmo-action-button>
|
|
84
|
+
<luzmo-action-button value="category" emphasized>ABC</luzmo-action-button>
|
|
85
|
+
</luzmo-action-group>
|
|
86
|
+
|
|
87
|
+
<luzmo-action-group
|
|
88
|
+
size=${this.size}
|
|
89
|
+
compact
|
|
90
|
+
selects="single"
|
|
91
|
+
.selected=${[n.direction]}
|
|
92
|
+
@change=${t=>this._handleSortDirectionChange(e,t)}
|
|
93
|
+
>
|
|
94
|
+
<luzmo-action-button
|
|
95
|
+
value="desc"
|
|
96
|
+
emphasized
|
|
97
|
+
label=${(0,s.msg)(`Sort descending`,{desc:`Sort chart values in descending order`})}
|
|
98
|
+
>
|
|
99
|
+
<luzmo-icon slot="icon" size="xs" .icon=${i.luzmoAlignLeft}></luzmo-icon>
|
|
100
|
+
</luzmo-action-button>
|
|
101
|
+
<luzmo-action-button
|
|
102
|
+
value="asc"
|
|
103
|
+
emphasized
|
|
104
|
+
label=${(0,s.msg)(`Sort ascending`,{desc:`Sort chart values in ascending order`})}
|
|
105
|
+
>
|
|
106
|
+
<luzmo-icon slot="icon" size="xs" class="icon-flipped" .icon=${i.luzmoAlignLeft}></luzmo-icon>
|
|
107
|
+
</luzmo-action-button>
|
|
108
|
+
</luzmo-action-group>
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
</luzmo-popover>
|
|
112
|
+
</luzmo-overlay>
|
|
113
|
+
`}_handleDirectionChange(e,t){t.stopPropagation();let n=t.target?.selected;n?.length&&this._emitRankAndSort({...this._currentRanking(e),direction:n[0]},this._currentSort(e))}_handleNumberChange(e,t){t.stopPropagation();let n=t.target?.value,r=typeof n==`number`?n:Number.parseInt(String(n),10);!Number.isNaN(r)&&r>=1&&this._emitRankAndSort({...this._currentRanking(e),number:r},this._currentSort(e))}_handleSortByChange(e,t){t.stopPropagation();let n=t.target?.selected;n?.length&&this._emitRankAndSort(this._currentRanking(e),{...this._currentSort(e),by:n[0]})}_handleSortDirectionChange(e,t){t.stopPropagation();let n=t.target?.selected;n?.length&&this._emitRankAndSort(this._currentRanking(e),{...this._currentSort(e),direction:n[0]})}_renderActions(){return this.hideActions?a.html`
|
|
114
|
+
<div class="chart-actions-bar">
|
|
115
|
+
<div class="chart-actions-primary"></div>
|
|
116
|
+
<slot name="chart-actions-extra"></slot>
|
|
117
|
+
</div>
|
|
118
|
+
`:a.html`
|
|
119
|
+
<div class="chart-actions-bar">
|
|
120
|
+
<div class="chart-actions-primary">
|
|
121
|
+
${this._chartActions.map(e=>e.type===`optionDropdown`?this._renderOptionDropdown(e):this._renderRankingPicker(e))}
|
|
122
|
+
</div>
|
|
123
|
+
<slot name="chart-actions-extra"></slot>
|
|
124
|
+
</div>
|
|
125
|
+
`}_renderChart(){if(!this.chart)return a.nothing;let e=v(this.chart);return a.html`
|
|
126
|
+
<div class="chart-container" part="chart-container">
|
|
127
|
+
<luzmo-embed-viz-item
|
|
128
|
+
.type=${e.type}
|
|
129
|
+
.options=${e.options}
|
|
130
|
+
.slots=${e.slots}
|
|
131
|
+
.filters=${e.filters??[]}
|
|
132
|
+
.authKey=${this.authKey}
|
|
133
|
+
.authToken=${this.authToken}
|
|
134
|
+
.apiHost=${this.apiUrl}
|
|
135
|
+
.appServer=${this.appServer}
|
|
136
|
+
.language=${this._effectiveContentLanguage}
|
|
137
|
+
.canFilter=${!1}
|
|
138
|
+
></luzmo-embed-viz-item>
|
|
139
|
+
</div>
|
|
140
|
+
`}_renderFeedback(){let e=!this.hideFeedback&&!!this.messageId,t=this._canShowConfigPanel,n=(0,s.msg)(`Loading`,{desc:`Loading spinner label`});return!e&&!t?a.nothing:a.html`
|
|
141
|
+
<div class="feedback-row">
|
|
142
|
+
${e?a.html`
|
|
143
|
+
<luzmo-action-group quiet size=${this.size}>
|
|
144
|
+
<luzmo-action-button
|
|
145
|
+
class="rating-btn-positive"
|
|
146
|
+
value="positive"
|
|
147
|
+
quiet
|
|
148
|
+
label=${(0,s.msg)(`Good response`,{desc:`Accessible label for the positive feedback button`})}
|
|
149
|
+
?selected=${this._rating===1}
|
|
150
|
+
@click=${()=>this._toggleRating(!0)}
|
|
151
|
+
>
|
|
152
|
+
<luzmo-icon slot="icon" size="s" .icon=${i.luzmoThumbsUp}></luzmo-icon>
|
|
153
|
+
</luzmo-action-button>
|
|
154
|
+
<luzmo-action-button
|
|
155
|
+
class="rating-btn-negative"
|
|
156
|
+
value="negative"
|
|
157
|
+
quiet
|
|
158
|
+
label=${(0,s.msg)(`Bad response`,{desc:`Accessible label for the negative feedback button`})}
|
|
159
|
+
?selected=${this._rating===-1}
|
|
160
|
+
@click=${()=>this._toggleRating(!1)}
|
|
161
|
+
>
|
|
162
|
+
<luzmo-icon slot="icon" size="s" .icon=${i.luzmoThumbsDown}></luzmo-icon>
|
|
163
|
+
</luzmo-action-button>
|
|
164
|
+
</luzmo-action-group>
|
|
165
|
+
`:a.nothing}
|
|
166
|
+
${t?a.html`
|
|
167
|
+
<luzmo-action-button
|
|
168
|
+
class="config-toggle"
|
|
169
|
+
size=${this.size}
|
|
170
|
+
quiet
|
|
171
|
+
?selected=${this._configPanelOpen}
|
|
172
|
+
aria-expanded=${this._configPanelOpen}
|
|
173
|
+
aria-label=${this._configPanelPending?n:(0,s.msg)(`Configure chart`,{desc:`Accessible label for the chart config toggle`})}
|
|
174
|
+
@click=${()=>this._toggleConfigPanel()}
|
|
175
|
+
>
|
|
176
|
+
${this._configPanelPending?a.html`<luzmo-progress-circle slot="icon" size="s" indeterminate .label=${n}></luzmo-progress-circle>`:a.html`<luzmo-icon slot="icon" size="s" .icon=${i.luzmoInfoCircle}></luzmo-icon>`}
|
|
177
|
+
</luzmo-action-button>
|
|
178
|
+
<span class="sr-only" role="status" aria-live="polite">${this._configPanelPending?n:``}</span>
|
|
179
|
+
<span class="sr-only" role="alert">${this._configPanelLoadFailed?(0,s.msg)(`Failed to load the chart configuration. Please try again.`,{desc:`Error message when the chart config panel fails to load`}):``}</span>
|
|
180
|
+
`:a.nothing}
|
|
181
|
+
</div>
|
|
182
|
+
`}_toggleRating(e){let t=e?1:-1,n=this._rating===t?0:t;this._dispatch(`luzmo-feedback-changed`,{rating:n,comment:this.feedback?.comment})}_renderConfigPanel(){if(!this.chart||this.hideConfigPanel||!this._configPanelOpen)return a.nothing;let e=this.chart,t=g(e.slots??[]),n=_(t),r=e.options.theme??{};return a.html`
|
|
183
|
+
<div class="config-panel" part="config-panel">
|
|
184
|
+
<luzmo-tabs selected="data" size=${this.size}>
|
|
185
|
+
<luzmo-tab value="data">${(0,s.msg)(`Data`,{desc:`Label for the data section`})}</luzmo-tab>
|
|
186
|
+
<luzmo-tab value="options">${(0,s.msg)(`Options`,{desc:`Label for the options section`})}</luzmo-tab>
|
|
187
|
+
|
|
188
|
+
<luzmo-tab-panel value="data">
|
|
189
|
+
<div class="edit-grid">
|
|
190
|
+
<div class="edit-column">
|
|
191
|
+
<luzmo-item-slot-picker-panel
|
|
192
|
+
size=${this.size}
|
|
193
|
+
slot-menu-placement="bottom-end"
|
|
194
|
+
.itemType=${e.type}
|
|
195
|
+
.slotsContents=${t}
|
|
196
|
+
.datasetIds=${n}
|
|
197
|
+
.authKey=${this.authKey}
|
|
198
|
+
.authToken=${this.authToken}
|
|
199
|
+
.apiUrl=${this.apiUrl}
|
|
200
|
+
.language=${this.language}
|
|
201
|
+
.contentLanguage=${this._effectiveContentLanguage}
|
|
202
|
+
@luzmo-slots-contents-changed=${this._handleSlotsChanged}
|
|
203
|
+
></luzmo-item-slot-picker-panel>
|
|
204
|
+
</div>
|
|
205
|
+
<div class="edit-column edit-column-filters">
|
|
206
|
+
<luzmo-field-label size=${this.size}
|
|
207
|
+
>${(0,s.msg)(`Filters`,{desc:`Label for the filters section`})}</luzmo-field-label
|
|
208
|
+
>
|
|
209
|
+
<luzmo-filters
|
|
210
|
+
size=${this.size}
|
|
211
|
+
.datasetIds=${n}
|
|
212
|
+
.filters=${e.filters??[]}
|
|
213
|
+
.authKey=${this.authKey}
|
|
214
|
+
.authToken=${this.authToken}
|
|
215
|
+
.apiUrl=${this.apiUrl}
|
|
216
|
+
.language=${this.language}
|
|
217
|
+
.contentLanguage=${this._effectiveContentLanguage}
|
|
218
|
+
@luzmo-filters-changed=${this._handleFiltersChanged}
|
|
219
|
+
></luzmo-filters>
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
</luzmo-tab-panel>
|
|
223
|
+
|
|
224
|
+
<luzmo-tab-panel value="options">
|
|
225
|
+
<luzmo-item-option-panel
|
|
226
|
+
size=${this.size}
|
|
227
|
+
.itemType=${e.type}
|
|
228
|
+
.options=${e.options||{}}
|
|
229
|
+
.slots=${t}
|
|
230
|
+
.theme=${r}
|
|
231
|
+
.authKey=${this.authKey}
|
|
232
|
+
.authToken=${this.authToken}
|
|
233
|
+
.apiUrl=${this.apiUrl}
|
|
234
|
+
.language=${this.language}
|
|
235
|
+
@luzmo-options-changed=${this._handleOptionsChanged}
|
|
236
|
+
></luzmo-item-option-panel>
|
|
237
|
+
</luzmo-tab-panel>
|
|
238
|
+
</luzmo-tabs>
|
|
239
|
+
</div>
|
|
240
|
+
`}render(){return this.chart?a.html`
|
|
241
|
+
<div class="answer" part="container">
|
|
242
|
+
${this._renderActions()} ${this._renderChart()} ${this._renderFeedback()} ${this._renderConfigPanel()}
|
|
243
|
+
</div>
|
|
244
|
+
`:a.html`
|
|
245
|
+
<div
|
|
246
|
+
class="answer"
|
|
247
|
+
part="container"
|
|
248
|
+
></div>
|
|
249
|
+
`}};t.t([(0,o.property)({type:Object})],k.prototype,`chart`,void 0),t.t([(0,o.property)({type:Object})],k.prototype,`feedback`,void 0),t.t([(0,o.property)({type:String,attribute:`message-id`})],k.prototype,`messageId`,void 0),t.t([(0,o.property)({type:String,attribute:`auth-key`})],k.prototype,`authKey`,void 0),t.t([(0,o.property)({type:String,attribute:`auth-token`})],k.prototype,`authToken`,void 0),t.t([(0,o.property)({type:String,attribute:`api-url`})],k.prototype,`apiUrl`,void 0),t.t([(0,o.property)({type:String,attribute:`app-server`})],k.prototype,`appServer`,void 0),t.t([(0,o.property)({type:String,attribute:`content-language`})],k.prototype,`contentLanguage`,void 0),t.t([(0,o.property)({type:Boolean,attribute:`hide-actions`,reflect:!0})],k.prototype,`hideActions`,void 0),t.t([(0,o.property)({type:Boolean,attribute:`hide-feedback`,reflect:!0})],k.prototype,`hideFeedback`,void 0),t.t([(0,o.property)({type:Boolean,attribute:`hide-config-panel`,reflect:!0})],k.prototype,`hideConfigPanel`,void 0),t.t([(0,o.state)()],k.prototype,`_configPanelOpen`,void 0),t.t([(0,o.state)()],k.prototype,`_configPanelPending`,void 0),t.t([(0,o.state)()],k.prototype,`_configPanelLoadFailed`,void 0),customElements.get(`luzmo-interactive-viz-item`)||customElements.define(`luzmo-interactive-viz-item`,k),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return d}});
|