@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
|
@@ -0,0 +1,95 @@
|
|
|
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 { 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";
|
|
23
|
+
//#region node_modules/@luzmo/dashboard-contents-types/wordcloud-chart/wordcloud-chart-options.config.js
|
|
24
|
+
var o = /* @__PURE__ */ e({ default: () => s }), s = [
|
|
25
|
+
{
|
|
26
|
+
key: "general",
|
|
27
|
+
type: "group",
|
|
28
|
+
open: !0,
|
|
29
|
+
children: [
|
|
30
|
+
{
|
|
31
|
+
key: "display.title",
|
|
32
|
+
control: {
|
|
33
|
+
type: "switch",
|
|
34
|
+
label: "Title",
|
|
35
|
+
default: !0
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
key: "categories.colored",
|
|
40
|
+
control: {
|
|
41
|
+
type: "switch",
|
|
42
|
+
label: "Word color by category",
|
|
43
|
+
default: !0
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
key: "color",
|
|
48
|
+
control: {
|
|
49
|
+
type: "color-picker",
|
|
50
|
+
default: ({ theme: e }) => i(e),
|
|
51
|
+
extraLabel: ({ options: e, theme: n }) => t(e, n, "color"),
|
|
52
|
+
extraLabelHasClickAction: ({ options: e, theme: t }) => r(e, t, "color"),
|
|
53
|
+
extraLabelClickAction: ({ options: e, theme: t }) => n(e, t, "color")
|
|
54
|
+
},
|
|
55
|
+
visibleIf: ({ options: e }) => e?.categories?.colored === !1
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
key: "layout",
|
|
59
|
+
control: {
|
|
60
|
+
type: "radio-button-group",
|
|
61
|
+
label: "Layout",
|
|
62
|
+
default: "horizontal",
|
|
63
|
+
enum: ["horizontal", "random"]
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
key: "order",
|
|
70
|
+
type: "group",
|
|
71
|
+
label: "Limit",
|
|
72
|
+
open: !0,
|
|
73
|
+
children: [{
|
|
74
|
+
key: "ranking.direction",
|
|
75
|
+
control: {
|
|
76
|
+
type: "picker",
|
|
77
|
+
label: "Direction",
|
|
78
|
+
default: "top",
|
|
79
|
+
enum: ["top", "bottom"]
|
|
80
|
+
}
|
|
81
|
+
}, {
|
|
82
|
+
key: "ranking.number",
|
|
83
|
+
control: {
|
|
84
|
+
type: "number-field",
|
|
85
|
+
label: "Number of words",
|
|
86
|
+
default: 250,
|
|
87
|
+
min: 1,
|
|
88
|
+
max: 999999
|
|
89
|
+
}
|
|
90
|
+
}]
|
|
91
|
+
},
|
|
92
|
+
a()
|
|
93
|
+
];
|
|
94
|
+
//#endregion
|
|
95
|
+
export { o as n, s as t };
|
package/custom-elements.json
CHANGED
|
@@ -634,12 +634,23 @@
|
|
|
634
634
|
},
|
|
635
635
|
{
|
|
636
636
|
"kind": "field",
|
|
637
|
-
"name": "
|
|
637
|
+
"name": "includePublicDatasets",
|
|
638
638
|
"type": {
|
|
639
639
|
"text": "boolean"
|
|
640
640
|
},
|
|
641
641
|
"default": "false",
|
|
642
|
-
"description": "When true,
|
|
642
|
+
"description": "When true, shows public datasets alongside the user's other datasets.",
|
|
643
|
+
"attribute": "include-public-datasets",
|
|
644
|
+
"reflects": true
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"kind": "field",
|
|
648
|
+
"name": "flagOpendata",
|
|
649
|
+
"type": {
|
|
650
|
+
"text": "boolean"
|
|
651
|
+
},
|
|
652
|
+
"description": "Alias for includePublicDatasets.",
|
|
653
|
+
"deprecated": "Use includePublicDatasets instead.",
|
|
643
654
|
"attribute": "flag-opendata"
|
|
644
655
|
},
|
|
645
656
|
{
|
|
@@ -1495,12 +1506,21 @@
|
|
|
1495
1506
|
"fieldName": "appServer"
|
|
1496
1507
|
},
|
|
1497
1508
|
{
|
|
1498
|
-
"name": "
|
|
1509
|
+
"name": "include-public-datasets",
|
|
1499
1510
|
"type": {
|
|
1500
1511
|
"text": "boolean"
|
|
1501
1512
|
},
|
|
1502
1513
|
"default": "false",
|
|
1503
|
-
"description": "When true,
|
|
1514
|
+
"description": "When true, shows public datasets alongside the user's other datasets.",
|
|
1515
|
+
"fieldName": "includePublicDatasets"
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"name": "flag-opendata",
|
|
1519
|
+
"type": {
|
|
1520
|
+
"text": "boolean"
|
|
1521
|
+
},
|
|
1522
|
+
"description": "Alias for includePublicDatasets.",
|
|
1523
|
+
"deprecated": "Use includePublicDatasets instead.",
|
|
1504
1524
|
"fieldName": "flagOpendata"
|
|
1505
1525
|
},
|
|
1506
1526
|
{
|
|
@@ -3126,12 +3146,23 @@
|
|
|
3126
3146
|
},
|
|
3127
3147
|
{
|
|
3128
3148
|
"kind": "field",
|
|
3129
|
-
"name": "
|
|
3149
|
+
"name": "includePublicDatasets",
|
|
3130
3150
|
"type": {
|
|
3131
3151
|
"text": "boolean"
|
|
3132
3152
|
},
|
|
3133
3153
|
"default": "false",
|
|
3134
|
-
"description": "When true,
|
|
3154
|
+
"description": "When true, shows public datasets alongside the user's other datasets.",
|
|
3155
|
+
"attribute": "include-public-datasets",
|
|
3156
|
+
"reflects": true
|
|
3157
|
+
},
|
|
3158
|
+
{
|
|
3159
|
+
"kind": "field",
|
|
3160
|
+
"name": "flagOpendata",
|
|
3161
|
+
"type": {
|
|
3162
|
+
"text": "boolean"
|
|
3163
|
+
},
|
|
3164
|
+
"description": "Alias for includePublicDatasets.",
|
|
3165
|
+
"deprecated": "Use includePublicDatasets instead.",
|
|
3135
3166
|
"attribute": "flag-opendata"
|
|
3136
3167
|
},
|
|
3137
3168
|
{
|
|
@@ -3621,12 +3652,21 @@
|
|
|
3621
3652
|
"fieldName": "appServer"
|
|
3622
3653
|
},
|
|
3623
3654
|
{
|
|
3624
|
-
"name": "
|
|
3655
|
+
"name": "include-public-datasets",
|
|
3625
3656
|
"type": {
|
|
3626
3657
|
"text": "boolean"
|
|
3627
3658
|
},
|
|
3628
3659
|
"default": "false",
|
|
3629
|
-
"description": "When true,
|
|
3660
|
+
"description": "When true, shows public datasets alongside the user's other datasets.",
|
|
3661
|
+
"fieldName": "includePublicDatasets"
|
|
3662
|
+
},
|
|
3663
|
+
{
|
|
3664
|
+
"name": "flag-opendata",
|
|
3665
|
+
"type": {
|
|
3666
|
+
"text": "boolean"
|
|
3667
|
+
},
|
|
3668
|
+
"description": "Alias for includePublicDatasets.",
|
|
3669
|
+
"deprecated": "Use includePublicDatasets instead.",
|
|
3630
3670
|
"fieldName": "flagOpendata"
|
|
3631
3671
|
},
|
|
3632
3672
|
{
|
|
@@ -5558,12 +5598,23 @@
|
|
|
5558
5598
|
},
|
|
5559
5599
|
{
|
|
5560
5600
|
"kind": "field",
|
|
5561
|
-
"name": "
|
|
5601
|
+
"name": "includePublicDatasets",
|
|
5562
5602
|
"type": {
|
|
5563
5603
|
"text": "boolean"
|
|
5564
5604
|
},
|
|
5565
5605
|
"default": "false",
|
|
5566
|
-
"description": "When true,
|
|
5606
|
+
"description": "When true, shows public datasets alongside the user's other datasets.",
|
|
5607
|
+
"attribute": "include-public-datasets",
|
|
5608
|
+
"reflects": true
|
|
5609
|
+
},
|
|
5610
|
+
{
|
|
5611
|
+
"kind": "field",
|
|
5612
|
+
"name": "flagOpendata",
|
|
5613
|
+
"type": {
|
|
5614
|
+
"text": "boolean"
|
|
5615
|
+
},
|
|
5616
|
+
"description": "Alias for includePublicDatasets.",
|
|
5617
|
+
"deprecated": "Use includePublicDatasets instead.",
|
|
5567
5618
|
"attribute": "flag-opendata"
|
|
5568
5619
|
},
|
|
5569
5620
|
{
|
|
@@ -5786,12 +5837,21 @@
|
|
|
5786
5837
|
"fieldName": "appServer"
|
|
5787
5838
|
},
|
|
5788
5839
|
{
|
|
5789
|
-
"name": "
|
|
5840
|
+
"name": "include-public-datasets",
|
|
5790
5841
|
"type": {
|
|
5791
5842
|
"text": "boolean"
|
|
5792
5843
|
},
|
|
5793
5844
|
"default": "false",
|
|
5794
|
-
"description": "When true,
|
|
5845
|
+
"description": "When true, shows public datasets alongside the user's other datasets.",
|
|
5846
|
+
"fieldName": "includePublicDatasets"
|
|
5847
|
+
},
|
|
5848
|
+
{
|
|
5849
|
+
"name": "flag-opendata",
|
|
5850
|
+
"type": {
|
|
5851
|
+
"text": "boolean"
|
|
5852
|
+
},
|
|
5853
|
+
"description": "Alias for includePublicDatasets.",
|
|
5854
|
+
"deprecated": "Use includePublicDatasets instead.",
|
|
5795
5855
|
"fieldName": "flagOpendata"
|
|
5796
5856
|
}
|
|
5797
5857
|
],
|
|
@@ -5891,12 +5951,23 @@
|
|
|
5891
5951
|
},
|
|
5892
5952
|
{
|
|
5893
5953
|
"kind": "field",
|
|
5894
|
-
"name": "
|
|
5954
|
+
"name": "includePublicDatasets",
|
|
5895
5955
|
"type": {
|
|
5896
5956
|
"text": "boolean"
|
|
5897
5957
|
},
|
|
5898
5958
|
"default": "false",
|
|
5899
|
-
"description": "When true,
|
|
5959
|
+
"description": "When true, shows public datasets alongside the user's other datasets.",
|
|
5960
|
+
"attribute": "include-public-datasets",
|
|
5961
|
+
"reflects": true
|
|
5962
|
+
},
|
|
5963
|
+
{
|
|
5964
|
+
"kind": "field",
|
|
5965
|
+
"name": "flagOpendata",
|
|
5966
|
+
"type": {
|
|
5967
|
+
"text": "boolean"
|
|
5968
|
+
},
|
|
5969
|
+
"description": "Alias for includePublicDatasets.",
|
|
5970
|
+
"deprecated": "Use includePublicDatasets instead.",
|
|
5900
5971
|
"attribute": "flag-opendata"
|
|
5901
5972
|
},
|
|
5902
5973
|
{
|
|
@@ -6090,12 +6161,21 @@
|
|
|
6090
6161
|
"fieldName": "appServer"
|
|
6091
6162
|
},
|
|
6092
6163
|
{
|
|
6093
|
-
"name": "
|
|
6164
|
+
"name": "include-public-datasets",
|
|
6094
6165
|
"type": {
|
|
6095
6166
|
"text": "boolean"
|
|
6096
6167
|
},
|
|
6097
6168
|
"default": "false",
|
|
6098
|
-
"description": "When true,
|
|
6169
|
+
"description": "When true, shows public datasets alongside the user's other datasets.",
|
|
6170
|
+
"fieldName": "includePublicDatasets"
|
|
6171
|
+
},
|
|
6172
|
+
{
|
|
6173
|
+
"name": "flag-opendata",
|
|
6174
|
+
"type": {
|
|
6175
|
+
"text": "boolean"
|
|
6176
|
+
},
|
|
6177
|
+
"description": "Alias for includePublicDatasets.",
|
|
6178
|
+
"deprecated": "Use includePublicDatasets instead.",
|
|
6099
6179
|
"fieldName": "flagOpendata"
|
|
6100
6180
|
},
|
|
6101
6181
|
{
|
package/package.json
CHANGED
package/react/package.json
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@lit/react": "^1.0.6",
|
|
31
31
|
"react": "^18.0.0 || ^19.0.0",
|
|
32
|
-
"@luzmo/analytics-components-kit": "^1.0.8-beta.
|
|
32
|
+
"@luzmo/analytics-components-kit": "^1.0.8-beta.3"
|
|
33
33
|
},
|
|
34
|
-
"version": "1.0.8-beta.
|
|
34
|
+
"version": "1.0.8-beta.3"
|
|
35
35
|
}
|
|
@@ -1,95 +0,0 @@
|
|
|
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("./decorate-DCJt-2rt.cjs"),t=require("./set-locale-8XQ-p5_N.cjs"),n=require("./data-broker-CyMYR6w1.cjs"),r=require("./calculate-data-field-icon-DenGmW74.cjs"),i=require("./localize-D3i4Epy_.cjs"),a=require("./get-dataset-name-CIt7of_Z.cjs");require("./dataset-icon-BAV0S4sZ.cjs"),require("./dataset-selector-row-Cte3skmf.cjs");let o=require("@luzmo/icons");require("@luzmo/lucero/icon");let s=require("lit"),c=require("lit/decorators.js"),l=require("@lit/localize");require("@luzmo/lucero/action-button"),require("@luzmo/lucero/prompt-box");let u=require("lit/directives/class-map.js");var d=20,f=[`image/png`,`image/jpeg`,`image/webp`,`image/gif`],p=new Set(f),m={png:`image/png`,jpg:`image/jpeg`,jpeg:`image/jpeg`,webp:`image/webp`,gif:`image/gif`};function h(e){try{return new URL(e).pathname.match(/\.([a-z0-9]+)$/i)?.[1]?.toLowerCase()}catch{return}}function g(e){try{let t=new URL(e);return t.protocol===`http:`||t.protocol===`https:`}catch{return!1}}function _(e){return p.has(e.toLowerCase())}function v(e){if(e.type)return _(e.type);let t=e.name.split(`.`).pop()?.toLowerCase();return!!(t&&m[t])}function y(e){if(!g(e))return!1;let t=h(e);return!!(t&&m[t])}function b(e){if(e.length>20)throw Error(`Too many image inputs: received ${e.length}, but the maximum is 20 per request.`);for(let t of e){if(!t.trim())throw Error(`Image input URL must be a non-empty string.`);if(!g(t))throw Error(`Image input URL must be an absolute http(s) URL. Received "${t}".`);let e=h(t);if(e&&!m[e])throw Error(`Unsupported image input URL "${t}". Only PNG, JPEG, WebP, and GIF image URLs are accepted.`)}}function x(e){if(e.length>20)throw Error(`Too many image inputs: received ${e.length}, but the maximum is 20 per request.`);for(let t of e){if(!v(t))throw Error(`Unsupported image attachment "${t.name}" (${t.type||`unknown type`}). Only PNG, JPEG, WebP, and GIF images are accepted.`);if(t.size===0)throw Error(`Image "${t.name}" is empty.`);if(t.size>15728640)throw Error(`Image "${t.name}" is too large. Maximum size is 15 MB.`)}}function S(e,t=`0.1.0`){return`${e.replace(/\/+$/,``)}/${t.replace(/^\/+|\/+$/g,``)}/upload`}function C(e){let{files:t,authKey:n,authToken:r,apiUrl:i,apiVersion:a=`0.1.0`,signal:o,fetchImpl:s=fetch}=e;if(!n||!r)return Promise.reject(Error(`Image upload requires authKey and authToken.`));let c=S(i,a),l=a.replace(/^\/+|\/+$/g,``)||`0.1.0`;return Promise.all(t.map(e=>w(e,{url:c,authKey:n,authToken:r,version:l,signal:o,fetchImpl:s})))}async function w(e,t){let{url:n,authKey:r,authToken:i,version:a,signal:o,fetchImpl:s}=t,c=new FormData;c.append(`key`,r),c.append(`token`,i),c.append(`version`,a),c.append(`action`,`create`),c.append(`properties.type`,`image`),c.append(`file`,e,e.name);let l=await s(n,{method:`POST`,body:c,signal:o,redirect:`error`});if(!l.ok){let t=await T(l);throw Error(`Image upload failed for "${e.name}" (${l.status})${t?`: ${t}`:`.`}`)}let u=await l.json(),d=typeof u?.url==`string`?u.url.trim():``;if(!d)throw Error(`Image upload for "${e.name}" did not return a url.`);return d}async function T(e){try{return(await e.text()).trim().slice(0,200)}catch{return``}}function E(e,t=`0.1.0`){return`${e.replace(/\/+$/,``)}/${t.replace(/^\/+|\/+$/g,``)}/aidictation`}function D(e){let{authKey:t,authToken:n,audioBase64:r,mimeType:i,apiVersion:a=`0.1.0`,stream:o=!0,language:s}=e;return{key:t,token:n,action:`create`,version:a,properties:{audio:r,mimetype:i,stream:o,...s?{language:s}:{}}}}async function O(e){let t=await e.arrayBuffer(),n=new Uint8Array(t),r=32768,i=``;for(let e=0;e<n.length;e+=r){let t=n.subarray(e,e+r);i+=String.fromCharCode(...t)}return btoa(i)}async function k(e){let{audioBlob:t,mimeType:n,authKey:r,authToken:i,apiUrl:a,apiVersion:o=`0.1.0`,language:s,signal:c,onDelta:l,fetchImpl:u=fetch}=e;if(!r||!i)throw Error(`Voice transcription requires authKey and authToken.`);if(!t||t.size===0)throw Error(`Voice transcription requires a non-empty audio recording.`);let d=await O(t),f=E(a,o),p=D({authKey:r,authToken:i,audioBase64:d,mimeType:n||t.type||`audio/webm`,apiVersion:o,stream:!0,language:s}),m=await u(f,{method:`POST`,headers:{"Content-Type":`application/json`},mode:`cors`,redirect:`error`,body:JSON.stringify(p),signal:c});if(!m.ok){let e=await F(m);throw Error(`Voice transcription failed (${m.status})${e?`: ${e}`:`.`}`)}if(!m.body)throw Error(`Voice transcription response body is not readable.`);await N(m.body,e=>{let t=A(e);t&&l(t)})}function A(e){return e.type===`text_delta`&&typeof e.delta==`string`?e.delta:typeof e.text_delta==`string`?e.text_delta:``}var j=/^[a-z]+:/i;function M(e){let t=e.trim();if(!t||t.startsWith(`:`))return null;let n=t;if(n.startsWith(`data:`))n=n.slice(5).trimStart();else if(j.test(n))return null;return!n||n===`[DONE]`?null:JSON.parse(n)}async function N(e,t){let n=e.getReader(),r=new TextDecoder,i=``;try{for(;;){let{done:e,value:a}=await n.read();if(e)break;i+=r.decode(a,{stream:!0});let o=i.split(/\r?\n/);i=o.pop()??``;for(let e of o)P(e,t)}i+=r.decode();let e=i.trim();e&&P(e,t)}finally{n.releaseLock()}}function P(e,t){let n=M(e);n&&t(n)}async function F(e){try{return(await e.text()).trim().slice(0,200)}catch{return``}}var I=`:host{box-sizing:border-box;display:block}:host .content-wrapper{flex-direction:column;display:flex}:host .content-wrapper.single-line{align-items:stretch}:host .content-wrapper.disabled{opacity:var(--luzmo-ai-interaction-textarea-disabled-opacity,var(--ai-interaction-textarea-disabled-opacity));pointer-events:none;cursor:not-allowed}:host .content-wrapper.disabled *{pointer-events:none}:host luzmo-prompt-box{--luzmo-prompt-box-attachments-gap:var(--luzmo-spacing-3,8px);--luzmo-prompt-box-border-radius:var(--ai-interaction-textarea-prompt-box-border-radius);inline-size:100%}:host .attachment-error{color:var(--luzmo-negative-color,#ca221c);font-size:var(--luzmo-font-size-s,12px);margin-block-start:var(--luzmo-spacing-2,4px);line-height:1.4}:host{--ai-interaction-textarea-disabled-opacity:.6;--ai-interaction-textarea-prompt-box-border-radius:var(--luzmo-prompt-box-border-radius,var(--luzmo-border-radius-l,8px))}`,L=3e3,R=6e4,z=class extends s.LitElement{constructor(...e){super(...e),this.placeholder=`Type your prompt here...`,this.selectedDatasets=[],this.authKey=``,this.authToken=``,this.apiUrl=`https://api.luzmo.com`,this.appServer=`https://app.luzmo.com`,this.flagOpendata=!1,this.disabled=!1,this.singleLine=!1,this.hideDatasetButton=!1,this.hideDatasetIcons=!1,this.maxVisibleSelectedDatasets=5,this.disableDatasetModification=!1,this.hideSelectedDatasets=!1,this.disableColumnMentions=!1,this.isGenerating=!1,this.stoppable=!1,this.value=``,this.retainOnSubmit=!1,this.requireDataset=!1,this.allowImages=!1,this.allowVoiceInput=!1,this.acceptedFileTypes=[],this.apiVersion=`0.1.0`,this.fileIcons={},this._promptValue=``,this._isPromptValid=!1,this._fieldTriggerOptions=[],this._datasetsFieldConfig=[],this._attachmentError=null,this._isRecording=!1,this._isTranscribing=!1,this._activeFieldRequestId=0,this._attachmentUploads=new Map,this._pendingAttachmentSync=null,this._attachmentSyncScheduled=!1,this._attachmentErrorClearHandle=0,this._submitInProgress=!1,this._voiceSessionActive=!1,this._preRecordingValue=``,this._voicePrefix=``,this._voiceSuffix=``,this._streamedTranscript=``,this._transcriptionController=null,this._renderFieldTriggerIcon=e=>{let t=e.data?.datasetInfo;return e.header&&t?s.html`
|
|
21
|
-
<span>
|
|
22
|
-
${this.hideDatasetIcons?s.html`<luzmo-icon .icon=${o.luzmoPlugin} size="s"></luzmo-icon>`:s.html`
|
|
23
|
-
<luzmo-dataset-icon
|
|
24
|
-
.datasetInfo=${t}
|
|
25
|
-
size="16px"
|
|
26
|
-
app-url=${this.appServer}
|
|
27
|
-
></luzmo-dataset-icon>
|
|
28
|
-
`}
|
|
29
|
-
</span>
|
|
30
|
-
`:e.icon?s.html`
|
|
31
|
-
<span>
|
|
32
|
-
<luzmo-icon .icon=${e.icon} size="s"></luzmo-icon>
|
|
33
|
-
</span>
|
|
34
|
-
`:s.nothing},this._handleAttachClick=()=>{this.openFilePicker()},this._handleAttachmentsChange=e=>{this._pendingAttachmentSync=e.detail?.attachments??this.getAttachments(),!this._attachmentSyncScheduled&&(this._attachmentSyncScheduled=!0,queueMicrotask(()=>{if(this._attachmentSyncScheduled=!1,!this.isConnected){this._pendingAttachmentSync=null;return}let e=this._pendingAttachmentSync??this.getAttachments();this._pendingAttachmentSync=null,this._syncAttachments(e)}))},this._handleVoiceKeydown=e=>{e.key===`Escape`&&this._isTranscribing&&(e.preventDefault(),e.stopPropagation(),this._cancelVoiceSession())},this._handleRecord=e=>{if(e.stopPropagation(),e.detail?.isRecording){this._captureVoiceInsertPoint(),this._isRecording=!0,this._isTranscribing=!1;return}this._isRecording=!1},this._handleRecordCancel=e=>{e.stopPropagation(),this._cancelVoiceSession()},this._handleRecordError=e=>{e.stopPropagation(),this._abortTranscription(),this._resetVoiceSessionState();let t=e.detail?.error?.trim()||(0,l.msg)(`Voice recording failed`,{desc:`Error when microphone recording fails in the AI prompt`});this._showAttachmentError(t)},this._handleRecordingComplete=e=>{e.stopPropagation();let{audioBlob:t,mimeType:n}=e.detail??{};if(!t){this._resetVoiceSessionState();return}this._transcribeRecording(t,n||t.type||`audio/webm`)}}static{this.styles=(0,s.unsafeCSS)(I)}static{this.tagName=`luzmo-ai-interaction-textarea`}get _voiceBusy(){return this._isRecording||this._isTranscribing}get _buttonDisabled(){return this.disabled||this.isGenerating||this._voiceBusy||!this._isPromptValid?!0:this.requireDataset&&this.selectedDatasets.length===0}get _promptPending(){return this.isGenerating||this._isTranscribing}get _promptReadonly(){return this._voiceBusy}get _actionsDisabled(){return this.disabled||this.isGenerating||this._voiceBusy}get _fieldTriggers(){return this.disableColumnMentions?[]:[{key:`@`,options:this._fieldTriggerOptions,highlightSearch:!0,iconTemplate:this._renderFieldTriggerIcon}]}connectedCallback(){super.connectedCallback(),this._configureBroker(),this._refreshDatasetsFieldConfig(),this.addEventListener(`keydown`,this._handleVoiceKeydown)}disconnectedCallback(){window.clearTimeout(this._attachmentErrorClearHandle),this._abortAllAttachmentUploads(),this._abortTranscription(),this.removeEventListener(`keydown`,this._handleVoiceKeydown),super.disconnectedCallback()}_configureBroker(){n.t.configure({authKey:this.authKey,authToken:this.authToken,apiUrl:this.apiUrl})}_handlePromptInput(e){let t=e.target.value??``;this._promptValue=t,this._isPromptValid=t.trim().length>0}openFilePicker(){this._promptBox?.openFilePicker()}addFiles(e){return this._promptBox?.addFiles(e)??[]}removeAttachment(e){this._cleanupAttachmentUpload(e),this._promptBox?.removeAttachment(e)}setAttachmentLoading(e,t){this._promptBox?.setAttachmentLoading(e,t)}clearAttachments(){this._abortAllAttachmentUploads(),this._promptBox?.clearAttachments()}getAttachments(){return this._promptBox?.getAttachments()??[]}getAttachmentUrls(e=this.getAttachments()){return e.map(e=>this._attachmentUploads.get(e.id)?.url).filter(e=>typeof e==`string`&&e.length>0)}_showAttachmentError(e){this._attachmentError=e,window.clearTimeout(this._attachmentErrorClearHandle),this._attachmentErrorClearHandle=window.setTimeout(()=>{this._attachmentError=null},L)}_cleanupAttachmentUpload(e){this._attachmentUploads.get(e)?.controller?.abort(),this._attachmentUploads.delete(e)}_abortAllAttachmentUploads(){for(let e of this._attachmentUploads.values())e.controller?.abort();this._attachmentUploads.clear()}async _uploadSingleFile(e,t){let n=``;if(typeof this.uploadAttachments==`function`){let r=await this.uploadAttachments([e],{signal:t});n=Array.isArray(r)?r[0]?.trim()??``:``}else{if(!this.authKey||!this.authToken)throw Error(`Image upload requires authKey and authToken.`);let[r]=await C({files:[e],authKey:this.authKey,authToken:this.authToken,apiUrl:this.apiUrl,apiVersion:this.apiVersion,signal:t});n=r?.trim()??``}if(!n)throw Error(`Image upload for "${e.name}" did not return a url.`);return b([n]),n}_startAttachmentUpload(e){let{id:t,file:n}=e;if(!n){this.removeAttachment(t);return}if(!v(n)){this.removeAttachment(t),this._showAttachmentError((0,l.msg)(`Only PNG, JPEG, WebP, and GIF images can be attached.`,{desc:`Error when the user attaches an unsupported image type to the AI prompt`}));return}if(n.size===0){this.removeAttachment(t),this._showAttachmentError((0,l.msg)(`Failed to attach image`,{desc:`Error when an AI prompt image upload fails`}));return}if(n.size>15728640){this.removeAttachment(t),this._showAttachmentError((0,l.msg)(`Image is too large. Maximum size is 15 MB.`,{desc:`Error when an attached AI prompt image exceeds the 15 MB upload limit`}));return}this.setAttachmentLoading(t,!0);let r=new AbortController,i={controller:r};this._attachmentUploads.set(t,i);let a=window.setTimeout(()=>r.abort(),R),o=()=>{this.removeAttachment(t),this._showAttachmentError((0,l.msg)(`Failed to attach image`,{desc:`Error when an AI prompt image upload fails`}))};i.promise=(async()=>{try{let e=await this._uploadSingleFile(n,r.signal);window.clearTimeout(a);let i=this._attachmentUploads.get(t);if(!i||i.controller!==r)return;i.url=e,i.controller=void 0,i.promise=void 0,this.setAttachmentLoading(t,!1)}catch(e){if(window.clearTimeout(a),r.signal.aborted||e?.name===`AbortError`){this._attachmentUploads.get(t)?.controller===r&&o();return}o()}})()}_syncAttachments(e){let t=new Set(e.map(e=>e.id));for(let e of Array.from(this._attachmentUploads.keys()))t.has(e)||this._cleanupAttachmentUpload(e);let n=!1;for(let t of e)if(!this._attachmentUploads.has(t.id)){if(this._attachmentUploads.size>=20){n=!0,this._promptBox?.removeAttachment(t.id);continue}this._startAttachmentUpload(t)}n&&this._showAttachmentError((0,l.msg)(l.str`You can attach up to ${20} images.`,{desc:`Error when the user tries to attach more images than the AI prompt allows`}))}async _waitForAttachmentUploads(e){let t=e.map(e=>this._attachmentUploads.get(e.id)?.promise).filter(e=>!!e);t.length!==0&&await Promise.all(t)}async _submitPrompt(e=this._promptValue,t=[]){if(this._promptValue=e,this._isPromptValid=e.trim().length>0,!(this._buttonDisabled||this._submitInProgress)){this._submitInProgress=!0;try{let n=e.trim(),r=t.length>0?[...t]:this.getAttachments(),i=r.filter(e=>!!e.file&&v(e.file));await this._waitForAttachmentUploads(i);let a=[];for(let e of i){let t=this._attachmentUploads.get(e.id)?.url;if(!t){this._showAttachmentError((0,l.msg)(`Failed to attach image`,{desc:`Error when an AI prompt image upload fails`}));return}a.push(t)}this.retainOnSubmit||(this._promptValue=``,this._isPromptValid=!1,this._abortAllAttachmentUploads(),this._promptBox?.clear()),this.dispatchEvent(new CustomEvent(`prompt-submitted`,{detail:{prompt:n,selectedDatasets:this.selectedDatasets,attachments:r,attachmentUrls:a},bubbles:!0,composed:!0}))}finally{this._submitInProgress=!1}}}_handleDatasetSelected(e){let t=e.detail;this.selectedDatasets.some(e=>e.id===t.id)||(this.selectedDatasets=[...this.selectedDatasets,t])}_handleDatasetRemoved(e){let t=e.detail;this.selectedDatasets=this.selectedDatasets.filter(e=>e.id!==t.id)}_getLocalizedFieldLabel(e){if(e)return typeof e==`string`?e:i.t(e,t.t())}_mapColumnToTriggerOption(e,t){return t.id?{label:this._getLocalizedFieldLabel(t.name)||t.id,value:`${e}:column:${t.id}`,icon:r.t(t,`s`),elementType:`data-field`,data:{datasetId:e,columnId:t.id,type:t.type,subtype:t.subtype}}:null}_mapFormulaToTriggerOption(e,t){return t.id?{label:this._getLocalizedFieldLabel(t.name)||t.id,value:`${e}:formula:${t.id}`,icon:r.r.formula[r.i(`s`)],elementType:`data-field`,data:{datasetId:e,formulaId:t.id,type:t.type,subtype:t.subtype}}:null}_updateFieldTriggerOptionsFromConfig(){let e=new Map(this._datasetsFieldConfig.map(e=>[e.id,e])),t=[];for(let n of this.selectedDatasets){let r=e.get(n.id),i=[],o=r?.columns?.filter(e=>!e.hidden)??[];for(let e of o){let t=this._mapColumnToTriggerOption(n.id,e);t&&i.push(t)}let s=r?.formulas?.filter(e=>!e.hidden)??[];for(let e of s){let t=this._mapFormulaToTriggerOption(n.id,e);t&&i.push(t)}i.length!==0&&(t.push({label:a.t(n),value:`dataset-header:${n.id}`,header:!0,data:{datasetInfo:n}}),t.push(...i))}this._fieldTriggerOptions=t}async _refreshDatasetsFieldConfig(){if(this.disableColumnMentions){this._datasetsFieldConfig=[],this._fieldTriggerOptions=[];return}let e=[...new Set(this.selectedDatasets.map(e=>e.id).filter(Boolean))];if(e.length===0){this._datasetsFieldConfig=[],this._fieldTriggerOptions=[];return}let t=++this._activeFieldRequestId;this._updateFieldTriggerOptionsFromConfig();try{let r=await n.t.fetchDatasetsWithColumnsAndFormulas(e);if(t!==this._activeFieldRequestId)return;this._datasetsFieldConfig=r,this._updateFieldTriggerOptionsFromConfig()}catch(e){console.error(`Error loading dataset fields for prompt triggers:`,e),t===this._activeFieldRequestId&&(this._datasetsFieldConfig=[],this._updateFieldTriggerOptionsFromConfig())}}_handlePromptSubmit(e){this._submitPrompt(e.detail?.value??this._promptValue,e.detail?.attachments??[])}_handlePromptStop(e){if(e.stopPropagation(),this._isTranscribing){this._cancelVoiceSession();return}this.dispatchEvent(new CustomEvent(`prompt-stopped`,{bubbles:!0,composed:!0}))}_getCaretTextOffset(){let e=this._promptBox?.shadowRoot;if(!e)return this._promptValue.length;let t=e.querySelector(`.rich-input`)??e.querySelector(`luzmo-text-field`);if(!t)return this._promptValue.length;let n=e.getSelection?.()??document.getSelection();if(!n||n.rangeCount===0)return this._promptValue.length;let r=n.getRangeAt(0);if(!t.contains(r.startContainer))return this._promptValue.length;let i=r.cloneRange();return i.selectNodeContents(t),i.setEnd(r.startContainer,r.startOffset),i.toString().length}_setPromptText(e){this._promptValue=e,this._isPromptValid=e.trim().length>0,this._syncControlledValueToPromptBox()}_captureVoiceInsertPoint(){let e=Math.min(Math.max(this._getCaretTextOffset(),0),this._promptValue.length);this._preRecordingValue=this._promptValue,this._voicePrefix=this._promptValue.slice(0,e),this._voiceSuffix=this._promptValue.slice(e),this._streamedTranscript=``,this._voiceSessionActive=!0}_applyStreamedTranscript(){this._setPromptText(`${this._voicePrefix}${this._streamedTranscript}${this._voiceSuffix}`)}_resetVoiceSessionState(){this._isRecording=!1,this._isTranscribing=!1,this._streamedTranscript=``,this._voicePrefix=``,this._voiceSuffix=``,this._preRecordingValue=``,this._voiceSessionActive=!1}_abortTranscription(){this._transcriptionController?.abort(),this._transcriptionController=null}_cancelVoiceSession(){if(!this._voiceSessionActive){this._abortTranscription(),this._resetVoiceSessionState();return}let e=this._preRecordingValue;this._abortTranscription(),this._resetVoiceSessionState(),this._setPromptText(e)}async _transcribeRecording(e,t){this._abortTranscription();let n=new AbortController;this._transcriptionController=n,this._isRecording=!1,this._isTranscribing=!0,this._streamedTranscript=``;try{if(await k({audioBlob:e,mimeType:t,authKey:this.authKey,authToken:this.authToken,apiUrl:this.apiUrl,apiVersion:this.apiVersion,signal:n.signal,onDelta:e=>{n.signal.aborted||(this._streamedTranscript+=e,this._applyStreamedTranscript())}}),n.signal.aborted)return;this._resetVoiceSessionState()}catch(e){if(n.signal.aborted)return;console.error(`Voice transcription failed:`,e),this._setPromptText(this._preRecordingValue),this._resetVoiceSessionState(),this._showAttachmentError((0,l.msg)(`Failed to transcribe audio`,{desc:`Error when AI prompt voice transcription fails`}))}finally{this._transcriptionController===n&&(this._transcriptionController=null)}}_syncControlledValueToPromptBox(){let e=this._promptBox;if(!e?.allowElements){e&&(e.value=this._promptValue);return}e.segments=this._promptValue?[{type:`text`,value:this._promptValue}]:[]}willUpdate(e){e.has(`value`)&&(this._promptValue=this.value,this._isPromptValid=this.value.trim().length>0);let t=e.has(`authKey`)||e.has(`authToken`)||e.has(`apiUrl`);t&&this._configureBroker(),(t||e.has(`selectedDatasets`)||e.has(`disableColumnMentions`))&&this._refreshDatasetsFieldConfig()}updated(e){super.updated(e),e.has(`value`)&&this._syncControlledValueToPromptBox()}render(){return s.html`
|
|
35
|
-
<div class=${(0,u.classMap)({"content-wrapper":!0,disabled:this.disabled,"single-line":this.singleLine})} aria-busy=${this.isGenerating||this._voiceBusy?`true`:`false`}>
|
|
36
|
-
<luzmo-prompt-box
|
|
37
|
-
?single-line=${this.singleLine}
|
|
38
|
-
?pending=${this._promptPending}
|
|
39
|
-
?stoppable=${this.stoppable&&this.isGenerating||this._isTranscribing}
|
|
40
|
-
?disabled=${this.disabled}
|
|
41
|
-
?readonly=${this._promptReadonly}
|
|
42
|
-
?disable-submit=${this._buttonDisabled}
|
|
43
|
-
?allow-images=${this.allowImages}
|
|
44
|
-
?recording=${this.allowVoiceInput}
|
|
45
|
-
.acceptedFileTypes=${this.acceptedFileTypes}
|
|
46
|
-
.fileIcons=${this.fileIcons}
|
|
47
|
-
grows
|
|
48
|
-
allow-elements
|
|
49
|
-
.placeholder=${this.placeholder}
|
|
50
|
-
.value=${this._promptValue}
|
|
51
|
-
.triggers=${this._fieldTriggers}
|
|
52
|
-
@input=${this._handlePromptInput}
|
|
53
|
-
@luzmo-submit=${this._handlePromptSubmit}
|
|
54
|
-
@luzmo-stop=${this._handlePromptStop}
|
|
55
|
-
@luzmo-attachments-change=${this._handleAttachmentsChange}
|
|
56
|
-
@luzmo-record=${this._handleRecord}
|
|
57
|
-
@luzmo-recording-complete=${this._handleRecordingComplete}
|
|
58
|
-
@luzmo-record-cancel=${this._handleRecordCancel}
|
|
59
|
-
@luzmo-record-error=${this._handleRecordError}
|
|
60
|
-
>
|
|
61
|
-
${this.hideSelectedDatasets||this.hideDatasetButton?``:s.html`
|
|
62
|
-
<luzmo-dataset-selector-row
|
|
63
|
-
slot="top-actions"
|
|
64
|
-
.selectedDatasets=${this.selectedDatasets}
|
|
65
|
-
.maxVisibleSelectedDatasets=${this.maxVisibleSelectedDatasets}
|
|
66
|
-
auth-key=${this.authKey}
|
|
67
|
-
auth-token=${this.authToken}
|
|
68
|
-
api-url=${this.apiUrl}
|
|
69
|
-
app-server=${this.appServer}
|
|
70
|
-
?flag-opendata=${this.flagOpendata}
|
|
71
|
-
?hide-dataset-icons=${this.hideDatasetIcons}
|
|
72
|
-
?disabled=${this._actionsDisabled}
|
|
73
|
-
?disable-dataset-modification=${this.disableDatasetModification}
|
|
74
|
-
@dataset-selected=${this._handleDatasetSelected}
|
|
75
|
-
@dataset-removed=${this._handleDatasetRemoved}
|
|
76
|
-
></luzmo-dataset-selector-row>
|
|
77
|
-
`}
|
|
78
|
-
${this.allowImages?s.html`
|
|
79
|
-
<luzmo-action-button
|
|
80
|
-
slot="bottom-actions"
|
|
81
|
-
size="m"
|
|
82
|
-
quiet
|
|
83
|
-
?disabled=${this._actionsDisabled}
|
|
84
|
-
label=${(0,l.msg)(`Add attachments`,{desc:`Accessible label for the AI prompt attachment button`})}
|
|
85
|
-
@click=${this._handleAttachClick}
|
|
86
|
-
>
|
|
87
|
-
<luzmo-icon slot="icon" size="m" .icon=${o.luzmoPaperclip}></luzmo-icon>
|
|
88
|
-
</luzmo-action-button>
|
|
89
|
-
`:s.nothing}
|
|
90
|
-
</luzmo-prompt-box>
|
|
91
|
-
${this._attachmentError?s.html`
|
|
92
|
-
<div class="attachment-error" role="alert">${this._attachmentError}</div>
|
|
93
|
-
`:s.nothing}
|
|
94
|
-
</div>
|
|
95
|
-
`}};e.t([(0,c.property)({type:String})],z.prototype,`placeholder`,void 0),e.t([(0,c.property)({type:Array})],z.prototype,`selectedDatasets`,void 0),e.t([(0,c.property)({type:String,attribute:`auth-key`})],z.prototype,`authKey`,void 0),e.t([(0,c.property)({type:String,attribute:`auth-token`})],z.prototype,`authToken`,void 0),e.t([(0,c.property)({type:String,attribute:`api-url`})],z.prototype,`apiUrl`,void 0),e.t([(0,c.property)({type:String,attribute:`app-server`})],z.prototype,`appServer`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`flag-opendata`})],z.prototype,`flagOpendata`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0,attribute:`disabled`})],z.prototype,`disabled`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`single-line`})],z.prototype,`singleLine`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`hide-dataset-button`})],z.prototype,`hideDatasetButton`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`hide-dataset-icons`})],z.prototype,`hideDatasetIcons`,void 0),e.t([(0,c.property)({type:Number,reflect:!0,useDefault:!0,attribute:`max-visible-selected-datasets`})],z.prototype,`maxVisibleSelectedDatasets`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`disable-dataset-modification`})],z.prototype,`disableDatasetModification`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`hide-selected-datasets`})],z.prototype,`hideSelectedDatasets`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`disable-column-mentions`})],z.prototype,`disableColumnMentions`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`is-generating`})],z.prototype,`isGenerating`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0})],z.prototype,`stoppable`,void 0),e.t([(0,c.property)({type:String})],z.prototype,`value`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`retain-on-submit`})],z.prototype,`retainOnSubmit`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`require-dataset`})],z.prototype,`requireDataset`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0,attribute:`allow-images`})],z.prototype,`allowImages`,void 0),e.t([(0,c.property)({type:Boolean,reflect:!0,attribute:`allow-voice-input`})],z.prototype,`allowVoiceInput`,void 0),e.t([(0,c.property)({type:Array,attribute:`accepted-file-types`})],z.prototype,`acceptedFileTypes`,void 0),e.t([(0,c.property)({type:String,attribute:`api-version`})],z.prototype,`apiVersion`,void 0),e.t([(0,c.property)({attribute:!1})],z.prototype,`uploadAttachments`,void 0),e.t([(0,c.property)({attribute:!1})],z.prototype,`fileIcons`,void 0),e.t([(0,c.state)()],z.prototype,`_promptValue`,void 0),e.t([(0,c.state)()],z.prototype,`_isPromptValid`,void 0),e.t([(0,c.state)()],z.prototype,`_fieldTriggerOptions`,void 0),e.t([(0,c.state)()],z.prototype,`_datasetsFieldConfig`,void 0),e.t([(0,c.state)()],z.prototype,`_attachmentError`,void 0),e.t([(0,c.state)()],z.prototype,`_isRecording`,void 0),e.t([(0,c.state)()],z.prototype,`_isTranscribing`,void 0),e.t([(0,c.query)(`luzmo-prompt-box`)],z.prototype,`_promptBox`,void 0),z=e.t([(0,l.localized)()],z),customElements.get(`luzmo-ai-interaction-textarea`)||customElements.define(`luzmo-ai-interaction-textarea`,z),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return D}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return z}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return x}});
|
|
@@ -1,20 +0,0 @@
|
|
|
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");var n=e.n({default:()=>i}),r=({slots:e})=>Array.isArray(e)&&e?.length>0?(e?.find(e=>e?.name===`legend`)?.content?.length??0)>0||(e?.find(e=>e?.name===`measure`)?.content?.length??0)>1:!1,i=[{key:`general`,type:`group`,open:!0,children:[{key:`display.title`,control:{label:`Title`,type:`switch`,default:!0}},{type:`divider`},{key:`mode`,control:{label:`Mode`,type:`picker`,default:`stacked`,enum:[`100`,`unstacked`,`stacked`,`stream`]},visibleIf:r},{key:`interpolation`,control:{label:`Interpolation`,type:`picker`,default:`linear`,enum:[`linear`,`step-before`,`step-after`,`monotone`]}},{key:`display.legend`,control:{label:`Legend`,type:`switch`,default:!0},visibleIf:r},{key:`display.modeOption`,control:{label:`Mode option`,type:`switch`,default:!0},visibleIf:r},{key:`missingValue.type`,control:{label:`Fill missing values`,type:`picker`,default:`no`,enum:[`no`,`break`,`manual`]},visibleIf:({slots:e})=>Array.isArray(e)&&e?.find(e=>e?.name===`x-axis`)?.content?.[0]?.type===`datetime`},{key:`missingValue.value`,control:{label:`Value`,type:`number-field`,default:0,min:1},visibleIf:({options:e,slots:t})=>Array.isArray(t)&&t?.find(e=>e?.name===`x-axis`)?.content?.[0]?.type===`datetime`&&e?.missingValue?.type===`manual`},{key:`color`,control:{label:`Area color`,type:`color-picker`,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`)},visibleIf:({slots:e})=>Array.isArray(e)&&e?.length>0?!((e?.find(e=>e?.name===`legend`)?.content?.length??0)>0)&&(e?.find(e=>e?.name===`measure`)?.content?.length??0)<=1:!0}]},{key:`axes`,type:`group`,open:!1,children:[{key:`xAxisLabels`,type:`group`,label:`X-axis label`,collapsible:!0,open:!0,children:[{key:`axislabels.x.enabled`,control:{type:`switch`,label:`Enabled`,default:!1}},{key:`axislabels.x.position`,control:{type:`picker`,label:`Position`,default:`center`,enum:[`left`,`center`,`right`]},visibleIf:({options:e})=>e?.axislabels?.x?.enabled===!0}]},{key:`yAxisLabels`,type:`group`,label:`Y-axis label`,collapsible:!0,open:!0,children:[{key:`axislabels.y.enabled`,control:{type:`switch`,label:`Enabled`,default:!1}},{key:`axislabels.y.position`,control:{type:`picker`,label:`Position`,default:`middle`,enum:[`top`,`middle`,`bottom`]},visibleIf:({options:e})=>e?.axislabels?.y?.enabled===!0}]}]},{key:`legend`,type:`group`,open:!1,children:[{key:`legend.position`,control:{label:`Position`,type:`position-picker`,default:`topRight`,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:r}];Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
|
|
@@ -1,20 +0,0 @@
|
|
|
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={name:`Flächendiagramm`,groups:{general:{label:`Allgemein`},legend:{label:`Legende`},axes:{label:`Achsen`},xAxisLabels:{label:`X-Achsen-Beschriftung`},yAxisLabels:{label:`Y-Achsen-Beschriftung`}},options:{"display.title":{label:`Titel`},mode:{label:`Modus`,description:`Der Modus des Diagramms`,enum:{unstacked:`Nicht gestapelt`,stacked:`Gestapelt`,100:`100% gestapelt`,stream:`Strom`}},interpolation:{label:`Linieninterpolation`,enum:{linear:`Linear`,"step-before":`Stufe davor`,"step-after":`Stufe danach`,monotone:`Monoton`}},"display.legend":{label:`Legende`},"display.modeOption":{label:`Modus-Option`},"missingValue.type":{label:`Fehlende Werte füllen`,enum:{no:`Nein`,break:`Bereich unterbrechen`,manual:`Manueller Wert`}},"missingValue.value":{label:`Wert`},color:{label:`Flächenfarbe`},"legend.position":{label:`Position`},"axislabels.x.enabled":{label:`Aktiviert`},"axislabels.x.position":{label:`Position`,enum:{left:`Links`,center:`Mitte`,right:`Rechts`}},"axislabels.y.enabled":{label:`Aktiviert`},"axislabels.y.position":{label:`Position`,enum:{top:`Oben`,middle:`Mitte`,bottom:`Unten`}}}};exports.default=e;
|
|
@@ -1,20 +0,0 @@
|
|
|
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={name:`Gráfico de área`,groups:{general:{label:`General`},legend:{label:`Leyenda`},axes:{label:`Ejes`},xAxisLabels:{label:`Etiqueta eje X`},yAxisLabels:{label:`Etiqueta eje Y`}},options:{"display.title":{label:`Título`},mode:{label:`Modo`,description:`El modo del gráfico`,enum:{unstacked:`No apilado`,stacked:`Apilado`,100:`Apilado 100%`,stream:`Flujo`}},interpolation:{label:`Interpolación de línea`,enum:{linear:`Lineal`,"step-before":`Escalón anterior`,"step-after":`Escalón posterior`,monotone:`Monótono`}},"display.legend":{label:`Leyenda`},"display.modeOption":{label:`Opción de modo`},"missingValue.type":{label:`Rellenar valores faltantes`,enum:{no:`No`,break:`Romper área`,manual:`Valor manual`}},"missingValue.value":{label:`Valor`},color:{label:`Color del área`},"legend.position":{label:`Posición`},"axislabels.x.enabled":{label:`Habilitado`},"axislabels.x.position":{label:`Posición`,enum:{left:`Izquierda`,center:`Centro`,right:`Derecha`}},"axislabels.y.enabled":{label:`Habilitado`},"axislabels.y.position":{label:`Posición`,enum:{top:`Superior`,middle:`Medio`,bottom:`Inferior`}}}};exports.default=e;
|
|
@@ -1,20 +0,0 @@
|
|
|
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={name:`Graphique en aires`,groups:{general:{label:`Général`},legend:{label:`Légende`},axes:{label:`Axes`},xAxisLabels:{label:`Étiquette axe X`},yAxisLabels:{label:`Étiquette axe Y`}},options:{"display.title":{label:`Titre`},mode:{label:`Mode`,description:`Le mode du graphique`,enum:{unstacked:`Non empilé`,stacked:`Empilé`,100:`Empilé 100%`,stream:`Flux`}},interpolation:{label:`Interpolation de ligne`,enum:{linear:`Linéaire`,"step-before":`Palier avant`,"step-after":`Palier après`,monotone:`Monotone`}},"display.legend":{label:`Légende`},"display.modeOption":{label:`Option de mode`},"missingValue.type":{label:`Remplir les valeurs manquantes`,enum:{no:`Non`,break:`Interrompre la zone`,manual:`Valeur manuelle`}},"missingValue.value":{label:`Valeur`},color:{label:`Couleur de la zone`},"legend.position":{label:`Position`},"axislabels.x.enabled":{label:`Activé`},"axislabels.x.position":{label:`Position`,enum:{left:`Gauche`,center:`Centre`,right:`Droite`}},"axislabels.y.enabled":{label:`Activé`},"axislabels.y.position":{label:`Position`,enum:{top:`Haut`,middle:`Milieu`,bottom:`Bas`}}}};exports.default=e;
|
|
@@ -1,20 +0,0 @@
|
|
|
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={name:`Staafdiagram`,groups:{general:{label:`Algemeen`},legend:{label:`Legende`},axes:{label:`Assen`},xAxisLabels:{label:`X-as label`},yAxisLabels:{label:`Y-as label`}},options:{"display.title":{label:`Titel`},mode:{label:`Modus`,description:`De modus van de grafiek`,enum:{unstacked:`Niet gestapeld`,stacked:`Gestapeld`,100:`100% Gestapeld`,stream:`Stroom`}},interpolation:{label:`Lijn interpolatie`,enum:{linear:`Lineair`,"step-before":`Stap Voor`,"step-after":`Stap Na`,monotone:`Monotoon`}},"display.legend":{label:`Legende`},"display.modeOption":{label:`Modus Optie`},"missingValue.type":{label:`Ontbrekende waarden invullen`,enum:{no:`Nee`,break:`Onderbreek gebied`,manual:`Handmatige waarde`}},"missingValue.value":{label:`Waarde`},color:{label:`Gebiedskleur`},"legend.position":{label:`Positie`},"axislabels.x.enabled":{label:`Ingeschakeld`},"axislabels.x.position":{label:`Positie`,enum:{left:`Links`,center:`Midden`,right:`Rechts`}},"axislabels.y.enabled":{label:`Ingeschakeld`},"axislabels.y.position":{label:`Positie`,enum:{top:`Boven`,middle:`Midden`,bottom:`Onder`}}}};exports.default=e;
|
|
@@ -1,20 +0,0 @@
|
|
|
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");var n=e.n({default:()=>a}),r=({slots:e})=>Array.isArray(e)&&e?.length>0?(e?.find(e=>e?.name===`legend`)?.content?.length??0)>0||(e?.find(e=>e?.name===`measure`)?.content?.length??0)>1:!1,i=({slots:e})=>Array.isArray(e)&&e?.length>0?(e?.find(e=>e?.name===`legend`)?.content?.length??0)===0&&(e?.find(e=>e?.name===`measure`)?.content?.length??0)<=1:!0,a=[{key:`general`,type:`group`,open:!0,children:[{key:`mode`,control:{type:`picker`,default:`grouped`,enum:[`grouped`,`stacked`,`100`]},visibleIf:r},{type:`divider`,visibleIf:r},{key:`display.title`,control:{type:`switch`,default:!0}},{key:`display.legend`,control:{type:`switch`,default:!0},visibleIf:r},{key:`display.modeOption`,control:{type:`switch`,default:!1},visibleIf:r},{key:`bars.label`,control:{type:`picker`,default:`none`,enum:[`none`,`absolute`,`percentage`,`percentageLegend`,`percentageCategory`,`percentageMax`]}},{key:`categories.colored`,control:{type:`switch`,default:!1},visibleIf:i},{key:`bars.roundedCorners`,control:{type:`slider`,default:({theme:e})=>e?.itemSpecific?.rounding,min:0,max:20,step:1,extraLabel:({options:e,theme:t})=>typeof t?.itemSpecific?.rounding==`number`?typeof e?.bars?.roundedCorners==`number`?`reset`:`auto`:null,extraLabelHasClickAction:({options:e,theme:t})=>typeof t?.itemSpecific?.rounding==`number`&&typeof e?.bars?.roundedCorners==`number`,extraLabelClickAction:({options:e})=>{let t={...e};return delete t?.bars?.roundedCorners,{value:null,options:t}}}},{key:`color`,control:{type:`color-picker`,label:`Bar 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`)},visibleIf:i}]},{key:`order`,type:`group`,label:`Order & Limit`,open:!0,children:[{key:`ranking.active`,control:{type:`switch`,label:`Limit to`,default:!1}},{key:`ranking.direction`,control:{type:`picker`,label:`Direction`,default:`top`,enum:[`top`,`bottom`]},visibleIf:({options:e})=>e?.ranking?.active===!0},{key:`ranking.number`,control:{type:`number-field`,label:`Number`,default:10,min:1,max:999999},visibleIf:({options:e})=>e?.ranking?.active===!0},{key:`sort.by`,control:{type:`picker`,label:`Order by`,default:`measure`,enum:[`measure`,`category`,`column`]}},{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:`axes`,type:`group`,open:!1,children:[{key:`xAxisLabels`,type:`group`,label:`X-axis label`,collapsible:!0,open:!0,children:[{key:`axislabels.x.enabled`,control:{type:`switch`,label:`Enabled`,default:!1}},{key:`axislabels.x.position`,control:{type:`picker`,label:`Position`,default:`center`,enum:[`left`,`center`,`right`]},visibleIf:({options:e})=>e?.axislabels?.x?.enabled===!0}]},{key:`yAxisLabels`,type:`group`,label:`Y-axis label`,collapsible:!0,open:!0,children:[{key:`axislabels.y.enabled`,control:{type:`switch`,label:`Enabled`,default:!1}},{key:`axislabels.y.position`,control:{type:`picker`,label:`Position`,default:`middle`,enum:[`top`,`middle`,`bottom`]},visibleIf:({options:e})=>e?.axislabels?.y?.enabled===!0}]}]},{key:`legend`,type:`group`,open:!1,children:[{key:`legend.position`,control:{label:`Position`,type:`position-picker`,default:`topRight`,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:r}];Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
|
|
@@ -1,20 +0,0 @@
|
|
|
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={name:`Balkendiagramm`,groups:{general:{label:`Allgemein`},order:{label:`Sortierung & Limit`},axes:{label:`Achsen`},guidelines:{label:`Hilfslinien`},annotate:{label:`Anmerkungen`},xAxisLabels:{label:`X-Achsen-Beschriftung`},yAxisLabels:{label:`Y-Achsen-Beschriftung`}},options:{mode:{label:`Modus`,description:`Der Modus des Diagramms`,enum:{grouped:`Gruppiert`,stacked:`Gestapelt`,100:`100% gestapelt`}},"display.title":{label:`Titel`},"display.legend":{label:`Legende`},"display.modeOption":{label:`Modus-Option`},"bars.label":{label:`Wert im Balken anzeigen`,tooltip:`Falls genügend Platz vorhanden`,enum:{none:`Keine`,absolute:`Absolut`,percentage:`Prozent`,percentageLegend:`Prozent Legende`,percentageCategory:`Prozent Kategorie`,percentageMax:`Prozent Maximum`}},"categories.colored":{label:`Balkenfarbe nach Kategorie`},"bars.roundedCorners":{label:`Abgerundete Ecken`,extraLabel:`auto`},color:{label:`Balkenfarbe`},"ranking.active":{label:`Begrenzen auf`},"ranking.direction":{label:`Richtung`,enum:{top:`Oben`,bottom:`Unten`}},"ranking.number":{label:`Anzahl`},"sort.by":{label:`Sortieren nach`,enum:{measure:`Kennzahl`,category:`Kategorie`,column:`Spalte`}},"sort.direction":{label:`Richtung`,enum:{asc:`Aufsteigend`,desc:`Absteigend`}},"limit.number":{label:`Limit`},"legend.position":{label:`Position`},"axislabels.x.enabled":{label:`Aktiviert`},"axislabels.x.position":{label:`Position`,enum:{left:`Links`,center:`Mitte`,right:`Rechts`}},"axislabels.y.enabled":{label:`Aktiviert`},"axislabels.y.position":{label:`Position`,enum:{top:`Oben`,middle:`Mitte`,bottom:`Unten`}}}};exports.default=e;
|