@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,85 @@
|
|
|
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 v=Object.getPrototypeOf;var m=Reflect.get;var h=(u,e,o)=>m(v(u),o,e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("@luzmo/icons");require("@luzmo/lucero/action-button");require("@luzmo/lucero/color-field");require("@luzmo/lucero/color-picker");require("@luzmo/lucero/icon");require("@luzmo/lucero/number-field");require("@luzmo/lucero/text-field");const s=require("lit"),i=require("lit/decorators.js"),b=require("../extrapolate-color-0j_AeYkz.cjs"),f=require("../edit-option-base-VhTih9T1.cjs"),y=':host{--luzmo-swatch-size: 14px}.luzmo-edit-option{height:fit-content;align-items:start}.control-container{align-items:start;flex-grow:1}.color-range-line{display:flex;align-items:center}luzmo-color-field,luzmo-number-field{flex-grow:1}.color-range-lines-container,.color-range-lines{flex-grow:1;display:flex;flex-direction:column;gap:var(--luzmo-edit-option-color-range-ranges-gap, var(--color-ranges-gap))}.color-range-lines{width:100%}.extra-label{height:var(--edit-option-component-height);display:flex;align-items:center}.color-range-percentage-value{padding-inline-start:var(--luzmo-edit-option-color-range-color-swatch-to-percentage, var(--color-swatch-to-percentage));padding-inline-end:var(--luzmo-edit-option-color-range-percentage-to-input-field, var(--percentage-to-input-field))}luzmo-color-picker{position:relative}luzmo-color-picker:not(:has(+.color-range-percentage-value)){padding-inline-end:var(--luzmo-edit-option-color-range-color-swatch-to-input-field, var(--color-swatch-to-input-field))}luzmo-number-field:has(+luzmo-action-button),luzmo-color-field:has(+luzmo-action-button){padding-inline-end:var(--luzmo-edit-option-color-range-input-field-to-button, var(--input-field-to-button))}luzmo-color-picker:before{box-sizing:border-box;content:"";position:absolute;top:var(--color-range-connector-top);left:var(--color-range-connector-left);height:var(--color-range-connector-height);width:var(--color-range-connector-width);background:var(--range-color);border:var(--luzmo-edit-option-color-range-connector-border-width, var(--luzmo-border-width)) solid var(--luzmo-edit-option-color-range-connector-border-color, var(--luzmo-border-color));border-top:0;border-bottom:0;z-index:-1}:host([reverse]) luzmo-color-picker:before{top:var(--color-range-reverse-connector-top)}.color-range-lines:not(.edit-range-size) .color-range-line:last-child luzmo-color-picker:before{display:none}.color-range-add-value-container{height:var(--color-range-input-field-height);display:flex;align-items:center;justify-content:start}.color-range-add-value{box-sizing:border-box;display:flex;position:relative;align-items:center;justify-content:center;width:var(--luzmo-edit-option-color-range-add-value-width, var(--luzmo-swatch-size));height:var(--luzmo-edit-option-color-range-add-value-height, var(--luzmo-swatch-size));border-width:var(--luzmo-edit-option-color-range-add-value-border-width, var(--luzmo-border-width));border-style:solid;border-color:var(--luzmo-edit-option-color-range-add-value-border-color, var(--luzmo-primary));border-radius:var(--luzmo-edit-option-color-range-add-value-border-radius, 50%);background-color:var(--luzmo-edit-option-color-range-add-value-background-color, var(--luzmo-background-color));cursor:pointer;color:var(--luzmo-edit-option-color-range-add-value-color, var(--luzmo-primary))}.color-range-add-value .plus-sign{position:absolute;top:0;left:0;width:100%;height:100%}.color-range-add-value .plus-sign:before{content:" ";position:absolute;display:block;background-color:var(--luzmo-edit-option-color-range-add-value-color, var(--luzmo-primary));height:var(--add-color-range-plus-size);width:var(--luzmo-edit-option-color-range-add-color-range-plus-sign-border-width, var(--add-color-range-plus-sign-border-width));top:calc((var(--luzmo-edit-option-color-range-add-color-range-size, var(--add-color-range-size)) - var(--add-color-range-plus-size)) / 2 - var(--luzmo-edit-option-color-range-add-value-border-width, var(--luzmo-border-width)));left:calc((var(--luzmo-edit-option-color-range-add-color-range-size, var(--add-color-range-size)) - var(--luzmo-edit-option-color-range-add-color-range-plus-sign-border-width, var(--add-color-range-plus-sign-border-width))) / 2 - var(--luzmo-edit-option-color-range-add-value-border-width, var(--luzmo-border-width)));z-index:1}.color-range-add-value .plus-sign:after{content:" ";position:absolute;display:block;background-color:var(--luzmo-edit-option-color-range-add-value-color, var(--luzmo-primary));width:var(--add-color-range-plus-size);height:var(--luzmo-edit-option-color-range-add-color-range-plus-sign-border-width, var(--add-color-range-plus-sign-border-width));left:calc((var(--luzmo-edit-option-color-range-add-color-range-size, var(--add-color-range-size)) - var(--add-color-range-plus-size)) / 2 - var(--luzmo-edit-option-color-range-add-value-border-width, var(--luzmo-border-width)));top:calc((var(--luzmo-edit-option-color-range-add-color-range-size, var(--add-color-range-size)) - var(--luzmo-edit-option-color-range-add-color-range-plus-sign-border-width, var(--add-color-range-plus-sign-border-width))) / 2 - var(--luzmo-edit-option-color-range-add-value-border-width, var(--luzmo-border-width)));z-index:1}.color-range-add-value:hover{background-color:var(--luzmo-edit-option-color-range-add-value-background-color-hover, var(--luzmo-background-color-hover));color:var(--luzmo-edit-option-color-range-add-value-color-hover, var(--luzmo-primary-hover))}.color-range-add-value[focused],.color-range-add-value:focus-visible{outline:none;background-color:var(--luzmo-edit-option-color-range-add-value-background-color-focus, var(--luzmo-background-color-focus));color:var(--luzmo-edit-option-color-range-add-value-color-focus, var(--luzmo-primary-focus))}.color-range-add-value[focused]:after,.color-range-add-value:focus-visible:after{content:"";inset:calc(var(--luzmo-edit-option-color-range-add-value-focus-indicator-gap, var(--add-value-focus-indicator-gap)) * -2);background-color:var(--luzmo-edit-option-color-range-add-value-focus-indicator-background-color, var(--luzmo-background-color));border-width:var(--luzmo-edit-option-color-range-add-value-focus-indicator-width, var(--add-value-focus-indicator-width));border-style:solid;border-color:var(--highcontrast-swatch-focus-indicator-color, var(--luzmo-edit-option-color-range-add-value-focus-indicator-color, var(--add-value-focus-indicator-color)));border-radius:var(--luzmo-edit-option-color-range-add-value-focus-indicator-border-radius, var(--add-value-focus-indicator-border-radius));transition:opacity var(--luzmo-animation-duration) ease-in-out;position:absolute;z-index:-1}:host{--luzmo-swatch-size: var(--color-range-swatch-size);--color-range-swatch-size: 16px;--color-ranges-gap: calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--color-range-connector-width: .25rem;--color-range-connector-height: calc( var(--color-range-input-field-height) + var(--color-ranges-gap) - var(--color-range-swatch-size) + var(--color-range-connector-width) );--color-range-connector-top: calc( var(--color-range-swatch-size) - (var(--color-range-connector-width) / 2) );--color-range-reverse-connector-top: calc( -1 * var(--color-range-connector-height) + (var(--color-range-connector-width) / 2) );--color-range-connector-left: calc( (var(--color-range-swatch-size) - var(--color-range-connector-width)) / 2 );--color-range-input-field-height: var(--luzmo-component-height);--add-color-range-size: var(--color-range-swatch-size);--add-color-range-plus-size: 8px;--add-color-range-plus-sign-border-width: 2px;--add-value-focus-indicator-border-radius: 50%;--add-value-focus-indicator-gap: 3px;--add-value-focus-indicator-width: 1px;--add-value-focus-indicator-color: var(--luzmo-primary);--color-swatch-to-percentage: var(--luzmo-spacing-4);--color-swatch-to-input-field: var(--luzmo-spacing-4);--percentage-to-input-field: var(--luzmo-spacing-4);--input-field-to-button: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) )}:host([size=s]){--color-range-swatch-size: 14px;--color-range-input-field-height: var(--luzmo-component-height-s);--color-ranges-gap: var(--luzmo-spacing-2);--add-color-range-plus-size: 6px;--add-color-range-plus-sign-border-width: 2px;--color-swatch-to-percentage: var(--luzmo-spacing-3);--color-swatch-to-input-field: var(--luzmo-spacing-3);--percentage-to-input-field: var(--luzmo-spacing-3);--input-field-to-button: var(--luzmo-spacing-2)}:host([size=l]){--color-range-swatch-size: 18px;--color-range-input-field-height: var(--luzmo-component-height-l);--color-ranges-gap: calc(var(--luzmo-spacing-2) + var(--luzmo-spacing-1));--add-color-range-plus-size: 10px;--color-swatch-to-percentage: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--color-swatch-to-input-field: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--percentage-to-input-field: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--input-field-to-button: var(--luzmo-spacing-3)}:host([size=xl]){--color-range-swatch-size: 20px;--color-range-input-field-height: var(--luzmo-component-height-xl);--color-ranges-gap: var(--luzmo-spacing-3);--add-color-range-plus-size: 10px;--color-swatch-to-percentage: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--color-swatch-to-input-field: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--percentage-to-input-field: calc( var(--luzmo-spacing-4) + var(--luzmo-spacing-1) );--input-field-to-button: var(--luzmo-spacing-4)}';var w=Object.defineProperty,n=(u,e,o,t)=>{for(var r=void 0,c=u.length-1,l;c>=0;c--)(l=u[c])&&(r=l(e,o,r)||r);return r&&w(e,o,r),r};const d=class d extends f.LuzmoEditOptionBase{constructor(){super(...arguments),this.disabled=!1,this.percentage=!1,this.noAlphaChannel=!1,this.editRangeSize=!1,this.noValues=!1,this.minimumRangeSize=2,this.negativeInfinityValue=!1,this.readOnlyColorPicker=!1,this.reverse=!1,this.debounce=100,this._ranges=[]}willUpdate(e){super.willUpdate(e),e.has("value")&&(this._ranges=typeof this.parseValue=="function"?this.parseValue(this.value??this.default??[]):this.value??this.default??[]),this.negativeInfinityValue&&(this._ranges=[{color:this._ranges[0].color,value:-1/0},...this._ranges.slice(1)])}_handleChangeEvent(){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue=="function"?this.toValue(this._ranges):this._ranges}}))},this.debounce??200)}_getIndex(e){var t,r;let o=[...this.colorRangeLines].indexOf((t=e==null?void 0:e.target)==null?void 0:t.closest(".color-range-line"));return this.reverse&&(o=(((r=this._ranges)==null?void 0:r.length)??0)-1-o),o}_extrapolateNewValue(e){if(e.length<2)return 0;const o=e.at(-1),t=e.at(-2),r=(o??0)-(t??0);return(o??0)+r}_setColor(e){var r;const o=this._getIndex(e),t=e.target.color??e.target.value;(r=this._ranges)!=null&&r[o]&&(this._ranges[o].color=String(t)),this._ranges=structuredClone(this._ranges),this._handleChangeEvent()}_setNumber(e){var r;const o=this._getIndex(e),t=e.target.value;(r=this._ranges)!=null&&r[o]&&(this._ranges[o].value=t),this._ranges=structuredClone(this._ranges.sort((c,l)=>((c==null?void 0:c.value)??0)-((l==null?void 0:l.value)??0))),this._handleChangeEvent()}_removeRangeValue(e){var t;const o=this._getIndex(e);(t=this._ranges)==null||t.splice(o,1),this._ranges=structuredClone(this._ranges),this._handleChangeEvent()}_addRangeValue(){var t,r,c;const e=b.extrapolateNewColor(((t=this._ranges)==null?void 0:t.map(l=>l.color))??[]),o=this._extrapolateNewValue(((r=this._ranges)==null?void 0:r.map(l=>l.value??0))??[]);(c=this._ranges)==null||c.push({color:e,value:o}),this._ranges=structuredClone(this._ranges),this._handleChangeEvent()}renderRangeValues(){const e=(r,c,l,g)=>{var p;return s.html`
|
|
21
|
+
<div class="color-range-line" style="--range-color: ${r}">
|
|
22
|
+
<luzmo-color-picker
|
|
23
|
+
.color=${r}
|
|
24
|
+
.debounce=${this.debounce}
|
|
25
|
+
?disabled=${this.disabled}
|
|
26
|
+
?no-alpha-channel=${this.noAlphaChannel}
|
|
27
|
+
?read-only=${this.readOnlyColorPicker}
|
|
28
|
+
@change=${this._setColor}
|
|
29
|
+
></luzmo-color-picker>
|
|
30
|
+
${this.percentage?s.html`<div class="color-range-percentage-value">%</div>`:s.html``}
|
|
31
|
+
${this.noValues?s.html` <luzmo-color-field
|
|
32
|
+
.value=${r}
|
|
33
|
+
.size=${this.size}
|
|
34
|
+
.debounce=${this.debounce}
|
|
35
|
+
?no-alpha-channel=${this.noAlphaChannel}
|
|
36
|
+
?disabled=${this.disabled}
|
|
37
|
+
@change=${this._setColor}
|
|
38
|
+
></luzmo-color-field>`:l?s.html` <luzmo-text-field
|
|
39
|
+
.value=${"< "+(g??0)}
|
|
40
|
+
.size=${this.size}
|
|
41
|
+
readonly
|
|
42
|
+
></luzmo-text-field>`:s.html` <luzmo-number-field
|
|
43
|
+
.value=${c??0}
|
|
44
|
+
.size=${this.size}
|
|
45
|
+
.debounce=${this.debounce}
|
|
46
|
+
?disabled=${this.disabled}
|
|
47
|
+
@change=${this._setNumber}
|
|
48
|
+
></luzmo-number-field>`}
|
|
49
|
+
${this.editRangeSize&&!this.disabled&&!l&&(((p=this._ranges)==null?void 0:p.length)??0)>this.minimumRangeSize?s.html`<luzmo-action-button
|
|
50
|
+
quiet
|
|
51
|
+
.size=${this.size}
|
|
52
|
+
@click=${this._removeRangeValue}
|
|
53
|
+
>
|
|
54
|
+
<luzmo-icon
|
|
55
|
+
slot="icon"
|
|
56
|
+
.size=${this.size}
|
|
57
|
+
.icon=${z.luzmoTrashOutline}
|
|
58
|
+
></luzmo-icon>
|
|
59
|
+
</luzmo-action-button>`:s.html``}
|
|
60
|
+
</div>
|
|
61
|
+
`};let o=this._ranges??this.default??[];this.reverse&&(o=[...o].reverse());const t=o.map(({color:r,value:c},l)=>{var g;return e(r,c,l===0&&this.negativeInfinityValue,l===0&&this.negativeInfinityValue?(g=o[1])==null?void 0:g.value:void 0)});return s.html`
|
|
62
|
+
<div class="color-range-lines-container">
|
|
63
|
+
${this.editRangeSize&&!this.disabled&&this.reverse?s.html`<div class="color-range-add-value-container">
|
|
64
|
+
<button
|
|
65
|
+
class="color-range-add-value"
|
|
66
|
+
@click=${this._addRangeValue}
|
|
67
|
+
>
|
|
68
|
+
<div class="plus-sign"></div>
|
|
69
|
+
</button>
|
|
70
|
+
</div>`:s.html``}
|
|
71
|
+
<div
|
|
72
|
+
class="color-range-lines ${this.editRangeSize&&!this.disabled?"edit-range-size":""}"
|
|
73
|
+
>
|
|
74
|
+
${t}
|
|
75
|
+
</div>
|
|
76
|
+
${this.editRangeSize&&!this.disabled&&!this.reverse?s.html`<div class="color-range-add-value-container">
|
|
77
|
+
<button
|
|
78
|
+
class="color-range-add-value"
|
|
79
|
+
@click=${this._addRangeValue}
|
|
80
|
+
>
|
|
81
|
+
<div class="plus-sign"></div>
|
|
82
|
+
</button>
|
|
83
|
+
</div>`:s.html``}
|
|
84
|
+
</div>
|
|
85
|
+
`}renderController(){return this.renderRangeValues()}};d.styles=[h(d,d,"styles"),s.unsafeCSS(y)];let a=d;n([i.property({type:Array,reflect:!0})],a.prototype,"value");n([i.property({type:Array,reflect:!0})],a.prototype,"default");n([i.property({type:Boolean,reflect:!0})],a.prototype,"disabled");n([i.property({type:Boolean})],a.prototype,"percentage");n([i.property({type:Boolean,attribute:"no-alpha-channel"})],a.prototype,"noAlphaChannel");n([i.property({type:Boolean,attribute:"edit-range-size"})],a.prototype,"editRangeSize");n([i.property({type:Boolean,attribute:"no-values"})],a.prototype,"noValues");n([i.property({type:Number,reflect:!0,attribute:"minimum-range-size"})],a.prototype,"minimumRangeSize");n([i.property({type:Boolean,reflect:!0,attribute:"negative-infinity-value"})],a.prototype,"negativeInfinityValue");n([i.property({type:Boolean,attribute:"read-only-color-picker"})],a.prototype,"readOnlyColorPicker");n([i.property({type:Boolean})],a.prototype,"reverse");n([i.property({type:Number,reflect:!0})],a.prototype,"debounce");n([i.property()],a.prototype,"parseValue");n([i.property()],a.prototype,"toValue");n([i.queryAll(".color-range-line")],a.prototype,"colorRangeLines");n([i.state()],a.prototype,"_ranges");customElements.get("luzmo-edit-option-color-range")||customElements.define("luzmo-edit-option-color-range",a);exports.LuzmoEditOptionColorRange=a;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LuzmoEditOptionColorRange } from './edit-option-color-range';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'luzmo-edit-option-color-range': LuzmoEditOptionColorRange;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export { LuzmoEditOptionColorRange } from './edit-option-color-range';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import '@luzmo/lucero/multi-language-field';
|
|
2
|
+
import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
|
|
3
|
+
export declare class LuzmoEditOptionMultiLangField extends LuzmoEditOptionBase {
|
|
4
|
+
static styles: import("lit").CSSResultArray[];
|
|
5
|
+
value: Record<string, string>;
|
|
6
|
+
invalid: boolean;
|
|
7
|
+
readonly: boolean;
|
|
8
|
+
language?: string;
|
|
9
|
+
placeholder?: Record<string, string>;
|
|
10
|
+
parseValue?: (value: any, language: string) => any;
|
|
11
|
+
toValue?: (value: any, language: string) => any;
|
|
12
|
+
debounce: number;
|
|
13
|
+
private multiLangFieldElement;
|
|
14
|
+
debounceTimeout: any;
|
|
15
|
+
private _handleEvent;
|
|
16
|
+
protected renderController(): import("lit-html").TemplateResult<1>;
|
|
17
|
+
}
|
|
@@ -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 d=Object.getPrototypeOf;var c=Reflect.get;var p=(a,t,o)=>c(d(a),o,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/multi-language-field");const h=require("lit"),l=require("lit/decorators.js"),y=require("../edit-option-base-VhTih9T1.cjs");var g=Object.defineProperty,r=(a,t,o,m)=>{for(var i=void 0,n=a.length-1,s;n>=0;n--)(s=a[n])&&(i=s(t,o,i)||i);return i&&g(t,o,i),i};const u=class u extends y.LuzmoEditOptionBase{constructor(){super(...arguments),this.value={},this.invalid=!1,this.readonly=!1,this.language="en",this.debounce=200}_handleEvent(){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{var t,o;this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue=="function"?this.toValue(((t=this.multiLangFieldElement)==null?void 0:t.value)??{},this.language??"en"):((o=this.multiLangFieldElement)==null?void 0:o.value)??{}}}))},this.debounce??200)}renderController(){const t=typeof this.parseValue=="function"?this.parseValue(this.value,this.language??"en"):this.value;return h.html`
|
|
2
21
|
<luzmo-multi-language-field
|
|
3
22
|
.value=${t}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LuzmoEditOptionMultiLangField } from './edit-option-multi-language-field';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'luzmo-edit-option-multi-language-field': LuzmoEditOptionMultiLangField;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export { LuzmoEditOptionMultiLangField } from './edit-option-multi-language-field';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import '@luzmo/lucero/number-field';
|
|
2
|
+
import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
|
|
3
|
+
export declare class LuzmoEditOptionNumberField extends LuzmoEditOptionBase {
|
|
4
|
+
static styles: import("lit").CSSResultArray[];
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
min?: number;
|
|
7
|
+
max?: number;
|
|
8
|
+
default?: number;
|
|
9
|
+
value?: number;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
minWidthInputField?: string;
|
|
12
|
+
step: number;
|
|
13
|
+
unit: boolean;
|
|
14
|
+
debounce: number;
|
|
15
|
+
parseValue?: (value?: string | number) => number;
|
|
16
|
+
toValue?: (value?: number) => string | number | any;
|
|
17
|
+
private numberField;
|
|
18
|
+
debounceTimeout: any;
|
|
19
|
+
private _handleEvent;
|
|
20
|
+
protected renderController(): import("lit-html").TemplateResult<1>;
|
|
21
|
+
}
|
|
@@ -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 h=Object.getPrototypeOf;var c=Reflect.get;var a=(s,i,o)=>c(h(s),o,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/number-field");const y=require("lit"),t=require("lit/decorators.js"),d=require("lit/directives/if-defined.js"),f=require("../edit-option-base-VhTih9T1.cjs");var m=Object.defineProperty,r=(s,i,o,b)=>{for(var u=void 0,l=s.length-1,n;l>=0;l--)(n=s[l])&&(u=n(i,o,u)||u);return u&&m(i,o,u),u};const p=class p extends f.LuzmoEditOptionBase{constructor(){super(...arguments),this.disabled=!1,this.step=1,this.unit=!1,this.debounce=200}_handleEvent(){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue=="function"?this.toValue(this.numberField.value):this.numberField.value}}))},this.debounce??200)}renderController(){const i=typeof this.parseValue=="function"?this.parseValue(this.value):this.value,o=typeof this.parseValue=="function"?this.parseValue(this.default):this.default;return y.html`
|
|
2
21
|
<luzmo-number-field
|
|
3
22
|
style="min-width: ${this.minWidthInputField??"auto"}"
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LuzmoEditOptionNumberField } from './edit-option-number-field';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'luzmo-edit-option-number-field': LuzmoEditOptionNumberField;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export { LuzmoEditOptionNumberField } from './edit-option-number-field';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Placement } from '@luzmo/lucero';
|
|
2
|
+
import '@luzmo/lucero/menu';
|
|
3
|
+
import '@luzmo/lucero/picker';
|
|
4
|
+
import { TemplateResult } from 'lit';
|
|
5
|
+
import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
|
|
6
|
+
export declare class LuzmoEditOptionPicker extends LuzmoEditOptionBase {
|
|
7
|
+
static styles: import("lit").CSSResultArray[];
|
|
8
|
+
values: Record<string, string>;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* @type {"top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end"}
|
|
12
|
+
* @attr
|
|
13
|
+
*/
|
|
14
|
+
placement: Placement;
|
|
15
|
+
value?: string;
|
|
16
|
+
parseValue?: (value: string | number | any) => string;
|
|
17
|
+
toValue?: (value: string) => string | number | any;
|
|
18
|
+
default?: string;
|
|
19
|
+
private _handleEvent;
|
|
20
|
+
private generateMenuItems;
|
|
21
|
+
protected renderController(): TemplateResult<1>;
|
|
22
|
+
}
|
|
@@ -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 c=Object.getPrototypeOf;var d=Reflect.get;var h=(i,e,r)=>d(c(i),r,e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/menu");require("@luzmo/lucero/picker");const u=require("lit"),s=require("lit/decorators.js"),m=require("../edit-option-base-VhTih9T1.cjs");var y=Object.defineProperty,l=(i,e,r,f)=>{for(var o=void 0,p=i.length-1,n;p>=0;p--)(n=i[p])&&(o=n(e,r,o)||o);return o&&y(e,r,o),o};const a=class a extends m.LuzmoEditOptionBase{constructor(){super(...arguments),this.values={},this.disabled=!1,this.placement="bottom-end"}_handleEvent(e){this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue=="function"?this.toValue(e.detail):e.detail}}))}generateMenuItems(){return u.html`
|
|
2
21
|
${Object.entries(this.values).map(([e,r])=>u.html`
|
|
3
22
|
<luzmo-menu-item value=${e}> ${r} </luzmo-menu-item>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import '@luzmo/lucero/text-field';
|
|
2
|
+
import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
|
|
3
|
+
export declare class LuzmoEditOptionPositionPicker extends LuzmoEditOptionBase {
|
|
4
|
+
static styles: (import("lit").CSSResult | import("lit").CSSResultArray)[];
|
|
5
|
+
value?: string;
|
|
6
|
+
default: string;
|
|
7
|
+
positions?: string[];
|
|
8
|
+
readonly: boolean;
|
|
9
|
+
private _handleEvent;
|
|
10
|
+
private _handleClick;
|
|
11
|
+
protected willUpdate(): void;
|
|
12
|
+
protected renderController(): import("lit-html").TemplateResult<1>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 h=Object.getPrototypeOf;var k=Reflect.get;var u=(e,o,i)=>k(h(e),i,o);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/text-field");const l=require("lit"),d=require("lit/decorators.js"),v=require("../edit-option-base-VhTih9T1.cjs"),b=":host{height:var(--luzmo-edit-option-position-picker-grid-height, var(--edit-option-position-picker-grid-height));display:flex;align-items:center}.luzmo-edit-option{height:var(--luzmo-edit-option-position-picker-grid-height, var(--edit-option-position-picker-grid-height))}.position-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--luzmo-edit-option-position-picker-grid-gap, var(--edit-option-position-picker-grid-gap));width:var(--luzmo-edit-option-position-picker-grid-width, var(--edit-option-position-picker-grid-width));box-sizing:border-box;border:.0625rem solid var(--luzmo-edit-option-position-picker-grid-border-color, var(--luzmo-border-color));padding:var(--luzmo-edit-option-position-picker-grid-padding, var(--edit-option-position-picker-grid-padding));border-radius:var(--luzmo-edit-option-position-picker-grid-border-radius, var(--edit-option-position-picker-grid-border-radius))}.position-item{width:100%;height:var(--luzmo-edit-option-position-picker-item-height, var(--edit-option-position-picker-item-height));box-sizing:border-box;border:.0625rem solid var(--luzmo-edit-option-position-picker-border-color, var(--luzmo-border-color));border-radius:var(--luzmo-edit-option-position-picker-border-radius, var(--edit-option-position-picker-border-radius));background:var(--luzmo-edit-option-position-picker-background, var(--luzmo-background-color-highlight));transition:background-color var(--luzmo-edit-option-position-picker-animation-duration, var(--luzmo-animation-duration)) ease-in-out;cursor:pointer}.position-item:hover{background-color:var(--luzmo-edit-option-position-picker-background-hover, var(--luzmo-background-color-highlight-down))}.position-item.selected,.position-item.selected:hover,.position-item.selected:active,.position-item.selected:focus{background-color:var(--luzmo-edit-option-position-picker-background-selected, var(--luzmo-primary));transition:background-color var(--luzmo-edit-option-position-picker-selected-animation-duration, 0) ease-in-out}.position-item.position-item-not-allowed{opacity:0}:host{--edit-option-position-picker-grid-height: 7rem;--edit-option-position-picker-grid-width: 7rem;--edit-option-position-picker-border-radius: var(--luzmo-border-radius);--edit-option-position-picker-grid-border-radius: var(--luzmo-border-radius);--edit-option-position-picker-grid-padding: .25rem;--edit-option-position-picker-item-height: 1.75rem;--edit-option-position-picker-grid-gap: .25rem}:host([size=s]){--edit-option-position-picker-grid-height: 5.125rem;--edit-option-position-picker-grid-width: 5.625rem;--edit-option-position-picker-border-radius: var(--luzmo-border-radius);--edit-option-position-picker-grid-border-radius: var( --luzmo-border-radius-s );--edit-option-position-picker-grid-padding: .125rem;--edit-option-position-picker-item-height: 1.5rem;--edit-option-position-picker-grid-gap: .125rem}:host([size=l]){--edit-option-position-picker-grid-height: 8rem;--edit-option-position-picker-grid-width: 8rem;--edit-option-position-picker-border-radius: var(--luzmo-border-radius-l);--edit-option-position-picker-grid-border-radius: var( --luzmo-border-radius-l );--edit-option-position-picker-grid-padding: .3rem;--edit-option-position-picker-item-height: 2rem;--edit-option-position-picker-grid-gap: .25rem}:host([size=xl]){--edit-option-position-picker-grid-height: 9rem;--edit-option-position-picker-grid-width: 9rem;--edit-option-position-picker-border-radius: var(--luzmo-border-radius-xl);--edit-option-position-picker-grid-border-radius: var( --luzmo-border-radius-xl );--edit-option-position-picker-grid-padding: .375rem;--edit-option-position-picker-item-height: 2.25rem;--edit-option-position-picker-grid-gap: .275rem}";var z=Object.defineProperty,n=(e,o,i,s)=>{for(var r=void 0,a=e.length-1,c;a>=0;a--)(c=e[a])&&(r=c(o,i,r)||r);return r&&z(o,i,r),r};const m=["topLeft","top","topRight","left","center","right","bottomLeft","bottom","bottomRight"],g=m.filter(e=>e!=="center"),p=class p extends v.LuzmoEditOptionBase{constructor(){super(...arguments),this.default="topRight",this.positions=g,this.readonly=!1}_handleEvent(){this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this.value}}))}_handleClick(o){var i;(i=this.positions)!=null&&i.includes(o)&&(this.value=o,this._handleEvent())}willUpdate(){this.value=this.value??this.default??"topRight",this.positions=this.positions??g}renderController(){const o=m.map(i=>{var s;return l.html`
|
|
21
|
+
<div
|
|
22
|
+
class="position-item ${(s=this.positions)!=null&&s.includes(i)?"position-item-allowed":"position-item-not-allowed"} ${this.value===i?"selected":""}"
|
|
23
|
+
@click=${this._handleClick.bind(this,i)}
|
|
24
|
+
></div>
|
|
25
|
+
`});return l.html` <div class="position-grid">${o}</div> `}};p.styles=[u(p,p,"styles"),l.unsafeCSS(b)];let t=p;n([d.property({type:String,reflect:!0})],t.prototype,"value");n([d.property({type:String,reflect:!0,attribute:"default-position"})],t.prototype,"default");n([d.property({type:Array,reflect:!0})],t.prototype,"positions");n([d.property({type:Boolean,reflect:!0})],t.prototype,"readonly");customElements.get("luzmo-edit-option-position-picker")||customElements.define("luzmo-edit-option-position-picker",t);exports.LuzmoEditOptionPositionPicker=t;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LuzmoEditOptionPositionPicker } from './edit-option-position-picker';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'luzmo-edit-option-position-picker': LuzmoEditOptionPositionPicker;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export { LuzmoEditOptionPositionPicker } from './edit-option-position-picker';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import '@luzmo/lucero/number-field';
|
|
2
|
+
import { CSSResultArray } from 'lit';
|
|
3
|
+
import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
|
|
4
|
+
export type Position = 'top' | 'right' | 'bottom' | 'left' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'center';
|
|
5
|
+
export declare class LuzmoEditOptionPositionsNumberField extends LuzmoEditOptionBase {
|
|
6
|
+
static get styles(): CSSResultArray;
|
|
7
|
+
positions?: Position[];
|
|
8
|
+
values?: Record<Position, number | undefined>;
|
|
9
|
+
canSync?: boolean;
|
|
10
|
+
positionConfiguration?: Record<Position, {
|
|
11
|
+
min?: number;
|
|
12
|
+
max?: number;
|
|
13
|
+
step?: number;
|
|
14
|
+
default?: number;
|
|
15
|
+
}>;
|
|
16
|
+
invalid: boolean;
|
|
17
|
+
readonly: boolean;
|
|
18
|
+
debounce: number;
|
|
19
|
+
sync?: boolean;
|
|
20
|
+
syncedValue?: number;
|
|
21
|
+
debounceTimeout: any;
|
|
22
|
+
_positions: Position[][];
|
|
23
|
+
private _calculateSyncedValue;
|
|
24
|
+
toggleSync(): void;
|
|
25
|
+
private _handleEvent;
|
|
26
|
+
private _renderNumberField;
|
|
27
|
+
protected firstUpdated(): void;
|
|
28
|
+
protected willUpdate(): void;
|
|
29
|
+
protected renderController(): import("lit-html").TemplateResult<1>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 z=require("@luzmo/icons");require("@luzmo/lucero/number-field");const p=require("lit"),u=require("lit/decorators.js"),$=require("../edit-option-base-VhTih9T1.cjs"),_=":host{--edit-option-positions-number-field-container-row-gap: var( --luzmo-spacing-2 );--edit-option-positions-number-field-container-column-gap: var( --luzmo-spacing-2 );--edit-option-positions-number-field-sync-height: calc( var(--luzmo-component-height) * 1.5 )}:host([size=s]){--edit-option-positions-number-field-sync-height: calc( var(--luzmo-component-height-s) * 1.5 )}:host([size=l]){--edit-option-positions-number-field-sync-height: calc( var(--luzmo-component-height-l) * 1.5 )}:host([size=xl]){--edit-option-positions-number-field-sync-height: calc( var(--luzmo-component-height-xl) * 1.5 )}:host{--var: test}.positions-container{max-width:var(--luzmo-edit-option-positions-number-field-container-max-width, var(--edit-option-positions-number-field-container-max-width));display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);row-gap:var(--luzmo-edit-option-positions-number-field-container-row-gap, var(--edit-option-positions-number-field-container-row-gap));column-gap:var(--luzmo-edit-option-positions-number-field-container-column-gap, var(--edit-option-positions-number-field-container-column-gap))}.position,.sync-button{display:flex;align-items:center;justify-content:center}.sync-button{cursor:pointer}.sync-button[position=center].sync{border:var(--luzmo-edit-option-positions-number-field-sync-border-width, var(--luzmo-border-width)) solid var(--luzmo-edit-option-positions-number-field-sync-border-color, var(--luzmo-primary));border-radius:var(--luzmo-edit-option-positions-number-field-sync-border-radius, var(--luzmo-border-radius));height:var(--luzmo-edit-option-positions-number-field-sync-height, var(--edit-option-positions-number-field-sync-height))}.no-sync-center{border:var(--luzmo-edit-option-positions-number-field-no-sync-center-border-width, var(--luzmo-border-width)) solid var(--luzmo-edit-option-positions-number-field-no-sync-center-border-color, var(--luzmo-border-color));border-radius:var(--luzmo-edit-option-positions-number-field-no-sync-center-border-radius, var(--luzmo-border-radius));height:var(--luzmo-edit-option-positions-number-field-sync-height, var(--edit-option-positions-number-field-sync-height));background-color:var(--luzmo-edit-option-positions-number-field-no-sync-center-background-color, var(--luzmo-background-color-highlight))}";var C=Object.defineProperty,a=(y,t,i,n)=>{for(var e=void 0,o=y.length-1,s;o>=0;o--)(s=y[o])&&(e=s(t,i,e)||e);return e&&C(t,i,e),e};class l extends $.LuzmoEditOptionBase{constructor(){super(...arguments),this.canSync=!0,this.invalid=!1,this.readonly=!1,this.debounce=200,this._positions=[["top-left","top","top-right"],["left","center","right"],["bottom-left","bottom","bottom-right"]]}static get styles(){return[p.unsafeCSS(_)]}_calculateSyncedValue(){var n;let t;const i={};return(n=this.positions)==null||n.forEach(e=>{var o,s,r;i[e]=((o=this.values)==null?void 0:o[e])??((r=(s=this.positionConfiguration)==null?void 0:s[e])==null?void 0:r.default)??0,t=typeof t=="number"&&i[e]?Math.min(t,i[e]):i[e]}),t}toggleSync(){if(this.sync=!this.sync,this.sync&&(this.syncedValue=this._calculateSyncedValue(),typeof this.syncedValue=="number")){this.values={...this.values};for(const t of this.positions??[])this.values[t]=this.syncedValue}}_handleEvent(t){const i=t.target.getAttribute("position"),n=t.target.value;let e={};if(!(!i||typeof n!="number")){if(this.canSync&&this.sync&&i==="center"){this.syncedValue=n;for(const o of this.positions??[])e[o]=n}else e={...this.values,[i]:n};this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{var c;const o=Object.keys(this.values??{}),s=Object.keys(e);let r=!0;o.length!==s.length&&(r=!1);for(const d of o)((c=this.values)==null?void 0:c[d])!==e[d]&&(r=!1);r||(this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{values:{...e}}})),this.values=e)},this.debounce??200)}}_renderNumberField(t){var i,n,e,o,s,r,c,d,h,m,f;return(i=this.positions)!=null&&i.includes(t)||t==="center"?this.canSync&&(this.sync&&t!=="center"||!this.sync&&t==="center")?p.html`<div
|
|
21
|
+
class="sync-button ${this.sync?"":"sync"}"
|
|
22
|
+
position=${t}
|
|
23
|
+
@click=${this.toggleSync}
|
|
24
|
+
>
|
|
25
|
+
${z.luzmoIcon(z.luzmoLockOutline)}
|
|
26
|
+
</div>`:!this.canSync&&!((n=this.positions)!=null&&n.includes("center"))&&t==="center"?p.html`<div class="no-sync-center"></div>`:p.html`<div class="position">
|
|
27
|
+
<luzmo-number-field
|
|
28
|
+
position=${t}
|
|
29
|
+
.value=${this.sync&&this.canSync?this.syncedValue??0:((e=this.values)==null?void 0:e[t])??((s=(o=this.positionConfiguration)==null?void 0:o[t])==null?void 0:s.default)??0}
|
|
30
|
+
.disabled=${this.disabled}
|
|
31
|
+
.size=${this.size}
|
|
32
|
+
.min=${((c=(r=this.positionConfiguration)==null?void 0:r[t])==null?void 0:c.min)??0}
|
|
33
|
+
.max=${((h=(d=this.positionConfiguration)==null?void 0:d[t])==null?void 0:h.max)??100}
|
|
34
|
+
.step=${((f=(m=this.positionConfiguration)==null?void 0:m[t])==null?void 0:f.step)??1}
|
|
35
|
+
.invalid=${this.invalid}
|
|
36
|
+
@change=${this._handleEvent}
|
|
37
|
+
@input=${this._handleEvent}
|
|
38
|
+
>
|
|
39
|
+
</luzmo-number-field>
|
|
40
|
+
</div>`:p.html`<div class="position"></div>`}firstUpdated(){var t,i,n,e,o,s,r,c,d,h,m,f,b;if(this.canSync&&!((t=this.positions)!=null&&t.includes("center"))){const w=((i=this.values)==null?void 0:i.left)??((e=(n=this.positionConfiguration)==null?void 0:n.left)==null?void 0:e.default),v=((o=this.values)==null?void 0:o.top)??((r=(s=this.positionConfiguration)==null?void 0:s.top)==null?void 0:r.default),g=((c=this.values)==null?void 0:c.right)??((h=(d=this.positionConfiguration)==null?void 0:d.right)==null?void 0:h.default),S=((m=this.values)==null?void 0:m.bottom)??((b=(f=this.positionConfiguration)==null?void 0:f.bottom)==null?void 0:b.default);this.sync=w===v&&v===g&&g===S}else this.sync=!1}willUpdate(){this.positions||(this.positions=["top","right","bottom","left"])}renderController(){this._calculateSyncedValue();const t=this._positions.map(i=>{const n=i.map(e=>this._renderNumberField(e));return p.html`${n}`});return p.html`<div class="positions-container-wrapper">
|
|
41
|
+
<div class="positions-container">${t}</div>
|
|
42
|
+
</div>`}}a([u.property({type:Array,reflect:!0})],l.prototype,"positions");a([u.property({type:Object,reflect:!0})],l.prototype,"values");a([u.property({type:Boolean,reflect:!0,attribute:"can-sync"})],l.prototype,"canSync");a([u.property({type:Object})],l.prototype,"positionConfiguration");a([u.property({type:Boolean,reflect:!0})],l.prototype,"invalid");a([u.property({type:Boolean,reflect:!0})],l.prototype,"readonly");a([u.property({type:Number,reflect:!0})],l.prototype,"debounce");a([u.property({type:Boolean,reflect:!0})],l.prototype,"sync");a([u.state()],l.prototype,"syncedValue");customElements.get("luzmo-edit-option-positions-number-field")||customElements.define("luzmo-edit-option-positions-number-field",l);exports.LuzmoEditOptionPositionsNumberField=l;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LuzmoEditOptionPositionsNumberField } from './edit-option-positions-number-field';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'luzmo-edit-option-positions-number-field': LuzmoEditOptionPositionsNumberField;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export { LuzmoEditOptionPositionsNumberField } from './edit-option-positions-number-field';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import '@luzmo/lucero/action-button';
|
|
2
|
+
import '@luzmo/lucero/action-group';
|
|
3
|
+
import { TemplateResult } from 'lit';
|
|
4
|
+
import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
|
|
5
|
+
export declare class LuzmoEditOptionRadioButtonGroup extends LuzmoEditOptionBase {
|
|
6
|
+
static styles: import("lit").CSSResultArray[];
|
|
7
|
+
values: Record<string, string>;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
value: string;
|
|
10
|
+
default: string;
|
|
11
|
+
parseValue?: (value?: string | number | any) => string;
|
|
12
|
+
toValue?: (value?: string) => string | number | any;
|
|
13
|
+
private actionGroup;
|
|
14
|
+
debounceTimeout: any;
|
|
15
|
+
private generateRadioButtons;
|
|
16
|
+
private _handleEvent;
|
|
17
|
+
protected renderController(): TemplateResult<1>;
|
|
18
|
+
}
|
|
@@ -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 h=Object.getPrototypeOf;var y=Reflect.get;var d=(u,e,t)=>y(h(u),t,e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/action-button");require("@luzmo/lucero/action-group");const p=require("lit"),r=require("lit/decorators.js"),v=require("../edit-option-base-VhTih9T1.cjs");var f=Object.defineProperty,a=(u,e,t,i)=>{for(var o=void 0,n=u.length-1,c;n>=0;n--)(c=u[n])&&(o=c(e,t,o)||o);return o&&f(e,t,o),o};const l=class l extends v.LuzmoEditOptionBase{constructor(){super(...arguments),this.values={},this.disabled=!1}generateRadioButtons(){const e=Object.entries(this.values).map(([t,i])=>p.html`
|
|
2
21
|
<luzmo-action-button value=${t} ?disabled=${this.disabled}>
|
|
3
22
|
${i}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LuzmoEditOptionRadioButtonGroup } from './edit-option-radio-button-group';
|
|
2
|
+
declare global {
|
|
3
|
+
interface HTMLElementTagNameMap {
|
|
4
|
+
'luzmo-edit-option-radio-button-group': LuzmoEditOptionRadioButtonGroup;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export { LuzmoEditOptionRadioButtonGroup } from './edit-option-radio-button-group';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import '@luzmo/lucero/slider';
|
|
2
|
+
import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
|
|
3
|
+
export declare class LuzmoEditOptionSlider extends LuzmoEditOptionBase {
|
|
4
|
+
static styles: import("lit").CSSResultArray[];
|
|
5
|
+
value: number;
|
|
6
|
+
default: number;
|
|
7
|
+
min: number;
|
|
8
|
+
max: number;
|
|
9
|
+
step: number;
|
|
10
|
+
debounce: number;
|
|
11
|
+
parseValue?: (value?: string | number | any) => number;
|
|
12
|
+
toValue?: (value?: number) => string | number | any;
|
|
13
|
+
private _handleEvent;
|
|
14
|
+
protected renderController(): import("lit-html").TemplateResult<1>;
|
|
15
|
+
}
|
|
@@ -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 c=Object.getPrototypeOf;var d=Reflect.get;var n=(p,t,o)=>d(c(p),o,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/slider");const h=require("lit"),r=require("lit/decorators.js"),y=require("../edit-option-base-VhTih9T1.cjs");var m=Object.defineProperty,s=(p,t,o,f)=>{for(var u=void 0,l=p.length-1,a;l>=0;l--)(a=p[l])&&(u=a(t,o,u)||u);return u&&m(t,o,u),u};const i=class i extends y.LuzmoEditOptionBase{constructor(){super(...arguments),this.value=0,this.default=0,this.min=0,this.max=100,this.step=100,this.debounce=200}_handleEvent(t){this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue=="function"?this.toValue(t.detail):t.detail}}))}renderController(){const t=typeof this.parseValue=="function"?this.parseValue(this.value):this.value,o=typeof this.parseValue=="function"?this.parseValue(this.default):this.default;return h.html`
|
|
2
21
|
<luzmo-slider
|
|
3
22
|
id="luzmo-edit-option-control"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import '@luzmo/lucero/switch';
|
|
2
|
+
import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
|
|
3
|
+
export declare class LuzmoEditOptionSwitch extends LuzmoEditOptionBase {
|
|
4
|
+
static styles: (import("lit").CSSResultOrNative | import("lit").CSSResultArray)[];
|
|
5
|
+
value?: boolean;
|
|
6
|
+
default?: boolean;
|
|
7
|
+
parseValue?: (value?: string | number | any) => boolean;
|
|
8
|
+
toValue?: (value?: boolean) => string | number | any;
|
|
9
|
+
private _handleEvent;
|
|
10
|
+
protected renderController(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 c=Object.getPrototypeOf;var d=Reflect.get;var p=(e,t,s)=>d(c(e),s,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/switch");const f=require("lit"),i=require("lit/decorators.js"),h=require("../edit-option-base-VhTih9T1.cjs"),y=":host{--luzmo-switch-control-label-spacing: 0px}";var m=Object.defineProperty,u=(e,t,s,b)=>{for(var o=void 0,a=e.length-1,n;a>=0;a--)(n=e[a])&&(o=n(t,s,o)||o);return o&&m(t,s,o),o};const l=class l extends h.LuzmoEditOptionBase{_handleEvent(t){this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:typeof this.toValue=="function"?this.toValue(t.detail):t.detail}}))}renderController(){const t=typeof this.parseValue=="function"?this.parseValue(this.value):this.value,s=typeof this.parseValue=="function"?this.parseValue(this.default):this.default;return f.html`
|
|
21
|
+
<luzmo-switch
|
|
22
|
+
id="luzmo-edit-option-control"
|
|
23
|
+
thumb="overflow"
|
|
24
|
+
emphasized
|
|
25
|
+
.size=${this.size}
|
|
26
|
+
.checked=${t??s??!1}
|
|
27
|
+
.disabled=${this.disabled}
|
|
28
|
+
@change=${this._handleEvent}
|
|
29
|
+
></luzmo-switch>
|
|
30
|
+
`}};l.styles=[...p(l,l,"styles"),f.unsafeCSS(y)];let r=l;u([i.property({type:Boolean,converter:{fromAttribute:e=>{if(e==="false"||e===!1)return!1;if(e==="true"||e===!0)return!0}}})],r.prototype,"value");u([i.property({type:Boolean,converter:{fromAttribute:e=>{if(e==="false"||e===!1)return!1;if(e==="true"||e===!0)return!0}}})],r.prototype,"default");u([i.property()],r.prototype,"parseValue");u([i.property()],r.prototype,"toValue");customElements.get("luzmo-edit-option-switch")||customElements.define("luzmo-edit-option-switch",r);exports.LuzmoEditOptionSwitch=r;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import '@luzmo/lucero/text-field';
|
|
2
|
+
import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
|
|
3
|
+
export declare class LuzmoEditOptionTextField extends LuzmoEditOptionBase {
|
|
4
|
+
static styles: import("lit").CSSResultArray[];
|
|
5
|
+
value?: string;
|
|
6
|
+
invalid: boolean;
|
|
7
|
+
readonly: boolean;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
debounce: number;
|
|
10
|
+
private textFieldElement;
|
|
11
|
+
debounceTimeout: any;
|
|
12
|
+
_previousValue: string;
|
|
13
|
+
private _handleEvent;
|
|
14
|
+
protected renderController(): import("lit-html").TemplateResult<1>;
|
|
15
|
+
}
|