@luzmo/analytics-components-kit 1.0.4 → 1.0.5-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ad-hoc-slot-content-BxpvfmjT.js +29 -0
- package/components/ad-hoc-slot-content-DJUmB7pS.cjs +20 -0
- package/components/ai-chat/ai-chat-events.d.ts +123 -0
- package/components/ai-chat/ai-chat-request.d.ts +11 -0
- package/components/ai-chat/ai-chat.d.ts +302 -0
- package/components/ai-chat/ai-prompt-types.d.ts +94 -0
- package/components/ai-chat/empty-state/ai-chat-empty-state.d.ts +46 -0
- package/components/ai-chat/empty-state/index.d.ts +8 -0
- package/components/ai-chat/empty-state/types.d.ts +14 -0
- package/components/ai-chat/index.cjs +20 -0
- package/components/ai-chat/index.d.ts +20 -0
- package/components/ai-chat/index.js +28 -0
- package/components/ai-chat/session/ai-chat-session-controller.d.ts +51 -0
- package/components/ai-chat/session/ai-chat-session-types.d.ts +88 -0
- package/components/ai-chat/session/ai-chat-session.d.ts +91 -0
- package/components/ai-chat/session/index.d.ts +2 -0
- package/components/ai-chat/stream/chunk-extractors.d.ts +27 -0
- package/components/ai-chat/stream/index.d.ts +52 -0
- package/components/ai-chat/stream/progress.d.ts +3 -0
- package/components/ai-chat/stream/registry.d.ts +6 -0
- package/components/ai-chat/stream/stream-processor.d.ts +2 -0
- package/components/ai-chat/stream/transport.d.ts +26 -0
- package/components/ai-chat/stream/types.d.ts +55 -0
- package/components/ai-chat-BBc330Jm.js +3832 -0
- package/components/ai-chat-DLDSaC7W.cjs +300 -0
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +135 -0
- package/components/ai-interaction-textarea/index.cjs +20 -0
- package/components/ai-interaction-textarea/index.d.ts +8 -0
- package/components/ai-interaction-textarea/index.js +28 -0
- package/components/ai-interaction-textarea/types.d.ts +5 -0
- package/components/ai-interaction-textarea-BCH5_GBO.cjs +68 -0
- package/components/ai-interaction-textarea-DzHetSBZ.js +299 -0
- package/components/{area-chart-positioning.config-CQW5h7Eg.js → area-chart-positioning.config-CjeYLy6C.js} +1 -1
- package/components/{area-chart-positioning.config-CE8lOCfT.cjs → area-chart-positioning.config-DVrykBho.cjs} +1 -1
- package/components/{bar-chart-positioning.config-DFI1wzOQ.cjs → bar-chart-positioning.config-DpF15KcV.cjs} +1 -1
- package/components/{bar-chart-positioning.config-DaH_x_VU.js → bar-chart-positioning.config-e-SAdpBe.js} +1 -1
- package/components/base-DSXeP3BL.cjs +20 -0
- package/components/{base-p2I4mVSW.js → base-a89RuUMb.js} +2 -1
- package/components/{box-plot-positioning.config-K2tQGMig.js → box-plot-positioning.config-Bq2INEtG.js} +1 -1
- package/components/{box-plot-positioning.config-FOyav5Zq.cjs → box-plot-positioning.config-DbwtHJ4q.cjs} +1 -1
- package/components/{bubble-chart-positioning.config-B6DXfqa4.cjs → bubble-chart-positioning.config--EBfDgdN.cjs} +1 -1
- package/components/{bubble-chart-positioning.config-D2fwO2JM.js → bubble-chart-positioning.config-DFnW4mJ9.js} +1 -1
- package/components/{bullet-chart-positioning.config-DZqzqZSQ.cjs → bullet-chart-positioning.config-CZ46z07k.cjs} +1 -1
- package/components/{bullet-chart-positioning.config-DOAG2wFN.js → bullet-chart-positioning.config-DS2OmjBY.js} +1 -1
- package/components/{choropleth-map-positioning.config-C3jO3j8R.cjs → choropleth-map-positioning.config-Clm5IUT6.cjs} +1 -1
- package/components/{choropleth-map-positioning.config-Jw6fAFM1.js → choropleth-map-positioning.config-DgANsGq1.js} +1 -1
- package/components/{circle-pack-chart-positioning.config-Ckb-1sUG.js → circle-pack-chart-positioning.config-2H1CrfH_.js} +1 -1
- package/components/{circle-pack-chart-positioning.config-DJT6ivEy.cjs → circle-pack-chart-positioning.config-qF0qGcEO.cjs} +1 -1
- package/components/{circular-gauge-positioning.config-B8gL5Br9.cjs → circular-gauge-positioning.config-CMttD_BW.cjs} +1 -1
- package/components/{circular-gauge-positioning.config-BGlDGhYZ.js → circular-gauge-positioning.config-CusKP9Tq.js} +1 -1
- package/components/{column-chart-positioning.config-LzBETWIy.cjs → column-chart-positioning.config-ColoutIT.cjs} +1 -1
- package/components/{column-chart-positioning.config-BJGWvFLD.js → column-chart-positioning.config-rRwPVTbj.js} +1 -1
- package/components/{combination-chart-positioning.config-DjmWx90S.cjs → combination-chart-positioning.config-DAVrKW-6.cjs} +1 -1
- package/components/{combination-chart-positioning.config-DtneKdwK.js → combination-chart-positioning.config-uLf1RJQr.js} +1 -1
- package/components/{conditional-number-positioning.config-Ccb2yjJU.js → conditional-number-positioning.config-DZjwZfsH.js} +1 -1
- package/components/{conditional-number-positioning.config-C8bRdffQ.cjs → conditional-number-positioning.config-Nwsh-WyG.cjs} +1 -1
- package/components/convert-data-field-to-slot-content-BQkSy_8B.cjs +20 -0
- package/components/convert-data-field-to-slot-content-C6IIqU7G.js +53 -0
- package/components/convert-datasets-to-data-fields-B13rl1an.cjs +20 -0
- package/components/convert-datasets-to-data-fields-PmQzeVLG.js +68 -0
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.d.ts +1 -0
- package/components/data-field/index.js +1 -1
- package/components/data-field-CFX9bhKN.js +121 -0
- package/components/data-field-bRmOqmAe.cjs +54 -0
- package/components/data-field-level/data-field-level.d.ts +40 -0
- package/components/data-field-level/helpers/generate-preview.d.ts +9 -0
- package/components/data-field-level/index.cjs +20 -0
- package/components/data-field-level/index.d.ts +8 -0
- package/components/data-field-level/index.js +28 -0
- package/components/{data-field-ll2oFVG2.js → data-field-level-Cc6yEETi.js} +46 -140
- package/components/data-field-level-Dnl27sxs.cjs +55 -0
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.d.ts +1 -0
- package/components/data-field-panel/index.js +1 -1
- package/components/data-field-panel-BDExLalA.cjs +87 -0
- package/components/{data-field-panel-ntgCpQ_2.js → data-field-panel-DcqVOzMO.js} +5 -4
- package/components/data-fields-select/data-fields-select.d.ts +127 -0
- package/components/data-fields-select/index.cjs +20 -0
- package/components/data-fields-select/index.d.ts +9 -0
- package/components/data-fields-select/index.js +28 -0
- package/components/data-fields-select/types.d.ts +4 -0
- package/components/data-fields-select-B5aGtDYe.cjs +41 -0
- package/components/{data-fields-select-DJFkrrPs.js → data-fields-select-CfAfiV-K.js} +4 -3
- package/components/dataset-icon/dataset-icon.d.ts +45 -0
- package/components/dataset-icon/index.cjs +20 -0
- package/components/dataset-icon/index.d.ts +8 -0
- package/components/dataset-icon/index.js +28 -0
- package/components/dataset-icon/types.d.ts +11 -0
- package/components/dataset-icon-BAV0S4sZ.cjs +64 -0
- package/components/dataset-icon-BXEgg_8O.js +125 -0
- package/components/dataset-selector-list/dataset-selector-list.d.ts +102 -0
- package/components/dataset-selector-list/index.cjs +20 -0
- package/components/dataset-selector-list/index.d.ts +8 -0
- package/components/dataset-selector-list/index.js +28 -0
- package/components/dataset-selector-list-WT2ZHjQ4.cjs +75 -0
- package/components/dataset-selector-list-bAFTW1Hr.js +313 -0
- package/components/dataset-selector-row/dataset-selector-row.d.ts +89 -0
- package/components/dataset-selector-row/index.cjs +20 -0
- package/components/dataset-selector-row/index.d.ts +8 -0
- package/components/dataset-selector-row/index.js +28 -0
- package/components/dataset-selector-row-CXrEKQrA.js +273 -0
- package/components/dataset-selector-row-CwkXH93E.cjs +79 -0
- package/components/decompose-numeric-format-DGJua3rU.cjs +20 -0
- package/components/decompose-numeric-format-DS0j2wa1.js +36 -0
- package/components/{localized-mixin-CBMYHOPv.js → decorate-CaYbmmmm.js} +2 -26
- package/components/decorate-DCJt-2rt.cjs +20 -0
- package/components/display-settings/display-settings.d.ts +117 -0
- package/components/display-settings/index.cjs +20 -0
- package/components/display-settings/index.d.ts +8 -0
- package/components/display-settings/index.js +28 -0
- package/components/display-settings/types.d.ts +9 -0
- package/components/display-settings-DrcpHnKo.cjs +140 -0
- package/components/display-settings-Ec_smyRC.js +313 -0
- package/components/display-settings-binning/display-settings-binning.d.ts +32 -0
- package/components/display-settings-binning/index.cjs +20 -0
- package/components/display-settings-binning/index.d.ts +8 -0
- package/components/display-settings-binning/index.js +28 -0
- package/components/{display-settings-binning-DGxEB9Fa.js → display-settings-binning-COpQPUin.js} +17 -19
- package/components/{display-settings-binning-CQKXGp11.cjs → display-settings-binning-XXJdJeGU.cjs} +2 -2
- package/components/display-settings-datetime/display-settings-datetime.d.ts +86 -0
- package/components/display-settings-datetime/index.cjs +20 -0
- package/components/display-settings-datetime/index.d.ts +8 -0
- package/components/display-settings-datetime/index.js +28 -0
- package/components/display-settings-datetime-DhSW10ln.cjs +217 -0
- package/components/{display-settings-datetime-CLx9sxA7.js → display-settings-datetime-qj86dnHh.js} +69 -71
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +29 -0
- package/components/display-settings-grand-totals/index.cjs +20 -0
- package/components/display-settings-grand-totals/index.d.ts +8 -0
- package/components/display-settings-grand-totals/index.js +28 -0
- package/components/{display-settings-grand-totals-B0Px90rH.js → display-settings-grand-totals-D6IDs0U1.js} +17 -19
- package/components/display-settings-grand-totals-DTF0sqA1.cjs +44 -0
- package/components/display-settings-numeric/display-settings-numeric.d.ts +82 -0
- package/components/display-settings-numeric/helpers/constants.d.ts +19 -0
- package/components/display-settings-numeric/index.cjs +20 -0
- package/components/display-settings-numeric/index.d.ts +8 -0
- package/components/display-settings-numeric/index.js +28 -0
- package/components/display-settings-numeric-Dt34JHyR.cjs +190 -0
- package/components/{display-settings-numeric-CdEgzO7W.js → display-settings-numeric-Dy2EMcKa.js} +79 -81
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +68 -0
- package/components/display-settings-period-over-period/helpers/constants.d.ts +44 -0
- package/components/display-settings-period-over-period/index.cjs +20 -0
- package/components/display-settings-period-over-period/index.d.ts +8 -0
- package/components/display-settings-period-over-period/index.js +28 -0
- package/components/display-settings-period-over-period-B-ULI6yW.cjs +229 -0
- package/components/{display-settings-period-over-period-lo3myRfT.js → display-settings-period-over-period-BMzBnywY.js} +85 -86
- package/components/{donut-chart-positioning.config-2cYbI6p-.cjs → donut-chart-positioning.config-BnmePhBH.cjs} +1 -1
- package/components/{donut-chart-positioning.config-Dh3XI5f4.js → donut-chart-positioning.config-CnZRc3e8.js} +1 -1
- package/components/{en-hPjCnvK0.cjs → en-B34alchz.cjs} +1 -1
- package/components/{en-OJGeTneC.js → en-CcLhGxIh.js} +1 -1
- package/components/en-GB-B3xz84vF.cjs +20 -0
- package/components/{en-GB-D7N1nMuy.js → en-GB-DzkdeUQh.js} +1 -1
- package/components/{en-US-hPjCnvK0.cjs → en-US-B34alchz.cjs} +1 -1
- package/components/{en-US-OJGeTneC.js → en-US-CcLhGxIh.js} +1 -1
- package/components/{evolution-number-positioning.config-BX1lWtDL.cjs → evolution-number-positioning.config-CKgGLWTm.cjs} +1 -1
- package/components/{evolution-number-positioning.config-BQQrOKbD.js → evolution-number-positioning.config-DiKxJqRO.js} +1 -1
- package/components/filter-expression-picker/filter-expression-picker.d.ts +73 -0
- package/components/filter-expression-picker/index.cjs +20 -0
- package/components/filter-expression-picker/index.d.ts +7 -0
- package/components/filter-expression-picker/index.js +28 -0
- package/components/filter-expression-picker-DMZ4sgJ6.js +425 -0
- package/components/filter-expression-picker-Dq0X2lo3.cjs +38 -0
- package/components/filter-item/filter-item.d.ts +84 -0
- package/components/filter-item/index.cjs +20 -0
- package/components/filter-item/index.d.ts +7 -0
- package/components/filter-item/index.js +28 -0
- package/components/filter-item-BEe-Y6l0.js +242 -0
- package/components/filter-item-BnxKP0Zg.cjs +58 -0
- package/components/filter-parameter-picker/filter-parameter-picker.d.ts +25 -0
- package/components/filter-parameter-picker/index.cjs +22 -0
- package/components/filter-parameter-picker/index.d.ts +7 -0
- package/components/filter-parameter-picker/index.js +58 -0
- package/components/filter-value-picker/filter-value-picker.d.ts +65 -0
- package/components/filter-value-picker/index.cjs +20 -0
- package/components/filter-value-picker/index.d.ts +7 -0
- package/components/filter-value-picker/index.js +28 -0
- package/components/filter-value-picker-BxaX9BML.cjs +60 -0
- package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +42 -0
- package/components/filter-value-picker-datetime/index.cjs +20 -0
- package/components/filter-value-picker-datetime/index.d.ts +7 -0
- package/components/filter-value-picker-datetime/index.js +28 -0
- package/components/filter-value-picker-datetime-BryAsOYH.cjs +42 -0
- package/components/filter-value-picker-datetime-DtZDr9fY.js +139 -0
- package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +81 -0
- package/components/filter-value-picker-hierarchy/index.cjs +20 -0
- package/components/filter-value-picker-hierarchy/index.d.ts +7 -0
- package/components/filter-value-picker-hierarchy/index.js +28 -0
- package/components/filter-value-picker-hierarchy-BSKoZJ0F.cjs +47 -0
- package/components/filter-value-picker-hierarchy-D9BcuttQ.js +232 -0
- package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +82 -0
- package/components/filter-value-picker-numeric/index.cjs +20 -0
- package/components/filter-value-picker-numeric/index.d.ts +7 -0
- package/components/filter-value-picker-numeric/index.js +28 -0
- package/components/filter-value-picker-numeric-B2EcfNUR.cjs +48 -0
- package/components/filter-value-picker-numeric-CoU9l9wS.js +219 -0
- package/components/filter-value-picker-r1zs2IHx.js +151 -0
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -1
- package/components/filters-C9DVFS6T.cjs +150 -0
- package/components/filters-DVTYmlI1.js +400 -0
- package/components/formatter-8m-wrIM-.cjs +20 -0
- package/components/{period-over-period-condition.const-DLA60ptm.js → formatter-Cq5dFCyU.js} +44 -235
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -1
- package/components/formula--lwYaW2w.cjs +45 -0
- package/components/{formula-TyfDRy5X.js → formula-Ekyv6mpo.js} +15 -14
- package/components/formula-codemirror/formula-codemirror.d.ts +79 -0
- package/components/formula-codemirror/index.d.ts +7 -0
- package/components/formula-codemirror/pills/formula-aggregation/formula-aggregation.d.ts +125 -0
- package/components/formula-codemirror/pills/formula-aggregation/index.d.ts +7 -0
- package/components/formula-codemirror/pills/formula-empty-argument-pill/formula-empty-argument-pill.d.ts +28 -0
- package/components/formula-codemirror/pills/formula-empty-argument-pill/index.d.ts +7 -0
- package/components/formula-codemirror/pills/formula-include-exclude-panel.d.ts +38 -0
- package/components/{formula-codemirror-Bewi7Xgc.cjs → formula-codemirror-BZuBN5sE.cjs} +50 -50
- package/components/{formula-codemirror-B6ktT1Dm.js → formula-codemirror-DgTmL2Id.js} +21 -19
- package/components/formula-display-store-BunPLkc0.cjs +20 -0
- package/components/{formula-display-store-ycPV0gru.js → formula-display-store-ezef6EvF.js} +242 -271
- package/components/formula-draggable-field/formula-draggable-field.d.ts +53 -0
- package/components/formula-draggable-field/index.d.ts +8 -0
- package/components/formula-draggable-field/types.d.ts +24 -0
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.d.ts +1 -0
- package/components/formula-editor/index.js +4 -3
- package/components/formula-editor-CjVohoJB.cjs +218 -0
- package/components/{formula-editor-HkD4KWnN.js → formula-editor-DRpm9ej7.js} +143 -348
- package/components/formula-field/formula-field.d.ts +20 -0
- package/components/formula-field/index.cjs +20 -0
- package/components/formula-field/index.d.ts +7 -0
- package/components/formula-field/index.js +28 -0
- package/components/formula-field-DcgWLGBD.cjs +20 -0
- package/components/formula-field-TwMnyN0t.js +40 -0
- package/components/formula-input-base-D6QdnUOa.cjs +49 -0
- package/components/formula-input-base-Dxk5euNb.js +236 -0
- package/components/{funnel-chart-positioning.config-iHk--8l3.cjs → funnel-chart-positioning.config-DaHDyj7V.cjs} +1 -1
- package/components/{funnel-chart-positioning.config-9blBdgB7.js → funnel-chart-positioning.config-DysRV01G.js} +1 -1
- package/components/get-dataset-name-D4smY8ms.cjs +20 -0
- package/components/get-dataset-name-D_ZiWu64.js +27 -0
- package/components/groupings-Bzp2EA65.js +52 -0
- package/components/groupings-Wfp8piEu.cjs +20 -0
- package/components/{heat-map-positioning.config-DgrZWNiT.js → heat-map-positioning.config-C6CqosaH.js} +1 -1
- package/components/{heat-map-positioning.config-CqkTB8nU.cjs → heat-map-positioning.config-hFwq08ML.cjs} +1 -1
- package/components/{heat-table-positioning.config-BqsqkftW.js → heat-table-positioning.config-B2RuWLH5.js} +1 -1
- package/components/{heat-table-positioning.config-Ca-WBNR-.cjs → heat-table-positioning.config-MJ_ox9iT.cjs} +1 -1
- package/components/{hexbin-map-positioning.config-sUIrPJP4.cjs → hexbin-map-positioning.config-Dua5Z8M2.cjs} +1 -1
- package/components/{hexbin-map-positioning.config-gkLfwTS6.js → hexbin-map-positioning.config-IiGTpp68.js} +1 -1
- package/components/index.cjs +1 -749
- package/components/index.js +64 -5577
- package/components/interactive-viz-item/helpers/chart-helpers.d.ts +7 -0
- package/components/interactive-viz-item/index.cjs +20 -0
- package/components/interactive-viz-item/index.d.ts +10 -0
- package/components/interactive-viz-item/index.js +28 -0
- package/components/interactive-viz-item/interactive-viz-item.d.ts +96 -0
- package/components/interactive-viz-item/types.d.ts +117 -0
- package/components/interactive-viz-item-O2zj8Ix3.cjs +247 -0
- package/components/interactive-viz-item-lBrlvX4F.js +693 -0
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +1 -1
- package/components/{item-grid-C6nEE4Uj.cjs → item-grid-CmuMl0eC.cjs} +22 -22
- package/components/{item-grid-B59uyBDP.js → item-grid-Cqi995vx.js} +2 -1
- package/components/item-menu/item-list/item-list.d.ts +37 -0
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/item-option-CQw6Xsi2.cjs +252 -0
- package/components/{item-option-zz-Rqh6o.js → item-option-Cg3zRKlU.js} +2 -2
- package/components/item-option-action-button-group/index.cjs +1 -1
- package/components/item-option-action-button-group/index.js +1 -1
- package/components/{item-option-action-button-group-BEXRueVH.js → item-option-action-button-group-C1TU-ng7.js} +2 -2
- package/components/item-option-action-button-group-DBdpU9Ac.cjs +53 -0
- package/components/item-option-base/item-option-base.d.ts +23 -0
- package/components/{item-option-base-DqDKIqRP.js → item-option-base-4mpxvTpE.js} +2 -2
- package/components/item-option-base-BtYcXg-E.cjs +56 -0
- package/components/item-option-color-palette-picker/index.cjs +1 -1
- package/components/item-option-color-palette-picker/index.js +1 -1
- package/components/item-option-color-palette-picker-4so22U-2.cjs +40 -0
- package/components/{item-option-color-palette-picker-dk5Nm1XB.js → item-option-color-palette-picker-BBnhEOQj.js} +2 -2
- package/components/item-option-color-picker/index.cjs +1 -1
- package/components/item-option-color-picker/index.js +1 -1
- package/components/{item-option-color-picker-oG-wrEZh.js → item-option-color-picker-CTTEHFVR.js} +2 -2
- package/components/{item-option-color-picker-Czr_ojzh.cjs → item-option-color-picker-CUBaIdL-.cjs} +2 -2
- package/components/item-option-color-range/index.cjs +1 -1
- package/components/item-option-color-range/index.js +1 -1
- package/components/{item-option-color-range-RbnPnI3s.js → item-option-color-range-BuLEgB7a.js} +2 -2
- package/components/item-option-color-range-H4nV-HoV.cjs +98 -0
- package/components/item-option-multi-language-field/index.cjs +1 -1
- package/components/item-option-multi-language-field/index.js +1 -1
- package/components/{item-option-multi-language-field-BqhBRIFH.js → item-option-multi-language-field-CXQj3kSW.js} +2 -2
- package/components/{item-option-multi-language-field-BpyuIPcO.cjs → item-option-multi-language-field-d25tETIC.cjs} +2 -2
- package/components/item-option-number-field/index.cjs +1 -1
- package/components/item-option-number-field/index.js +1 -1
- package/components/{item-option-number-field-BDPEAzdF.js → item-option-number-field-CEQEjnu8.js} +2 -2
- package/components/{item-option-number-field-CV2xpQrk.cjs → item-option-number-field-waG1zcr8.cjs} +2 -2
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/{item-option-panel-CMrjUb2s.cjs → item-option-panel-Bh4d0Ueb.cjs} +2 -2
- package/components/{item-option-panel-XhTxaBZp.js → item-option-panel-CVjT-rr8.js} +3 -3
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -1
- package/components/{item-option-picker-D_Od3am8.js → item-option-picker-CiEMwzho.js} +2 -2
- package/components/{item-option-picker-CvEfEy99.cjs → item-option-picker-YTJ6noOW.cjs} +2 -2
- package/components/item-option-position-picker/index.cjs +1 -1
- package/components/item-option-position-picker/index.js +1 -1
- package/components/item-option-position-picker-DExAtVBF.cjs +32 -0
- package/components/{item-option-position-picker-BKw29tj-.js → item-option-position-picker-DVsG8inN.js} +2 -2
- package/components/item-option-positions-number-field/index.cjs +1 -1
- package/components/item-option-positions-number-field/index.js +1 -1
- package/components/{item-option-positions-number-field-lrJdfydy.js → item-option-positions-number-field-7F1_3pxp.js} +2 -2
- package/components/item-option-positions-number-field-Ju4e_B6g.cjs +49 -0
- package/components/item-option-radio-button-group/index.cjs +1 -1
- package/components/item-option-radio-button-group/index.js +1 -1
- package/components/{item-option-radio-button-group-DrjpL6YU.cjs → item-option-radio-button-group-6w11UJC-.cjs} +2 -2
- package/components/{item-option-radio-button-group-DTyHPaz_.js → item-option-radio-button-group-CHZKF_oZ.js} +2 -2
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -1
- package/components/{item-option-slider-CIDoZhZl.js → item-option-slider-CQCvF7wI.js} +2 -2
- package/components/{item-option-slider-BwKBgW0y.cjs → item-option-slider-DdkgydGa.cjs} +2 -2
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -1
- package/components/{item-option-switch-DxC1yjeN.js → item-option-switch-68EoGXKU.js} +2 -2
- package/components/{item-option-switch-CQtvbTfI.cjs → item-option-switch-IP4wvB7i.cjs} +2 -2
- package/components/item-option-text-field/index.cjs +1 -1
- package/components/item-option-text-field/index.js +1 -1
- package/components/{item-option-text-field-CZtJ1yIj.js → item-option-text-field-0CCtgD5i.js} +2 -2
- package/components/{item-option-text-field-pLQzcE25.cjs → item-option-text-field-Be4frWhI.cjs} +2 -2
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.d.ts +2 -0
- package/components/item-slot-drop/index.js +1 -1
- package/components/item-slot-drop-C7BJJcZz.cjs +91 -0
- package/components/{item-slot-drop-SqYpfTGj.js → item-slot-drop-PlCmap_s.js} +14 -9
- package/components/item-slot-drop-panel/index.cjs +1 -1
- package/components/item-slot-drop-panel/index.js +1 -1
- package/components/{item-slot-drop-panel-DoWCzjqb.js → item-slot-drop-panel-BevGCcMh.js} +41 -40
- package/components/item-slot-drop-panel-hs0gFwb-.cjs +57 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -1
- package/components/{item-slot-picker-CadZEvOA.js → item-slot-picker-BzXlX-Zd.js} +26 -21
- package/components/item-slot-picker-dmoR1ZyZ.cjs +174 -0
- package/components/item-slot-picker-panel/index.cjs +1 -1
- package/components/item-slot-picker-panel/index.js +1 -1
- package/components/item-slot-picker-panel-B2TtJUIs.cjs +81 -0
- package/components/{item-slot-picker-panel-Bhr6d6Ya.js → item-slot-picker-panel-DnvwcLGy.js} +5 -4
- package/components/{line-chart-positioning.config-BIkHxiyg.cjs → line-chart-positioning.config-CYqzjNzS.cjs} +1 -1
- package/components/{line-chart-positioning.config-CdnYQBah.js → line-chart-positioning.config-DAs0y-O6.js} +1 -1
- package/components/load-data-fields-for-datasets-BVGaku2J.cjs +20 -0
- package/components/load-data-fields-for-datasets-DeXLqWt4.js +42 -0
- package/components/localized-mixin-BNAt_iYb.cjs +20 -0
- package/components/localized-mixin-GXZQgVAD.js +45 -0
- package/components/{marker-map-positioning.config-BSz4P-W9.js → marker-map-positioning.config-BQ-kNUJI.js} +1 -1
- package/components/{marker-map-positioning.config-t66fioVz.cjs → marker-map-positioning.config-C5h5ydGa.cjs} +1 -1
- package/components/{ohlc-chart-positioning.config-tQPPutWX.js → ohlc-chart-positioning.config-BQyRY4rj.js} +1 -1
- package/components/{ohlc-chart-positioning.config-BGueS7CJ.cjs → ohlc-chart-positioning.config-fqniDSHf.cjs} +1 -1
- package/components/{parallel-coordinates-plot-positioning.config-NrJ2LNM8.cjs → parallel-coordinates-plot-positioning.config-Bhyk-q40.cjs} +1 -1
- package/components/{parallel-coordinates-plot-positioning.config-MkX-qYHX.js → parallel-coordinates-plot-positioning.config-DMUrvTKC.js} +1 -1
- package/components/period-over-period-condition.const-BZ7j5Z5t.js +29 -0
- package/components/period-over-period-condition.const-C1NZ9Bkp.cjs +20 -0
- package/components/{pivot-table-positioning.config-DgJ5PPB9.cjs → pivot-table-positioning.config-CRPJ6cp9.cjs} +1 -1
- package/components/{pivot-table-positioning.config-Dr_0v4TM.js → pivot-table-positioning.config-kgOD7qg4.js} +1 -1
- package/components/{pyramid-chart-positioning.config-BGRtXKWh.cjs → pyramid-chart-positioning.config-B3g4J0Fc.cjs} +1 -1
- package/components/{pyramid-chart-positioning.config-DB0BI8vW.js → pyramid-chart-positioning.config-DzmnUNOa.js} +1 -1
- package/components/{radar-chart-positioning.config-DQiJ-Z1s.cjs → radar-chart-positioning.config-DeMZx8WU.cjs} +1 -1
- package/components/{radar-chart-positioning.config-D6UfRMMA.js → radar-chart-positioning.config-DtCHigcZ.js} +1 -1
- package/components/{route-map-positioning.config-D_ZoyhwX.js → route-map-positioning.config-CNNkOriH.js} +1 -1
- package/components/{route-map-positioning.config-Cbic0Cbz.cjs → route-map-positioning.config-GRnTnxOT.cjs} +1 -1
- package/components/{sankey-diagram-positioning.config-CZDPh7CR.cjs → sankey-diagram-positioning.config-B4dTAI_t.cjs} +1 -1
- package/components/{sankey-diagram-positioning.config-CQNdImz0.js → sankey-diagram-positioning.config-DZzxWrlG.js} +1 -1
- package/components/{scatter-plot-positioning.config-BTOiZ8cF.js → scatter-plot-positioning.config-7DccAqx9.js} +1 -1
- package/components/{scatter-plot-positioning.config-BPEymo3a.cjs → scatter-plot-positioning.config-CUxiLfKj.cjs} +1 -1
- package/components/{slicer-filter-positioning.config-CQE4ocpD.cjs → slicer-filter-positioning.config-DUivNE2P.cjs} +1 -1
- package/components/{slicer-filter-positioning.config-CC7uoU2D.js → slicer-filter-positioning.config-aOkoNRyY.js} +1 -1
- package/components/{en-GB-DCZl8CPc.cjs → slot-menu/index.cjs} +1 -1
- package/components/slot-menu/index.d.ts +10 -0
- package/components/slot-menu/index.js +28 -0
- package/components/slot-menu/slot-menu.d.ts +148 -0
- package/components/slot-menu/types.d.ts +24 -0
- package/components/slot-menu-Bgoo0gWv.cjs +71 -0
- package/components/slot-menu-Cb8piPji.js +422 -0
- package/components/slot-menu-list/index.cjs +20 -0
- package/components/slot-menu-list/index.d.ts +8 -0
- package/components/slot-menu-list/index.js +28 -0
- package/components/slot-menu-list/slot-menu-list.d.ts +47 -0
- package/components/slot-menu-list-Cy6tegSf.cjs +44 -0
- package/components/slot-menu-list-VuVIRNtr.js +346 -0
- package/components/slot-role-classification-Bvt3bI01.cjs +20 -0
- package/components/slot-role-classification-CCzj4WgN.js +133 -0
- package/components/slots-config-P_GXW0tl.js +77 -0
- package/components/slots-config-YdyClHLc.cjs +20 -0
- package/components/{speedometer-chart-positioning.config-ChH-uAdS.js → speedometer-chart-positioning.config-Dj6XK0gq.js} +1 -1
- package/components/{speedometer-chart-positioning.config-DpBVarun.cjs → speedometer-chart-positioning.config-DzCh70X-.cjs} +1 -1
- package/components/{spike-map-positioning.config-BnEQJ-rD.js → spike-map-positioning.config-BG2pKkf7.js} +1 -1
- package/components/{spike-map-positioning.config-DrSoa8Ol.cjs → spike-map-positioning.config-BQIg4Z0U.cjs} +1 -1
- package/components/{strip-plot-positioning.config-DlkZ1i6m.cjs → strip-plot-positioning.config-D3ZNgtC4.cjs} +1 -1
- package/components/{strip-plot-positioning.config-Be5Desz2.js → strip-plot-positioning.config-HZCVc6kX.js} +1 -1
- package/components/{sunburst-chart-positioning.config-RUEkAgKJ.js → sunburst-chart-positioning.config-0O9eMweg.js} +1 -1
- package/components/{sunburst-chart-positioning.config-D4zzci9s.cjs → sunburst-chart-positioning.config-B-hCz3bI.cjs} +1 -1
- package/components/{symbol-map-positioning.config-JzgtULMk.js → symbol-map-positioning.config-Dod98HkQ.js} +1 -1
- package/components/{symbol-map-positioning.config-Dmgmyhv7.cjs → symbol-map-positioning.config-aHnkaWU6.cjs} +1 -1
- package/components/{treemap-chart-positioning.config-CSt_vVgw.js → treemap-chart-positioning.config-XB1_FmX-.js} +1 -1
- package/components/{treemap-chart-positioning.config-CqHJxz2j.cjs → treemap-chart-positioning.config-qhPL49um.cjs} +1 -1
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/utils-B1BzV2xl.cjs +20 -0
- package/components/{utils-DLTDAer5.js → utils-BMOxXnnX.js} +42 -41
- package/components/utils.cjs +1 -1
- package/components/utils.js +8 -5
- package/components/{venn-diagram-positioning.config-DsPI8qfG.js → venn-diagram-positioning.config-Bh1ypVKP.js} +1 -1
- package/components/{venn-diagram-positioning.config-CzhNTma3.cjs → venn-diagram-positioning.config-CimHfhlV.cjs} +1 -1
- package/components/viz-item-menu/index.cjs +20 -0
- package/components/viz-item-menu/index.d.ts +8 -0
- package/components/viz-item-menu/index.js +28 -0
- package/components/viz-item-menu/types.d.ts +9 -0
- package/components/viz-item-menu/viz-item-menu.d.ts +75 -0
- package/components/viz-item-menu-CTPd7QMx.cjs +55 -0
- package/components/viz-item-menu-sOvrO3Ku.js +170 -0
- package/components/{wordcloud-chart-positioning.config-moNJfL1M.cjs → wordcloud-chart-positioning.config-BR_g8Now.cjs} +1 -1
- package/components/{wordcloud-chart-positioning.config-BUE8e4fN.js → wordcloud-chart-positioning.config-CmakCQG0.js} +1 -1
- package/custom-elements.json +15942 -5759
- package/index.d.ts +24 -0
- package/package.json +126 -1
- package/react/README.md +31 -6
- package/react/components/ai-chat/empty-state/index.ts +1 -0
- package/react/components/ai-chat/empty-state/types.ts +16 -0
- package/react/components/ai-chat/stream/index.ts +1 -0
- package/react/components/ai-chat/stream/types.ts +60 -0
- package/react/components/ai-chat.component.ts +45 -0
- package/react/components/ai-interaction-textarea/index.ts +1 -0
- package/react/components/ai-interaction-textarea/types.ts +6 -0
- package/react/components/ai-interaction-textarea.component.ts +30 -0
- package/react/components/data-field-level.component.ts +30 -0
- package/react/components/data-fields-select/index.ts +1 -0
- package/react/components/data-fields-select/types.ts +5 -0
- package/react/components/data-fields-select.component.ts +27 -0
- package/react/components/dataset-icon/index.ts +1 -0
- package/react/components/dataset-icon/types.ts +8 -0
- package/react/components/dataset-icon.component.ts +22 -0
- package/react/components/dataset-selector-list.component.ts +27 -0
- package/react/components/dataset-selector-row.component.ts +30 -0
- package/react/components/display-settings/index.ts +1 -0
- package/react/components/display-settings/types.ts +12 -0
- package/react/components/display-settings-binning.component.ts +27 -0
- package/react/components/display-settings-datetime.component.ts +27 -0
- package/react/components/display-settings-grand-totals.component.ts +27 -0
- package/react/components/display-settings-numeric.component.ts +27 -0
- package/react/components/display-settings-period-over-period.component.ts +27 -0
- package/react/components/display-settings.component.ts +33 -0
- package/react/components/filter-expression-picker.component.ts +27 -0
- package/react/components/filter-item.component.ts +27 -0
- package/react/components/filter-parameter-picker.component.ts +22 -0
- package/react/components/filter-value-picker-datetime.component.ts +27 -0
- package/react/components/filter-value-picker-hierarchy.component.ts +27 -0
- package/react/components/filter-value-picker-numeric.component.ts +27 -0
- package/react/components/filter-value-picker.component.ts +27 -0
- package/react/components/formula-draggable-field/index.ts +1 -0
- package/react/components/formula-draggable-field/types.ts +26 -0
- package/react/components/formula-field.component.ts +30 -0
- package/react/components/interactive-viz-item/index.ts +1 -0
- package/react/components/interactive-viz-item/types.ts +122 -0
- package/react/components/interactive-viz-item.component.ts +33 -0
- package/react/components/slot-menu/index.ts +1 -0
- package/react/components/slot-menu/types.ts +29 -0
- package/react/components/slot-menu-list.component.ts +27 -0
- package/react/components/slot-menu.component.ts +42 -0
- package/react/components/viz-item-menu/index.ts +1 -0
- package/react/components/viz-item-menu/types.ts +11 -0
- package/react/components/viz-item-menu.component.ts +33 -0
- package/react/esm/components/ai-chat/empty-state/index.d.ts +1 -0
- package/react/esm/components/ai-chat/empty-state/index.js +1 -0
- package/react/esm/components/ai-chat/empty-state/types.d.ts +14 -0
- package/react/esm/components/ai-chat/empty-state/types.js +1 -0
- package/react/esm/components/ai-chat/stream/index.d.ts +1 -0
- package/react/esm/components/ai-chat/stream/index.js +1 -0
- package/react/esm/components/ai-chat/stream/types.d.ts +55 -0
- package/react/esm/components/ai-chat/stream/types.js +1 -0
- package/react/esm/components/ai-chat.component.d.ts +24 -0
- package/react/esm/components/ai-chat.component.js +29 -0
- package/react/esm/components/ai-interaction-textarea/index.d.ts +1 -0
- package/react/esm/components/ai-interaction-textarea/index.js +1 -0
- package/react/esm/components/ai-interaction-textarea/types.d.ts +5 -0
- package/react/esm/components/ai-interaction-textarea/types.js +1 -0
- package/react/esm/components/ai-interaction-textarea.component.d.ts +14 -0
- package/react/esm/components/ai-interaction-textarea.component.js +19 -0
- package/react/esm/components/data-field-level.component.d.ts +14 -0
- package/react/esm/components/data-field-level.component.js +19 -0
- package/react/esm/components/data-fields-select/index.d.ts +1 -0
- package/react/esm/components/data-fields-select/index.js +1 -0
- package/react/esm/components/data-fields-select/types.d.ts +4 -0
- package/react/esm/components/data-fields-select/types.js +1 -0
- package/react/esm/components/data-fields-select.component.d.ts +12 -0
- package/react/esm/components/data-fields-select.component.js +17 -0
- package/react/esm/components/dataset-icon/index.d.ts +1 -0
- package/react/esm/components/dataset-icon/index.js +1 -0
- package/react/esm/components/dataset-icon/types.d.ts +11 -0
- package/react/esm/components/dataset-icon/types.js +1 -0
- package/react/esm/components/dataset-icon.component.d.ts +8 -0
- package/react/esm/components/dataset-icon.component.js +13 -0
- package/react/esm/components/dataset-selector-list.component.d.ts +12 -0
- package/react/esm/components/dataset-selector-list.component.js +17 -0
- package/react/esm/components/dataset-selector-row.component.d.ts +14 -0
- package/react/esm/components/dataset-selector-row.component.js +19 -0
- package/react/esm/components/display-settings/index.d.ts +1 -0
- package/react/esm/components/display-settings/index.js +1 -0
- package/react/esm/components/display-settings/types.d.ts +9 -0
- package/react/esm/components/display-settings/types.js +1 -0
- package/react/esm/components/display-settings-binning.component.d.ts +12 -0
- package/react/esm/components/display-settings-binning.component.js +17 -0
- package/react/esm/components/display-settings-datetime.component.d.ts +12 -0
- package/react/esm/components/display-settings-datetime.component.js +17 -0
- package/react/esm/components/display-settings-grand-totals.component.d.ts +12 -0
- package/react/esm/components/display-settings-grand-totals.component.js +17 -0
- package/react/esm/components/display-settings-numeric.component.d.ts +12 -0
- package/react/esm/components/display-settings-numeric.component.js +17 -0
- package/react/esm/components/display-settings-period-over-period.component.d.ts +12 -0
- package/react/esm/components/display-settings-period-over-period.component.js +17 -0
- package/react/esm/components/display-settings.component.d.ts +16 -0
- package/react/esm/components/display-settings.component.js +21 -0
- package/react/esm/components/filter-expression-picker.component.d.ts +12 -0
- package/react/esm/components/filter-expression-picker.component.js +17 -0
- package/react/esm/components/filter-item.component.d.ts +12 -0
- package/react/esm/components/filter-item.component.js +17 -0
- package/react/esm/components/filter-parameter-picker.component.d.ts +8 -0
- package/react/esm/components/filter-parameter-picker.component.js +13 -0
- package/react/esm/components/filter-value-picker-datetime.component.d.ts +12 -0
- package/react/esm/components/filter-value-picker-datetime.component.js +17 -0
- package/react/esm/components/filter-value-picker-hierarchy.component.d.ts +12 -0
- package/react/esm/components/filter-value-picker-hierarchy.component.js +17 -0
- package/react/esm/components/filter-value-picker-numeric.component.d.ts +12 -0
- package/react/esm/components/filter-value-picker-numeric.component.js +17 -0
- package/react/esm/components/filter-value-picker.component.d.ts +12 -0
- package/react/esm/components/filter-value-picker.component.js +17 -0
- package/react/esm/components/formula-draggable-field/index.d.ts +1 -0
- package/react/esm/components/formula-draggable-field/index.js +1 -0
- package/react/esm/components/formula-draggable-field/types.d.ts +24 -0
- package/react/esm/components/formula-draggable-field/types.js +1 -0
- package/react/esm/components/formula-field.component.d.ts +14 -0
- package/react/esm/components/formula-field.component.js +19 -0
- package/react/esm/components/interactive-viz-item/index.d.ts +1 -0
- package/react/esm/components/interactive-viz-item/index.js +1 -0
- package/react/esm/components/interactive-viz-item/types.d.ts +117 -0
- package/react/esm/components/interactive-viz-item/types.js +16 -0
- package/react/esm/components/interactive-viz-item.component.d.ts +16 -0
- package/react/esm/components/interactive-viz-item.component.js +21 -0
- package/react/esm/components/slot-menu/index.d.ts +1 -0
- package/react/esm/components/slot-menu/index.js +1 -0
- package/react/esm/components/slot-menu/types.d.ts +24 -0
- package/react/esm/components/slot-menu/types.js +1 -0
- package/react/esm/components/slot-menu-list.component.d.ts +12 -0
- package/react/esm/components/slot-menu-list.component.js +17 -0
- package/react/esm/components/slot-menu.component.d.ts +22 -0
- package/react/esm/components/slot-menu.component.js +27 -0
- package/react/esm/components/viz-item-menu/index.d.ts +1 -0
- package/react/esm/components/viz-item-menu/index.js +1 -0
- package/react/esm/components/viz-item-menu/types.d.ts +9 -0
- package/react/esm/components/viz-item-menu/types.js +1 -0
- package/react/esm/components/viz-item-menu.component.d.ts +16 -0
- package/react/esm/components/viz-item-menu.component.js +21 -0
- package/react/esm/index.d.ts +27 -2
- package/react/esm/index.js +102 -2
- package/react/esm/types.d.ts +15 -0
- package/react/index.ts +102 -2
- package/react/luzmo-stub.d.ts +164 -0
- package/react/types.ts +12 -0
- package/storybook/inject-global-vars.d.ts +1 -0
- package/storybook/register-components.d.ts +51 -0
- package/types/ai-chat.types.d.ts +90 -0
- package/types/data-field-events.types.d.ts +7 -0
- package/types.d.ts +8 -0
- package/components/base-CYiGlWug.cjs +0 -20
- package/components/data-field-iGBGWoGH.cjs +0 -89
- package/components/data-field-panel-NktuTUUp.cjs +0 -87
- package/components/data-fields-select-DL1nFRg3.cjs +0 -41
- package/components/display-settings-datetime-25LwuZM_.cjs +0 -217
- package/components/display-settings-grand-totals-1tBdxbFY.cjs +0 -44
- package/components/display-settings-numeric-Bbx4qmpA.cjs +0 -190
- package/components/display-settings-period-over-period-4bJbXWB7.cjs +0 -229
- package/components/filters-Bzx4DYm-.cjs +0 -323
- package/components/filters-DSod7vIq.js +0 -1637
- package/components/formula-DcCDYDt4.cjs +0 -45
- package/components/formula-display-store-DxjO7Q-n.cjs +0 -20
- package/components/formula-editor-DQp_XiX5.cjs +0 -247
- package/components/item-option-C4c-e1QF.cjs +0 -252
- package/components/item-option-action-button-group-BU1wvtEd.cjs +0 -53
- package/components/item-option-base-DATaPQ-m.cjs +0 -56
- package/components/item-option-color-palette-picker-Cc2nTuxC.cjs +0 -40
- package/components/item-option-color-range-CTnHZ72E.cjs +0 -98
- package/components/item-option-position-picker-DBs4JlFi.cjs +0 -32
- package/components/item-option-positions-number-field-DIIEFHd4.cjs +0 -49
- package/components/item-slot-drop-UygcXM5D.cjs +0 -91
- package/components/item-slot-drop-panel-9T8BWejl.cjs +0 -57
- package/components/item-slot-picker-Rnb_wwCV.cjs +0 -174
- package/components/item-slot-picker-panel-2VJY6C0b.cjs +0 -81
- package/components/load-data-fields-for-datasets-CU75T9Az.js +0 -86
- package/components/load-data-fields-for-datasets-DkK1JsFd.cjs +0 -20
- package/components/localized-mixin-DAOiXh71.cjs +0 -20
- package/components/period-over-period-condition.const-DystGY6B.cjs +0 -20
- package/components/slot-menu-BL772rj7.js +0 -1048
- package/components/slot-menu-CCbZ-krJ.cjs +0 -215
- package/components/utils-Ez3j4EOS.cjs +0 -20
|
@@ -0,0 +1,273 @@
|
|
|
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 { t as e } from "./decorate-CaYbmmmm.js";
|
|
21
|
+
import { t } from "./data-broker-CVDImE1j.js";
|
|
22
|
+
import { t as n } from "./get-dataset-name-D_ZiWu64.js";
|
|
23
|
+
import "./dataset-icon-BXEgg_8O.js";
|
|
24
|
+
import { luzmoFileUploadOutline as r, luzmoPlugin as i, luzmoPlus as a } from "@luzmo/icons";
|
|
25
|
+
import "@luzmo/lucero/icon";
|
|
26
|
+
import { LitElement as o, html as s, nothing as c, unsafeCSS as l } from "lit";
|
|
27
|
+
import { property as u, state as d } from "lit/decorators.js";
|
|
28
|
+
import { localized as f, msg as p, str as m } from "@lit/localize";
|
|
29
|
+
import "@luzmo/lucero/select";
|
|
30
|
+
import "@luzmo/lucero/tags";
|
|
31
|
+
import "@luzmo/lucero/tooltip";
|
|
32
|
+
import { repeat as h } from "lit/directives/repeat.js";
|
|
33
|
+
//#region src/components/dataset-selector-row/dataset-selector-row.module.scss?inline
|
|
34
|
+
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:180px;--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-search-max-width:23.75rem;--dataset-selector-row-search-popover-max-height:400px}", _ = 400, v = 50, y = class extends o {
|
|
35
|
+
constructor(...e) {
|
|
36
|
+
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.flagOpendata = !1, this.disabled = !1, this.hideDatasetIcons = !1, this._availableDatasets = [], this._removalAnnouncement = "", this._selectValue = [], this._retrieving = !1, this._searchValue = "", this._activeSearchRequestId = 0, this._searchDebounceTimer = null, this._renderDatasetOptionIcon = (e) => {
|
|
37
|
+
if (this.hideDatasetIcons) return null;
|
|
38
|
+
let t = e.value;
|
|
39
|
+
if (typeof t != "string") return null;
|
|
40
|
+
let n = this._availableDatasets.find((e) => e.id === t);
|
|
41
|
+
return n ? s`
|
|
42
|
+
<luzmo-dataset-icon
|
|
43
|
+
slot="icon"
|
|
44
|
+
.datasetInfo=${n}
|
|
45
|
+
size="16px"
|
|
46
|
+
app-url=${this.appServer}
|
|
47
|
+
></luzmo-dataset-icon>
|
|
48
|
+
` : null;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
static {
|
|
52
|
+
this.styles = l(g);
|
|
53
|
+
}
|
|
54
|
+
static {
|
|
55
|
+
this.tagName = "luzmo-dataset-selector-row";
|
|
56
|
+
}
|
|
57
|
+
get _selectedDatasetIds() {
|
|
58
|
+
return new Set(this.selectedDatasets.map((e) => e.id));
|
|
59
|
+
}
|
|
60
|
+
connectedCallback() {
|
|
61
|
+
super.connectedCallback(), this._configureBroker();
|
|
62
|
+
}
|
|
63
|
+
disconnectedCallback() {
|
|
64
|
+
this._searchDebounceTimer !== null && (clearTimeout(this._searchDebounceTimer), this._searchDebounceTimer = null), super.disconnectedCallback();
|
|
65
|
+
}
|
|
66
|
+
willUpdate(e) {
|
|
67
|
+
super.willUpdate(e), (e.has("authKey") || e.has("authToken") || e.has("apiUrl")) && this._configureBroker();
|
|
68
|
+
}
|
|
69
|
+
_configureBroker() {
|
|
70
|
+
t.configure({
|
|
71
|
+
authKey: this.authKey,
|
|
72
|
+
authToken: this.authToken,
|
|
73
|
+
apiUrl: this.apiUrl
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
async _loadAvailableDatasets() {
|
|
77
|
+
let e = ++this._activeSearchRequestId;
|
|
78
|
+
this._availableDatasets = [], this._retrieving = !0;
|
|
79
|
+
try {
|
|
80
|
+
let n = await t.fetchApi("/securable", {
|
|
81
|
+
action: "get",
|
|
82
|
+
version: "0.1.0",
|
|
83
|
+
find: this._generateQuery()
|
|
84
|
+
});
|
|
85
|
+
if (e !== this._activeSearchRequestId) return;
|
|
86
|
+
this._availableDatasets = n.rows ?? [];
|
|
87
|
+
} catch (t) {
|
|
88
|
+
console.error("Error loading datasets:", t), e === this._activeSearchRequestId && (this._availableDatasets = []);
|
|
89
|
+
} finally {
|
|
90
|
+
e === this._activeSearchRequestId && (this._retrieving = !1);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
_generateQuery() {
|
|
94
|
+
return {
|
|
95
|
+
attributes: [
|
|
96
|
+
"id",
|
|
97
|
+
"updated_at",
|
|
98
|
+
"name",
|
|
99
|
+
"subtype"
|
|
100
|
+
],
|
|
101
|
+
include: [{
|
|
102
|
+
model: "Account",
|
|
103
|
+
attributes: [
|
|
104
|
+
"id",
|
|
105
|
+
"provider",
|
|
106
|
+
"name"
|
|
107
|
+
],
|
|
108
|
+
include: [{
|
|
109
|
+
model: "Plugin",
|
|
110
|
+
attributes: ["id"],
|
|
111
|
+
include: [{
|
|
112
|
+
model: "Thumbnail",
|
|
113
|
+
where: { size: "32px" }
|
|
114
|
+
}]
|
|
115
|
+
}]
|
|
116
|
+
}],
|
|
117
|
+
where: { type: "dataset" },
|
|
118
|
+
limit: v,
|
|
119
|
+
offset: 0,
|
|
120
|
+
...this._searchValue ? {
|
|
121
|
+
search: {
|
|
122
|
+
match_types: ["name", "description"],
|
|
123
|
+
keyphrase: this._searchValue,
|
|
124
|
+
securable_types: "dataset"
|
|
125
|
+
},
|
|
126
|
+
order: [["name", "asc"]]
|
|
127
|
+
} : { order: [["updated_at", "desc"]] },
|
|
128
|
+
...this.flagOpendata ? { public: null } : {}
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
_handleSearch(e) {
|
|
132
|
+
if (this.disabled) return;
|
|
133
|
+
let t = e.detail?.string ?? "";
|
|
134
|
+
t !== this._searchValue && (this._searchValue = t, this._activeSearchRequestId++, this._retrieving = !0, this._searchDebounceTimer !== null && clearTimeout(this._searchDebounceTimer), this._searchDebounceTimer = window.setTimeout(() => {
|
|
135
|
+
this._loadAvailableDatasets();
|
|
136
|
+
}, _));
|
|
137
|
+
}
|
|
138
|
+
_handleSearchOpened() {
|
|
139
|
+
this.disabled || (this._searchValue = "", this._availableDatasets.length === 0 && this._loadAvailableDatasets());
|
|
140
|
+
}
|
|
141
|
+
_handleSearchClosed() {
|
|
142
|
+
this._searchDebounceTimer !== null && (clearTimeout(this._searchDebounceTimer), this._searchDebounceTimer = null), this._searchValue !== "" && (this._activeSearchRequestId++, this._searchValue = "", this._availableDatasets = []), this._retrieving = !1;
|
|
143
|
+
}
|
|
144
|
+
_handleDatasetSelected(e) {
|
|
145
|
+
if (this.disabled) return;
|
|
146
|
+
let t = e.detail?.value?.[0], n = this._availableDatasets.find((e) => e.id === t);
|
|
147
|
+
if (!n) {
|
|
148
|
+
this._selectValue = [];
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
if (!this._selectedDatasetIds.has(n.id)) {
|
|
152
|
+
let e = [...this.selectedDatasets, n];
|
|
153
|
+
this.selectedDatasets = e, this.dispatchEvent(new CustomEvent("dataset-selected", {
|
|
154
|
+
detail: n,
|
|
155
|
+
bubbles: !0,
|
|
156
|
+
composed: !0
|
|
157
|
+
}));
|
|
158
|
+
}
|
|
159
|
+
this._selectValue = [];
|
|
160
|
+
}
|
|
161
|
+
_handleDatasetRemoved(e) {
|
|
162
|
+
if (this.disabled) return;
|
|
163
|
+
let t = n(e), r = this.selectedDatasets.filter((t) => t.id !== e.id);
|
|
164
|
+
this.selectedDatasets = r, this._removalAnnouncement = p(m`Removed ${t}`, { desc: "Screen reader announcement when a dataset tag is removed; the interpolated value is the dataset name" }), setTimeout(() => {
|
|
165
|
+
this._removalAnnouncement = "";
|
|
166
|
+
}, 1e3), this.dispatchEvent(new CustomEvent("dataset-removed", {
|
|
167
|
+
detail: e,
|
|
168
|
+
bubbles: !0,
|
|
169
|
+
composed: !0
|
|
170
|
+
}));
|
|
171
|
+
}
|
|
172
|
+
_renderDatasetTag(e) {
|
|
173
|
+
return s`
|
|
174
|
+
<luzmo-tag
|
|
175
|
+
class="selected-dataset-tag"
|
|
176
|
+
?deletable=${!this.disabled}
|
|
177
|
+
tabindex=${this.disabled ? -1 : 0}
|
|
178
|
+
aria-label=${this.disabled ? n(e) : p(m`Remove ${n(e)}`, { desc: "Accessible label for the delete control on a selected dataset tag; the interpolated value is the dataset name" })}
|
|
179
|
+
@delete=${this._createDatasetRemovedHandler(e)}
|
|
180
|
+
>
|
|
181
|
+
${this.hideDatasetIcons ? c : s`
|
|
182
|
+
<luzmo-dataset-icon
|
|
183
|
+
slot="icon"
|
|
184
|
+
.datasetInfo=${e}
|
|
185
|
+
size="16px"
|
|
186
|
+
app-url=${this.appServer}
|
|
187
|
+
></luzmo-dataset-icon>
|
|
188
|
+
`}
|
|
189
|
+
<span class="dataset-tag-label">${n(e)}</span>
|
|
190
|
+
</luzmo-tag>
|
|
191
|
+
`;
|
|
192
|
+
}
|
|
193
|
+
_getDatasetOptions() {
|
|
194
|
+
return this._availableDatasets.filter((e) => !this._selectedDatasetIds.has(e.id)).map((e) => ({
|
|
195
|
+
value: e.id,
|
|
196
|
+
label: n(e),
|
|
197
|
+
...this.hideDatasetIcons ? {} : { icon: e.subtype === "upload" ? r : i }
|
|
198
|
+
}));
|
|
199
|
+
}
|
|
200
|
+
_renderDatasetSearch() {
|
|
201
|
+
return s`
|
|
202
|
+
<luzmo-select
|
|
203
|
+
class="dataset-search"
|
|
204
|
+
search="on"
|
|
205
|
+
selects="single"
|
|
206
|
+
variant="highlight"
|
|
207
|
+
placement="bottom-start"
|
|
208
|
+
hide-dropdown-icon
|
|
209
|
+
no-wrap
|
|
210
|
+
.label=${this.buttonLabel}
|
|
211
|
+
.options=${this._getDatasetOptions()}
|
|
212
|
+
.value=${this._selectValue}
|
|
213
|
+
.retrieving=${this._retrieving}
|
|
214
|
+
.optionIconRenderer=${this._renderDatasetOptionIcon}
|
|
215
|
+
?disabled=${this.disabled}
|
|
216
|
+
@change=${this._handleDatasetSelected}
|
|
217
|
+
@luzmo-search=${this._handleSearch}
|
|
218
|
+
@luzmo-opened=${this._handleSearchOpened}
|
|
219
|
+
@luzmo-closed=${this._handleSearchClosed}
|
|
220
|
+
>
|
|
221
|
+
<span slot="label" class="dataset-search-trigger-layout">
|
|
222
|
+
<luzmo-icon .icon=${a} size="s" aria-hidden="true"></luzmo-icon>
|
|
223
|
+
${this.selectedDatasets.length === 0 ? s`<span class="dataset-search-trigger-label">${this.buttonLabel}</span>` : c}
|
|
224
|
+
</span>
|
|
225
|
+
${this.selectedDatasets.length > 0 ? s`<luzmo-tooltip slot="tooltip" self-managed placement="top" size="s">${this.buttonLabel}</luzmo-tooltip>` : c}
|
|
226
|
+
</luzmo-select>
|
|
227
|
+
`;
|
|
228
|
+
}
|
|
229
|
+
_createDatasetRemovedHandler(e) {
|
|
230
|
+
return () => this._handleDatasetRemoved(e);
|
|
231
|
+
}
|
|
232
|
+
render() {
|
|
233
|
+
return s`
|
|
234
|
+
${this._renderDatasetSearch()}
|
|
235
|
+
${this.selectedDatasets.length > 0 ? s`
|
|
236
|
+
<luzmo-tags class="selected-datasets-tags">
|
|
237
|
+
${h(this.selectedDatasets, (e) => e.id, (e) => this._renderDatasetTag(e))}
|
|
238
|
+
</luzmo-tags>
|
|
239
|
+
` : c}
|
|
240
|
+
<span class="sr-only" role="status" aria-live="polite">${this._removalAnnouncement}</span>
|
|
241
|
+
`;
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
//#endregion
|
|
245
|
+
//#region src/components/dataset-selector-row/index.ts
|
|
246
|
+
e([u({ type: Array })], y.prototype, "selectedDatasets", void 0), e([u({
|
|
247
|
+
type: String,
|
|
248
|
+
attribute: "button-label"
|
|
249
|
+
})], y.prototype, "buttonLabel", void 0), e([u({
|
|
250
|
+
type: String,
|
|
251
|
+
attribute: "auth-key"
|
|
252
|
+
})], y.prototype, "authKey", void 0), e([u({
|
|
253
|
+
type: String,
|
|
254
|
+
attribute: "auth-token"
|
|
255
|
+
})], y.prototype, "authToken", void 0), e([u({
|
|
256
|
+
type: String,
|
|
257
|
+
attribute: "api-url"
|
|
258
|
+
})], y.prototype, "apiUrl", void 0), e([u({
|
|
259
|
+
type: String,
|
|
260
|
+
attribute: "app-server"
|
|
261
|
+
})], y.prototype, "appServer", void 0), e([u({
|
|
262
|
+
type: Boolean,
|
|
263
|
+
attribute: "flag-opendata"
|
|
264
|
+
})], y.prototype, "flagOpendata", void 0), e([u({
|
|
265
|
+
type: Boolean,
|
|
266
|
+
reflect: !0,
|
|
267
|
+
attribute: "disabled"
|
|
268
|
+
})], y.prototype, "disabled", void 0), e([u({
|
|
269
|
+
type: Boolean,
|
|
270
|
+
attribute: "hide-dataset-icons"
|
|
271
|
+
})], y.prototype, "hideDatasetIcons", void 0), e([d()], y.prototype, "_availableDatasets", void 0), e([d()], y.prototype, "_removalAnnouncement", void 0), e([d()], y.prototype, "_selectValue", void 0), e([d()], y.prototype, "_retrieving", void 0), y = e([f()], y), customElements.get("luzmo-dataset-selector-row") || customElements.define("luzmo-dataset-selector-row", y);
|
|
272
|
+
//#endregion
|
|
273
|
+
export { y as t };
|
|
@@ -0,0 +1,79 @@
|
|
|
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("./data-broker-BH5WDG0j.cjs"),n=require("./get-dataset-name-D4smY8ms.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/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:180px;--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-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.flagOpendata=!1,this.disabled=!1,this.hideDatasetIcons=!1,this._availableDatasets=[],this._removalAnnouncement=``,this._selectValue=[],this._retrieving=!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
|
+
<luzmo-dataset-icon
|
|
22
|
+
slot="icon"
|
|
23
|
+
.datasetInfo=${n}
|
|
24
|
+
size="16px"
|
|
25
|
+
app-url=${this.appServer}
|
|
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))}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.flagOpendata?{public:null}:{}}}_handleSearch(e){if(this.disabled)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.disabled||(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.disabled)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];this.selectedDatasets=e,this.dispatchEvent(new CustomEvent(`dataset-selected`,{detail:n,bubbles:!0,composed:!0}))}this._selectValue=[]}_handleDatasetRemoved(e){if(this.disabled)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
|
+
<luzmo-tag
|
|
29
|
+
class="selected-dataset-tag"
|
|
30
|
+
?deletable=${!this.disabled}
|
|
31
|
+
tabindex=${this.disabled?-1:0}
|
|
32
|
+
aria-label=${this.disabled?n.t(e):(0,o.msg)(o.str`Remove ${n.t(e)}`,{desc:`Accessible label for the delete control on a selected dataset tag; the interpolated value is the dataset name`})}
|
|
33
|
+
@delete=${this._createDatasetRemovedHandler(e)}
|
|
34
|
+
>
|
|
35
|
+
${this.hideDatasetIcons?i.nothing:i.html`
|
|
36
|
+
<luzmo-dataset-icon
|
|
37
|
+
slot="icon"
|
|
38
|
+
.datasetInfo=${e}
|
|
39
|
+
size="16px"
|
|
40
|
+
app-url=${this.appServer}
|
|
41
|
+
></luzmo-dataset-icon>
|
|
42
|
+
`}
|
|
43
|
+
<span class="dataset-tag-label">${n.t(e)}</span>
|
|
44
|
+
</luzmo-tag>
|
|
45
|
+
`}_getDatasetOptions(){return this._availableDatasets.filter(e=>!this._selectedDatasetIds.has(e.id)).map(e=>({value:e.id,label:n.t(e),...this.hideDatasetIcons?{}:{icon:e.subtype===`upload`?r.luzmoFileUploadOutline:r.luzmoPlugin}}))}_renderDatasetSearch(){return i.html`
|
|
46
|
+
<luzmo-select
|
|
47
|
+
class="dataset-search"
|
|
48
|
+
search="on"
|
|
49
|
+
selects="single"
|
|
50
|
+
variant="highlight"
|
|
51
|
+
placement="bottom-start"
|
|
52
|
+
hide-dropdown-icon
|
|
53
|
+
no-wrap
|
|
54
|
+
.label=${this.buttonLabel}
|
|
55
|
+
.options=${this._getDatasetOptions()}
|
|
56
|
+
.value=${this._selectValue}
|
|
57
|
+
.retrieving=${this._retrieving}
|
|
58
|
+
.optionIconRenderer=${this._renderDatasetOptionIcon}
|
|
59
|
+
?disabled=${this.disabled}
|
|
60
|
+
@change=${this._handleDatasetSelected}
|
|
61
|
+
@luzmo-search=${this._handleSearch}
|
|
62
|
+
@luzmo-opened=${this._handleSearchOpened}
|
|
63
|
+
@luzmo-closed=${this._handleSearchClosed}
|
|
64
|
+
>
|
|
65
|
+
<span slot="label" class="dataset-search-trigger-layout">
|
|
66
|
+
<luzmo-icon .icon=${r.luzmoPlus} size="s" aria-hidden="true"></luzmo-icon>
|
|
67
|
+
${this.selectedDatasets.length===0?i.html`<span class="dataset-search-trigger-label">${this.buttonLabel}</span>`:i.nothing}
|
|
68
|
+
</span>
|
|
69
|
+
${this.selectedDatasets.length>0?i.html`<luzmo-tooltip slot="tooltip" self-managed placement="top" size="s">${this.buttonLabel}</luzmo-tooltip>`:i.nothing}
|
|
70
|
+
</luzmo-select>
|
|
71
|
+
`}_createDatasetRemovedHandler(e){return()=>this._handleDatasetRemoved(e)}render(){return i.html`
|
|
72
|
+
${this._renderDatasetSearch()}
|
|
73
|
+
${this.selectedDatasets.length>0?i.html`
|
|
74
|
+
<luzmo-tags class="selected-datasets-tags">
|
|
75
|
+
${(0,s.repeat)(this.selectedDatasets,e=>e.id,e=>this._renderDatasetTag(e))}
|
|
76
|
+
</luzmo-tags>
|
|
77
|
+
`:i.nothing}
|
|
78
|
+
<span class="sr-only" role="status" aria-live="polite">${this._removalAnnouncement}</span>
|
|
79
|
+
`}};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:`flag-opendata`})],d.prototype,`flagOpendata`,void 0),e.t([(0,a.property)({type:Boolean,reflect:!0,attribute:`disabled`})],d.prototype,`disabled`,void 0),e.t([(0,a.property)({type:Boolean,attribute:`hide-dataset-icons`})],d.prototype,`hideDatasetIcons`,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),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}});
|
|
@@ -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
|
+
function e(e){let t=/(?:([^{])?([<>=^]))?([+\- ()])?([$#])?(0)?(\d+)?([,_])?(\.-?\d+)?([a-z%]{1,2})?/i.exec(e)??[];return{fill:t[1]||` `,align:t[2]||`>`,sign:t[3]||`-`,symbol:t[4]||``,zfill:t[5],width:+t[6],comma:t[7],precision:t[8],typeFormat:t[9]}}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
|
|
@@ -0,0 +1,36 @@
|
|
|
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 src/utils/formatter/decompose-numeric-format.ts
|
|
21
|
+
function e(e) {
|
|
22
|
+
let t = /(?:([^{])?([<>=^]))?([+\- ()])?([$#])?(0)?(\d+)?([,_])?(\.-?\d+)?([a-z%]{1,2})?/i.exec(e) ?? [];
|
|
23
|
+
return {
|
|
24
|
+
fill: t[1] || " ",
|
|
25
|
+
align: t[2] || ">",
|
|
26
|
+
sign: t[3] || "-",
|
|
27
|
+
symbol: t[4] || "",
|
|
28
|
+
zfill: t[5],
|
|
29
|
+
width: +t[6],
|
|
30
|
+
comma: t[7],
|
|
31
|
+
precision: t[8],
|
|
32
|
+
typeFormat: t[9]
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { e as t };
|
|
@@ -17,36 +17,12 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
import { n as e, r as t, t as n } from "./set-locale-CamOWu7o.js";
|
|
21
|
-
import { property as r } from "lit/decorators.js";
|
|
22
20
|
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/decorate.js
|
|
23
|
-
function
|
|
21
|
+
function e(e, t, n, r) {
|
|
24
22
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
25
23
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
26
24
|
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
27
25
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
28
26
|
}
|
|
29
27
|
//#endregion
|
|
30
|
-
|
|
31
|
-
var a = (a) => {
|
|
32
|
-
class o extends a {
|
|
33
|
-
constructor(...e) {
|
|
34
|
-
super(...e), this.language = "en";
|
|
35
|
-
}
|
|
36
|
-
firstUpdated(e) {
|
|
37
|
-
super.firstUpdated(e), this._syncLocale();
|
|
38
|
-
}
|
|
39
|
-
willUpdate(e) {
|
|
40
|
-
super.willUpdate(e), e.has("language") && this._syncLocale();
|
|
41
|
-
}
|
|
42
|
-
_syncLocale() {
|
|
43
|
-
this.language !== n() && (t.includes(this.language) || this.language === "en") && e(this.language);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return i([r({
|
|
47
|
-
type: String,
|
|
48
|
-
reflect: !0
|
|
49
|
-
})], o.prototype, "language", void 0), o;
|
|
50
|
-
};
|
|
51
|
-
//#endregion
|
|
52
|
-
export { i as n, a as t };
|
|
28
|
+
export { e 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
|
+
function e(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import '@luzmo/lucero/action-button';
|
|
2
|
+
import '@luzmo/lucero/divider';
|
|
3
|
+
import '@luzmo/lucero/field-label';
|
|
4
|
+
import '@luzmo/lucero/icon';
|
|
5
|
+
import '@luzmo/lucero/multi-language-field';
|
|
6
|
+
import '@luzmo/lucero/progress-circle';
|
|
7
|
+
import '@luzmo/lucero/text-field';
|
|
8
|
+
import '@luzmo/lucero/tooltip';
|
|
9
|
+
import { CSSResultArray, TemplateResult } from 'lit';
|
|
10
|
+
import type { SlotName } from '@luzmo/dashboard-contents-types';
|
|
11
|
+
import { LuzmoElement } from '../../utils/base';
|
|
12
|
+
import type { PeriodOverPeriodCondition } from '../../utils/time/period-over-period-condition.const';
|
|
13
|
+
import type { DatasetDataFields } from '../data-field-panel/types';
|
|
14
|
+
import type { SlotContent } from '../../types/slot.types';
|
|
15
|
+
import { MeasureColumnsItem } from '../slot-menu/types';
|
|
16
|
+
import '../formula';
|
|
17
|
+
declare const LuzmoDisplaySettings_base: typeof LuzmoElement & {
|
|
18
|
+
new (...args: any[]): import("../../utils/base/sized-mixin").SizedElementInterface;
|
|
19
|
+
prototype: import("../../utils/base/sized-mixin").SizedElementInterface;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @customElement luzmo-display-settings
|
|
23
|
+
* @fires {CustomEvent<DisplaySettingsSlotContentChangedEventDetail>} luzmo-slot-content-changed - Event that is fired when the slot content is changed
|
|
24
|
+
* @fires {CustomEvent<DisplaySettingsRemoveSlotContentEventDetail>} luzmo-remove-slot-content - Event that is fired when the remove button is clicked
|
|
25
|
+
* @fires {CustomEvent<InfoVisibilityChangedEventDetail>} luzmo-info-visibility-changed - Event that is fired when the info button is clicked, includes the visibility state and ID values
|
|
26
|
+
*/
|
|
27
|
+
export declare class LuzmoDisplaySettings extends LuzmoDisplaySettings_base {
|
|
28
|
+
static get styles(): CSSResultArray;
|
|
29
|
+
private _loadDisplaySettings;
|
|
30
|
+
/**
|
|
31
|
+
* The language of the settings interface
|
|
32
|
+
*/
|
|
33
|
+
language: string;
|
|
34
|
+
/**
|
|
35
|
+
* The language to use for locale-aware formatting and labels
|
|
36
|
+
*/
|
|
37
|
+
contentLanguage: string;
|
|
38
|
+
/**
|
|
39
|
+
* Whether to show the displaySettings. Is used to hide display Settings in cases where there are multiple columns
|
|
40
|
+
*/
|
|
41
|
+
hideDisplaySettings?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Whether to show the binning in numeric
|
|
44
|
+
*/
|
|
45
|
+
isBinningDisabled?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Whether to show the datetime options
|
|
48
|
+
*/
|
|
49
|
+
areDatetimeOptionsEnabled?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Whether to show the grand totals
|
|
52
|
+
*/
|
|
53
|
+
areGrandTotalsEnabled?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Whether to show the aggregation options
|
|
56
|
+
*/
|
|
57
|
+
isAggregationDisabled?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Whether to show the cumulative sum options
|
|
60
|
+
*/
|
|
61
|
+
isCumulativeSumEnabled?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Whether to show the period-over-period in numeric
|
|
64
|
+
*/
|
|
65
|
+
periodOverPeriodUiType?: PeriodOverPeriodCondition | null;
|
|
66
|
+
/**
|
|
67
|
+
* Whether to show the trash button next to the label
|
|
68
|
+
*/
|
|
69
|
+
showRemoveButton?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* The slot type
|
|
72
|
+
*/
|
|
73
|
+
slotType?: string;
|
|
74
|
+
/** The slot name used to distinguish measure and dimension calculations. */
|
|
75
|
+
slotName: SlotName;
|
|
76
|
+
/** The slot content model (label, formatting, aggregation, etc.) for the field being configured. */
|
|
77
|
+
slotContent: SlotContent;
|
|
78
|
+
/** Datasets used to resolve column names in ad-hoc calculation previews. */
|
|
79
|
+
datasetsDataFields: DatasetDataFields[];
|
|
80
|
+
/**
|
|
81
|
+
* The API URL used when resolving calculation previews by dataset id.
|
|
82
|
+
*/
|
|
83
|
+
apiUrl?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The auth key used when resolving calculation previews by dataset id.
|
|
86
|
+
*/
|
|
87
|
+
authKey?: string;
|
|
88
|
+
/**
|
|
89
|
+
* The auth token used when resolving calculation previews by dataset id.
|
|
90
|
+
*/
|
|
91
|
+
authToken?: string;
|
|
92
|
+
private _showIds;
|
|
93
|
+
/**
|
|
94
|
+
* The list of columns that can be used for the rate aggregation
|
|
95
|
+
*/
|
|
96
|
+
measureColumns: MeasureColumnsItem[];
|
|
97
|
+
private _multiLanguageFieldElement;
|
|
98
|
+
private _settingsTypeLoaded;
|
|
99
|
+
private _currentSlotContent;
|
|
100
|
+
private _lastStoreContent;
|
|
101
|
+
private _store;
|
|
102
|
+
private _datasetDatetimeColumns;
|
|
103
|
+
protected willUpdate(changedProperties: Map<PropertyKey, unknown>): void;
|
|
104
|
+
private get datasetId();
|
|
105
|
+
private get formulaOrColumnId();
|
|
106
|
+
resetInfoVisibility(shouldEmitEvent: boolean): void;
|
|
107
|
+
private _onSlotContentChange;
|
|
108
|
+
private _onLabelChange;
|
|
109
|
+
private _sendEvent;
|
|
110
|
+
private _removeEvent;
|
|
111
|
+
private _toggleIds;
|
|
112
|
+
private _renderExampleRow;
|
|
113
|
+
private _renderDisplaySettings;
|
|
114
|
+
protected render(): TemplateResult | TemplateResult<1> | undefined;
|
|
115
|
+
disconnectedCallback(): void;
|
|
116
|
+
}
|
|
117
|
+
export {};
|
|
@@ -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
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../display-settings-DrcpHnKo.cjs");exports.LuzmoDisplaySettings=e.t;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LuzmoDisplaySettings } from './display-settings';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'luzmo-display-settings': LuzmoDisplaySettings;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export { LuzmoDisplaySettings } from './display-settings';
|
|
8
|
+
export type { InfoVisibilityChangedEventDetail, DisplaySettingsSlotContentChangedEventDetail, DisplaySettingsRemoveSlotContentEventDetail } from './types';
|