@luzmo/analytics-components-kit 1.0.4-beta.1 → 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/README.md +1 -1
- 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/index.d.ts +1 -0
- package/react/utils/store/index.d.ts +5 -5
- package/react/utils/store/store-registry.d.ts +1 -1
- package/react/utils/timezone/datetime-timezone.d.ts +25 -0
- package/react/utils/timezone/tests/datetime-timezone.test.d.ts +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/store/index.d.ts +5 -5
- package/utils/store/store-registry.d.ts +1 -1
- package/utils/timezone/datetime-timezone.d.ts +25 -0
- package/utils/timezone/tests/datetime-timezone.test.d.ts +1 -0
- 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-CKg3oQlZ.cjs +0 -58
- package/components/filter-item-DtdK1jvx.js +0 -242
- package/components/filter-value-picker-B5fHoLAG.cjs +0 -60
- 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-hierarchy-CSM0RPvX.cjs +0 -47
- package/components/filter-value-picker-hierarchy-DEbN7h5L.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/filter-value-picker-tyoO5ISM.js +0 -151
- package/components/filters-C8fHs4_m.js +0 -400
- package/components/filters-sR8GxUGw.cjs +0 -150
- 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-3XO8ba12.cjs +0 -20
- package/components/utils-B6EE0gvH.js +0 -313
- 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
|
@@ -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 "../item-slot-picker-panel-
|
|
27
|
+
import { t as e } from "../item-slot-picker-panel-DyhRlAKN.js";
|
|
28
28
|
export { e as LuzmoItemSlotPickerPanel };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2026 Luzmo
|
|
4
|
+
* All rights reserved.
|
|
5
|
+
* Luzmo web components (“Luzmo Web Components”)
|
|
6
|
+
* must be used according to the Luzmo Terms of Service.
|
|
7
|
+
* This license allows users with a current active Luzmo account
|
|
8
|
+
* to use the Luzmo Web Components. This license terminates
|
|
9
|
+
* automatically if a user no longer has an active Luzmo account.
|
|
10
|
+
* Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
|
|
11
|
+
*
|
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
* SOFTWARE.
|
|
19
|
+
* */
|
|
20
|
+
const e=require("./base-BCmPH4SF.cjs"),t=require("./decorate-DCJt-2rt.cjs"),n=require("./localized-mixin-DrK3QZNa.cjs"),r=require("./data-broker-BH5WDG0j.cjs"),i=require("./type-check-BehV9ZL1.cjs"),a=require("./localize-D3i4Epy_.cjs"),o=require("./slots-config-YdyClHLc.cjs"),s=require("./slot-labels.config-DKnxOncr.cjs");require("./item-slot-picker-BgQAviso.cjs");let c=require("lit"),l=require("lit/decorators.js"),u=require("@lit/localize");require("@luzmo/lucero/select"),require("@luzmo/lucero/field-label");let d=require("lit/directives/if-defined.js"),f=require("@lit/task");var p=`:host{font-size:var(--luzmo-item-slot-picker-panel-font-size,var(--luzmo-font-size));font-family:var(--luzmo-font-family,sans-serif);color:var(--luzmo-font-color,inherit);display:block}:host([size=s]){font-size:var(--luzmo-item-slot-picker-panel-font-size-s,var(--luzmo-font-size-s))}:host([size=l]){font-size:var(--luzmo-item-slot-picker-panel-font-size-l,var(--luzmo-font-size-l))}:host([size=xl]){font-size:var(--luzmo-item-slot-picker-panel-font-size-xl,var(--luzmo-font-size-xl))}.container{flex-direction:column;align-items:flex-start;display:flex}.dataset-picker{align-self:stretch;align-items:flex-start;gap:var(--luzmo-item-slot-picker-panel-dataset-picker-gap,var(--luzmo-spacing-2));border-bottom-style:solid;border-bottom-width:var(--luzmo-item-slot-picker-panel-dataset-picker-border-width,1px);border-bottom-color:var(--luzmo-item-slot-picker-panel-dataset-picker-border-color,var(--luzmo-border-color));flex-direction:column;flex-shrink:0;margin-block-end:var(--luzmo-item-slot-picker-panel-dataset-picker-margin-block-end,var(--luzmo-spacing-4));padding-block-end:var(--luzmo-item-slot-picker-panel-dataset-picker-padding-block-end,var(--luzmo-spacing-4));display:flex}.slots-panel{gap:var(--luzmo-item-slot-picker-panel-gap,var(--luzmo-spacing-4));flex-direction:column;display:flex}.slot-container{gap:var(--luzmo-item-slot-picker-panel-slot-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}luzmo-field-label{margin:0}luzmo-item-slot-picker{display:block}:host([grows]) .container{align-items:stretch;width:100%}:host([grows]) .dataset-picker{align-items:stretch}:host([grows]) .dataset-picker luzmo-select{width:100%}`,m=50,h=class extends n.t(e.n(e.i,{validSizes:[`s`,`m`,`l`,`xl`],noDefaultSize:!0})){constructor(...e){super(...e),this._loadSlotsConfig=new f.Task(this,{task:async([e])=>{if(e&&e!==this._itemTypeLoaded){this._itemTypeLoaded=e;let t=await o.t(e);return this._slotsConfig=t??[],this._slotsConfig}return this._slotsConfig},args:()=>[this.itemType,this.language]}),this._slotsConfig=[],this._datasetListItems=[],this._datasetListRetrieving=!1,this._datasetListPending=!1,this._datasetNamesFetchAttempted=!1,this._hasMoreDatasets=!0,this._fetchedDatasetsDataFields=[],this._failedDatasetIds=new Set,this._loadDataFieldsTask=new f.Task(this,{args:()=>[this._currentDatasetId,this.apiUrl,this.authKey,this.authToken,this.datasetsDataFields.length],task:async([e,t,n,a,o])=>{if(o>0||!e)return null;if(!i.s(e))return console.warn(`[LuzmoItemSlotPickerPanel] Invalid dataset ID provided (not a valid UUID): ${e}`),this._failedDatasetIds.add(e),null;if(this._failedDatasetIds.has(e))return null;let s=this._fetchedDatasetsDataFields.find(t=>t.id===e);if(s&&s.columns&&s.columns.length>0)return s;try{let t=await r.t.fetchDatasetsWithColumnsAndFormulas([e]);if(t.length===0)return this._failedDatasetIds.add(e),null;let n=t[0],i=this._fetchedDatasetsDataFields.findIndex(t=>t.id===e);return i===-1?this._fetchedDatasetsDataFields=[...this._fetchedDatasetsDataFields,n]:this._fetchedDatasetsDataFields[i]=n,n}catch(t){return console.warn(`Failed to fetch dataset data fields:`,t),this._failedDatasetIds.add(e),null}}}),this.contentLanguage=`en`,this.slotsContents=[],this.selects=`multiple`,this.dataFieldsSearch=`auto`,this.datasetSearch=`auto`,this.icons=`menu-only`,this.datasetsDataFields=[],this.datasetIds=[],this.datasetPicker=!1,this.apiUrl=`https://api.luzmo.com`,this.placement=`bottom-start`,this.slotMenuPlacement=`bottom-end`,this.constraintMode=`auto`,this.grows=!1,this._currentSlotsContents=[],this._createSlotChangeHandler=e=>t=>{t.preventDefault(),t.stopPropagation();let n=t.detail.slotContents??[],r=this._applySlotConstraints(e,n);r!==null&&(this._currentSlotsContents=r,this.slotsContents=structuredClone(r),this.dispatchEvent(new CustomEvent(`luzmo-slots-contents-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotsContents:r}})))}}static{this.styles=(0,c.unsafeCSS)(p)}get _availableDatasets(){return this.datasetsDataFields.length>0?this.datasetsDataFields:this.datasetIds.length>0?this.datasetIds.map(e=>{let t=this._datasetListItems.find(t=>t.id===e);return t?{id:t.id,name:t.name,description:t.description}:{id:e,name:{en:e}}}):this._datasetListItems.length>0?this._datasetListItems.map(e=>({id:e.id,name:e.name,description:e.description})):[]}get _currentDatasetsDataFields(){if(this.datasetsDataFields.length>0){if(!this._currentDatasetId)return this.datasetsDataFields;let e=this.datasetsDataFields.find(e=>e.id===this._currentDatasetId);return e?[e]:this.datasetsDataFields}let e=this._loadDataFieldsTask.value;if(e)return[{id:e.id,name:e.name,description:e.description,columns:e.columns??[],formulas:e.formulas??[]}];if(this._fetchedDatasetsDataFields.length>0&&this._currentDatasetId){let e=this._fetchedDatasetsDataFields.find(e=>e.id===this._currentDatasetId);if(e)return[{id:e.id,name:e.name,description:e.description,columns:e.columns??[],formulas:e.formulas??[]}]}return[]}get _shouldFetchDatasetList(){return this.datasetPicker&&this.datasetsDataFields.length===0}_areDatasetsLinked(e,t){return e===t}_getUsedDatasetIds(){let e=new Set;for(let t of this._currentSlotsContents)for(let n of t.content)n.datasetId&&e.add(n.datasetId);return[...e]}willUpdate(e){super.willUpdate(e),e.has(`slotsContents`)&&(this._currentSlotsContents=structuredClone(this.slotsContents??[]));let t=e.has(`selectedDatasetId`),n=e.has(`datasetsDataFields`),i=e.has(`datasetIds`),a=e.has(`datasetPicker`),o=e.has(`authKey`),s=e.has(`authToken`),c=e.has(`apiUrl`);(i||o||s||c)&&(this._datasetListItems=[],this._hasMoreDatasets=!0,this._datasetNamesFetchAttempted=!1,this._fetchedDatasetsDataFields=[],this._failedDatasetIds.clear(),r.t.configure({apiUrl:this.apiUrl,authKey:this.authKey??``,authToken:this.authToken??``})),n&&this.datasetsDataFields.length>0&&(this._datasetListItems=[],this._hasMoreDatasets=!0,this._fetchedDatasetsDataFields=[],this._failedDatasetIds.clear()),(t||n||i)&&this._updateCurrentDatasetId(),(i||o||s||c||a)&&this.datasetIds.length>0&&this.datasetPicker&&this.datasetsDataFields.length===0&&this._datasetListItems.length===0&&this._fetchDatasetNamesForPicker()}_updateCurrentDatasetId(){let e=this._availableDatasets;if(this.selectedDatasetId&&e.some(e=>e.id===this.selectedDatasetId)){this._currentDatasetId=this.selectedDatasetId;return}if(this.selectedDatasetId&&this.datasetIds.includes(this.selectedDatasetId)){this._currentDatasetId=this.selectedDatasetId;return}this._currentDatasetId=e.length>0?e[0].id:void 0}async _fetchDatasetNamesForPicker(){if(this.datasetIds.length!==0){this._datasetListPending=!0;try{let e=await r.t.fetchDatasetNames(this.datasetIds);this._datasetListItems=e}catch(e){console.warn(`Failed to fetch dataset names:`,e)}finally{this._datasetListPending=!1,this._datasetNamesFetchAttempted=!0}}}async _loadMoreDatasets(e){if(!(this._datasetListRetrieving||!this._hasMoreDatasets)){this._datasetListRetrieving=!0,e&&(e.retrieving=!0);try{let e=this._datasetListItems.length,t=await r.t.fetchAllDatasets({offset:e,limit:m});this._datasetListItems=[...this._datasetListItems,...t.data],this._hasMoreDatasets=e+m<(t.pagination?.total??0),!this._currentDatasetId&&this._datasetListItems.length>0&&this._updateCurrentDatasetId()}catch(e){console.warn(`Failed to load dataset list:`,e),this._hasMoreDatasets=!1}finally{this._datasetListRetrieving=!1,e&&(e.retrieving=!1)}}}_handlePickerScrolled(e){if(this.datasetIds.length>0)return;let t=e.target,{last:n}=e.detail;n>=this._datasetListItems.length-10&&this._hasMoreDatasets&&this._loadMoreDatasets(t)}async _handlePickerOpened(e){let t=e.target;if(this._datasetListItems.length===0&&this._shouldFetchDatasetList&&this.datasetIds.length===0&&this._hasMoreDatasets){t.pending=!0;try{await this._loadMoreDatasets(t)}finally{t.pending=!1}}}_handleDatasetChange(e){let t=e.detail?.value?.[0];if(!t||t===this._currentDatasetId)return;let n=this._getUsedDatasetIds(),r=this._currentSlotsContents.some(e=>e.content.length>0),i=n.every(e=>this._areDatasetsLinked(e,t));if(r&&!i){if(this.constraintMode===`event-only`){this.dispatchEvent(new CustomEvent(`luzmo-dataset-constraint-triggered`,{bubbles:!0,composed:!0,detail:{previousDatasetId:this._currentDatasetId,newDatasetId:t,currentSlotsContents:structuredClone(this._currentSlotsContents),wouldClearSlots:!0}}));return}this._currentSlotsContents=[],this.slotsContents=[],this.dispatchEvent(new CustomEvent(`luzmo-slots-contents-changed`,{bubbles:!0,composed:!0,cancelable:!0,detail:{slotsContents:[]}}))}this._currentDatasetId=t,this.dispatchEvent(new CustomEvent(`luzmo-dataset-changed`,{bubbles:!0,composed:!0,detail:{datasetId:t}}))}_getSlotContents(e){return this._currentSlotsContents?.find(t=>t.name===e)?.content??[]}_applySlotConstraints(e,t){let n=this.slotsConfiguration??this._slotsConfig,r=structuredClone(this._currentSlotsContents),i=structuredClone(this._currentSlotsContents),a=i.findIndex(t=>t.name===e);a===-1?i.push({name:e,content:t}):i[a].content=t;let o=[];for(let r of n){if(r.keepOnlyFirstWhenOtherSlotFilled?.includes(e)&&t.length>0){let t=i.findIndex(e=>e.name===r.name);t!==-1&&i[t].content.length>1&&(o.push({type:`keepOnlyFirstWhenOtherSlotFilled`,affectedSlotName:r.name,triggeredBySlotName:e}),i[t].content=[i[t].content[0]])}if(r.clearWhenOtherSlotHasMultipleItems?.includes(e)&&t.length>1){let t=i.findIndex(e=>e.name===r.name);t!==-1&&i[t].content.length>0&&(o.push({type:`clearWhenOtherSlotHasMultipleItems`,affectedSlotName:r.name,triggeredBySlotName:e}),i[t].content=[])}}if(this.constraintMode===`event-only`&&o.length>0){let n={triggerSlotName:e,proposedTriggerContents:t,originalSlotsContents:r,proposedSlotsContents:i,constraints:o};return this.dispatchEvent(new CustomEvent(`luzmo-slot-constraint-triggered`,{detail:n,bubbles:!0,composed:!0})),null}return i}_getTranslatedLabel(e){let t=(typeof e.label==`string`?e.label:e.label?a.t(e.label,this.language):void 0)??e.name;return s.t[t]?s.t[t]():t}_renderDatasetPicker(){if(!this.datasetPicker)return c.nothing;let e=this._availableDatasets,t=e.length>1,n=this.datasetIds.length>0,r=this._shouldFetchDatasetList;if(!t&&!n&&!r)return c.nothing;let i=this._datasetListPending||this.datasetIds.length>0&&this._datasetListItems.length===0&&this.datasetsDataFields.length===0&&!this._datasetNamesFetchAttempted,o=i?[]:e.map(e=>({value:e.id,label:a.t(e.name,this.contentLanguage)||e.id})),s=i?[]:this._currentDatasetId?[this._currentDatasetId]:[],l=i?(0,u.msg)(`Loading datasets...`):(0,u.msg)(`Select dataset...`);return c.html`
|
|
21
|
+
<div class="dataset-picker" part="dataset-picker">
|
|
22
|
+
<luzmo-field-label part="dataset-field-label" size=${this.size}>
|
|
23
|
+
${this.datasetPickerLabel??(0,u.msg)(`Dataset`)}
|
|
24
|
+
</luzmo-field-label>
|
|
25
|
+
<luzmo-select
|
|
26
|
+
selects="single"
|
|
27
|
+
variant="highlight"
|
|
28
|
+
search=${(0,d.ifDefined)(this.datasetSearch)}
|
|
29
|
+
placement=${this.placement}
|
|
30
|
+
.size=${this.size}
|
|
31
|
+
.options=${o}
|
|
32
|
+
.value=${s}
|
|
33
|
+
.label=${l}
|
|
34
|
+
?pending=${i}
|
|
35
|
+
@change=${this._handleDatasetChange}
|
|
36
|
+
@luzmo-opened=${this._handlePickerOpened}
|
|
37
|
+
@luzmo-scrolled=${this._handlePickerScrolled}
|
|
38
|
+
></luzmo-select>
|
|
39
|
+
</div>
|
|
40
|
+
`}_renderSlot(e){let t=this._getSlotContents(e.name),n=this._createSlotChangeHandler(e.name),r=this._getTranslatedLabel(e);return c.html`
|
|
41
|
+
<div class="slot-container" part="slot-container">
|
|
42
|
+
<luzmo-field-label part="field-label" size=${this.size}>
|
|
43
|
+
${r}${e.isRequired?` *`:``}
|
|
44
|
+
</luzmo-field-label>
|
|
45
|
+
<luzmo-item-slot-picker
|
|
46
|
+
part="item-slot-picker"
|
|
47
|
+
item-type=${(0,d.ifDefined)(this.itemType)}
|
|
48
|
+
slot-name=${e.name}
|
|
49
|
+
language=${this.language}
|
|
50
|
+
content-language=${this.contentLanguage}
|
|
51
|
+
api-url=${(0,d.ifDefined)(this.apiUrl)}
|
|
52
|
+
auth-key=${(0,d.ifDefined)(this.authKey)}
|
|
53
|
+
auth-token=${(0,d.ifDefined)(this.authToken)}
|
|
54
|
+
size=${this.size}
|
|
55
|
+
selects=${this.selects}
|
|
56
|
+
search=${(0,d.ifDefined)(this.dataFieldsSearch)}
|
|
57
|
+
icons=${(0,d.ifDefined)(this.icons)}
|
|
58
|
+
placement=${this.placement}
|
|
59
|
+
slot-menu-placement=${this.slotMenuPlacement}
|
|
60
|
+
?grows=${this.grows}
|
|
61
|
+
aria-required=${e.isRequired?`true`:c.nothing}
|
|
62
|
+
.slotConfiguration=${e}
|
|
63
|
+
.slotContents=${t}
|
|
64
|
+
.datasetsDataFields=${this._currentDatasetsDataFields}
|
|
65
|
+
@luzmo-slot-contents-changed=${n}
|
|
66
|
+
></luzmo-item-slot-picker>
|
|
67
|
+
</div>
|
|
68
|
+
`}_renderSlots(e){return c.html`
|
|
69
|
+
<div class="slots-panel" part="slots-panel">
|
|
70
|
+
${e.map(e=>this._renderSlot(e))}
|
|
71
|
+
</div>
|
|
72
|
+
`}_renderContent(e){return c.html`
|
|
73
|
+
<div class="container" part="container">
|
|
74
|
+
${this._renderDatasetPicker()}
|
|
75
|
+
${this._renderSlots(e)}
|
|
76
|
+
</div>
|
|
77
|
+
`}render(){return this.slotsConfiguration&&this.slotsConfiguration.length>0?this._renderContent(this.slotsConfiguration):this._loadSlotsConfig.render({pending:()=>c.html`
|
|
78
|
+
<p role="status">Loading...</p>
|
|
79
|
+
`,complete:e=>!e||e.length===0?c.html`<p>No slots configuration found for ${this.itemType}</p>`:this._renderContent(e),error:e=>c.html`
|
|
80
|
+
<div role="alert">Could not load slots configuration for '${this.itemType}': ${e}.</div>
|
|
81
|
+
`})}};t.t([(0,l.state)()],h.prototype,`_datasetListItems`,void 0),t.t([(0,l.state)()],h.prototype,`_datasetListRetrieving`,void 0),t.t([(0,l.state)()],h.prototype,`_datasetListPending`,void 0),t.t([(0,l.state)()],h.prototype,`_currentDatasetId`,void 0),t.t([(0,l.state)()],h.prototype,`_fetchedDatasetsDataFields`,void 0),t.t([(0,l.property)({type:String,reflect:!0,attribute:`item-type`})],h.prototype,`itemType`,void 0),t.t([(0,l.property)({type:String,attribute:`content-language`,reflect:!0})],h.prototype,`contentLanguage`,void 0),t.t([(0,l.property)({type:Array})],h.prototype,`slotsConfiguration`,void 0),t.t([(0,l.property)({type:Array})],h.prototype,`slotsContents`,void 0),t.t([(0,l.property)({type:String,reflect:!0})],h.prototype,`selects`,void 0),t.t([(0,l.property)({type:String,reflect:!0,attribute:`data-fields-search`})],h.prototype,`dataFieldsSearch`,void 0),t.t([(0,l.property)({type:String,reflect:!0,attribute:`dataset-search`})],h.prototype,`datasetSearch`,void 0),t.t([(0,l.property)({type:String,reflect:!0})],h.prototype,`icons`,void 0),t.t([(0,l.property)({type:Array,reflect:!1})],h.prototype,`datasetsDataFields`,void 0),t.t([(0,l.property)({type:Array,attribute:`dataset-ids`})],h.prototype,`datasetIds`,void 0),t.t([(0,l.property)({type:String,attribute:`selected-dataset-id`,reflect:!0})],h.prototype,`selectedDatasetId`,void 0),t.t([(0,l.property)({type:Boolean,attribute:`dataset-picker`,reflect:!0})],h.prototype,`datasetPicker`,void 0),t.t([(0,l.property)({type:String,attribute:`dataset-picker-label`})],h.prototype,`datasetPickerLabel`,void 0),t.t([(0,l.property)({type:String,attribute:`api-url`})],h.prototype,`apiUrl`,void 0),t.t([(0,l.property)({type:String,attribute:`auth-key`})],h.prototype,`authKey`,void 0),t.t([(0,l.property)({type:String,attribute:`auth-token`})],h.prototype,`authToken`,void 0),t.t([(0,l.property)({type:String,reflect:!0})],h.prototype,`placement`,void 0),t.t([(0,l.property)({type:String,reflect:!0,attribute:`slot-menu-placement`})],h.prototype,`slotMenuPlacement`,void 0),t.t([(0,l.property)({type:String,reflect:!0,attribute:`constraint-mode`})],h.prototype,`constraintMode`,void 0),t.t([(0,l.property)({type:Boolean,reflect:!0})],h.prototype,`grows`,void 0),t.t([(0,l.state)()],h.prototype,`_currentSlotsContents`,void 0),h=t.t([(0,u.localized)()],h),customElements.get(`luzmo-item-slot-picker-panel`)||customElements.define(`luzmo-item-slot-picker-panel`,h),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return h}});
|
|
@@ -0,0 +1,448 @@
|
|
|
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 { i as e, n as t } from "./base-DYkpEuMf.js";
|
|
21
|
+
import { t as n } from "./decorate-CaYbmmmm.js";
|
|
22
|
+
import { t as r } from "./localized-mixin-BYWQe1fg.js";
|
|
23
|
+
import { t as i } from "./data-broker-CVDImE1j.js";
|
|
24
|
+
import { s as a } from "./type-check-CGREdneG.js";
|
|
25
|
+
import { t as o } from "./localize-BT7REYBY.js";
|
|
26
|
+
import { t as s } from "./slots-config-DIBoffEb.js";
|
|
27
|
+
import { t as c } from "./slot-labels.config-3nXLBRdr.js";
|
|
28
|
+
import "./item-slot-picker-BZV33YoP.js";
|
|
29
|
+
import { html as l, nothing as u, unsafeCSS as d } from "lit";
|
|
30
|
+
import { property as f, state as p } from "lit/decorators.js";
|
|
31
|
+
import { localized as m, msg as h } from "@lit/localize";
|
|
32
|
+
import "@luzmo/lucero/select";
|
|
33
|
+
import "@luzmo/lucero/field-label";
|
|
34
|
+
import { ifDefined as g } from "lit/directives/if-defined.js";
|
|
35
|
+
import { Task as _ } from "@lit/task";
|
|
36
|
+
//#region src/components/item-slot-picker-panel/item-slot-picker-panel.module.scss?inline
|
|
37
|
+
var v = ":host{font-size:var(--luzmo-item-slot-picker-panel-font-size,var(--luzmo-font-size));font-family:var(--luzmo-font-family,sans-serif);color:var(--luzmo-font-color,inherit);display:block}:host([size=s]){font-size:var(--luzmo-item-slot-picker-panel-font-size-s,var(--luzmo-font-size-s))}:host([size=l]){font-size:var(--luzmo-item-slot-picker-panel-font-size-l,var(--luzmo-font-size-l))}:host([size=xl]){font-size:var(--luzmo-item-slot-picker-panel-font-size-xl,var(--luzmo-font-size-xl))}.container{flex-direction:column;align-items:flex-start;display:flex}.dataset-picker{align-self:stretch;align-items:flex-start;gap:var(--luzmo-item-slot-picker-panel-dataset-picker-gap,var(--luzmo-spacing-2));border-bottom-style:solid;border-bottom-width:var(--luzmo-item-slot-picker-panel-dataset-picker-border-width,1px);border-bottom-color:var(--luzmo-item-slot-picker-panel-dataset-picker-border-color,var(--luzmo-border-color));flex-direction:column;flex-shrink:0;margin-block-end:var(--luzmo-item-slot-picker-panel-dataset-picker-margin-block-end,var(--luzmo-spacing-4));padding-block-end:var(--luzmo-item-slot-picker-panel-dataset-picker-padding-block-end,var(--luzmo-spacing-4));display:flex}.slots-panel{gap:var(--luzmo-item-slot-picker-panel-gap,var(--luzmo-spacing-4));flex-direction:column;display:flex}.slot-container{gap:var(--luzmo-item-slot-picker-panel-slot-gap,var(--luzmo-spacing-2));flex-direction:column;display:flex}luzmo-field-label{margin:0}luzmo-item-slot-picker{display:block}:host([grows]) .container{align-items:stretch;width:100%}:host([grows]) .dataset-picker{align-items:stretch}:host([grows]) .dataset-picker luzmo-select{width:100%}", y = 50, b = class extends r(t(e, {
|
|
38
|
+
validSizes: [
|
|
39
|
+
"s",
|
|
40
|
+
"m",
|
|
41
|
+
"l",
|
|
42
|
+
"xl"
|
|
43
|
+
],
|
|
44
|
+
noDefaultSize: !0
|
|
45
|
+
})) {
|
|
46
|
+
constructor(...e) {
|
|
47
|
+
super(...e), this._loadSlotsConfig = new _(this, {
|
|
48
|
+
task: async ([e]) => {
|
|
49
|
+
if (e && e !== this._itemTypeLoaded) {
|
|
50
|
+
this._itemTypeLoaded = e;
|
|
51
|
+
let t = await s(e);
|
|
52
|
+
return this._slotsConfig = t ?? [], this._slotsConfig;
|
|
53
|
+
}
|
|
54
|
+
return this._slotsConfig;
|
|
55
|
+
},
|
|
56
|
+
args: () => [this.itemType, this.language]
|
|
57
|
+
}), this._slotsConfig = [], this._datasetListItems = [], this._datasetListRetrieving = !1, this._datasetListPending = !1, this._datasetNamesFetchAttempted = !1, this._hasMoreDatasets = !0, this._fetchedDatasetsDataFields = [], this._failedDatasetIds = /* @__PURE__ */ new Set(), this._loadDataFieldsTask = new _(this, {
|
|
58
|
+
args: () => [
|
|
59
|
+
this._currentDatasetId,
|
|
60
|
+
this.apiUrl,
|
|
61
|
+
this.authKey,
|
|
62
|
+
this.authToken,
|
|
63
|
+
this.datasetsDataFields.length
|
|
64
|
+
],
|
|
65
|
+
task: async ([e, t, n, r, o]) => {
|
|
66
|
+
if (o > 0 || !e) return null;
|
|
67
|
+
if (!a(e)) return console.warn(`[LuzmoItemSlotPickerPanel] Invalid dataset ID provided (not a valid UUID): ${e}`), this._failedDatasetIds.add(e), null;
|
|
68
|
+
if (this._failedDatasetIds.has(e)) return null;
|
|
69
|
+
let s = this._fetchedDatasetsDataFields.find((t) => t.id === e);
|
|
70
|
+
if (s && s.columns && s.columns.length > 0) return s;
|
|
71
|
+
try {
|
|
72
|
+
let t = await i.fetchDatasetsWithColumnsAndFormulas([e]);
|
|
73
|
+
if (t.length === 0) return this._failedDatasetIds.add(e), null;
|
|
74
|
+
let n = t[0], r = this._fetchedDatasetsDataFields.findIndex((t) => t.id === e);
|
|
75
|
+
return r === -1 ? this._fetchedDatasetsDataFields = [...this._fetchedDatasetsDataFields, n] : this._fetchedDatasetsDataFields[r] = n, n;
|
|
76
|
+
} catch (t) {
|
|
77
|
+
return console.warn("Failed to fetch dataset data fields:", t), this._failedDatasetIds.add(e), null;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}), this.contentLanguage = "en", this.slotsContents = [], this.selects = "multiple", this.dataFieldsSearch = "auto", this.datasetSearch = "auto", this.icons = "menu-only", this.datasetsDataFields = [], this.datasetIds = [], this.datasetPicker = !1, this.apiUrl = "https://api.luzmo.com", this.placement = "bottom-start", this.slotMenuPlacement = "bottom-end", this.constraintMode = "auto", this.grows = !1, this._currentSlotsContents = [], this._createSlotChangeHandler = (e) => (t) => {
|
|
81
|
+
t.preventDefault(), t.stopPropagation();
|
|
82
|
+
let n = t.detail.slotContents ?? [], r = this._applySlotConstraints(e, n);
|
|
83
|
+
r !== null && (this._currentSlotsContents = r, this.slotsContents = structuredClone(r), this.dispatchEvent(new CustomEvent("luzmo-slots-contents-changed", {
|
|
84
|
+
bubbles: !0,
|
|
85
|
+
composed: !0,
|
|
86
|
+
cancelable: !0,
|
|
87
|
+
detail: { slotsContents: r }
|
|
88
|
+
})));
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
static {
|
|
92
|
+
this.styles = d(v);
|
|
93
|
+
}
|
|
94
|
+
get _availableDatasets() {
|
|
95
|
+
return this.datasetsDataFields.length > 0 ? this.datasetsDataFields : this.datasetIds.length > 0 ? this.datasetIds.map((e) => {
|
|
96
|
+
let t = this._datasetListItems.find((t) => t.id === e);
|
|
97
|
+
return t ? {
|
|
98
|
+
id: t.id,
|
|
99
|
+
name: t.name,
|
|
100
|
+
description: t.description
|
|
101
|
+
} : {
|
|
102
|
+
id: e,
|
|
103
|
+
name: { en: e }
|
|
104
|
+
};
|
|
105
|
+
}) : this._datasetListItems.length > 0 ? this._datasetListItems.map((e) => ({
|
|
106
|
+
id: e.id,
|
|
107
|
+
name: e.name,
|
|
108
|
+
description: e.description
|
|
109
|
+
})) : [];
|
|
110
|
+
}
|
|
111
|
+
get _currentDatasetsDataFields() {
|
|
112
|
+
if (this.datasetsDataFields.length > 0) {
|
|
113
|
+
if (!this._currentDatasetId) return this.datasetsDataFields;
|
|
114
|
+
let e = this.datasetsDataFields.find((e) => e.id === this._currentDatasetId);
|
|
115
|
+
return e ? [e] : this.datasetsDataFields;
|
|
116
|
+
}
|
|
117
|
+
let e = this._loadDataFieldsTask.value;
|
|
118
|
+
if (e) return [{
|
|
119
|
+
id: e.id,
|
|
120
|
+
name: e.name,
|
|
121
|
+
description: e.description,
|
|
122
|
+
columns: e.columns ?? [],
|
|
123
|
+
formulas: e.formulas ?? []
|
|
124
|
+
}];
|
|
125
|
+
if (this._fetchedDatasetsDataFields.length > 0 && this._currentDatasetId) {
|
|
126
|
+
let e = this._fetchedDatasetsDataFields.find((e) => e.id === this._currentDatasetId);
|
|
127
|
+
if (e) return [{
|
|
128
|
+
id: e.id,
|
|
129
|
+
name: e.name,
|
|
130
|
+
description: e.description,
|
|
131
|
+
columns: e.columns ?? [],
|
|
132
|
+
formulas: e.formulas ?? []
|
|
133
|
+
}];
|
|
134
|
+
}
|
|
135
|
+
return [];
|
|
136
|
+
}
|
|
137
|
+
get _shouldFetchDatasetList() {
|
|
138
|
+
return this.datasetPicker && this.datasetsDataFields.length === 0;
|
|
139
|
+
}
|
|
140
|
+
_areDatasetsLinked(e, t) {
|
|
141
|
+
return e === t;
|
|
142
|
+
}
|
|
143
|
+
_getUsedDatasetIds() {
|
|
144
|
+
let e = /* @__PURE__ */ new Set();
|
|
145
|
+
for (let t of this._currentSlotsContents) for (let n of t.content) n.datasetId && e.add(n.datasetId);
|
|
146
|
+
return [...e];
|
|
147
|
+
}
|
|
148
|
+
willUpdate(e) {
|
|
149
|
+
super.willUpdate(e), e.has("slotsContents") && (this._currentSlotsContents = structuredClone(this.slotsContents ?? []));
|
|
150
|
+
let t = e.has("selectedDatasetId"), n = e.has("datasetsDataFields"), r = e.has("datasetIds"), a = e.has("datasetPicker"), o = e.has("authKey"), s = e.has("authToken"), c = e.has("apiUrl");
|
|
151
|
+
(r || o || s || c) && (this._datasetListItems = [], this._hasMoreDatasets = !0, this._datasetNamesFetchAttempted = !1, this._fetchedDatasetsDataFields = [], this._failedDatasetIds.clear(), i.configure({
|
|
152
|
+
apiUrl: this.apiUrl,
|
|
153
|
+
authKey: this.authKey ?? "",
|
|
154
|
+
authToken: this.authToken ?? ""
|
|
155
|
+
})), n && this.datasetsDataFields.length > 0 && (this._datasetListItems = [], this._hasMoreDatasets = !0, this._fetchedDatasetsDataFields = [], this._failedDatasetIds.clear()), (t || n || r) && this._updateCurrentDatasetId(), (r || o || s || c || a) && this.datasetIds.length > 0 && this.datasetPicker && this.datasetsDataFields.length === 0 && this._datasetListItems.length === 0 && this._fetchDatasetNamesForPicker();
|
|
156
|
+
}
|
|
157
|
+
_updateCurrentDatasetId() {
|
|
158
|
+
let e = this._availableDatasets;
|
|
159
|
+
if (this.selectedDatasetId && e.some((e) => e.id === this.selectedDatasetId)) {
|
|
160
|
+
this._currentDatasetId = this.selectedDatasetId;
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
if (this.selectedDatasetId && this.datasetIds.includes(this.selectedDatasetId)) {
|
|
164
|
+
this._currentDatasetId = this.selectedDatasetId;
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
this._currentDatasetId = e.length > 0 ? e[0].id : void 0;
|
|
168
|
+
}
|
|
169
|
+
async _fetchDatasetNamesForPicker() {
|
|
170
|
+
if (this.datasetIds.length !== 0) {
|
|
171
|
+
this._datasetListPending = !0;
|
|
172
|
+
try {
|
|
173
|
+
let e = await i.fetchDatasetNames(this.datasetIds);
|
|
174
|
+
this._datasetListItems = e;
|
|
175
|
+
} catch (e) {
|
|
176
|
+
console.warn("Failed to fetch dataset names:", e);
|
|
177
|
+
} finally {
|
|
178
|
+
this._datasetListPending = !1, this._datasetNamesFetchAttempted = !0;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
async _loadMoreDatasets(e) {
|
|
183
|
+
if (!(this._datasetListRetrieving || !this._hasMoreDatasets)) {
|
|
184
|
+
this._datasetListRetrieving = !0, e && (e.retrieving = !0);
|
|
185
|
+
try {
|
|
186
|
+
let e = this._datasetListItems.length, t = await i.fetchAllDatasets({
|
|
187
|
+
offset: e,
|
|
188
|
+
limit: y
|
|
189
|
+
});
|
|
190
|
+
this._datasetListItems = [...this._datasetListItems, ...t.data], this._hasMoreDatasets = e + y < (t.pagination?.total ?? 0), !this._currentDatasetId && this._datasetListItems.length > 0 && this._updateCurrentDatasetId();
|
|
191
|
+
} catch (e) {
|
|
192
|
+
console.warn("Failed to load dataset list:", e), this._hasMoreDatasets = !1;
|
|
193
|
+
} finally {
|
|
194
|
+
this._datasetListRetrieving = !1, e && (e.retrieving = !1);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
_handlePickerScrolled(e) {
|
|
199
|
+
if (this.datasetIds.length > 0) return;
|
|
200
|
+
let t = e.target, { last: n } = e.detail;
|
|
201
|
+
n >= this._datasetListItems.length - 10 && this._hasMoreDatasets && this._loadMoreDatasets(t);
|
|
202
|
+
}
|
|
203
|
+
async _handlePickerOpened(e) {
|
|
204
|
+
let t = e.target;
|
|
205
|
+
if (this._datasetListItems.length === 0 && this._shouldFetchDatasetList && this.datasetIds.length === 0 && this._hasMoreDatasets) {
|
|
206
|
+
t.pending = !0;
|
|
207
|
+
try {
|
|
208
|
+
await this._loadMoreDatasets(t);
|
|
209
|
+
} finally {
|
|
210
|
+
t.pending = !1;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
_handleDatasetChange(e) {
|
|
215
|
+
let t = e.detail?.value?.[0];
|
|
216
|
+
if (!t || t === this._currentDatasetId) return;
|
|
217
|
+
let n = this._getUsedDatasetIds(), r = this._currentSlotsContents.some((e) => e.content.length > 0), i = n.every((e) => this._areDatasetsLinked(e, t));
|
|
218
|
+
if (r && !i) {
|
|
219
|
+
if (this.constraintMode === "event-only") {
|
|
220
|
+
this.dispatchEvent(new CustomEvent("luzmo-dataset-constraint-triggered", {
|
|
221
|
+
bubbles: !0,
|
|
222
|
+
composed: !0,
|
|
223
|
+
detail: {
|
|
224
|
+
previousDatasetId: this._currentDatasetId,
|
|
225
|
+
newDatasetId: t,
|
|
226
|
+
currentSlotsContents: structuredClone(this._currentSlotsContents),
|
|
227
|
+
wouldClearSlots: !0
|
|
228
|
+
}
|
|
229
|
+
}));
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
this._currentSlotsContents = [], this.slotsContents = [], this.dispatchEvent(new CustomEvent("luzmo-slots-contents-changed", {
|
|
233
|
+
bubbles: !0,
|
|
234
|
+
composed: !0,
|
|
235
|
+
cancelable: !0,
|
|
236
|
+
detail: { slotsContents: [] }
|
|
237
|
+
}));
|
|
238
|
+
}
|
|
239
|
+
this._currentDatasetId = t, this.dispatchEvent(new CustomEvent("luzmo-dataset-changed", {
|
|
240
|
+
bubbles: !0,
|
|
241
|
+
composed: !0,
|
|
242
|
+
detail: { datasetId: t }
|
|
243
|
+
}));
|
|
244
|
+
}
|
|
245
|
+
_getSlotContents(e) {
|
|
246
|
+
return this._currentSlotsContents?.find((t) => t.name === e)?.content ?? [];
|
|
247
|
+
}
|
|
248
|
+
_applySlotConstraints(e, t) {
|
|
249
|
+
let n = this.slotsConfiguration ?? this._slotsConfig, r = structuredClone(this._currentSlotsContents), i = structuredClone(this._currentSlotsContents), a = i.findIndex((t) => t.name === e);
|
|
250
|
+
a === -1 ? i.push({
|
|
251
|
+
name: e,
|
|
252
|
+
content: t
|
|
253
|
+
}) : i[a].content = t;
|
|
254
|
+
let o = [];
|
|
255
|
+
for (let r of n) {
|
|
256
|
+
if (r.keepOnlyFirstWhenOtherSlotFilled?.includes(e) && t.length > 0) {
|
|
257
|
+
let t = i.findIndex((e) => e.name === r.name);
|
|
258
|
+
t !== -1 && i[t].content.length > 1 && (o.push({
|
|
259
|
+
type: "keepOnlyFirstWhenOtherSlotFilled",
|
|
260
|
+
affectedSlotName: r.name,
|
|
261
|
+
triggeredBySlotName: e
|
|
262
|
+
}), i[t].content = [i[t].content[0]]);
|
|
263
|
+
}
|
|
264
|
+
if (r.clearWhenOtherSlotHasMultipleItems?.includes(e) && t.length > 1) {
|
|
265
|
+
let t = i.findIndex((e) => e.name === r.name);
|
|
266
|
+
t !== -1 && i[t].content.length > 0 && (o.push({
|
|
267
|
+
type: "clearWhenOtherSlotHasMultipleItems",
|
|
268
|
+
affectedSlotName: r.name,
|
|
269
|
+
triggeredBySlotName: e
|
|
270
|
+
}), i[t].content = []);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
if (this.constraintMode === "event-only" && o.length > 0) {
|
|
274
|
+
let n = {
|
|
275
|
+
triggerSlotName: e,
|
|
276
|
+
proposedTriggerContents: t,
|
|
277
|
+
originalSlotsContents: r,
|
|
278
|
+
proposedSlotsContents: i,
|
|
279
|
+
constraints: o
|
|
280
|
+
};
|
|
281
|
+
return this.dispatchEvent(new CustomEvent("luzmo-slot-constraint-triggered", {
|
|
282
|
+
detail: n,
|
|
283
|
+
bubbles: !0,
|
|
284
|
+
composed: !0
|
|
285
|
+
})), null;
|
|
286
|
+
}
|
|
287
|
+
return i;
|
|
288
|
+
}
|
|
289
|
+
_getTranslatedLabel(e) {
|
|
290
|
+
let t = (typeof e.label == "string" ? e.label : e.label ? o(e.label, this.language) : void 0) ?? e.name;
|
|
291
|
+
return c[t] ? c[t]() : t;
|
|
292
|
+
}
|
|
293
|
+
_renderDatasetPicker() {
|
|
294
|
+
if (!this.datasetPicker) return u;
|
|
295
|
+
let e = this._availableDatasets, t = e.length > 1, n = this.datasetIds.length > 0, r = this._shouldFetchDatasetList;
|
|
296
|
+
if (!t && !n && !r) return u;
|
|
297
|
+
let i = this._datasetListPending || this.datasetIds.length > 0 && this._datasetListItems.length === 0 && this.datasetsDataFields.length === 0 && !this._datasetNamesFetchAttempted, a = i ? [] : e.map((e) => ({
|
|
298
|
+
value: e.id,
|
|
299
|
+
label: o(e.name, this.contentLanguage) || e.id
|
|
300
|
+
})), s = i ? [] : this._currentDatasetId ? [this._currentDatasetId] : [], c = h(i ? "Loading datasets..." : "Select dataset...");
|
|
301
|
+
return l`
|
|
302
|
+
<div class="dataset-picker" part="dataset-picker">
|
|
303
|
+
<luzmo-field-label part="dataset-field-label" size=${this.size}>
|
|
304
|
+
${this.datasetPickerLabel ?? h("Dataset")}
|
|
305
|
+
</luzmo-field-label>
|
|
306
|
+
<luzmo-select
|
|
307
|
+
selects="single"
|
|
308
|
+
variant="highlight"
|
|
309
|
+
search=${g(this.datasetSearch)}
|
|
310
|
+
placement=${this.placement}
|
|
311
|
+
.size=${this.size}
|
|
312
|
+
.options=${a}
|
|
313
|
+
.value=${s}
|
|
314
|
+
.label=${c}
|
|
315
|
+
?pending=${i}
|
|
316
|
+
@change=${this._handleDatasetChange}
|
|
317
|
+
@luzmo-opened=${this._handlePickerOpened}
|
|
318
|
+
@luzmo-scrolled=${this._handlePickerScrolled}
|
|
319
|
+
></luzmo-select>
|
|
320
|
+
</div>
|
|
321
|
+
`;
|
|
322
|
+
}
|
|
323
|
+
_renderSlot(e) {
|
|
324
|
+
let t = this._getSlotContents(e.name), n = this._createSlotChangeHandler(e.name), r = this._getTranslatedLabel(e);
|
|
325
|
+
return l`
|
|
326
|
+
<div class="slot-container" part="slot-container">
|
|
327
|
+
<luzmo-field-label part="field-label" size=${this.size}>
|
|
328
|
+
${r}${e.isRequired ? " *" : ""}
|
|
329
|
+
</luzmo-field-label>
|
|
330
|
+
<luzmo-item-slot-picker
|
|
331
|
+
part="item-slot-picker"
|
|
332
|
+
item-type=${g(this.itemType)}
|
|
333
|
+
slot-name=${e.name}
|
|
334
|
+
language=${this.language}
|
|
335
|
+
content-language=${this.contentLanguage}
|
|
336
|
+
api-url=${g(this.apiUrl)}
|
|
337
|
+
auth-key=${g(this.authKey)}
|
|
338
|
+
auth-token=${g(this.authToken)}
|
|
339
|
+
size=${this.size}
|
|
340
|
+
selects=${this.selects}
|
|
341
|
+
search=${g(this.dataFieldsSearch)}
|
|
342
|
+
icons=${g(this.icons)}
|
|
343
|
+
placement=${this.placement}
|
|
344
|
+
slot-menu-placement=${this.slotMenuPlacement}
|
|
345
|
+
?grows=${this.grows}
|
|
346
|
+
aria-required=${e.isRequired ? "true" : u}
|
|
347
|
+
.slotConfiguration=${e}
|
|
348
|
+
.slotContents=${t}
|
|
349
|
+
.datasetsDataFields=${this._currentDatasetsDataFields}
|
|
350
|
+
@luzmo-slot-contents-changed=${n}
|
|
351
|
+
></luzmo-item-slot-picker>
|
|
352
|
+
</div>
|
|
353
|
+
`;
|
|
354
|
+
}
|
|
355
|
+
_renderSlots(e) {
|
|
356
|
+
return l`
|
|
357
|
+
<div class="slots-panel" part="slots-panel">
|
|
358
|
+
${e.map((e) => this._renderSlot(e))}
|
|
359
|
+
</div>
|
|
360
|
+
`;
|
|
361
|
+
}
|
|
362
|
+
_renderContent(e) {
|
|
363
|
+
return l`
|
|
364
|
+
<div class="container" part="container">
|
|
365
|
+
${this._renderDatasetPicker()}
|
|
366
|
+
${this._renderSlots(e)}
|
|
367
|
+
</div>
|
|
368
|
+
`;
|
|
369
|
+
}
|
|
370
|
+
render() {
|
|
371
|
+
return this.slotsConfiguration && this.slotsConfiguration.length > 0 ? this._renderContent(this.slotsConfiguration) : this._loadSlotsConfig.render({
|
|
372
|
+
pending: () => l`
|
|
373
|
+
<p role="status">Loading...</p>
|
|
374
|
+
`,
|
|
375
|
+
complete: (e) => !e || e.length === 0 ? l`<p>No slots configuration found for ${this.itemType}</p>` : this._renderContent(e),
|
|
376
|
+
error: (e) => l`
|
|
377
|
+
<div role="alert">Could not load slots configuration for '${this.itemType}': ${e}.</div>
|
|
378
|
+
`
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
};
|
|
382
|
+
//#endregion
|
|
383
|
+
//#region src/components/item-slot-picker-panel/index.ts
|
|
384
|
+
n([p()], b.prototype, "_datasetListItems", void 0), n([p()], b.prototype, "_datasetListRetrieving", void 0), n([p()], b.prototype, "_datasetListPending", void 0), n([p()], b.prototype, "_currentDatasetId", void 0), n([p()], b.prototype, "_fetchedDatasetsDataFields", void 0), n([f({
|
|
385
|
+
type: String,
|
|
386
|
+
reflect: !0,
|
|
387
|
+
attribute: "item-type"
|
|
388
|
+
})], b.prototype, "itemType", void 0), n([f({
|
|
389
|
+
type: String,
|
|
390
|
+
attribute: "content-language",
|
|
391
|
+
reflect: !0
|
|
392
|
+
})], b.prototype, "contentLanguage", void 0), n([f({ type: Array })], b.prototype, "slotsConfiguration", void 0), n([f({ type: Array })], b.prototype, "slotsContents", void 0), n([f({
|
|
393
|
+
type: String,
|
|
394
|
+
reflect: !0
|
|
395
|
+
})], b.prototype, "selects", void 0), n([f({
|
|
396
|
+
type: String,
|
|
397
|
+
reflect: !0,
|
|
398
|
+
attribute: "data-fields-search"
|
|
399
|
+
})], b.prototype, "dataFieldsSearch", void 0), n([f({
|
|
400
|
+
type: String,
|
|
401
|
+
reflect: !0,
|
|
402
|
+
attribute: "dataset-search"
|
|
403
|
+
})], b.prototype, "datasetSearch", void 0), n([f({
|
|
404
|
+
type: String,
|
|
405
|
+
reflect: !0
|
|
406
|
+
})], b.prototype, "icons", void 0), n([f({
|
|
407
|
+
type: Array,
|
|
408
|
+
reflect: !1
|
|
409
|
+
})], b.prototype, "datasetsDataFields", void 0), n([f({
|
|
410
|
+
type: Array,
|
|
411
|
+
attribute: "dataset-ids"
|
|
412
|
+
})], b.prototype, "datasetIds", void 0), n([f({
|
|
413
|
+
type: String,
|
|
414
|
+
attribute: "selected-dataset-id",
|
|
415
|
+
reflect: !0
|
|
416
|
+
})], b.prototype, "selectedDatasetId", void 0), n([f({
|
|
417
|
+
type: Boolean,
|
|
418
|
+
attribute: "dataset-picker",
|
|
419
|
+
reflect: !0
|
|
420
|
+
})], b.prototype, "datasetPicker", void 0), n([f({
|
|
421
|
+
type: String,
|
|
422
|
+
attribute: "dataset-picker-label"
|
|
423
|
+
})], b.prototype, "datasetPickerLabel", void 0), n([f({
|
|
424
|
+
type: String,
|
|
425
|
+
attribute: "api-url"
|
|
426
|
+
})], b.prototype, "apiUrl", void 0), n([f({
|
|
427
|
+
type: String,
|
|
428
|
+
attribute: "auth-key"
|
|
429
|
+
})], b.prototype, "authKey", void 0), n([f({
|
|
430
|
+
type: String,
|
|
431
|
+
attribute: "auth-token"
|
|
432
|
+
})], b.prototype, "authToken", void 0), n([f({
|
|
433
|
+
type: String,
|
|
434
|
+
reflect: !0
|
|
435
|
+
})], b.prototype, "placement", void 0), n([f({
|
|
436
|
+
type: String,
|
|
437
|
+
reflect: !0,
|
|
438
|
+
attribute: "slot-menu-placement"
|
|
439
|
+
})], b.prototype, "slotMenuPlacement", void 0), n([f({
|
|
440
|
+
type: String,
|
|
441
|
+
reflect: !0,
|
|
442
|
+
attribute: "constraint-mode"
|
|
443
|
+
})], b.prototype, "constraintMode", void 0), n([f({
|
|
444
|
+
type: Boolean,
|
|
445
|
+
reflect: !0
|
|
446
|
+
})], b.prototype, "grows", void 0), n([p()], b.prototype, "_currentSlotsContents", void 0), b = n([m()], b), customElements.get("luzmo-item-slot-picker-panel") || customElements.define("luzmo-item-slot-picker-panel", b);
|
|
447
|
+
//#endregion
|
|
448
|
+
export { b 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("./area-chart-slots.config-
|
|
20
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./area-chart-slots.config-B56LJaky.cjs"),t=require("./bar-chart-slots.config-CkOVmYcA.cjs"),n=require("./box-plot-slots.config-DL-tTTn9.cjs"),r=require("./bubble-chart-slots.config-smlOOwcK.cjs"),i=require("./bullet-chart-slots.config-BaTbWYvU.cjs"),a=require("./choropleth-map-slots.config-ClMcW8wV.cjs"),o=require("./circle-pack-chart-slots.config-IH2KV7z1.cjs"),s=require("./circular-gauge-slots.config-B6ajddW-.cjs"),c=require("./column-chart-slots.config-BY6y_rvE.cjs"),l=require("./combination-chart-slots.config-Ciza_y3a.cjs"),u=require("./conditional-number-slots.config-CWX6OuUa.cjs"),d=require("./date-comparison-filter-slots.config-KO9B0lfS.cjs"),f=require("./date-filter-slots.config-BrQoD-EF.cjs"),p=require("./donut-chart-slots.config-RxPnpO6M.cjs"),m=require("./dropdown-filter-slots.config-BBZChIHC.cjs"),h=require("./evolution-number-slots.config-CYxdcD-x.cjs"),g=require("./funnel-chart-slots.config-CSI5mdma.cjs"),_=require("./heat-map-slots.config-D0mwjImu.cjs"),v=require("./heat-table-slots.config-CH6Q9203.cjs"),y=require("./hexbin-map-slots.config-BdkQVzI7.cjs"),b=require("./image-slots.config-DprzKxj3.cjs"),x=require("./line-chart-slots.config-Cjp4btvG.cjs"),S=require("./marker-map-slots.config-BOQ8AwRv.cjs"),C=require("./ohlc-chart-slots.config-CUBUexI-.cjs"),w=require("./parallel-coordinates-plot-slots.config-BXZ-NmbH.cjs"),T=require("./pivot-table-slots.config-VxbOGtmB.cjs"),E=require("./pyramid-chart-slots.config-CN_Q2YsP.cjs"),D=require("./radar-chart-slots.config-BISYnTom.cjs"),O=require("./regular-table-slots.config-BU6Ff96U.cjs"),k=require("./route-map-slots.config-Dznp0DT3.cjs"),A=require("./sankey-diagram-slots.config-TKCUvHOD.cjs"),j=require("./scatter-plot-slots.config-CPsk9FUg.cjs"),M=require("./search-filter-slots.config-AhwsTdYC.cjs"),N=require("./slicer-filter-slots.config-zV15NWWS.cjs"),P=require("./slider-filter-slots.config-D9Hra0zE.cjs"),F=require("./speedometer-chart-slots.config-1BqQZ2vP.cjs"),I=require("./spike-map-slots.config-B7OehIoc.cjs"),L=require("./strip-plot-slots.config-CAU0z3q4.cjs"),R=require("./sunburst-chart-slots.config-BCNUNkd9.cjs"),z=require("./symbol-map-slots.config-Dz_tor5P.cjs"),B=require("./text-slots.config-0A6csMfd.cjs"),V=require("./treemap-chart-slots.config-BJqqnUEF.cjs"),H=require("./venn-diagram-slots.config-MpkJTf5q.cjs"),U=require("./video-slots.config-Bmh6mcUv.cjs"),W=require("./wordcloud-chart-slots.config-C303nwAz.cjs");exports.areaChartSlotsConfig=e.n,exports.barChartSlotsConfig=t.n,exports.boxPlotSlotsConfig=n.n,exports.bubbleChartSlotsConfig=r.n,exports.bulletChartSlotsConfig=i.n,exports.choroplethMapSlotsConfig=a.n,exports.circlePackChartSlotsConfig=o.n,exports.circularGaugeSlotsConfig=s.n,exports.columnChartSlotsConfig=c.n,exports.combinationChartSlotsConfig=l.n,exports.conditionalNumberSlotsConfig=u.n,exports.dateComparisonFilterSlotsConfig=d.n,exports.dateFilterSlotsConfig=f.n,exports.donutChartSlotsConfig=p.n,exports.dropdownFilterSlotsConfig=m.n,exports.evolutionNumberSlotsConfig=h.t,exports.funnelChartSlotsConfig=g.t,exports.heatMapSlotsConfig=_.t,exports.heatTableSlotsConfig=v.t,exports.hexbinMapSlotsConfig=y.t,exports.imageSlotsConfig=b.n,exports.lineChartSlotsConfig=x.t,exports.markerMapSlotsConfig=S.t,exports.ohlcChartSlotsConfig=C.t,exports.parallelCoordinatesPlotSlotsConfig=w.t,exports.pivotTableSlotsConfig=T.t,exports.pyramidChartSlotsConfig=E.t,exports.radarChartSlotsConfig=D.t,exports.regularTableSlotsConfig=O.t,exports.routeMapSlotsConfig=k.t,exports.sankeyDiagramSlotsConfig=A.t,exports.scatterPlotSlotsConfig=j.t,exports.searchFilterSlotsConfig=M.t,exports.slicerFilterSlotsConfig=N.t,exports.sliderFilterSlotsConfig=P.t,exports.speedometerChartSlotsConfig=F.t,exports.spikeMapSlotsConfig=I.t,exports.stripPlotSlotsConfig=L.t,exports.sunburstChartSlotsConfig=R.t,exports.symbolMapSlotsConfig=z.t,exports.textSlotsConfig=B.t,exports.treemapChartSlotsConfig=V.t,exports.vennDiagramSlotsConfig=H.t,exports.videoSlotsConfig=U.t,exports.wordcloudChartSlotsConfig=W.t;
|