@luzmo/analytics-components-kit 1.0.1-alpha.96 → 1.0.1-alpha.98
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/angular/README.md +1 -1
- package/angular/components/viz-item-menu.component.ts +25 -0
- package/angular/esm/components/viz-item-menu.component.d.ts +13 -0
- package/angular/esm/components/viz-item-menu.component.js +49 -0
- package/angular/esm/index.d.ts +3 -3
- package/angular/esm/index.js +3 -3
- package/angular/esm/types.d.ts +2 -2
- package/angular/index.ts +3 -3
- package/angular/types.ts +2 -2
- package/components/ai-chat-message-assistant/ai-chat-message-assistant.d.ts +29 -0
- package/components/ai-chat-message-assistant/index.cjs +52 -0
- package/components/ai-chat-message-assistant/index.d.ts +7 -0
- package/components/ai-chat-message-user/ai-chat-message-user.d.ts +13 -0
- package/components/ai-chat-message-user/index.cjs +19 -0
- package/components/ai-chat-message-user/index.d.ts +7 -0
- package/components/ai-chat-messages-container/ai-chat-messages-container.d.ts +11 -0
- package/components/ai-chat-messages-container/index.cjs +19 -0
- package/components/ai-chat-messages-container/index.d.ts +7 -0
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +83 -0
- package/components/ai-interaction-textarea/index.cjs +19 -0
- package/components/ai-interaction-textarea/index.d.ts +7 -0
- package/components/area-chart-options.config-C7sMAHco.cjs +20 -0
- package/components/area-chart-options.de-D_LVLa1H.cjs +20 -0
- package/components/area-chart-options.en-IauEvPHP.cjs +20 -0
- package/components/area-chart-options.es-CmPycXn2.cjs +20 -0
- package/components/area-chart-options.fr-BMnkGWlJ.cjs +20 -0
- package/components/area-chart-options.nl-C7-N_idS.cjs +20 -0
- package/components/area-chart-slots.config-Dx_ysVZK.cjs +20 -0
- package/components/bar-chart-options.config-DcxEkOT5.cjs +20 -0
- package/components/bar-chart-options.de-Dr5zKz8Q.cjs +20 -0
- package/components/bar-chart-options.en-DdQ2PYrw.cjs +20 -0
- package/components/bar-chart-options.es-DgYVxn9U.cjs +20 -0
- package/components/bar-chart-options.fr-rteFm93C.cjs +20 -0
- package/components/bar-chart-options.nl--gwlkpc0.cjs +20 -0
- package/components/bar-chart-slots.config-c_9ABPOI.cjs +20 -0
- package/components/bliss-DQej6Odb.cjs +20 -0
- package/components/box-plot-options.config-SrrbDEYW.cjs +20 -0
- package/components/box-plot-options.de-QbWt-xja.cjs +20 -0
- package/components/box-plot-options.en-CZhtAYXJ.cjs +20 -0
- package/components/box-plot-options.es-lyXLMKKo.cjs +20 -0
- package/components/box-plot-options.fr-BXh76t2K.cjs +20 -0
- package/components/box-plot-options.nl-DDAzT-zP.cjs +20 -0
- package/components/box-plot-slots.config-K-1CiWO-.cjs +20 -0
- package/components/bubble-chart-options.config-Ihn6eVQI.cjs +20 -0
- package/components/bubble-chart-options.de-D2Z88fwi.cjs +20 -0
- package/components/bubble-chart-options.en-CP9PhuPw.cjs +20 -0
- package/components/bubble-chart-options.es-B6mTDtxs.cjs +20 -0
- package/components/bubble-chart-options.fr-BMPe3Z5G.cjs +20 -0
- package/components/bubble-chart-options.nl-5thQrFoi.cjs +20 -0
- package/components/bubble-chart-slots.config-BwSwgleO.cjs +20 -0
- package/components/bullet-chart-options.config-DfS4Bwds.cjs +20 -0
- package/components/bullet-chart-options.de-D0XaMKPn.cjs +20 -0
- package/components/bullet-chart-options.en-BPjbk6Lk.cjs +20 -0
- package/components/bullet-chart-options.es-DxC9GWBS.cjs +20 -0
- package/components/bullet-chart-options.fr-Cf_rodY7.cjs +20 -0
- package/components/bullet-chart-options.nl-BdIjKMZf.cjs +20 -0
- package/components/bullet-chart-slots.config-DQarxMR7.cjs +20 -0
- package/components/calculate-data-item-icon-CEa82-5u.cjs +20 -0
- package/components/choropleth-map-options.config-ZW8yoZH2.cjs +20 -0
- package/components/choropleth-map-options.de-C4ko9lE4.cjs +20 -0
- package/components/choropleth-map-options.en-DVWBmXFe.cjs +20 -0
- package/components/choropleth-map-options.es-v5dYm1W3.cjs +20 -0
- package/components/choropleth-map-options.fr-Bpk_J4Gw.cjs +20 -0
- package/components/choropleth-map-options.nl-CyDZDpyE.cjs +20 -0
- package/components/choropleth-map-slots.config-CFERs0ca.cjs +20 -0
- package/components/circle-pack-chart-options.config-DWql72cN.cjs +20 -0
- package/components/circle-pack-chart-options.de-BKCxSgFo.cjs +20 -0
- package/components/circle-pack-chart-options.en-8QoEZniy.cjs +20 -0
- package/components/circle-pack-chart-options.es-BAdMklie.cjs +20 -0
- package/components/circle-pack-chart-options.fr-Dx2iO7nE.cjs +20 -0
- package/components/circle-pack-chart-options.nl-BEbtjCy_.cjs +20 -0
- package/components/circle-pack-chart-slots.config-B18aqdH1.cjs +20 -0
- package/components/circular-gauge-options.config-msZ4mfpN.cjs +20 -0
- package/components/circular-gauge-options.de-CzEREduR.cjs +20 -0
- package/components/circular-gauge-options.en--hMYjiKb.cjs +20 -0
- package/components/circular-gauge-options.es-bS5N1QyR.cjs +20 -0
- package/components/circular-gauge-options.fr-VgkkhIDb.cjs +20 -0
- package/components/circular-gauge-options.nl-B-E_GXJl.cjs +20 -0
- package/components/circular-gauge-slots.config-Cd-nkNPm.cjs +20 -0
- package/components/classic-CW66MgMj.cjs +20 -0
- package/components/classic-dark-DCtf8kpl.cjs +20 -0
- package/components/color-B6LaL8qz.cjs +20 -0
- package/components/color-palettes-DhNHcib8.cjs +20 -0
- package/components/color-range-utils-C5yXW7ZC.cjs +20 -0
- package/components/column-chart-options.config-BjDvA7i9.cjs +20 -0
- package/components/column-chart-options.de-BU__cJy3.cjs +20 -0
- package/components/column-chart-options.en-DdQ2PYrw.cjs +20 -0
- package/components/column-chart-options.es-CkaTU6qn.cjs +20 -0
- package/components/column-chart-options.fr-rteFm93C.cjs +20 -0
- package/components/column-chart-options.nl-Bhe6rcUo.cjs +20 -0
- package/components/column-chart-slots.config-C0nGjkmv.cjs +20 -0
- package/components/combination-chart-options.config-CyYEp-gX.cjs +20 -0
- package/components/combination-chart-options.de-CuVQ-JHu.cjs +20 -0
- package/components/combination-chart-options.en-BPcGTsP4.cjs +20 -0
- package/components/combination-chart-options.es-Dy7jzzFy.cjs +20 -0
- package/components/combination-chart-options.fr-CLUyqNH7.cjs +20 -0
- package/components/combination-chart-options.nl-BF6joCMV.cjs +20 -0
- package/components/combination-chart-slots.config-CY07Q5Hw.cjs +20 -0
- package/components/conditional-number-options.config-DgzUo0xi.cjs +20 -0
- package/components/conditional-number-options.de-R9Mtj45x.cjs +20 -0
- package/components/conditional-number-options.en-C-nOJ85m.cjs +20 -0
- package/components/conditional-number-options.es-C41csR3J.cjs +20 -0
- package/components/conditional-number-options.fr-DgaXesnu.cjs +20 -0
- package/components/conditional-number-options.nl-CJ5teRtT.cjs +20 -0
- package/components/conditional-number-slots.config-CD5ZwXuY.cjs +20 -0
- package/components/cs-I9E81keK.cjs +20 -0
- package/components/da-QkdvupDg.cjs +20 -0
- package/components/dataset-icon/dataset-icon.d.ts +45 -0
- package/components/dataset-icon/index.cjs +19 -0
- package/components/dataset-icon/index.d.ts +7 -0
- package/components/dataset-selector-list/dataset-selector-list.d.ts +94 -0
- package/components/dataset-selector-list/index.cjs +20 -1
- package/components/dataset-selector-list/index.d.ts +7 -0
- package/components/dataset-selector-list/index.js +1 -1
- package/components/dataset-selector-row/dataset-selector-row.d.ts +85 -0
- package/components/dataset-selector-row/index.cjs +19 -0
- package/components/dataset-selector-row/index.d.ts +7 -0
- package/components/date-comparison-filter-options.config-DAVncmi0.cjs +20 -0
- package/components/date-comparison-filter-options.de-CJBePtFH.cjs +20 -0
- package/components/date-comparison-filter-options.en-Of-X7-Ft.cjs +20 -0
- package/components/date-comparison-filter-options.es-CU3KrdQh.cjs +20 -0
- package/components/date-comparison-filter-options.fr-U0cC2xXg.cjs +20 -0
- package/components/date-comparison-filter-options.nl-DJGHjXwg.cjs +20 -0
- package/components/date-comparison-filter-slots.config-CrA5ijD3.cjs +20 -0
- package/components/date-filter-options.config-CWPMtA18.cjs +20 -0
- package/components/date-filter-options.de-Cav0BXbX.cjs +20 -0
- package/components/date-filter-options.en-B7MjV7xe.cjs +20 -0
- package/components/date-filter-options.es-C__wCKac.cjs +20 -0
- package/components/date-filter-options.fr-CFqwPRzc.cjs +20 -0
- package/components/date-filter-options.nl-CHOlmw93.cjs +20 -0
- package/components/date-filter-slots.config-CrA5ijD3.cjs +20 -0
- package/components/de-COKGBX9L.cjs +20 -0
- package/components/de-Dn5mUzha.cjs +20 -0
- package/components/decompose-numeric-format-B3rVVHpO.cjs +20 -0
- package/components/default-DcRD5JRU.cjs +20 -0
- package/components/default-dark-1299UcUs.cjs +20 -0
- package/components/display-settings/display-settings.d.ts +90 -0
- package/components/display-settings/index.cjs +20 -0
- package/components/display-settings/index.d.ts +7 -0
- package/components/display-settings-binning/display-settings-binning.d.ts +33 -0
- package/components/display-settings-binning/index.cjs +19 -0
- package/components/display-settings-binning/index.d.ts +7 -0
- package/components/display-settings-datetime/display-settings-datetime.d.ts +86 -0
- package/components/display-settings-datetime/index.cjs +215 -0
- package/components/display-settings-datetime/index.d.ts +7 -0
- package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +31 -0
- package/components/display-settings-grand-totals/index.cjs +44 -0
- package/components/display-settings-grand-totals/index.d.ts +7 -0
- package/components/display-settings-numeric/display-settings-numeric.d.ts +84 -0
- package/components/display-settings-numeric/helpers/constants.d.ts +19 -0
- package/components/display-settings-numeric/index.cjs +184 -0
- package/components/display-settings-numeric/index.d.ts +7 -0
- package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +68 -0
- package/components/display-settings-period-over-period/helpers/constants.d.ts +44 -0
- package/components/display-settings-period-over-period/index.cjs +224 -0
- package/components/display-settings-period-over-period/index.d.ts +7 -0
- package/components/donut-chart-options.config-tNpqBZfR.cjs +20 -0
- package/components/donut-chart-options.de-LQ01wQGN.cjs +20 -0
- package/components/donut-chart-options.en-DHCYs2el.cjs +20 -0
- package/components/donut-chart-options.es-BLDU1xpY.cjs +20 -0
- package/components/donut-chart-options.fr-C33dLw52.cjs +20 -0
- package/components/donut-chart-options.nl-h5-SSy_L.cjs +20 -0
- package/components/donut-chart-slots.config-DBowIZNO.cjs +20 -0
- package/components/draggable-data-item/draggable-data-item.d.ts +26 -0
- package/components/draggable-data-item/index.cjs +48 -0
- package/components/draggable-data-item/index.d.ts +8 -0
- package/components/draggable-data-item/types.d.ts +21 -0
- package/components/draggable-data-item-level/draggable-data-item-level.d.ts +34 -0
- package/components/draggable-data-item-level/helpers/generate-preview.d.ts +9 -0
- package/components/draggable-data-item-level/index.cjs +50 -0
- package/components/draggable-data-item-level/index.d.ts +7 -0
- package/components/draggable-data-item-level/types.d.ts +12 -0
- package/components/dropdown-filter-options.config-DS-MORmq.cjs +20 -0
- package/components/dropdown-filter-options.de-WLFUtnO_.cjs +20 -0
- package/components/dropdown-filter-options.en-txvgrhI8.cjs +20 -0
- package/components/dropdown-filter-options.es-C-U0fQJO.cjs +20 -0
- package/components/dropdown-filter-options.fr-Bl7uZNdT.cjs +20 -0
- package/components/dropdown-filter-options.nl-DIvw6DFh.cjs +20 -0
- package/components/dropdown-filter-slots.config-0wn6pMvi.cjs +20 -0
- package/components/droppable-slot/droppable-slot.d.ts +86 -0
- package/components/droppable-slot/index.cjs +84 -0
- package/components/droppable-slot/index.d.ts +8 -0
- package/components/droppable-slot/item-slots-configs/index.d.ts +45 -0
- package/components/droppable-slot/item-slots-configs/slot-labels.const.d.ts +8 -0
- package/components/droppable-slot/types.d.ts +9 -0
- package/components/edit-item/edit-item.d.ts +55 -0
- package/components/edit-item/index.cjs +53 -0
- package/components/edit-item/index.d.ts +7 -0
- package/components/edit-option/edit-option.d.ts +24 -0
- package/components/edit-option/helpers/control-markup.d.ts +14 -0
- package/components/edit-option/helpers/control-templates/action-button-group-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/color-palette-picker-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/color-picker-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/color-range-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/multi-language-field-template.d.ts +8 -0
- package/components/edit-option/helpers/control-templates/number-field-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/picker-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/position-picker-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/positions-number-field-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/radio-button-group.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/slider-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/switch-template.d.ts +2 -0
- package/components/edit-option/helpers/control-templates/text-field-template.d.ts +7 -0
- package/components/edit-option/helpers/generate-callback.d.ts +1 -0
- package/components/edit-option/helpers/get-control-by-key.d.ts +1 -0
- package/components/edit-option/helpers/get-default-value.d.ts +1 -0
- package/components/edit-option/helpers/get-enum-values.d.ts +1 -0
- package/components/edit-option/helpers/get-extra-label-values.d.ts +7 -0
- package/components/edit-option/helpers/get-value-by-key.d.ts +1 -0
- package/components/edit-option/index.cjs +20 -0
- package/components/edit-option/index.d.ts +7 -0
- package/components/edit-option-action-button-group/edit-option-action-button-group.d.ts +27 -0
- package/components/edit-option-action-button-group/index.cjs +52 -0
- package/components/edit-option-action-button-group/index.d.ts +7 -0
- package/components/edit-option-base/edit-option-base.d.ts +23 -0
- package/components/edit-option-base-VhTih9T1.cjs +53 -0
- package/components/edit-option-color-palette-picker/edit-option-color-palette-picker.d.ts +42 -0
- package/components/edit-option-color-palette-picker/index.cjs +37 -0
- package/components/edit-option-color-palette-picker/index.d.ts +7 -0
- package/components/edit-option-color-picker/edit-option-color-picker.d.ts +28 -0
- package/components/edit-option-color-picker/index.cjs +19 -0
- package/components/edit-option-color-picker/index.d.ts +7 -0
- package/components/edit-option-color-range/edit-option-color-range.d.ts +99 -0
- package/components/edit-option-color-range/index.cjs +85 -0
- package/components/edit-option-color-range/index.d.ts +7 -0
- package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +17 -0
- package/components/edit-option-multi-language-field/index.cjs +19 -0
- package/components/edit-option-multi-language-field/index.d.ts +7 -0
- package/components/edit-option-number-field/edit-option-number-field.d.ts +21 -0
- package/components/edit-option-number-field/index.cjs +19 -0
- package/components/edit-option-number-field/index.d.ts +7 -0
- package/components/edit-option-picker/edit-option-picker.d.ts +22 -0
- package/components/edit-option-picker/index.cjs +19 -0
- package/components/edit-option-picker/index.d.ts +7 -0
- package/components/edit-option-position-picker/edit-option-position-picker.d.ts +13 -0
- package/components/edit-option-position-picker/index.cjs +25 -0
- package/components/edit-option-position-picker/index.d.ts +7 -0
- package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +30 -0
- package/components/edit-option-positions-number-field/index.cjs +42 -0
- package/components/edit-option-positions-number-field/index.d.ts +7 -0
- package/components/edit-option-radio-button-group/edit-option-radio-button-group.d.ts +18 -0
- package/components/edit-option-radio-button-group/index.cjs +19 -0
- package/components/edit-option-radio-button-group/index.d.ts +7 -0
- package/components/edit-option-slider/edit-option-slider.d.ts +15 -0
- package/components/edit-option-slider/index.cjs +19 -0
- package/components/edit-option-slider/index.d.ts +7 -0
- package/components/edit-option-switch/edit-option-switch.d.ts +11 -0
- package/components/edit-option-switch/index.cjs +30 -0
- package/components/edit-option-switch/index.d.ts +7 -0
- package/components/edit-option-text-field/edit-option-text-field.d.ts +15 -0
- package/components/edit-option-text-field/index.cjs +19 -0
- package/components/edit-option-text-field/index.d.ts +7 -0
- package/components/en-BKBhKBXY.cjs +20 -0
- package/components/en-GB-DG6uS3sM.cjs +20 -0
- package/components/es-CaKfa7fn.cjs +20 -0
- package/components/es-CwyPlN5d.cjs +20 -0
- package/components/evolution-number-options.config-BgIZY4gQ.cjs +20 -0
- package/components/evolution-number-options.de-BVv1Uutc.cjs +20 -0
- package/components/evolution-number-options.en-CiZmE5r7.cjs +20 -0
- package/components/evolution-number-options.es-k2eY1Y3G.cjs +20 -0
- package/components/evolution-number-options.fr-B47Fwd-D.cjs +20 -0
- package/components/evolution-number-options.nl-CTppS5EY.cjs +20 -0
- package/components/evolution-number-slots.config-CNNVp6vR.cjs +20 -0
- package/components/extrapolate-color-0j_AeYkz.cjs +20 -0
- package/components/fi-rijeZE5V.cjs +20 -0
- package/components/filter-data-item-picker/filter-data-item-picker.d.ts +76 -0
- package/components/filter-data-item-picker/index.cjs +47 -0
- package/components/filter-data-item-picker/index.d.ts +7 -0
- package/components/filter-expression-picker/filter-expression-picker.d.ts +74 -0
- package/components/filter-expression-picker/index.cjs +20 -0
- package/components/filter-expression-picker/index.d.ts +7 -0
- package/components/filter-group/filter-group.d.ts +26 -0
- package/components/filter-group/index.d.ts +7 -0
- package/components/filter-item/filter-item.d.ts +76 -0
- package/components/filter-item/index.cjs +52 -0
- package/components/filter-item/index.d.ts +7 -0
- package/components/filter-parameter-picker/filter-parameter-picker.d.ts +25 -0
- package/components/filter-parameter-picker/index.d.ts +7 -0
- package/components/filter-value-picker/filter-value-picker.d.ts +65 -0
- package/components/filter-value-picker/index.cjs +51 -0
- package/components/filter-value-picker/index.d.ts +7 -0
- package/components/filter-value-picker-datetime/filter-value-picker-datetime.d.ts +43 -0
- package/components/filter-value-picker-datetime/index.cjs +39 -0
- package/components/filter-value-picker-datetime/index.d.ts +7 -0
- package/components/filter-value-picker-hierarchy/filter-value-picker-hierarchy.d.ts +82 -0
- package/components/filter-value-picker-hierarchy/index.cjs +46 -0
- package/components/filter-value-picker-hierarchy/index.d.ts +7 -0
- package/components/filter-value-picker-numeric/filter-value-picker-numeric.d.ts +83 -0
- package/components/filter-value-picker-numeric/index.cjs +46 -0
- package/components/filter-value-picker-numeric/index.d.ts +7 -0
- package/components/focusable-B3E_hQmm.cjs +20 -0
- package/components/fr-BcgE-6S_.cjs +20 -0
- package/components/fr-DiZbjx_a.cjs +20 -0
- package/components/funnel-chart-options.config-D7H7gFcx.cjs +20 -0
- package/components/funnel-chart-options.de-DRAGes5d.cjs +20 -0
- package/components/funnel-chart-options.en-b6BBKfZh.cjs +20 -0
- package/components/funnel-chart-options.es-DfDw5S5g.cjs +20 -0
- package/components/funnel-chart-options.fr-DWkPkC47.cjs +20 -0
- package/components/funnel-chart-options.nl-BdAL0ZJP.cjs +20 -0
- package/components/funnel-chart-slots.config-GKBCY9xN.cjs +20 -0
- package/components/get-css-variable-DLiZYZEi.cjs +24 -0
- package/components/grid/actions.d.ts +3 -0
- package/components/grid/grid-item-actions-menu.d.ts +35 -0
- package/components/grid/grid.d.ts +150 -0
- package/components/grid/index.cjs +319 -0
- package/components/grid/index.d.ts +10 -0
- package/components/he-O6Ih8Bqh.cjs +20 -0
- package/components/heat-map-options.config-DVH-Bb5-.cjs +20 -0
- package/components/heat-map-options.de-CCzVMy-R.cjs +20 -0
- package/components/heat-map-options.en-Bg7i7QKn.cjs +20 -0
- package/components/heat-map-options.es-BYyHRdIH.cjs +20 -0
- package/components/heat-map-options.fr-CLB-XMRA.cjs +20 -0
- package/components/heat-map-options.nl-BHrmi96k.cjs +20 -0
- package/components/heat-map-slots.config-D7cSAVdX.cjs +20 -0
- package/components/heat-table-options.config-B12JEYnp.cjs +20 -0
- package/components/heat-table-options.de-cnjPxQep.cjs +20 -0
- package/components/heat-table-options.en-Bjqpkm75.cjs +20 -0
- package/components/heat-table-options.es-IaNf_Ge4.cjs +20 -0
- package/components/heat-table-options.fr-BdZnJYlb.cjs +20 -0
- package/components/heat-table-options.nl-DGS7vzoT.cjs +20 -0
- package/components/heat-table-slots.config-GGX3BCh1.cjs +20 -0
- package/components/helpers-DXQwEH1P.cjs +20 -0
- package/components/hexbin-map-options.config-DZERRhM8.cjs +20 -0
- package/components/hexbin-map-options.de-DUp41p9I.cjs +20 -0
- package/components/hexbin-map-options.en-B10UanAQ.cjs +20 -0
- package/components/hexbin-map-options.es-97IUVMSg.cjs +20 -0
- package/components/hexbin-map-options.fr-Bh9Swyi3.cjs +20 -0
- package/components/hexbin-map-options.nl-BzyMf0JQ.cjs +20 -0
- package/components/hexbin-map-slots.config-D7cSAVdX.cjs +20 -0
- package/components/hu-BnZ8y3xQ.cjs +20 -0
- package/components/image-options.config-Dqhc2c3b.cjs +20 -0
- package/components/image-options.de-CBkRiIbw.cjs +20 -0
- package/components/image-options.en-DflcU_2H.cjs +20 -0
- package/components/image-options.es-CRbNv384.cjs +20 -0
- package/components/image-options.fr-ycH7UoX5.cjs +20 -0
- package/components/image-options.nl-DQL45o0j.cjs +20 -0
- package/components/image-slots.config-mPXMR1CE.cjs +20 -0
- package/components/index-6PmXiNch.cjs +20 -0
- package/components/index-BPNsFiyq.cjs +38 -0
- package/components/index-CQ9ck-BO.cjs +249 -0
- package/components/index-CXn67vdn.cjs +121 -0
- package/components/index-Cz9vSXy6.cjs +20 -0
- package/components/index-DhDgy1sp.cjs +20 -0
- package/components/index-Vdyb9z2D.cjs +20 -0
- package/components/index.cjs +20 -1
- package/components/index.js +8 -8
- package/components/it-PshtLMkq.cjs +20 -0
- package/components/item-context-configs.cjs +226 -0
- package/components/item-list.cjs +19 -0
- package/components/item-menu/item-list/item-list.d.ts +37 -0
- package/components/item-options-configs.cjs +19 -0
- package/components/item-slots-configs.cjs +20 -0
- package/components/ja-KIS2HdaG.cjs +20 -0
- package/components/ko--l4qmjLV.cjs +20 -0
- package/components/line-chart-options.config-DSugoe0t.cjs +20 -0
- package/components/line-chart-options.de-zuguhS7L.cjs +20 -0
- package/components/line-chart-options.en-C88UT2iR.cjs +20 -0
- package/components/line-chart-options.es-CvABRdF7.cjs +20 -0
- package/components/line-chart-options.fr-BtfgIPkW.cjs +20 -0
- package/components/line-chart-options.nl-mAxtSkJo.cjs +20 -0
- package/components/line-chart-slots.config-Dx_ysVZK.cjs +20 -0
- package/components/localize-r7ALOUy_.cjs +20 -0
- package/components/marker-map-options.config-_FYZzRwA.cjs +20 -0
- package/components/marker-map-options.de-BsQQMw02.cjs +20 -0
- package/components/marker-map-options.en-CS9itUOA.cjs +20 -0
- package/components/marker-map-options.es-A5ZV4oul.cjs +20 -0
- package/components/marker-map-options.fr-yEc1vbcL.cjs +20 -0
- package/components/marker-map-options.nl-YdcS3JJg.cjs +20 -0
- package/components/marker-map-slots.config-D7cSAVdX.cjs +20 -0
- package/components/mk-DZlj-edb.cjs +20 -0
- package/components/nl-BKlDqOXb.cjs +20 -0
- package/components/nl-Bot6bJ4g.cjs +20 -0
- package/components/no-D_SzxhTu.cjs +20 -0
- package/components/ohlc-chart-options.config-BLlRV_bs.cjs +20 -0
- package/components/ohlc-chart-options.de-D82a4TlN.cjs +20 -0
- package/components/ohlc-chart-options.en-WsfJ9z1E.cjs +20 -0
- package/components/ohlc-chart-options.es-BLKIOFho.cjs +20 -0
- package/components/ohlc-chart-options.fr-D6YoAH4U.cjs +20 -0
- package/components/ohlc-chart-options.nl-lWVHjRUM.cjs +20 -0
- package/components/ohlc-chart-slots.config-DMomcHMV.cjs +20 -0
- package/components/orion-CfUR1e5D.cjs +20 -0
- package/components/parallel-coordinates-plot-options.config-B9eRq_Dj.cjs +20 -0
- package/components/parallel-coordinates-plot-options.de-Dm5-9Du6.cjs +20 -0
- package/components/parallel-coordinates-plot-options.en-mGJiceE7.cjs +20 -0
- package/components/parallel-coordinates-plot-options.es-UhSh9vHw.cjs +20 -0
- package/components/parallel-coordinates-plot-options.fr-DNjANPoh.cjs +20 -0
- package/components/parallel-coordinates-plot-options.nl-DCXPdyr2.cjs +20 -0
- package/components/parallel-coordinates-plot-slots.config--fk40ZDu.cjs +20 -0
- package/components/periods.const-3jA-ECRf.cjs +20 -0
- package/components/pinky-DptTgIM4.cjs +20 -0
- package/components/pivot-table-options.config-BiJXKSFR.cjs +20 -0
- package/components/pivot-table-options.de-CEaD9SHr.cjs +20 -0
- package/components/pivot-table-options.en-DC07VN7H.cjs +20 -0
- package/components/pivot-table-options.es-Xm6ENByP.cjs +20 -0
- package/components/pivot-table-options.fr-ClLROt4b.cjs +20 -0
- package/components/pivot-table-options.nl-Dk2Oeu8i.cjs +20 -0
- package/components/pivot-table-slots.config-45V_Gdm7.cjs +20 -0
- package/components/pl-PIK23rK_.cjs +20 -0
- package/components/pt-Dqlu4MS5.cjs +20 -0
- package/components/pyramid-chart-options.config-C4zbFS26.cjs +20 -0
- package/components/pyramid-chart-options.de-DKas0NiC.cjs +20 -0
- package/components/pyramid-chart-options.en-L6DFdrRz.cjs +20 -0
- package/components/pyramid-chart-options.es-Cu0g6t6A.cjs +20 -0
- package/components/pyramid-chart-options.fr-CreHLwD_.cjs +20 -0
- package/components/pyramid-chart-options.nl-CRbkXz3i.cjs +20 -0
- package/components/pyramid-chart-slots.config-D5F0WX2d.cjs +20 -0
- package/components/radar-chart-options.config-EqQu6PTh.cjs +20 -0
- package/components/radar-chart-options.de-BGHs6QoY.cjs +20 -0
- package/components/radar-chart-options.en-DXlfL8Qm.cjs +20 -0
- package/components/radar-chart-options.es-DBw1arWW.cjs +20 -0
- package/components/radar-chart-options.fr-CKBFCZK0.cjs +20 -0
- package/components/radar-chart-options.nl-k4gGr6lf.cjs +20 -0
- package/components/radar-chart-slots.config-BEigR_Ml.cjs +20 -0
- package/components/radiant-Dv7GVveL.cjs +20 -0
- package/components/regular-table-options.config-DTx3RTnS.cjs +20 -0
- package/components/regular-table-options.de-DHgnwaEe.cjs +20 -0
- package/components/regular-table-options.en-DPoF7r6r.cjs +20 -0
- package/components/regular-table-options.es-8cbzQG40.cjs +20 -0
- package/components/regular-table-options.fr-D4dSaBN-.cjs +20 -0
- package/components/regular-table-options.nl-DvIvjTvR.cjs +20 -0
- package/components/regular-table-slots.config-RLnMgOXn.cjs +20 -0
- package/components/route-map-options.config-D7NJePTu.cjs +20 -0
- package/components/route-map-options.de-w5wuIvwf.cjs +20 -0
- package/components/route-map-options.en-Co0Fbjkz.cjs +20 -0
- package/components/route-map-options.es-Cjasm-ZQ.cjs +20 -0
- package/components/route-map-options.fr-C1SCfKLH.cjs +20 -0
- package/components/route-map-options.nl-CYmB51pE.cjs +20 -0
- package/components/route-map-slots.config-DsVJBR3D.cjs +20 -0
- package/components/royale-Ooq8M7Ef.cjs +20 -0
- package/components/ru-zyNDTB04.cjs +20 -0
- package/components/sankey-diagram-options.config-RFB83YLZ.cjs +20 -0
- package/components/sankey-diagram-options.de-BOtJSpbI.cjs +20 -0
- package/components/sankey-diagram-options.en-DMx4MkN-.cjs +20 -0
- package/components/sankey-diagram-options.es-BdDSG9DB.cjs +20 -0
- package/components/sankey-diagram-options.fr-D1MrJM4P.cjs +20 -0
- package/components/sankey-diagram-options.nl-DW_wVZ1O.cjs +20 -0
- package/components/sankey-diagram-slots.config-CiyYElLX.cjs +20 -0
- package/components/scatter-plot-options.config-CFfGJXsV.cjs +20 -0
- package/components/scatter-plot-options.de-fSoIvHJy.cjs +20 -0
- package/components/scatter-plot-options.en-CGCdpOtQ.cjs +20 -0
- package/components/scatter-plot-options.es-CLRJMSqn.cjs +20 -0
- package/components/scatter-plot-options.fr-Da2McGuN.cjs +20 -0
- package/components/scatter-plot-options.nl-CRWq01rL.cjs +20 -0
- package/components/scatter-plot-slots.config-47cB5_RC.cjs +20 -0
- package/components/search-filter-options.config-BCaDlYqZ.cjs +20 -0
- package/components/search-filter-options.de-BK66ORWq.cjs +20 -0
- package/components/search-filter-options.en-CDPrPilw.cjs +20 -0
- package/components/search-filter-options.es-D7Z_PcC1.cjs +20 -0
- package/components/search-filter-options.fr-DhaK1uUa.cjs +20 -0
- package/components/search-filter-options.nl-CAA7cBhK.cjs +20 -0
- package/components/search-filter-slots.config-DeHkvc2Q.cjs +20 -0
- package/components/seasonal-OSKpFyta.cjs +20 -0
- package/components/set-locale-BRRalqne.cjs +20 -0
- package/components/sized-mixin-DcvJLFeo.cjs +20 -0
- package/components/slicer-filter-options.config-DNI-XevE.cjs +20 -0
- package/components/slicer-filter-options.de-DRazS_m2.cjs +20 -0
- package/components/slicer-filter-options.en-CpMgGFQr.cjs +20 -0
- package/components/slicer-filter-options.es-CS_RNuGQ.cjs +20 -0
- package/components/slicer-filter-options.fr-CfCs-AJo.cjs +20 -0
- package/components/slicer-filter-options.nl-C_n1KiTW.cjs +20 -0
- package/components/slicer-filter-slots.config-V7hURjKI.cjs +20 -0
- package/components/slider-filter-options.config-_8Z2zKmU.cjs +20 -0
- package/components/slider-filter-options.de-BgUkQGYO.cjs +20 -0
- package/components/slider-filter-options.en-Dvn-ux4N.cjs +20 -0
- package/components/slider-filter-options.es-B9ObSQWh.cjs +20 -0
- package/components/slider-filter-options.fr-DI6QMjqa.cjs +20 -0
- package/components/slider-filter-options.nl-autc8gPj.cjs +20 -0
- package/components/slider-filter-slots.config-B--K9cpP.cjs +20 -0
- package/components/slot-contents-picker/index.cjs +146 -0
- package/components/slot-contents-picker/index.d.ts +7 -0
- package/components/slot-contents-picker/slot-contents-picker.d.ts +113 -0
- package/components/slot-menu/index.cjs +62 -0
- package/components/slot-menu/index.d.ts +8 -0
- package/components/slot-menu/slot-menu.d.ts +111 -0
- package/components/slot-menu/types.d.ts +25 -0
- package/components/slot-menu-list/index.cjs +35 -0
- package/components/slot-menu-list/index.d.ts +7 -0
- package/components/slot-menu-list/slot-menu-list.d.ts +35 -0
- package/components/spacer-options.config-mPXMR1CE.cjs +20 -0
- package/components/speedometer-chart-options.config-BX9LTQBH.cjs +20 -0
- package/components/speedometer-chart-options.de-D5SIAUZA.cjs +20 -0
- package/components/speedometer-chart-options.en-BUj6JXhT.cjs +20 -0
- package/components/speedometer-chart-options.es-DalX0e7D.cjs +20 -0
- package/components/speedometer-chart-options.fr-Dqn95u64.cjs +20 -0
- package/components/speedometer-chart-options.nl-Bo6cV2j0.cjs +20 -0
- package/components/speedometer-chart-slots.config-Cd-nkNPm.cjs +20 -0
- package/components/spike-map-options.config-DoBFXPmN.cjs +20 -0
- package/components/spike-map-options.de-_47BiyJQ.cjs +20 -0
- package/components/spike-map-options.en-B9InMjtg.cjs +20 -0
- package/components/spike-map-options.es-e-sVsx0P.cjs +20 -0
- package/components/spike-map-options.fr-DPpYI3Yd.cjs +20 -0
- package/components/spike-map-options.nl-DOJHgdzZ.cjs +20 -0
- package/components/spike-map-slots.config-BM5-Dlub.cjs +20 -0
- package/components/strip-plot-options.config-CKy1s16H.cjs +20 -0
- package/components/strip-plot-options.de-DwOrv0sQ.cjs +20 -0
- package/components/strip-plot-options.en-CjD5zNiU.cjs +20 -0
- package/components/strip-plot-options.es-D_ZS1l9j.cjs +20 -0
- package/components/strip-plot-options.fr-C6gKZaLg.cjs +20 -0
- package/components/strip-plot-options.nl-BkQ9nc9g.cjs +20 -0
- package/components/strip-plot-slots.config-DDUlLO8K.cjs +20 -0
- package/components/sunburst-chart-options.config-AbNjWS6t.cjs +20 -0
- package/components/sunburst-chart-options.de-BDu_ZCdb.cjs +20 -0
- package/components/sunburst-chart-options.en-D9Rr49yw.cjs +20 -0
- package/components/sunburst-chart-options.es-Ba8WDFHg.cjs +20 -0
- package/components/sunburst-chart-options.fr-1Ecu2sp2.cjs +20 -0
- package/components/sunburst-chart-options.nl-BbOLWrEh.cjs +20 -0
- package/components/sunburst-chart-slots.config-B18aqdH1.cjs +20 -0
- package/components/sv-1DPTltNQ.cjs +20 -0
- package/components/symbol-map-options.config-m-lwLTtu.cjs +20 -0
- package/components/symbol-map-options.de-BpGDOFd7.cjs +20 -0
- package/components/symbol-map-options.en-DfbVAChu.cjs +20 -0
- package/components/symbol-map-options.es-DwitkQlR.cjs +20 -0
- package/components/symbol-map-options.fr-CmMvfUDf.cjs +20 -0
- package/components/symbol-map-options.nl-DxnQtnnP.cjs +20 -0
- package/components/symbol-map-slots.config-Dm_FRGHA.cjs +20 -0
- package/components/text-options.config-BFB3rEmt.cjs +20 -0
- package/components/text-options.de-DLr2-jBn.cjs +20 -0
- package/components/text-options.en-LfsMtwo6.cjs +20 -0
- package/components/text-options.es-BLQBqlvK.cjs +20 -0
- package/components/text-options.fr-B8x29grG.cjs +20 -0
- package/components/text-options.nl-DzglrI3i.cjs +20 -0
- package/components/text-slots.config-BMBEkf0O.cjs +20 -0
- package/components/tr-BkmWvOG2.cjs +20 -0
- package/components/treemap-chart-options.config-C0Q9aQ1Z.cjs +20 -0
- package/components/treemap-chart-options.de-Crku8ynJ.cjs +20 -0
- package/components/treemap-chart-options.en-zSWDcqFt.cjs +20 -0
- package/components/treemap-chart-options.es-DXX2PyUh.cjs +20 -0
- package/components/treemap-chart-options.fr-B93bhLpR.cjs +20 -0
- package/components/treemap-chart-options.nl-ButbMHmU.cjs +20 -0
- package/components/treemap-chart-slots.config-C3bnHCyy.cjs +20 -0
- package/components/types-VPf7E5dD.cjs +20 -0
- package/components/urban-BLQl5Oye.cjs +20 -0
- package/components/utils.cjs +20 -0
- package/components/venn-diagram-options.config-mPXMR1CE.cjs +20 -0
- package/components/venn-diagram-slots.config-GytlZGbF.cjs +20 -0
- package/components/video-options.config-CGsDTwHc.cjs +20 -0
- package/components/video-options.de-DZUy2pUo.cjs +20 -0
- package/components/video-options.en-D69d612-.cjs +20 -0
- package/components/video-options.es-BUKi6Pyc.cjs +20 -0
- package/components/video-options.fr-B7b4NJso.cjs +20 -0
- package/components/video-options.nl-CSiCG3Vu.cjs +20 -0
- package/components/video-slots.config-mPXMR1CE.cjs +20 -0
- package/components/vivid-BpRn83MR.cjs +20 -0
- package/components/viz-item-menu/index.cjs +51 -0
- package/components/viz-item-menu/index.d.ts +8 -0
- package/components/viz-item-menu/index.js +210 -0
- package/components/viz-item-menu/viz-item-menu.d.ts +77 -0
- package/components/wordcloud-chart-options.config-vGfCW8kE.cjs +20 -0
- package/components/wordcloud-chart-options.de-DnJjN2l-.cjs +20 -0
- package/components/wordcloud-chart-options.en-Ca5fXbS9.cjs +20 -0
- package/components/wordcloud-chart-options.es-TkHFgMUu.cjs +20 -0
- package/components/wordcloud-chart-options.fr-Dz53DWyA.cjs +20 -0
- package/components/wordcloud-chart-options.nl-Cy_9TRvD.cjs +20 -0
- package/components/wordcloud-chart-slots.config-D7CiYopX.cjs +20 -0
- package/components/zh-CN-DTZ4OmdP.cjs +20 -0
- package/components/zh-TW-DTZ4OmdP.cjs +20 -0
- package/custom-elements.json +23 -23
- package/index.d.ts +1 -1
- package/package.json +5 -5
- package/types.d.ts +2 -2
- package/angular/components/widget-menu.component.ts +0 -25
- package/angular/esm/components/widget-menu.component.d.ts +0 -13
- package/angular/esm/components/widget-menu.component.js +0 -49
- package/components/widget-menu/index.js +0 -213
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ControlMarkupArgs } from '../control-markup';
|
|
2
|
+
export interface MultiLanguageFieldArguments {
|
|
3
|
+
label?: string;
|
|
4
|
+
value?: Record<string, string>;
|
|
5
|
+
language?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const multiLanguageFieldMarkup: (args: ControlMarkupArgs) => import("lit-html").TemplateResult<1>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const generateCallback: (args: any) => (e: CustomEvent) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getControlByKey: (key: string, config: any[], full?: boolean) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getDefaultValue: (args: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getEnumValues: (args: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getValueByKey: (args: any, key: string) => any;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2025 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
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../index-CQ9ck-BO.cjs");exports.LuzmoEditOption=t.LuzmoEditOption;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import '@luzmo/lucero/action-button';
|
|
2
|
+
import '@luzmo/lucero/action-group';
|
|
3
|
+
import '@luzmo/lucero/icon';
|
|
4
|
+
import { TemplateResult } from 'lit';
|
|
5
|
+
import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
|
|
6
|
+
export type ButtonContent = {
|
|
7
|
+
icon?: {
|
|
8
|
+
icon: [number, number, string | string[]];
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
11
|
+
iconName?: string;
|
|
12
|
+
label?: string;
|
|
13
|
+
buttonText?: string;
|
|
14
|
+
};
|
|
15
|
+
export declare class LuzmoEditOptionActionButtonGroup extends LuzmoEditOptionBase {
|
|
16
|
+
static styles: (import("lit").CSSResultOrNative | import("lit").CSSResultArray)[];
|
|
17
|
+
values: Record<string, ButtonContent>;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
selects: 'single' | 'multiple' | undefined;
|
|
20
|
+
value: [string] | undefined;
|
|
21
|
+
default: [string] | undefined;
|
|
22
|
+
private actionGroup;
|
|
23
|
+
private _handleEvent;
|
|
24
|
+
private _generateButtonContents;
|
|
25
|
+
private _generateActionButtons;
|
|
26
|
+
protected renderController(): TemplateResult<1>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2025 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
|
+
"use strict";var z=Object.getPrototypeOf;var b=Reflect.get;var d=(c,t,n)=>b(z(c),n,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@luzmo/icons");require("@luzmo/lucero/action-button");require("@luzmo/lucero/action-group");require("@luzmo/lucero/icon");const r=require("lit"),l=require("lit/decorators.js"),g=require("../edit-option-base-VhTih9T1.cjs"),h="luzmo-action-group{--luzmo-edit-option-action-button-group-button-background-hover: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-background-down: rgba( var(--luzmo-primary-rgb), .2 );--luzmo-edit-option-action-button-group-button-background-focus: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-content-color-default: var( --luzmo-font-color-disabled );--luzmo-edit-option-action-button-group-button-content-color-hover: var( --luzmo-font-color-hover );--luzmo-edit-option-action-button-group-button-content-color-down: var( --luzmo-font-color-down );--luzmo-edit-option-action-button-group-button-content-color-focus: var( --luzmo-font-color-focus )}luzmo-action-group[compact][quiet][emphasized]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=s]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=l]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-2)}luzmo-action-group[compact][quiet][emphasized][size=xl]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-3)}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-hover );--luzmo-action-button-background-color-down: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-focus: var( --luzmo-edit-option-action-button-group-button-background-focus );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-default );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-hover );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-focus: var( --luzmo-edit-option-action-button-group-button-content-color-focus )}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]:hover,luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-default: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down )}";var v=Object.defineProperty,i=(c,t,n,s)=>{for(var u=void 0,p=c.length-1,m;p>=0;p--)(m=c[p])&&(u=m(t,n,u)||u);return u&&v(t,n,u),u};const f={alignBottom:o.luzmoAlignBottom,alignMiddle:o.luzmoAlignMiddle,alignTop:o.luzmoAlignTop,alignLeft:o.luzmoAlignLeft,alignCenter:o.luzmoAlignCenter,alignRight:o.luzmoAlignRight,ban:o.luzmoBan,borderSolid:o.luzmoBorderSolid,borderDashed:o.luzmoBorderDashed,borderDotted:o.luzmoBorderDotted,compress:o.luzmoCompress,expand:o.luzmoExpand,arrowsExpand:o.luzmoArrowsExpand,arrowsHorizontal:o.luzmoArrowsHorizontal,arrowsVertical:o.luzmoArrowsVertical,italic:o.luzmoItalic,bold:o.luzmoBold,underline:o.luzmoUnderline,rows:o.luzmoRows,columns:o.luzmoColumns,table:o.luzmoTable},a=class a extends g.LuzmoEditOptionBase{constructor(){super(...arguments),this.values={},this.disabled=!1}_handleEvent(){var n,s,u;const t=this.selects==="multiple"?(n=this.actionGroup)==null?void 0:n.selected:(u=(s=this.actionGroup)==null?void 0:s.selected)==null?void 0:u[0];this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:t}}))}_generateButtonContents(t){return typeof t=="string"?r.html`${t}`:t.iconName||t.icon?r.html`
|
|
21
|
+
<luzmo-icon
|
|
22
|
+
slot="icon"
|
|
23
|
+
.size=${this.size}
|
|
24
|
+
.icon=${t.icon??f[t.iconName]}
|
|
25
|
+
.label=${t.label??""}
|
|
26
|
+
></luzmo-icon>
|
|
27
|
+
${t.buttonText??""}
|
|
28
|
+
`:r.html`${t.buttonText??""}`}_generateActionButtons(){return Object.entries(this.values).map(([t,n])=>r.html`
|
|
29
|
+
<luzmo-action-button value=${t} ?disabled=${this.disabled}>
|
|
30
|
+
${this._generateButtonContents(n)}
|
|
31
|
+
${n.label?r.html`<luzmo-tooltip
|
|
32
|
+
self-managed
|
|
33
|
+
placement="top"
|
|
34
|
+
size=${this.size}
|
|
35
|
+
>
|
|
36
|
+
${n.label}
|
|
37
|
+
</luzmo-tooltip>`:""}
|
|
38
|
+
</luzmo-action-button>
|
|
39
|
+
`)}renderController(){const t=this._generateActionButtons();return r.html`
|
|
40
|
+
<luzmo-action-group
|
|
41
|
+
compact
|
|
42
|
+
quiet
|
|
43
|
+
emphasized
|
|
44
|
+
.selects=${this.selects??"single"}
|
|
45
|
+
.size=${this.size}
|
|
46
|
+
.selected=${this.value||this.default||[]}
|
|
47
|
+
@change=${this._handleEvent}
|
|
48
|
+
.disabled=${this.disabled}
|
|
49
|
+
>
|
|
50
|
+
${t}
|
|
51
|
+
</luzmo-action-group>
|
|
52
|
+
`}};a.styles=[...d(a,a,"styles"),r.unsafeCSS(h)];let e=a;i([l.property({type:Array})],e.prototype,"values");i([l.property({type:Boolean,reflect:!0})],e.prototype,"disabled");i([l.property({type:String})],e.prototype,"selects");i([l.property({type:Array})],e.prototype,"value");i([l.property({type:Array})],e.prototype,"default");i([l.query("luzmo-action-group")],e.prototype,"actionGroup");customElements.get("luzmo-edit-option-action-button-group")||customElements.define("luzmo-edit-option-action-button-group",e);exports.LuzmoEditOptionActionButtonGroup=e;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LuzmoEditOptionActionButtonGroup } from './edit-option-action-button-group';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'luzmo-edit-option-action-button-group': LuzmoEditOptionActionButtonGroup;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export { LuzmoEditOptionActionButtonGroup } from './edit-option-action-button-group';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import '@luzmo/lucero/field-label';
|
|
2
|
+
import '@luzmo/lucero/tooltip';
|
|
3
|
+
import { CSSResultArray, TemplateResult } from 'lit';
|
|
4
|
+
import { LuzmoElement } from '../../utils/base';
|
|
5
|
+
declare const LuzmoEditOptionBase_base: typeof LuzmoElement & {
|
|
6
|
+
new (...args: any[]): import("../../utils/base/sized-mixin").SizedElementInterface;
|
|
7
|
+
prototype: import("../../utils/base/sized-mixin").SizedElementInterface;
|
|
8
|
+
};
|
|
9
|
+
export declare abstract class LuzmoEditOptionBase extends LuzmoEditOptionBase_base {
|
|
10
|
+
static styles: CSSResultArray;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
hideLabel: boolean;
|
|
13
|
+
label: string;
|
|
14
|
+
tooltip: string;
|
|
15
|
+
extraLabel: string;
|
|
16
|
+
extraLabelHasClickAction: boolean;
|
|
17
|
+
extraLabelClickAction: any;
|
|
18
|
+
extraLabelTooltip: string;
|
|
19
|
+
protected abstract renderController(): TemplateResult;
|
|
20
|
+
protected handleExtraLabelClick(event: MouseEvent): void;
|
|
21
|
+
render(): TemplateResult<1>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2025 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
|
+
"use strict";require("@luzmo/lucero/field-label");require("@luzmo/lucero/tooltip");const e=require("lit"),o=require("lit/decorators.js"),c=require("./focusable-B3E_hQmm.cjs"),h=require("./sized-mixin-DcvJLFeo.cjs"),u=":host{font-family:var(--luzmo-edit-option-component-font-family, var(--luzmo-font-family))}.luzmo-edit-option{height:var(--luzmo-edit-option-component-height, var(--edit-option-component-height));width:100%;display:flex;justify-content:space-between;align-items:center;gap:var(--luzmo-spacing-3);color:var(--luzmo-font-color);font-size:var(--luzmo-font-size-s)}.control-container{display:flex;align-items:center;gap:var(--luzmo-edit-option-control-container-gap, var(--edit-option-control-container-gap));justify-content:end;flex:1}.extra-label{padding-left:var(--luzmo-edit-option-extra-label-padding-left, var(--edit-option-extra-label-padding-left));padding-right:var(--luzmo-edit-option-extra-label-padding-right, var(--edit-option-extra-label-padding-right));font-size:var(--luzmo-edit-option-extra-label-font-size, var(--edit-option-extra-label-font-size))}.extra-link{text-align:right;text-decoration:underline;cursor:pointer}.extra-link:hover{color:var(--luzmo-font-color-hover)}.extra-link.disabled{opacity:.65;cursor:not-allowed}.extra-link.disabled:hover{color:var(--luzmo-font-color-disabled)}:host{--edit-option-component-height: var(--luzmo-component-height);--edit-option-extra-label-padding-right: var(--luzmo-spacing-4);--edit-option-extra-label-padding-left: var(--luzmo-spacing-5);--edit-option-control-container-gap: var(--luzmo-spacing-2);--edit-option-extra-label-font-size: var(--luzmo-font-size-s)}:host([size=s]){--edit-option-component-height: var(--luzmo-component-height-s);--edit-option-extra-label-padding-right: var(--luzmo-spacing-3);--edit-option-extra-label-padding-left: var(--luzmo-spacing-4);--edit-option-control-container-gap: var(--luzmo-spacing-2);--edit-option-extra-label-font-size: var(--luzmo-font-size-xs)}:host([size=l]){--edit-option-component-height: var(--luzmo-component-height-l);--edit-option-extra-label-padding-right: var(--luzmo-spacing-4);--edit-option-extra-label-padding-left: var(--luzmo-spacing-5);--edit-option-control-container-gap: var(--luzmo-spacing-3);--edit-option-extra-label-font-size: var(--luzmo-font-size)}:host([size=xl]){--edit-option-component-height: var(--luzmo-component-height-xl);--edit-option-extra-label-padding-right: var(--luzmo-spacing-5);--edit-option-extra-label-padding-left: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--edit-option-control-container-gap: var(--luzmo-spacing-4);--edit-option-extra-label-font-size: var(--luzmo-font-size-l)}:host{display:block}";var b=Object.defineProperty,i=(s,l,n,g)=>{for(var a=void 0,r=s.length-1,d;r>=0;r--)(d=s[r])&&(a=d(l,n,a)||a);return a&&b(l,n,a),a};const p=class p extends h.SizedMixin(c.LuzmoElement,{defaultSize:"s",validSizes:["s","m","l","xl"]}){constructor(){super(...arguments),this.disabled=!1,this.hideLabel=!1,this.label="",this.tooltip="",this.extraLabel="",this.extraLabelHasClickAction=!1,this.extraLabelTooltip=""}handleExtraLabelClick(l){if(this.extraLabelHasClickAction&&typeof this.extraLabelClickAction=="function"){const{value:n}=this.extraLabelClickAction();this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:n}}))}l.preventDefault(),this.dispatchEvent(new CustomEvent("extraLabelClick",{bubbles:!0,composed:!0}))}render(){return e.html`
|
|
21
|
+
<div class="luzmo-edit-option">
|
|
22
|
+
${this.label&&!this.hideLabel?e.html`
|
|
23
|
+
<luzmo-field-label
|
|
24
|
+
.size=${this.size}
|
|
25
|
+
for="luzmo-edit-option-control"
|
|
26
|
+
side-aligned="start"
|
|
27
|
+
>
|
|
28
|
+
${this.label}
|
|
29
|
+
${this.tooltip?e.html`
|
|
30
|
+
*<luzmo-tooltip
|
|
31
|
+
self-managed
|
|
32
|
+
placement="top"
|
|
33
|
+
size=${this.size}
|
|
34
|
+
>
|
|
35
|
+
${this.tooltip}
|
|
36
|
+
</luzmo-tooltip>
|
|
37
|
+
`:e.nothing}
|
|
38
|
+
</luzmo-field-label>
|
|
39
|
+
`:e.nothing}
|
|
40
|
+
|
|
41
|
+
<div class="control-container">
|
|
42
|
+
${this.extraLabel?e.html`
|
|
43
|
+
<div
|
|
44
|
+
class="extra-label ${this.extraLabelHasClickAction?"extra-link":""}"
|
|
45
|
+
@click=${this.handleExtraLabelClick}
|
|
46
|
+
>
|
|
47
|
+
<span class=""> ${this.extraLabel} </span>
|
|
48
|
+
</div>
|
|
49
|
+
`:e.nothing}
|
|
50
|
+
${this.renderController()}
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
`}};p.styles=[e.unsafeCSS(u)];let t=p;i([o.property({type:Boolean,reflect:!0})],t.prototype,"disabled");i([o.property({type:Boolean,reflect:!0,attribute:"hide-label"})],t.prototype,"hideLabel");i([o.property({type:String,reflect:!0})],t.prototype,"label");i([o.property({type:String,reflect:!0})],t.prototype,"tooltip");i([o.property({type:String,attribute:"extra-label"})],t.prototype,"extraLabel");i([o.property({type:Boolean,attribute:"extra-label-has-click-action"})],t.prototype,"extraLabelHasClickAction");i([o.property()],t.prototype,"extraLabelClickAction");i([o.property({type:String,attribute:"extra-label-tooltip"})],t.prototype,"extraLabelTooltip");exports.LuzmoEditOptionBase=t;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import '@luzmo/lucero/color-palette';
|
|
2
|
+
import '@luzmo/lucero/color-palette-group';
|
|
3
|
+
import { TemplateResult } from 'lit';
|
|
4
|
+
import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
|
|
5
|
+
export declare class LuzmoEditOptionColorPalettePicker extends LuzmoEditOptionBase {
|
|
6
|
+
static styles: (import("lit").CSSResult | import("lit").CSSResultArray)[];
|
|
7
|
+
/**
|
|
8
|
+
* The selected color palette key of the picker
|
|
9
|
+
*/
|
|
10
|
+
value?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The default color palette key of the picker
|
|
13
|
+
*/
|
|
14
|
+
default: string;
|
|
15
|
+
/**
|
|
16
|
+
* The color palette keys of the picker
|
|
17
|
+
*/
|
|
18
|
+
values: string[];
|
|
19
|
+
/**
|
|
20
|
+
* Whether the picker is disabled
|
|
21
|
+
*/
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Whether the picker is horizontal
|
|
25
|
+
*/
|
|
26
|
+
horizontal: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The function to parse the value
|
|
29
|
+
*/
|
|
30
|
+
parseValue?: (value: any) => string;
|
|
31
|
+
/**
|
|
32
|
+
* The function to convert the value to a string
|
|
33
|
+
*/
|
|
34
|
+
toValue?: (value: string) => any;
|
|
35
|
+
/**
|
|
36
|
+
* The number of colors to display
|
|
37
|
+
*/
|
|
38
|
+
numberOfColors: number;
|
|
39
|
+
private _setColorPalette;
|
|
40
|
+
private generateColorsClasses;
|
|
41
|
+
protected renderController(): TemplateResult;
|
|
42
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2025 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
|
+
"use strict";var y=Object.getPrototypeOf;var f=Reflect.get;var d=(p,o,e)=>f(y(p),e,o);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/color-palette");require("@luzmo/lucero/color-palette-group");const u=require("lit"),l=require("lit/decorators.js"),m=require("../color-palettes-DhNHcib8.cjs"),b=require("../edit-option-base-VhTih9T1.cjs"),g=".luzmo-edit-option{height:fit-content;align-items:start}.control-container{align-items:start}.color-classes{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--luzmo-spacing-2)}.extra-label{height:var(--edit-option-component-height);display:flex;align-items:center}";var v=Object.defineProperty,a=(p,o,e,c)=>{for(var r=void 0,s=p.length-1,i;s>=0;s--)(i=p[s])&&(r=i(o,e,r)||r);return r&&v(o,e,r),r};const n=class n extends b.LuzmoEditOptionBase{constructor(){super(...arguments),this.default="OrRd",this.values=[],this.disabled=!1,this.horizontal=!1,this.numberOfColors=5}_setColorPalette(o){const e=o.target.selected;this.value=e,this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue=="function"?this.toValue(e??""):e}}))}generateColorsClasses(o){const e=m.getColorMaps(),c=(s,i)=>u.html`
|
|
21
|
+
<luzmo-color-palette
|
|
22
|
+
.size=${this.size}
|
|
23
|
+
.value=${s}
|
|
24
|
+
?disabled=${this.disabled}
|
|
25
|
+
?horizontal=${this.horizontal}
|
|
26
|
+
.colors=${i}
|
|
27
|
+
></luzmo-color-palette>
|
|
28
|
+
`,r=(this.values??[]).map(s=>{const i=`colors${this.numberOfColors??5}`,h=e[s][i];return c(s,Array.isArray(h)?h:[])});return u.html`
|
|
29
|
+
<luzmo-color-palette-group
|
|
30
|
+
.size=${this.size}
|
|
31
|
+
?disabled=${this.disabled}
|
|
32
|
+
?horizontal=${this.horizontal}
|
|
33
|
+
.selected=${o}
|
|
34
|
+
@change=${this._setColorPalette.bind(this)}
|
|
35
|
+
>${r}</luzmo-color-palette-group
|
|
36
|
+
>
|
|
37
|
+
`}renderController(){const o=typeof this.parseValue=="function"?this.parseValue(this.value):this.value,e=typeof this.parseValue=="function"?this.parseValue(this.default):this.default;return this.generateColorsClasses(o??e??"OrRd")}};n.styles=[d(n,n,"styles"),u.unsafeCSS(g)];let t=n;a([l.property({type:String,reflect:!0})],t.prototype,"value");a([l.property({type:String,reflect:!0})],t.prototype,"default");a([l.property({type:Array,attribute:"values"})],t.prototype,"values");a([l.property({type:Boolean,reflect:!0})],t.prototype,"disabled");a([l.property({type:Boolean,reflect:!0})],t.prototype,"horizontal");a([l.property()],t.prototype,"parseValue");a([l.property()],t.prototype,"toValue");a([l.property({type:Number,attribute:"number-of-colors"})],t.prototype,"numberOfColors");customElements.get("luzmo-edit-option-palette-picker")||customElements.define("luzmo-edit-option-color-palette-picker",t);exports.LuzmoEditOptionColorPalettePicker=t;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LuzmoEditOptionColorPalettePicker } from './edit-option-color-palette-picker';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'luzmo-edit-option-color-palette-picker': LuzmoEditOptionColorPalettePicker;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export { LuzmoEditOptionColorPalettePicker } from './edit-option-color-palette-picker';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Placement } from '@luzmo/lucero';
|
|
2
|
+
import '@luzmo/lucero/color-picker';
|
|
3
|
+
import '@luzmo/lucero/menu';
|
|
4
|
+
import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
|
|
5
|
+
/**
|
|
6
|
+
* @element luzmo-edit-option-color-picker
|
|
7
|
+
* @description A component that allows the user to select a color from a color picker.
|
|
8
|
+
* @fires option-changed - Emitted when the color is changed.
|
|
9
|
+
*/
|
|
10
|
+
export declare class LuzmoEditOptionColorPicker extends LuzmoEditOptionBase {
|
|
11
|
+
static styles: import("lit").CSSResultArray[];
|
|
12
|
+
value: string;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
noAlphaChannel: boolean;
|
|
15
|
+
swatches: string[];
|
|
16
|
+
rounding: 'full' | 'light' | 'none';
|
|
17
|
+
shape: 'circle' | 'rectangle';
|
|
18
|
+
/**
|
|
19
|
+
* @type {"top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end"}
|
|
20
|
+
* @attr
|
|
21
|
+
*/
|
|
22
|
+
placement: Placement;
|
|
23
|
+
debounce: number;
|
|
24
|
+
private colorPicker;
|
|
25
|
+
debounceTimeout: any;
|
|
26
|
+
private _handleEvent;
|
|
27
|
+
protected renderController(): import("lit-html").TemplateResult<1>;
|
|
28
|
+
}
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
/*! * A kit of modern Luzmo Web Components for analytics in your web application.
|
|
2
|
+
*
|
|
3
|
+
* Copyright © 2025 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
|
+
* */
|
|
1
20
|
"use strict";var u=Object.getPrototypeOf;var h=Reflect.get;var c=(i,l,p)=>h(u(i),p,l);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/color-picker");require("@luzmo/lucero/menu");const d=require("lit"),t=require("lit/decorators.js"),y=require("../edit-option-base-VhTih9T1.cjs");var m=Object.defineProperty,r=(i,l,p,f)=>{for(var o=void 0,n=i.length-1,a;n>=0;n--)(a=i[n])&&(o=a(l,p,o)||o);return o&&m(l,p,o),o};const s=class s extends y.LuzmoEditOptionBase{constructor(){super(...arguments),this.value="transparent",this.disabled=!1,this.noAlphaChannel=!1,this.swatches=[],this.rounding="full",this.shape="circle",this.placement="left-start",this.debounce=50}_handleEvent(){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this.colorPicker.color}}))},this.debounce??200)}renderController(){return d.html`
|
|
2
21
|
<luzmo-color-picker
|
|
3
22
|
.color=${this.value}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LuzmoEditOptionColorPicker } from './edit-option-color-picker';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'luzmo-edit-option-color-picker': LuzmoEditOptionColorPicker;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export { LuzmoEditOptionColorPicker } from './edit-option-color-picker';
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import '@luzmo/lucero/action-button';
|
|
2
|
+
import '@luzmo/lucero/color-field';
|
|
3
|
+
import '@luzmo/lucero/color-picker';
|
|
4
|
+
import '@luzmo/lucero/icon';
|
|
5
|
+
import '@luzmo/lucero/number-field';
|
|
6
|
+
import '@luzmo/lucero/text-field';
|
|
7
|
+
import { PropertyValues, TemplateResult } from 'lit';
|
|
8
|
+
import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
|
|
9
|
+
/**
|
|
10
|
+
* @element luzmo-edit-option-color-range
|
|
11
|
+
* @description A component that allows the user to create a color range.
|
|
12
|
+
* @fires option-changed - Emitted when the color range is changed.
|
|
13
|
+
*/
|
|
14
|
+
export declare class LuzmoEditOptionColorRange extends LuzmoEditOptionBase {
|
|
15
|
+
static styles: (import("lit").CSSResult | import("lit").CSSResultArray)[];
|
|
16
|
+
/**
|
|
17
|
+
* The color range
|
|
18
|
+
*/
|
|
19
|
+
value?: {
|
|
20
|
+
color: string;
|
|
21
|
+
value?: number;
|
|
22
|
+
}[];
|
|
23
|
+
/**
|
|
24
|
+
* The default color range
|
|
25
|
+
*/
|
|
26
|
+
default?: {
|
|
27
|
+
color: string;
|
|
28
|
+
value?: number;
|
|
29
|
+
}[];
|
|
30
|
+
/**
|
|
31
|
+
* Whether the color-range is disabled
|
|
32
|
+
* @default false
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
*/
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Range with percentage values
|
|
38
|
+
*/
|
|
39
|
+
percentage: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Range colors can have alpha values
|
|
42
|
+
*/
|
|
43
|
+
noAlphaChannel: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* The number of values in the range can be changed
|
|
46
|
+
*/
|
|
47
|
+
editRangeSize: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* The values in the range can be changed by the user in the input field
|
|
50
|
+
*/
|
|
51
|
+
noValues: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* The minimum range size
|
|
54
|
+
*/
|
|
55
|
+
minimumRangeSize: number;
|
|
56
|
+
/**
|
|
57
|
+
* Whether there is a first range value that sets color from negative infinity to the next range value. That first range value has a color, but the value is disregarded
|
|
58
|
+
*/
|
|
59
|
+
negativeInfinityValue: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* The color pickers can be read-only
|
|
62
|
+
*/
|
|
63
|
+
readOnlyColorPicker: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Whether the colors are reversed
|
|
66
|
+
*/
|
|
67
|
+
reverse: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* The debounce time in milliseconds
|
|
70
|
+
*/
|
|
71
|
+
debounce: number;
|
|
72
|
+
/**
|
|
73
|
+
* The function to parse the value
|
|
74
|
+
*/
|
|
75
|
+
parseValue?: (value: any) => {
|
|
76
|
+
color: string;
|
|
77
|
+
value?: number;
|
|
78
|
+
}[];
|
|
79
|
+
/**
|
|
80
|
+
* The function to convert the value
|
|
81
|
+
*/
|
|
82
|
+
toValue?: (value: any) => any;
|
|
83
|
+
private colorRangeLines;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
debounceTimeout: any;
|
|
88
|
+
private _ranges;
|
|
89
|
+
protected willUpdate(changedProperties: PropertyValues): void;
|
|
90
|
+
private _handleChangeEvent;
|
|
91
|
+
private _getIndex;
|
|
92
|
+
private _extrapolateNewValue;
|
|
93
|
+
private _setColor;
|
|
94
|
+
private _setNumber;
|
|
95
|
+
private _removeRangeValue;
|
|
96
|
+
private _addRangeValue;
|
|
97
|
+
private renderRangeValues;
|
|
98
|
+
protected renderController(): TemplateResult;
|
|
99
|
+
}
|