@luzmo/analytics-components-kit 1.0.8-beta.2 → 1.0.8-beta.3
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/components/ai-chat/ai-chat.d.ts +6 -2
- package/components/ai-chat/index.cjs +1 -1
- package/components/ai-chat/index.js +2 -2
- package/components/{ai-chat-D1Rzwdxy.cjs → ai-chat-CQtzaiZ_.cjs} +4 -4
- package/components/{ai-chat-Dy_utMXO.js → ai-chat-CTr-dplW.js} +14 -4
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +6 -2
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -1
- package/components/ai-interaction-textarea-CMz5ixwt.cjs +95 -0
- package/components/{ai-interaction-textarea-DMT8RNUP.js → ai-interaction-textarea-uc14Goa4.js} +14 -4
- package/components/area-chart-options.config-CiPCKvh7.cjs +20 -0
- package/components/{area-chart-options.config-Dc4P64YS.js → area-chart-options.config-HaYA8gPC.js} +34 -67
- package/components/area-chart-options.de-_tPBzxvf.cjs +20 -0
- package/components/{area-chart-options.de-DY-fWkTJ.js → area-chart-options.de-pUCTG-s0.js} +2 -0
- package/components/{area-chart-options.en-Dnm4crib.cjs → area-chart-options.en-AuSHs27k.cjs} +1 -1
- package/components/{area-chart-options.en-BwX3W0Rz.js → area-chart-options.en-YNsUeMwN.js} +2 -0
- package/components/{area-chart-options.es-DcNoi7rP.js → area-chart-options.es-2styw_Fz.js} +2 -0
- package/components/area-chart-options.es-BzRHGbo6.cjs +20 -0
- package/components/{area-chart-options.fr-T_BWw6Rr.js → area-chart-options.fr--WzQVf2z.js} +2 -0
- package/components/area-chart-options.fr-DYxUQE3x.cjs +20 -0
- package/components/{area-chart-options.nl-CbumBws7.js → area-chart-options.nl-BTEIqBtE.js} +2 -0
- package/components/area-chart-options.nl-M0xQQ_la.cjs +20 -0
- package/components/axis-options.config-BCP0Z8VI.js +270 -0
- package/components/axis-options.config-s-Js3ug-.cjs +20 -0
- package/components/axis-options.i18n-BOGRmWjp.js +486 -0
- package/components/axis-options.i18n-Cw-DmewV.cjs +20 -0
- package/components/{bar-chart-options.config-B7tknpxM.js → bar-chart-options.config--F0KfZ5y.js} +34 -75
- package/components/bar-chart-options.config-A5bcUHFc.cjs +20 -0
- package/components/{bar-chart-options.de-B3Q1SKCO.js → bar-chart-options.de-3qSh2TNr.js} +6 -6
- package/components/bar-chart-options.de-545XMRGl.cjs +20 -0
- package/components/bar-chart-options.en-DAee9yHp.cjs +20 -0
- package/components/{bar-chart-options.en-DA7MLNpQ.js → bar-chart-options.en-DrhQe9rV.js} +6 -6
- package/components/{bar-chart-options.es-Crk_EzMI.js → bar-chart-options.es-BZ1yNzUQ.js} +6 -6
- package/components/bar-chart-options.es-CfoAEZ-0.cjs +20 -0
- package/components/{bar-chart-options.fr-CMr4fQqa.js → bar-chart-options.fr-5i13R8bs.js} +6 -6
- package/components/bar-chart-options.fr-C2Ic0Dq0.cjs +20 -0
- package/components/bar-chart-options.nl-Bb6XiSDH.cjs +20 -0
- package/components/{bar-chart-options.nl-C396D-gg.js → bar-chart-options.nl-DLj-qucU.js} +6 -6
- package/components/{box-plot-options.config-D6Wvmx36.js → box-plot-options.config-CT4_71tE.js} +51 -78
- package/components/box-plot-options.config-ZZ_mvqGk.cjs +20 -0
- package/components/bubble-chart-options.config-B_hTYgid.js +140 -0
- package/components/bubble-chart-options.config-BbB5dj43.cjs +20 -0
- package/components/{bullet-chart-options.config-B4vBSWrH.js → bullet-chart-options.config-DdTBWTAF.js} +4 -3
- package/components/bullet-chart-options.config-Drv0yQ4x.cjs +20 -0
- package/components/choropleth-map-options.config-CEGFnwKG.cjs +20 -0
- package/components/{choropleth-map-options.config-6-xaMCeR.js → choropleth-map-options.config-CsJjKLVP.js} +32 -30
- package/components/{strip-plot-options.config-TB3rkoj2.cjs → circle-pack-chart-options.config-Dobt6Q5A.cjs} +1 -1
- package/components/{circle-pack-chart-options.config-DWkyGqA_.js → circle-pack-chart-options.config-FcILD-Hi.js} +4 -3
- package/components/circular-gauge-options.config-CSIUw2VN.cjs +20 -0
- package/components/circular-gauge-options.config-DtNYelhq.js +193 -0
- package/components/{column-chart-options.config-B_a7iN-c.js → column-chart-options.config-BzMjdyfp.js} +34 -75
- package/components/column-chart-options.config-iKKyzY3j.cjs +20 -0
- package/components/column-chart-options.de-BX13JkAO.cjs +20 -0
- package/components/{column-chart-options.de-vSfQkMVy.js → column-chart-options.de-CIYtauiG.js} +6 -6
- package/components/{column-chart-options.en-C2DVLfDZ.js → column-chart-options.en-BkAsfXYV.js} +6 -6
- package/components/column-chart-options.en-DAee9yHp.cjs +20 -0
- package/components/column-chart-options.es-CClMQLE-.cjs +20 -0
- package/components/{column-chart-options.es-CmZmT22A.js → column-chart-options.es-jWM7TxS7.js} +6 -6
- package/components/{column-chart-options.fr-UmB2ifIT.js → column-chart-options.fr-BB6301nS.js} +6 -6
- package/components/column-chart-options.fr-C2Ic0Dq0.cjs +20 -0
- package/components/column-chart-options.nl-Bb6XiSDH.cjs +20 -0
- package/components/{column-chart-options.nl-DRrIt7sx.js → column-chart-options.nl-HUMDgKdl.js} +6 -6
- package/components/{combination-chart-options.config-l4szBpws.js → combination-chart-options.config-BEMnrQdd.js} +46 -62
- package/components/combination-chart-options.config-BqQlqnhf.cjs +20 -0
- package/components/{combination-chart-options.de-BExnOCui.cjs → combination-chart-options.de-BiGjuWUS.cjs} +1 -1
- package/components/{combination-chart-options.de-BdV-j9VK.js → combination-chart-options.de-DVJ9sfLC.js} +2 -0
- package/components/{combination-chart-options.en-DquyU8wD.js → combination-chart-options.en-B5piXq82.js} +2 -0
- package/components/{combination-chart-options.en-iAkhHGFR.cjs → combination-chart-options.en-e4XMalU0.cjs} +1 -1
- package/components/{combination-chart-options.es-Oz29P_Vd.js → combination-chart-options.es-BmuyyP32.js} +2 -0
- package/components/{combination-chart-options.es-B2piaL6n.cjs → combination-chart-options.es-OXb8nozF.cjs} +1 -1
- package/components/{combination-chart-options.fr-L6m-7FiZ.js → combination-chart-options.fr-CIrnpWEu.js} +2 -0
- package/components/{combination-chart-options.fr-BEA5mDGS.cjs → combination-chart-options.fr-CYzANyZs.cjs} +1 -1
- package/components/{combination-chart-options.nl-DJDH3K_U.js → combination-chart-options.nl-BDJ7t0BY.js} +2 -0
- package/components/{combination-chart-options.nl-DDyajIyP.cjs → combination-chart-options.nl-DyAUjvqC.cjs} +1 -1
- package/components/conditional-number-options.config-ZVtstIjn.cjs +20 -0
- package/components/conditional-number-options.config-qdX9T4zu.js +210 -0
- package/components/dataset-selector-list/dataset-selector-list.d.ts +6 -2
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -1
- package/components/{dataset-selector-list-yU9o-gBK.js → dataset-selector-list-5y3eFlPa.js} +13 -3
- package/components/{dataset-selector-list-CekhYtbU.cjs → dataset-selector-list-BWgvikkr.cjs} +2 -2
- package/components/dataset-selector-row/dataset-selector-row.d.ts +6 -2
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +1 -1
- package/components/{dataset-selector-row-Cte3skmf.cjs → dataset-selector-row-BjyeiTVy.cjs} +3 -3
- package/components/{dataset-selector-row-eb2fUxMB.js → dataset-selector-row-pEM8hLyJ.js} +13 -3
- package/components/donut-chart-options.config-D5Wkh0nh.js +212 -0
- package/components/donut-chart-options.config-DUIE-bdr.cjs +20 -0
- package/components/evolution-number-options.config-CoGBgLLw.cjs +20 -0
- package/components/{evolution-number-options.config-C3tU650w.js → evolution-number-options.config-DT7iGQA8.js} +5 -3
- package/components/funnel-chart-options.config-CMOM4QN2.cjs +20 -0
- package/components/{funnel-chart-options.config-6ifTq7Xh.js → funnel-chart-options.config-Ca5-W17F.js} +5 -3
- package/components/guidelines-options.config-D-ZuReR_.cjs +20 -0
- package/components/guidelines-options.config-DyedEeX2.js +48 -0
- package/components/{heat-map-options.config-CezceVM3.js → heat-map-options.config-DkuYkbWu.js} +29 -27
- package/components/heat-map-options.config-DtDh9Gpy.cjs +20 -0
- package/components/{heat-table-options.config-C7kvRE10.js → heat-table-options.config-DT3d8VS7.js} +49 -154
- package/components/heat-table-options.config-Dl6GDA-m.cjs +20 -0
- package/components/hexbin-map-options.config-BGmgxnMh.cjs +20 -0
- package/components/{hexbin-map-options.config-8brGMkt_.js → hexbin-map-options.config-Bqp3u2bH.js} +16 -14
- package/components/index.cjs +1 -1
- package/components/index.js +7 -7
- package/components/info-tooltip-options.config-B9T0cwSM.cjs +20 -0
- package/components/info-tooltip-options.config-BmSMkirf.js +59 -0
- package/components/info-tooltip-options.i18n-B3u0H74j.cjs +20 -0
- package/components/info-tooltip-options.i18n-CDx47Py-.js +74 -0
- package/components/interactive-viz-item/index.cjs +1 -1
- package/components/interactive-viz-item/index.js +1 -1
- package/components/{interactive-viz-item-Bn9IhEvD.cjs → interactive-viz-item-CcIWn6Tz.cjs} +1 -1
- package/components/{interactive-viz-item-CXHq9Csp.js → interactive-viz-item-wZ0r8XHx.js} +1 -1
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/{item-option-dwknAAj9.cjs → item-option-B-Rgy3_8.cjs} +1 -1
- package/components/{item-option-Dc4GNRMW.js → item-option-B0EzSGTP.js} +87 -71
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/{item-option-panel-DIU-3auc.js → item-option-panel-DOOOOgfV.js} +1 -1
- package/components/{item-option-panel-Dv6v7RzM.cjs → item-option-panel-mHwmWhJY.cjs} +1 -1
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +35 -35
- package/components/{line-chart-options.config-OeRMkKMP.js → line-chart-options.config-BMT_e6dk.js} +49 -65
- package/components/line-chart-options.config-CL8SCDgU.cjs +20 -0
- package/components/{line-chart-options.de-DMuN0E3y.cjs → line-chart-options.de-CKbHARjX.cjs} +1 -1
- package/components/{line-chart-options.de-CihDXrQ4.js → line-chart-options.de-CtxTZ-Nx.js} +2 -0
- package/components/{line-chart-options.en-CPWllKeE.js → line-chart-options.en-BgXtU92P.js} +2 -0
- package/components/{line-chart-options.en-81dHDKJE.cjs → line-chart-options.en-DmtT3Hbw.cjs} +1 -1
- package/components/{line-chart-options.es-IX7Hu1Jk.js → line-chart-options.es--u7QlrhG.js} +2 -0
- package/components/{line-chart-options.es-CshvnhMH.cjs → line-chart-options.es-BwyQviz-.cjs} +1 -1
- package/components/{line-chart-options.fr-EMHHZpiy.cjs → line-chart-options.fr-BUwOFGR7.cjs} +1 -1
- package/components/{line-chart-options.fr-CkLIbP6Y.js → line-chart-options.fr-BaPc1M70.js} +2 -0
- package/components/{line-chart-options.nl-C9FWbWJy.cjs → line-chart-options.nl-BkPXShNF.cjs} +1 -1
- package/components/{line-chart-options.nl-Du2kphsn.js → line-chart-options.nl-C86fSn7a.js} +2 -0
- package/components/marker-map-options.config-BE8GnY_T.js +122 -0
- package/components/marker-map-options.config-SkhbtEh0.cjs +20 -0
- package/components/ohlc-chart-options.config-BAB4pyo9.js +89 -0
- package/components/{bullet-chart-options.config-B2afO5Xh.cjs → ohlc-chart-options.config-BrcfGxDw.cjs} +1 -1
- package/components/{ohlc-chart-options.de-DqGHkVNG.cjs → ohlc-chart-options.de-DtanuVcU.cjs} +1 -1
- package/components/{ohlc-chart-options.de-Brd2iN0B.js → ohlc-chart-options.de-LnJmQjiR.js} +2 -0
- package/components/{ohlc-chart-options.en-C3AWmo7s.js → ohlc-chart-options.en-B7TU8CK4.js} +2 -0
- package/components/{ohlc-chart-options.en-DrWja-A6.cjs → ohlc-chart-options.en-CStPyUia.cjs} +1 -1
- package/components/{ohlc-chart-options.es-Cwl_vxNQ.js → ohlc-chart-options.es-B7m8-_pA.js} +2 -0
- package/components/{ohlc-chart-options.es-Cac117z2.cjs → ohlc-chart-options.es-CfTI32Rg.cjs} +1 -1
- package/components/{ohlc-chart-options.fr-DJuaTjBf.cjs → ohlc-chart-options.fr-C53gRLh5.cjs} +1 -1
- package/components/{ohlc-chart-options.fr-STOjKGOk.js → ohlc-chart-options.fr-u_Bi9raw.js} +2 -0
- package/components/{ohlc-chart-options.nl-CV0A0J84.js → ohlc-chart-options.nl-BrpwjNGt.js} +2 -0
- package/components/{ohlc-chart-options.nl-C7_qhngI.cjs → ohlc-chart-options.nl-Dh9iPIWB.cjs} +1 -1
- package/components/{parallel-coordinates-plot-options.config-Bw8T5EE4.js → parallel-coordinates-plot-options.config-BXsg-9wF.js} +4 -3
- package/components/{parallel-coordinates-plot-options.config--6iJkURT.cjs → parallel-coordinates-plot-options.config-DFRL952-.cjs} +1 -1
- package/components/pivot-table-options.config-B9ZfmFZH.cjs +20 -0
- package/components/{pivot-table-options.config-gL2C_zvT.js → pivot-table-options.config-tf8f5F-n.js} +5 -3
- package/components/{pyramid-chart-options.config-348RYXh8.js → pyramid-chart-options.config-BnCfeT-K.js} +19 -61
- package/components/pyramid-chart-options.config-LSOc6ALz.cjs +20 -0
- package/components/radar-chart-options.config-B5WP2MPc.cjs +20 -0
- package/components/{radar-chart-options.config-BeGjchnc.js → radar-chart-options.config-DrNyOkHq.js} +7 -5
- package/components/regular-table-options.config-CweBtAvm.js +153 -0
- package/components/regular-table-options.config-nBBnO4ru.cjs +20 -0
- package/components/route-map-options.config-DS9cCAQK.cjs +20 -0
- package/components/{route-map-options.config-DWG5127-.js → route-map-options.config-DXHqb8Ve.js} +39 -37
- package/components/{sankey-diagram-options.config-DW72WBKU.js → sankey-diagram-options.config-CpNK2oK6.js} +5 -3
- package/components/sankey-diagram-options.config-CuKQOPPW.cjs +20 -0
- package/components/scatter-plot-options.config-BA_hVuhw.js +128 -0
- package/components/scatter-plot-options.config-C-L2dJ2o.cjs +20 -0
- package/components/scatter-plot-options.de-3CPVK7Hi.cjs +20 -0
- package/components/{scatter-plot-options.de-BO73A_o5.js → scatter-plot-options.de-CNLrv6j3.js} +3 -0
- package/components/{scatter-plot-options.en-B6S8Yf66.js → scatter-plot-options.en-DigMzpQy.js} +3 -0
- package/components/{scatter-plot-options.en-SuHaPKPZ.cjs → scatter-plot-options.en-Dzvigy8-.cjs} +1 -1
- package/components/scatter-plot-options.es-C-IH7GVH.cjs +20 -0
- package/components/{scatter-plot-options.es-jbzKhq4S.js → scatter-plot-options.es-CQm_VVqJ.js} +3 -0
- package/components/scatter-plot-options.fr-Cdp6kPQi.cjs +20 -0
- package/components/{scatter-plot-options.fr-DMFP8FB4.js → scatter-plot-options.fr-s0M39VT4.js} +3 -0
- package/components/{scatter-plot-options.nl-BqN6XbnS.js → scatter-plot-options.nl-CqpPIO03.js} +3 -0
- package/components/scatter-plot-options.nl-DeINlMqc.cjs +20 -0
- package/components/speedometer-chart-options.config-CEIZfeYG.cjs +20 -0
- package/components/speedometer-chart-options.config-dsUupCqm.js +251 -0
- package/components/spike-map-options.config-BRwdTyrp.cjs +20 -0
- package/components/{spike-map-options.config-Ch0p9Q5l.js → spike-map-options.config-Dh4Ky5ZP.js} +42 -40
- package/components/{circle-pack-chart-options.config-CD8MWMTw.cjs → strip-plot-options.config-DpRoR04b.cjs} +1 -1
- package/components/{strip-plot-options.config-WICS2rnK.js → strip-plot-options.config-Vw3GoLef.js} +4 -3
- package/components/{sunburst-chart-options.config-Bz-jP-gZ.js → sunburst-chart-options.config-0GUoeJMb.js} +5 -3
- package/components/sunburst-chart-options.config-CCNYG73m.cjs +20 -0
- package/components/symbol-map-options.config-Ce0Kv7N7.cjs +20 -0
- package/components/{symbol-map-options.config-I89tFJUU.js → symbol-map-options.config-Dultd0tF.js} +7 -5
- package/components/treemap-chart-options.config-CtpfX7hs.js +209 -0
- package/components/treemap-chart-options.config-pA93-9cX.cjs +20 -0
- package/components/wordcloud-chart-options.config-ConV1s49.cjs +20 -0
- package/components/wordcloud-chart-options.config-Dxu7-YcG.js +95 -0
- package/custom-elements.json +96 -16
- package/package.json +1 -1
- package/react/package.json +2 -2
- package/components/ai-interaction-textarea-CJO50_1F.cjs +0 -95
- package/components/area-chart-options.config-N24pwyqX.cjs +0 -20
- package/components/area-chart-options.de-C2WwBf7L.cjs +0 -20
- package/components/area-chart-options.es-CMcI1TAb.cjs +0 -20
- package/components/area-chart-options.fr-CHeI4bKx.cjs +0 -20
- package/components/area-chart-options.nl-BM7u0iDj.cjs +0 -20
- package/components/bar-chart-options.config-DnNGu3RV.cjs +0 -20
- package/components/bar-chart-options.de-BZ3uW1-o.cjs +0 -20
- package/components/bar-chart-options.en-YNlXBbD4.cjs +0 -20
- package/components/bar-chart-options.es-BNeN4ThD.cjs +0 -20
- package/components/bar-chart-options.fr-Cib__mEv.cjs +0 -20
- package/components/bar-chart-options.nl-CmGjKNyC.cjs +0 -20
- package/components/box-plot-options.config-DCDHZMGK.cjs +0 -20
- package/components/bubble-chart-options.config-CDY6pFK6.js +0 -135
- package/components/bubble-chart-options.config-DjdxlwRr.cjs +0 -20
- package/components/choropleth-map-options.config-6DXYO5_E.cjs +0 -20
- package/components/circular-gauge-options.config-C0T9GkZX.cjs +0 -20
- package/components/circular-gauge-options.config-D_xHWhBy.js +0 -188
- package/components/column-chart-options.config-D6we1uLn.cjs +0 -20
- package/components/column-chart-options.de-wUcJvrrW.cjs +0 -20
- package/components/column-chart-options.en-YNlXBbD4.cjs +0 -20
- package/components/column-chart-options.es-YKftTtkL.cjs +0 -20
- package/components/column-chart-options.fr-Cib__mEv.cjs +0 -20
- package/components/column-chart-options.nl-Tg07PDkZ.cjs +0 -20
- package/components/combination-chart-options.config-C4y9E0Gr.cjs +0 -20
- package/components/conditional-number-options.config-DB4_BYN2.js +0 -205
- package/components/conditional-number-options.config-T6oXXy14.cjs +0 -20
- package/components/donut-chart-options.config-BhKFa3dz.cjs +0 -20
- package/components/donut-chart-options.config-CjtEDiJI.js +0 -207
- package/components/evolution-number-options.config-CKL01dAR.cjs +0 -20
- package/components/funnel-chart-options.config-BOI6bzbw.cjs +0 -20
- package/components/heat-map-options.config-C4lqg4Gf.cjs +0 -20
- package/components/heat-table-options.config-DiX5eL4B.cjs +0 -20
- package/components/hexbin-map-options.config-BVajY1MH.cjs +0 -20
- package/components/line-chart-options.config-CVR_mb2z.cjs +0 -20
- package/components/marker-map-options.config-CtW7nl1C.js +0 -117
- package/components/marker-map-options.config-M9BvYinR.cjs +0 -20
- package/components/ohlc-chart-options.config-DOqKN6ov.cjs +0 -20
- package/components/ohlc-chart-options.config-Db40TXcB.js +0 -124
- package/components/pivot-table-options.config-DdbSCsRL.cjs +0 -20
- package/components/pyramid-chart-options.config-I2ZIo_GV.cjs +0 -20
- package/components/radar-chart-options.config-CCMh7qJG.cjs +0 -20
- package/components/regular-table-options.config-Bf0VAtT_.js +0 -148
- package/components/regular-table-options.config-DqZD5P9l.cjs +0 -20
- package/components/route-map-options.config-DVo8FTke.cjs +0 -20
- package/components/sankey-diagram-options.config-C8Gm15Mi.cjs +0 -20
- package/components/scatter-plot-options.config-CUyWy2xE.js +0 -322
- package/components/scatter-plot-options.config-Cd4DvLoN.cjs +0 -20
- package/components/scatter-plot-options.de-DO4ns5t0.cjs +0 -20
- package/components/scatter-plot-options.es-B0alrlLR.cjs +0 -20
- package/components/scatter-plot-options.fr-CkJXV4Og.cjs +0 -20
- package/components/scatter-plot-options.nl-CuhZUABa.cjs +0 -20
- package/components/speedometer-chart-options.config-CtWGujmb.js +0 -246
- package/components/speedometer-chart-options.config-e9Ktyajm.cjs +0 -20
- package/components/spike-map-options.config-D-T_kT1C.cjs +0 -20
- package/components/sunburst-chart-options.config-BojxVGMu.cjs +0 -20
- package/components/symbol-map-options.config-BmHEhC5t.cjs +0 -20
- package/components/treemap-chart-options.config-i7BH9mNl.js +0 -204
- package/components/treemap-chart-options.config-xtu6J11C.cjs +0 -20
- package/components/wordcloud-chart-options.config-BjLJyuyw.cjs +0 -20
- package/components/wordcloud-chart-options.config-D_AhgZRs.js +0 -90
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
const e=require("./decorate-DCJt-2rt.cjs"),t=require("./data-broker-CyMYR6w1.cjs"),n=require("./get-dataset-name-CIt7of_Z.cjs");require("./dataset-icon-BAV0S4sZ.cjs");let r=require("@luzmo/icons");require("@luzmo/lucero/icon");let i=require("lit"),a=require("lit/decorators.js"),o=require("@lit/localize");require("@luzmo/lucero/action-button"),require("@luzmo/lucero/select"),require("@luzmo/lucero/tags"),require("@luzmo/lucero/tooltip");let s=require("lit/directives/repeat.js");var c=`:host([disabled]){pointer-events:none}:host{box-sizing:border-box;gap:var(--luzmo-dataset-selector-row-gap,var(--dataset-selector-row-gap));min-height:var(--luzmo-dataset-selector-row-min-height,var(--dataset-selector-row-min-height));font-size:var(--luzmo-dataset-selector-row-font-size,var(--dataset-selector-row-font-size));color:var(--luzmo-dataset-selector-row-color,var(--dataset-selector-row-color));font-family:var(--luzmo-dataset-selector-row-font-family,var(--dataset-selector-row-font-family));flex-flow:wrap;align-items:flex-start;display:flex}:host .dataset-search{--luzmo-select-inline-size:fit-content;flex:none;align-self:flex-start;inline-size:auto}:host .dataset-search .dataset-search-trigger-layout{align-items:center;gap:var(--luzmo-spacing-2);--luzmo-icon-vertical-align:top;min-inline-size:0;display:flex}:host .dataset-search .dataset-search-trigger-label{white-space:nowrap;line-height:1}:host .dataset-search{max-inline-size:var(--luzmo-dataset-selector-row-search-max-width,var(--dataset-selector-row-search-max-width));--luzmo-popover-max-height:var(--luzmo-dataset-selector-row-search-popover-max-height,var(--dataset-selector-row-search-popover-max-height,var(--luzmo-popover-max-height)));--select-minimum-width-multiplier:1}:host .selected-dataset-tag{--luzmo-tag-max-inline-size:var(--dataset-selector-row-tag-max-inline-size);--luzmo-tag-height:var(--luzmo-component-height);--luzmo-tag-spacing-inline-start:var(--luzmo-spacing-3);--luzmo-tag-icon-spacing-inline-end:var(--luzmo-spacing-3);--luzmo-tag-label-spacing-inline-end:var(--luzmo-spacing-2);--luzmo-tag-clear-button-spacing-inline-start:.375rem;--luzmo-tag-clear-button-spacing-inline-end:.375rem;margin:0}:host .selected-datasets-tags{--luzmo-tag-group-item-margin-block:0;--luzmo-tag-group-item-margin-inline:0;display:contents}:host .selected-dataset-tag .dataset-tag-label{align-items:center;line-height:1}:host .sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:host{--dataset-selector-row-gap:var(--luzmo-spacing-2);--dataset-selector-row-min-height:1.75rem;--dataset-selector-row-font-size:.75rem;--dataset-selector-row-color:var(--luzmo-font-color-extra-dimmed);--dataset-selector-row-font-family:var(--luzmo-font-family);--dataset-selector-row-tag-max-inline-size:var(--luzmo-tag-max-inline-size,180px);--dataset-selector-row-search-max-width:23.75rem;--dataset-selector-row-search-popover-max-height:400px}`,l=400,u=50,d=class extends i.LitElement{constructor(...e){super(...e),this.selectedDatasets=[],this.buttonLabel=(0,o.msg)(`Add dataset`,{desc:`Label for the control that opens dataset search to add a dataset`}),this.authKey=``,this.authToken=``,this.apiUrl=`https://api.luzmo.com`,this.appServer=`https://app.luzmo.com`,this.
|
|
20
|
+
const e=require("./decorate-DCJt-2rt.cjs"),t=require("./data-broker-CyMYR6w1.cjs"),n=require("./get-dataset-name-CIt7of_Z.cjs");require("./dataset-icon-BAV0S4sZ.cjs");let r=require("@luzmo/icons");require("@luzmo/lucero/icon");let i=require("lit"),a=require("lit/decorators.js"),o=require("@lit/localize");require("@luzmo/lucero/action-button"),require("@luzmo/lucero/select"),require("@luzmo/lucero/tags"),require("@luzmo/lucero/tooltip");let s=require("lit/directives/repeat.js");var c=`:host([disabled]){pointer-events:none}:host{box-sizing:border-box;gap:var(--luzmo-dataset-selector-row-gap,var(--dataset-selector-row-gap));min-height:var(--luzmo-dataset-selector-row-min-height,var(--dataset-selector-row-min-height));font-size:var(--luzmo-dataset-selector-row-font-size,var(--dataset-selector-row-font-size));color:var(--luzmo-dataset-selector-row-color,var(--dataset-selector-row-color));font-family:var(--luzmo-dataset-selector-row-font-family,var(--dataset-selector-row-font-family));flex-flow:wrap;align-items:flex-start;display:flex}:host .dataset-search{--luzmo-select-inline-size:fit-content;flex:none;align-self:flex-start;inline-size:auto}:host .dataset-search .dataset-search-trigger-layout{align-items:center;gap:var(--luzmo-spacing-2);--luzmo-icon-vertical-align:top;min-inline-size:0;display:flex}:host .dataset-search .dataset-search-trigger-label{white-space:nowrap;line-height:1}:host .dataset-search{max-inline-size:var(--luzmo-dataset-selector-row-search-max-width,var(--dataset-selector-row-search-max-width));--luzmo-popover-max-height:var(--luzmo-dataset-selector-row-search-popover-max-height,var(--dataset-selector-row-search-popover-max-height,var(--luzmo-popover-max-height)));--select-minimum-width-multiplier:1}:host .selected-dataset-tag{--luzmo-tag-max-inline-size:var(--dataset-selector-row-tag-max-inline-size);--luzmo-tag-height:var(--luzmo-component-height);--luzmo-tag-spacing-inline-start:var(--luzmo-spacing-3);--luzmo-tag-icon-spacing-inline-end:var(--luzmo-spacing-3);--luzmo-tag-label-spacing-inline-end:var(--luzmo-spacing-2);--luzmo-tag-clear-button-spacing-inline-start:.375rem;--luzmo-tag-clear-button-spacing-inline-end:.375rem;margin:0}:host .selected-datasets-tags{--luzmo-tag-group-item-margin-block:0;--luzmo-tag-group-item-margin-inline:0;display:contents}:host .selected-dataset-tag .dataset-tag-label{align-items:center;line-height:1}:host .sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:host{--dataset-selector-row-gap:var(--luzmo-spacing-2);--dataset-selector-row-min-height:1.75rem;--dataset-selector-row-font-size:.75rem;--dataset-selector-row-color:var(--luzmo-font-color-extra-dimmed);--dataset-selector-row-font-family:var(--luzmo-font-family);--dataset-selector-row-tag-max-inline-size:var(--luzmo-tag-max-inline-size,180px);--dataset-selector-row-search-max-width:23.75rem;--dataset-selector-row-search-popover-max-height:400px}`,l=400,u=50,d=class extends i.LitElement{constructor(...e){super(...e),this.selectedDatasets=[],this.buttonLabel=(0,o.msg)(`Add dataset`,{desc:`Label for the control that opens dataset search to add a dataset`}),this.authKey=``,this.authToken=``,this.apiUrl=`https://api.luzmo.com`,this.appServer=`https://app.luzmo.com`,this.includePublicDatasets=!1,this.disabled=!1,this.disableDatasetModification=!1,this.hideDatasetIcons=!1,this._availableDatasets=[],this._removalAnnouncement=``,this._selectValue=[],this._retrieving=!1,this._showAllSelectedDatasets=!1,this._searchValue=``,this._activeSearchRequestId=0,this._searchDebounceTimer=null,this._renderDatasetOptionIcon=e=>{if(this.hideDatasetIcons)return null;let t=e.value;if(typeof t!=`string`)return null;let n=this._availableDatasets.find(e=>e.id===t);return n?i.html`
|
|
21
21
|
<luzmo-dataset-icon
|
|
22
22
|
slot="icon"
|
|
23
23
|
.datasetInfo=${n}
|
|
24
24
|
size="16px"
|
|
25
25
|
app-url=${this.appServer}
|
|
26
26
|
></luzmo-dataset-icon>
|
|
27
|
-
`:null}}static{this.styles=(0,i.unsafeCSS)(c)}static{this.tagName=`luzmo-dataset-selector-row`}get _selectedDatasetIds(){return new Set(this.selectedDatasets.map(e=>e.id))}get _datasetModificationDisabled(){return this.disabled||this.disableDatasetModification}get _visibleSelectedDatasets(){let e=this.maxVisibleSelectedDatasets;return this._showAllSelectedDatasets||e===void 0||!Number.isFinite(e)?this.selectedDatasets:this.selectedDatasets.slice(0,Math.max(0,Math.floor(e)))}connectedCallback(){super.connectedCallback(),this._configureBroker()}disconnectedCallback(){this._searchDebounceTimer!==null&&(clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=null),super.disconnectedCallback()}willUpdate(e){super.willUpdate(e),(e.has(`authKey`)||e.has(`authToken`)||e.has(`apiUrl`))&&this._configureBroker()}_configureBroker(){t.t.configure({authKey:this.authKey,authToken:this.authToken,apiUrl:this.apiUrl})}async _loadAvailableDatasets(){let e=++this._activeSearchRequestId;this._availableDatasets=[],this._retrieving=!0;try{let n=await t.t.fetchApi(`/securable`,{action:`get`,version:`0.1.0`,find:this._generateQuery()});if(e!==this._activeSearchRequestId)return;this._availableDatasets=n.rows??[]}catch(t){console.error(`Error loading datasets:`,t),e===this._activeSearchRequestId&&(this._availableDatasets=[])}finally{e===this._activeSearchRequestId&&(this._retrieving=!1)}}_generateQuery(){return{attributes:[`id`,`updated_at`,`name`,`subtype`],include:[{model:`Account`,attributes:[`id`,`provider`,`name`],include:[{model:`Plugin`,attributes:[`id`],include:[{model:`Thumbnail`,where:{size:`32px`}}]}]}],where:{type:`dataset`},limit:u,offset:0,...this._searchValue?{search:{match_types:[`name`,`description`],keyphrase:this._searchValue,securable_types:`dataset`},order:[[`name`,`asc`]]}:{order:[[`updated_at`,`desc`]]},...this.
|
|
27
|
+
`:null}}static{this.styles=(0,i.unsafeCSS)(c)}static{this.tagName=`luzmo-dataset-selector-row`}get flagOpendata(){return this.includePublicDatasets}set flagOpendata(e){this.includePublicDatasets=e}get _selectedDatasetIds(){return new Set(this.selectedDatasets.map(e=>e.id))}get _datasetModificationDisabled(){return this.disabled||this.disableDatasetModification}get _visibleSelectedDatasets(){let e=this.maxVisibleSelectedDatasets;return this._showAllSelectedDatasets||e===void 0||!Number.isFinite(e)?this.selectedDatasets:this.selectedDatasets.slice(0,Math.max(0,Math.floor(e)))}connectedCallback(){super.connectedCallback(),this._configureBroker()}disconnectedCallback(){this._searchDebounceTimer!==null&&(clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=null),super.disconnectedCallback()}willUpdate(e){super.willUpdate(e),(e.has(`authKey`)||e.has(`authToken`)||e.has(`apiUrl`))&&this._configureBroker()}_configureBroker(){t.t.configure({authKey:this.authKey,authToken:this.authToken,apiUrl:this.apiUrl})}async _loadAvailableDatasets(){let e=++this._activeSearchRequestId;this._availableDatasets=[],this._retrieving=!0;try{let n=await t.t.fetchApi(`/securable`,{action:`get`,version:`0.1.0`,find:this._generateQuery()});if(e!==this._activeSearchRequestId)return;this._availableDatasets=n.rows??[]}catch(t){console.error(`Error loading datasets:`,t),e===this._activeSearchRequestId&&(this._availableDatasets=[])}finally{e===this._activeSearchRequestId&&(this._retrieving=!1)}}_generateQuery(){return{attributes:[`id`,`updated_at`,`name`,`subtype`],include:[{model:`Account`,attributes:[`id`,`provider`,`name`],include:[{model:`Plugin`,attributes:[`id`],include:[{model:`Thumbnail`,where:{size:`32px`}}]}]}],where:{type:`dataset`},limit:u,offset:0,...this._searchValue?{search:{match_types:[`name`,`description`],keyphrase:this._searchValue,securable_types:`dataset`},order:[[`name`,`asc`]]}:{order:[[`updated_at`,`desc`]]},...this.includePublicDatasets?{options:{public:null}}:{}}}_handleSearch(e){if(this._datasetModificationDisabled)return;let t=e.detail?.string??``;t!==this._searchValue&&(this._searchValue=t,this._activeSearchRequestId++,this._retrieving=!0,this._searchDebounceTimer!==null&&clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=window.setTimeout(()=>{this._loadAvailableDatasets()},l))}_handleSearchOpened(){this._datasetModificationDisabled||(this._searchValue=``,this._availableDatasets.length===0&&this._loadAvailableDatasets())}_handleSearchClosed(){this._searchDebounceTimer!==null&&(clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=null),this._searchValue!==``&&(this._activeSearchRequestId++,this._searchValue=``,this._availableDatasets=[]),this._retrieving=!1}_handleDatasetSelected(e){if(this._datasetModificationDisabled)return;let t=e.detail?.value?.[0],n=this._availableDatasets.find(e=>e.id===t);if(!n){this._selectValue=[];return}if(!this._selectedDatasetIds.has(n.id)){let e=[...this.selectedDatasets,n],t=this.maxVisibleSelectedDatasets;typeof t==`number`&&Number.isFinite(t)&&e.length>Math.floor(t)&&(this._showAllSelectedDatasets=!0),this.selectedDatasets=e,this.dispatchEvent(new CustomEvent(`dataset-selected`,{detail:n,bubbles:!0,composed:!0}))}this._selectValue=[]}_handleDatasetRemoved(e){if(this._datasetModificationDisabled)return;let t=n.t(e),r=this.selectedDatasets.filter(t=>t.id!==e.id);this.selectedDatasets=r,this._removalAnnouncement=(0,o.msg)(o.str`Removed ${t}`,{desc:`Screen reader announcement when a dataset tag is removed; the interpolated value is the dataset name`}),setTimeout(()=>{this._removalAnnouncement=``},1e3),this.dispatchEvent(new CustomEvent(`dataset-removed`,{detail:e,bubbles:!0,composed:!0}))}_renderDatasetTag(e){return i.html`
|
|
28
28
|
<luzmo-tag
|
|
29
29
|
class="selected-dataset-tag"
|
|
30
30
|
?deletable=${!this._datasetModificationDisabled}
|
|
@@ -87,4 +87,4 @@ const e=require("./decorate-DCJt-2rt.cjs"),t=require("./data-broker-CyMYR6w1.cjs
|
|
|
87
87
|
`:i.nothing}
|
|
88
88
|
`:i.nothing}
|
|
89
89
|
<span class="sr-only" role="status" aria-live="polite">${this._removalAnnouncement}</span>
|
|
90
|
-
`}};e.t([(0,a.property)({type:Array})],d.prototype,`selectedDatasets`,void 0),e.t([(0,a.property)({type:String,attribute:`button-label`})],d.prototype,`buttonLabel`,void 0),e.t([(0,a.property)({type:String,attribute:`auth-key`})],d.prototype,`authKey`,void 0),e.t([(0,a.property)({type:String,attribute:`auth-token`})],d.prototype,`authToken`,void 0),e.t([(0,a.property)({type:String,attribute:`api-url`})],d.prototype,`apiUrl`,void 0),e.t([(0,a.property)({type:String,attribute:`app-server`})],d.prototype,`appServer`,void 0),e.t([(0,a.property)({type:Boolean,attribute:`
|
|
90
|
+
`}};e.t([(0,a.property)({type:Array})],d.prototype,`selectedDatasets`,void 0),e.t([(0,a.property)({type:String,attribute:`button-label`})],d.prototype,`buttonLabel`,void 0),e.t([(0,a.property)({type:String,attribute:`auth-key`})],d.prototype,`authKey`,void 0),e.t([(0,a.property)({type:String,attribute:`auth-token`})],d.prototype,`authToken`,void 0),e.t([(0,a.property)({type:String,attribute:`api-url`})],d.prototype,`apiUrl`,void 0),e.t([(0,a.property)({type:String,attribute:`app-server`})],d.prototype,`appServer`,void 0),e.t([(0,a.property)({type:Boolean,reflect:!0,attribute:`include-public-datasets`})],d.prototype,`includePublicDatasets`,void 0),e.t([(0,a.property)({type:Boolean,attribute:`flag-opendata`})],d.prototype,`flagOpendata`,null),e.t([(0,a.property)({type:Boolean,reflect:!0,attribute:`disabled`})],d.prototype,`disabled`,void 0),e.t([(0,a.property)({type:Boolean,reflect:!0,attribute:`disable-dataset-modification`})],d.prototype,`disableDatasetModification`,void 0),e.t([(0,a.property)({type:Boolean,attribute:`hide-dataset-icons`})],d.prototype,`hideDatasetIcons`,void 0),e.t([(0,a.property)({type:Number,reflect:!0,attribute:`max-visible-selected-datasets`})],d.prototype,`maxVisibleSelectedDatasets`,void 0),e.t([(0,a.state)()],d.prototype,`_availableDatasets`,void 0),e.t([(0,a.state)()],d.prototype,`_removalAnnouncement`,void 0),e.t([(0,a.state)()],d.prototype,`_selectValue`,void 0),e.t([(0,a.state)()],d.prototype,`_retrieving`,void 0),e.t([(0,a.state)()],d.prototype,`_showAllSelectedDatasets`,void 0),d=e.t([(0,o.localized)()],d),customElements.get(`luzmo-dataset-selector-row`)||customElements.define(`luzmo-dataset-selector-row`,d),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return d}});
|
|
@@ -34,7 +34,7 @@ import { repeat as h } from "lit/directives/repeat.js";
|
|
|
34
34
|
//#region src/components/dataset-selector-row/dataset-selector-row.module.scss?inline
|
|
35
35
|
var g = ":host([disabled]){pointer-events:none}:host{box-sizing:border-box;gap:var(--luzmo-dataset-selector-row-gap,var(--dataset-selector-row-gap));min-height:var(--luzmo-dataset-selector-row-min-height,var(--dataset-selector-row-min-height));font-size:var(--luzmo-dataset-selector-row-font-size,var(--dataset-selector-row-font-size));color:var(--luzmo-dataset-selector-row-color,var(--dataset-selector-row-color));font-family:var(--luzmo-dataset-selector-row-font-family,var(--dataset-selector-row-font-family));flex-flow:wrap;align-items:flex-start;display:flex}:host .dataset-search{--luzmo-select-inline-size:fit-content;flex:none;align-self:flex-start;inline-size:auto}:host .dataset-search .dataset-search-trigger-layout{align-items:center;gap:var(--luzmo-spacing-2);--luzmo-icon-vertical-align:top;min-inline-size:0;display:flex}:host .dataset-search .dataset-search-trigger-label{white-space:nowrap;line-height:1}:host .dataset-search{max-inline-size:var(--luzmo-dataset-selector-row-search-max-width,var(--dataset-selector-row-search-max-width));--luzmo-popover-max-height:var(--luzmo-dataset-selector-row-search-popover-max-height,var(--dataset-selector-row-search-popover-max-height,var(--luzmo-popover-max-height)));--select-minimum-width-multiplier:1}:host .selected-dataset-tag{--luzmo-tag-max-inline-size:var(--dataset-selector-row-tag-max-inline-size);--luzmo-tag-height:var(--luzmo-component-height);--luzmo-tag-spacing-inline-start:var(--luzmo-spacing-3);--luzmo-tag-icon-spacing-inline-end:var(--luzmo-spacing-3);--luzmo-tag-label-spacing-inline-end:var(--luzmo-spacing-2);--luzmo-tag-clear-button-spacing-inline-start:.375rem;--luzmo-tag-clear-button-spacing-inline-end:.375rem;margin:0}:host .selected-datasets-tags{--luzmo-tag-group-item-margin-block:0;--luzmo-tag-group-item-margin-inline:0;display:contents}:host .selected-dataset-tag .dataset-tag-label{align-items:center;line-height:1}:host .sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:host{--dataset-selector-row-gap:var(--luzmo-spacing-2);--dataset-selector-row-min-height:1.75rem;--dataset-selector-row-font-size:.75rem;--dataset-selector-row-color:var(--luzmo-font-color-extra-dimmed);--dataset-selector-row-font-family:var(--luzmo-font-family);--dataset-selector-row-tag-max-inline-size:var(--luzmo-tag-max-inline-size,180px);--dataset-selector-row-search-max-width:23.75rem;--dataset-selector-row-search-popover-max-height:400px}", _ = 400, v = 50, y = class extends o {
|
|
36
36
|
constructor(...e) {
|
|
37
|
-
super(...e), this.selectedDatasets = [], this.buttonLabel = p("Add dataset", { desc: "Label for the control that opens dataset search to add a dataset" }), this.authKey = "", this.authToken = "", this.apiUrl = "https://api.luzmo.com", this.appServer = "https://app.luzmo.com", this.
|
|
37
|
+
super(...e), this.selectedDatasets = [], this.buttonLabel = p("Add dataset", { desc: "Label for the control that opens dataset search to add a dataset" }), this.authKey = "", this.authToken = "", this.apiUrl = "https://api.luzmo.com", this.appServer = "https://app.luzmo.com", this.includePublicDatasets = !1, this.disabled = !1, this.disableDatasetModification = !1, this.hideDatasetIcons = !1, this._availableDatasets = [], this._removalAnnouncement = "", this._selectValue = [], this._retrieving = !1, this._showAllSelectedDatasets = !1, this._searchValue = "", this._activeSearchRequestId = 0, this._searchDebounceTimer = null, this._renderDatasetOptionIcon = (e) => {
|
|
38
38
|
if (this.hideDatasetIcons) return null;
|
|
39
39
|
let t = e.value;
|
|
40
40
|
if (typeof t != "string") return null;
|
|
@@ -55,6 +55,12 @@ var g = ":host([disabled]){pointer-events:none}:host{box-sizing:border-box;gap:v
|
|
|
55
55
|
static {
|
|
56
56
|
this.tagName = "luzmo-dataset-selector-row";
|
|
57
57
|
}
|
|
58
|
+
get flagOpendata() {
|
|
59
|
+
return this.includePublicDatasets;
|
|
60
|
+
}
|
|
61
|
+
set flagOpendata(e) {
|
|
62
|
+
this.includePublicDatasets = e;
|
|
63
|
+
}
|
|
58
64
|
get _selectedDatasetIds() {
|
|
59
65
|
return new Set(this.selectedDatasets.map((e) => e.id));
|
|
60
66
|
}
|
|
@@ -133,7 +139,7 @@ var g = ":host([disabled]){pointer-events:none}:host{box-sizing:border-box;gap:v
|
|
|
133
139
|
},
|
|
134
140
|
order: [["name", "asc"]]
|
|
135
141
|
} : { order: [["updated_at", "desc"]] },
|
|
136
|
-
...this.
|
|
142
|
+
...this.includePublicDatasets ? { options: { public: null } } : {}
|
|
137
143
|
};
|
|
138
144
|
}
|
|
139
145
|
_handleSearch(e) {
|
|
@@ -284,9 +290,13 @@ e([u({ type: Array })], y.prototype, "selectedDatasets", void 0), e([u({
|
|
|
284
290
|
type: String,
|
|
285
291
|
attribute: "app-server"
|
|
286
292
|
})], y.prototype, "appServer", void 0), e([u({
|
|
293
|
+
type: Boolean,
|
|
294
|
+
reflect: !0,
|
|
295
|
+
attribute: "include-public-datasets"
|
|
296
|
+
})], y.prototype, "includePublicDatasets", void 0), e([u({
|
|
287
297
|
type: Boolean,
|
|
288
298
|
attribute: "flag-opendata"
|
|
289
|
-
})], y.prototype, "flagOpendata",
|
|
299
|
+
})], y.prototype, "flagOpendata", null), e([u({
|
|
290
300
|
type: Boolean,
|
|
291
301
|
reflect: !0,
|
|
292
302
|
attribute: "disabled"
|
|
@@ -0,0 +1,212 @@
|
|
|
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 { s as e } from "./pragmatic-element-adapter-C_7HSvGV.js";
|
|
21
|
+
import { t } from "./info-tooltip-options.config-BmSMkirf.js";
|
|
22
|
+
//#region node_modules/@luzmo/dashboard-contents-types/donut-chart/donut-chart-options.config.js
|
|
23
|
+
var n = /* @__PURE__ */ e({ default: () => r }), r = [
|
|
24
|
+
{
|
|
25
|
+
key: "general",
|
|
26
|
+
type: "group",
|
|
27
|
+
open: !0,
|
|
28
|
+
children: [
|
|
29
|
+
{
|
|
30
|
+
key: "mode",
|
|
31
|
+
control: {
|
|
32
|
+
type: "picker",
|
|
33
|
+
default: "donut",
|
|
34
|
+
enum: ["donut", "pie"]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
key: "slices.half",
|
|
39
|
+
control: {
|
|
40
|
+
type: "picker",
|
|
41
|
+
default: "full",
|
|
42
|
+
enum: ["full", "half"],
|
|
43
|
+
parseValue: (e) => e ? "half" : "full",
|
|
44
|
+
toValue: (e) => e === "half"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{ type: "divider" },
|
|
48
|
+
{
|
|
49
|
+
key: "display.title",
|
|
50
|
+
control: {
|
|
51
|
+
type: "switch",
|
|
52
|
+
label: "Title",
|
|
53
|
+
default: !0
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
key: "display.legend",
|
|
58
|
+
control: {
|
|
59
|
+
type: "switch",
|
|
60
|
+
label: "Legend",
|
|
61
|
+
default: !0,
|
|
62
|
+
calculateValue: ({ options: e }) => e?.display?.legend !== !1 || e?.display?.categoryLabels === !0,
|
|
63
|
+
toOptions: ({ options: e, value: t }) => ({
|
|
64
|
+
...e,
|
|
65
|
+
display: {
|
|
66
|
+
...e.display,
|
|
67
|
+
legend: t,
|
|
68
|
+
categoryLabels: !1
|
|
69
|
+
}
|
|
70
|
+
})
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
key: "display.categoryLabels",
|
|
75
|
+
control: {
|
|
76
|
+
type: "radio-button-group",
|
|
77
|
+
enum: ["list", "labels"],
|
|
78
|
+
parseValue: (e) => e ? "labels" : "list",
|
|
79
|
+
toOptions: ({ options: e, value: t }) => ({
|
|
80
|
+
...e,
|
|
81
|
+
display: {
|
|
82
|
+
...e.display,
|
|
83
|
+
categoryLabels: t === "labels",
|
|
84
|
+
legend: t !== "labels"
|
|
85
|
+
}
|
|
86
|
+
})
|
|
87
|
+
},
|
|
88
|
+
visibleIf: ({ options: e }) => e?.display?.legend !== !1 || e?.display?.categoryLabels === !0
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
key: "slices",
|
|
94
|
+
type: "group",
|
|
95
|
+
open: !0,
|
|
96
|
+
children: [
|
|
97
|
+
{
|
|
98
|
+
key: "sort.by",
|
|
99
|
+
control: {
|
|
100
|
+
type: "picker",
|
|
101
|
+
label: "Order by",
|
|
102
|
+
default: "measure",
|
|
103
|
+
enum: ["measure", "category"]
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
key: "sort.direction",
|
|
108
|
+
control: {
|
|
109
|
+
type: "picker",
|
|
110
|
+
label: "Direction",
|
|
111
|
+
default: "desc",
|
|
112
|
+
enum: ["asc", "desc"]
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
key: "limit.number",
|
|
117
|
+
control: {
|
|
118
|
+
type: "number-field",
|
|
119
|
+
label: "Limit",
|
|
120
|
+
default: 1e5,
|
|
121
|
+
min: 1,
|
|
122
|
+
max: 1e5
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
key: "display.values",
|
|
127
|
+
control: {
|
|
128
|
+
type: "picker",
|
|
129
|
+
default: "none",
|
|
130
|
+
enum: [
|
|
131
|
+
"none",
|
|
132
|
+
"absolute",
|
|
133
|
+
"percentage"
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
key: "slices.width",
|
|
139
|
+
control: {
|
|
140
|
+
type: "slider",
|
|
141
|
+
default: .35,
|
|
142
|
+
min: .05,
|
|
143
|
+
max: .9,
|
|
144
|
+
step: .01
|
|
145
|
+
},
|
|
146
|
+
visibleIf: ({ options: e }) => e?.mode === "donut"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
key: "slices.maxNumber",
|
|
150
|
+
control: {
|
|
151
|
+
type: "number-field",
|
|
152
|
+
default: 12,
|
|
153
|
+
min: 0,
|
|
154
|
+
max: 50,
|
|
155
|
+
step: 1
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
key: "slices.minPercentage",
|
|
160
|
+
control: {
|
|
161
|
+
type: "number-field",
|
|
162
|
+
default: 3,
|
|
163
|
+
min: 0,
|
|
164
|
+
max: 100,
|
|
165
|
+
step: 1
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
key: "slices.roundedCorners",
|
|
170
|
+
control: {
|
|
171
|
+
type: "slider",
|
|
172
|
+
default: 8,
|
|
173
|
+
min: 0,
|
|
174
|
+
max: 24,
|
|
175
|
+
step: 1,
|
|
176
|
+
extraLabel: ({ options: e, theme: t }) => typeof t?.itemSpecific?.rounding == "number" ? typeof e?.slices?.roundedCorners == "number" ? "reset" : "auto" : null,
|
|
177
|
+
extraLabelHasClickAction: ({ options: e, theme: t }) => typeof t?.itemSpecific?.rounding == "number" && typeof e?.slices?.roundedCorners == "number",
|
|
178
|
+
extraLabelClickAction: ({ options: e }) => {
|
|
179
|
+
let t = { ...e };
|
|
180
|
+
return t?.slices?.roundedCorners !== void 0 && delete t.slices.roundedCorners, {
|
|
181
|
+
value: null,
|
|
182
|
+
options: t
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
key: "slices.padding",
|
|
189
|
+
control: {
|
|
190
|
+
type: "slider",
|
|
191
|
+
default: 5,
|
|
192
|
+
min: 0,
|
|
193
|
+
max: 20,
|
|
194
|
+
step: 1,
|
|
195
|
+
extraLabel: ({ options: e, theme: t }) => typeof t?.itemSpecific?.padding == "number" ? typeof e?.slices?.padding == "number" ? "reset" : "auto" : null,
|
|
196
|
+
extraLabelHasClickAction: ({ options: e, theme: t }) => typeof t?.itemSpecific?.padding == "number" && typeof e?.slices?.padding == "number",
|
|
197
|
+
extraLabelClickAction: ({ options: e }) => {
|
|
198
|
+
let t = { ...e };
|
|
199
|
+
return t?.slices?.padding !== void 0 && delete t.slices.padding, {
|
|
200
|
+
value: null,
|
|
201
|
+
options: t
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
visibleIf: ({ options: e }) => e?.mode === "donut"
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
t()
|
|
210
|
+
];
|
|
211
|
+
//#endregion
|
|
212
|
+
export { r as n, n as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./rolldown-runtime-mLOUI7ql.cjs"),t=require("./info-tooltip-options.config-B9T0cwSM.cjs");var n=e.n({default:()=>r}),r=[{key:`general`,type:`group`,open:!0,children:[{key:`mode`,control:{type:`picker`,default:`donut`,enum:[`donut`,`pie`]}},{key:`slices.half`,control:{type:`picker`,default:`full`,enum:[`full`,`half`],parseValue:e=>e?`half`:`full`,toValue:e=>e===`half`}},{type:`divider`},{key:`display.title`,control:{type:`switch`,label:`Title`,default:!0}},{key:`display.legend`,control:{type:`switch`,label:`Legend`,default:!0,calculateValue:({options:e})=>e?.display?.legend!==!1||e?.display?.categoryLabels===!0,toOptions:({options:e,value:t})=>({...e,display:{...e.display,legend:t,categoryLabels:!1}})}},{key:`display.categoryLabels`,control:{type:`radio-button-group`,enum:[`list`,`labels`],parseValue:e=>e?`labels`:`list`,toOptions:({options:e,value:t})=>({...e,display:{...e.display,categoryLabels:t===`labels`,legend:t!==`labels`}})},visibleIf:({options:e})=>e?.display?.legend!==!1||e?.display?.categoryLabels===!0}]},{key:`slices`,type:`group`,open:!0,children:[{key:`sort.by`,control:{type:`picker`,label:`Order by`,default:`measure`,enum:[`measure`,`category`]}},{key:`sort.direction`,control:{type:`picker`,label:`Direction`,default:`desc`,enum:[`asc`,`desc`]}},{key:`limit.number`,control:{type:`number-field`,label:`Limit`,default:1e5,min:1,max:1e5}},{key:`display.values`,control:{type:`picker`,default:`none`,enum:[`none`,`absolute`,`percentage`]}},{key:`slices.width`,control:{type:`slider`,default:.35,min:.05,max:.9,step:.01},visibleIf:({options:e})=>e?.mode===`donut`},{key:`slices.maxNumber`,control:{type:`number-field`,default:12,min:0,max:50,step:1}},{key:`slices.minPercentage`,control:{type:`number-field`,default:3,min:0,max:100,step:1}},{key:`slices.roundedCorners`,control:{type:`slider`,default:8,min:0,max:24,step:1,extraLabel:({options:e,theme:t})=>typeof t?.itemSpecific?.rounding==`number`?typeof e?.slices?.roundedCorners==`number`?`reset`:`auto`:null,extraLabelHasClickAction:({options:e,theme:t})=>typeof t?.itemSpecific?.rounding==`number`&&typeof e?.slices?.roundedCorners==`number`,extraLabelClickAction:({options:e})=>{let t={...e};return t?.slices?.roundedCorners!==void 0&&delete t.slices.roundedCorners,{value:null,options:t}}}},{key:`slices.padding`,control:{type:`slider`,default:5,min:0,max:20,step:1,extraLabel:({options:e,theme:t})=>typeof t?.itemSpecific?.padding==`number`?typeof e?.slices?.padding==`number`?`reset`:`auto`:null,extraLabelHasClickAction:({options:e,theme:t})=>typeof t?.itemSpecific?.padding==`number`&&typeof e?.slices?.padding==`number`,extraLabelClickAction:({options:e})=>{let t={...e};return t?.slices?.padding!==void 0&&delete t.slices.padding,{value:null,options:t}}},visibleIf:({options:e})=>e?.mode===`donut`}]},t.t()];Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./rolldown-runtime-mLOUI7ql.cjs"),t=require("./helpers-B2IWxa9q.cjs"),n=require("./info-tooltip-options.config-B9T0cwSM.cjs");var r=e.n({default:()=>i}),i=[{key:`general`,type:`group`,label:`General`,open:!0,children:[{key:`display.title`,control:{type:`switch`,label:`Title`,default:!0}},{key:`showSubtitle`,control:{type:`switch`,label:`Subtitle`,default:!1}},{key:`horizontalAlignment`,control:{type:`action-button-group`,label:`Horizontal alignment`,default:[`center`],values:{left:{iconName:`alignLeft`,label:`align left`},center:{iconName:`alignCenter`,label:`align center`},right:{iconName:`alignRight`,label:`align right`}},selects:`single`}},{key:`verticalAlignment`,control:{type:`action-button-group`,label:`Vertical alignment`,default:[`middle`],values:{top:{iconName:`alignTop`,label:`align top`},middle:{iconName:`alignMiddle`,label:`align middle`},bottom:{iconName:`alignBottom`,label:`align bottom`}},selects:`single`}},{key:`color`,control:{type:`color-picker`,label:`Number color`,default:({theme:e})=>t.u(e),extraLabel:({options:e,theme:n})=>t.a(e,n,`color`),extraLabelHasClickAction:({options:e,theme:n})=>t.t(e,n,`color`),extraLabelClickAction:({options:e,theme:n})=>t.c(e,n,`color`)}}]},{key:`fontSizes`,type:`group`,label:`Font sizes`,open:!1,children:[{key:`numberFontSize`,control:{type:`number-field`,label:`Number font size`,default:86,min:10,max:200,step:1,unit:`px`}},{key:`titleFontSize`,control:{type:`number-field`,label:`Title font size`,default:15,min:10,max:100,step:1,unit:`px`}}]},{key:`evolution`,type:`group`,open:!1,children:[{key:`evolutionGraphDisplay`,control:{type:`picker`,label:`Show evolution graph`,default:`background`,enum:[`none`,`background`,`fixedbottom`,`belownumber`]}},{key:`evolutionGraphType`,control:{type:`picker`,label:`Graph type`,default:`area`,enum:[`area`,`line`]},visibleIf:({options:e})=>e?.evolutionGraphDisplay!==`none`},{key:`evolutionGraphInterpolation`,control:{type:`picker`,label:`Graph interpolation`,default:`linear`,enum:[`linear`,`step-before`,`step-after`,`monotone`]},visibleIf:({options:e})=>e?.evolutionGraphDisplay!==`none`},{key:`missingValue.type`,control:{type:`picker`,label:`Fill missing days`,default:`no`,enum:[`no`,`break`,`manual`]},visibleIf:({options:e})=>e?.evolutionGraphDisplay!==`none`},{key:`missingValue.value`,control:{type:`number-field`,label:`Value`,default:0},visibleIf:({options:e})=>e?.missingValue?.type===`manual`},{key:`evolutionGraphOpacity`,control:{type:`slider`,label:`Graph opacity`,default:35,min:0,max:100,step:1},visibleIf:({options:e})=>e?.evolutionGraphDisplay!==`none`},{key:`evolutionColor`,control:{type:`switch`,label:`Lower is better`,default:`normal`,parseValue:e=>e===`inverse`,toValue:e=>e?`inverse`:`normal`},visibleIf:({options:e})=>e?.evolutionGraphDisplay!==`none`}]},n.t()];Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
|
|
@@ -19,8 +19,9 @@
|
|
|
19
19
|
* */
|
|
20
20
|
import { s as e } from "./pragmatic-element-adapter-C_7HSvGV.js";
|
|
21
21
|
import { a as t, c as n, t as r, u as i } from "./helpers-irnB2xbq.js";
|
|
22
|
+
import { t as a } from "./info-tooltip-options.config-BmSMkirf.js";
|
|
22
23
|
//#region node_modules/@luzmo/dashboard-contents-types/evolution-number/evolution-number-options.config.js
|
|
23
|
-
var
|
|
24
|
+
var o = /* @__PURE__ */ e({ default: () => s }), s = [
|
|
24
25
|
{
|
|
25
26
|
key: "general",
|
|
26
27
|
type: "group",
|
|
@@ -222,7 +223,8 @@ var a = /* @__PURE__ */ e({ default: () => o }), o = [
|
|
|
222
223
|
visibleIf: ({ options: e }) => e?.evolutionGraphDisplay !== "none"
|
|
223
224
|
}
|
|
224
225
|
]
|
|
225
|
-
}
|
|
226
|
+
},
|
|
227
|
+
a()
|
|
226
228
|
];
|
|
227
229
|
//#endregion
|
|
228
|
-
export { o as n,
|
|
230
|
+
export { o as n, s as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./rolldown-runtime-mLOUI7ql.cjs"),t=require("./info-tooltip-options.config-B9T0cwSM.cjs");var n=e.n({default:()=>r}),r=[{key:`general`,type:`group`,open:!0,children:[{key:`display.title`,control:{type:`switch`,label:`Title`,default:!0}},{key:`display.legend`,control:{type:`switch`,label:`Legend`,default:!0,calculateValue:({options:e})=>e?.display?.legend!==!1||e?.display?.categoryLabels===!0,toOptions:({options:e,value:t})=>({...e,display:{...e.display,legend:t,categoryLabels:!1}})}},{key:`display.categoryLabels`,control:{type:`radio-button-group`,label:`Display legend as`,default:`labels`,enum:[`list`,`labels`],parseValue:e=>e?`labels`:`list`,toOptions:({options:e,value:t})=>({...e,display:{...e.display,categoryLabels:t===`labels`,legend:t!==`labels`}})},visibleIf:({options:e})=>e?.display?.legend!==!1||e?.display?.categoryLabels===!0},{key:`display.values`,control:{type:`switch`,label:`Show values`,default:!1}},{key:`funnel.absValue`,control:{type:`switch`,label:`Show absolute values`,default:!0},visibleIf:({options:e})=>e?.display?.values===!0},{key:`funnel.perc`,control:{type:`picker`,label:`Percentage`,default:`hide`,enum:[`hide`,`ofMax`,`ofTot`]},visibleIf:({options:e})=>e?.display?.values===!0}]},{key:`funnel`,type:`group`,open:!0,children:[{key:`mode`,control:{type:`picker`,label:`Mode`,default:`dynamicWidth`,enum:[`dynamicWidth`,`dynamicHeight`,`regular`]}},{key:`funnel.rectangle`,control:{type:`switch`,label:`Rectangular`,default:!1}},{key:`sort.by`,control:{type:`picker`,label:`Order`,default:`measure`,enum:[`measure`,`category`]}},{key:`sort.direction`,control:{type:`picker`,label:`Direction`,default:`desc`,enum:[`asc`,`desc`]}},{key:`limit.number`,control:{type:`number-field`,label:`Limit`,default:1e5,min:1,max:1e5}}]},{key:`legend`,type:`group`,open:!1,children:[{key:`legend.position`,control:{label:`Position`,type:`position-picker`,default:`right`,enum:[`topLeft`,`top`,`topRight`,`right`,`bottomRight`,`bottom`,`bottomLeft`,`left`]}},{key:`legend.customOrder`,control:{label:`Custom order`,description:`Drag items in the chart legend to set the order.`,type:`switch`,default:!1}},{key:`interactivity.legendReorder`,control:{label:`Allow viewers to reorder`,type:`switch`,default:!1},visibleIf:({options:e})=>e?.legend?.customOrder===!0}],visibleIf:({options:e})=>e?.display?.legend===!0&&String(e.display?.categoryLabels)===`false`},t.t()];Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
|
|
@@ -18,8 +18,9 @@
|
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
20
|
import { s as e } from "./pragmatic-element-adapter-C_7HSvGV.js";
|
|
21
|
+
import { t } from "./info-tooltip-options.config-BmSMkirf.js";
|
|
21
22
|
//#region node_modules/@luzmo/dashboard-contents-types/funnel-chart/funnel-chart-options.config.js
|
|
22
|
-
var
|
|
23
|
+
var n = /* @__PURE__ */ e({ default: () => r }), r = [
|
|
23
24
|
{
|
|
24
25
|
key: "general",
|
|
25
26
|
type: "group",
|
|
@@ -201,7 +202,8 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = [
|
|
|
201
202
|
}
|
|
202
203
|
],
|
|
203
204
|
visibleIf: ({ options: e }) => e?.display?.legend === !0 && String(e.display?.categoryLabels) === "false"
|
|
204
|
-
}
|
|
205
|
+
},
|
|
206
|
+
t()
|
|
205
207
|
];
|
|
206
208
|
//#endregion
|
|
207
|
-
export {
|
|
209
|
+
export { r as n, n as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
var e=[`value`,`average`,`median`],t=[`value`,`average`],n=[`value`,`average open`,`average close`],r=[`value`,`average`],i=`Reference lines on the measure axis. Use type "value" with a numeric value for a manual line (target, threshold). Use "average" or "median" (when allowed) to compute the line from the chart data. Color is rgb/rgba. Shared style.type is "0" (solid), "1,2" (dotted), or "3,3" (dashed); style.width is "1", "2", or "3".`,a=(e,t=`guidelines`)=>({key:t,control:{type:`guidelines`,enum:[...e],description:i}}),o=e=>({key:`guidelines`,type:`group`,open:!1,children:[a(e)]}),s=()=>({key:`guidelines`,type:`group`,open:!1,children:[a(r,`axis.x.guidelines`),a(r,`axis.y.guidelines`)]});Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
//#region node_modules/@luzmo/dashboard-contents-types/shared/utils/guidelines-options.config.js
|
|
21
|
+
var e = [
|
|
22
|
+
"value",
|
|
23
|
+
"average",
|
|
24
|
+
"median"
|
|
25
|
+
], t = ["value", "average"], n = [
|
|
26
|
+
"value",
|
|
27
|
+
"average open",
|
|
28
|
+
"average close"
|
|
29
|
+
], r = ["value", "average"], i = "Reference lines on the measure axis. Use type \"value\" with a numeric value for a manual line (target, threshold). Use \"average\" or \"median\" (when allowed) to compute the line from the chart data. Color is rgb/rgba. Shared style.type is \"0\" (solid), \"1,2\" (dotted), or \"3,3\" (dashed); style.width is \"1\", \"2\", or \"3\".", a = (e, t = "guidelines") => ({
|
|
30
|
+
key: t,
|
|
31
|
+
control: {
|
|
32
|
+
type: "guidelines",
|
|
33
|
+
enum: [...e],
|
|
34
|
+
description: i
|
|
35
|
+
}
|
|
36
|
+
}), o = (e) => ({
|
|
37
|
+
key: "guidelines",
|
|
38
|
+
type: "group",
|
|
39
|
+
open: !1,
|
|
40
|
+
children: [a(e)]
|
|
41
|
+
}), s = () => ({
|
|
42
|
+
key: "guidelines",
|
|
43
|
+
type: "group",
|
|
44
|
+
open: !1,
|
|
45
|
+
children: [a(r, "axis.x.guidelines"), a(r, "axis.y.guidelines")]
|
|
46
|
+
});
|
|
47
|
+
//#endregion
|
|
48
|
+
export { t as a, s as i, n, o as r, e as t };
|
package/components/{heat-map-options.config-CezceVM3.js → heat-map-options.config-DkuYkbWu.js}
RENAMED
|
@@ -18,30 +18,31 @@
|
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
20
|
import { s as e } from "./pragmatic-element-adapter-C_7HSvGV.js";
|
|
21
|
-
import {
|
|
22
|
-
import { t as r } from "./
|
|
23
|
-
import { t as i } from "./
|
|
21
|
+
import { t } from "./info-tooltip-options.config-BmSMkirf.js";
|
|
22
|
+
import { n, t as r } from "./color-palettes-D4z1ONyx.js";
|
|
23
|
+
import { t as i } from "./map-tile-providers-RN2cWRln.js";
|
|
24
|
+
import { t as a } from "./color-BWnYpOu7.js";
|
|
24
25
|
//#region node_modules/@luzmo/dashboard-contents-types/heat-map/heat-map-options.config.js
|
|
25
|
-
var
|
|
26
|
+
var o = /* @__PURE__ */ e({ default: () => u }), s = () => structuredClone(r().Spectrum.colors5), c = (e) => {
|
|
26
27
|
if (!e || e.length === 0) return [];
|
|
27
28
|
let t = /^rgb(a)?\s*\(/i.test(e.at(-1)?.trim() ?? "");
|
|
28
|
-
return e.map((e) => new
|
|
29
|
-
},
|
|
30
|
-
let
|
|
31
|
-
return
|
|
29
|
+
return e.map((e) => new a(e).toString({ format: t ? "hex" : "rgb" }));
|
|
30
|
+
}, l = (e) => {
|
|
31
|
+
let t = e?.length || 0;
|
|
32
|
+
return t === 0 ? {
|
|
32
33
|
type: "heat",
|
|
33
34
|
colorClass: "Spectrum",
|
|
34
|
-
colors:
|
|
35
|
-
} :
|
|
36
|
-
type:
|
|
35
|
+
colors: s() ?? []
|
|
36
|
+
} : n().map((e) => ({
|
|
37
|
+
type: r()[e]?.type,
|
|
37
38
|
colorClass: e,
|
|
38
|
-
colors:
|
|
39
|
+
colors: r()[e]?.[`colors${t}`] ?? []
|
|
39
40
|
})).find((t) => Array.isArray(t.colors) && Array.isArray(e) && t.colors.length === e.length && t.colors.every((t, n) => t === e[n])) ?? {
|
|
40
41
|
type: "manual",
|
|
41
42
|
colorClass: "manual",
|
|
42
43
|
colors: e
|
|
43
44
|
};
|
|
44
|
-
},
|
|
45
|
+
}, u = [
|
|
45
46
|
{
|
|
46
47
|
key: "general",
|
|
47
48
|
type: "group",
|
|
@@ -101,7 +102,7 @@ var a = /* @__PURE__ */ e({ default: () => l }), o = () => structuredClone(n().S
|
|
|
101
102
|
"No Tiles"
|
|
102
103
|
],
|
|
103
104
|
parseValue: (e) => e?.name || "Basic",
|
|
104
|
-
toValue: (e) =>
|
|
105
|
+
toValue: (e) => i[e] ?? {}
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
108
|
]
|
|
@@ -172,10 +173,10 @@ var a = /* @__PURE__ */ e({ default: () => l }), o = () => structuredClone(n().S
|
|
|
172
173
|
"sequential",
|
|
173
174
|
"manual"
|
|
174
175
|
],
|
|
175
|
-
calculateValue: ({ options: e }) =>
|
|
176
|
-
toOptions: ({ options: e, value:
|
|
177
|
-
let i =
|
|
178
|
-
return i.type !==
|
|
176
|
+
calculateValue: ({ options: e }) => l(e?.colors ?? []).type,
|
|
177
|
+
toOptions: ({ options: e, value: t }) => {
|
|
178
|
+
let i = l(e?.colors ?? []), a = { ...e };
|
|
179
|
+
return i.type !== t && (a.colors = t === "manual" ? c(i.colors ?? s()) : r()[n(t)?.[0]]?.colors5 ?? s()), a;
|
|
179
180
|
}
|
|
180
181
|
}
|
|
181
182
|
},
|
|
@@ -187,19 +188,19 @@ var a = /* @__PURE__ */ e({ default: () => l }), o = () => structuredClone(n().S
|
|
|
187
188
|
hideLabel: !0,
|
|
188
189
|
default: "Spectrum",
|
|
189
190
|
enum: ({ options: e }) => {
|
|
190
|
-
let
|
|
191
|
-
return
|
|
191
|
+
let t = l(e?.colors ?? []).type;
|
|
192
|
+
return n(["heat", "sequential"].includes(t) ? t : "heat");
|
|
192
193
|
},
|
|
193
194
|
calculateValue: ({ options: e }) => {
|
|
194
|
-
let t =
|
|
195
|
+
let t = l(e?.colors ?? []);
|
|
195
196
|
return t?.colorClass && t.colorClass !== "manual" ? t.colorClass : "Spectrum";
|
|
196
197
|
},
|
|
197
198
|
toOptions: ({ options: e, value: t }) => ({
|
|
198
199
|
...e,
|
|
199
|
-
colors:
|
|
200
|
+
colors: r()[t]?.colors5 ?? s()
|
|
200
201
|
})
|
|
201
202
|
},
|
|
202
|
-
visibleIf: ({ options: e }) =>
|
|
203
|
+
visibleIf: ({ options: e }) => l(e?.colors ?? []).type !== "manual"
|
|
203
204
|
},
|
|
204
205
|
{
|
|
205
206
|
key: "colors",
|
|
@@ -211,14 +212,15 @@ var a = /* @__PURE__ */ e({ default: () => l }), o = () => structuredClone(n().S
|
|
|
211
212
|
noAlphaChannel: !0,
|
|
212
213
|
hideLabel: !0,
|
|
213
214
|
label: "Manual color ranges",
|
|
214
|
-
default:
|
|
215
|
+
default: s(),
|
|
215
216
|
parseValue: (e) => e?.map((e) => ({ color: e })),
|
|
216
217
|
toValue: (e) => e?.map((e) => e?.color) ?? []
|
|
217
218
|
},
|
|
218
|
-
visibleIf: ({ options: e }) =>
|
|
219
|
+
visibleIf: ({ options: e }) => l(e?.colors ?? []).type === "manual"
|
|
219
220
|
}
|
|
220
221
|
]
|
|
221
|
-
}
|
|
222
|
+
},
|
|
223
|
+
t()
|
|
222
224
|
];
|
|
223
225
|
//#endregion
|
|
224
|
-
export {
|
|
226
|
+
export { o as n, u as t };
|