@luzmo/analytics-components-kit 1.0.4-beta.2 → 1.0.4-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/index.cjs +1 -1
- package/components/ai-chat/index.js +1 -1
- package/components/ai-chat-CXt4wCe0.js +3715 -0
- package/components/ai-chat-Dnf-C838.cjs +258 -0
- package/components/ai-interaction-textarea/index.cjs +1 -1
- package/components/ai-interaction-textarea/index.js +1 -1
- package/components/ai-interaction-textarea-B_-aZ9mc.cjs +68 -0
- package/components/ai-interaction-textarea-DSrZkuh9.js +299 -0
- package/components/area-chart-options.config-BjdRY1sr.js +146 -0
- package/components/area-chart-options.config-CJYI-zcZ.cjs +20 -0
- package/components/area-chart-positioning.config-PZ-MmeDb.cjs +20 -0
- package/components/area-chart-positioning.config-hLhrDJ3v.js +55 -0
- package/components/area-chart-slots.config-B56LJaky.cjs +20 -0
- package/components/area-chart-slots.config-BpvvqFy_.js +55 -0
- package/components/bar-chart-options.config-D2a-U6kG.cjs +20 -0
- package/components/bar-chart-options.config-DxNHV39Y.js +220 -0
- package/components/bar-chart-positioning.config-C6wWTn1o.js +59 -0
- package/components/bar-chart-positioning.config-DI8tOMbI.cjs +20 -0
- package/components/bar-chart-slots.config-CfIirCOX.js +50 -0
- package/components/bar-chart-slots.config-CkOVmYcA.cjs +20 -0
- package/components/base-BCmPH4SF.cjs +20 -0
- package/components/base-DYkpEuMf.js +249 -0
- package/components/base-store-D0jbv0bE.js +160 -0
- package/components/base-store-ab2wBsBE.cjs +20 -0
- package/components/box-plot-options.config-CXey4hvi.js +296 -0
- package/components/box-plot-options.config-Di28EvZb.cjs +20 -0
- package/components/box-plot-positioning.config-D_qhNWth.cjs +20 -0
- package/components/box-plot-positioning.config-XG-WcIlA.js +48 -0
- package/components/box-plot-slots.config-DL-tTTn9.cjs +20 -0
- package/components/box-plot-slots.config-DclNulnH.js +40 -0
- package/components/bubble-chart-options.config-CeaOv4eF.js +115 -0
- package/components/bubble-chart-options.config-CnpBrIo6.cjs +20 -0
- package/components/bubble-chart-positioning.config-CHYBh_Nb.cjs +20 -0
- package/components/bubble-chart-positioning.config-o_r-GWQG.js +55 -0
- package/components/bubble-chart-slots.config-D7vQta7G.js +47 -0
- package/components/bubble-chart-slots.config-smlOOwcK.cjs +20 -0
- package/components/bullet-chart-options.config-6nATAuC3.cjs +20 -0
- package/components/bullet-chart-options.config-CLn7sV4W.js +75 -0
- package/components/bullet-chart-positioning.config-BF8PflF6.cjs +20 -0
- package/components/bullet-chart-positioning.config-DE5oy4M6.js +56 -0
- package/components/bullet-chart-slots.config-BaTbWYvU.cjs +20 -0
- package/components/bullet-chart-slots.config-IX7zJWc7.js +46 -0
- package/components/choropleth-map-options.config-CmtZtBAC.cjs +20 -0
- package/components/choropleth-map-options.config-DzTlJSO3.js +348 -0
- package/components/choropleth-map-positioning.config-Cf8bEIns.js +55 -0
- package/components/choropleth-map-positioning.config-DT1WWljP.cjs +20 -0
- package/components/choropleth-map-slots.config-ClMcW8wV.cjs +20 -0
- package/components/choropleth-map-slots.config-y0y9rf6i.js +53 -0
- package/components/circle-pack-chart-options.config-BA_G1sQ8.cjs +20 -0
- package/components/circle-pack-chart-options.config-DoLPbnPq.js +54 -0
- package/components/circle-pack-chart-positioning.config-DDpnake6.cjs +20 -0
- package/components/circle-pack-chart-positioning.config-Dy-DZ_de.js +48 -0
- package/components/circle-pack-chart-slots.config-IH2KV7z1.cjs +20 -0
- package/components/circle-pack-chart-slots.config-X9WVAykN.js +38 -0
- package/components/circular-gauge-options.config-BPUFjqx8.js +188 -0
- package/components/circular-gauge-options.config-BtP-YDIr.cjs +20 -0
- package/components/circular-gauge-positioning.config-D2t_3T1J.cjs +20 -0
- package/components/circular-gauge-positioning.config-DljBe7e-.js +48 -0
- package/components/circular-gauge-slots.config-B6ajddW-.cjs +20 -0
- package/components/circular-gauge-slots.config-NIEmIAIG.js +39 -0
- package/components/color-CXw2IfjN.js +3812 -0
- package/components/color-range-utils-u4ziqRRA.js +63 -0
- package/components/column-chart-options.config-DQts3cE4.js +219 -0
- package/components/column-chart-options.config-eJ1Cexxe.cjs +20 -0
- package/components/column-chart-positioning.config-Bob00Qnq.js +55 -0
- package/components/column-chart-positioning.config-Uvvr5PxW.cjs +20 -0
- package/components/column-chart-slots.config-BY6y_rvE.cjs +20 -0
- package/components/column-chart-slots.config-CoFarLvo.js +50 -0
- package/components/combination-chart-options.config-C3kZ2fpK.cjs +20 -0
- package/components/combination-chart-options.config-CjSV6Ic4.js +87 -0
- package/components/combination-chart-positioning.config-BzbcDQ2O.cjs +20 -0
- package/components/combination-chart-positioning.config-DG2CM16I.js +48 -0
- package/components/combination-chart-slots.config-BGRHSwfr.js +43 -0
- package/components/combination-chart-slots.config-Ciza_y3a.cjs +20 -0
- package/components/conditional-number-options.config-CZFqw31c.js +205 -0
- package/components/conditional-number-options.config-CadHLi0m.cjs +20 -0
- package/components/conditional-number-positioning.config-CT8PqxDT.js +48 -0
- package/components/conditional-number-positioning.config-DpORiYgh.cjs +20 -0
- package/components/conditional-number-slots.config-CWX6OuUa.cjs +20 -0
- package/components/conditional-number-slots.config-r_C8T2HH.js +39 -0
- 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/data-broker-BH5WDG0j.cjs +20 -0
- package/components/data-broker-CVDImE1j.js +1674 -0
- package/components/data-field/index.cjs +1 -1
- package/components/data-field/index.js +1 -1
- package/components/data-field-CxUItUcs.cjs +54 -0
- package/components/data-field-RzkD37hR.js +121 -0
- package/components/data-field-level/index.cjs +1 -1
- package/components/data-field-level/index.js +1 -1
- package/components/data-field-level-55bJkqFt.cjs +55 -0
- package/components/data-field-level-zbu4U2m5.js +246 -0
- package/components/data-field-panel/index.cjs +1 -1
- package/components/data-field-panel/index.js +1 -1
- package/components/data-field-panel-C3O77CIF.cjs +87 -0
- package/components/data-field-panel-Ob-hNZwz.js +385 -0
- package/components/data-fields-select/index.cjs +1 -1
- package/components/data-fields-select/index.js +1 -1
- package/components/data-fields-select-CYQy6Ow-.js +262 -0
- package/components/data-fields-select-D-nSjOep.cjs +41 -0
- package/components/dataset-icon/index.js +1 -1
- package/components/dataset-icon-BXEgg_8O.js +125 -0
- package/components/dataset-selector-list/index.cjs +1 -1
- package/components/dataset-selector-list/index.js +1 -1
- package/components/dataset-selector-list-BW5v_7_L.cjs +75 -0
- package/components/dataset-selector-list-DwfeaUGu.js +313 -0
- package/components/dataset-selector-row/index.cjs +1 -1
- package/components/dataset-selector-row/index.js +1 -1
- package/components/dataset-selector-row-BU7YhT7l.cjs +79 -0
- package/components/dataset-selector-row-CLbx0joD.js +273 -0
- package/components/date-comparison-filter-options.config--clPxHFt.cjs +20 -0
- package/components/date-comparison-filter-options.config-s16IGX_4.js +126 -0
- package/components/date-comparison-filter-slots.config-DQBKeCRX.js +33 -0
- package/components/date-comparison-filter-slots.config-KO9B0lfS.cjs +20 -0
- package/components/date-filter-options.config-BdNFe-Ds.cjs +20 -0
- package/components/date-filter-options.config-ChFEIjN3.js +118 -0
- package/components/date-filter-slots.config-BrQoD-EF.cjs +20 -0
- package/components/date-filter-slots.config-DREsncpE.js +37 -0
- package/components/de-BY1wWZE8.cjs +20 -0
- package/components/de-D-xQoqdB.js +473 -0
- package/components/decorate-CaYbmmmm.js +28 -0
- package/components/display-settings/index.cjs +1 -1
- package/components/display-settings/index.js +1 -1
- package/components/display-settings-COYLimuI.cjs +120 -0
- package/components/display-settings-ajA8j6kr.js +272 -0
- package/components/display-settings-binning/index.cjs +1 -1
- package/components/display-settings-binning/index.js +1 -1
- package/components/display-settings-binning-GKaol6nW.cjs +56 -0
- package/components/display-settings-binning-MHns2Ns6.js +110 -0
- package/components/display-settings-datetime/index.cjs +1 -1
- package/components/display-settings-datetime/index.js +1 -1
- package/components/display-settings-datetime-CLRXVpld.cjs +217 -0
- package/components/display-settings-datetime-D5eBAfWQ.js +413 -0
- package/components/display-settings-grand-totals/index.cjs +1 -1
- package/components/display-settings-grand-totals/index.js +1 -1
- package/components/display-settings-grand-totals-CpulhtNX.js +89 -0
- package/components/display-settings-grand-totals-DltI_Z-x.cjs +44 -0
- package/components/display-settings-numeric/index.cjs +1 -1
- package/components/display-settings-numeric/index.js +1 -1
- package/components/display-settings-numeric-CurqaTi5.cjs +190 -0
- package/components/display-settings-numeric-DnyXOV_x.js +479 -0
- package/components/display-settings-period-over-period/index.cjs +1 -1
- package/components/display-settings-period-over-period/index.js +1 -1
- package/components/display-settings-period-over-period-DP2grX4n.cjs +229 -0
- package/components/display-settings-period-over-period-Do4qG7yY.js +433 -0
- package/components/donut-chart-options.config-K-HkE7sL.cjs +20 -0
- package/components/donut-chart-options.config-WNOpb2n9.js +207 -0
- package/components/donut-chart-positioning.config-BLnTmwTZ.cjs +20 -0
- package/components/donut-chart-positioning.config-Bl96um6F.js +48 -0
- package/components/donut-chart-slots.config-DEQ3Cw6c.js +39 -0
- package/components/donut-chart-slots.config-RxPnpO6M.cjs +20 -0
- package/components/dropdown-filter-options.config-B-Vvy0Nq.cjs +20 -0
- package/components/dropdown-filter-options.config-DBNawOPR.js +153 -0
- package/components/dropdown-filter-slots.config-BBZChIHC.cjs +20 -0
- package/components/dropdown-filter-slots.config-DcStZGjV.js +38 -0
- package/components/en-B34alchz.cjs +20 -0
- package/components/en-GB-B3xz84vF.cjs +20 -0
- package/components/en-US-B34alchz.cjs +20 -0
- package/components/es-BIaD4kOL.cjs +20 -0
- package/components/es-CLnBAiLu.js +473 -0
- package/components/evolution-number-options.config-Bt1FZqqQ.cjs +20 -0
- package/components/evolution-number-options.config-CrIM2GTn.js +228 -0
- package/components/evolution-number-positioning.config-DSoC35zp.cjs +20 -0
- package/components/evolution-number-positioning.config-DXNPD29G.js +48 -0
- package/components/evolution-number-slots.config-Bq_JlxgK.js +37 -0
- package/components/evolution-number-slots.config-CYxdcD-x.cjs +20 -0
- package/components/filter-expression-picker/index.cjs +1 -1
- package/components/filter-expression-picker/index.js +1 -1
- package/components/filter-expression-picker-0eNf_L9I.cjs +38 -0
- package/components/filter-expression-picker-D_buTmzJ.js +425 -0
- package/components/filter-item/index.cjs +1 -1
- package/components/filter-item/index.js +1 -1
- package/components/filter-item-DGnRmeaB.cjs +58 -0
- package/components/filter-item-VzEHDr04.js +242 -0
- package/components/filter-parameter-picker/index.js +1 -1
- package/components/filter-value-picker/index.cjs +1 -1
- package/components/filter-value-picker/index.js +1 -1
- package/components/filter-value-picker-C1lDTmKM.cjs +60 -0
- package/components/filter-value-picker-CIblY-PW.js +151 -0
- package/components/filter-value-picker-datetime/index.cjs +1 -1
- package/components/filter-value-picker-datetime/index.js +1 -1
- package/components/filter-value-picker-datetime-DQpEf_tv.js +139 -0
- package/components/filter-value-picker-datetime-dCo1_pma.cjs +42 -0
- package/components/filter-value-picker-hierarchy/index.cjs +1 -1
- package/components/filter-value-picker-hierarchy/index.js +1 -1
- package/components/filter-value-picker-hierarchy-DaZlasgM.cjs +47 -0
- package/components/filter-value-picker-hierarchy-DzHUrpyk.js +232 -0
- package/components/filter-value-picker-numeric/index.cjs +1 -1
- package/components/filter-value-picker-numeric/index.js +1 -1
- package/components/filter-value-picker-numeric-BU975w8c.js +219 -0
- package/components/filter-value-picker-numeric-D-dUSGAP.cjs +48 -0
- package/components/filters/index.cjs +1 -1
- package/components/filters/index.js +1 -1
- package/components/filters-BgTnxSKg.js +400 -0
- package/components/filters-Cx1S1-vx.cjs +150 -0
- package/components/formatter-8m-wrIM-.cjs +20 -0
- package/components/formula/index.cjs +1 -1
- package/components/formula/index.js +1 -1
- package/components/formula-CeDEKB7D.js +138 -0
- package/components/formula-D7E8UieE.cjs +45 -0
- package/components/formula-codemirror-CFMYytMd.cjs +215 -0
- package/components/formula-codemirror-MygWCu2u.js +11973 -0
- package/components/formula-display-store-BYa910x_.js +1086 -0
- package/components/formula-display-store-DjjsQ5mW.cjs +20 -0
- package/components/formula-editor/index.cjs +1 -1
- package/components/formula-editor/index.js +3 -3
- package/components/formula-editor-4PoZ3BlC.cjs +218 -0
- package/components/formula-editor-DeYzzLDr.js +666 -0
- package/components/formula-field/index.cjs +1 -1
- package/components/formula-field/index.js +1 -1
- package/components/formula-field-DXdxspyY.js +40 -0
- package/components/formula-field-DkKXMIMg.cjs +20 -0
- package/components/formula-input-base-Bz_XVZcs.cjs +49 -0
- package/components/formula-input-base-Dok5ujvH.js +236 -0
- package/components/fr-CHG2Tcby.cjs +20 -0
- package/components/fr-DIwbOnwC.js +473 -0
- package/components/funnel-chart-options.config-BAIgb6x9.cjs +20 -0
- package/components/funnel-chart-options.config-k0X4rkj-.js +187 -0
- package/components/funnel-chart-positioning.config-BcsV1xp7.cjs +20 -0
- package/components/funnel-chart-positioning.config-CWSM8nTo.js +48 -0
- package/components/funnel-chart-slots.config-CSI5mdma.cjs +20 -0
- package/components/funnel-chart-slots.config-DKhaZf_r.js +43 -0
- package/components/get-css-variable-Bpma6ZOo.js +63 -0
- package/components/get-css-variable-rHTFFWYM.cjs +20 -0
- package/components/get-dataset-name-Dwuh7DWE.cjs +20 -0
- package/components/get-dataset-name-SfDNjsuR.js +27 -0
- package/components/groupings-BNrLlXIB.cjs +20 -0
- package/components/groupings-okwLJKoG.js +52 -0
- package/components/heat-map-options.config-Ct-93RVQ.cjs +20 -0
- package/components/heat-map-options.config-_xxAm6iG.js +224 -0
- package/components/heat-map-positioning.config-C0dkG5_9.cjs +20 -0
- package/components/heat-map-positioning.config-DQJP4mTG.js +48 -0
- package/components/heat-map-slots.config-BDfEGgq5.js +37 -0
- package/components/heat-map-slots.config-D0mwjImu.cjs +20 -0
- package/components/heat-table-options.config-7IS5wa9l.cjs +20 -0
- package/components/heat-table-options.config-DxRbWqJ8.js +372 -0
- package/components/heat-table-positioning.config-BzSpf7ed.cjs +20 -0
- package/components/heat-table-positioning.config-WUHNZPT-.js +55 -0
- package/components/heat-table-slots.config-CH6Q9203.cjs +20 -0
- package/components/heat-table-slots.config-CVh1TEJJ.js +49 -0
- package/components/hexbin-map-options.config-CUAv6zuD.cjs +20 -0
- package/components/hexbin-map-options.config-CmAmK-jM.js +276 -0
- package/components/hexbin-map-positioning.config-CJPhgdt2.js +48 -0
- package/components/hexbin-map-positioning.config-Cno9WIc9.cjs +20 -0
- package/components/hexbin-map-slots.config-BdkQVzI7.cjs +20 -0
- package/components/hexbin-map-slots.config-rxPZ4kwL.js +37 -0
- package/components/image-options.config-DJ2DEf7g.js +153 -0
- package/components/image-options.config-DXqA7sAa.cjs +20 -0
- package/components/image-slots.config-DprzKxj3.cjs +20 -0
- package/components/image-slots.config-bDNDmiWy.js +24 -0
- package/components/index.cjs +1 -1
- package/components/index.js +63 -62
- 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-63pap_oz.cjs +247 -0
- package/components/interactive-viz-item-QVji6wbp.js +693 -0
- package/components/item-grid/index.cjs +1 -1
- package/components/item-grid/index.js +1 -1
- package/components/item-grid-CO_cqGqJ.js +4559 -0
- package/components/item-grid-CRAoMdCq.cjs +113 -0
- package/components/item-option/index.cjs +1 -1
- package/components/item-option/index.js +1 -1
- package/components/item-option-Bc6qXONK.js +969 -0
- 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-VpgTKSIV.js +118 -0
- package/components/item-option-action-button-group-jPUDKP3M.cjs +53 -0
- package/components/item-option-base-Bk9L8Ie7.cjs +56 -0
- package/components/item-option-base-VV7gyznL.js +123 -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-CQgG_NPQ.js +2041 -0
- package/components/item-option-color-palette-picker-kch0Ep_5.cjs +40 -0
- 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-BmQBTQzb.js +87 -0
- package/components/item-option-color-picker-DeDwpICb.cjs +34 -0
- 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-Cj6sZ72F.cjs +98 -0
- package/components/item-option-color-range-D2kHXssY.js +220 -0
- package/components/item-option-iQM2pOGK.cjs +252 -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-Cc9ph205.cjs +33 -0
- package/components/item-option-multi-language-field-DbqcqhhN.js +82 -0
- 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-B6GFKuLN.cjs +38 -0
- package/components/item-option-number-field-BbCVJeXZ.js +102 -0
- package/components/item-option-panel/index.cjs +1 -1
- package/components/item-option-panel/index.js +1 -1
- package/components/item-option-panel-6UFGCcnF.cjs +67 -0
- package/components/item-option-panel-CrNZ0xIF.js +183 -0
- package/components/item-option-picker/index.cjs +1 -1
- package/components/item-option-picker/index.js +1 -1
- package/components/item-option-picker-DJKTAG9w.cjs +37 -0
- package/components/item-option-picker-YquXTQNY.js +77 -0
- 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-Csc4Y6dN.cjs +32 -0
- package/components/item-option-position-picker-DKvsF-VQ.js +117 -0
- 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-Bxcbu_IR.js +164 -0
- package/components/item-option-positions-number-field-DBV6Yekk.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-Bzh4RtSn.cjs +37 -0
- package/components/item-option-radio-button-group-Cw-xUSUS.js +74 -0
- package/components/item-option-slider/index.cjs +1 -1
- package/components/item-option-slider/index.js +1 -1
- package/components/item-option-slider-BwQnaxvO.js +81 -0
- package/components/item-option-slider-DUqo3Fw0.cjs +33 -0
- package/components/item-option-switch/index.cjs +1 -1
- package/components/item-option-switch/index.js +1 -1
- package/components/item-option-switch-DBsakQjy.cjs +30 -0
- package/components/item-option-switch-IixoilYJ.js +69 -0
- 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-B4V_sKnM.cjs +33 -0
- package/components/item-option-text-field-CdWylobQ.js +80 -0
- package/components/item-options-configs.cjs +1 -1
- package/components/item-options-configs.js +45 -45
- package/components/item-slot-drop/index.cjs +1 -1
- package/components/item-slot-drop/index.js +1 -1
- package/components/item-slot-drop-BmvMi3dI.js +324 -0
- package/components/item-slot-drop-D8KI2kny.cjs +91 -0
- 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-Crw-ktDj.cjs +57 -0
- package/components/item-slot-drop-panel-D5vaJidp.js +355 -0
- package/components/item-slot-picker/index.cjs +1 -1
- package/components/item-slot-picker/index.js +1 -1
- package/components/item-slot-picker-BZV33YoP.js +474 -0
- package/components/item-slot-picker-BgQAviso.cjs +158 -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-C26kZ4zE.cjs +81 -0
- package/components/item-slot-picker-panel-DyhRlAKN.js +448 -0
- package/components/item-slots-configs.cjs +1 -1
- package/components/item-slots-configs.js +45 -45
- package/components/line-chart-options.config-CfHRdG6O.js +168 -0
- package/components/line-chart-options.config-DKQ1k4lg.cjs +20 -0
- package/components/line-chart-positioning.config-Cfcgse1N.js +55 -0
- package/components/line-chart-positioning.config-pSGQm1C1.cjs +20 -0
- package/components/line-chart-slots.config-Cjp4btvG.cjs +20 -0
- package/components/line-chart-slots.config-DKy4D4Yt.js +55 -0
- 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-BYWQe1fg.js +45 -0
- package/components/localized-mixin-DrK3QZNa.cjs +20 -0
- package/components/marker-map-options.config-C_aGdRQQ.js +117 -0
- package/components/marker-map-options.config-DBPPcGN4.cjs +20 -0
- package/components/marker-map-positioning.config-B-HitobG.cjs +20 -0
- package/components/marker-map-positioning.config-DTCPGbnG.js +48 -0
- package/components/marker-map-slots.config-BKRRAGwB.js +37 -0
- package/components/marker-map-slots.config-BOQ8AwRv.cjs +20 -0
- package/components/nl-C_g1Le3t.js +473 -0
- package/components/nl-PxN5EqzT.cjs +20 -0
- package/components/ohlc-chart-options.config-Bd-vLN0I.js +65 -0
- package/components/ohlc-chart-options.config-D9h-VLdq.cjs +20 -0
- package/components/ohlc-chart-positioning.config-D0kJJkXw.js +78 -0
- package/components/ohlc-chart-positioning.config-NhpIR1T3.cjs +20 -0
- package/components/ohlc-chart-slots.config-CUBUexI-.cjs +20 -0
- package/components/ohlc-chart-slots.config-DC8NCD0o.js +68 -0
- package/components/parallel-coordinates-plot-options.config-BUo6XxfP.js +42 -0
- package/components/parallel-coordinates-plot-options.config-ovgY0A7j.cjs +20 -0
- package/components/parallel-coordinates-plot-positioning.config-DLF0U4lZ.cjs +20 -0
- package/components/parallel-coordinates-plot-positioning.config-Dzd0eaka.js +48 -0
- package/components/parallel-coordinates-plot-slots.config-BXZ-NmbH.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config-Dy-9mztD.js +46 -0
- package/components/pivot-table-options.config-BxKo1DCU.cjs +20 -0
- package/components/pivot-table-options.config-DrzB4qVX.js +245 -0
- package/components/pivot-table-positioning.config-BvUjUkG3.cjs +20 -0
- package/components/pivot-table-positioning.config-PKXfqjiN.js +55 -0
- package/components/pivot-table-slots.config-OQe8tS40.js +55 -0
- package/components/pivot-table-slots.config-VxbOGtmB.cjs +20 -0
- package/components/pragmatic-element-adapter-BFUFSRw6.js +1252 -0
- package/components/pragmatic-element-adapter-CKhTZWGj.cjs +24 -0
- package/components/pyramid-chart-options.config-Dux8839h.js +240 -0
- package/components/pyramid-chart-options.config-lioHQSoq.cjs +20 -0
- package/components/pyramid-chart-positioning.config-48iZhPdi.cjs +20 -0
- package/components/pyramid-chart-positioning.config-C8yiD0R3.js +55 -0
- package/components/pyramid-chart-slots.config-CN_Q2YsP.cjs +20 -0
- package/components/pyramid-chart-slots.config-DwlZaBAF.js +50 -0
- package/components/radar-chart-options.config-ColtKo6Z.js +130 -0
- package/components/radar-chart-options.config-DhnoFEzo.cjs +20 -0
- package/components/radar-chart-positioning.config-CpqhJjoz.cjs +20 -0
- package/components/radar-chart-positioning.config-L5Eu5W1I.js +55 -0
- package/components/radar-chart-slots.config-BISYnTom.cjs +20 -0
- package/components/radar-chart-slots.config-BuHg4Zeg.js +53 -0
- package/components/regular-table-options.config-Bk6CBPgj.cjs +20 -0
- package/components/regular-table-options.config-DopdB4eB.js +148 -0
- package/components/regular-table-slots.config--SVEN5Cu.js +35 -0
- package/components/regular-table-slots.config-BU6Ff96U.cjs +20 -0
- package/components/route-map-options.config-BCuJw5k3.js +326 -0
- package/components/route-map-options.config-CAi93e7I.cjs +20 -0
- package/components/route-map-positioning.config-DTwMkeiu.cjs +20 -0
- package/components/route-map-positioning.config-DVb_Jiws.js +66 -0
- package/components/route-map-slots.config-CmVIxDkx.js +59 -0
- package/components/route-map-slots.config-Dznp0DT3.cjs +20 -0
- package/components/sankey-diagram-options.config-BH3kpjFs.js +126 -0
- package/components/sankey-diagram-options.config-D7ZrZV0g.cjs +20 -0
- package/components/sankey-diagram-positioning.config-Dk0siSAo.js +66 -0
- package/components/sankey-diagram-positioning.config-_kyrBnJ4.cjs +20 -0
- package/components/sankey-diagram-slots.config-TKCUvHOD.cjs +20 -0
- package/components/sankey-diagram-slots.config-lbkF8DWJ.js +61 -0
- package/components/scatter-plot-options.config-DXqKb34r.cjs +20 -0
- package/components/scatter-plot-options.config-Dn6ILlJw.js +302 -0
- package/components/scatter-plot-positioning.config-440yA7x5.js +77 -0
- package/components/scatter-plot-positioning.config-DaYstFV8.cjs +20 -0
- package/components/scatter-plot-slots.config-CPsk9FUg.cjs +20 -0
- package/components/scatter-plot-slots.config-DEFWWj0_.js +74 -0
- package/components/search-filter-options.config-DWKVxBc5.js +103 -0
- package/components/search-filter-options.config-DojMfRR_.cjs +20 -0
- package/components/search-filter-slots.config-AhwsTdYC.cjs +20 -0
- package/components/search-filter-slots.config-vyPYIXE7.js +39 -0
- package/components/set-locale-DB1FMgtK.js +43 -0
- package/components/set-locale-DKCZkJVL.cjs +20 -0
- package/components/slicer-filter-options.config-BhLn4U1W.cjs +20 -0
- package/components/slicer-filter-options.config-C6HPrjIw.js +226 -0
- package/components/slicer-filter-positioning.config-B6wPo539.js +48 -0
- package/components/slicer-filter-positioning.config-DdfTuXdV.cjs +20 -0
- package/components/slicer-filter-slots.config-BZWCSkX4.js +44 -0
- package/components/slicer-filter-slots.config-zV15NWWS.cjs +20 -0
- package/components/slider-filter-options.config-B8am9mmE.cjs +20 -0
- package/components/slider-filter-options.config-CvqHWJIX.js +72 -0
- package/components/slider-filter-slots.config-BY9X2rlz.js +43 -0
- package/components/slider-filter-slots.config-D9Hra0zE.cjs +20 -0
- package/components/slot-menu/index.cjs +1 -1
- package/components/slot-menu/index.js +1 -1
- package/components/slot-menu-BBnibMJU.cjs +64 -0
- package/components/slot-menu-list/index.cjs +1 -1
- package/components/slot-menu-list/index.js +1 -1
- package/components/slot-menu-list-D193fsQX.cjs +38 -0
- package/components/slot-menu-list-gKDiWsHB.js +325 -0
- package/components/slot-menu-w7sla2N0.js +400 -0
- package/components/slots-config-DIBoffEb.js +77 -0
- package/components/slots-config-YdyClHLc.cjs +20 -0
- package/components/speedometer-chart-options.config-DEW_D9w1.cjs +20 -0
- package/components/speedometer-chart-options.config-wX3KzciD.js +246 -0
- package/components/speedometer-chart-positioning.config-BVYrl1_s.cjs +20 -0
- package/components/speedometer-chart-positioning.config-rI2Jxymu.js +48 -0
- package/components/speedometer-chart-slots.config-0Tv8EtKT.js +39 -0
- package/components/speedometer-chart-slots.config-1BqQZ2vP.cjs +20 -0
- package/components/spike-map-options.config-DpgsB_L-.js +413 -0
- package/components/spike-map-options.config-LPAyKMHe.cjs +20 -0
- package/components/spike-map-positioning.config-2XZLrk9D.cjs +20 -0
- package/components/spike-map-positioning.config-CiY2ju4c.js +55 -0
- package/components/spike-map-slots.config-B7OehIoc.cjs +20 -0
- package/components/spike-map-slots.config-C6e0NXiD.js +47 -0
- package/components/strip-plot-options.config-BzhxzU-s.js +53 -0
- package/components/strip-plot-options.config-vBd38UQs.cjs +20 -0
- package/components/strip-plot-positioning.config-CFQPdgei.js +48 -0
- package/components/strip-plot-positioning.config-CkC8JUwR.cjs +20 -0
- package/components/strip-plot-slots.config-BjwAuVoh.js +38 -0
- package/components/strip-plot-slots.config-CAU0z3q4.cjs +20 -0
- package/components/sunburst-chart-options.config-Ba_H54ip.js +160 -0
- package/components/sunburst-chart-options.config-CUFOuT2J.cjs +20 -0
- package/components/sunburst-chart-positioning.config-BHJf7n-T.js +48 -0
- package/components/sunburst-chart-positioning.config-DVt84HYB.cjs +20 -0
- package/components/sunburst-chart-slots.config-BCNUNkd9.cjs +20 -0
- package/components/sunburst-chart-slots.config-h114Cuzh.js +38 -0
- package/components/symbol-map-options.config-CR07hvK0.cjs +20 -0
- package/components/symbol-map-options.config-DeJyZILi.js +157 -0
- package/components/symbol-map-positioning.config-DQK1q4GP.cjs +20 -0
- package/components/symbol-map-positioning.config-tZp8vwwl.js +55 -0
- package/components/symbol-map-slots.config-BmvI5_VE.js +53 -0
- package/components/symbol-map-slots.config-Dz_tor5P.cjs +20 -0
- package/components/text-options.config-BXuZMKTG.js +67 -0
- package/components/text-options.config-JI2D64hs.cjs +20 -0
- package/components/text-slots.config-0A6csMfd.cjs +20 -0
- package/components/text-slots.config-18Chz73A.js +24 -0
- package/components/treemap-chart-options.config-Be-LBEGy.js +184 -0
- package/components/treemap-chart-options.config-p21eSXKG.cjs +20 -0
- package/components/treemap-chart-positioning.config-CEYAh7Uc.js +55 -0
- package/components/treemap-chart-positioning.config-DQfHJ-ZS.cjs +20 -0
- package/components/treemap-chart-slots.config-BJqqnUEF.cjs +20 -0
- package/components/treemap-chart-slots.config-e7ORieH-.js +47 -0
- package/components/utils/base.cjs +1 -1
- package/components/utils/base.js +2 -2
- package/components/utils/store.cjs +1 -1
- package/components/utils/store.js +2 -2
- package/components/utils-CJf8VNzX.cjs +20 -0
- package/components/utils-Ci1YA9yB.js +352 -0
- package/components/utils.cjs +1 -1
- package/components/utils.js +9 -9
- package/components/v4-BK7K-jy_.js +49 -0
- package/components/validate-CJkVJaL1.cjs +20 -0
- package/components/validate-J3P0rm_n.js +28 -0
- package/components/venn-diagram-options.config-D3bEFsYa.js +24 -0
- package/components/venn-diagram-options.config-EmRhf40r.cjs +20 -0
- package/components/venn-diagram-positioning.config-2rUFGTJh.js +55 -0
- package/components/venn-diagram-positioning.config-DQa6-GAn.cjs +20 -0
- package/components/venn-diagram-slots.config-Dm-IC6JS.js +47 -0
- package/components/venn-diagram-slots.config-MpkJTf5q.cjs +20 -0
- package/components/video-options.config-B5aOwGa4.js +127 -0
- package/components/video-options.config-Dh_lU4c1.cjs +20 -0
- package/components/video-slots.config-Bmh6mcUv.cjs +20 -0
- package/components/video-slots.config-D2MtpAGI.js +24 -0
- package/components/viz-item-menu/index.cjs +1 -1
- package/components/viz-item-menu/index.js +1 -1
- package/components/viz-item-menu-B4BJBNEq.js +170 -0
- package/components/viz-item-menu-DD8ndROu.cjs +55 -0
- package/components/wordcloud-chart-options.config-DntH4Hvg.js +90 -0
- package/components/wordcloud-chart-options.config-mx2CbmrI.cjs +20 -0
- package/components/wordcloud-chart-positioning.config-C3Zulr2Q.js +55 -0
- package/components/wordcloud-chart-positioning.config-DhoAsQP-.cjs +20 -0
- package/components/wordcloud-chart-slots.config-C303nwAz.cjs +20 -0
- package/components/wordcloud-chart-slots.config-CsFBBXDz.js +45 -0
- package/custom-elements.json +487 -0
- package/index.d.ts +1 -0
- package/package.json +7 -2
- package/react/README.md +1 -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/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/index.d.ts +3 -2
- package/react/esm/index.js +4 -0
- package/react/index.ts +4 -0
- package/react/luzmo-stub.d.ts +8 -0
- package/react/utils/store/index.d.ts +5 -5
- package/react/utils/store/store-registry.d.ts +1 -1
- package/utils/store/index.d.ts +5 -5
- package/utils/store/store-registry.d.ts +1 -1
- package/components/ai-chat-BMDfKnEj.cjs +0 -258
- package/components/ai-chat-Cd26aDpX.js +0 -3718
- package/components/ai-interaction-textarea-CPfJqTB0.cjs +0 -68
- package/components/ai-interaction-textarea-DkBglh6Q.js +0 -299
- package/components/area-chart-options.config-4OY_kXkB.js +0 -146
- package/components/area-chart-options.config-Cf1VrUNv.cjs +0 -20
- package/components/area-chart-positioning.config-CAPrtEZW.js +0 -55
- package/components/area-chart-positioning.config-CfC43YUW.cjs +0 -20
- package/components/area-chart-slots.config--pd_dBTn.js +0 -55
- package/components/area-chart-slots.config-BOhwdLnr.cjs +0 -20
- package/components/bar-chart-options.config-BF7Q15FL.cjs +0 -20
- package/components/bar-chart-options.config-C3puwFpi.js +0 -220
- package/components/bar-chart-positioning.config-C1MLYyl9.js +0 -59
- package/components/bar-chart-positioning.config-vJOALpQP.cjs +0 -20
- package/components/bar-chart-slots.config-DMWjAd5a.cjs +0 -20
- package/components/bar-chart-slots.config-Dr7v4xxd.js +0 -50
- package/components/base-B_wdCOxV.js +0 -249
- package/components/base-kQ6cjcIZ.cjs +0 -20
- package/components/base-store-DHC2m2Os.cjs +0 -20
- package/components/base-store-DmDe0dTU.js +0 -160
- package/components/box-plot-options.config-B486nCds.js +0 -296
- package/components/box-plot-options.config-BkD5CYGz.cjs +0 -20
- package/components/box-plot-positioning.config-CA27sCpO.js +0 -48
- package/components/box-plot-positioning.config-DVNeh9kg.cjs +0 -20
- package/components/box-plot-slots.config-5B_pTjPJ.cjs +0 -20
- package/components/box-plot-slots.config-Bdb7pkky.js +0 -40
- package/components/bubble-chart-options.config-4f9FUNhc.cjs +0 -20
- package/components/bubble-chart-options.config-BymUqNR5.js +0 -115
- package/components/bubble-chart-positioning.config-Dg92VJnB.cjs +0 -20
- package/components/bubble-chart-positioning.config-OlbBZU4m.js +0 -55
- package/components/bubble-chart-slots.config-B4tsJDuz.js +0 -47
- package/components/bubble-chart-slots.config-VHKuntJk.cjs +0 -20
- package/components/bullet-chart-options.config-BtyRdRk2.js +0 -75
- package/components/bullet-chart-options.config-DDygYBiy.cjs +0 -20
- package/components/bullet-chart-positioning.config-BwqxpSSL.cjs +0 -20
- package/components/bullet-chart-positioning.config-Y18yvzoc.js +0 -56
- package/components/bullet-chart-slots.config-CZfTgKZ4.cjs +0 -20
- package/components/bullet-chart-slots.config-ccCSNJ5q.js +0 -46
- package/components/choropleth-map-options.config-5W6nNlL7.cjs +0 -20
- package/components/choropleth-map-options.config-CqCciAvW.js +0 -348
- package/components/choropleth-map-positioning.config-Dmzy3fMc.js +0 -55
- package/components/choropleth-map-positioning.config-y-bYMoxr.cjs +0 -20
- package/components/choropleth-map-slots.config-CZKWF1qV.cjs +0 -20
- package/components/choropleth-map-slots.config-X2YYrSXc.js +0 -53
- package/components/circle-pack-chart-options.config-CD8MWMTw.cjs +0 -20
- package/components/circle-pack-chart-options.config-D9C-ltHA.js +0 -54
- package/components/circle-pack-chart-positioning.config-YDdY2cc2.js +0 -48
- package/components/circle-pack-chart-positioning.config-wKIQDFe8.cjs +0 -20
- package/components/circle-pack-chart-slots.config-BIO1dZsK.js +0 -38
- package/components/circle-pack-chart-slots.config-GL7T5_o4.cjs +0 -20
- package/components/circular-gauge-options.config-D9gcbX57.cjs +0 -20
- package/components/circular-gauge-options.config-De6SlTLT.js +0 -188
- package/components/circular-gauge-positioning.config-C41euPS9.js +0 -48
- package/components/circular-gauge-positioning.config-CKNanoFX.cjs +0 -20
- package/components/circular-gauge-slots.config-DUHabt3G.cjs +0 -20
- package/components/circular-gauge-slots.config-Dv_7fAD_.js +0 -39
- package/components/color-BWnYpOu7.js +0 -3812
- package/components/color-range-utils-CwwtLDX_.js +0 -63
- package/components/column-chart-options.config-5Dbg3FmH.js +0 -219
- package/components/column-chart-options.config-CiIw23Yo.cjs +0 -20
- package/components/column-chart-positioning.config-BdyuErF8.js +0 -55
- package/components/column-chart-positioning.config-Enx15Dqh.cjs +0 -20
- package/components/column-chart-slots.config-CM5aytbj.cjs +0 -20
- package/components/column-chart-slots.config-eHvTwZLX.js +0 -50
- package/components/combination-chart-options.config-BzmLGCal.js +0 -87
- package/components/combination-chart-options.config-DaTYSfnr.cjs +0 -20
- package/components/combination-chart-positioning.config-BQRn0EfF.js +0 -48
- package/components/combination-chart-positioning.config-CqlKA__j.cjs +0 -20
- package/components/combination-chart-slots.config-BwUOXFCR.cjs +0 -20
- package/components/combination-chart-slots.config-CG40JjE3.js +0 -43
- package/components/conditional-number-options.config-BPzCxo2q.cjs +0 -20
- package/components/conditional-number-options.config-CVgV7s7f.js +0 -205
- package/components/conditional-number-positioning.config-BBivi4ps.js +0 -48
- package/components/conditional-number-positioning.config-CR45rPru.cjs +0 -20
- package/components/conditional-number-slots.config-B7maHIaG.cjs +0 -20
- package/components/conditional-number-slots.config-o22l-qLv.js +0 -39
- package/components/data-broker-Bdv5V8Yp.js +0 -1680
- package/components/data-broker-DWEXs6-2.cjs +0 -20
- package/components/data-field-CAGprHjS.cjs +0 -54
- package/components/data-field-CLfUWgK9.js +0 -121
- package/components/data-field-level-7qi9K__S.cjs +0 -55
- package/components/data-field-level-CfJ0dmxo.js +0 -247
- package/components/data-field-panel-DUc8y4WA.cjs +0 -87
- package/components/data-field-panel-N7mukLj6.js +0 -385
- package/components/data-fields-select-B1pwPYt6.js +0 -262
- package/components/data-fields-select-qCWuzckJ.cjs +0 -41
- package/components/dataset-icon-CWT5Ju8w.js +0 -125
- package/components/dataset-selector-list-BPBZ04Lf.cjs +0 -75
- package/components/dataset-selector-list-DmajZuNC.js +0 -313
- package/components/dataset-selector-row-SJzYIpO6.js +0 -273
- package/components/dataset-selector-row-qxfmcxpm.cjs +0 -79
- package/components/date-comparison-filter-options.config-4yHPEJSU.cjs +0 -20
- package/components/date-comparison-filter-options.config-BJg_WqL4.js +0 -126
- package/components/date-comparison-filter-slots.config-BIK5aZ6P.js +0 -33
- package/components/date-comparison-filter-slots.config-oABOLs3D.cjs +0 -20
- package/components/date-filter-options.config-AFAngO_i.cjs +0 -20
- package/components/date-filter-options.config-N6eGgPGL.js +0 -118
- package/components/date-filter-slots.config-CJJ4P0v6.js +0 -37
- package/components/date-filter-slots.config-Cuzz0RjE.cjs +0 -20
- package/components/de-BHQ-FfU0.js +0 -465
- package/components/de-DnADyZVQ.cjs +0 -20
- package/components/decorate-DyMgX_Uh.js +0 -28
- package/components/default-acceptable-data-field-types-DFOFWWnT.js +0 -53
- package/components/default-acceptable-data-field-types-fPsz64ka.cjs +0 -20
- package/components/display-settings-CkkjJjem.js +0 -272
- package/components/display-settings-DnzOjr-1.cjs +0 -120
- package/components/display-settings-binning-BohjN2qK.js +0 -110
- package/components/display-settings-binning-C7-gByrp.cjs +0 -56
- package/components/display-settings-datetime-7pUcku_h.js +0 -413
- package/components/display-settings-datetime-DL0Qcz8Y.cjs +0 -217
- package/components/display-settings-grand-totals-CV5guBhH.js +0 -89
- package/components/display-settings-grand-totals-DHQSZqMI.cjs +0 -44
- package/components/display-settings-numeric--5zk8_7K.cjs +0 -190
- package/components/display-settings-numeric-D2LjMepO.js +0 -479
- package/components/display-settings-period-over-period-BE22oHvV.cjs +0 -229
- package/components/display-settings-period-over-period-sqZU6Zj_.js +0 -433
- package/components/donut-chart-options.config-C66yOoed.js +0 -207
- package/components/donut-chart-options.config-D8Bvo6Cc.cjs +0 -20
- package/components/donut-chart-positioning.config-B9sm4yFV.cjs +0 -20
- package/components/donut-chart-positioning.config-DtaPAgXE.js +0 -48
- package/components/donut-chart-slots.config-2XbT9Uu8.js +0 -39
- package/components/donut-chart-slots.config-Bi08z-XB.cjs +0 -20
- package/components/dropdown-filter-options.config-BRzYD0KE.cjs +0 -20
- package/components/dropdown-filter-options.config-Cm_wK0mn.js +0 -153
- package/components/dropdown-filter-slots.config-CR-Ko6q_.cjs +0 -20
- package/components/dropdown-filter-slots.config-CnESCGuw.js +0 -38
- package/components/en-GB-uxY5qmIM.cjs +0 -20
- package/components/en-US-q_Ruzags.cjs +0 -20
- package/components/en-q_Ruzags.cjs +0 -20
- package/components/es-B4xWcOeJ.cjs +0 -20
- package/components/es-CkCov6l7.js +0 -465
- package/components/evolution-number-options.config-07Jd0oUL.js +0 -228
- package/components/evolution-number-options.config-CkqNYgWn.cjs +0 -20
- package/components/evolution-number-positioning.config-DVXhBZYj.cjs +0 -20
- package/components/evolution-number-positioning.config-v8_6kB1H.js +0 -48
- package/components/evolution-number-slots.config-BKdD3cKw.js +0 -37
- package/components/evolution-number-slots.config-CikuQYgm.cjs +0 -20
- package/components/filter-expression-picker-CF4Otpll.cjs +0 -38
- package/components/filter-expression-picker-DCrCAIhg.js +0 -425
- package/components/filter-item-BjRerEjB.cjs +0 -58
- package/components/filter-item-D2Dct0a3.js +0 -242
- package/components/filter-value-picker-CCKV4PWs.js +0 -151
- package/components/filter-value-picker-datetime-CFCV2jkK.js +0 -139
- package/components/filter-value-picker-datetime-D20WnWar.cjs +0 -42
- package/components/filter-value-picker-enC3f3ja.cjs +0 -60
- package/components/filter-value-picker-hierarchy-Drrm1ncu.cjs +0 -47
- package/components/filter-value-picker-hierarchy-ktVBIpcS.js +0 -232
- package/components/filter-value-picker-numeric-BYspQRSi.js +0 -219
- package/components/filter-value-picker-numeric-BtZaQvkr.cjs +0 -48
- package/components/filters-CfH_4MKZ.cjs +0 -150
- package/components/filters-Ew0ARuxD.js +0 -400
- package/components/formatter-BeXmurVe.cjs +0 -20
- package/components/formula-BPHH_GKB.cjs +0 -45
- package/components/formula-DYdcMG-v.js +0 -138
- package/components/formula-codemirror-CFgPlkN8.cjs +0 -215
- package/components/formula-codemirror-CQonNhmd.js +0 -12018
- package/components/formula-display-store-BGzj13Cs.js +0 -1086
- package/components/formula-display-store-DFAvw21p.cjs +0 -20
- package/components/formula-editor-CtCvJkyS.cjs +0 -218
- package/components/formula-editor-KXxQlh2n.js +0 -666
- package/components/formula-field-OcD4TWAn.js +0 -40
- package/components/formula-field-aiqX7nRp.cjs +0 -20
- package/components/formula-input-base-CGe2ABn6.cjs +0 -49
- package/components/formula-input-base-CQPGmISj.js +0 -236
- package/components/fr-BOivrXqX.cjs +0 -20
- package/components/fr-BSFpJ50_.js +0 -465
- package/components/funnel-chart-options.config-BVmrhzna.cjs +0 -20
- package/components/funnel-chart-options.config-PV1Hlu91.js +0 -187
- package/components/funnel-chart-positioning.config-BT-YoTgv.js +0 -48
- package/components/funnel-chart-positioning.config-C5Z3JkuS.cjs +0 -20
- package/components/funnel-chart-slots.config-B8zC6Q6_.cjs +0 -20
- package/components/funnel-chart-slots.config-_9HUPvTb.js +0 -43
- package/components/get-css-variable-CBXsAxR6.cjs +0 -20
- package/components/get-css-variable-DYnldi15.js +0 -63
- package/components/get-dataset-name-BGCvfcdY.js +0 -27
- package/components/get-dataset-name-EkeeFzI3.cjs +0 -20
- package/components/groupings-CrE-yp0S.js +0 -52
- package/components/groupings-dIFi0bJY.cjs +0 -20
- package/components/heat-map-options.config-CQY6t9AL.js +0 -224
- package/components/heat-map-options.config-xPdOcXDk.cjs +0 -20
- package/components/heat-map-positioning.config-BpFis567.js +0 -48
- package/components/heat-map-positioning.config-HPftgmdz.cjs +0 -20
- package/components/heat-map-slots.config-B4AswVSo.js +0 -37
- package/components/heat-map-slots.config-Wp_oS8JQ.cjs +0 -20
- package/components/heat-table-options.config-DPbTFoRn.cjs +0 -20
- package/components/heat-table-options.config-IlVPk4Q4.js +0 -372
- package/components/heat-table-positioning.config-Canc3aEE.js +0 -55
- package/components/heat-table-positioning.config-wkrm8Fbk.cjs +0 -20
- package/components/heat-table-slots.config-BN7rtHZG.cjs +0 -20
- package/components/heat-table-slots.config-CB509zU4.js +0 -49
- package/components/hexbin-map-options.config-CSFSqpMU.cjs +0 -20
- package/components/hexbin-map-options.config-vzw6ovva.js +0 -276
- package/components/hexbin-map-positioning.config-CBv6Lij5.js +0 -48
- package/components/hexbin-map-positioning.config-D0hAchxV.cjs +0 -20
- package/components/hexbin-map-slots.config-Dyse0pui.js +0 -37
- package/components/hexbin-map-slots.config-mx5zUTrA.cjs +0 -20
- package/components/image-options.config-Cmrsd8Yu.js +0 -153
- package/components/image-options.config-DZ5q1D63.cjs +0 -20
- package/components/image-slots.config-CVj-DM07.js +0 -24
- package/components/image-slots.config-ODQBVz5H.cjs +0 -20
- package/components/item-grid-BXZXJV3g.cjs +0 -339
- package/components/item-grid-uWM-Unjx.js +0 -8814
- package/components/item-option-CEwjJc1p.cjs +0 -252
- package/components/item-option-action-button-group-BOxQFfBF.js +0 -118
- package/components/item-option-action-button-group-DXCVJqpt.cjs +0 -53
- package/components/item-option-base-DKieCS-Y.cjs +0 -56
- package/components/item-option-base-Dr5-WxZ9.js +0 -123
- package/components/item-option-color-palette-picker-7vSSpj5o.cjs +0 -40
- package/components/item-option-color-palette-picker-D_mABGWh.js +0 -2041
- package/components/item-option-color-picker-COLBYeRy.js +0 -87
- package/components/item-option-color-picker-DMyNeD2e.cjs +0 -34
- package/components/item-option-color-range-BFr0B6Vf.cjs +0 -98
- package/components/item-option-color-range-CueVlyT2.js +0 -220
- package/components/item-option-multi-language-field-CMuQwrwQ.js +0 -82
- package/components/item-option-multi-language-field-q7txF5xA.cjs +0 -33
- package/components/item-option-number-field-BODNSx66.js +0 -102
- package/components/item-option-number-field-DWeJWUxY.cjs +0 -38
- package/components/item-option-panel-CxOfVI0z.js +0 -183
- package/components/item-option-panel-D0dxyUfE.cjs +0 -67
- package/components/item-option-picker-BsP_0XyD.cjs +0 -37
- package/components/item-option-picker-CyX7qqrb.js +0 -77
- package/components/item-option-position-picker-CcmBYyqF.cjs +0 -32
- package/components/item-option-position-picker-LOg6P4Gl.js +0 -117
- package/components/item-option-positions-number-field-BCbWb1R6.js +0 -164
- package/components/item-option-positions-number-field-o3Qckgwd.cjs +0 -49
- package/components/item-option-radio-button-group-CDebmEn3.js +0 -74
- package/components/item-option-radio-button-group-CjLhWTEJ.cjs +0 -37
- package/components/item-option-slider-C9ZJZcdg.js +0 -81
- package/components/item-option-slider-CHbkJHLK.cjs +0 -33
- package/components/item-option-switch-BVMOOWya.js +0 -69
- package/components/item-option-switch-FRAZWozp.cjs +0 -30
- package/components/item-option-text-field-DkYqHfdJ.cjs +0 -33
- package/components/item-option-text-field-e6NLDlSq.js +0 -80
- package/components/item-option-uyAsPcfE.js +0 -919
- package/components/item-slot-drop-BUCjEfJf.cjs +0 -91
- package/components/item-slot-drop-CoReI68M.js +0 -324
- package/components/item-slot-drop-panel-CEI1q060.js +0 -355
- package/components/item-slot-drop-panel-DqekQtOr.cjs +0 -57
- package/components/item-slot-picker-CvbXFh6Z.cjs +0 -158
- package/components/item-slot-picker-dy5hVID5.js +0 -474
- package/components/item-slot-picker-panel-BUyp6Hbg.cjs +0 -81
- package/components/item-slot-picker-panel-CG0NyMDX.js +0 -448
- package/components/line-chart-options.config-1TpSJqeb.js +0 -168
- package/components/line-chart-options.config-BkK829A2.cjs +0 -20
- package/components/line-chart-positioning.config-61uNfPZs.js +0 -55
- package/components/line-chart-positioning.config-BNtGFWUK.cjs +0 -20
- package/components/line-chart-slots.config-CcCpwWzZ.js +0 -55
- package/components/line-chart-slots.config-vv66fcoE.cjs +0 -20
- package/components/load-data-fields-for-datasets-BNnr8x3m.js +0 -42
- package/components/load-data-fields-for-datasets-CW4Voiex.cjs +0 -20
- package/components/localized-mixin-CiBWThrZ.cjs +0 -20
- package/components/localized-mixin-EpweDrTk.js +0 -45
- package/components/marker-map-options.config-BfPFVxpD.cjs +0 -20
- package/components/marker-map-options.config-DTaax79J.js +0 -117
- package/components/marker-map-positioning.config-Bi5WCVgJ.js +0 -48
- package/components/marker-map-positioning.config-C2cL7uZJ.cjs +0 -20
- package/components/marker-map-slots.config-BOWmS_IZ.js +0 -37
- package/components/marker-map-slots.config-DigZk7lN.cjs +0 -20
- package/components/nl-DS4Y_g8B.cjs +0 -20
- package/components/nl-D_MleIlk.js +0 -465
- package/components/ohlc-chart-options.config-BsBVP-Io.cjs +0 -20
- package/components/ohlc-chart-options.config-Dfes8ROC.js +0 -65
- package/components/ohlc-chart-positioning.config-DFx99k9A.js +0 -78
- package/components/ohlc-chart-positioning.config-IAOfu4ue.cjs +0 -20
- package/components/ohlc-chart-slots.config-D3fzoQJH.cjs +0 -20
- package/components/ohlc-chart-slots.config-JRztPEXL.js +0 -68
- package/components/parallel-coordinates-plot-options.config--6iJkURT.cjs +0 -20
- package/components/parallel-coordinates-plot-options.config-NSk_HC0H.js +0 -42
- package/components/parallel-coordinates-plot-positioning.config-Bf0Leksw.cjs +0 -20
- package/components/parallel-coordinates-plot-positioning.config-C9TqUuGC.js +0 -48
- package/components/parallel-coordinates-plot-slots.config-pmbO5DnL.js +0 -46
- package/components/parallel-coordinates-plot-slots.config-s_tLqGA-.cjs +0 -20
- package/components/pivot-table-options.config-B3wYlzEq.js +0 -245
- package/components/pivot-table-options.config-CKGnnXa_.cjs +0 -20
- package/components/pivot-table-positioning.config-CPXqqtcR.js +0 -55
- package/components/pivot-table-positioning.config-D1R3VO88.cjs +0 -20
- package/components/pivot-table-slots.config-DaLfGOP9.js +0 -55
- package/components/pivot-table-slots.config-KlYXL90k.cjs +0 -20
- package/components/pragmatic-element-adapter-D0LRKx5U.js +0 -1253
- package/components/pragmatic-element-adapter-DdyH32ix.cjs +0 -24
- package/components/pyramid-chart-options.config-8QtjhcJC.cjs +0 -20
- package/components/pyramid-chart-options.config-DIyiyqGM.js +0 -240
- package/components/pyramid-chart-positioning.config-BfXdJS8g.cjs +0 -20
- package/components/pyramid-chart-positioning.config-JAUQpA0B.js +0 -55
- package/components/pyramid-chart-slots.config-CreUpxI2.cjs +0 -20
- package/components/pyramid-chart-slots.config-DtnUlw5y.js +0 -50
- package/components/radar-chart-options.config-DvW36_zk.cjs +0 -20
- package/components/radar-chart-options.config-UVOzUnVT.js +0 -130
- package/components/radar-chart-positioning.config-Bixdrod2.cjs +0 -20
- package/components/radar-chart-positioning.config-CdJSazt4.js +0 -55
- package/components/radar-chart-slots.config-B3oIp-8w.cjs +0 -20
- package/components/radar-chart-slots.config-CkLoeAV7.js +0 -53
- package/components/regular-table-options.config-B0WNqEjR.cjs +0 -20
- package/components/regular-table-options.config-CBvnxTdd.js +0 -148
- package/components/regular-table-slots.config-Cc6hL7iu.js +0 -35
- package/components/regular-table-slots.config-UwzWj6gg.cjs +0 -20
- package/components/route-map-options.config-CYNKz_Xm.cjs +0 -20
- package/components/route-map-options.config-DZrlGa5o.js +0 -326
- package/components/route-map-positioning.config-7aca5Iex.cjs +0 -20
- package/components/route-map-positioning.config-Bk_BndTS.js +0 -66
- package/components/route-map-slots.config-CQxB8gKC.js +0 -59
- package/components/route-map-slots.config-DfYT65BF.cjs +0 -20
- package/components/sankey-diagram-options.config-D49IZ1y3.cjs +0 -20
- package/components/sankey-diagram-options.config-s_QRVr1r.js +0 -126
- package/components/sankey-diagram-positioning.config-Bvus3RDi.cjs +0 -20
- package/components/sankey-diagram-positioning.config-DPgQELIu.js +0 -66
- package/components/sankey-diagram-slots.config-C9tIfWHU.js +0 -61
- package/components/sankey-diagram-slots.config-D-_u4w36.cjs +0 -20
- package/components/scatter-plot-options.config-BETVLevv.cjs +0 -20
- package/components/scatter-plot-options.config-DI4hlqi5.js +0 -302
- package/components/scatter-plot-positioning.config-D-ifHW9P.js +0 -77
- package/components/scatter-plot-positioning.config-DBDCDDad.cjs +0 -20
- package/components/scatter-plot-slots.config-CUURijrN.js +0 -74
- package/components/scatter-plot-slots.config-CrG6wQtV.cjs +0 -20
- package/components/search-filter-options.config-B-dGVPhS.cjs +0 -20
- package/components/search-filter-options.config-CPzfgUWV.js +0 -103
- package/components/search-filter-slots.config-DD119qkk.js +0 -39
- package/components/search-filter-slots.config-DP06ulJA.cjs +0 -20
- package/components/set-locale-DTFOOSog.cjs +0 -20
- package/components/set-locale-UK0ghkg9.js +0 -43
- package/components/slicer-filter-options.config-7OXpRWtw.cjs +0 -20
- package/components/slicer-filter-options.config-F2CZ8ckV.js +0 -226
- package/components/slicer-filter-positioning.config-0uGZ8EgN.js +0 -48
- package/components/slicer-filter-positioning.config-Bx2_7jxp.cjs +0 -20
- package/components/slicer-filter-slots.config-CHKpdJvF.cjs +0 -20
- package/components/slicer-filter-slots.config-D-BhCuA9.js +0 -44
- package/components/slider-filter-options.config-CRdbX1IJ.cjs +0 -20
- package/components/slider-filter-options.config-DO0HHK2l.js +0 -72
- package/components/slider-filter-slots.config-9R298H0t.cjs +0 -20
- package/components/slider-filter-slots.config-CGQG6JqK.js +0 -43
- package/components/slot-menu-Cw5HJ_bk.js +0 -404
- package/components/slot-menu-DkyDLDSd.cjs +0 -64
- package/components/slot-menu-list-BZllvntQ.cjs +0 -38
- package/components/slot-menu-list-CTJ-owp1.js +0 -326
- package/components/slots-config-BuHluMEl.js +0 -77
- package/components/slots-config-DVH0lz6t.cjs +0 -20
- package/components/speedometer-chart-options.config-BsIu28S3.cjs +0 -20
- package/components/speedometer-chart-options.config-jK_yQjy2.js +0 -246
- package/components/speedometer-chart-positioning.config-CNOKIw7e.cjs +0 -20
- package/components/speedometer-chart-positioning.config-FzFxMi0X.js +0 -48
- package/components/speedometer-chart-slots.config-CjkHAHNX.js +0 -39
- package/components/speedometer-chart-slots.config-S_hQm2MV.cjs +0 -20
- package/components/spike-map-options.config-aaiZyME6.cjs +0 -20
- package/components/spike-map-options.config-cj07bETE.js +0 -413
- package/components/spike-map-positioning.config-B4NYfmEw.js +0 -55
- package/components/spike-map-positioning.config-Bcdt8670.cjs +0 -20
- package/components/spike-map-slots.config-cKfaD6dQ.cjs +0 -20
- package/components/spike-map-slots.config-yMkdy-0w.js +0 -47
- package/components/strip-plot-options.config-DmAxeY2S.js +0 -53
- package/components/strip-plot-options.config-TB3rkoj2.cjs +0 -20
- package/components/strip-plot-positioning.config-BjcqWJoD.cjs +0 -20
- package/components/strip-plot-positioning.config-n9OIxpa_.js +0 -48
- package/components/strip-plot-slots.config-C07nIM5s.js +0 -38
- package/components/strip-plot-slots.config-DNYlrK_c.cjs +0 -20
- package/components/sunburst-chart-options.config-CLyQG-8x.js +0 -160
- package/components/sunburst-chart-options.config-Ckk_kY_s.cjs +0 -20
- package/components/sunburst-chart-positioning.config-BIpSCpSi.cjs +0 -20
- package/components/sunburst-chart-positioning.config-CcGOcwOK.js +0 -48
- package/components/sunburst-chart-slots.config-BU9ma0xm.js +0 -38
- package/components/sunburst-chart-slots.config-DkUUt5RF.cjs +0 -20
- package/components/symbol-map-options.config-56eoWz4w.cjs +0 -20
- package/components/symbol-map-options.config-I_gykFhh.js +0 -157
- package/components/symbol-map-positioning.config-DPv89eCY.cjs +0 -20
- package/components/symbol-map-positioning.config-H3n2ngaa.js +0 -55
- package/components/symbol-map-slots.config-CQJgV5bh.js +0 -53
- package/components/symbol-map-slots.config-DwNf547A.cjs +0 -20
- package/components/text-options.config-BwBCG2yo.cjs +0 -20
- package/components/text-options.config-DUMx63Ol.js +0 -67
- package/components/text-slots.config-CPghLc8b.cjs +0 -20
- package/components/text-slots.config-YmmXsb-0.js +0 -24
- package/components/treemap-chart-options.config-CAWPa5jK.js +0 -184
- package/components/treemap-chart-options.config-r6biULUj.cjs +0 -20
- package/components/treemap-chart-positioning.config-Dzp4TodY.js +0 -55
- package/components/treemap-chart-positioning.config-W2sl4gZ0.cjs +0 -20
- package/components/treemap-chart-slots.config-CS3ot6ZJ.cjs +0 -20
- package/components/treemap-chart-slots.config-QEVbKZyS.js +0 -47
- package/components/utils-BD_TKdii.js +0 -352
- package/components/utils-C8VI4SiJ.cjs +0 -20
- package/components/v4-DIjJgmR0.js +0 -49
- package/components/venn-diagram-options.config-BamlR1qo.cjs +0 -20
- package/components/venn-diagram-options.config-KKD89q3q.js +0 -24
- package/components/venn-diagram-positioning.config-BLSj3JqA.js +0 -55
- package/components/venn-diagram-positioning.config-Bv3pFJIU.cjs +0 -20
- package/components/venn-diagram-slots.config-DYTmU8v2.cjs +0 -20
- package/components/venn-diagram-slots.config-DsIqVOI2.js +0 -47
- package/components/video-options.config-BhBpkaLJ.cjs +0 -20
- package/components/video-options.config-D2SEyNrP.js +0 -127
- package/components/video-slots.config-B680gLmP.js +0 -24
- package/components/video-slots.config-DMut7o7r.cjs +0 -20
- package/components/viz-item-menu-CiEJJddu.js +0 -170
- package/components/viz-item-menu-Dry8xpRA.cjs +0 -55
- package/components/wordcloud-chart-options.config-DLN2RAEK.js +0 -90
- package/components/wordcloud-chart-options.config-DgH4JgN2.cjs +0 -20
- package/components/wordcloud-chart-positioning.config-DVPWXJXb.js +0 -55
- package/components/wordcloud-chart-positioning.config-ZTO2VLdY.cjs +0 -20
- package/components/wordcloud-chart-slots.config-V29v2Fhr.cjs +0 -20
- package/components/wordcloud-chart-slots.config-mFvqkiQE.js +0 -45
- /package/components/{rolldown-runtime-mLOUI7ql.cjs → chunk-mLOUI7ql.cjs} +0 -0
|
@@ -0,0 +1,262 @@
|
|
|
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 "./localized-mixin-BYWQe1fg.js";
|
|
22
|
+
import { t as n } from "./calculate-data-field-icon-DrSg1PuD.js";
|
|
23
|
+
import { t as r } from "./localize-BT7REYBY.js";
|
|
24
|
+
import { n as i, r as a } from "./convert-datasets-to-data-fields-PmQzeVLG.js";
|
|
25
|
+
import { n as o } from "./periods.const-NCTkxnvG.js";
|
|
26
|
+
import { luzmoFormula as s } from "@luzmo/icons";
|
|
27
|
+
import { html as c, unsafeCSS as l } from "lit";
|
|
28
|
+
import { property as u } from "lit/decorators.js";
|
|
29
|
+
import { localized as d, msg as f } from "@lit/localize";
|
|
30
|
+
import "@luzmo/lucero/select";
|
|
31
|
+
import { ElementSizes as p, LuzmoElement as m, SizedMixin as h } from "@luzmo/lucero/utils";
|
|
32
|
+
//#region src/components/data-fields-select/data-fields-select.module.scss?inline
|
|
33
|
+
var g = ":host{font-family:var(--luzmo-font-family)}", _ = "::level::", v = (e, t) => `${e}${_}${t}`, y = (e) => {
|
|
34
|
+
let t = e.indexOf(_);
|
|
35
|
+
return t === -1 ? null : {
|
|
36
|
+
columnId: e.slice(0, t),
|
|
37
|
+
level: Number(e.slice(t + 9))
|
|
38
|
+
};
|
|
39
|
+
}, b = class extends t(h(m, { validSizes: Object.values(p) })) {
|
|
40
|
+
constructor(...e) {
|
|
41
|
+
super(...e), this.contentLanguage = "en", this.icons = "menu-only", this.allowEmpty = !1, this.selects = "single", this.value = [], this.retrieving = !1, this.invalid = !1, this.clearable = !1, this.pending = !1, this.disabled = !1, this.search = "auto", this.placement = "bottom-start", this.datasetsDataFields = [], this._dataFieldsSelected = [], this._lastEmittedValue = "[]", this._pendingAutoSelectEvent = !1;
|
|
42
|
+
}
|
|
43
|
+
static get styles() {
|
|
44
|
+
return [l(g)];
|
|
45
|
+
}
|
|
46
|
+
_isAdHocFormula(e) {
|
|
47
|
+
return "formula" in e && typeof e.formula == "string";
|
|
48
|
+
}
|
|
49
|
+
_sendChangeEvent() {
|
|
50
|
+
let e = JSON.stringify(this.value);
|
|
51
|
+
e !== this._lastEmittedValue && (this._lastEmittedValue = e, this.dispatchEvent(new CustomEvent("luzmo-data-fields-selected", {
|
|
52
|
+
bubbles: !0,
|
|
53
|
+
composed: !0,
|
|
54
|
+
cancelable: !0,
|
|
55
|
+
detail: { dataFields: this._dataFieldsSelected }
|
|
56
|
+
})));
|
|
57
|
+
}
|
|
58
|
+
_toDataFieldData(e, t, n = !1) {
|
|
59
|
+
return n ? a(t, e, { includeHidden: !0 }) : i(t, e, { includeHidden: !0 });
|
|
60
|
+
}
|
|
61
|
+
_toAdHocFormulaFieldData(e, t) {
|
|
62
|
+
return {
|
|
63
|
+
datasetId: t,
|
|
64
|
+
formula: e.formula,
|
|
65
|
+
type: e.type,
|
|
66
|
+
name: e.label ?? { en: "Ad-hoc formula" },
|
|
67
|
+
subtype: e.subtype ?? void 0,
|
|
68
|
+
format: e.format
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
_findFormulaMatch(e, t, n) {
|
|
72
|
+
for (let r of e) if (this._isAdHocFormula(r)) {
|
|
73
|
+
if (r.formula === t) return this._toAdHocFormulaFieldData(r, n);
|
|
74
|
+
} else if (r.id === t) return this._toDataFieldData(r, n, !0);
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
_resolveDataFieldFromValue(e, t) {
|
|
78
|
+
let n = y(e), r = n ? n.columnId : e;
|
|
79
|
+
for (let i of t) {
|
|
80
|
+
let t = i.columns ?? [], a = i.formulas ?? [], o = t.find((e) => e.id === r);
|
|
81
|
+
if (o) {
|
|
82
|
+
let e = this._toDataFieldData(o, i.id, !1);
|
|
83
|
+
if (e && n && (e.level = n.level, this._isExpandableHierarchy(o))) {
|
|
84
|
+
let t = o.hierarchyLevels?.find((e) => e.level === n.level);
|
|
85
|
+
t && (e.name = t.name);
|
|
86
|
+
}
|
|
87
|
+
return e;
|
|
88
|
+
}
|
|
89
|
+
let s = this._findFormulaMatch(a, e, i.id);
|
|
90
|
+
if (s) return s;
|
|
91
|
+
}
|
|
92
|
+
return null;
|
|
93
|
+
}
|
|
94
|
+
setDataField(e) {
|
|
95
|
+
let t = e?.detail?.value ?? [];
|
|
96
|
+
this._dataFieldsSelected = [];
|
|
97
|
+
for (let e of t) {
|
|
98
|
+
let t = this._resolveDataFieldFromValue(e, this.datasetsDataFields);
|
|
99
|
+
t && this._dataFieldsSelected.push(t);
|
|
100
|
+
}
|
|
101
|
+
this.value = t, this._sendChangeEvent();
|
|
102
|
+
}
|
|
103
|
+
_findDataFieldsInDatasetsDataFields(e) {
|
|
104
|
+
this._dataFieldsSelected = [];
|
|
105
|
+
for (let t of e) {
|
|
106
|
+
let e = this._resolveDataFieldFromValue(t, this.datasetsDataFields);
|
|
107
|
+
e && this._dataFieldsSelected.push(e);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
_getAutoSelectValue() {
|
|
111
|
+
for (let e of this.datasetsDataFields) {
|
|
112
|
+
if (e?.columns?.length > 0) {
|
|
113
|
+
let t = e.columns[0];
|
|
114
|
+
return this._isExpandableDatetime(t) ? this._buildDatetimeChildren(t)[0]?.value ?? null : this._isExpandableHierarchy(t) ? this._buildHierarchyChildren(t)[0]?.value ?? null : t.id;
|
|
115
|
+
}
|
|
116
|
+
for (let t of e?.formulas ?? []) if (!this._isAdHocFormula(t)) return t.id;
|
|
117
|
+
}
|
|
118
|
+
return null;
|
|
119
|
+
}
|
|
120
|
+
_autoSelectInitialDataField() {
|
|
121
|
+
if (this.value.length > 0 || this.allowEmpty || this.retrieving) return;
|
|
122
|
+
let e = this._getAutoSelectValue();
|
|
123
|
+
e && this._resolveDataFieldFromValue(e, this.datasetsDataFields) && (this._pendingAutoSelectEvent = !0, this.value = [e]);
|
|
124
|
+
}
|
|
125
|
+
willUpdate(e) {
|
|
126
|
+
super.willUpdate(e), (e.has("value") || e.has("datasetsDataFields") || e.has("allowEmpty") || e.has("retrieving")) && this._autoSelectInitialDataField(), (e.has("value") || e.has("datasetsDataFields")) && this._findDataFieldsInDatasetsDataFields(this.value);
|
|
127
|
+
}
|
|
128
|
+
updated(e) {
|
|
129
|
+
super.updated(e), this._pendingAutoSelectEvent && e.has("value") && this._dataFieldsSelected.length > 0 ? (this._pendingAutoSelectEvent = !1, this._sendChangeEvent()) : e.has("value") && (this._lastEmittedValue = JSON.stringify(this.value));
|
|
130
|
+
}
|
|
131
|
+
_buildDatetimeChildren(e) {
|
|
132
|
+
let t = [], n = Math.min(Math.max(e.lowestLevel ?? 1, 1), o.length), r = Math.min(Math.max(e.highestLevel ?? 1, 1), o.length);
|
|
133
|
+
for (let i = r; i <= n; i++) t.push({
|
|
134
|
+
value: v(e.id, i),
|
|
135
|
+
label: o[i - 1]?.i18n() ?? ""
|
|
136
|
+
});
|
|
137
|
+
return t;
|
|
138
|
+
}
|
|
139
|
+
_buildHierarchyChildren(e) {
|
|
140
|
+
let t = [], n = e.hierarchyLevels ?? [];
|
|
141
|
+
for (let i of n) i.level < 1 || t.push({
|
|
142
|
+
value: v(e.id, i.level),
|
|
143
|
+
label: r(i.name ?? {}, this.contentLanguage) ?? ""
|
|
144
|
+
});
|
|
145
|
+
return t;
|
|
146
|
+
}
|
|
147
|
+
_isExpandableDatetime(e) {
|
|
148
|
+
let t = e.type;
|
|
149
|
+
return (t === "datetime" || t === "array[datetime]") && typeof e.lowestLevel == "number";
|
|
150
|
+
}
|
|
151
|
+
_isExpandableHierarchy(e) {
|
|
152
|
+
return Array.isArray(e.hierarchyLevels) && e.hierarchyLevels.length > 2 && e.hierarchy_enabled === !0;
|
|
153
|
+
}
|
|
154
|
+
render() {
|
|
155
|
+
let e = [], t = this.icons !== "none";
|
|
156
|
+
for (let i of this.datasetsDataFields ?? []) {
|
|
157
|
+
let a = i?.columns ?? [], o = i?.formulas ?? [];
|
|
158
|
+
for (let i of a) {
|
|
159
|
+
let a = {
|
|
160
|
+
value: i.id,
|
|
161
|
+
label: r(i?.name ?? {}, this.contentLanguage) ?? ""
|
|
162
|
+
};
|
|
163
|
+
t && (a.icon = n(i, this.size)), this._isExpandableDatetime(i) ? a.children = this._buildDatetimeChildren(i) : this._isExpandableHierarchy(i) && (a.children = this._buildHierarchyChildren(i)), e.push(a);
|
|
164
|
+
}
|
|
165
|
+
for (let i of o) if (this._isAdHocFormula(i)) {
|
|
166
|
+
let n = i.label ? r(i.label, this.contentLanguage) : f("Ad-hoc formula"), a = {
|
|
167
|
+
value: i.formula,
|
|
168
|
+
label: n ?? f("Ad-hoc formula")
|
|
169
|
+
};
|
|
170
|
+
t && (a.icon = s), e.push(a);
|
|
171
|
+
} else {
|
|
172
|
+
let a = {
|
|
173
|
+
value: i.id,
|
|
174
|
+
label: r(i?.name ?? {}, this.contentLanguage) ?? ""
|
|
175
|
+
};
|
|
176
|
+
t && (a.icon = n(i, this.size)), e.push(a);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
let i = f("Select..."), a = this.pending ? "" : this.label || this.placeholder || i, o = this.pending || this.value.length === 0 ? [] : this.value, l = this.icons === "none" || this.icons === "menu-only" ? "none" : void 0;
|
|
180
|
+
return c`<luzmo-select
|
|
181
|
+
id="data-fields"
|
|
182
|
+
.size=${this.size}
|
|
183
|
+
.label=${a}
|
|
184
|
+
.pendingLabel=${this.label || this.placeholder || i}
|
|
185
|
+
.retrieving=${this.retrieving}
|
|
186
|
+
.icons=${l}
|
|
187
|
+
.selects=${this.selects}
|
|
188
|
+
.variant=${this.selects === "multiple" ? "checkmarks" : "highlight"}
|
|
189
|
+
.placement=${this.placement}
|
|
190
|
+
.search=${this.search}
|
|
191
|
+
emphasized
|
|
192
|
+
no-wrap
|
|
193
|
+
?invalid=${this.invalid}
|
|
194
|
+
?clearable=${this.clearable && this.allowEmpty}
|
|
195
|
+
?pending=${this.pending}
|
|
196
|
+
?disabled=${this.disabled}
|
|
197
|
+
.options=${e}
|
|
198
|
+
.value=${o}
|
|
199
|
+
@change=${this.setDataField}
|
|
200
|
+
>
|
|
201
|
+
</luzmo-select>`;
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
//#endregion
|
|
205
|
+
//#region src/components/data-fields-select/index.ts
|
|
206
|
+
e([u({
|
|
207
|
+
type: String,
|
|
208
|
+
attribute: "content-language",
|
|
209
|
+
reflect: !0
|
|
210
|
+
})], b.prototype, "contentLanguage", void 0), e([u({
|
|
211
|
+
type: String,
|
|
212
|
+
reflect: !0
|
|
213
|
+
})], b.prototype, "label", void 0), e([u({
|
|
214
|
+
type: String,
|
|
215
|
+
reflect: !0
|
|
216
|
+
})], b.prototype, "icons", void 0), e([u({
|
|
217
|
+
type: Boolean,
|
|
218
|
+
attribute: "allow-empty",
|
|
219
|
+
reflect: !0
|
|
220
|
+
})], b.prototype, "allowEmpty", void 0), e([u({
|
|
221
|
+
type: String,
|
|
222
|
+
attribute: "placeholder",
|
|
223
|
+
reflect: !0
|
|
224
|
+
})], b.prototype, "placeholder", void 0), e([u({
|
|
225
|
+
type: String,
|
|
226
|
+
reflect: !0
|
|
227
|
+
})], b.prototype, "selects", void 0), e([u({
|
|
228
|
+
type: Array,
|
|
229
|
+
reflect: !0
|
|
230
|
+
})], b.prototype, "value", void 0), e([u({
|
|
231
|
+
type: Boolean,
|
|
232
|
+
attribute: "retrieving",
|
|
233
|
+
reflect: !0
|
|
234
|
+
})], b.prototype, "retrieving", void 0), e([u({
|
|
235
|
+
type: Boolean,
|
|
236
|
+
attribute: "invalid",
|
|
237
|
+
reflect: !0
|
|
238
|
+
})], b.prototype, "invalid", void 0), e([u({
|
|
239
|
+
type: Boolean,
|
|
240
|
+
attribute: "clearable",
|
|
241
|
+
reflect: !0
|
|
242
|
+
})], b.prototype, "clearable", void 0), e([u({
|
|
243
|
+
type: Boolean,
|
|
244
|
+
attribute: "pending",
|
|
245
|
+
reflect: !0
|
|
246
|
+
})], b.prototype, "pending", void 0), e([u({
|
|
247
|
+
type: Boolean,
|
|
248
|
+
attribute: "disabled",
|
|
249
|
+
reflect: !0
|
|
250
|
+
})], b.prototype, "disabled", void 0), e([u({
|
|
251
|
+
type: String,
|
|
252
|
+
attribute: "search",
|
|
253
|
+
reflect: !0
|
|
254
|
+
})], b.prototype, "search", void 0), e([u({
|
|
255
|
+
type: String,
|
|
256
|
+
reflect: !0
|
|
257
|
+
})], b.prototype, "placement", void 0), e([u({
|
|
258
|
+
type: Array,
|
|
259
|
+
reflect: !1
|
|
260
|
+
})], b.prototype, "datasetsDataFields", void 0), b = e([d()], b), customElements.get("luzmo-data-fields-select") || customElements.define("luzmo-data-fields-select", b);
|
|
261
|
+
//#endregion
|
|
262
|
+
export { b as t };
|
|
@@ -0,0 +1,41 @@
|
|
|
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("./localized-mixin-DrK3QZNa.cjs"),n=require("./calculate-data-field-icon-DenGmW74.cjs"),r=require("./localize-D3i4Epy_.cjs"),i=require("./convert-datasets-to-data-fields-B13rl1an.cjs"),a=require("./periods.const-Db0nXrwr.cjs");let o=require("@luzmo/icons"),s=require("lit"),c=require("lit/decorators.js"),l=require("@lit/localize");require("@luzmo/lucero/select");let u=require("@luzmo/lucero/utils");var d=`:host{font-family:var(--luzmo-font-family)}`,f=`::level::`,p=(e,t)=>`${e}${f}${t}`,m=e=>{let t=e.indexOf(f);return t===-1?null:{columnId:e.slice(0,t),level:Number(e.slice(t+9))}},h=class extends t.t((0,u.SizedMixin)(u.LuzmoElement,{validSizes:Object.values(u.ElementSizes)})){constructor(...e){super(...e),this.contentLanguage=`en`,this.icons=`menu-only`,this.allowEmpty=!1,this.selects=`single`,this.value=[],this.retrieving=!1,this.invalid=!1,this.clearable=!1,this.pending=!1,this.disabled=!1,this.search=`auto`,this.placement=`bottom-start`,this.datasetsDataFields=[],this._dataFieldsSelected=[],this._lastEmittedValue=`[]`,this._pendingAutoSelectEvent=!1}static get styles(){return[(0,s.unsafeCSS)(d)]}_isAdHocFormula(e){return`formula`in e&&typeof e.formula==`string`}_sendChangeEvent(){let e=JSON.stringify(this.value);e!==this._lastEmittedValue&&(this._lastEmittedValue=e,this.dispatchEvent(new CustomEvent(`luzmo-data-fields-selected`,{bubbles:!0,composed:!0,cancelable:!0,detail:{dataFields:this._dataFieldsSelected}})))}_toDataFieldData(e,t,n=!1){return n?i.r(t,e,{includeHidden:!0}):i.n(t,e,{includeHidden:!0})}_toAdHocFormulaFieldData(e,t){return{datasetId:t,formula:e.formula,type:e.type,name:e.label??{en:`Ad-hoc formula`},subtype:e.subtype??void 0,format:e.format}}_findFormulaMatch(e,t,n){for(let r of e)if(this._isAdHocFormula(r)){if(r.formula===t)return this._toAdHocFormulaFieldData(r,n)}else if(r.id===t)return this._toDataFieldData(r,n,!0);return null}_resolveDataFieldFromValue(e,t){let n=m(e),r=n?n.columnId:e;for(let i of t){let t=i.columns??[],a=i.formulas??[],o=t.find(e=>e.id===r);if(o){let e=this._toDataFieldData(o,i.id,!1);if(e&&n&&(e.level=n.level,this._isExpandableHierarchy(o))){let t=o.hierarchyLevels?.find(e=>e.level===n.level);t&&(e.name=t.name)}return e}let s=this._findFormulaMatch(a,e,i.id);if(s)return s}return null}setDataField(e){let t=e?.detail?.value??[];this._dataFieldsSelected=[];for(let e of t){let t=this._resolveDataFieldFromValue(e,this.datasetsDataFields);t&&this._dataFieldsSelected.push(t)}this.value=t,this._sendChangeEvent()}_findDataFieldsInDatasetsDataFields(e){this._dataFieldsSelected=[];for(let t of e){let e=this._resolveDataFieldFromValue(t,this.datasetsDataFields);e&&this._dataFieldsSelected.push(e)}}_getAutoSelectValue(){for(let e of this.datasetsDataFields){if(e?.columns?.length>0){let t=e.columns[0];return this._isExpandableDatetime(t)?this._buildDatetimeChildren(t)[0]?.value??null:this._isExpandableHierarchy(t)?this._buildHierarchyChildren(t)[0]?.value??null:t.id}for(let t of e?.formulas??[])if(!this._isAdHocFormula(t))return t.id}return null}_autoSelectInitialDataField(){if(this.value.length>0||this.allowEmpty||this.retrieving)return;let e=this._getAutoSelectValue();e&&this._resolveDataFieldFromValue(e,this.datasetsDataFields)&&(this._pendingAutoSelectEvent=!0,this.value=[e])}willUpdate(e){super.willUpdate(e),(e.has(`value`)||e.has(`datasetsDataFields`)||e.has(`allowEmpty`)||e.has(`retrieving`))&&this._autoSelectInitialDataField(),(e.has(`value`)||e.has(`datasetsDataFields`))&&this._findDataFieldsInDatasetsDataFields(this.value)}updated(e){super.updated(e),this._pendingAutoSelectEvent&&e.has(`value`)&&this._dataFieldsSelected.length>0?(this._pendingAutoSelectEvent=!1,this._sendChangeEvent()):e.has(`value`)&&(this._lastEmittedValue=JSON.stringify(this.value))}_buildDatetimeChildren(e){let t=[],n=Math.min(Math.max(e.lowestLevel??1,1),a.n.length),r=Math.min(Math.max(e.highestLevel??1,1),a.n.length);for(let i=r;i<=n;i++)t.push({value:p(e.id,i),label:a.n[i-1]?.i18n()??``});return t}_buildHierarchyChildren(e){let t=[],n=e.hierarchyLevels??[];for(let i of n)i.level<1||t.push({value:p(e.id,i.level),label:r.t(i.name??{},this.contentLanguage)??``});return t}_isExpandableDatetime(e){let t=e.type;return(t===`datetime`||t===`array[datetime]`)&&typeof e.lowestLevel==`number`}_isExpandableHierarchy(e){return Array.isArray(e.hierarchyLevels)&&e.hierarchyLevels.length>2&&e.hierarchy_enabled===!0}render(){let e=[],t=this.icons!==`none`;for(let i of this.datasetsDataFields??[]){let a=i?.columns??[],s=i?.formulas??[];for(let i of a){let a={value:i.id,label:r.t(i?.name??{},this.contentLanguage)??``};t&&(a.icon=n.t(i,this.size)),this._isExpandableDatetime(i)?a.children=this._buildDatetimeChildren(i):this._isExpandableHierarchy(i)&&(a.children=this._buildHierarchyChildren(i)),e.push(a)}for(let i of s)if(this._isAdHocFormula(i)){let n=i.label?r.t(i.label,this.contentLanguage):(0,l.msg)(`Ad-hoc formula`),a={value:i.formula,label:n??(0,l.msg)(`Ad-hoc formula`)};t&&(a.icon=o.luzmoFormula),e.push(a)}else{let a={value:i.id,label:r.t(i?.name??{},this.contentLanguage)??``};t&&(a.icon=n.t(i,this.size)),e.push(a)}}let i=(0,l.msg)(`Select...`),a=this.pending?``:this.label||this.placeholder||i,c=this.pending||this.value.length===0?[]:this.value,u=this.icons===`none`||this.icons===`menu-only`?`none`:void 0;return s.html`<luzmo-select
|
|
21
|
+
id="data-fields"
|
|
22
|
+
.size=${this.size}
|
|
23
|
+
.label=${a}
|
|
24
|
+
.pendingLabel=${this.label||this.placeholder||i}
|
|
25
|
+
.retrieving=${this.retrieving}
|
|
26
|
+
.icons=${u}
|
|
27
|
+
.selects=${this.selects}
|
|
28
|
+
.variant=${this.selects===`multiple`?`checkmarks`:`highlight`}
|
|
29
|
+
.placement=${this.placement}
|
|
30
|
+
.search=${this.search}
|
|
31
|
+
emphasized
|
|
32
|
+
no-wrap
|
|
33
|
+
?invalid=${this.invalid}
|
|
34
|
+
?clearable=${this.clearable&&this.allowEmpty}
|
|
35
|
+
?pending=${this.pending}
|
|
36
|
+
?disabled=${this.disabled}
|
|
37
|
+
.options=${e}
|
|
38
|
+
.value=${c}
|
|
39
|
+
@change=${this.setDataField}
|
|
40
|
+
>
|
|
41
|
+
</luzmo-select>`}};e.t([(0,c.property)({type:String,attribute:`content-language`,reflect:!0})],h.prototype,`contentLanguage`,void 0),e.t([(0,c.property)({type:String,reflect:!0})],h.prototype,`label`,void 0),e.t([(0,c.property)({type:String,reflect:!0})],h.prototype,`icons`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`allow-empty`,reflect:!0})],h.prototype,`allowEmpty`,void 0),e.t([(0,c.property)({type:String,attribute:`placeholder`,reflect:!0})],h.prototype,`placeholder`,void 0),e.t([(0,c.property)({type:String,reflect:!0})],h.prototype,`selects`,void 0),e.t([(0,c.property)({type:Array,reflect:!0})],h.prototype,`value`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`retrieving`,reflect:!0})],h.prototype,`retrieving`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`invalid`,reflect:!0})],h.prototype,`invalid`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`clearable`,reflect:!0})],h.prototype,`clearable`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`pending`,reflect:!0})],h.prototype,`pending`,void 0),e.t([(0,c.property)({type:Boolean,attribute:`disabled`,reflect:!0})],h.prototype,`disabled`,void 0),e.t([(0,c.property)({type:String,attribute:`search`,reflect:!0})],h.prototype,`search`,void 0),e.t([(0,c.property)({type:String,reflect:!0})],h.prototype,`placement`,void 0),e.t([(0,c.property)({type:Array,reflect:!1})],h.prototype,`datasetsDataFields`,void 0),h=e.t([(0,l.localized)()],h),customElements.get(`luzmo-data-fields-select`)||customElements.define(`luzmo-data-fields-select`,h),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return h}});
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
25
25
|
}
|
|
26
26
|
})();
|
|
27
|
-
import { t as e } from "../dataset-icon-
|
|
27
|
+
import { t as e } from "../dataset-icon-BXEgg_8O.js";
|
|
28
28
|
export { e as LuzmoDatasetIcon };
|
|
@@ -0,0 +1,125 @@
|
|
|
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 { luzmoFileUploadOutline as t, luzmoIcon as n, luzmoPlugin as r } from "@luzmo/icons";
|
|
22
|
+
import { LitElement as i, html as a, unsafeCSS as o } from "lit";
|
|
23
|
+
import { property as s } from "lit/decorators.js";
|
|
24
|
+
//#region src/components/dataset-icon/dataset-icon.module.scss?inline
|
|
25
|
+
var c = ".dataset-icon{flex-shrink:0;justify-content:center;align-items:center;display:flex}.dataset-icon .public-connector{overflow:hidden}.dataset-icon .public-connector img{object-fit:cover;display:block}.dataset-icon [class*=public-connector-]{background-position:50%;background-repeat:no-repeat;background-size:cover;width:100%;height:100%}.dataset-icon .public-connector-16,.dataset-icon .public-connector-24,.dataset-icon .public-connector-32{background-image:var(--connector-sprite-64x64)}.dataset-icon .public-connector-48,.dataset-icon .public-connector-64{background-image:var(--connector-sprite-96x96)}.dataset-icon .text-primary{color:var(--luzmo-primary,#007bff);justify-content:center;align-items:center;display:flex}.dataset-icon .text-primary.upload-icon,.dataset-icon .text-primary.plugin-icon{width:100%;height:100%}.public-connector-16.amazonathena{background-position:0 0}.public-connector-16.asana{background-position:0 -16px}.public-connector-16.bigquery{background-position:0 -32px}.public-connector-16.citybikes{background-position:0 -48px}.public-connector-16.clickhouse{background-position:0 -64px}.public-connector-16.demodataplugin{background-position:0 -80px}.public-connector-16.elasticsearch{background-position:0 -96px}.public-connector-16.exactonline,.public-connector-16.exactonlinenl{background-position:0 -112px}.public-connector-16.google{background-position:0 -128px}.public-connector-16.googleanalytics,.public-connector-16.googleanalyticsv4{background-position:0 -144px}.public-connector-16.googledrive{background-position:0 -160px}.public-connector-16.hubspot{background-position:0 -176px}.public-connector-16.lobbipad{background-position:0 -192px}.public-connector-16.mailchimp{background-position:0 -208px}.public-connector-16.mariadb{background-position:0 -224px}.public-connector-16.mongodb{background-position:0 -240px}.public-connector-16.mysql{background-position:0 -256px}.public-connector-16.oracle{background-position:0 -272px}.public-connector-16.panoply{background-position:0 -288px}.public-connector-16.pipedrive{background-position:0 -304px}.public-connector-16.pipelinedb{background-position:0 -320px}.public-connector-16.postgresql{background-position:0 -336px}.public-connector-16.presto{background-position:0 -352px}.public-connector-16.redshift{background-position:0 -368px}.public-connector-16.salesforce{background-position:0 -384px}.public-connector-16.saphana{background-position:0 -400px}.public-connector-16.snowflake{background-position:0 -416px}.public-connector-16.sqlserver{background-position:0 -432px}.public-connector-16.stardog{background-position:0 -448px}.public-connector-16.synapse{background-position:0 -464px}.public-connector-16.teamleader{background-position:0 -480px}.public-connector-16.trino{background-position:0 -496px}.public-connector-16.typeform{background-position:0 -512px}.public-connector-16.zendesk{background-position:0 -528px}.public-connector-24.amazonathena{background-position:0 0}.public-connector-24.asana{background-position:0 -24px}.public-connector-24.bigquery{background-position:0 -48px}.public-connector-24.citybikes{background-position:0 -72px}.public-connector-24.clickhouse{background-position:0 -96px}.public-connector-24.demodataplugin{background-position:0 -120px}.public-connector-24.elasticsearch{background-position:0 -144px}.public-connector-24.exactonline,.public-connector-24.exactonlinenl{background-position:0 -168px}.public-connector-24.google{background-position:0 -192px}.public-connector-24.googleanalytics,.public-connector-24.googleanalyticsv4{background-position:0 -216px}.public-connector-24.googledrive{background-position:0 -240px}.public-connector-24.hubspot{background-position:0 -264px}.public-connector-24.lobbipad{background-position:0 -288px}.public-connector-24.mailchimp{background-position:0 -312px}.public-connector-24.mariadb{background-position:0 -336px}.public-connector-24.mongodb{background-position:0 -360px}.public-connector-24.mysql{background-position:0 -384px}.public-connector-24.oracle{background-position:0 -408px}.public-connector-24.panoply{background-position:0 -432px}.public-connector-24.pipedrive{background-position:0 -456px}.public-connector-24.pipelinedb{background-position:0 -480px}.public-connector-24.postgresql{background-position:0 -504px}.public-connector-24.presto{background-position:0 -528px}.public-connector-24.redshift{background-position:0 -552px}.public-connector-24.salesforce{background-position:0 -576px}.public-connector-24.saphana{background-position:0 -600px}.public-connector-24.snowflake{background-position:0 -624px}.public-connector-24.sqlserver{background-position:0 -648px}.public-connector-24.stardog{background-position:0 -672px}.public-connector-24.synapse{background-position:0 -696px}.public-connector-24.teamleader{background-position:0 -720px}.public-connector-24.trino{background-position:0 -744px}.public-connector-24.typeform{background-position:0 -768px}.public-connector-24.zendesk{background-position:0 -792px}.public-connector-32.amazonathena{background-position:0 0}.public-connector-32.asana{background-position:0 -32px}.public-connector-32.bigquery{background-position:0 -64px}.public-connector-32.citybikes{background-position:0 -96px}.public-connector-32.clickhouse{background-position:0 -128px}.public-connector-32.demodataplugin{background-position:0 -160px}.public-connector-32.elasticsearch{background-position:0 -192px}.public-connector-32.exactonline,.public-connector-32.exactonlinenl{background-position:0 -224px}.public-connector-32.google{background-position:0 -256px}.public-connector-32.googleanalytics,.public-connector-32.googleanalyticsv4{background-position:0 -288px}.public-connector-32.googledrive{background-position:0 -320px}.public-connector-32.hubspot{background-position:0 -352px}.public-connector-32.lobbipad{background-position:0 -384px}.public-connector-32.mailchimp{background-position:0 -416px}.public-connector-32.mariadb{background-position:0 -448px}.public-connector-32.mongodb{background-position:0 -480px}.public-connector-32.mysql{background-position:0 -512px}.public-connector-32.oracle{background-position:0 -544px}.public-connector-32.panoply{background-position:0 -576px}.public-connector-32.pipedrive{background-position:0 -608px}.public-connector-32.pipelinedb{background-position:0 -640px}.public-connector-32.postgresql{background-position:0 -672px}.public-connector-32.presto{background-position:0 -704px}.public-connector-32.redshift{background-position:0 -736px}.public-connector-32.salesforce{background-position:0 -768px}.public-connector-32.saphana{background-position:0 -800px}.public-connector-32.snowflake{background-position:0 -832px}.public-connector-32.sqlserver{background-position:0 -864px}.public-connector-32.stardog{background-position:0 -896px}.public-connector-32.synapse{background-position:0 -928px}.public-connector-32.teamleader{background-position:0 -960px}.public-connector-32.trino{background-position:0 -992px}.public-connector-32.typeform{background-position:0 -1024px}.public-connector-32.zendesk{background-position:0 -1056px}.public-connector-48.amazonathena{background-position:0 0}.public-connector-48.asana{background-position:0 -48px}.public-connector-48.bigquery{background-position:0 -96px}.public-connector-48.citybikes{background-position:0 -144px}.public-connector-48.clickhouse{background-position:0 -192px}.public-connector-48.demodataplugin{background-position:0 -240px}.public-connector-48.elasticsearch{background-position:0 -288px}.public-connector-48.exactonline,.public-connector-48.exactonlinenl{background-position:0 -336px}.public-connector-48.google{background-position:0 -384px}.public-connector-48.googleanalytics,.public-connector-48.googleanalyticsv4{background-position:0 -432px}.public-connector-48.googledrive{background-position:0 -480px}.public-connector-48.hubspot{background-position:0 -528px}.public-connector-48.lobbipad{background-position:0 -576px}.public-connector-48.mailchimp{background-position:0 -624px}.public-connector-48.mariadb{background-position:0 -672px}.public-connector-48.mongodb{background-position:0 -720px}.public-connector-48.mysql{background-position:0 -768px}.public-connector-48.oracle{background-position:0 -816px}.public-connector-48.panoply{background-position:0 -864px}.public-connector-48.pipedrive{background-position:0 -912px}.public-connector-48.pipelinedb{background-position:0 -960px}.public-connector-48.postgresql{background-position:0 -1008px}.public-connector-48.presto{background-position:0 -1056px}.public-connector-48.redshift{background-position:0 -1104px}.public-connector-48.salesforce{background-position:0 -1152px}.public-connector-48.saphana{background-position:0 -1200px}.public-connector-48.snowflake{background-position:0 -1248px}.public-connector-48.sqlserver{background-position:0 -1296px}.public-connector-48.stardog{background-position:0 -1344px}.public-connector-48.synapse{background-position:0 -1392px}.public-connector-48.teamleader{background-position:0 -1440px}.public-connector-48.trino{background-position:0 -1488px}.public-connector-48.typeform{background-position:0 -1536px}.public-connector-48.zendesk{background-position:0 -1584px}.public-connector-64.amazonathena{background-position:0 0}.public-connector-64.asana{background-position:0 -64px}.public-connector-64.bigquery{background-position:0 -128px}.public-connector-64.citybikes{background-position:0 -192px}.public-connector-64.clickhouse{background-position:0 -256px}.public-connector-64.demodataplugin{background-position:0 -320px}.public-connector-64.elasticsearch{background-position:0 -384px}.public-connector-64.exactonline,.public-connector-64.exactonlinenl{background-position:0 -448px}.public-connector-64.google{background-position:0 -512px}.public-connector-64.googleanalytics,.public-connector-64.googleanalyticsv4{background-position:0 -576px}.public-connector-64.googledrive{background-position:0 -640px}.public-connector-64.hubspot{background-position:0 -704px}.public-connector-64.lobbipad{background-position:0 -768px}.public-connector-64.mailchimp{background-position:0 -832px}.public-connector-64.mariadb{background-position:0 -896px}.public-connector-64.mongodb{background-position:0 -960px}.public-connector-64.mysql{background-position:0 -1024px}.public-connector-64.oracle{background-position:0 -1088px}.public-connector-64.panoply{background-position:0 -1152px}.public-connector-64.pipedrive{background-position:0 -1216px}.public-connector-64.pipelinedb{background-position:0 -1280px}.public-connector-64.postgresql{background-position:0 -1344px}.public-connector-64.presto{background-position:0 -1408px}.public-connector-64.redshift{background-position:0 -1472px}.public-connector-64.salesforce{background-position:0 -1536px}.public-connector-64.saphana{background-position:0 -1600px}.public-connector-64.snowflake{background-position:0 -1664px}.public-connector-64.sqlserver{background-position:0 -1728px}.public-connector-64.stardog{background-position:0 -1792px}.public-connector-64.synapse{background-position:0 -1856px}.public-connector-64.teamleader{background-position:0 -1920px}.public-connector-64.trino{background-position:0 -1984px}.public-connector-64.typeform{background-position:0 -2048px}.public-connector-64.zendesk{background-position:0 -2112px}", l = /* @__PURE__ */ "amazonathena.asana.bigquery.citybikes.clickhouse.demodataplugin.elasticsearch.exact.exactonline.exactonlinenl.google.googleanalytics.googleanalyticsv4.googledrive.hubspot.mailchimp.mariadb.mongodb.mysql.oracle.panoply.pipedrive.pipelinedb.postgresql.presto.redshift.salesforce.saphana.snowflake.sqlserver.stardog.synapse.teamleader.trino.typeform.zendesk".split(".");
|
|
26
|
+
function u(e) {
|
|
27
|
+
let t = {};
|
|
28
|
+
return e.forEach((e) => {
|
|
29
|
+
(e.size === "32px" || e.size === "64px") && (t[e.size] = e.url);
|
|
30
|
+
}), t;
|
|
31
|
+
}
|
|
32
|
+
var d = class extends i {
|
|
33
|
+
constructor(...e) {
|
|
34
|
+
super(...e), this.size = "32px", this.appUrl = "", this._subtype = "", this._isPublicConnector = !1, this._thumbnails = {}, this.thumbnailSizeMap = {
|
|
35
|
+
"16px": "32px",
|
|
36
|
+
"24px": "32px",
|
|
37
|
+
"32px": "32px",
|
|
38
|
+
"48px": "64px",
|
|
39
|
+
"64px": "64px"
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
static {
|
|
43
|
+
this.styles = o(c);
|
|
44
|
+
}
|
|
45
|
+
static {
|
|
46
|
+
this.tagName = "luzmo-dataset-icon";
|
|
47
|
+
}
|
|
48
|
+
willUpdate(e) {
|
|
49
|
+
(e.has("datasetInfo") || e.has("size")) && this._updateDatasetProperties();
|
|
50
|
+
}
|
|
51
|
+
_updateDatasetProperties() {
|
|
52
|
+
if (!this.datasetInfo) {
|
|
53
|
+
this._subtype = "", this._isPublicConnector = !1, this._thumbnails = {};
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
this._subtype = this.datasetInfo.subtype || "", this._isPublicConnector = this.datasetInfo.subtype !== "api" && this.datasetInfo.subtype !== "upload" && l.includes(this.datasetInfo.subtype), this._thumbnails = this.datasetInfo.account?.plugin?.thumbnails ? u(this.datasetInfo.account.plugin.thumbnails) : {};
|
|
57
|
+
}
|
|
58
|
+
render() {
|
|
59
|
+
if (!this.datasetInfo) return a`
|
|
60
|
+
|
|
61
|
+
`;
|
|
62
|
+
let e = this.thumbnailSizeMap[this.size], i = !!this._thumbnails[e], o = this.size.slice(0, -2), s = this.appUrl ? `${this.appUrl}/assets/images/connectors/sprites/all-connectors.64x64.png` : "", c = this.appUrl ? `${this.appUrl}/assets/images/connectors/sprites/all-connectors.96x96.png` : "";
|
|
63
|
+
if (this._subtype !== "upload" && i) {
|
|
64
|
+
let t = this._thumbnails[e], n = t ? `${this.appUrl}/${t}` : "";
|
|
65
|
+
return a`
|
|
66
|
+
<div
|
|
67
|
+
class="position-relative dataset-icon d-flex justify-content-center"
|
|
68
|
+
style="width: ${this.size}; height: ${this.size};"
|
|
69
|
+
>
|
|
70
|
+
<div class="public-connector">
|
|
71
|
+
<img
|
|
72
|
+
src=${n}
|
|
73
|
+
style="width: ${this.size}; height: ${this.size};"
|
|
74
|
+
alt="Dataset icon"
|
|
75
|
+
/>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
`;
|
|
79
|
+
}
|
|
80
|
+
return this._isPublicConnector && this._subtype !== "upload" && !i ? a`
|
|
81
|
+
<div
|
|
82
|
+
class="position-relative dataset-icon d-flex justify-content-center"
|
|
83
|
+
style="width: ${this.size}; height: ${this.size}; --connector-sprite-64x64: url('${s}'); --connector-sprite-96x96: url('${c}');"
|
|
84
|
+
>
|
|
85
|
+
<div
|
|
86
|
+
class="public-connector-${o} ${this._subtype}"
|
|
87
|
+
></div>
|
|
88
|
+
</div>
|
|
89
|
+
` : !this._isPublicConnector && this._subtype === "upload" ? a`
|
|
90
|
+
<div
|
|
91
|
+
class="position-relative dataset-icon d-flex justify-content-center"
|
|
92
|
+
style="width: ${this.size}; height: ${this.size};"
|
|
93
|
+
>
|
|
94
|
+
<div class="text-primary d-flex align-items-center" style="font-size: ${this.size};">
|
|
95
|
+
${n(t)}
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
` : !this._isPublicConnector && this._subtype !== "upload" && !i ? a`
|
|
99
|
+
<div
|
|
100
|
+
class="position-relative dataset-icon d-flex justify-content-center"
|
|
101
|
+
style="width: ${this.size}; height: ${this.size};"
|
|
102
|
+
>
|
|
103
|
+
<div class="text-primary ${this._subtype}" style="font-size: ${this.size};">
|
|
104
|
+
${n(r)}
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
` : a`
|
|
108
|
+
|
|
109
|
+
`;
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
//#endregion
|
|
113
|
+
//#region src/components/dataset-icon/index.ts
|
|
114
|
+
e([s({
|
|
115
|
+
type: Object,
|
|
116
|
+
attribute: "dataset"
|
|
117
|
+
})], d.prototype, "datasetInfo", void 0), e([s({
|
|
118
|
+
type: String,
|
|
119
|
+
reflect: !0
|
|
120
|
+
})], d.prototype, "size", void 0), e([s({
|
|
121
|
+
type: String,
|
|
122
|
+
attribute: "app-url"
|
|
123
|
+
})], d.prototype, "appUrl", void 0), customElements.get("luzmo-dataset-icon") || customElements.define("luzmo-dataset-icon", d);
|
|
124
|
+
//#endregion
|
|
125
|
+
export { d as t };
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../dataset-selector-list-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../dataset-selector-list-BW5v_7_L.cjs");exports.LuzmoDatasetSelectorList=e.t;
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
e.setAttribute("data-luzmo-vars", ""), e.textContent = "html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-full-down: color-mix(in oklch, var(--luzmo-border-color-full), black 45%);--luzmo-border-color-full-focus: color-mix(in oklch, var(--luzmo-border-color-full), black 25%);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-down: color-mix(in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 7%), black 1%);--luzmo-background-color-focus: color-mix( in oklch, color-mix(in oklch, var(--luzmo-background-color), var(--luzmo-primary) 5%), black 1.5% );--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-highlight-down: color-mix(in oklch, var(--luzmo-background-color-highlight), black 20%);--luzmo-background-color-highlight-focus: color-mix(in oklch, var(--luzmo-background-color-highlight), black 10%);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-font-color-down: color-mix(in oklch, var(--luzmo-font-color), black 20%);--luzmo-font-color-focus: color-mix(in oklch, var(--luzmo-font-color), black 8%);--luzmo-scrollbar-size: 6px;--luzmo-scrollbar-width: thin;--luzmo-scrollbar-track-background: transparent;--luzmo-scrollbar-track-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-background: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-scrollbar-thumb-border-radius: var(--luzmo-border-radius-s);--luzmo-scrollbar-thumb-hover-background: rgba(var(--luzmo-border-color-rgb), 0.4);--luzmo-primary: #4434ff;--luzmo-primary-hover: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-down: color-mix(in oklch, var(--luzmo-primary), black 20%);--luzmo-primary-focus: color-mix(in oklch, var(--luzmo-primary), black 8%);--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-down: color-mix(in oklch, var(--luzmo-secondary), black 20%);--luzmo-secondary-focus: color-mix(in oklch, var(--luzmo-secondary), black 8%);--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-down: color-mix(in oklch, var(--luzmo-negative-color), black 20%);--luzmo-negative-color-focus: color-mix(in oklch, var(--luzmo-negative-color), black 8%);--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-down: color-mix(in oklch, var(--luzmo-positive-color), black 20%);--luzmo-positive-color-focus: color-mix(in oklch, var(--luzmo-positive-color), black 8%);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-down: color-mix(in oklch, var(--luzmo-selected-color), black 45%);--luzmo-selected-color-focus: color-mix(in oklch, var(--luzmo-selected-color), black 25%);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-selected-color-hard-down: color-mix(in oklch, var(--luzmo-selected-color-hard), black 45%);--luzmo-selected-color-hard-focus: color-mix(in oklch, var(--luzmo-selected-color-hard), black 25%);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}", document.head.appendChild(e);
|
|
25
25
|
}
|
|
26
26
|
})();
|
|
27
|
-
import { t as e } from "../dataset-selector-list-
|
|
27
|
+
import { t as e } from "../dataset-selector-list-DwfeaUGu.js";
|
|
28
28
|
export { e as LuzmoDatasetSelectorList };
|
|
@@ -0,0 +1,75 @@
|
|
|
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-Dwuh7DWE.cjs");require("./dataset-icon-BAV0S4sZ.cjs");let r=require("lit"),i=require("lit/decorators.js"),a=require("lit/directives/repeat.js");var o=`:host{box-sizing:border-box;height:100%;font-family:var(--luzmo-dataset-selector-list-font-family,var(--dataset-selector-list-font-family));color:var(--luzmo-dataset-selector-list-color);flex-direction:column;display:flex}:host .dataset-selector-list{gap:var(--luzmo-dataset-selector-list-gap,var(--dataset-selector-list-gap));background:var(--luzmo-dataset-selector-list-background,var(--dataset-selector-list-background));height:100%;padding:var(--luzmo-dataset-selector-list-padding,var(--dataset-selector-list-padding));border-radius:var(--luzmo-dataset-selector-list-border-radius,var(--dataset-selector-list-border-radius));flex-direction:column;display:flex}:host .search-input{background-color:var(--luzmo-dataset-selector-list-input-background,var(--dataset-selector-list-input-background));border:none;border-bottom:1px solid var(--luzmo-dataset-selector-list-input-border-color,var(--dataset-selector-list-input-border-color));color:var(--luzmo-dataset-selector-list-input-color,var(--dataset-selector-list-input-color));line-height:var(--luzmo-dataset-selector-list-input-line-height,var(--dataset-selector-list-input-line-height));font-size:var(--luzmo-dataset-selector-list-input-font-size,var(--dataset-selector-list-input-font-size));padding:var(--luzmo-dataset-selector-list-input-padding,var(--dataset-selector-list-input-padding));box-sizing:border-box;outline:none;width:100%;margin:0}:host .search-input::placeholder{color:var(--luzmo-font-color-tertiary,#999)}:host .datasets-scroll-container{flex:1;min-height:0;overflow:hidden auto}:host .datasets-scroll-container::-webkit-scrollbar{width:var(--luzmo-dataset-selector-list-scrollbar-width,var(--dataset-selector-list-scrollbar-width))}:host .datasets-scroll-container::-webkit-scrollbar-track{background:var(--luzmo-dataset-selector-list-scrollbar-track-background,var(--dataset-selector-list-scrollbar-track-background));border-radius:var(--luzmo-dataset-selector-list-scrollbar-track-border-radius,var(--dataset-selector-list-scrollbar-track-border-radius))}:host .datasets-scroll-container::-webkit-scrollbar-thumb{background:var(--luzmo-dataset-selector-list-scrollbar-thumb-background,var(--dataset-selector-list-scrollbar-thumb-background));border-radius:var(--luzmo-dataset-selector-list-scrollbar-thumb-border-radius,var(--dataset-selector-list-scrollbar-thumb-border-radius))}:host .datasets-scroll-container::-webkit-scrollbar-thumb:hover{background:var(--luzmo-dataset-selector-list-scrollbar-thumb-hover-background,var(--dataset-selector-list-scrollbar-thumb-hover-background))}:host .datasets-scroll-container{scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-dataset-selector-list-scrollbar-thumb-background,var(--dataset-selector-list-scrollbar-thumb-background)) var(--luzmo-dataset-selector-list-scrollbar-track-background,var(--dataset-selector-list-scrollbar-track-background))}:host .datasets-list{flex-direction:column;display:flex}:host .available-dataset-item{padding:var(--luzmo-dataset-selector-list-item-padding,var(--dataset-selector-list-item-padding));color:var(--luzmo-dataset-selector-available-dataset-color,var(--dataset-selector-available-dataset-color));align-items:center;gap:var(--luzmo-dataset-selector-list-item-gap,var(--dataset-selector-list-item-gap));cursor:pointer;border-radius:var(--luzmo-dataset-selector-list-item-border-radius,var(--dataset-selector-list-item-border-radius));flex-direction:row;transition:background-color .15s;display:flex}:host .available-dataset-item:hover{background-color:var(--luzmo-dataset-selector-list-item-hover-background,var(--dataset-selector-list-item-hover-background))}:host .available-dataset-item:focus{outline:none}:host .available-dataset-item .dataset-icon{flex-shrink:0;justify-content:center;align-items:center;width:16px;height:16px;display:flex}:host .available-dataset-item .dataset-icon luzmo-icon{display:flex}:host .available-dataset-item .dataset-icon-img{object-fit:contain;width:16px;height:16px}:host .available-dataset-item .dataset-name{line-height:var(--luzmo-dataset-selector-list-item-line-height,var(--dataset-selector-list-item-line-height));font-size:var(--luzmo-dataset-selector-list-item-font-size,var(--dataset-selector-list-item-font-size));text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}:host .available-dataset-item .dataset-name .dataset-name-search-highlight{background:var(--luzmo-dataset-selector-list-search-highlight-background,var(--dataset-selector-list-search-highlight-background));color:var(--luzmo-dataset-selector-list-search-highlight-color,var(--dataset-selector-list-search-highlight-color));border-radius:var(--luzmo-border-radius-s);padding:0}:host .no-datasets-found{height:50%;color:var(--luzmo-dataset-selector-list-no-datasets-color,var(--dataset-selector-list-no-datasets-color));font-size:var(--luzmo-dataset-selector-list-no-datasets-font-size,var(--dataset-selector-list-no-datasets-font-size));text-align:center;padding:var(--luzmo-spacing-4,1rem);justify-content:center;align-items:center;display:flex}:host .loader{padding:var(--luzmo-spacing-5,1.25rem) 0;justify-content:center;align-items:center;display:flex}:host .loader .spinner{width:var(--luzmo-dataset-selector-list-loader-size,var(--dataset-selector-list-loader-size));height:var(--luzmo-dataset-selector-list-loader-size,var(--dataset-selector-list-loader-size));border:2px solid var(--luzmo-border-color-light,#e0e0e0);border-top-color:var(--luzmo-dataset-selector-list-loader-color,var(--dataset-selector-list-loader-color));border-radius:50%;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){:host .available-dataset-item{transition:none}:host .loader .spinner{animation:none}}:host{--dataset-selector-list-background:var(--luzmo-background-color);--dataset-selector-list-padding:0;--dataset-selector-list-gap:var(--luzmo-spacing-2);--dataset-selector-list-border-radius:var(--luzmo-border-radius-m);--dataset-selector-list-font-family:var(--luzmo-font-family);--dataset-selector-list-input-background:var(--luzmo-background-color);--dataset-selector-list-input-border-color:var(--luzmo-border-color-light,#0000000d);--dataset-selector-list-input-color:var(--luzmo-font-color);--dataset-selector-list-input-padding:0 var(--luzmo-spacing-4) var(--luzmo-spacing-2);--dataset-selector-list-input-font-size:var(--luzmo-font-size-s);--dataset-selector-list-input-line-height:1.5rem;--dataset-selector-list-item-padding:var(--luzmo-spacing-1) var(--luzmo-spacing-4);--dataset-selector-list-item-gap:var(--luzmo-spacing-3);--dataset-selector-list-item-hover-background:var(--luzmo-background-color-highlight);--dataset-selector-list-item-font-size:var(--luzmo-font-size-s);--dataset-selector-list-item-line-height:1.5rem;--dataset-selector-list-item-border-radius:var(--luzmo-border-radius-s);--dataset-selector-list-search-highlight-background:rgba(var(--luzmo-primary-rgb), .15);--dataset-selector-list-search-highlight-color:var(--luzmo-primary);--dataset-selector-list-scrollbar-width:var(--luzmo-scrollbar-size);--dataset-selector-list-scrollbar-track-background:var(--luzmo-scrollbar-track-background);--dataset-selector-list-scrollbar-track-border-radius:var(--luzmo-scrollbar-track-border-radius);--dataset-selector-list-scrollbar-thumb-background:var(--luzmo-scrollbar-thumb-background);--dataset-selector-list-scrollbar-thumb-border-radius:var(--luzmo-scrollbar-thumb-border-radius);--dataset-selector-list-scrollbar-thumb-hover-background:var(--luzmo-scrollbar-thumb-hover-background);--dataset-selector-list-loader-size:24px;--dataset-selector-list-loader-color:var(--luzmo-primary);--dataset-selector-list-no-datasets-color:var(--luzmo-font-color);--dataset-selector-list-no-datasets-font-size:var(--luzmo-font-size-s);--dataset-selector-available-dataset-color:var(--luzmo-font-color)}`,s=7,c=600,l=5,u=class extends r.LitElement{constructor(...e){super(...e),this._selectedDatasets=new Set,this.showSearch=!0,this.searchPlaceholder=`Search datasets...`,this.noDatasetsMessage=`No datasets found`,this.highlightSearchMatches=!0,this.authKey=``,this.authToken=``,this.apiUrl=`https://api.luzmo.com`,this.appServer=`https://app.luzmo.com`,this.flagOpendata=!1,this._availableDatasets=[],this._status={allDatasetsLoaded:!1,paging:!1,busy:!0,error:!1},this._searchValue=``,this._currentOffset=0,this._searchDebounceTimer=null,this._queryCache=new Map,this._calculatedQueryLimit=null,this._hasLoadedEmptyPage=!1}static{this.styles=(0,r.unsafeCSS)(o)}set selectedDatasets(e){this._selectedDatasets=e,this._shouldLoadMoreDatasetsForViewport()&&this._loadAvailableDatasets({append:!0})}get selectedDatasets(){return this._selectedDatasets}connectedCallback(){super.connectedCallback?.(),this._configureBroker(),this._waitForContainerHeightAndLoad()}_configureBroker(){(this.authKey||this.authToken||this.apiUrl)&&t.t.configure({authKey:this.authKey,authToken:this.authToken,apiUrl:this.apiUrl})}_waitForContainerHeightAndLoad(){requestAnimationFrame(()=>{this._loadAvailableDatasets({append:!1})})}_calculateOptimalQueryLimit(){if(this._calculatedQueryLimit!==null)return this._calculatedQueryLimit;let e=this.shadowRoot?.querySelector(`.dataset-selector-list`);if(!e)return s;let t=getComputedStyle(e),n=e.clientHeight,r=Number.parseFloat(t.height),i=Math.max(n,r);if(i<=0)return s;let a=Math.floor(i/24),o=Math.max(a+l,s);return this._calculatedQueryLimit=o,o}get _filteredDatasets(){return this._selectedDatasets.size===0?this._availableDatasets:this._availableDatasets.filter(e=>!this._selectedDatasets.has(e.id))}_handleSearchInput(e){let t=e.target;this._searchValue=t.value,this._searchDebounceTimer!==null&&clearTimeout(this._searchDebounceTimer),this._searchDebounceTimer=window.setTimeout(()=>{this._loadAvailableDatasets({append:!1})},c)}_handleScroll(e){let t=e.target,n=t.scrollTop,r=t.scrollHeight;n+t.clientHeight>=r-50&&!this._status.allDatasetsLoaded&&!this._status.busy&&this._loadAvailableDatasets({append:!0})}async _loadAvailableDatasets({append:e}){e||(this._calculatedQueryLimit=null,this._hasLoadedEmptyPage=!1),this._status={...this._status,busy:!0,allDatasetsLoaded:e?this._status.allDatasetsLoaded:!1,paging:e};let n=this._generateQuery(e),r=JSON.stringify(n),i=this._queryCache.has(r);try{let a;i?a=this._queryCache.get(r):(a=await t.t.fetchApi(`/securable`,{action:`get`,version:`0.1.0`,find:n}),this._queryCache.set(r,a)),this._onDatasetsLoaded(e,a),this._shouldLoadMoreDatasetsForViewport()&&await this._loadAvailableDatasets({append:!0})}catch(e){console.error(`Error loading datasets:`,e),this._status={...this._status,busy:!1,paging:!1,error:!0}}finally{this._status={...this._status,busy:!1,paging:!1}}}_generateQuery(e){let t=this._calculateOptimalQueryLimit();e?this._currentOffset+=t:this._currentOffset=0;let n=this._searchValue?{search:{match_types:[`name`,`description`],keyphrase:this._searchValue,securable_types:`dataset`},order:[[`name`,`asc`]]}:{order:[[`updated_at`,`desc`]]};return{attributes:[`id`,`updated_at`,`name`,`subtype`],include:[{model:`Collection`,attributes:[`id`,`favorite`],where:{favorite:!0}},{model:`Account`,attributes:[`id`,`provider`,`name`],include:[{model:`Plugin`,attributes:[`id`],include:[{model:`Thumbnail`,where:{size:`32px`}}]}]}],where:{type:`dataset`},limit:t,offset:this._currentOffset,...n,...this.flagOpendata?{public:null}:{}}}_onDatasetsLoaded(e,{rows:t,count:n}){let r;if(e){let e=new Set(this._availableDatasets.map(e=>e.id)),n=t.filter(t=>!e.has(t.id));r=[...this._availableDatasets,...n]}else r=t||[];e&&t.length===0?this._hasLoadedEmptyPage=!0:t.length>0&&(this._hasLoadedEmptyPage=!1);let i=r.reduce((e,t)=>(e.some(e=>e.id===t.id)||e.push(t),e),[]),a=r.length,o=this._hasLoadedEmptyPage||a>=n;this._status={...this._status,allDatasetsLoaded:o},this._availableDatasets=i}_shouldLoadMoreDatasetsForViewport(){if(this._status.allDatasetsLoaded||this._hasLoadedEmptyPage||this._status.busy)return!1;let e=this.shadowRoot?.querySelector(`.datasets-scroll-container`);if(!e)return!1;let t=e.clientHeight,n=Math.ceil(t/24),r=Math.ceil(n*1.5);return this._filteredDatasets.length<r}_getDatasetName(e){return n.t(e)}_escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}_renderHighlightedDatasetName(e){let t=this._getDatasetName(e),n=this._searchValue.trim();if(!this.highlightSearchMatches||!n)return t;let i=this._escapeRegExp(n),a=RegExp(`(${i})`,`gi`),o=t.split(a),s=n.toLowerCase();return o.length===1?t:r.html`${o.map(e=>e.toLowerCase()===s?r.html`<span class="dataset-name-search-highlight">${e}</span>`:e)}`}_selectDataset(e){this.dispatchEvent(new CustomEvent(`dataset-selected`,{detail:e,bubbles:!0,composed:!0}))}_handleDatasetClick(e){let t=e.currentTarget.dataset.datasetId,n=this._filteredDatasets.find(e=>e.id===t);n&&this._selectDataset(n)}_handleDatasetKeydown(e){if(e.key===`Enter`||e.key===` `){e.preventDefault();let t=e.currentTarget.dataset.datasetId,n=this._filteredDatasets.find(e=>e.id===t);n&&this._selectDataset(n)}}_renderLoader(){return r.html`
|
|
21
|
+
<div class="loader">
|
|
22
|
+
<div class="spinner"></div>
|
|
23
|
+
</div>
|
|
24
|
+
`}_renderDatasetIcon(e){return r.html`
|
|
25
|
+
<luzmo-dataset-icon
|
|
26
|
+
.datasetInfo=${e}
|
|
27
|
+
size="16px"
|
|
28
|
+
app-url=${this.appServer}
|
|
29
|
+
></luzmo-dataset-icon>
|
|
30
|
+
`}_renderSearchInput(){return this.showSearch?r.html`
|
|
31
|
+
<input
|
|
32
|
+
name="dataset-search"
|
|
33
|
+
type="text"
|
|
34
|
+
autocomplete="off"
|
|
35
|
+
autofocus
|
|
36
|
+
aria-label=${this.searchPlaceholder}
|
|
37
|
+
.value=${this._searchValue}
|
|
38
|
+
placeholder=${this.searchPlaceholder}
|
|
39
|
+
@input=${this._handleSearchInput}
|
|
40
|
+
class="search-input"
|
|
41
|
+
/>
|
|
42
|
+
`:r.nothing}_renderDatasetList(){return this._filteredDatasets.length===0?this._status.busy&&!this._status.paging?this._renderLoader():r.html`
|
|
43
|
+
<div class="no-datasets-found" role="status">${this.noDatasetsMessage}</div>
|
|
44
|
+
`:r.html`
|
|
45
|
+
<div class="datasets-scroll-container" @scroll=${this._handleScroll}>
|
|
46
|
+
${this._status.busy&&!this._status.paging?this._renderLoader():r.nothing}
|
|
47
|
+
<div class="datasets-list">
|
|
48
|
+
${(0,a.repeat)(this._filteredDatasets,e=>e.id,e=>r.html`
|
|
49
|
+
<div
|
|
50
|
+
class="available-dataset-item"
|
|
51
|
+
data-dataset-id=${e.id}
|
|
52
|
+
@click=${this._handleDatasetClick}
|
|
53
|
+
role="button"
|
|
54
|
+
tabindex="0"
|
|
55
|
+
@keydown=${this._handleDatasetKeydown}
|
|
56
|
+
>
|
|
57
|
+
<div class="dataset-icon">
|
|
58
|
+
${this._renderDatasetIcon(e)}
|
|
59
|
+
</div>
|
|
60
|
+
<span
|
|
61
|
+
class="dataset-name"
|
|
62
|
+
title=${this._getDatasetName(e)}
|
|
63
|
+
>
|
|
64
|
+
${this._renderHighlightedDatasetName(e)}
|
|
65
|
+
</span>
|
|
66
|
+
</div>
|
|
67
|
+
`)}
|
|
68
|
+
${this._status.paging?this._renderLoader():r.nothing}
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
`}render(){return r.html`
|
|
72
|
+
<div class="dataset-selector-list" aria-busy=${this._status.busy?`true`:`false`}>
|
|
73
|
+
${this._renderSearchInput()} ${this._renderDatasetList()}
|
|
74
|
+
</div>
|
|
75
|
+
`}};e.t([(0,i.property)({type:Object,attribute:!1})],u.prototype,`selectedDatasets`,null),e.t([(0,i.property)({type:Boolean,attribute:`show-search`})],u.prototype,`showSearch`,void 0),e.t([(0,i.property)({type:String,attribute:`search-placeholder`})],u.prototype,`searchPlaceholder`,void 0),e.t([(0,i.property)({type:String,attribute:`no-datasets-message`})],u.prototype,`noDatasetsMessage`,void 0),e.t([(0,i.property)({type:Boolean,attribute:`highlight-search-matches`})],u.prototype,`highlightSearchMatches`,void 0),e.t([(0,i.property)({type:String,attribute:`auth-key`})],u.prototype,`authKey`,void 0),e.t([(0,i.property)({type:String,attribute:`auth-token`})],u.prototype,`authToken`,void 0),e.t([(0,i.property)({type:String,attribute:`api-url`})],u.prototype,`apiUrl`,void 0),e.t([(0,i.property)({type:String,attribute:`app-server`})],u.prototype,`appServer`,void 0),e.t([(0,i.property)({type:Boolean,attribute:`flag-opendata`})],u.prototype,`flagOpendata`,void 0),e.t([(0,i.state)()],u.prototype,`_availableDatasets`,void 0),e.t([(0,i.state)()],u.prototype,`_status`,void 0),e.t([(0,i.state)()],u.prototype,`_searchValue`,void 0),customElements.get(`luzmo-dataset-selector-list`)||customElements.define(`luzmo-dataset-selector-list`,u),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return u}});
|