@luzmo/analytics-components-kit 1.0.1-alpha.1 → 1.0.1-alpha.11

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.
Files changed (532) hide show
  1. package/LICENSE +3 -3
  2. package/components/area-chart-slots.config-BLxiYX05.cjs +20 -0
  3. package/components/area-chart-slots.config-C0c2ZzBh.js +52 -0
  4. package/components/async-directive-DWRUSKKF-CmOVMf6V.js +152 -0
  5. package/components/async-directive-DWRUSKKF-D4itZyzc.cjs +56 -0
  6. package/components/bar-chart-slots.config-GSSL7XVA.js +47 -0
  7. package/components/bar-chart-slots.config-Jx1PveTM.cjs +20 -0
  8. package/components/bar-chart.config--VDhFN4d.cjs +20 -0
  9. package/components/bar-chart.config-BYIX4E6J.js +154 -0
  10. package/components/bar-chart.en-Crc8tYUJ.js +86 -0
  11. package/components/bar-chart.en-D1UfGsS3.cjs +20 -0
  12. package/components/bar-chart.fr-BwiGRlQf.js +86 -0
  13. package/components/bar-chart.fr-CP7DTrlk.cjs +20 -0
  14. package/components/bar-chart.nl-C9EOP2kE.js +86 -0
  15. package/components/bar-chart.nl-Cxq8ID8c.cjs +20 -0
  16. package/components/base-BjTwmyRF.cjs +24 -0
  17. package/components/base-D76d76ww-BiajPmzU.cjs +40 -0
  18. package/components/base-D76d76ww-gf0ESLsU.js +45 -0
  19. package/components/base-D76d76ww.js +28 -0
  20. package/components/box-plot-slots.config-BRhnF2FE.js +48 -0
  21. package/components/box-plot-slots.config-DZxyy3sS.cjs +20 -0
  22. package/components/bubble-chart-slots.config-Bbh94VgZ.js +46 -0
  23. package/components/bubble-chart-slots.config-BwSwgleO.cjs +20 -0
  24. package/components/bullet-chart-slots.config-Ccv_dX0s.js +45 -0
  25. package/components/bullet-chart-slots.config-CiYsxviC.cjs +20 -0
  26. package/components/button-base-B7v4eeRh-BKKUK3x0.cjs +43 -0
  27. package/components/button-base-B7v4eeRh-D3-GH03o.js +161 -0
  28. package/components/checkbox-mixin-BFGTmw17-C34LMsgu.js +88 -0
  29. package/components/checkbox-mixin-BFGTmw17-CCjGd0nS.cjs +45 -0
  30. package/components/choropleth-map-slots.config-B-uJTj4q.js +47 -0
  31. package/components/choropleth-map-slots.config-PNwSR0XY.cjs +20 -0
  32. package/components/circle-pack-chart-slots.config-C-_ganmv.cjs +20 -0
  33. package/components/circle-pack-chart-slots.config-xwVdRiwS.js +40 -0
  34. package/components/circular-gauge-slots.config-Cd-nkNPm.cjs +20 -0
  35. package/components/circular-gauge-slots.config-DA-ZAc5d.js +39 -0
  36. package/components/column-chart-slots.config-C7MhpoR8.cjs +20 -0
  37. package/components/column-chart-slots.config-DAdAk17k.js +47 -0
  38. package/components/column-chart.config-BYIX4E6J.js +154 -0
  39. package/components/column-chart.config-BmhmcBZJ.cjs +20 -0
  40. package/components/column-chart.en-Crc8tYUJ.js +86 -0
  41. package/components/column-chart.en-D1UfGsS3.cjs +20 -0
  42. package/components/column-chart.fr-BwiGRlQf.js +86 -0
  43. package/components/column-chart.fr-CP7DTrlk.cjs +20 -0
  44. package/components/column-chart.nl-C9EOP2kE.js +86 -0
  45. package/components/column-chart.nl-Cxq8ID8c.cjs +20 -0
  46. package/components/combination-chart-slots.config-CqKLFKCZ.js +45 -0
  47. package/components/combination-chart-slots.config-crMO01EO.cjs +20 -0
  48. package/components/conditional-number-slots.config-CD5ZwXuY.cjs +20 -0
  49. package/components/conditional-number-slots.config-L3t5pb1-.js +39 -0
  50. package/components/cs-DVZ0Tapy.js +89 -0
  51. package/components/cs-I9E81keK.cjs +20 -0
  52. package/components/da-DHy05oSR.js +97 -0
  53. package/components/da-QkdvupDg.cjs +20 -0
  54. package/components/date-filter-slots.config-Cb1LcT9W.cjs +20 -0
  55. package/components/date-filter-slots.config-CxB8IF5B.js +33 -0
  56. package/components/de-BaTUIQk1.js +104 -0
  57. package/components/de-DgHoh7KS.cjs +20 -0
  58. package/components/de-Dn5mUzha.cjs +20 -0
  59. package/components/de-iM39JlAt.js +109 -0
  60. package/components/decompose-numeric-format-B3rVVHpO.cjs +20 -0
  61. package/components/decompose-numeric-format-BuZcjH2k.js +39 -0
  62. package/components/directive-helpers-nlQRAaQt-3kEWF2GV.cjs +80 -0
  63. package/components/directive-helpers-nlQRAaQt-I6T4KZKW.js +115 -0
  64. package/components/display-settings/display-settings.d.ts +70 -0
  65. package/components/display-settings/index.cjs +105 -0
  66. package/components/display-settings/index.d.ts +7 -0
  67. package/components/display-settings/index.js +238 -0
  68. package/components/display-settings-binning/display-settings-binning.d.ts +33 -0
  69. package/components/display-settings-binning/index.cjs +55 -0
  70. package/components/display-settings-binning/index.d.ts +7 -0
  71. package/components/display-settings-binning/index.js +151 -0
  72. package/components/display-settings-datetime/display-settings-datetime.d.ts +85 -0
  73. package/components/display-settings-datetime/index.cjs +228 -0
  74. package/components/display-settings-datetime/index.d.ts +7 -0
  75. package/components/display-settings-datetime/index.js +535 -0
  76. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +31 -0
  77. package/components/display-settings-grand-totals/index.cjs +43 -0
  78. package/components/display-settings-grand-totals/index.d.ts +7 -0
  79. package/components/display-settings-grand-totals/index.js +126 -0
  80. package/components/display-settings-numeric/display-settings-numeric.d.ts +73 -0
  81. package/components/display-settings-numeric/helpers/constants.d.ts +18 -0
  82. package/components/display-settings-numeric/index.cjs +156 -0
  83. package/components/display-settings-numeric/index.d.ts +7 -0
  84. package/components/display-settings-numeric/index.js +477 -0
  85. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +44 -0
  86. package/components/display-settings-period-over-period/helpers/constants.d.ts +36 -0
  87. package/components/display-settings-period-over-period/index.cjs +103 -0
  88. package/components/display-settings-period-over-period/index.d.ts +7 -0
  89. package/components/display-settings-period-over-period/index.js +314 -0
  90. package/components/divider.module-DwOuLGU3-B19eHVg2.js +40 -0
  91. package/components/divider.module-DwOuLGU3-Bg8RrFkc.cjs +36 -0
  92. package/components/donut-chart-slots.config-BEwhfq27.js +39 -0
  93. package/components/donut-chart-slots.config-DIp-24lO.cjs +20 -0
  94. package/components/donut-chart.config-3DhKiSSM.js +177 -0
  95. package/components/donut-chart.config-DLWJUlHx.cjs +20 -0
  96. package/components/donut-chart.en-CrUf4CJ9.js +99 -0
  97. package/components/donut-chart.en-DHCYs2el.cjs +20 -0
  98. package/components/donut-chart.fr-C33dLw52.cjs +20 -0
  99. package/components/donut-chart.fr-DVfZwZny.js +99 -0
  100. package/components/donut-chart.nl-B13jr7SK.js +99 -0
  101. package/components/donut-chart.nl-CHAnU1xZ.cjs +20 -0
  102. package/components/draggable-data-item/draggable-data-item.d.ts +26 -0
  103. package/components/draggable-data-item/index.cjs +55 -0
  104. package/components/draggable-data-item/index.d.ts +7 -0
  105. package/components/draggable-data-item/index.js +135 -0
  106. package/components/draggable-data-item-level/draggable-data-item-level.d.ts +29 -0
  107. package/components/draggable-data-item-level/helpers/calculate-type-icon.d.ts +2 -0
  108. package/components/draggable-data-item-level/helpers/generate-preview.d.ts +1 -0
  109. package/components/draggable-data-item-level/index.cjs +36 -0
  110. package/components/draggable-data-item-level/index.d.ts +7 -0
  111. package/components/draggable-data-item-level/index.js +293 -0
  112. package/components/dropdown-filter-slots.config-B8J6ftCh.js +46 -0
  113. package/components/dropdown-filter-slots.config-I2n4b_6V.cjs +20 -0
  114. package/components/droppable-slot/droppable-slot.d.ts +49 -0
  115. package/components/droppable-slot/index.cjs +69 -0
  116. package/components/droppable-slot/index.d.ts +7 -0
  117. package/components/droppable-slot/index.js +307 -0
  118. package/components/droppable-slot/item-slots-configs/area-chart-slots.config.d.ts +44 -0
  119. package/components/droppable-slot/item-slots-configs/bar-chart-slots.config.d.ts +24 -0
  120. package/components/droppable-slot/item-slots-configs/box-plot-slots.config.d.ts +26 -0
  121. package/components/droppable-slot/item-slots-configs/bubble-chart-slots.config.d.ts +30 -0
  122. package/components/droppable-slot/item-slots-configs/bullet-chart-slots.config.d.ts +18 -0
  123. package/components/droppable-slot/item-slots-configs/choropleth-map-slots.config.d.ts +29 -0
  124. package/components/droppable-slot/item-slots-configs/circle-pack-chart-slots.config.d.ts +22 -0
  125. package/components/droppable-slot/item-slots-configs/circular-gauge-slots.config.d.ts +16 -0
  126. package/components/droppable-slot/item-slots-configs/column-chart-slots.config.d.ts +24 -0
  127. package/components/droppable-slot/item-slots-configs/combination-chart-slots.config.d.ts +30 -0
  128. package/components/droppable-slot/item-slots-configs/conditional-number-slots.config.d.ts +16 -0
  129. package/components/droppable-slot/item-slots-configs/date-filter-slots.config.d.ts +10 -0
  130. package/components/droppable-slot/item-slots-configs/donut-chart-slots.config.d.ts +20 -0
  131. package/components/droppable-slot/item-slots-configs/dropdown-filter-slots.config.d.ts +23 -0
  132. package/components/droppable-slot/item-slots-configs/evolution-number-slots.config.d.ts +18 -0
  133. package/components/droppable-slot/item-slots-configs/funnel-chart-slots.config.d.ts +22 -0
  134. package/components/droppable-slot/item-slots-configs/heat-map-slots.config.d.ts +18 -0
  135. package/components/droppable-slot/item-slots-configs/heat-table-slots.config.d.ts +20 -0
  136. package/components/droppable-slot/item-slots-configs/hexbin-map-slots.config.d.ts +18 -0
  137. package/components/droppable-slot/item-slots-configs/image-slots.config.d.ts +2 -0
  138. package/components/droppable-slot/item-slots-configs/index.d.ts +44 -0
  139. package/components/droppable-slot/item-slots-configs/line-chart-slots.config.d.ts +44 -0
  140. package/components/droppable-slot/item-slots-configs/marker-map-slots.config.d.ts +18 -0
  141. package/components/droppable-slot/item-slots-configs/ohlc-chart-slots.config.d.ts +21 -0
  142. package/components/droppable-slot/item-slots-configs/parallel-coordinates-plot-slots.config.d.ts +23 -0
  143. package/components/droppable-slot/item-slots-configs/pivot-table-slots.config.d.ts +21 -0
  144. package/components/droppable-slot/item-slots-configs/pyramid-chart-slots.config.d.ts +33 -0
  145. package/components/droppable-slot/item-slots-configs/radar-chart-slots.config.d.ts +33 -0
  146. package/components/droppable-slot/item-slots-configs/regular-table-slots.config.d.ts +13 -0
  147. package/components/droppable-slot/item-slots-configs/route-map-slots.config.d.ts +28 -0
  148. package/components/droppable-slot/item-slots-configs/sankey-diagram-slots.config.d.ts +33 -0
  149. package/components/droppable-slot/item-slots-configs/scatter-plot-slots.config.d.ts +50 -0
  150. package/components/droppable-slot/item-slots-configs/search-filter-slots.config.d.ts +24 -0
  151. package/components/droppable-slot/item-slots-configs/slicer-filter-slots.config.d.ts +23 -0
  152. package/components/droppable-slot/item-slots-configs/slider-filter-slots.config.d.ts +13 -0
  153. package/components/droppable-slot/item-slots-configs/slot-labels.const.d.ts +8 -0
  154. package/components/droppable-slot/item-slots-configs/speedometer-chart-slots.config.d.ts +16 -0
  155. package/components/droppable-slot/item-slots-configs/spike-map-slots.config.d.ts +31 -0
  156. package/components/droppable-slot/item-slots-configs/strip-plot-slots.config.d.ts +22 -0
  157. package/components/droppable-slot/item-slots-configs/sunburst-chart-slots.config.d.ts +22 -0
  158. package/components/droppable-slot/item-slots-configs/symbol-map-slots.config.d.ts +31 -0
  159. package/components/droppable-slot/item-slots-configs/text-slots.config.d.ts +2 -0
  160. package/components/droppable-slot/item-slots-configs/treemap-chart-slots.config.d.ts +30 -0
  161. package/components/droppable-slot/item-slots-configs/venn-diagram-slots.config.d.ts +18 -0
  162. package/components/droppable-slot/item-slots-configs/video-slots.config.d.ts +2 -0
  163. package/components/droppable-slot/item-slots-configs/wordcloud-chart-slots.config.d.ts +23 -0
  164. package/components/edit-item/edit-item.d.ts +50 -0
  165. package/components/edit-item/index.cjs +88 -0
  166. package/components/edit-item/index.d.ts +7 -0
  167. package/components/edit-item/index.js +348 -0
  168. package/components/edit-option/edit-option.d.ts +22 -0
  169. package/components/edit-option/helpers/control-markup.d.ts +14 -0
  170. package/components/edit-option/helpers/control-templates/action-button-group-template.d.ts +2 -0
  171. package/components/edit-option/helpers/control-templates/color-picker-template.d.ts +2 -0
  172. package/components/edit-option/helpers/control-templates/multi-language-field-template.d.ts +8 -0
  173. package/components/edit-option/helpers/control-templates/number-field-template.d.ts +2 -0
  174. package/components/edit-option/helpers/control-templates/picker-template.d.ts +2 -0
  175. package/components/edit-option/helpers/control-templates/position-picker-template.d.ts +2 -0
  176. package/components/edit-option/helpers/control-templates/positions-number-field-template.d.ts +2 -0
  177. package/components/edit-option/helpers/control-templates/radio-button-group.d.ts +2 -0
  178. package/components/edit-option/helpers/control-templates/slider-template.d.ts +2 -0
  179. package/components/edit-option/helpers/control-templates/switch-template.d.ts +2 -0
  180. package/components/edit-option/helpers/control-templates/text-field-template.d.ts +7 -0
  181. package/components/edit-option/helpers/generate-callback.d.ts +1 -0
  182. package/components/edit-option/helpers/get-control-by-key.d.ts +1 -0
  183. package/components/edit-option/helpers/get-extra-label-values.d.ts +7 -0
  184. package/components/edit-option/helpers/get-value-by-key.d.ts +1 -0
  185. package/components/edit-option/index.cjs +187 -0
  186. package/components/edit-option/index.d.ts +7 -0
  187. package/components/edit-option/index.js +543 -0
  188. package/components/edit-option/item-configs/bar-chart.config.d.ts +108 -0
  189. package/components/edit-option/item-configs/column-chart.config.d.ts +108 -0
  190. package/components/edit-option/item-configs/donut-chart.config.d.ts +102 -0
  191. package/components/edit-option/item-configs/imageobject.config.d.ts +126 -0
  192. package/components/edit-option/item-configs/line-chart.config.d.ts +130 -0
  193. package/components/edit-option/item-configs/spacer.config.d.ts +2 -0
  194. package/components/edit-option/item-configs/textobject.config.d.ts +45 -0
  195. package/components/edit-option/item-configs/videoobject.config.d.ts +90 -0
  196. package/components/edit-option/item-translations/bar-chart.en.d.ts +65 -0
  197. package/components/edit-option/item-translations/bar-chart.fr.d.ts +65 -0
  198. package/components/edit-option/item-translations/bar-chart.nl.d.ts +65 -0
  199. package/components/edit-option/item-translations/column-chart.en.d.ts +65 -0
  200. package/components/edit-option/item-translations/column-chart.fr.d.ts +65 -0
  201. package/components/edit-option/item-translations/column-chart.nl.d.ts +65 -0
  202. package/components/edit-option/item-translations/donut-chart.en.d.ts +78 -0
  203. package/components/edit-option/item-translations/donut-chart.fr.d.ts +78 -0
  204. package/components/edit-option/item-translations/donut-chart.nl.d.ts +78 -0
  205. package/components/edit-option/item-translations/imageobject.en.d.ts +71 -0
  206. package/components/edit-option/item-translations/imageobject.fr.d.ts +71 -0
  207. package/components/edit-option/item-translations/imageobject.nl.d.ts +71 -0
  208. package/components/edit-option/item-translations/textobject.en.d.ts +17 -0
  209. package/components/edit-option/item-translations/textobject.fr.d.ts +17 -0
  210. package/components/edit-option/item-translations/textobject.nl.d.ts +17 -0
  211. package/components/edit-option-action-button-group/edit-option-action-button-group.d.ts +27 -0
  212. package/components/edit-option-action-button-group/index.cjs +51 -0
  213. package/components/edit-option-action-button-group/index.d.ts +7 -0
  214. package/components/edit-option-action-button-group/index.js +151 -0
  215. package/components/edit-option-base/edit-option-base.d.ts +22 -0
  216. package/components/edit-option-base-Boz7TNRZ.cjs +53 -0
  217. package/components/edit-option-base-qePiIQWd.js +120 -0
  218. package/components/edit-option-color-picker/edit-option-color-picker.d.ts +23 -0
  219. package/components/edit-option-color-picker/index.cjs +472 -0
  220. package/components/edit-option-color-picker/index.d.ts +7 -0
  221. package/components/edit-option-color-picker/index.js +2553 -0
  222. package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +17 -0
  223. package/components/edit-option-multi-language-field/index.cjs +31 -0
  224. package/components/edit-option-multi-language-field/index.d.ts +7 -0
  225. package/components/edit-option-multi-language-field/index.js +112 -0
  226. package/components/edit-option-number-field/edit-option-number-field.d.ts +19 -0
  227. package/components/edit-option-number-field/index.cjs +32 -0
  228. package/components/edit-option-number-field/index.d.ts +7 -0
  229. package/components/edit-option-number-field/index.js +115 -0
  230. package/components/edit-option-picker/edit-option-picker.d.ts +22 -0
  231. package/components/edit-option-picker/index.cjs +35 -0
  232. package/components/edit-option-picker/index.d.ts +7 -0
  233. package/components/edit-option-picker/index.js +106 -0
  234. package/components/edit-option-position-picker/edit-option-position-picker.d.ts +13 -0
  235. package/components/edit-option-position-picker/index.cjs +25 -0
  236. package/components/edit-option-position-picker/index.d.ts +7 -0
  237. package/components/edit-option-position-picker/index.js +110 -0
  238. package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +30 -0
  239. package/components/edit-option-positions-number-field/index.cjs +42 -0
  240. package/components/edit-option-positions-number-field/index.d.ts +7 -0
  241. package/components/edit-option-positions-number-field/index.js +179 -0
  242. package/components/edit-option-radio-button-group/edit-option-radio-button-group.d.ts +18 -0
  243. package/components/edit-option-radio-button-group/index.cjs +36 -0
  244. package/components/edit-option-radio-button-group/index.d.ts +7 -0
  245. package/components/edit-option-radio-button-group/index.js +113 -0
  246. package/components/edit-option-slider/edit-option-slider.d.ts +15 -0
  247. package/components/edit-option-slider/index.cjs +48 -0
  248. package/components/edit-option-slider/index.d.ts +7 -0
  249. package/components/edit-option-slider/index.js +1253 -0
  250. package/components/edit-option-switch/edit-option-switch.d.ts +11 -0
  251. package/components/edit-option-switch/index.cjs +50 -0
  252. package/components/edit-option-switch/index.d.ts +7 -0
  253. package/components/edit-option-switch/index.js +171 -0
  254. package/components/edit-option-text-field/edit-option-text-field.d.ts +15 -0
  255. package/components/edit-option-text-field/index.cjs +31 -0
  256. package/components/edit-option-text-field/index.d.ts +7 -0
  257. package/components/edit-option-text-field/index.js +100 -0
  258. package/components/element-resolution-FCUT-wql--7ctE626.js +163 -0
  259. package/components/element-resolution-FCUT-wql-DSTvdyds.cjs +68 -0
  260. package/components/en-BnVnZvpC.cjs +20 -0
  261. package/components/en-DlRadzUI.js +1487 -0
  262. package/components/en-GB-C9t4MSgD.js +28 -0
  263. package/components/en-GB-D5Tvhki6.cjs +20 -0
  264. package/components/es-ByW01bzN.cjs +20 -0
  265. package/components/es-CwyPlN5d.cjs +20 -0
  266. package/components/es-D37mTCZB.js +104 -0
  267. package/components/es-KhTq4jX8.js +305 -0
  268. package/components/evolution-number-slots.config-BI-sFIug.cjs +20 -0
  269. package/components/evolution-number-slots.config-CW21b2ua.js +39 -0
  270. package/components/fi-Dh_ebgpe.js +97 -0
  271. package/components/fi-rijeZE5V.cjs +20 -0
  272. package/components/focus-group-DHeTq18L-C9l9oHwM.cjs +36 -0
  273. package/components/focus-group-DHeTq18L-rNUu13eb.js +237 -0
  274. package/components/fr-BWJHvkss.js +104 -0
  275. package/components/fr-BcgE-6S_.cjs +20 -0
  276. package/components/fr-CU727YF1.js +305 -0
  277. package/components/fr-DnFUAglm.cjs +20 -0
  278. package/components/funnel-chart-slots.config-BBhMS2qi.js +40 -0
  279. package/components/funnel-chart-slots.config-WrokHS7f.cjs +20 -0
  280. package/components/get-css-variable-Bhbr-Kr1.js +1413 -0
  281. package/components/get-css-variable-DLiZYZEi.cjs +24 -0
  282. package/components/he-Au3xg6lR.js +89 -0
  283. package/components/he-O6Ih8Bqh.cjs +20 -0
  284. package/components/heat-map-slots.config-CSxSsQwX.cjs +20 -0
  285. package/components/heat-map-slots.config-cdD8XTmI.js +39 -0
  286. package/components/heat-table-slots.config-DJkP72oT.js +48 -0
  287. package/components/heat-table-slots.config-GGX3BCh1.cjs +20 -0
  288. package/components/hexbin-map-slots.config-CSxSsQwX.cjs +20 -0
  289. package/components/hexbin-map-slots.config-cdD8XTmI.js +39 -0
  290. package/components/hu-BnZ8y3xQ.cjs +20 -0
  291. package/components/hu-DNJ-P_MW.js +97 -0
  292. package/components/if-defined-8BOch-oC.cjs +24 -0
  293. package/components/if-defined-BSAr_4u4-4Ys8VE7T.js +95 -0
  294. package/components/if-defined-BSAr_4u4-gECNwmTC.cjs +60 -0
  295. package/components/if-defined-Bv6MRdSW.js +29 -0
  296. package/components/image-slots.config-IpwUxDyU.js +23 -0
  297. package/components/image-slots.config-mPXMR1CE.cjs +20 -0
  298. package/components/imageobject.config-CBfeq5Zw.js +127 -0
  299. package/components/imageobject.config-Dqhc2c3b.cjs +20 -0
  300. package/components/imageobject.en-BMmV-4O-.js +92 -0
  301. package/components/imageobject.en-DflcU_2H.cjs +20 -0
  302. package/components/imageobject.fr-DRE3zImB.js +92 -0
  303. package/components/imageobject.fr-ycH7UoX5.cjs +20 -0
  304. package/components/imageobject.nl-D20hki6i.js +92 -0
  305. package/components/imageobject.nl-DQL45o0j.cjs +20 -0
  306. package/components/index-86cIx1Ql.cjs +57 -0
  307. package/components/index-B3ve6cAj.js +810 -0
  308. package/components/index-B5Wvyv9s.js +744 -0
  309. package/components/index-BBrer3_5.js +44 -0
  310. package/components/index-BJVxTeoi.cjs +192 -0
  311. package/components/index-BUSWsm5N.js +77 -0
  312. package/components/index-BVX_ozT9.js +77 -0
  313. package/components/index-BYfDERr7.js +145 -0
  314. package/components/index-Bee1uunR.js +299 -0
  315. package/components/index-BrEDK88k.cjs +185 -0
  316. package/components/index-Bt5nP_6w.cjs +59 -0
  317. package/components/index-ByjLd3bT.cjs +95 -0
  318. package/components/index-C8IL2IZ6.js +317 -0
  319. package/components/index-CMvLpPKD-D5MpMVYZ.js +935 -0
  320. package/components/index-CMvLpPKD-Yf1PLWrj.cjs +95 -0
  321. package/components/index-CXIT0cYY.js +3171 -0
  322. package/components/index-CdCtJpK9.js +175 -0
  323. package/components/index-CdUTqQ3L.cjs +39 -0
  324. package/components/index-CdpyJ7hp.cjs +36 -0
  325. package/components/index-CfEn3fIT.js +137 -0
  326. package/components/index-D8qmoauu.cjs +36 -0
  327. package/components/index-DEVOZNSc.cjs +36 -0
  328. package/components/index-DUO13KGl.cjs +54 -0
  329. package/components/index-DVAsMiOm.js +164 -0
  330. package/components/index-DnozlYag.js +48 -0
  331. package/components/index-h9T5DPIm.cjs +36 -0
  332. package/components/index-i8GaIN7i.cjs +67 -0
  333. package/components/index-iYpAy-Kg.cjs +95 -0
  334. package/components/index-ymMEPngt.js +104 -0
  335. package/components/index-zuArOtOt.cjs +42 -0
  336. package/components/index.cjs +20 -0
  337. package/components/index.js +82 -0
  338. package/components/it-Bh5U73z6.js +305 -0
  339. package/components/it-PshtLMkq.cjs +20 -0
  340. package/components/item-list.cjs +20 -0
  341. package/components/item-list.js +423 -0
  342. package/components/item-menu/item-list/item-list.d.ts +35 -0
  343. package/components/ja-CCcHUL61.js +89 -0
  344. package/components/ja-KIS2HdaG.cjs +20 -0
  345. package/components/ko--l4qmjLV.cjs +20 -0
  346. package/components/ko-DhapsZMM.js +89 -0
  347. package/components/language-resolution-8yZa5r_P-Bn0bYosv.js +161 -0
  348. package/components/language-resolution-8yZa5r_P-FqQChUDW.cjs +52 -0
  349. package/components/line-chart-slots.config-CIfDfftd.cjs +20 -0
  350. package/components/line-chart-slots.config-P7xa-pHi.js +52 -0
  351. package/components/line-chart.config-DBw4A3Rf.js +178 -0
  352. package/components/line-chart.config-cvwDhvSq.cjs +20 -0
  353. package/components/localize-BX7q0S0M.js +52 -0
  354. package/components/localize-r7ALOUy_.cjs +20 -0
  355. package/components/luzmo-icons-BE2T8vWu.js +613 -0
  356. package/components/luzmo-icons-XsFsTAl3.cjs +31 -0
  357. package/components/marker-map-slots.config-CSxSsQwX.cjs +20 -0
  358. package/components/marker-map-slots.config-cdD8XTmI.js +39 -0
  359. package/components/mk-B9HPSuKa.js +97 -0
  360. package/components/mk-DZlj-edb.cjs +20 -0
  361. package/components/nl-BKlDqOXb.cjs +20 -0
  362. package/components/nl-BwSt5Bf4.js +109 -0
  363. package/components/nl-CWxJcTNT.js +104 -0
  364. package/components/nl-CpfDNK5c.cjs +20 -0
  365. package/components/no-D-DofYnx.js +109 -0
  366. package/components/no-D_SzxhTu.cjs +20 -0
  367. package/components/observe-slot-text-ggb4kKgY-DBVrKDBD.cjs +86 -0
  368. package/components/observe-slot-text-ggb4kKgY-o5QFWUeA.js +221 -0
  369. package/components/ohlc-chart-slots.config-Cvy5n1xv.js +64 -0
  370. package/components/ohlc-chart-slots.config-DMomcHMV.cjs +20 -0
  371. package/components/parallel-coordinates-plot-slots.config-BRXA5nUl.cjs +20 -0
  372. package/components/parallel-coordinates-plot-slots.config-CQW2CJW6.js +44 -0
  373. package/components/periods.const-CDIkC5CK.cjs +20 -0
  374. package/components/periods.const-GHh5bPfs.js +176 -0
  375. package/components/pivot-table-slots.config-BH5fOJre.js +48 -0
  376. package/components/pivot-table-slots.config-DzGWM3Ez.cjs +20 -0
  377. package/components/pl-D_L_0Boq.js +97 -0
  378. package/components/pl-PIK23rK_.cjs +20 -0
  379. package/components/popover-DlkzrLpl-BhTvuvTu.cjs +48 -0
  380. package/components/popover-DlkzrLpl-CCwcTIXr.js +86 -0
  381. package/components/property-0L4eB11h.cjs +112 -0
  382. package/components/property-B2F7x7Cz.js +1481 -0
  383. package/components/pt-B0BBS5VB.js +89 -0
  384. package/components/pt-Dqlu4MS5.cjs +20 -0
  385. package/components/pyramid-chart-slots.config-Cm9bQsXT.js +47 -0
  386. package/components/pyramid-chart-slots.config-DeWrVApy.cjs +20 -0
  387. package/components/query-D5qWDopr.cjs +24 -0
  388. package/components/query-Ddbd72Um.js +39 -0
  389. package/components/query-assigned-nodes-C76XVPWY-BcyGjObB.cjs +40 -0
  390. package/components/query-assigned-nodes-C76XVPWY-DPC6kOmH.js +55 -0
  391. package/components/radar-chart-slots.config-Dpmytmc3.js +47 -0
  392. package/components/radar-chart-slots.config-Dxx5fKnS.cjs +20 -0
  393. package/components/regular-table-slots.config-ChrvnRDb.cjs +20 -0
  394. package/components/regular-table-slots.config-EUS-V9lL.js +33 -0
  395. package/components/route-map-slots.config-BfbIWCr0.cjs +20 -0
  396. package/components/route-map-slots.config-DYCcaQZi.js +53 -0
  397. package/components/roving-tabindex-DOg4z6ZU-DmyYPRYY.cjs +36 -0
  398. package/components/roving-tabindex-DOg4z6ZU-dufnVmvL.js +85 -0
  399. package/components/ru-Vo-m3O_2.js +108 -0
  400. package/components/ru-zyNDTB04.cjs +20 -0
  401. package/components/sankey-diagram-slots.config-B7Q-ZfUP.cjs +20 -0
  402. package/components/sankey-diagram-slots.config-BSTBEZDe.js +55 -0
  403. package/components/scatter-plot-slots.config-BuWYqDWK.js +70 -0
  404. package/components/scatter-plot-slots.config-wlX_PVu8.cjs +20 -0
  405. package/components/search-filter-slots.config-DOlr8VaD.cjs +20 -0
  406. package/components/search-filter-slots.config-DmiVXOva.js +47 -0
  407. package/components/set-locale-ByIApH40.cjs +60 -0
  408. package/components/set-locale-DJYT4V7U.js +212 -0
  409. package/components/sized-mixin-BxMraZLS-B_y0PzR3.js +82 -0
  410. package/components/sized-mixin-BxMraZLS-DEFWqo8f.cjs +36 -0
  411. package/components/slicer-filter-slots.config-CHQ0ZXga.js +45 -0
  412. package/components/slicer-filter-slots.config-Dyte3aGp.cjs +20 -0
  413. package/components/slider-filter-slots.config-BN3K1rnl.js +33 -0
  414. package/components/slider-filter-slots.config-Cr5oXbok.cjs +20 -0
  415. package/components/slot-configs.cjs +20 -0
  416. package/components/slot-configs.js +109 -0
  417. package/components/slot-menu/index.cjs +55 -0
  418. package/components/slot-menu/index.d.ts +7 -0
  419. package/components/slot-menu/index.js +188 -0
  420. package/components/slot-menu/slot-menu.d.ts +66 -0
  421. package/components/slot-menu-list/index.cjs +39 -0
  422. package/components/slot-menu-list/index.d.ts +7 -0
  423. package/components/slot-menu-list/index.js +351 -0
  424. package/components/slot-menu-list/slot-menu-list.d.ts +33 -0
  425. package/components/spacer.config-Br2Dm5Uv.js +23 -0
  426. package/components/spacer.config-mPXMR1CE.cjs +20 -0
  427. package/components/speedometer-chart-slots.config-Cd-nkNPm.cjs +20 -0
  428. package/components/speedometer-chart-slots.config-DA-ZAc5d.js +39 -0
  429. package/components/spike-map-slots.config-CuqpgkvN.js +46 -0
  430. package/components/spike-map-slots.config-Drga6_j0.cjs +20 -0
  431. package/components/state-BFA93Sye.cjs +24 -0
  432. package/components/state-Joaryhrg.js +31 -0
  433. package/components/strip-plot-slots.config-Co8ghEv8.js +40 -0
  434. package/components/strip-plot-slots.config-JvkKY5Ga.cjs +20 -0
  435. package/components/sunburst-chart-slots.config-C-_ganmv.cjs +20 -0
  436. package/components/sunburst-chart-slots.config-xwVdRiwS.js +40 -0
  437. package/components/sv-1DPTltNQ.cjs +20 -0
  438. package/components/sv-CiozMaev.js +89 -0
  439. package/components/symbol-map-slots.config-C5CKaVED.js +47 -0
  440. package/components/symbol-map-slots.config-DtW-3xkd.cjs +20 -0
  441. package/components/task-B8yMzxui.cjs +24 -0
  442. package/components/task-Cr9aRIbV.js +120 -0
  443. package/components/text-field-CvKSS59x-Dn0_1HO7.js +412 -0
  444. package/components/text-field-CvKSS59x-E9LQElL4.cjs +131 -0
  445. package/components/text-slots.config-BMBEkf0O.cjs +20 -0
  446. package/components/text-slots.config-Hy5yNIAX.js +23 -0
  447. package/components/textobject.config-BFB3rEmt.cjs +20 -0
  448. package/components/textobject.config-DTDqt0ci.js +73 -0
  449. package/components/textobject.en-BQqHFc7M.js +38 -0
  450. package/components/textobject.en-LfsMtwo6.cjs +20 -0
  451. package/components/textobject.fr-B8x29grG.cjs +20 -0
  452. package/components/textobject.fr-VPJ3bDOM.js +38 -0
  453. package/components/textobject.nl-DzglrI3i.cjs +20 -0
  454. package/components/textobject.nl-V03mmGmH.js +38 -0
  455. package/components/tr-BkmWvOG2.cjs +20 -0
  456. package/components/tr-D_D4i5iv.js +109 -0
  457. package/components/treemap-chart-slots.config-C3bnHCyy.cjs +20 -0
  458. package/components/treemap-chart-slots.config-xLD22K9V.js +46 -0
  459. package/components/utils.cjs +20 -0
  460. package/components/utils.js +27 -0
  461. package/components/venn-diagram-slots.config-CpOPbUjs.cjs +20 -0
  462. package/components/venn-diagram-slots.config-DPmj71cR.js +48 -0
  463. package/components/video-slots.config-IpwUxDyU.js +23 -0
  464. package/components/video-slots.config-mPXMR1CE.cjs +20 -0
  465. package/components/videoobject.config-BBDHSf6_.cjs +20 -0
  466. package/components/videoobject.config-CbtNZAEK.js +135 -0
  467. package/components/when-CDK1Tt5Y-BN3qcTK0.cjs +40 -0
  468. package/components/when-CDK1Tt5Y-C6ViXC43.js +47 -0
  469. package/components/wordcloud-chart-slots.config-BS4sOOHt.js +44 -0
  470. package/components/wordcloud-chart-slots.config-D7CiYopX.cjs +20 -0
  471. package/components/zh-CN-DTZ4OmdP.cjs +20 -0
  472. package/components/zh-CN-wsl7eFSd.js +89 -0
  473. package/components/zh-TW-DTZ4OmdP.cjs +20 -0
  474. package/components/zh-TW-wsl7eFSd.js +89 -0
  475. package/custom-elements.json +5737 -0
  476. package/generated/locale-codes.d.ts +13 -0
  477. package/index.d.ts +25 -0
  478. package/package.json +150 -20
  479. package/utils/formatter/calculate-duration.d.ts +2 -0
  480. package/utils/formatter/decompose-numeric-format.d.ts +11 -0
  481. package/utils/formatter/default-local-formats.d.ts +20 -0
  482. package/utils/formatter/formats/cs.d.ts +20 -0
  483. package/utils/formatter/formats/da.d.ts +20 -0
  484. package/utils/formatter/formats/de.d.ts +21 -0
  485. package/utils/formatter/formats/en-GB.d.ts +21 -0
  486. package/utils/formatter/formats/en-US.d.ts +1 -0
  487. package/utils/formatter/formats/en.d.ts +1 -0
  488. package/utils/formatter/formats/es.d.ts +54 -0
  489. package/utils/formatter/formats/fi.d.ts +20 -0
  490. package/utils/formatter/formats/fr.d.ts +54 -0
  491. package/utils/formatter/formats/he.d.ts +20 -0
  492. package/utils/formatter/formats/hu.d.ts +20 -0
  493. package/utils/formatter/formats/it.d.ts +54 -0
  494. package/utils/formatter/formats/ja.d.ts +20 -0
  495. package/utils/formatter/formats/ko.d.ts +20 -0
  496. package/utils/formatter/formats/mk.d.ts +20 -0
  497. package/utils/formatter/formats/nl.d.ts +21 -0
  498. package/utils/formatter/formats/no.d.ts +21 -0
  499. package/utils/formatter/formats/pl.d.ts +20 -0
  500. package/utils/formatter/formats/pt.d.ts +20 -0
  501. package/utils/formatter/formats/ru.d.ts +20 -0
  502. package/utils/formatter/formats/sv.d.ts +20 -0
  503. package/utils/formatter/formats/tr.d.ts +21 -0
  504. package/utils/formatter/formats/zh-CN.d.ts +20 -0
  505. package/utils/formatter/formats/zh-TW.d.ts +20 -0
  506. package/utils/formatter/formatter.d.ts +9 -0
  507. package/utils/formatter/localize.d.ts +3 -0
  508. package/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
  509. package/utils/get-css-variable.d.ts +1 -0
  510. package/utils/index.d.ts +3 -0
  511. package/utils/localize/set-locale.d.ts +5 -0
  512. package/utils/time/formats.const.d.ts +4 -0
  513. package/utils/time/periods.const.d.ts +15 -0
  514. package/utils/types/column.types.d.ts +56 -0
  515. package/utils/types/type-check.d.ts +7 -0
  516. package/37.js +0 -1
  517. package/729.js +0 -1
  518. package/README.md +0 -1
  519. package/common-31743c5a.js +0 -13
  520. package/common-b02547a0.js +0 -1
  521. package/common-b49d9a9d.js +0 -1
  522. package/common-b5232813.js +0 -56
  523. package/common-cefd4f4c.js +0 -1
  524. package/common-d6cb565f.js +0 -1
  525. package/common-fd868059.js +0 -1
  526. package/common-fedaf338.js +0 -32
  527. package/edit-option-picker/index.js +0 -314
  528. package/edit-option-slider/index.js +0 -102
  529. package/edit-option-toggle/index.js +0 -114
  530. package/index.js +0 -346
  531. package/vendors-93cc3efa.js +0 -1
  532. package/vendors-bb3d84b5.js +0 -1
@@ -0,0 +1,71 @@
1
+ declare const _default: {
2
+ name: string;
3
+ groups: {
4
+ general: {
5
+ label: string;
6
+ };
7
+ alignment: {
8
+ label: string;
9
+ };
10
+ link: {
11
+ label: string;
12
+ };
13
+ };
14
+ options: {
15
+ url: {
16
+ label: string;
17
+ placeholder: string;
18
+ description: string;
19
+ };
20
+ mode: {
21
+ label: string;
22
+ description: string;
23
+ enum: {
24
+ noResize: string;
25
+ compress: string;
26
+ fitHorizontal: string;
27
+ fitVertical: string;
28
+ fill: string;
29
+ stretch: string;
30
+ };
31
+ };
32
+ 'alignment.vertical': {
33
+ label: string;
34
+ description: string;
35
+ enum: {
36
+ top: string;
37
+ middle: string;
38
+ bottom: string;
39
+ };
40
+ };
41
+ 'alignment.horizontal': {
42
+ label: string;
43
+ description: string;
44
+ enum: {
45
+ left: string;
46
+ center: string;
47
+ right: string;
48
+ };
49
+ };
50
+ 'link.url': {
51
+ label: string;
52
+ placeholder: string;
53
+ description: string;
54
+ };
55
+ 'link.tooltip': {
56
+ label: string;
57
+ placeholder: string;
58
+ description: string;
59
+ };
60
+ 'link.target': {
61
+ label: string;
62
+ description: string;
63
+ enum: {
64
+ _parent: string;
65
+ _blank: string;
66
+ _self: string;
67
+ };
68
+ };
69
+ };
70
+ };
71
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ name: string;
3
+ groups: {
4
+ display: {
5
+ label: string;
6
+ };
7
+ padding: {
8
+ label: string;
9
+ };
10
+ };
11
+ options: {
12
+ 'display.hideScrollbar': {
13
+ label: string;
14
+ };
15
+ };
16
+ };
17
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ name: string;
3
+ groups: {
4
+ display: {
5
+ label: string;
6
+ };
7
+ padding: {
8
+ label: string;
9
+ };
10
+ };
11
+ options: {
12
+ 'display.hideScrollbar': {
13
+ label: string;
14
+ };
15
+ };
16
+ };
17
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ name: string;
3
+ groups: {
4
+ display: {
5
+ label: string;
6
+ };
7
+ padding: {
8
+ label: string;
9
+ };
10
+ };
11
+ options: {
12
+ 'display.hideScrollbar': {
13
+ label: string;
14
+ };
15
+ };
16
+ };
17
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import '@luzmo/lucero/action-button';
2
+ import '@luzmo/lucero/action-group';
3
+ import '@luzmo/lucero/icon';
4
+ import { TemplateResult } from 'lit';
5
+ import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
6
+ export type ButtonContent = {
7
+ icon?: {
8
+ icon: [number, number, string | string[]];
9
+ name: string;
10
+ };
11
+ iconName?: string;
12
+ label?: string;
13
+ buttonText?: string;
14
+ };
15
+ export declare class LuzmoEditOptionActionButtonGroup extends LuzmoEditOptionBase {
16
+ static styles: (import("lit").CSSResultOrNative | import("lit").CSSResultArray)[];
17
+ values: Record<string, ButtonContent>;
18
+ disabled: boolean;
19
+ selects: 'single' | 'multiple' | undefined;
20
+ value: [string] | undefined;
21
+ default: [string] | undefined;
22
+ private actionGroup;
23
+ private _handleEvent;
24
+ private _generateButtonContents;
25
+ private _generateActionButtons;
26
+ protected renderController(): TemplateResult<1>;
27
+ }
@@ -0,0 +1,51 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 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 d=Object.getPrototypeOf;var m=Reflect.get;var s=(c,t,u)=>m(d(c),u,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../luzmo-icons-XsFsTAl3.cjs");require("../index-zuArOtOt.cjs");require("../index-DUO13KGl.cjs");require("../index-h9T5DPIm.cjs");const n=require("../property-0L4eB11h.cjs"),b=require("../query-D5qWDopr.cjs"),z=require("../edit-option-base-Boz7TNRZ.cjs"),g="luzmo-action-group{--luzmo-edit-option-action-button-group-button-background-hover: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-background-down: rgba( var(--luzmo-primary-rgb), .2 );--luzmo-edit-option-action-button-group-button-background-focus: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-content-color-default: var( --luzmo-font-color-disabled );--luzmo-edit-option-action-button-group-button-content-color-hover: var( --luzmo-font-color-hover );--luzmo-edit-option-action-button-group-button-content-color-down: var( --luzmo-font-color-down );--luzmo-edit-option-action-button-group-button-content-color-focus: var( --luzmo-font-color-focus )}luzmo-action-group[compact][quiet][emphasized]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=s]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=l]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-2)}luzmo-action-group[compact][quiet][emphasized][size=xl]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-3)}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-hover );--luzmo-action-button-background-color-down: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-focus: var( --luzmo-edit-option-action-button-group-button-background-focus );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-default );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-hover );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-focus: var( --luzmo-edit-option-action-button-group-button-content-color-focus )}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]:hover,luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-default: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down )}";var v=Object.defineProperty,i=(c,t,u,f)=>{for(var r=void 0,l=c.length-1,p;l>=0;l--)(p=c[l])&&(r=p(t,u,r)||r);return r&&v(t,u,r),r};const h={alignBottom:o.U,alignMiddle:o.P,alignTop:o.E,alignLeft:o.G,alignCenter:o.q,alignRight:o.O,ban:o.a1,borderSolid:o.b2,borderDashed:o.k2,borderDotted:o.S2,compress:o.Y,expand:o._,arrowsExpand:o.c1,arrowsHorizontal:o.J,arrowsVertical:o.j,italic:o.w1,bold:o.D1,underline:o.x1,rows:o.E1,columns:o.P1,table:o.r1},a=class a extends z.LuzmoEditOptionBase{constructor(){super(...arguments),this.values={},this.disabled=!1}_handleEvent(){this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:this.actionGroup.selected}}))}_generateButtonContents(t){return typeof t=="string"?n.x`${t}`:t.iconName||t.icon?n.x`
21
+ <luzmo-icon
22
+ slot="icon"
23
+ .icon=${t.icon??h[t.iconName]}
24
+ .label=${t.label??""}
25
+ ></luzmo-icon>
26
+ ${t.buttonText??""}
27
+ `:n.x`${t.buttonText??""}`}_generateActionButtons(){return Object.entries(this.values).map(([t,u])=>n.x`
28
+ <luzmo-action-button value=${t} ?disabled=${this.disabled}>
29
+ ${this._generateButtonContents(u)}
30
+ ${u.label?n.x`<luzmo-tooltip
31
+ self-managed
32
+ placement="top"
33
+ size=${this.size}
34
+ >
35
+ ${u.label}
36
+ </luzmo-tooltip>`:""}
37
+ </luzmo-action-button>
38
+ `)}renderController(){const t=this._generateActionButtons();return n.x`
39
+ <luzmo-action-group
40
+ compact
41
+ quiet
42
+ emphasized
43
+ .selects=${this.selects??"single"}
44
+ .size=${this.size}
45
+ .selected=${this.value||this.default||[]}
46
+ @change=${this._handleEvent}
47
+ .disabled=${this.disabled}
48
+ >
49
+ ${t}
50
+ </luzmo-action-group>
51
+ `}};a.styles=[...s(a,a,"styles"),n.r$1(g)];let e=a;i([n.n({type:Array})],e.prototype,"values");i([n.n({type:Boolean,reflect:!0})],e.prototype,"disabled");i([n.n({type:String})],e.prototype,"selects");i([n.n({type:Array})],e.prototype,"value");i([n.n({type:Array})],e.prototype,"default");i([b.e("luzmo-action-group")],e.prototype,"actionGroup");customElements.get("luzmo-edit-option-action-button-group")||customElements.define("luzmo-edit-option-action-button-group",e);exports.LuzmoEditOptionActionButtonGroup=e;
@@ -0,0 +1,7 @@
1
+ import { LuzmoEditOptionActionButtonGroup } from './edit-option-action-button-group';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'luzmo-edit-option-action-button-group': LuzmoEditOptionActionButtonGroup;
5
+ }
6
+ }
7
+ export { LuzmoEditOptionActionButtonGroup } from './edit-option-action-button-group';
@@ -0,0 +1,151 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 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
+ var z = Object.getPrototypeOf;
21
+ var d = Reflect.get;
22
+ var s = (r, o, l) => d(z(r), l, o);
23
+ import { r as b, P as g, E as f, a as h, D as v, w as x, j as y, J as w, c as k, _ as $, Y as C, S as q, e as S, f as E, g as _, i as B, q as P, G as D, l as j, m as A, U as H } from "../luzmo-icons-BE2T8vWu.js";
24
+ import "../index-CdCtJpK9.js";
25
+ import "../index-Bee1uunR.js";
26
+ import "../index-ymMEPngt.js";
27
+ import { a as N, x as u, n as c } from "../property-B2F7x7Cz.js";
28
+ import { e as T } from "../query-Ddbd72Um.js";
29
+ import { L as U } from "../edit-option-base-qePiIQWd.js";
30
+ const p = () => {
31
+ if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
32
+ const r = document.createElement("style");
33
+ r.setAttribute("data-luzmo-vars", ""), r.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-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-color-negative: #ca221c;--luzmo-color-negative-hover: #b3241f;--luzmo-color-negative-down: #9f231f;--luzmo-color-negative-focus: #b3241f;--luzmo-color-negative-rgb: 202, 34, 28;--luzmo-color-positive: rgb(20, 150, 101);--luzmo-color-positive-hover: rgb(17, 128, 86);--luzmo-color-positive-down: rgb(16, 105, 71);--luzmo-color-positive-focus: rgb(17, 128, 86);--luzmo-color-positive-rgb: 20, 150, 101;--luzmo-color-selected: rgb(110, 110, 110);--luzmo-color-selected-hover: rgb(70, 70, 70);--luzmo-color-selected-down: rgb(40, 40, 40);--luzmo-color-selected-focus: rgb(70, 70, 70);--luzmo-color-selected-hard: #1e1e1e;--luzmo-color-selected-hard-hover: rgb(0, 0, 0);--luzmo-color-selected-hard-down: rgb(0, 0, 0);--luzmo-color-selected-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(r);
34
+ }
35
+ };
36
+ p();
37
+ const M = "luzmo-action-group{--luzmo-edit-option-action-button-group-button-background-hover: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-background-down: rgba( var(--luzmo-primary-rgb), .2 );--luzmo-edit-option-action-button-group-button-background-focus: rgba( var(--luzmo-primary-rgb), .1 );--luzmo-edit-option-action-button-group-button-content-color-default: var( --luzmo-font-color-disabled );--luzmo-edit-option-action-button-group-button-content-color-hover: var( --luzmo-font-color-hover );--luzmo-edit-option-action-button-group-button-content-color-down: var( --luzmo-font-color-down );--luzmo-edit-option-action-button-group-button-content-color-focus: var( --luzmo-font-color-focus )}luzmo-action-group[compact][quiet][emphasized]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=s]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-1)}luzmo-action-group[compact][quiet][emphasized][size=l]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-2)}luzmo-action-group[compact][quiet][emphasized][size=xl]{--luzmo-action-group-gap-size-compact: var(--luzmo-spacing-3)}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-hover );--luzmo-action-button-background-color-down: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-focus: var( --luzmo-edit-option-action-button-group-button-background-focus );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-default );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-hover );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-focus: var( --luzmo-edit-option-action-button-group-button-content-color-focus )}luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]:hover,luzmo-action-group[compact][quiet][emphasized] luzmo-action-button[selected]{--luzmo-action-button-background-color-hover: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-background-color-default: var( --luzmo-edit-option-action-button-group-button-background-down );--luzmo-action-button-content-color-default: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-hover: var( --luzmo-edit-option-action-button-group-button-content-color-down );--luzmo-action-button-content-color-down: var( --luzmo-edit-option-action-button-group-button-content-color-down )}";
38
+ var R = Object.defineProperty, n = (r, o, l, F) => {
39
+ for (var e = void 0, i = r.length - 1, m; i >= 0; i--)
40
+ (m = r[i]) && (e = m(o, l, e) || e);
41
+ return e && R(o, l, e), e;
42
+ };
43
+ const V = {
44
+ alignBottom: H,
45
+ alignMiddle: A,
46
+ alignTop: j,
47
+ alignLeft: D,
48
+ alignCenter: P,
49
+ alignRight: B,
50
+ ban: _,
51
+ borderSolid: E,
52
+ borderDashed: S,
53
+ borderDotted: q,
54
+ compress: C,
55
+ expand: $,
56
+ arrowsExpand: k,
57
+ arrowsHorizontal: w,
58
+ arrowsVertical: y,
59
+ italic: x,
60
+ bold: v,
61
+ underline: h,
62
+ rows: f,
63
+ columns: g,
64
+ table: b
65
+ }, a = class a extends U {
66
+ constructor() {
67
+ super(...arguments), this.values = {}, this.disabled = !1;
68
+ }
69
+ _handleEvent() {
70
+ this.dispatchEvent(
71
+ new CustomEvent("option-changed", {
72
+ bubbles: !0,
73
+ composed: !0,
74
+ cancelable: !0,
75
+ detail: {
76
+ value: this.actionGroup.selected
77
+ }
78
+ })
79
+ );
80
+ }
81
+ _generateButtonContents(o) {
82
+ return typeof o == "string" ? u`${o}` : o.iconName || o.icon ? u`
83
+ <luzmo-icon
84
+ slot="icon"
85
+ .icon=${o.icon ?? V[o.iconName]}
86
+ .label=${o.label ?? ""}
87
+ ></luzmo-icon>
88
+ ${o.buttonText ?? ""}
89
+ ` : u`${o.buttonText ?? ""}`;
90
+ }
91
+ _generateActionButtons() {
92
+ return Object.entries(this.values).map(
93
+ ([o, l]) => u`
94
+ <luzmo-action-button value=${o} ?disabled=${this.disabled}>
95
+ ${this._generateButtonContents(l)}
96
+ ${l.label ? u`<luzmo-tooltip
97
+ self-managed
98
+ placement="top"
99
+ size=${this.size}
100
+ >
101
+ ${l.label}
102
+ </luzmo-tooltip>` : ""}
103
+ </luzmo-action-button>
104
+ `
105
+ );
106
+ }
107
+ renderController() {
108
+ const o = this._generateActionButtons();
109
+ return u`
110
+ <luzmo-action-group
111
+ compact
112
+ quiet
113
+ emphasized
114
+ .selects=${this.selects ?? "single"}
115
+ .size=${this.size}
116
+ .selected=${this.value || this.default || []}
117
+ @change=${this._handleEvent}
118
+ .disabled=${this.disabled}
119
+ >
120
+ ${o}
121
+ </luzmo-action-group>
122
+ `;
123
+ }
124
+ };
125
+ a.styles = [...s(a, a, "styles"), N(M)];
126
+ let t = a;
127
+ n([
128
+ c({ type: Array })
129
+ ], t.prototype, "values");
130
+ n([
131
+ c({ type: Boolean, reflect: !0 })
132
+ ], t.prototype, "disabled");
133
+ n([
134
+ c({ type: String })
135
+ ], t.prototype, "selects");
136
+ n([
137
+ c({ type: Array })
138
+ ], t.prototype, "value");
139
+ n([
140
+ c({ type: Array })
141
+ ], t.prototype, "default");
142
+ n([
143
+ T("luzmo-action-group")
144
+ ], t.prototype, "actionGroup");
145
+ customElements.get("luzmo-edit-option-action-button-group") || customElements.define(
146
+ "luzmo-edit-option-action-button-group",
147
+ t
148
+ );
149
+ export {
150
+ t as LuzmoEditOptionActionButtonGroup
151
+ };
@@ -0,0 +1,22 @@
1
+ import '@luzmo/lucero/field-label';
2
+ import '@luzmo/lucero/tooltip';
3
+ import { LuzmoElement } from '@luzmo/lucero/utils';
4
+ import { CSSResultArray, TemplateResult } from 'lit';
5
+ declare const LuzmoEditOptionBase_base: typeof LuzmoElement & {
6
+ new (...args: any[]): import("@luzmo/lucero").SizedElementInterface;
7
+ prototype: import("@luzmo/lucero").SizedElementInterface;
8
+ };
9
+ export declare abstract class LuzmoEditOptionBase extends LuzmoEditOptionBase_base {
10
+ static styles: CSSResultArray;
11
+ disabled: boolean;
12
+ label: string;
13
+ tooltip: string;
14
+ extraLabel: string;
15
+ extraLabelHasClickAction: boolean;
16
+ extraLabelClickAction: any;
17
+ extraLabelTooltip: string;
18
+ protected abstract renderController(): TemplateResult;
19
+ protected handleExtraLabelClick(event: MouseEvent): void;
20
+ render(): TemplateResult<1>;
21
+ }
22
+ export {};
@@ -0,0 +1,53 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";require("./index-Bt5nP_6w.cjs");require("./index-ByjLd3bT.cjs");const t=require("./property-0L4eB11h.cjs"),c=require("./sized-mixin-BxMraZLS-DEFWqo8f.cjs"),d=":host{font-family:var(--luzmo-edit-option-component-font-family, var(--luzmo-font-family))}.luzmo-edit-option{height:var(--luzmo-edit-option-component-height, var(--edit-option-component-height));width:100%;display:flex;justify-content:space-between;align-items:center;gap:var(--luzmo-spacing-3);color:var(--luzmo-font-color);font-size:var(--luzmo-font-size-s)}.control-container{display:flex;align-items:center;gap:var(--luzmo-edit-option-control-container-gap, var(--edit-option-control-container-gap));justify-content:end;flex:1}.extra-label{padding-left:var(--luzmo-edit-option-extra-label-padding-left, var(--edit-option-extra-label-padding-left));padding-right:var(--luzmo-edit-option-extra-label-padding-right, var(--edit-option-extra-label-padding-right));font-size:var(--luzmo-edit-option-extra-label-font-size, var(--edit-option-extra-label-font-size))}.extra-link{text-align:right;text-decoration:underline;cursor:pointer}.extra-link:hover{color:var(--luzmo-font-color-hover)}.extra-link.disabled{opacity:.65;cursor:not-allowed}.extra-link.disabled:hover{color:var(--luzmo-font-color-disabled)}:host{--edit-option-component-height: var(--luzmo-component-height);--edit-option-extra-label-padding-right: var(--luzmo-spacing-4);--edit-option-extra-label-padding-left: var(--luzmo-spacing-5);--edit-option-control-container-gap: var(--luzmo-spacing-2);--edit-option-extra-label-font-size: var(--luzmo-font-size-s)}:host([size=s]){--edit-option-component-height: var(--luzmo-component-height-s);--edit-option-extra-label-padding-right: var(--luzmo-spacing-3);--edit-option-extra-label-padding-left: var(--luzmo-spacing-4);--edit-option-control-container-gap: var(--luzmo-spacing-2);--edit-option-extra-label-font-size: var(--luzmo-font-size-xs)}:host([size=l]){--edit-option-component-height: var(--luzmo-component-height-l);--edit-option-extra-label-padding-right: var(--luzmo-spacing-4);--edit-option-extra-label-padding-left: var(--luzmo-spacing-5);--edit-option-control-container-gap: var(--luzmo-spacing-3);--edit-option-extra-label-font-size: var(--luzmo-font-size)}:host([size=xl]){--edit-option-component-height: var(--luzmo-component-height-xl);--edit-option-extra-label-padding-right: var(--luzmo-spacing-5);--edit-option-extra-label-padding-left: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--edit-option-control-container-gap: var(--luzmo-spacing-4);--edit-option-extra-label-font-size: var(--luzmo-font-size-l)}:host{display:block}";var u=Object.defineProperty,o=(s,a,l,h)=>{for(var i=void 0,n=s.length-1,p;n>=0;n--)(p=s[n])&&(i=p(a,l,i)||i);return i&&u(a,l,i),i};const r=class r extends c.m(t.kt,{defaultSize:"s",validSizes:["s","m","l","xl"]}){constructor(){super(...arguments),this.disabled=!1,this.label="",this.tooltip="",this.extraLabel="",this.extraLabelHasClickAction=!1,this.extraLabelTooltip=""}handleExtraLabelClick(a){if(this.extraLabelHasClickAction&&typeof this.extraLabelClickAction=="function"){const{value:l}=this.extraLabelClickAction();this.dispatchEvent(new CustomEvent("option-changed",{bubbles:!0,composed:!0,cancelable:!0,detail:{value:l}}))}a.preventDefault(),this.dispatchEvent(new CustomEvent("extraLabelClick",{bubbles:!0,composed:!0}))}render(){return t.x`
21
+ <div class="luzmo-edit-option">
22
+ ${this.label?t.x`
23
+ <luzmo-field-label
24
+ .size=${this.size}
25
+ for="luzmo-edit-option-control"
26
+ side-aligned="start"
27
+ >
28
+ ${this.label}
29
+ ${this.tooltip?t.x`
30
+ *<luzmo-tooltip
31
+ self-managed
32
+ placement="top"
33
+ size=${this.size}
34
+ >
35
+ ${this.tooltip}
36
+ </luzmo-tooltip>
37
+ `:t.E}
38
+ </luzmo-field-label>
39
+ `:t.E}
40
+
41
+ <div class="control-container">
42
+ ${this.extraLabel?t.x`
43
+ <div
44
+ class="extra-label ${this.extraLabelHasClickAction?"extra-link":""}"
45
+ @click=${this.handleExtraLabelClick}
46
+ >
47
+ <span class=""> ${this.extraLabel} </span>
48
+ </div>
49
+ `:t.E}
50
+ ${this.renderController()}
51
+ </div>
52
+ </div>
53
+ `}};r.styles=[t.r$1(d)];let e=r;o([t.n({type:Boolean,reflect:!0})],e.prototype,"disabled");o([t.n({type:String,reflect:!0})],e.prototype,"label");o([t.n({type:String,reflect:!0})],e.prototype,"tooltip");o([t.n({type:String,attribute:"extra-label"})],e.prototype,"extraLabel");o([t.n({type:Boolean,attribute:"extra-label-has-click-action"})],e.prototype,"extraLabelHasClickAction");o([t.n()],e.prototype,"extraLabelClickAction");o([t.n({type:String,attribute:"extra-label-tooltip"})],e.prototype,"extraLabelTooltip");exports.LuzmoEditOptionBase=e;
@@ -0,0 +1,120 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ import "./index-BYfDERr7.js";
21
+ import "./index-C8IL2IZ6.js";
22
+ import { k as h, a as m, E as p, x as n, n as e } from "./property-B2F7x7Cz.js";
23
+ import { m as u } from "./sized-mixin-BxMraZLS-B_y0PzR3.js";
24
+ const g = ":host{font-family:var(--luzmo-edit-option-component-font-family, var(--luzmo-font-family))}.luzmo-edit-option{height:var(--luzmo-edit-option-component-height, var(--edit-option-component-height));width:100%;display:flex;justify-content:space-between;align-items:center;gap:var(--luzmo-spacing-3);color:var(--luzmo-font-color);font-size:var(--luzmo-font-size-s)}.control-container{display:flex;align-items:center;gap:var(--luzmo-edit-option-control-container-gap, var(--edit-option-control-container-gap));justify-content:end;flex:1}.extra-label{padding-left:var(--luzmo-edit-option-extra-label-padding-left, var(--edit-option-extra-label-padding-left));padding-right:var(--luzmo-edit-option-extra-label-padding-right, var(--edit-option-extra-label-padding-right));font-size:var(--luzmo-edit-option-extra-label-font-size, var(--edit-option-extra-label-font-size))}.extra-link{text-align:right;text-decoration:underline;cursor:pointer}.extra-link:hover{color:var(--luzmo-font-color-hover)}.extra-link.disabled{opacity:.65;cursor:not-allowed}.extra-link.disabled:hover{color:var(--luzmo-font-color-disabled)}:host{--edit-option-component-height: var(--luzmo-component-height);--edit-option-extra-label-padding-right: var(--luzmo-spacing-4);--edit-option-extra-label-padding-left: var(--luzmo-spacing-5);--edit-option-control-container-gap: var(--luzmo-spacing-2);--edit-option-extra-label-font-size: var(--luzmo-font-size-s)}:host([size=s]){--edit-option-component-height: var(--luzmo-component-height-s);--edit-option-extra-label-padding-right: var(--luzmo-spacing-3);--edit-option-extra-label-padding-left: var(--luzmo-spacing-4);--edit-option-control-container-gap: var(--luzmo-spacing-2);--edit-option-extra-label-font-size: var(--luzmo-font-size-xs)}:host([size=l]){--edit-option-component-height: var(--luzmo-component-height-l);--edit-option-extra-label-padding-right: var(--luzmo-spacing-4);--edit-option-extra-label-padding-left: var(--luzmo-spacing-5);--edit-option-control-container-gap: var(--luzmo-spacing-3);--edit-option-extra-label-font-size: var(--luzmo-font-size)}:host([size=xl]){--edit-option-component-height: var(--luzmo-component-height-xl);--edit-option-extra-label-padding-right: var(--luzmo-spacing-5);--edit-option-extra-label-padding-left: calc( var(--luzmo-spacing-5) + var(--luzmo-spacing-1) );--edit-option-control-container-gap: var(--luzmo-spacing-4);--edit-option-extra-label-font-size: var(--luzmo-font-size-l)}:host{display:block}";
25
+ var b = Object.defineProperty, o = (d, a, l, z) => {
26
+ for (var i = void 0, r = d.length - 1, c; r >= 0; r--)
27
+ (c = d[r]) && (i = c(a, l, i) || i);
28
+ return i && b(a, l, i), i;
29
+ };
30
+ const s = class s extends u(h, {
31
+ defaultSize: "s",
32
+ validSizes: ["s", "m", "l", "xl"]
33
+ }) {
34
+ constructor() {
35
+ super(...arguments), this.disabled = !1, this.label = "", this.tooltip = "", this.extraLabel = "", this.extraLabelHasClickAction = !1, this.extraLabelTooltip = "";
36
+ }
37
+ handleExtraLabelClick(a) {
38
+ if (this.extraLabelHasClickAction && typeof this.extraLabelClickAction == "function") {
39
+ const { value: l } = this.extraLabelClickAction();
40
+ this.dispatchEvent(
41
+ new CustomEvent("option-changed", {
42
+ bubbles: !0,
43
+ composed: !0,
44
+ cancelable: !0,
45
+ detail: {
46
+ value: l
47
+ }
48
+ })
49
+ );
50
+ }
51
+ a.preventDefault(), this.dispatchEvent(
52
+ new CustomEvent("extraLabelClick", {
53
+ bubbles: !0,
54
+ composed: !0
55
+ })
56
+ );
57
+ }
58
+ render() {
59
+ return n`
60
+ <div class="luzmo-edit-option">
61
+ ${this.label ? n`
62
+ <luzmo-field-label
63
+ .size=${this.size}
64
+ for="luzmo-edit-option-control"
65
+ side-aligned="start"
66
+ >
67
+ ${this.label}
68
+ ${this.tooltip ? n`
69
+ *<luzmo-tooltip
70
+ self-managed
71
+ placement="top"
72
+ size=${this.size}
73
+ >
74
+ ${this.tooltip}
75
+ </luzmo-tooltip>
76
+ ` : p}
77
+ </luzmo-field-label>
78
+ ` : p}
79
+
80
+ <div class="control-container">
81
+ ${this.extraLabel ? n`
82
+ <div
83
+ class="extra-label ${this.extraLabelHasClickAction ? "extra-link" : ""}"
84
+ @click=${this.handleExtraLabelClick}
85
+ >
86
+ <span class=""> ${this.extraLabel} </span>
87
+ </div>
88
+ ` : p}
89
+ ${this.renderController()}
90
+ </div>
91
+ </div>
92
+ `;
93
+ }
94
+ };
95
+ s.styles = [m(g)];
96
+ let t = s;
97
+ o([
98
+ e({ type: Boolean, reflect: !0 })
99
+ ], t.prototype, "disabled");
100
+ o([
101
+ e({ type: String, reflect: !0 })
102
+ ], t.prototype, "label");
103
+ o([
104
+ e({ type: String, reflect: !0 })
105
+ ], t.prototype, "tooltip");
106
+ o([
107
+ e({ type: String, attribute: "extra-label" })
108
+ ], t.prototype, "extraLabel");
109
+ o([
110
+ e({ type: Boolean, attribute: "extra-label-has-click-action" })
111
+ ], t.prototype, "extraLabelHasClickAction");
112
+ o([
113
+ e()
114
+ ], t.prototype, "extraLabelClickAction");
115
+ o([
116
+ e({ type: String, attribute: "extra-label-tooltip" })
117
+ ], t.prototype, "extraLabelTooltip");
118
+ export {
119
+ t as L
120
+ };
@@ -0,0 +1,23 @@
1
+ import { Placement } from '@luzmo/lucero';
2
+ import '@luzmo/lucero/color-picker';
3
+ import '@luzmo/lucero/menu';
4
+ import { LuzmoEditOptionBase } from '../edit-option-base/edit-option-base';
5
+ export declare class LuzmoEditOptionColorPicker extends LuzmoEditOptionBase {
6
+ static styles: import("lit").CSSResultArray[];
7
+ value: string;
8
+ disabled: boolean;
9
+ noAlphaChannel: boolean;
10
+ swatches: string[];
11
+ rounding: 'full' | 'light' | 'none';
12
+ shape: 'circle' | 'rectangle';
13
+ /**
14
+ * @type {"top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end"}
15
+ * @attr
16
+ */
17
+ placement: Placement;
18
+ debounce: number;
19
+ private colorPicker;
20
+ debounceTimeout: any;
21
+ private _handleEvent;
22
+ protected renderController(): import("lit-html").TemplateResult<1>;
23
+ }