@luzmo/analytics-components-kit 1.0.1-alpha.96 → 1.0.1-alpha.97
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-assistant/index.js +0 -1
- 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 +20 -1
- package/components/ai-chat-messages-container/index.d.ts +7 -0
- package/components/ai-chat-messages-container/index.js +2 -2
- package/components/ai-interaction-textarea/ai-interaction-textarea.d.ts +83 -0
- package/components/ai-interaction-textarea/index.cjs +20 -1
- package/components/ai-interaction-textarea/index.d.ts +7 -0
- package/components/ai-interaction-textarea/index.js +1 -2
- package/components/area-chart-options.config-Bl8bhhOo.cjs +20 -0
- package/components/{area-chart-options.config-_J0sG4NF.js → area-chart-options.config-u8itidsi.js} +14 -26
- 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-CePAqM83.cjs +20 -0
- package/components/{bar-chart-options.config-D1mb5TDl.js → bar-chart-options.config-DIirbAJ0.js} +21 -35
- 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-BVNrV2eD.cjs +20 -0
- package/components/{box-plot-options.config-xu_i6ms7.js → box-plot-options.config-BWROiguA.js} +52 -88
- 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-BacgXkJ_.js → bubble-chart-options.config-4QD8VPhU.js} +9 -18
- package/components/bubble-chart-options.config-BDgOe3GQ.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-CDPpX1yc.js → bullet-chart-options.config-3bH7uekx.js} +1 -1
- package/components/bullet-chart-options.config-tWb6Fio-.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-DMDhKq_m.js +147 -0
- package/components/calculate-data-item-icon-DtVGbet3.cjs +20 -0
- package/components/{choropleth-map-options.config-B_W9-rhe.js → choropleth-map-options.config-CMxx3ORp.js} +63 -84
- package/components/choropleth-map-options.config-CWJACFd0.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-BMxgq3zH.cjs +20 -0
- package/components/{circular-gauge-options.config-DAIjz4Rl.js → circular-gauge-options.config-DhIKn44k.js} +23 -36
- 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-DuJ4-73S.js → color-B7m0j8lX.js} +941 -950
- package/components/color-Czp4Im5q.cjs +20 -0
- package/components/color-palettes-DhNHcib8.cjs +20 -0
- package/components/{color-range-utils-Bvo9sm5A.js → color-range-utils-BSfqtB3A.js} +31 -32
- package/components/color-range-utils-DYYR-iwx.cjs +20 -0
- package/components/column-chart-options.config-BV9R3ssH.cjs +20 -0
- package/components/{column-chart-options.config-B5SjBVdy.js → column-chart-options.config-D5-yR7iq.js} +27 -37
- 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-Co099Qfm.cjs +20 -0
- package/components/{conditional-number-options.config-BCEpSK9J.js → conditional-number-options.config-DPYsdML5.js} +24 -40
- 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 +20 -1
- package/components/dataset-icon/index.d.ts +7 -0
- package/components/dataset-icon/index.js +1 -2
- 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 +32 -35
- package/components/dataset-selector-row/dataset-selector-row.d.ts +85 -0
- package/components/dataset-selector-row/index.cjs +28 -9
- package/components/dataset-selector-row/index.d.ts +7 -0
- package/components/dataset-selector-row/index.js +50 -52
- package/components/{date-comparison-filter-options.config-JA_yYpJa.js → date-comparison-filter-options.config-CSwGyuBg.js} +3 -6
- package/components/date-comparison-filter-options.config-QaoWaFUn.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-DBRxlTWy.js → date-filter-options.config-BTVyHRkp.js} +3 -6
- package/components/date-filter-options.config-n-zhWaYa.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/index.js +1 -1
- package/components/display-settings-binning/display-settings-binning.d.ts +33 -0
- package/components/display-settings-binning/index.cjs +24 -5
- package/components/display-settings-binning/index.d.ts +7 -0
- package/components/display-settings-binning/index.js +29 -30
- 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-datetime/index.js +112 -120
- 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-grand-totals/index.js +23 -24
- 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-numeric/index.js +190 -206
- 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/display-settings-period-over-period/index.js +91 -97
- package/components/{donut-chart-options.config-BulUEiaH.js → donut-chart-options.config-3ZqX8Cbb.js} +21 -37
- package/components/donut-chart-options.config-BQyPgnC9.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/index.js +45 -46
- 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/index.js +70 -73
- package/components/draggable-data-item-level/types.d.ts +12 -0
- package/components/{dropdown-filter-options.config-D9dvPypF.js → dropdown-filter-options.config-CGJTtgAX.js} +7 -10
- package/components/dropdown-filter-options.config-DJvfCTk7.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/index.js +208 -223
- 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-item/index.js +116 -119
- 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/index.js +1 -1
- 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-action-button-group/index.js +52 -53
- package/components/edit-option-base/edit-option-base.d.ts +23 -0
- package/components/{edit-option-base-DIc7iC-b.js → edit-option-base-Bh29-Cak.js} +1 -1
- package/components/edit-option-base-tFr8Qg2B.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-palette-picker/index.js +1 -1
- package/components/edit-option-color-picker/edit-option-color-picker.d.ts +28 -0
- package/components/edit-option-color-picker/index.cjs +20 -1
- package/components/edit-option-color-picker/index.d.ts +7 -0
- package/components/edit-option-color-picker/index.js +1 -1
- 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-color-range/index.js +106 -117
- 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 +22 -3
- package/components/edit-option-multi-language-field/index.d.ts +7 -0
- package/components/edit-option-multi-language-field/index.js +26 -27
- package/components/edit-option-number-field/edit-option-number-field.d.ts +21 -0
- package/components/edit-option-number-field/index.cjs +20 -1
- package/components/edit-option-number-field/index.d.ts +7 -0
- package/components/edit-option-number-field/index.js +1 -1
- package/components/edit-option-picker/edit-option-picker.d.ts +22 -0
- package/components/edit-option-picker/index.cjs +24 -5
- package/components/edit-option-picker/index.d.ts +7 -0
- package/components/edit-option-picker/index.js +7 -7
- 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-position-picker/index.js +21 -25
- 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-positions-number-field/index.js +76 -81
- 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 +25 -6
- package/components/edit-option-radio-button-group/index.d.ts +7 -0
- package/components/edit-option-radio-button-group/index.js +21 -22
- package/components/edit-option-slider/edit-option-slider.d.ts +15 -0
- package/components/edit-option-slider/index.cjs +20 -1
- package/components/edit-option-slider/index.d.ts +7 -0
- package/components/edit-option-slider/index.js +1 -1
- 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-switch/index.js +1 -1
- package/components/edit-option-text-field/edit-option-text-field.d.ts +15 -0
- package/components/edit-option-text-field/index.cjs +21 -2
- package/components/edit-option-text-field/index.d.ts +7 -0
- package/components/edit-option-text-field/index.js +22 -23
- package/components/en-D3ihEGXg.js +1483 -0
- package/components/en-DZcn_iz_.cjs +20 -0
- package/components/en-GB-TqvgIw9B.cjs +20 -0
- package/components/{en-GB-CEHEs8F2.js → en-GB-ialeqj_z.js} +1 -1
- package/components/es-CaKfa7fn.cjs +20 -0
- package/components/es-CwyPlN5d.cjs +20 -0
- package/components/{evolution-number-options.config-DzkfeoIN.js → evolution-number-options.config-BIPO_4n3.js} +11 -14
- package/components/evolution-number-options.config-Bc9eKYnn.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-C0n1UDs-.cjs +20 -0
- package/components/{extrapolate-color-CC9CURf6.js → extrapolate-color-v1PimdQr.js} +1 -1
- 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-data-item-picker/index.js +85 -86
- 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-expression-picker/index.js +1 -1
- 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-item/index.js +109 -119
- 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/index.js +34 -36
- 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-datetime/index.js +56 -71
- 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-hierarchy/index.js +113 -124
- 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/filter-value-picker-numeric/index.js +101 -110
- package/components/{focusable-DCIFkpiW.js → focusable-BS2pbY7w.js} +24 -26
- package/components/focusable-QLh-LlNt.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-C_VjTOvD.js → funnel-chart-options.config-CrJy2U7_.js} +5 -20
- package/components/funnel-chart-options.config-DrP4AFgk.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-YlLiVgo8.js → get-css-variable-Bb7TxJdX.js} +37 -37
- package/components/get-css-variable-Pzks_rOx.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 +313 -0
- package/components/grid/index.d.ts +10 -0
- package/components/grid/index.js +2610 -1878
- package/components/he-O6Ih8Bqh.cjs +20 -0
- package/components/heat-map-options.config-CIHnPdYE.cjs +20 -0
- package/components/{heat-map-options.config-BnLWe8jS.js → heat-map-options.config-CmL87j1j.js} +35 -41
- 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-CUsDdgUr.js → heat-table-options.config-BrCYAgYD.js} +60 -88
- package/components/heat-table-options.config-DTlZRc_i.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-9I0oLoUB.cjs +20 -0
- package/components/helpers-bR8Ibjqh.js +79 -0
- package/components/{hexbin-map-options.config-F-7uCqxb.js → hexbin-map-options.config-BguV1w8q.js} +20 -38
- package/components/hexbin-map-options.config-CKnn3VAB.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-BNAmjOkm.cjs +38 -0
- package/components/index-BekTY3Em.cjs +121 -0
- package/components/index-CFL6gmIu.cjs +20 -0
- package/components/{index-Do7O9azB.js → index-CqKpf0B8.js} +112 -123
- package/components/index-DNPULp4A.js +1755 -0
- package/components/{index-D0GBF6tg.js → index-DdyZ2g5L.js} +94 -104
- package/components/index-DhDgy1sp.cjs +20 -0
- package/components/index-DvkzMbLt.cjs +249 -0
- package/components/index-Vdyb9z2D.cjs +20 -0
- package/components/{index-CdIUfo-L.js → index-haa7WNrl.js} +453 -481
- package/components/index.cjs +20 -1
- package/components/index.js +13 -13
- 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 +20 -1
- package/components/item-options-configs.js +37 -37
- 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-DB3IsXXr.js → line-chart-options.config-BhirTGqD.js} +13 -28
- package/components/line-chart-options.config-Cqwou5u6.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-C4zNlrwK.cjs +20 -0
- package/components/{localize-BX7q0S0M.js → localize-CcDpq940.js} +10 -10
- package/components/{marker-map-options.config-DPJ955tt.js → marker-map-options.config-Bx17jmiq.js} +1 -1
- package/components/marker-map-options.config-CvhCylSC.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-DNK_AIG7.js → pivot-table-options.config-CFc7y0IT.js} +15 -24
- package/components/pivot-table-options.config-uZDAertf.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-CcVMatYx.js → pyramid-chart-options.config-2Waxb11l.js} +29 -43
- package/components/pyramid-chart-options.config-DoGfEvzU.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-CUZn_3Fd.js → radar-chart-options.config-CPN5fOl8.js} +11 -23
- package/components/radar-chart-options.config-CtNUMN1l.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-BoLZsBry.js → regular-table-options.config-CFKCJQK1.js} +17 -23
- package/components/regular-table-options.config-YRuoijIk.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-CVTk5RVL.cjs +20 -0
- package/components/{route-map-options.config-CN86T7c0.js → route-map-options.config-CyolTJfK.js} +87 -109
- 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-D7OSvSqm.cjs +20 -0
- package/components/{sankey-diagram-options.config-tVLKy_Zn.js → sankey-diagram-options.config-Ldjk84ro.js} +7 -10
- 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-5gN7pMTm.cjs +20 -0
- package/components/{scatter-plot-options.config-Corlzno1.js → scatter-plot-options.config-CfxEfkQ1.js} +56 -86
- 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-BE3JhR-F.js → search-filter-options.config-C0syQmP4.js} +3 -6
- package/components/search-filter-options.config-Oqco9BKj.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/{set-locale-Dp3N_gXN.js → set-locale-hKTMz37h.js} +1 -8
- package/components/sized-mixin-DcvJLFeo.cjs +20 -0
- package/components/slicer-filter-options.config-CrusP6a0.cjs +20 -0
- package/components/{slicer-filter-options.config-3JZZcw5C.js → slicer-filter-options.config-DmOe3440.js} +9 -18
- 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-DH4SS8wH.js → slider-filter-options.config-B1M8RcDs.js} +1 -1
- package/components/slider-filter-options.config-k45I-t6G.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/index.js +194 -205
- 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/index.js +171 -184
- 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/index.js +97 -103
- 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-B4ceg_qI.cjs +20 -0
- package/components/{speedometer-chart-options.config-SL581yOa.js → speedometer-chart-options.config-CzOmuEF8.js} +31 -53
- 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-BkkDqb4g.cjs +20 -0
- package/components/{spike-map-options.config-C5KewecZ.js → spike-map-options.config-Cbt1YUw6.js} +91 -122
- 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-Yrxc2i57.cjs +20 -0
- package/components/{sunburst-chart-options.config-CNauGQJv.js → sunburst-chart-options.config-_dyLQxPJ.js} +9 -20
- 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-DdDA4aa7.js → symbol-map-options.config-BORL1NSU.js} +11 -20
- package/components/symbol-map-options.config-NpBKm64d.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-D5AJaF_u.js → treemap-chart-options.config-B9i9qIm_.js} +20 -37
- package/components/treemap-chart-options.config-x4J54WSw.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/utils.js +94 -97
- 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-B0asgYt8.cjs +20 -0
- package/components/{video-options.config-Dk36zJ1B.js → video-options.config-UX-9MDfS.js} +7 -10
- 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 +209 -0
- package/components/viz-item-menu/viz-item-menu.d.ts +77 -0
- package/components/wordcloud-chart-options.config-BKtJT8Va.cjs +20 -0
- package/components/{wordcloud-chart-options.config-w2NUIWVA.js → wordcloud-chart-options.config-BoB_KuhA.js} +4 -7
- 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 +43 -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/calculate-data-item-icon-DjlZwMdO.js +0 -147
- package/components/en-BOTjhwEc.js +0 -1488
- package/components/helpers-v1bPALRP.js +0 -91
- package/components/index-CDi4fe3N.js +0 -1716
- package/components/widget-menu/index.js +0 -213
|
@@ -19,29 +19,28 @@
|
|
|
19
19
|
* */
|
|
20
20
|
var s = Object.getPrototypeOf;
|
|
21
21
|
var d = Reflect.get;
|
|
22
|
-
var c = (
|
|
22
|
+
var c = (t, e, m) => d(s(t), m, e);
|
|
23
23
|
import "@luzmo/lucero/multi-language-field";
|
|
24
24
|
import { html as z } from "lit";
|
|
25
25
|
import { property as r, query as g } from "lit/decorators.js";
|
|
26
|
-
import { L as f } from "../edit-option-base-
|
|
26
|
+
import { L as f } from "../edit-option-base-Bh29-Cak.js";
|
|
27
27
|
(function() {
|
|
28
28
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
29
|
-
const
|
|
30
|
-
|
|
29
|
+
const e = document.createElement("style");
|
|
30
|
+
e.setAttribute("data-luzmo-vars", ""), e.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(e);
|
|
31
31
|
}
|
|
32
32
|
})();
|
|
33
|
-
var p = Object.defineProperty, l = (
|
|
34
|
-
for (var
|
|
35
|
-
(n =
|
|
36
|
-
return
|
|
33
|
+
var p = Object.defineProperty, l = (t, e, m, b) => {
|
|
34
|
+
for (var u = void 0, a = t.length - 1, n; a >= 0; a--)
|
|
35
|
+
(n = t[a]) && (u = n(e, m, u) || u);
|
|
36
|
+
return u && p(e, m, u), u;
|
|
37
37
|
};
|
|
38
|
-
const
|
|
38
|
+
const i = class i extends f {
|
|
39
39
|
constructor() {
|
|
40
40
|
super(...arguments), this.value = {}, this.invalid = !1, this.readonly = !1, this.language = "en", this.debounce = 200;
|
|
41
41
|
}
|
|
42
42
|
_handleEvent() {
|
|
43
43
|
this.debounceTimeout && clearTimeout(this.debounceTimeout), this.debounceTimeout = setTimeout(() => {
|
|
44
|
-
var o, u;
|
|
45
44
|
this.dispatchEvent(
|
|
46
45
|
new CustomEvent("option-changed", {
|
|
47
46
|
bubbles: !0,
|
|
@@ -49,19 +48,19 @@ const m = class m extends f {
|
|
|
49
48
|
cancelable: !0,
|
|
50
49
|
detail: {
|
|
51
50
|
value: typeof this.toValue == "function" ? this.toValue(
|
|
52
|
-
|
|
51
|
+
this.multiLangFieldElement?.value ?? {},
|
|
53
52
|
this.language ?? "en"
|
|
54
|
-
) :
|
|
53
|
+
) : this.multiLangFieldElement?.value ?? {}
|
|
55
54
|
}
|
|
56
55
|
})
|
|
57
56
|
);
|
|
58
57
|
}, this.debounce ?? 200);
|
|
59
58
|
}
|
|
60
59
|
renderController() {
|
|
61
|
-
const
|
|
60
|
+
const e = typeof this.parseValue == "function" ? this.parseValue(this.value, this.language ?? "en") : this.value;
|
|
62
61
|
return z`
|
|
63
62
|
<luzmo-multi-language-field
|
|
64
|
-
.value=${
|
|
63
|
+
.value=${e}
|
|
65
64
|
.language=${this.language ?? "en"}
|
|
66
65
|
.disabled=${this.disabled}
|
|
67
66
|
.size=${this.size}
|
|
@@ -73,39 +72,39 @@ const m = class m extends f {
|
|
|
73
72
|
`;
|
|
74
73
|
}
|
|
75
74
|
};
|
|
76
|
-
|
|
77
|
-
let
|
|
75
|
+
i.styles = [c(i, i, "styles")];
|
|
76
|
+
let o = i;
|
|
78
77
|
l([
|
|
79
78
|
r({ type: Object, reflect: !0 })
|
|
80
|
-
],
|
|
79
|
+
], o.prototype, "value");
|
|
81
80
|
l([
|
|
82
81
|
r({ type: Boolean, reflect: !0 })
|
|
83
|
-
],
|
|
82
|
+
], o.prototype, "invalid");
|
|
84
83
|
l([
|
|
85
84
|
r({ type: Boolean, reflect: !0 })
|
|
86
|
-
],
|
|
85
|
+
], o.prototype, "readonly");
|
|
87
86
|
l([
|
|
88
87
|
r({ type: String, reflect: !0 })
|
|
89
|
-
],
|
|
88
|
+
], o.prototype, "language");
|
|
90
89
|
l([
|
|
91
90
|
r({ type: Object, reflect: !0 })
|
|
92
|
-
],
|
|
91
|
+
], o.prototype, "placeholder");
|
|
93
92
|
l([
|
|
94
93
|
r()
|
|
95
|
-
],
|
|
94
|
+
], o.prototype, "parseValue");
|
|
96
95
|
l([
|
|
97
96
|
r()
|
|
98
|
-
],
|
|
97
|
+
], o.prototype, "toValue");
|
|
99
98
|
l([
|
|
100
99
|
r({ type: Number, reflect: !0 })
|
|
101
|
-
],
|
|
100
|
+
], o.prototype, "debounce");
|
|
102
101
|
l([
|
|
103
102
|
g("luzmo-multi-language-field")
|
|
104
|
-
],
|
|
103
|
+
], o.prototype, "multiLangFieldElement");
|
|
105
104
|
customElements.get("luzmo-edit-option-multi-language-field") || customElements.define(
|
|
106
105
|
"luzmo-edit-option-multi-language-field",
|
|
107
|
-
|
|
106
|
+
o
|
|
108
107
|
);
|
|
109
108
|
export {
|
|
110
|
-
|
|
109
|
+
o as LuzmoEditOptionMultiLangField
|
|
111
110
|
};
|
|
@@ -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,4 +1,23 @@
|
|
|
1
|
-
|
|
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 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-tFr8Qg2B.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"}"
|
|
4
23
|
value=${d.ifDefined(i??o)}
|
|
@@ -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';
|
|
@@ -24,7 +24,7 @@ import "@luzmo/lucero/number-field";
|
|
|
24
24
|
import { html as p } from "lit";
|
|
25
25
|
import { property as l, query as f } from "lit/decorators.js";
|
|
26
26
|
import { ifDefined as s } from "lit/directives/if-defined.js";
|
|
27
|
-
import { L as b } from "../edit-option-base-
|
|
27
|
+
import { L as b } from "../edit-option-base-Bh29-Cak.js";
|
|
28
28
|
(function() {
|
|
29
29
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
30
30
|
const r = document.createElement("style");
|
|
@@ -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,10 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 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 p=require("lit"),s=require("lit/decorators.js"),m=require("../edit-option-base-tFr8Qg2B.cjs");var y=Object.defineProperty,l=(i,e,r,f)=>{for(var a=void 0,u=i.length-1,n;u>=0;u--)(n=i[u])&&(a=n(e,r,a)||a);return a&&y(e,r,a),a};const o=class o 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 p.html`
|
|
21
|
+
${Object.entries(this.values).map(([e,r])=>p.html`
|
|
3
22
|
<luzmo-menu-item value=${e}> ${r} </luzmo-menu-item>
|
|
4
23
|
`)}
|
|
5
|
-
`}renderController(){const e=typeof this.parseValue=="function"?this.parseValue(this.value):this.value,r=typeof this.parseValue=="function"?this.parseValue(this.default):this.default;return
|
|
24
|
+
`}renderController(){const e=typeof this.parseValue=="function"?this.parseValue(this.value):this.value,r=typeof this.parseValue=="function"?this.parseValue(this.default):this.default;return p.html`
|
|
6
25
|
<luzmo-picker
|
|
7
|
-
.value=${e
|
|
26
|
+
.value=${e?.length?e:r??""}
|
|
8
27
|
.size=${this.size}
|
|
9
28
|
variant="highlight"
|
|
10
29
|
.placement=${this.placement}
|
|
@@ -13,4 +32,4 @@
|
|
|
13
32
|
>
|
|
14
33
|
${this.generateMenuItems()}
|
|
15
34
|
</luzmo-picker>
|
|
16
|
-
`}};
|
|
35
|
+
`}};o.styles=[h(o,o,"styles")];let t=o;l([s.property({type:Object})],t.prototype,"values");l([s.property({type:Boolean,reflect:!0})],t.prototype,"disabled");l([s.property()],t.prototype,"placement");l([s.property({type:String,reflect:!0})],t.prototype,"value");l([s.property()],t.prototype,"parseValue");l([s.property()],t.prototype,"toValue");l([s.property({type:String})],t.prototype,"default");customElements.get("luzmo-edit-option-picker")||customElements.define("luzmo-edit-option-picker",t);exports.LuzmoEditOptionPicker=t;
|
|
@@ -24,7 +24,7 @@ import "@luzmo/lucero/menu";
|
|
|
24
24
|
import "@luzmo/lucero/picker";
|
|
25
25
|
import { html as n } from "lit";
|
|
26
26
|
import { property as r } from "lit/decorators.js";
|
|
27
|
-
import { L as p } from "../edit-option-base-
|
|
27
|
+
import { L as p } from "../edit-option-base-Bh29-Cak.js";
|
|
28
28
|
(function() {
|
|
29
29
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
30
30
|
const o = document.createElement("style");
|
|
@@ -32,11 +32,11 @@ import { L as p } from "../edit-option-base-DIc7iC-b.js";
|
|
|
32
32
|
}
|
|
33
33
|
})();
|
|
34
34
|
var f = Object.defineProperty, t = (m, o, l, b) => {
|
|
35
|
-
for (var u = void 0,
|
|
36
|
-
(c = m[
|
|
35
|
+
for (var u = void 0, i = m.length - 1, c; i >= 0; i--)
|
|
36
|
+
(c = m[i]) && (u = c(o, l, u) || u);
|
|
37
37
|
return u && f(o, l, u), u;
|
|
38
38
|
};
|
|
39
|
-
const
|
|
39
|
+
const a = class a extends p {
|
|
40
40
|
constructor() {
|
|
41
41
|
super(...arguments), this.values = {}, this.disabled = !1, this.placement = "bottom-end";
|
|
42
42
|
}
|
|
@@ -65,7 +65,7 @@ const i = class i extends p {
|
|
|
65
65
|
const o = typeof this.parseValue == "function" ? this.parseValue(this.value) : this.value, l = typeof this.parseValue == "function" ? this.parseValue(this.default) : this.default;
|
|
66
66
|
return n`
|
|
67
67
|
<luzmo-picker
|
|
68
|
-
.value=${o
|
|
68
|
+
.value=${o?.length ? o : l ?? ""}
|
|
69
69
|
.size=${this.size}
|
|
70
70
|
variant="highlight"
|
|
71
71
|
.placement=${this.placement}
|
|
@@ -77,8 +77,8 @@ const i = class i extends p {
|
|
|
77
77
|
`;
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
|
-
|
|
81
|
-
let e =
|
|
80
|
+
a.styles = [s(a, a, "styles")];
|
|
81
|
+
let e = a;
|
|
82
82
|
t([
|
|
83
83
|
r({ type: Object })
|
|
84
84
|
], e.prototype, "values");
|
|
@@ -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 m=Object.getPrototypeOf;var h=Reflect.get;var c=(e,i,o)=>h(m(e),o,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@luzmo/lucero/text-field");const a=require("lit"),d=require("lit/decorators.js"),k=require("../edit-option-base-tFr8Qg2B.cjs"),v=":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 b=Object.defineProperty,n=(e,i,o,z)=>{for(var r=void 0,s=e.length-1,l;s>=0;s--)(l=e[s])&&(r=l(i,o,r)||r);return r&&b(i,o,r),r};const g=["topLeft","top","topRight","left","center","right","bottomLeft","bottom","bottomRight"],u=g.filter(e=>e!=="center"),p=class p extends k.LuzmoEditOptionBase{constructor(){super(...arguments),this.default="topRight",this.positions=u,this.readonly=!1}_handleEvent(){this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this.value}}))}_handleClick(i){this.positions?.includes(i)&&(this.value=i,this._handleEvent())}willUpdate(){this.value=this.value??this.default??"topRight",this.positions=this.positions??u}renderController(){const i=g.map(o=>a.html`
|
|
21
|
+
<div
|
|
22
|
+
class="position-item ${this.positions?.includes(o)?"position-item-allowed":"position-item-not-allowed"} ${this.value===o?"selected":""}"
|
|
23
|
+
@click=${this._handleClick.bind(this,o)}
|
|
24
|
+
></div>
|
|
25
|
+
`);return a.html` <div class="position-grid">${i}</div> `}};p.styles=[c(p,p,"styles"),a.unsafeCSS(v)];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';
|
|
@@ -17,26 +17,26 @@
|
|
|
17
17
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
18
|
* SOFTWARE.
|
|
19
19
|
* */
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
20
|
+
var g = Object.getPrototypeOf;
|
|
21
|
+
var z = Reflect.get;
|
|
22
|
+
var u = (r, o, i) => z(g(r), i, o);
|
|
23
23
|
import "@luzmo/lucero/text-field";
|
|
24
|
-
import { unsafeCSS as
|
|
24
|
+
import { unsafeCSS as h, html as a } from "lit";
|
|
25
25
|
import { property as d } from "lit/decorators.js";
|
|
26
|
-
import { L as
|
|
26
|
+
import { L as b } from "../edit-option-base-Bh29-Cak.js";
|
|
27
27
|
(function() {
|
|
28
28
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
29
29
|
const o = document.createElement("style");
|
|
30
30
|
o.setAttribute("data-luzmo-vars", ""), o.textContent = 'html{--luzmo-animation-duration: 0.15s;--luzmo-border-color: rgba(var(--luzmo-border-color-rgb), 0.1);--luzmo-border-color-hover: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-down: rgba(var(--luzmo-border-color-rgb), 0.3);--luzmo-border-color-focus: rgba(var(--luzmo-border-color-rgb), 0.15);--luzmo-border-color-rgb: 0, 0, 0;--luzmo-border-color-full: rgb(180, 180, 180);--luzmo-border-color-full-hover: rgb(140, 140, 140);--luzmo-border-color-full-down: rgb(110, 110, 110);--luzmo-border-color-full-focus: rgb(140, 140, 140);--luzmo-border-color-disabled: #dddddd;--luzmo-border-radius: 6px;--luzmo-border-radius-s: 4px;--luzmo-border-radius-l: 8px;--luzmo-border-radius-xl: 12px;--luzmo-border-radius-full: 999rem;--luzmo-background-color: #ffffff;--luzmo-background-color-rgb: 255, 255, 255;--luzmo-background-color-disabled: #eeeeee;--luzmo-background-color-hover: #f0f0fc;--luzmo-background-color-down: #f1f1ff;--luzmo-background-color-focus: #f0f0fc;--luzmo-background-color-highlight: rgb(240, 240, 240);--luzmo-background-color-highlight-disabled: rgb(245, 245, 245);--luzmo-background-color-highlight-hover: rgb(225, 225, 225);--luzmo-background-color-highlight-down: rgb(215, 215, 215);--luzmo-background-color-highlight-focus: rgb(225, 225, 225);--luzmo-background-color-alt-1: rgb(250, 250, 250);--luzmo-background-color-alt-2: rgb(239, 239, 239);--luzmo-border-width: 1px;--luzmo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;--luzmo-font-size-xs: 10px;--luzmo-font-size-s: 12px;--luzmo-font-size-m: 14px;--luzmo-font-size: 14px;--luzmo-font-size-l: 16px;--luzmo-font-size-xl: 18px;--luzmo-font-size-xxl: 20px;--luzmo-font-style: normal;--luzmo-line-height: normal;--luzmo-font-weight: 400;--luzmo-font-weight-semibold: 500;--luzmo-font-weight-bold: 600;--luzmo-font-color: #333;--luzmo-font-color-hard: #000;--luzmo-font-color-disabled: var(--luzmo-color-disabled);--luzmo-font-color-extra-dimmed: #888;--luzmo-font-color-hover: #333;--luzmo-font-color-down: #111;--luzmo-font-color-focus: #333;--luzmo-primary: #4434ff;--luzmo-primary-hover: #4234e4;--luzmo-primary-down: #392cc7;--luzmo-primary-focus: #4234e4;--luzmo-primary-inverse-color: #ffffff;--luzmo-primary-rgb: 68, 52, 255;--luzmo-secondary: #ff00ff;--luzmo-secondary-hover: #e309e3;--luzmo-secondary-down: #c711c7;--luzmo-secondary-focus: #e309e3;--luzmo-secondary-inverse-color: #ffffff;--luzmo-secondary-rgb: 255, 0, 255;--luzmo-secondary-outline: rgba(255, 0, 255, 0.2);--luzmo-negative-color: #ca221c;--luzmo-negative-color-hover: #b3241f;--luzmo-negative-color-down: #9f231f;--luzmo-negative-color-focus: #b3241f;--luzmo-negative-color-rgb: 202, 34, 28;--luzmo-positive-color: rgb(20, 150, 101);--luzmo-positive-color-hover: rgb(17, 128, 86);--luzmo-positive-color-down: rgb(16, 105, 71);--luzmo-positive-color-focus: rgb(17, 128, 86);--luzmo-positive-color-rgb: 20, 150, 101;--luzmo-selected-color: rgb(110, 110, 110);--luzmo-selected-color-hover: rgb(70, 70, 70);--luzmo-selected-color-down: rgb(40, 40, 40);--luzmo-selected-color-focus: rgb(70, 70, 70);--luzmo-selected-color-hard: #1e1e1e;--luzmo-selected-color-hard-hover: rgb(0, 0, 0);--luzmo-selected-color-hard-down: rgb(0, 0, 0);--luzmo-selected-color-hard-focus: rgb(0, 0, 0);--luzmo-color-informative: #1a77e9;--luzmo-color-informative-rgb: 26, 119, 233;--luzmo-color-disabled: #aaaaaa;--luzmo-spacing-1: 2px;--luzmo-spacing-2: 4px;--luzmo-spacing-3: 8px;--luzmo-spacing-4: 12px;--luzmo-spacing-5: 16px;--luzmo-indicator-gap: 2px;--luzmo-indicator-width: 1px;--luzmo-indicator-color: var(--luzmo-primary);--luzmo-component-height-xxs: 20px;--luzmo-component-height-xs: 24px;--luzmo-component-height-s: 28px;--luzmo-component-height: 32px;--luzmo-component-height-l: 40px;--luzmo-component-height-xl: 48px;--luzmo-component-height-xxl: 64px;--luzmo-icon-size-xxs: 12px;--luzmo-icon-size-xs: 14px;--luzmo-icon-size-s: 16px;--luzmo-icon-size-m: 18px;--luzmo-icon-size-l: 20px;--luzmo-icon-size-xl: 22px;--luzmo-icon-size-xxl: 32px}', document.head.appendChild(o);
|
|
31
31
|
}
|
|
32
32
|
})();
|
|
33
|
-
const
|
|
34
|
-
var
|
|
35
|
-
for (var t = void 0,
|
|
36
|
-
(
|
|
37
|
-
return t &&
|
|
33
|
+
const f = ":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}";
|
|
34
|
+
var v = Object.defineProperty, n = (r, o, i, k) => {
|
|
35
|
+
for (var t = void 0, p = r.length - 1, s; p >= 0; p--)
|
|
36
|
+
(s = r[p]) && (t = s(o, i, t) || t);
|
|
37
|
+
return t && v(o, i, t), t;
|
|
38
38
|
};
|
|
39
|
-
const
|
|
39
|
+
const m = [
|
|
40
40
|
"topLeft",
|
|
41
41
|
"top",
|
|
42
42
|
"topRight",
|
|
@@ -46,9 +46,9 @@ const g = [
|
|
|
46
46
|
"bottomLeft",
|
|
47
47
|
"bottom",
|
|
48
48
|
"bottomRight"
|
|
49
|
-
],
|
|
49
|
+
], c = m.filter((r) => r !== "center"), l = class l extends b {
|
|
50
50
|
constructor() {
|
|
51
|
-
super(...arguments), this.default = "topRight", this.positions =
|
|
51
|
+
super(...arguments), this.default = "topRight", this.positions = c, this.readonly = !1;
|
|
52
52
|
}
|
|
53
53
|
_handleEvent() {
|
|
54
54
|
this.dispatchEvent(
|
|
@@ -63,29 +63,25 @@ const g = [
|
|
|
63
63
|
);
|
|
64
64
|
}
|
|
65
65
|
_handleClick(o) {
|
|
66
|
-
|
|
67
|
-
(i = this.positions) != null && i.includes(o) && (this.value = o, this._handleEvent());
|
|
66
|
+
this.positions?.includes(o) && (this.value = o, this._handleEvent());
|
|
68
67
|
}
|
|
69
68
|
willUpdate() {
|
|
70
|
-
this.value = this.value ?? this.default ?? "topRight", this.positions = this.positions ??
|
|
69
|
+
this.value = this.value ?? this.default ?? "topRight", this.positions = this.positions ?? c;
|
|
71
70
|
}
|
|
72
71
|
// TODO add keyboard navigation & focusable & aria-labels
|
|
73
72
|
renderController() {
|
|
74
|
-
const o =
|
|
75
|
-
(i) =>
|
|
76
|
-
var p;
|
|
77
|
-
return c`
|
|
73
|
+
const o = m.map(
|
|
74
|
+
(i) => a`
|
|
78
75
|
<div
|
|
79
|
-
class="position-item ${
|
|
76
|
+
class="position-item ${this.positions?.includes(i) ? "position-item-allowed" : "position-item-not-allowed"} ${this.value === i ? "selected" : ""}"
|
|
80
77
|
@click=${this._handleClick.bind(this, i)}
|
|
81
78
|
></div>
|
|
82
|
-
|
|
83
|
-
}
|
|
79
|
+
`
|
|
84
80
|
);
|
|
85
|
-
return
|
|
81
|
+
return a` <div class="position-grid">${o}</div> `;
|
|
86
82
|
}
|
|
87
83
|
};
|
|
88
|
-
l.styles = [
|
|
84
|
+
l.styles = [u(l, l, "styles"), h(f)];
|
|
89
85
|
let e = l;
|
|
90
86
|
n([
|
|
91
87
|
d({ type: String, reflect: !0 })
|
|
@@ -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 h=require("@luzmo/icons");require("@luzmo/lucero/number-field");const u=require("lit"),s=require("lit/decorators.js"),m=require("../edit-option-base-tFr8Qg2B.cjs"),f=":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 y=Object.defineProperty,r=(c,t,o,e)=>{for(var i=void 0,l=c.length-1,a;l>=0;l--)(a=c[l])&&(i=a(t,o,i)||i);return i&&y(t,o,i),i};class n extends m.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[u.unsafeCSS(f)]}_calculateSyncedValue(){let t;const o={};return this.positions?.forEach(e=>{o[e]=this.values?.[e]??this.positionConfiguration?.[e]?.default??0,t=typeof t=="number"&&o[e]?Math.min(t,o[e]):o[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 o=t.target.getAttribute("position"),e=t.target.value;let i={};if(!(!o||typeof e!="number")){if(this.canSync&&this.sync&&o==="center"){this.syncedValue=e;for(const l of this.positions??[])i[l]=e}else i={...this.values,[o]:e};this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(()=>{const l=Object.keys(this.values??{}),a=Object.keys(i);let d=!0;l.length!==a.length&&(d=!1);for(const p of l)this.values?.[p]!==i[p]&&(d=!1);d||(this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{values:{...i}}})),this.values=i)},this.debounce??200)}}_renderNumberField(t){return this.positions?.includes(t)||t==="center"?this.canSync&&(this.sync&&t!=="center"||!this.sync&&t==="center")?u.html`<div
|
|
21
|
+
class="sync-button ${this.sync?"":"sync"}"
|
|
22
|
+
position=${t}
|
|
23
|
+
@click=${this.toggleSync}
|
|
24
|
+
>
|
|
25
|
+
${h.luzmoIcon(h.luzmoLockOutline)}
|
|
26
|
+
</div>`:!this.canSync&&!this.positions?.includes("center")&&t==="center"?u.html`<div class="no-sync-center"></div>`:u.html`<div class="position">
|
|
27
|
+
<luzmo-number-field
|
|
28
|
+
position=${t}
|
|
29
|
+
.value=${this.sync&&this.canSync?this.syncedValue??0:this.values?.[t]??this.positionConfiguration?.[t]?.default??0}
|
|
30
|
+
.disabled=${this.disabled}
|
|
31
|
+
.size=${this.size}
|
|
32
|
+
.min=${this.positionConfiguration?.[t]?.min??0}
|
|
33
|
+
.max=${this.positionConfiguration?.[t]?.max??100}
|
|
34
|
+
.step=${this.positionConfiguration?.[t]?.step??1}
|
|
35
|
+
.invalid=${this.invalid}
|
|
36
|
+
@change=${this._handleEvent}
|
|
37
|
+
@input=${this._handleEvent}
|
|
38
|
+
>
|
|
39
|
+
</luzmo-number-field>
|
|
40
|
+
</div>`:u.html`<div class="position"></div>`}firstUpdated(){if(this.canSync&&!this.positions?.includes("center")){const t=this.values?.left??this.positionConfiguration?.left?.default,o=this.values?.top??this.positionConfiguration?.top?.default,e=this.values?.right??this.positionConfiguration?.right?.default,i=this.values?.bottom??this.positionConfiguration?.bottom?.default;this.sync=t===o&&o===e&&e===i}else this.sync=!1}willUpdate(){this.positions||(this.positions=["top","right","bottom","left"])}renderController(){this._calculateSyncedValue();const t=this._positions.map(o=>{const e=o.map(i=>this._renderNumberField(i));return u.html`${e}`});return u.html`<div class="positions-container-wrapper">
|
|
41
|
+
<div class="positions-container">${t}</div>
|
|
42
|
+
</div>`}}r([s.property({type:Array,reflect:!0})],n.prototype,"positions");r([s.property({type:Object,reflect:!0})],n.prototype,"values");r([s.property({type:Boolean,reflect:!0,attribute:"can-sync"})],n.prototype,"canSync");r([s.property({type:Object})],n.prototype,"positionConfiguration");r([s.property({type:Boolean,reflect:!0})],n.prototype,"invalid");r([s.property({type:Boolean,reflect:!0})],n.prototype,"readonly");r([s.property({type:Number,reflect:!0})],n.prototype,"debounce");r([s.property({type:Boolean,reflect:!0})],n.prototype,"sync");r([s.state()],n.prototype,"syncedValue");customElements.get("luzmo-edit-option-positions-number-field")||customElements.define("luzmo-edit-option-positions-number-field",n);exports.LuzmoEditOptionPositionsNumberField=n;
|
|
@@ -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';
|