@luzmo/analytics-components-kit 1.0.1-alpha.10 → 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 (245) hide show
  1. package/components/bar-chart.config--VDhFN4d.cjs +20 -0
  2. package/components/{column-chart.config-C9hP0kX7.js → bar-chart.config-BYIX4E6J.js} +34 -33
  3. package/components/{bar-chart.en-FwT00qdU.js → bar-chart.en-Crc8tYUJ.js} +17 -0
  4. package/components/{donut-chart.en-Blb9oSdU.cjs → bar-chart.en-D1UfGsS3.cjs} +1 -1
  5. package/components/bar-chart.fr-BwiGRlQf.js +86 -0
  6. package/components/bar-chart.fr-CP7DTrlk.cjs +20 -0
  7. package/components/bar-chart.nl-C9EOP2kE.js +86 -0
  8. package/components/bar-chart.nl-Cxq8ID8c.cjs +20 -0
  9. package/components/{bar-chart.nl-ahX1ARpH.js → box-plot-slots.config-BRhnF2FE.js} +25 -21
  10. package/components/box-plot-slots.config-DZxyy3sS.cjs +20 -0
  11. package/components/{textobject.config-C8opcGG4.js → bubble-chart-slots.config-Bbh94VgZ.js} +18 -24
  12. package/components/bubble-chart-slots.config-BwSwgleO.cjs +20 -0
  13. package/components/bullet-chart-slots.config-Ccv_dX0s.js +45 -0
  14. package/components/bullet-chart-slots.config-CiYsxviC.cjs +20 -0
  15. package/components/choropleth-map-slots.config-B-uJTj4q.js +47 -0
  16. package/components/{bar-chart.nl-BYzVExsz.cjs → choropleth-map-slots.config-PNwSR0XY.cjs} +1 -1
  17. package/components/{donut-chart.nl-D9YGbOce.cjs → circle-pack-chart-slots.config-C-_ganmv.cjs} +1 -1
  18. package/components/circle-pack-chart-slots.config-xwVdRiwS.js +40 -0
  19. package/components/{donut-chart.fr-BeTVa2wh.cjs → circular-gauge-slots.config-Cd-nkNPm.cjs} +1 -1
  20. package/components/circular-gauge-slots.config-DA-ZAc5d.js +39 -0
  21. package/components/column-chart-slots.config-C7MhpoR8.cjs +20 -0
  22. package/components/column-chart-slots.config-DAdAk17k.js +47 -0
  23. package/components/{bar-chart.config-CQ6HAvs2.js → column-chart.config-BYIX4E6J.js} +36 -35
  24. package/components/column-chart.config-BmhmcBZJ.cjs +20 -0
  25. package/components/column-chart.en-Crc8tYUJ.js +86 -0
  26. package/components/{bar-chart.en-BqYbiHO3.cjs → column-chart.en-D1UfGsS3.cjs} +1 -1
  27. package/components/column-chart.fr-BwiGRlQf.js +86 -0
  28. package/components/column-chart.fr-CP7DTrlk.cjs +20 -0
  29. package/components/column-chart.nl-C9EOP2kE.js +86 -0
  30. package/components/column-chart.nl-Cxq8ID8c.cjs +20 -0
  31. package/components/combination-chart-slots.config-CqKLFKCZ.js +45 -0
  32. package/components/combination-chart-slots.config-crMO01EO.cjs +20 -0
  33. package/components/conditional-number-slots.config-CD5ZwXuY.cjs +20 -0
  34. package/components/conditional-number-slots.config-L3t5pb1-.js +39 -0
  35. package/components/date-filter-slots.config-Cb1LcT9W.cjs +20 -0
  36. package/components/date-filter-slots.config-CxB8IF5B.js +33 -0
  37. package/components/display-settings-datetime/index.cjs +209 -1
  38. package/components/display-settings-datetime/index.js +511 -6
  39. package/components/{donut-chart.en-CzjT4-XN.js → donut-chart.en-CrUf4CJ9.js} +14 -0
  40. package/components/donut-chart.en-DHCYs2el.cjs +20 -0
  41. package/components/donut-chart.fr-C33dLw52.cjs +20 -0
  42. package/components/donut-chart.fr-DVfZwZny.js +99 -0
  43. package/components/donut-chart.nl-B13jr7SK.js +99 -0
  44. package/components/donut-chart.nl-CHAnU1xZ.cjs +20 -0
  45. package/components/draggable-data-item-level/index.cjs +1 -1
  46. package/components/draggable-data-item-level/index.js +1 -1
  47. package/components/dropdown-filter-slots.config-B8J6ftCh.js +46 -0
  48. package/components/dropdown-filter-slots.config-I2n4b_6V.cjs +20 -0
  49. package/components/droppable-slot/index.cjs +12 -12
  50. package/components/droppable-slot/index.js +126 -85
  51. package/components/droppable-slot/item-slots-configs/box-plot-slots.config.d.ts +26 -0
  52. package/components/droppable-slot/item-slots-configs/bubble-chart-slots.config.d.ts +30 -0
  53. package/components/droppable-slot/item-slots-configs/bullet-chart-slots.config.d.ts +18 -0
  54. package/components/droppable-slot/item-slots-configs/choropleth-map-slots.config.d.ts +29 -0
  55. package/components/droppable-slot/item-slots-configs/circle-pack-chart-slots.config.d.ts +22 -0
  56. package/components/droppable-slot/item-slots-configs/circular-gauge-slots.config.d.ts +16 -0
  57. package/components/droppable-slot/item-slots-configs/column-chart-slots.config.d.ts +24 -0
  58. package/components/droppable-slot/item-slots-configs/combination-chart-slots.config.d.ts +30 -0
  59. package/components/droppable-slot/item-slots-configs/conditional-number-slots.config.d.ts +16 -0
  60. package/components/droppable-slot/item-slots-configs/date-filter-slots.config.d.ts +10 -0
  61. package/components/droppable-slot/item-slots-configs/dropdown-filter-slots.config.d.ts +23 -0
  62. package/components/droppable-slot/item-slots-configs/evolution-number-slots.config.d.ts +18 -0
  63. package/components/droppable-slot/item-slots-configs/funnel-chart-slots.config.d.ts +22 -0
  64. package/components/droppable-slot/item-slots-configs/heat-map-slots.config.d.ts +18 -0
  65. package/components/droppable-slot/item-slots-configs/heat-table-slots.config.d.ts +20 -0
  66. package/components/droppable-slot/item-slots-configs/hexbin-map-slots.config.d.ts +18 -0
  67. package/components/droppable-slot/item-slots-configs/image-slots.config.d.ts +2 -0
  68. package/components/droppable-slot/item-slots-configs/index.d.ts +44 -0
  69. package/components/droppable-slot/item-slots-configs/line-chart-slots.config.d.ts +44 -0
  70. package/components/droppable-slot/item-slots-configs/marker-map-slots.config.d.ts +18 -0
  71. package/components/droppable-slot/item-slots-configs/ohlc-chart-slots.config.d.ts +21 -0
  72. package/components/droppable-slot/item-slots-configs/parallel-coordinates-plot-slots.config.d.ts +23 -0
  73. package/components/droppable-slot/item-slots-configs/pivot-table-slots.config.d.ts +21 -0
  74. package/components/droppable-slot/item-slots-configs/pyramid-chart-slots.config.d.ts +33 -0
  75. package/components/droppable-slot/item-slots-configs/radar-chart-slots.config.d.ts +33 -0
  76. package/components/droppable-slot/item-slots-configs/regular-table-slots.config.d.ts +13 -0
  77. package/components/droppable-slot/item-slots-configs/route-map-slots.config.d.ts +28 -0
  78. package/components/droppable-slot/item-slots-configs/sankey-diagram-slots.config.d.ts +33 -0
  79. package/components/droppable-slot/item-slots-configs/scatter-plot-slots.config.d.ts +50 -0
  80. package/components/droppable-slot/item-slots-configs/search-filter-slots.config.d.ts +24 -0
  81. package/components/droppable-slot/item-slots-configs/slicer-filter-slots.config.d.ts +23 -0
  82. package/components/droppable-slot/item-slots-configs/slider-filter-slots.config.d.ts +13 -0
  83. package/components/droppable-slot/item-slots-configs/speedometer-chart-slots.config.d.ts +16 -0
  84. package/components/droppable-slot/item-slots-configs/spike-map-slots.config.d.ts +31 -0
  85. package/components/droppable-slot/item-slots-configs/strip-plot-slots.config.d.ts +22 -0
  86. package/components/droppable-slot/item-slots-configs/sunburst-chart-slots.config.d.ts +22 -0
  87. package/components/droppable-slot/item-slots-configs/symbol-map-slots.config.d.ts +31 -0
  88. package/components/droppable-slot/item-slots-configs/text-slots.config.d.ts +2 -0
  89. package/components/droppable-slot/item-slots-configs/treemap-chart-slots.config.d.ts +30 -0
  90. package/components/droppable-slot/item-slots-configs/venn-diagram-slots.config.d.ts +18 -0
  91. package/components/droppable-slot/item-slots-configs/video-slots.config.d.ts +2 -0
  92. package/components/droppable-slot/item-slots-configs/wordcloud-chart-slots.config.d.ts +23 -0
  93. package/components/edit-item/index.cjs +17 -14
  94. package/components/edit-item/index.js +176 -161
  95. package/components/edit-option/helpers/control-templates/position-picker-template.d.ts +2 -0
  96. package/components/edit-option/index.cjs +115 -104
  97. package/components/edit-option/index.js +262 -226
  98. package/components/edit-option/item-configs/imageobject.config.d.ts +1 -3
  99. package/components/edit-option/item-configs/line-chart.config.d.ts +36 -2
  100. package/components/edit-option/item-configs/spacer.config.d.ts +2 -0
  101. package/components/edit-option/item-configs/textobject.config.d.ts +34 -2
  102. package/components/edit-option/item-configs/videoobject.config.d.ts +90 -0
  103. package/components/edit-option/item-translations/bar-chart.en.d.ts +17 -0
  104. package/components/edit-option/item-translations/bar-chart.fr.d.ts +47 -5
  105. package/components/edit-option/item-translations/bar-chart.nl.d.ts +47 -5
  106. package/components/edit-option/item-translations/column-chart.en.d.ts +65 -0
  107. package/components/edit-option/item-translations/column-chart.fr.d.ts +65 -0
  108. package/components/edit-option/item-translations/column-chart.nl.d.ts +65 -0
  109. package/components/edit-option/item-translations/donut-chart.en.d.ts +14 -0
  110. package/components/edit-option/item-translations/donut-chart.fr.d.ts +62 -2
  111. package/components/edit-option/item-translations/donut-chart.nl.d.ts +62 -2
  112. package/components/edit-option/item-translations/imageobject.en.d.ts +71 -0
  113. package/components/edit-option/item-translations/imageobject.fr.d.ts +71 -0
  114. package/components/edit-option/item-translations/imageobject.nl.d.ts +71 -0
  115. package/components/edit-option/item-translations/textobject.en.d.ts +17 -0
  116. package/components/edit-option/item-translations/textobject.fr.d.ts +17 -0
  117. package/components/edit-option/item-translations/textobject.nl.d.ts +17 -0
  118. package/components/edit-option-action-button-group/index.cjs +12 -5
  119. package/components/edit-option-action-button-group/index.js +26 -19
  120. package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +2 -0
  121. package/components/edit-option-multi-language-field/index.cjs +3 -3
  122. package/components/edit-option-multi-language-field/index.js +32 -22
  123. package/components/edit-option-position-picker/edit-option-position-picker.d.ts +13 -0
  124. package/components/edit-option-position-picker/index.cjs +25 -0
  125. package/components/edit-option-position-picker/index.d.ts +7 -0
  126. package/components/edit-option-position-picker/index.js +110 -0
  127. package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +11 -9
  128. package/components/edit-option-positions-number-field/index.cjs +12 -12
  129. package/components/edit-option-positions-number-field/index.js +84 -75
  130. package/components/en-BnVnZvpC.cjs +20 -0
  131. package/components/en-DlRadzUI.js +1487 -0
  132. package/components/{en-GB-DX5un7Gr.js → en-GB-C9t4MSgD.js} +1 -1
  133. package/components/{en-GB-Bz4u7Uqv.cjs → en-GB-D5Tvhki6.cjs} +1 -1
  134. package/components/evolution-number-slots.config-BI-sFIug.cjs +20 -0
  135. package/components/evolution-number-slots.config-CW21b2ua.js +39 -0
  136. package/components/funnel-chart-slots.config-BBhMS2qi.js +40 -0
  137. package/components/funnel-chart-slots.config-WrokHS7f.cjs +20 -0
  138. package/components/heat-map-slots.config-CSxSsQwX.cjs +20 -0
  139. package/components/heat-map-slots.config-cdD8XTmI.js +39 -0
  140. package/components/heat-table-slots.config-DJkP72oT.js +48 -0
  141. package/components/heat-table-slots.config-GGX3BCh1.cjs +20 -0
  142. package/components/hexbin-map-slots.config-CSxSsQwX.cjs +20 -0
  143. package/components/hexbin-map-slots.config-cdD8XTmI.js +39 -0
  144. package/components/image-slots.config-IpwUxDyU.js +23 -0
  145. package/components/image-slots.config-mPXMR1CE.cjs +20 -0
  146. package/components/{imageobject.config-DZLp9Elq.js → imageobject.config-CBfeq5Zw.js} +2 -2
  147. package/components/{imageobject.config-B7ld9bj3.cjs → imageobject.config-Dqhc2c3b.cjs} +1 -1
  148. package/components/imageobject.en-BMmV-4O-.js +92 -0
  149. package/components/imageobject.en-DflcU_2H.cjs +20 -0
  150. package/components/imageobject.fr-DRE3zImB.js +92 -0
  151. package/components/imageobject.fr-ycH7UoX5.cjs +20 -0
  152. package/components/imageobject.nl-D20hki6i.js +92 -0
  153. package/components/imageobject.nl-DQL45o0j.cjs +20 -0
  154. package/components/index.cjs +1 -1
  155. package/components/index.js +33 -25
  156. package/components/item-list.cjs +20 -0
  157. package/components/item-list.js +423 -0
  158. package/components/item-menu/item-list/item-list.d.ts +35 -0
  159. package/components/line-chart-slots.config-CIfDfftd.cjs +20 -0
  160. package/components/line-chart-slots.config-P7xa-pHi.js +52 -0
  161. package/components/line-chart.config-DBw4A3Rf.js +178 -0
  162. package/components/line-chart.config-cvwDhvSq.cjs +20 -0
  163. package/components/{localize-B6AsX_Zv.js → localize-BX7q0S0M.js} +16 -16
  164. package/components/localize-r7ALOUy_.cjs +20 -0
  165. package/components/marker-map-slots.config-CSxSsQwX.cjs +20 -0
  166. package/components/marker-map-slots.config-cdD8XTmI.js +39 -0
  167. package/components/ohlc-chart-slots.config-Cvy5n1xv.js +64 -0
  168. package/components/ohlc-chart-slots.config-DMomcHMV.cjs +20 -0
  169. package/components/parallel-coordinates-plot-slots.config-BRXA5nUl.cjs +20 -0
  170. package/components/parallel-coordinates-plot-slots.config-CQW2CJW6.js +44 -0
  171. package/components/pivot-table-slots.config-BH5fOJre.js +48 -0
  172. package/components/pivot-table-slots.config-DzGWM3Ez.cjs +20 -0
  173. package/components/pyramid-chart-slots.config-Cm9bQsXT.js +47 -0
  174. package/components/pyramid-chart-slots.config-DeWrVApy.cjs +20 -0
  175. package/components/radar-chart-slots.config-Dpmytmc3.js +47 -0
  176. package/components/radar-chart-slots.config-Dxx5fKnS.cjs +20 -0
  177. package/components/regular-table-slots.config-ChrvnRDb.cjs +20 -0
  178. package/components/regular-table-slots.config-EUS-V9lL.js +33 -0
  179. package/components/route-map-slots.config-BfbIWCr0.cjs +20 -0
  180. package/components/route-map-slots.config-DYCcaQZi.js +53 -0
  181. package/components/sankey-diagram-slots.config-B7Q-ZfUP.cjs +20 -0
  182. package/components/sankey-diagram-slots.config-BSTBEZDe.js +55 -0
  183. package/components/scatter-plot-slots.config-BuWYqDWK.js +70 -0
  184. package/components/scatter-plot-slots.config-wlX_PVu8.cjs +20 -0
  185. package/components/search-filter-slots.config-DOlr8VaD.cjs +20 -0
  186. package/components/search-filter-slots.config-DmiVXOva.js +47 -0
  187. package/components/{bar-chart.fr-DbxKiM0j.js → slicer-filter-slots.config-CHQ0ZXga.js} +21 -20
  188. package/components/slicer-filter-slots.config-Dyte3aGp.cjs +20 -0
  189. package/components/slider-filter-slots.config-BN3K1rnl.js +33 -0
  190. package/components/slider-filter-slots.config-Cr5oXbok.cjs +20 -0
  191. package/components/slot-configs.cjs +20 -0
  192. package/components/slot-configs.js +109 -0
  193. package/components/slot-menu/index.cjs +1 -1
  194. package/components/slot-menu/index.js +1 -1
  195. package/components/slot-menu-list/index.cjs +1 -1
  196. package/components/slot-menu-list/index.js +1 -1
  197. package/components/spacer.config-Br2Dm5Uv.js +23 -0
  198. package/components/spacer.config-mPXMR1CE.cjs +20 -0
  199. package/components/speedometer-chart-slots.config-Cd-nkNPm.cjs +20 -0
  200. package/components/speedometer-chart-slots.config-DA-ZAc5d.js +39 -0
  201. package/components/spike-map-slots.config-CuqpgkvN.js +46 -0
  202. package/components/spike-map-slots.config-Drga6_j0.cjs +20 -0
  203. package/components/strip-plot-slots.config-Co8ghEv8.js +40 -0
  204. package/components/strip-plot-slots.config-JvkKY5Ga.cjs +20 -0
  205. package/components/sunburst-chart-slots.config-C-_ganmv.cjs +20 -0
  206. package/components/sunburst-chart-slots.config-xwVdRiwS.js +40 -0
  207. package/components/symbol-map-slots.config-C5CKaVED.js +47 -0
  208. package/components/{bar-chart.fr-DGx9smEh.cjs → symbol-map-slots.config-DtW-3xkd.cjs} +1 -1
  209. package/components/text-slots.config-BMBEkf0O.cjs +20 -0
  210. package/components/text-slots.config-Hy5yNIAX.js +23 -0
  211. package/components/{textobject.config-DbAajFz8.cjs → textobject.config-BFB3rEmt.cjs} +1 -1
  212. package/components/textobject.config-DTDqt0ci.js +73 -0
  213. package/components/textobject.en-BQqHFc7M.js +38 -0
  214. package/components/textobject.en-LfsMtwo6.cjs +20 -0
  215. package/components/textobject.fr-B8x29grG.cjs +20 -0
  216. package/components/{donut-chart.nl-NMatXfhK.js → textobject.fr-VPJ3bDOM.js} +11 -12
  217. package/components/textobject.nl-DzglrI3i.cjs +20 -0
  218. package/components/{donut-chart.fr-DftPrKbG.js → textobject.nl-V03mmGmH.js} +11 -12
  219. package/components/treemap-chart-slots.config-C3bnHCyy.cjs +20 -0
  220. package/components/treemap-chart-slots.config-xLD22K9V.js +46 -0
  221. package/components/utils.cjs +1 -1
  222. package/components/utils.js +8 -1
  223. package/components/venn-diagram-slots.config-CpOPbUjs.cjs +20 -0
  224. package/components/venn-diagram-slots.config-DPmj71cR.js +48 -0
  225. package/components/video-slots.config-IpwUxDyU.js +23 -0
  226. package/components/video-slots.config-mPXMR1CE.cjs +20 -0
  227. package/components/videoobject.config-BBDHSf6_.cjs +20 -0
  228. package/components/videoobject.config-CbtNZAEK.js +135 -0
  229. package/components/wordcloud-chart-slots.config-BS4sOOHt.js +44 -0
  230. package/components/wordcloud-chart-slots.config-D7CiYopX.cjs +20 -0
  231. package/custom-elements.json +3309 -1832
  232. package/index.d.ts +2 -0
  233. package/package.json +21 -1
  234. package/utils/index.d.ts +3 -1
  235. package/components/bar-chart.config-B57geUzJ.cjs +0 -20
  236. package/components/column-chart.config-B57geUzJ.cjs +0 -20
  237. package/components/en-BByOeNuP.js +0 -1989
  238. package/components/en-BFGuvaVG.cjs +0 -228
  239. package/components/line-chart.config-BZcvfO2c.cjs +0 -20
  240. package/components/line-chart.config-CIVN6uLI.js +0 -115
  241. package/components/localize-DbobqcKs.cjs +0 -20
  242. package/generated/locales/de.d.ts +0 -82
  243. package/generated/locales/es.d.ts +0 -82
  244. package/generated/locales/fr.d.ts +0 -82
  245. package/generated/locales/nl.d.ts +0 -82
package/index.d.ts CHANGED
@@ -14,6 +14,7 @@ export * from './components/edit-option-color-picker';
14
14
  export * from './components/edit-option-multi-language-field';
15
15
  export * from './components/edit-option-number-field';
16
16
  export * from './components/edit-option-picker';
17
+ export * from './components/edit-option-position-picker';
17
18
  export * from './components/edit-option-positions-number-field';
18
19
  export * from './components/edit-option-radio-button-group';
19
20
  export * from './components/edit-option-slider';
@@ -21,3 +22,4 @@ export * from './components/edit-option-switch';
21
22
  export * from './components/edit-option-text-field';
22
23
  export * from './components/slot-menu';
23
24
  export * from './components/slot-menu-list';
25
+ export * from './utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luzmo/analytics-components-kit",
3
- "version": "1.0.1-alpha.10",
3
+ "version": "1.0.1-alpha.11",
4
4
  "type": "module",
5
5
  "main": "./components/index.js",
6
6
  "module": "./components/index.js",
@@ -91,6 +91,11 @@
91
91
  "import": "./components/edit-option-picker/index.js",
92
92
  "require": "./components/edit-option-picker/index.cjs"
93
93
  },
94
+ "./edit-option-position-picker": {
95
+ "types": "./components/edit-option-position-picker/index.d.ts",
96
+ "import": "./components/edit-option-position-picker/index.js",
97
+ "require": "./components/edit-option-position-picker/index.cjs"
98
+ },
94
99
  "./edit-option-positions-number-field": {
95
100
  "types": "./components/edit-option-positions-number-field/index.d.ts",
96
101
  "import": "./components/edit-option-positions-number-field/index.js",
@@ -126,10 +131,25 @@
126
131
  "import": "./components/slot-menu-list/index.js",
127
132
  "require": "./components/slot-menu-list/index.cjs"
128
133
  },
134
+ "./item-slots-configs": {
135
+ "types": "./components/item-slots-configs/index.d.ts",
136
+ "import": "./components/item-slots-configs/index.js",
137
+ "require": "./components/item-slots-configs/index.cjs"
138
+ },
129
139
  "./utils": {
130
140
  "types": "./utils/index.d.ts",
131
141
  "import": "./components/utils.js",
132
142
  "require": "./components/utils.cjs"
143
+ },
144
+ "./slots-configs": {
145
+ "types": "./components/droppable-slot/item-slots-configs/index.d.ts",
146
+ "import": "./components/item-slots-configs.js",
147
+ "require": "./components/item-slots-configs.cjs"
148
+ },
149
+ "./item-list": {
150
+ "types": "./components/item-list/index.d.ts",
151
+ "import": "./components/item-list.js",
152
+ "require": "./components/item-list.cjs"
133
153
  }
134
154
  },
135
155
  "keywords": [
package/utils/index.d.ts CHANGED
@@ -1 +1,3 @@
1
- export {};
1
+ export { decomposeNumericFormat } from './formatter/decompose-numeric-format';
2
+ export { formatter } from './formatter/formatter';
3
+ export { localize } from './formatter/localize';
@@ -1,20 +0,0 @@
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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=(e,o)=>{var r,n,l,a;if(o&&o.length>0)return((n=(r=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="legend"))==null?void 0:r.content)==null?void 0:n.length)>0||((a=(l=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="measure"))==null?void 0:l.content)==null?void 0:a.length)>1},t=(e,o)=>{var r,n,l,a;if(o&&o.length>0)return((n=(r=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="legend"))==null?void 0:r.content)==null?void 0:n.length)===0&&((a=(l=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="measure"))==null?void 0:l.content)==null?void 0:a.length)<=1},u=[{key:"general",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",default:"grouped",enum:["grouped","stacked","100"]},visibleIf:c},{type:"divider",visibleIf:c},{key:"display.title",control:{type:"switch",default:!0}},{key:"display.legend",control:{type:"switch",default:!0},visibleIf:c},{key:"display.modeOption",control:{type:"switch",default:!1},visibleIf:c},{key:"bars.label",control:{type:"picker",default:"none",enum:["none","percentage","percentageLegend","percentageCategory","percentageMax"]}},{key:"categories.colored",control:{type:"switch",default:!1},visibleIf:t},{key:"bars.roundedCorners",control:{type:"slider",default:(e,o,r)=>{var n;return(n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding},min:0,max:20,step:1,extraLabel:(e,o,r)=>{var n;if(typeof((n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding)=="number")return typeof e.bars.roundedCorners!="number"?"auto":"reset"},extraLabelHasClickAction:(e,o,r)=>{var n;return!(typeof((n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding)!="number"||typeof e.bars.roundedCorners!="number")},extraLabelClickAction:(e,o,r)=>{const n={...e};return delete n.bars.roundedCorners,{value:null,options:n}}}},{key:"color",control:{type:"color-picker",default:(e,o,r)=>{var n;return(r==null?void 0:r.mainColor)??((n=r==null?void 0:r.colors)==null?void 0:n[0])},extraLabel:(e,o,r)=>{var l;const n=(r==null?void 0:r.mainColor)??((l=r==null?void 0:r.colors)==null?void 0:l[0]);if(n&&e.color!==n)return"reset"},extraLabelHasClickAction:(e,o,r)=>{var l;const n=(r==null?void 0:r.mainColor)??((l=r==null?void 0:r.colors)==null?void 0:l[0]);return!!(n&&e.color!==n)},extraLabelClickAction:(e,o,r)=>{var l;const n={...e};return n.color=(r==null?void 0:r.mainColor)??((l=r==null?void 0:r.colors)==null?void 0:l[0]),{value:n.color,options:n}}},visibleIf:t}]}];exports.default=u;
@@ -1,20 +0,0 @@
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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=(e,o)=>{var r,n,l,a;if(o&&o.length>0)return((n=(r=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="legend"))==null?void 0:r.content)==null?void 0:n.length)>0||((a=(l=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="measure"))==null?void 0:l.content)==null?void 0:a.length)>1},t=(e,o)=>{var r,n,l,a;if(o&&o.length>0)return((n=(r=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="legend"))==null?void 0:r.content)==null?void 0:n.length)===0&&((a=(l=o==null?void 0:o.find(i=>(i==null?void 0:i.name)==="measure"))==null?void 0:l.content)==null?void 0:a.length)<=1},u=[{key:"general",type:"group",open:!0,children:[{key:"mode",control:{type:"picker",default:"grouped",enum:["grouped","stacked","100"]},visibleIf:c},{type:"divider",visibleIf:c},{key:"display.title",control:{type:"switch",default:!0}},{key:"display.legend",control:{type:"switch",default:!0},visibleIf:c},{key:"display.modeOption",control:{type:"switch",default:!1},visibleIf:c},{key:"bars.label",control:{type:"picker",default:"none",enum:["none","percentage","percentageLegend","percentageCategory","percentageMax"]}},{key:"categories.colored",control:{type:"switch",default:!1},visibleIf:t},{key:"bars.roundedCorners",control:{type:"slider",default:(e,o,r)=>{var n;return(n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding},min:0,max:20,step:1,extraLabel:(e,o,r)=>{var n;if(typeof((n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding)=="number")return typeof e.bars.roundedCorners!="number"?"auto":"reset"},extraLabelHasClickAction:(e,o,r)=>{var n;return!(typeof((n=r==null?void 0:r.itemSpecific)==null?void 0:n.rounding)!="number"||typeof e.bars.roundedCorners!="number")},extraLabelClickAction:(e,o,r)=>{const n={...e};return delete n.bars.roundedCorners,{value:null,options:n}}}},{key:"color",control:{type:"color-picker",default:(e,o,r)=>{var n;return(r==null?void 0:r.mainColor)??((n=r==null?void 0:r.colors)==null?void 0:n[0])},extraLabel:(e,o,r)=>{var l;const n=(r==null?void 0:r.mainColor)??((l=r==null?void 0:r.colors)==null?void 0:l[0]);if(n&&e.color!==n)return"reset"},extraLabelHasClickAction:(e,o,r)=>{var l;const n=(r==null?void 0:r.mainColor)??((l=r==null?void 0:r.colors)==null?void 0:l[0]);return!!(n&&e.color!==n)},extraLabelClickAction:(e,o,r)=>{var l;const n={...e};return n.color=(r==null?void 0:r.mainColor)??((l=r==null?void 0:r.colors)==null?void 0:l[0]),{value:n.color,options:n}}},visibleIf:t}]}];exports.default=u;