@luzmo/analytics-components-kit 1.1.1 → 1.3.0

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 (220) hide show
  1. package/README.md +10 -2
  2. package/angular/components/interactive-viz-item.ts +41 -4
  3. package/angular/components/item-option-color-picker.ts +30 -3
  4. package/angular/components/item-option-color-range.ts +30 -3
  5. package/angular/components/item-option-guidelines.ts +31 -4
  6. package/angular/components/item-option-panel.ts +41 -4
  7. package/angular/components/item-option-slider.ts +41 -4
  8. package/angular/components/item-option.ts +41 -4
  9. package/angular/esm/components/interactive-viz-item.d.ts +14 -5
  10. package/angular/esm/components/interactive-viz-item.js +30 -4
  11. package/angular/esm/components/item-option-color-picker.d.ts +11 -4
  12. package/angular/esm/components/item-option-color-picker.js +23 -3
  13. package/angular/esm/components/item-option-color-range.d.ts +11 -4
  14. package/angular/esm/components/item-option-color-range.js +23 -3
  15. package/angular/esm/components/item-option-guidelines.d.ts +11 -4
  16. package/angular/esm/components/item-option-guidelines.js +24 -4
  17. package/angular/esm/components/item-option-panel.d.ts +13 -4
  18. package/angular/esm/components/item-option-panel.js +30 -4
  19. package/angular/esm/components/item-option-slider.d.ts +13 -4
  20. package/angular/esm/components/item-option-slider.js +30 -4
  21. package/angular/esm/components/item-option.d.ts +13 -4
  22. package/angular/esm/components/item-option.js +30 -4
  23. package/angular/package.json +2 -2
  24. package/angular/utils/option-interaction/index.d.ts +2 -0
  25. package/angular/utils/option-interaction/is-same-option-value.d.ts +10 -0
  26. package/angular/utils/option-interaction/option-interaction-controller.d.ts +54 -0
  27. package/angular/utils/option-interaction/tests/option-interaction-controller.test.d.ts +1 -0
  28. package/angular/utils/store/base-store.d.ts +9 -0
  29. package/angular/utils/store/tests/store-base-history.test.d.ts +1 -0
  30. package/components/add-to-dashboard/index.cjs +1 -1
  31. package/components/add-to-dashboard/index.js +1 -1
  32. package/components/{add-to-dashboard-NwsCPIlg.cjs → add-to-dashboard-CzIuDtAq.cjs} +1 -1
  33. package/components/{add-to-dashboard-NcVHlqrc.js → add-to-dashboard-DGC0_hRB.js} +1 -1
  34. package/components/{base-store-SgJsjLap.cjs → base-store-D3whjduR.cjs} +1 -1
  35. package/components/{base-store-g0dt7ru7.js → base-store-DQYj8A1W.js} +3 -0
  36. package/components/{chart-helpers-Dng_LGfq.js → chart-helpers-Cbl3sRra.js} +3 -2
  37. package/components/chart-helpers-fMnqHRzC.cjs +20 -0
  38. package/components/{choropleth-map-options.config-D9-u-NwX.js → choropleth-map-options.config-Blu0Z2tR.js} +1 -1
  39. package/components/{choropleth-map-options.config-CXDGMiSJ.cjs → choropleth-map-options.config-DwFJ00CS.cjs} +1 -1
  40. package/components/{color-range-utils-CUCTsRXM.js → color-range-utils-CgwRGUkg.js} +18 -18
  41. package/components/{color-range-utils-BCFQAeY1.cjs → color-range-utils-D8uygiMe.cjs} +1 -1
  42. package/components/{heat-map-options.config-ChZeslEy.js → heat-map-options.config-BQkhkLPb.js} +16 -16
  43. package/components/{heat-map-options.config-DiNa8NnG.cjs → heat-map-options.config-DjQkB039.cjs} +1 -1
  44. package/components/{heat-table-options.config-BPCszrFn.js → heat-table-options.config-CMWWTeyo.js} +1 -1
  45. package/components/{heat-table-options.config-BvE6coaV.cjs → heat-table-options.config-D21xtaIk.cjs} +1 -1
  46. package/components/index.cjs +1 -1
  47. package/components/index.js +9 -9
  48. package/components/interactive-viz-item/index.cjs +1 -1
  49. package/components/interactive-viz-item/index.d.ts +2 -1
  50. package/components/interactive-viz-item/index.js +2 -2
  51. package/components/interactive-viz-item/interactive-viz-item.d.ts +34 -2
  52. package/components/interactive-viz-item/types.d.ts +17 -0
  53. package/components/{interactive-viz-item-CofUkpP6.js → interactive-viz-item-BKLOmawA.js} +166 -100
  54. package/components/interactive-viz-item-ojdH1uk0.cjs +268 -0
  55. package/components/is-same-option-value-B2oyvEqT.js +42 -0
  56. package/components/is-same-option-value-Cf6BQcs7.cjs +20 -0
  57. package/components/item-option/helpers/control-markup.d.ts +7 -0
  58. package/components/item-option/index.cjs +1 -1
  59. package/components/item-option/index.d.ts +1 -1
  60. package/components/item-option/index.js +1 -1
  61. package/components/item-option/item-option.d.ts +23 -2
  62. package/components/item-option/types.d.ts +19 -0
  63. package/components/{item-option-Cgx3c08E.js → item-option-DKLRnicU.js} +182 -136
  64. package/components/item-option-DpLdospV.cjs +285 -0
  65. package/components/item-option-color-picker/index.cjs +1 -1
  66. package/components/item-option-color-picker/index.d.ts +1 -1
  67. package/components/item-option-color-picker/index.js +1 -1
  68. package/components/item-option-color-picker/item-option-color-picker.d.ts +17 -1
  69. package/components/item-option-color-picker-CNW7GsCO.cjs +37 -0
  70. package/components/item-option-color-picker-DDvsY7hV.js +129 -0
  71. package/components/item-option-color-range/index.cjs +1 -1
  72. package/components/item-option-color-range/index.d.ts +1 -1
  73. package/components/item-option-color-range/index.js +1 -1
  74. package/components/item-option-color-range/item-option-color-range.d.ts +20 -1
  75. package/components/item-option-color-range-BqSbuSZh.cjs +101 -0
  76. package/components/item-option-color-range-FQduqtz3.js +265 -0
  77. package/components/item-option-guidelines/index.cjs +1 -1
  78. package/components/item-option-guidelines/index.d.ts +1 -1
  79. package/components/item-option-guidelines/index.js +1 -1
  80. package/components/item-option-guidelines/item-option-guidelines.d.ts +16 -1
  81. package/components/{item-option-guidelines-DNJevmVD.js → item-option-guidelines-k5DwMONo.js} +132 -104
  82. package/components/item-option-guidelines-z9BsGR-l.cjs +138 -0
  83. package/components/item-option-panel/index.cjs +1 -1
  84. package/components/item-option-panel/index.d.ts +1 -1
  85. package/components/item-option-panel/index.js +1 -1
  86. package/components/item-option-panel/item-option-panel.d.ts +12 -1
  87. package/components/{item-option-panel-DHdnisRb.js → item-option-panel-BLXWIbjX.js} +18 -6
  88. package/components/{item-option-panel-Dl3aYBNe.cjs → item-option-panel-CU51qvgV.cjs} +6 -4
  89. package/components/item-option-slider/index.cjs +1 -1
  90. package/components/item-option-slider/index.d.ts +1 -1
  91. package/components/item-option-slider/index.js +1 -1
  92. package/components/item-option-slider/item-option-slider.d.ts +15 -2
  93. package/components/item-option-slider-BKtJfL3D.js +119 -0
  94. package/components/item-option-slider-Kz2eFBql.cjs +36 -0
  95. package/components/item-options-configs.cjs +1 -1
  96. package/components/item-options-configs.js +5 -5
  97. package/components/option-interaction-controller-B8S1N_Oo.js +90 -0
  98. package/components/option-interaction-controller-D0U-CTpZ.cjs +20 -0
  99. package/components/{route-map-options.config-DdCaVtIF.cjs → route-map-options.config-DER6ENky.cjs} +1 -1
  100. package/components/{route-map-options.config-B7vT6KG_.js → route-map-options.config-DTcS47fW.js} +1 -1
  101. package/components/{spike-map-options.config-DkmRZ1JZ.js → spike-map-options.config-CPYfKWoF.js} +1 -1
  102. package/components/{spike-map-options.config-B3hDh2qU.cjs → spike-map-options.config-DeF1Whq5.cjs} +1 -1
  103. package/components/utils/store.cjs +1 -1
  104. package/components/utils/store.js +1 -1
  105. package/custom-elements.json +418 -104
  106. package/package.json +2 -2
  107. package/react/components/interactive-viz-item.component.ts +11 -2
  108. package/react/components/item-option-color-picker.component.ts +9 -3
  109. package/react/components/item-option-color-range.component.ts +9 -3
  110. package/react/components/item-option-guidelines.component.ts +9 -3
  111. package/react/components/item-option-panel.component.ts +12 -3
  112. package/react/components/item-option-slider.component.ts +12 -3
  113. package/react/components/item-option.component.ts +12 -3
  114. package/react/esm/components/interactive-viz-item.component.d.ts +8 -2
  115. package/react/esm/components/interactive-viz-item.component.js +7 -1
  116. package/react/esm/components/item-option-color-picker.component.d.ts +6 -2
  117. package/react/esm/components/item-option-color-picker.component.js +6 -2
  118. package/react/esm/components/item-option-color-range.component.d.ts +6 -2
  119. package/react/esm/components/item-option-color-range.component.js +6 -2
  120. package/react/esm/components/item-option-guidelines.component.d.ts +6 -2
  121. package/react/esm/components/item-option-guidelines.component.js +6 -2
  122. package/react/esm/components/item-option-panel.component.d.ts +8 -2
  123. package/react/esm/components/item-option-panel.component.js +8 -2
  124. package/react/esm/components/item-option-slider.component.d.ts +8 -2
  125. package/react/esm/components/item-option-slider.component.js +8 -2
  126. package/react/esm/components/item-option.component.d.ts +8 -2
  127. package/react/esm/components/item-option.component.js +8 -2
  128. package/react/luzmo-stub.d.ts +7 -0
  129. package/react/package.json +2 -2
  130. package/standalone/add-to-dashboard.js +40 -40
  131. package/standalone/chunks/{chart-helpers-DsIGsaDc.js → chart-helpers-CR-EUEPf.js} +2 -2
  132. package/standalone/chunks/{choropleth-map-options.config-Cs4Kvr9h.js → choropleth-map-options.config-CDMjKnJD.js} +1 -1
  133. package/standalone/chunks/{color-range-utils-CKDpd3gZ.js → color-range-utils-BVyHBRiq.js} +1 -1
  134. package/standalone/chunks/de-BkB0q1Eg.js +2 -0
  135. package/standalone/chunks/display-settings-binning-BeLLxd3i.js +38 -0
  136. package/standalone/chunks/display-settings-datetime-BkeiKIVV.js +199 -0
  137. package/standalone/chunks/display-settings-grand-totals-BuhpQKJ6.js +26 -0
  138. package/standalone/chunks/display-settings-numeric-m30IYI7I.js +172 -0
  139. package/standalone/chunks/display-settings-period-over-period-CqDlOSRn.js +209 -0
  140. package/standalone/chunks/embed-Bv1ps-EM.js +260 -0
  141. package/standalone/chunks/en-63f7j4v7.js +2 -0
  142. package/standalone/chunks/en-GB-QAmXQf8W.js +2 -0
  143. package/standalone/chunks/en-US-63f7j4v7.js +2 -0
  144. package/standalone/chunks/es-Bo0jStZn.js +2 -0
  145. package/standalone/chunks/{filters-DKgJcQGP.js → filters-CxgBXUF1.js} +61 -61
  146. package/standalone/chunks/{formula-codemirror-BbyvNEVD.js → formula-codemirror-Cq94j3-f.js} +17 -17
  147. package/standalone/chunks/fr-Co_qVhhV.js +2 -0
  148. package/standalone/chunks/{heat-map-options.config-DF5kjOOe.js → heat-map-options.config-DDQMD38W.js} +1 -1
  149. package/standalone/chunks/{heat-table-options.config-DaePzfHG.js → heat-table-options.config-B4K0Ygug.js} +1 -1
  150. package/standalone/chunks/is-same-option-value-7kXNF4st.js +2 -0
  151. package/standalone/chunks/item-option-action-button-group-BoyqF9vt.js +35 -0
  152. package/standalone/chunks/item-option-base-CBcDT8MX.js +38 -0
  153. package/standalone/chunks/item-option-color-palette-picker-C9PGAv4V.js +22 -0
  154. package/standalone/chunks/item-option-color-picker-D4fVJlqF.js +19 -0
  155. package/standalone/chunks/item-option-color-range-BlAdTguE.js +83 -0
  156. package/standalone/chunks/item-option-guidelines-DMsYsHDu.js +120 -0
  157. package/standalone/chunks/{item-option-multi-language-field-DPPpN2qg.js → item-option-multi-language-field-NUbm1drg.js} +1 -1
  158. package/standalone/chunks/{item-option-number-field-CkqJjInE.js → item-option-number-field-DRp7kbHL.js} +1 -1
  159. package/standalone/chunks/item-option-panel-cXrRclzM.js +316 -0
  160. package/standalone/chunks/{item-option-picker-BnwQPT9A.js → item-option-picker-Ba09L4Cs.js} +1 -1
  161. package/standalone/chunks/item-option-position-picker-GEGTnhjw.js +14 -0
  162. package/standalone/chunks/item-option-positions-number-field-n44s1k5v.js +31 -0
  163. package/standalone/chunks/{item-option-radio-button-group-BkymJq3E.js → item-option-radio-button-group-3s_b1NvR.js} +1 -1
  164. package/standalone/chunks/item-option-slider-DtY65Gxk.js +18 -0
  165. package/standalone/chunks/item-option-switch-4sJaI0mx.js +12 -0
  166. package/standalone/chunks/{item-option-text-field-D7bkuhsv.js → item-option-text-field-Bt6Lj6kh.js} +1 -1
  167. package/standalone/chunks/{item-slot-picker-panel-D4BMxGs9.js → item-slot-picker-panel-BOSVFBIy.js} +43 -43
  168. package/standalone/chunks/load-data-fields-for-datasets-CDlut-6S.js +25 -0
  169. package/standalone/chunks/localized-decorator-DosMCCQo.js +2 -0
  170. package/standalone/chunks/{version-BW4Ixl63.js → localized-mixin-BWJj88bd.js} +1 -1
  171. package/standalone/chunks/nl-CQz2jrVx.js +2 -0
  172. package/standalone/chunks/option-interaction-controller-BuwRr21c.js +2 -0
  173. package/standalone/chunks/{route-map-options.config-D7FfzIiU.js → route-map-options.config-CGBkHnhM.js} +1 -1
  174. package/standalone/chunks/{spike-map-options.config-CZiFzDm9.js → spike-map-options.config-CSenlJ_F.js} +1 -1
  175. package/standalone/interactive-viz-item.js +62 -55
  176. package/standalone/item-grid.js +10 -10
  177. package/standalone/manifest.json +44 -43
  178. package/utils/option-interaction/index.d.ts +2 -0
  179. package/utils/option-interaction/is-same-option-value.d.ts +10 -0
  180. package/utils/option-interaction/option-interaction-controller.d.ts +54 -0
  181. package/utils/option-interaction/tests/option-interaction-controller.test.d.ts +1 -0
  182. package/utils/store/base-store.d.ts +9 -0
  183. package/utils/store/tests/store-base-history.test.d.ts +1 -0
  184. package/components/chart-helpers-ufZ6VbXs.cjs +0 -20
  185. package/components/interactive-viz-item-D537mo3l.cjs +0 -261
  186. package/components/item-option-CqGDFdPj.cjs +0 -269
  187. package/components/item-option-color-picker-BpPoOO2b.cjs +0 -34
  188. package/components/item-option-color-picker-cojuCvu5.js +0 -84
  189. package/components/item-option-color-range-CMBEx1fi.cjs +0 -98
  190. package/components/item-option-color-range-Dt7Bv06p.js +0 -217
  191. package/components/item-option-guidelines-Beh0DlG0.cjs +0 -135
  192. package/components/item-option-slider-Bo5vs6nr.js +0 -89
  193. package/components/item-option-slider-CyWKWr5D.cjs +0 -33
  194. package/standalone/chunks/color-7IgCGZKz.js +0 -2
  195. package/standalone/chunks/de-mdZT2W1G.js +0 -2
  196. package/standalone/chunks/display-settings-binning-Byffw2Kl.js +0 -38
  197. package/standalone/chunks/display-settings-datetime-CD52d6Sv.js +0 -199
  198. package/standalone/chunks/display-settings-grand-totals-Cky99LX9.js +0 -26
  199. package/standalone/chunks/display-settings-numeric-C9ea7Tgc.js +0 -172
  200. package/standalone/chunks/display-settings-period-over-period-BLSGumkD.js +0 -209
  201. package/standalone/chunks/embed-BfHBKhIe.js +0 -231
  202. package/standalone/chunks/en-CSboh17P.js +0 -2
  203. package/standalone/chunks/en-GB-HoXKQBOY.js +0 -2
  204. package/standalone/chunks/en-US-CSboh17P.js +0 -2
  205. package/standalone/chunks/es-Di5D8JFd.js +0 -2
  206. package/standalone/chunks/fr-DZku7iB9.js +0 -2
  207. package/standalone/chunks/item-option-action-button-group-BEAwPHVw.js +0 -35
  208. package/standalone/chunks/item-option-base-CRUxNhJQ.js +0 -38
  209. package/standalone/chunks/item-option-color-palette-picker-CBz61iZb.js +0 -22
  210. package/standalone/chunks/item-option-color-picker-Cr7ujQNO.js +0 -16
  211. package/standalone/chunks/item-option-color-range-CyJd1LZ_.js +0 -80
  212. package/standalone/chunks/item-option-guidelines-6NjpzS6b.js +0 -117
  213. package/standalone/chunks/item-option-panel-VxvWU56c.js +0 -298
  214. package/standalone/chunks/item-option-position-picker-Bkc4JvJX.js +0 -14
  215. package/standalone/chunks/item-option-positions-number-field-Dr_315TE.js +0 -31
  216. package/standalone/chunks/item-option-slider-l9wt7_0c.js +0 -15
  217. package/standalone/chunks/item-option-switch-DeihDHhM.js +0 -12
  218. package/standalone/chunks/load-data-fields-for-datasets-ClctSj6y.js +0 -25
  219. package/standalone/chunks/localized-decorator-DJVBmJVH.js +0 -2
  220. package/standalone/chunks/nl-CViTevL3.js +0 -2
@@ -14258,6 +14258,110 @@
14258
14258
  "name": "chart-actions-extra"
14259
14259
  }
14260
14260
  ],
14261
+ "members": [
14262
+ {
14263
+ "kind": "method",
14264
+ "name": "endInteraction",
14265
+ "return": {
14266
+ "type": {
14267
+ "text": "void"
14268
+ }
14269
+ },
14270
+ "description": "Ends open option gestures in the config panel now, keeping their values. Call before swapping `chart` or removing the element."
14271
+ },
14272
+ {
14273
+ "kind": "field",
14274
+ "name": "language",
14275
+ "type": {
14276
+ "text": "string"
14277
+ },
14278
+ "default": "'en'",
14279
+ "description": "The language for UI labels.\nSupported values: 'en', 'nl', 'fr', 'de', 'es'",
14280
+ "attribute": "language",
14281
+ "reflects": true,
14282
+ "inheritedFrom": {
14283
+ "name": "LocalizedMixin",
14284
+ "module": "src/utils/base/localized-mixin.ts"
14285
+ }
14286
+ },
14287
+ {
14288
+ "kind": "method",
14289
+ "name": "_syncLocale",
14290
+ "privacy": "private",
14291
+ "return": {
14292
+ "type": {
14293
+ "text": "void"
14294
+ }
14295
+ },
14296
+ "inheritedFrom": {
14297
+ "name": "LocalizedMixin",
14298
+ "module": "src/utils/base/localized-mixin.ts"
14299
+ }
14300
+ },
14301
+ {
14302
+ "kind": "field",
14303
+ "name": "shadowRoot",
14304
+ "type": {
14305
+ "text": "ShadowRoot"
14306
+ },
14307
+ "privacy": "private",
14308
+ "inheritedFrom": {
14309
+ "name": "LuzmoMixin",
14310
+ "module": "src/utils/base/base.ts"
14311
+ }
14312
+ },
14313
+ {
14314
+ "kind": "field",
14315
+ "name": "_dirParent",
14316
+ "type": {
14317
+ "text": "HTMLElement | undefined"
14318
+ },
14319
+ "privacy": "private",
14320
+ "inheritedFrom": {
14321
+ "name": "LuzmoMixin",
14322
+ "module": "src/utils/base/base.ts"
14323
+ }
14324
+ },
14325
+ {
14326
+ "kind": "field",
14327
+ "name": "dir",
14328
+ "type": {
14329
+ "text": "'ltr' | 'rtl'"
14330
+ },
14331
+ "privacy": "private",
14332
+ "inheritedFrom": {
14333
+ "name": "LuzmoMixin",
14334
+ "module": "src/utils/base/base.ts"
14335
+ }
14336
+ },
14337
+ {
14338
+ "kind": "field",
14339
+ "name": "isLTR",
14340
+ "type": {
14341
+ "text": "boolean"
14342
+ },
14343
+ "privacy": "private",
14344
+ "readonly": true,
14345
+ "inheritedFrom": {
14346
+ "name": "LuzmoMixin",
14347
+ "module": "src/utils/base/base.ts"
14348
+ }
14349
+ },
14350
+ {
14351
+ "kind": "method",
14352
+ "name": "hasVisibleFocusInTree",
14353
+ "privacy": "public",
14354
+ "return": {
14355
+ "type": {
14356
+ "text": "boolean"
14357
+ }
14358
+ },
14359
+ "inheritedFrom": {
14360
+ "name": "LuzmoMixin",
14361
+ "module": "src/utils/base/base.ts"
14362
+ }
14363
+ }
14364
+ ],
14261
14365
  "events": [
14262
14366
  {
14263
14367
  "type": {
@@ -14270,9 +14374,30 @@
14270
14374
  "type": {
14271
14375
  "text": "CustomEvent<InteractiveVizItemChartChangedEventDetail>"
14272
14376
  },
14273
- "description": "Fired when the config panel changes slots, filters, or options (full chart). Applied to `chart` first unless `controlled` is set.",
14377
+ "description": "Fired when the config panel changes slots, filters, or options (full chart). Applied to `chart` first unless `controlled` is set. With `live-interactions`, option updates inside a gesture carry `interaction`.",
14274
14378
  "name": "luzmo-chart-changed"
14275
14379
  },
14380
+ {
14381
+ "type": {
14382
+ "text": "CustomEvent<InteractiveVizItemInteractionEventDetail>"
14383
+ },
14384
+ "description": "With `live-interactions`: an option drag or held key in the config panel first changed its value, right before that `luzmo-chart-changed`; `detail.optionKey` names the option and `detail.chart` is the chart it started on.",
14385
+ "name": "luzmo-option-interaction-start"
14386
+ },
14387
+ {
14388
+ "type": {
14389
+ "text": "CustomEvent<InteractiveVizItemInteractionEventDetail>"
14390
+ },
14391
+ "description": "With `live-interactions`: the gesture ended, after its last `luzmo-chart-changed`. `detail.changed` is false when the value is back at its start; `detail.chart` is still the chart it started on.",
14392
+ "name": "luzmo-option-interaction-end"
14393
+ },
14394
+ {
14395
+ "type": {
14396
+ "text": "CustomEvent<InteractiveVizItemInteractionEventDetail>"
14397
+ },
14398
+ "description": "With `live-interactions`: the gesture was cancelled and the control reverted to its start value.",
14399
+ "name": "luzmo-option-interaction-cancel"
14400
+ },
14276
14401
  {
14277
14402
  "type": {
14278
14403
  "text": "CustomEvent<InteractiveVizItemFeedbackChangedEventDetail>"
@@ -14319,7 +14444,7 @@
14319
14444
  "text": "FlexChartConfig | null"
14320
14445
  },
14321
14446
  "default": "null",
14322
- "description": "Loose chart config (type, options, slots, filters); slots may use the keyed-object form.",
14447
+ "description": "Loose chart config (type, options, slots, filters, inlineData); slots may use the keyed-object form.",
14323
14448
  "fieldName": "chart"
14324
14449
  },
14325
14450
  {
@@ -14421,6 +14546,15 @@
14421
14546
  "description": "When present, chart changes are only emitted and the host sets `chart`; otherwise they are applied here and still emitted.",
14422
14547
  "fieldName": "controlled"
14423
14548
  },
14549
+ {
14550
+ "name": "live-interactions",
14551
+ "type": {
14552
+ "text": "boolean"
14553
+ },
14554
+ "default": "false",
14555
+ "description": "Applies and emits option changes live while a control is dragged or a key is held, without debounce, and\nforwards `luzmo-option-interaction-*` events. Off by default.",
14556
+ "fieldName": "liveInteractions"
14557
+ },
14424
14558
  {
14425
14559
  "name": "size",
14426
14560
  "type": {
@@ -14455,101 +14589,7 @@
14455
14589
  "module": "/src/utils/base"
14456
14590
  },
14457
14591
  "tagName": "luzmo-interactive-viz-item",
14458
- "customElement": true,
14459
- "members": [
14460
- {
14461
- "kind": "field",
14462
- "name": "language",
14463
- "type": {
14464
- "text": "string"
14465
- },
14466
- "default": "'en'",
14467
- "description": "The language for UI labels.\nSupported values: 'en', 'nl', 'fr', 'de', 'es'",
14468
- "attribute": "language",
14469
- "reflects": true,
14470
- "inheritedFrom": {
14471
- "name": "LocalizedMixin",
14472
- "module": "src/utils/base/localized-mixin.ts"
14473
- }
14474
- },
14475
- {
14476
- "kind": "method",
14477
- "name": "_syncLocale",
14478
- "privacy": "private",
14479
- "return": {
14480
- "type": {
14481
- "text": "void"
14482
- }
14483
- },
14484
- "inheritedFrom": {
14485
- "name": "LocalizedMixin",
14486
- "module": "src/utils/base/localized-mixin.ts"
14487
- }
14488
- },
14489
- {
14490
- "kind": "field",
14491
- "name": "shadowRoot",
14492
- "type": {
14493
- "text": "ShadowRoot"
14494
- },
14495
- "privacy": "private",
14496
- "inheritedFrom": {
14497
- "name": "LuzmoMixin",
14498
- "module": "src/utils/base/base.ts"
14499
- }
14500
- },
14501
- {
14502
- "kind": "field",
14503
- "name": "_dirParent",
14504
- "type": {
14505
- "text": "HTMLElement | undefined"
14506
- },
14507
- "privacy": "private",
14508
- "inheritedFrom": {
14509
- "name": "LuzmoMixin",
14510
- "module": "src/utils/base/base.ts"
14511
- }
14512
- },
14513
- {
14514
- "kind": "field",
14515
- "name": "dir",
14516
- "type": {
14517
- "text": "'ltr' | 'rtl'"
14518
- },
14519
- "privacy": "private",
14520
- "inheritedFrom": {
14521
- "name": "LuzmoMixin",
14522
- "module": "src/utils/base/base.ts"
14523
- }
14524
- },
14525
- {
14526
- "kind": "field",
14527
- "name": "isLTR",
14528
- "type": {
14529
- "text": "boolean"
14530
- },
14531
- "privacy": "private",
14532
- "readonly": true,
14533
- "inheritedFrom": {
14534
- "name": "LuzmoMixin",
14535
- "module": "src/utils/base/base.ts"
14536
- }
14537
- },
14538
- {
14539
- "kind": "method",
14540
- "name": "hasVisibleFocusInTree",
14541
- "privacy": "public",
14542
- "return": {
14543
- "type": {
14544
- "text": "boolean"
14545
- }
14546
- },
14547
- "inheritedFrom": {
14548
- "name": "LuzmoMixin",
14549
- "module": "src/utils/base/base.ts"
14550
- }
14551
- }
14552
- ]
14592
+ "customElement": true
14553
14593
  }
14554
14594
  ],
14555
14595
  "exports": [
@@ -14634,6 +14674,14 @@
14634
14674
  }
14635
14675
  ],
14636
14676
  "exports": [
14677
+ {
14678
+ "kind": "js",
14679
+ "name": "InlineData",
14680
+ "declaration": {
14681
+ "name": "InlineData",
14682
+ "module": "src/components/interactive-viz-item/types.ts"
14683
+ }
14684
+ },
14637
14685
  {
14638
14686
  "kind": "js",
14639
14687
  "name": "DEFAULT_RANKING_NUMBER",
@@ -16295,6 +16343,17 @@
16295
16343
  "attribute": "size",
16296
16344
  "reflects": true
16297
16345
  },
16346
+ {
16347
+ "kind": "field",
16348
+ "name": "liveInteractions",
16349
+ "type": {
16350
+ "text": "boolean"
16351
+ },
16352
+ "default": "false",
16353
+ "description": "Emits options updates live, without the control's debounce, plus `luzmo-option-interaction-*` events\naround drags and held keys. Off by default.",
16354
+ "attribute": "live-interactions",
16355
+ "reflects": true
16356
+ },
16298
16357
  {
16299
16358
  "kind": "field",
16300
16359
  "name": "_controlTypeLoaded",
@@ -16359,6 +16418,16 @@
16359
16418
  "name": "changedOptions",
16360
16419
  "description": "Callback that updates `options` and emits `luzmo-options-changed`; used internally by the rendered control."
16361
16420
  },
16421
+ {
16422
+ "kind": "method",
16423
+ "name": "endInteraction",
16424
+ "return": {
16425
+ "type": {
16426
+ "text": "void"
16427
+ }
16428
+ },
16429
+ "description": "Ends the control's open gesture now, keeping its value. Call before removing or rebinding the element."
16430
+ },
16362
16431
  {
16363
16432
  "kind": "field",
16364
16433
  "name": "shadowRoot",
@@ -16428,8 +16497,29 @@
16428
16497
  "type": {
16429
16498
  "text": "CustomEvent<ItemOptionsChangedEventDetail>"
16430
16499
  },
16431
- "description": "Announces that the `options` of the element have changed",
16500
+ "description": "Announces that the `options` of the element have changed. With `live-interactions`, updates inside a gesture carry `interaction`.",
16432
16501
  "name": "luzmo-options-changed"
16502
+ },
16503
+ {
16504
+ "type": {
16505
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
16506
+ },
16507
+ "description": "With `live-interactions`: a drag or held key first changed the control's value, right before that options update. A press that never changes the value emits no lifecycle. `detail.optionKey` is set.",
16508
+ "name": "luzmo-option-interaction-start"
16509
+ },
16510
+ {
16511
+ "type": {
16512
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
16513
+ },
16514
+ "description": "With `live-interactions`: the gesture ended, after its last options update. `detail.changed` is false when the value is back at its start.",
16515
+ "name": "luzmo-option-interaction-end"
16516
+ },
16517
+ {
16518
+ "type": {
16519
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
16520
+ },
16521
+ "description": "With `live-interactions`: the gesture was cancelled and the control reverted to its start value.",
16522
+ "name": "luzmo-option-interaction-cancel"
16433
16523
  }
16434
16524
  ],
16435
16525
  "attributes": [
@@ -16533,6 +16623,15 @@
16533
16623
  "default": "'m'",
16534
16624
  "description": "The size variant of the option control (`s`, `m`, `l`, `xl`).",
16535
16625
  "fieldName": "size"
16626
+ },
16627
+ {
16628
+ "name": "live-interactions",
16629
+ "type": {
16630
+ "text": "boolean"
16631
+ },
16632
+ "default": "false",
16633
+ "description": "Emits options updates live, without the control's debounce, plus `luzmo-option-interaction-*` events\naround drags and held keys. Off by default.",
16634
+ "fieldName": "liveInteractions"
16536
16635
  }
16537
16636
  ],
16538
16637
  "superclass": {
@@ -17455,6 +17554,17 @@
17455
17554
  "attribute": "debounce",
17456
17555
  "reflects": true
17457
17556
  },
17557
+ {
17558
+ "kind": "field",
17559
+ "name": "liveInteractions",
17560
+ "type": {
17561
+ "text": "boolean"
17562
+ },
17563
+ "default": "false",
17564
+ "description": "Emits value updates live, without `debounce`, plus interaction lifecycle events for drags and held keys.",
17565
+ "attribute": "live-interactions",
17566
+ "reflects": true
17567
+ },
17458
17568
  {
17459
17569
  "kind": "field",
17460
17570
  "name": "debounceTimeout",
@@ -17462,6 +17572,16 @@
17462
17572
  "text": "any"
17463
17573
  },
17464
17574
  "description": "Internal timer handle used to debounce change events."
17575
+ },
17576
+ {
17577
+ "kind": "method",
17578
+ "name": "endInteraction",
17579
+ "return": {
17580
+ "type": {
17581
+ "text": "void"
17582
+ }
17583
+ },
17584
+ "description": "Ends an open color drag or held-key gesture now, keeping its value. Call before removing the element."
17465
17585
  }
17466
17586
  ],
17467
17587
  "events": [
@@ -17470,7 +17590,21 @@
17470
17590
  "type": {
17471
17591
  "text": "CustomEvent<ItemOptionChangedEventDetail>"
17472
17592
  },
17473
- "description": "Emitted when the option value changes."
17593
+ "description": "Emitted when the option value changes. With `live-interactions`, emitted on every color change and carries `interaction` inside a gesture."
17594
+ },
17595
+ {
17596
+ "type": {
17597
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
17598
+ },
17599
+ "description": "With `live-interactions`: a color area, hue or opacity drag or held key first changed the color, right before that value update. A press that never changes the color emits no lifecycle.",
17600
+ "name": "luzmo-option-interaction-start"
17601
+ },
17602
+ {
17603
+ "type": {
17604
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
17605
+ },
17606
+ "description": "With `live-interactions`: the gesture ended (including when the popover closes), after its last value update.",
17607
+ "name": "luzmo-option-interaction-end"
17474
17608
  }
17475
17609
  ],
17476
17610
  "attributes": [
@@ -17545,6 +17679,15 @@
17545
17679
  "default": "50",
17546
17680
  "description": "Delay in milliseconds before the change event is emitted after the user stops interacting.",
17547
17681
  "fieldName": "debounce"
17682
+ },
17683
+ {
17684
+ "name": "live-interactions",
17685
+ "type": {
17686
+ "text": "boolean"
17687
+ },
17688
+ "default": "false",
17689
+ "description": "Emits value updates live, without `debounce`, plus interaction lifecycle events for drags and held keys.",
17690
+ "fieldName": "liveInteractions"
17548
17691
  }
17549
17692
  ],
17550
17693
  "superclass": {
@@ -17574,14 +17717,39 @@
17574
17717
  "kind": "class",
17575
17718
  "description": "",
17576
17719
  "name": "LuzmoItemOptionColorRange",
17577
- "members": [],
17720
+ "members": [
17721
+ {
17722
+ "kind": "method",
17723
+ "name": "endInteraction",
17724
+ "return": {
17725
+ "type": {
17726
+ "text": "void"
17727
+ }
17728
+ },
17729
+ "description": "Ends open color gestures now, keeping their values. Call before removing the element."
17730
+ }
17731
+ ],
17578
17732
  "events": [
17579
17733
  {
17580
17734
  "name": "luzmo-option-changed",
17581
17735
  "type": {
17582
17736
  "text": "CustomEvent<ItemOptionChangedEventDetail>"
17583
17737
  },
17584
- "description": "Emitted when the option value changes."
17738
+ "description": "Emitted when the option value changes. With `live-interactions`, emitted immediately and carries `interaction` while a stop's color is dragged."
17739
+ },
17740
+ {
17741
+ "type": {
17742
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
17743
+ },
17744
+ "description": "With `live-interactions`: a color drag or held key on one stop first changed its color, right before that value update. Each stop has its own gestures; one that never changes its color emits no lifecycle.",
17745
+ "name": "luzmo-option-interaction-start"
17746
+ },
17747
+ {
17748
+ "type": {
17749
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
17750
+ },
17751
+ "description": "With `live-interactions`: that stop's gesture ended, after its last value update.",
17752
+ "name": "luzmo-option-interaction-end"
17585
17753
  }
17586
17754
  ],
17587
17755
  "attributes": [
@@ -17691,6 +17859,15 @@
17691
17859
  "description": "The debounce time in milliseconds",
17692
17860
  "fieldName": "debounce"
17693
17861
  },
17862
+ {
17863
+ "name": "live-interactions",
17864
+ "type": {
17865
+ "text": "boolean"
17866
+ },
17867
+ "default": "false",
17868
+ "description": "Emits value updates live, without `debounce`, plus interaction lifecycle events for color drags and held keys",
17869
+ "fieldName": "liveInteractions"
17870
+ },
17694
17871
  {
17695
17872
  "name": "parseValue",
17696
17873
  "type": {
@@ -17749,13 +17926,39 @@
17749
17926
  "name": "--luzmo-item-option-guidelines-shared-gap"
17750
17927
  }
17751
17928
  ],
17929
+ "members": [
17930
+ {
17931
+ "kind": "method",
17932
+ "name": "endInteraction",
17933
+ "return": {
17934
+ "type": {
17935
+ "text": "void"
17936
+ }
17937
+ },
17938
+ "description": "Ends open color gestures now, keeping their values. Call before removing the element."
17939
+ }
17940
+ ],
17752
17941
  "events": [
17753
17942
  {
17754
17943
  "name": "luzmo-option-changed",
17755
17944
  "type": {
17756
17945
  "text": "CustomEvent<ItemOptionChangedEventDetail>"
17757
17946
  },
17758
- "description": "Emitted when the guidelines value changes."
17947
+ "description": "Emitted when the guidelines value changes. With `live-interactions`, emitted immediately and carries `interaction` while a line's color is dragged."
17948
+ },
17949
+ {
17950
+ "type": {
17951
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
17952
+ },
17953
+ "description": "With `live-interactions`: a color drag or held key on one line first changed its color, right before that value update. Each line has its own gestures; one that never changes its color emits no lifecycle.",
17954
+ "name": "luzmo-option-interaction-start"
17955
+ },
17956
+ {
17957
+ "type": {
17958
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
17959
+ },
17960
+ "description": "With `live-interactions`: that line's gesture ended, after its last value update.",
17961
+ "name": "luzmo-option-interaction-end"
17759
17962
  }
17760
17963
  ],
17761
17964
  "attributes": [
@@ -17769,6 +17972,15 @@
17769
17972
  "default": "DEFAULT_GUIDELINE_DEBOUNCE",
17770
17973
  "description": "Delay in milliseconds before color and number changes are emitted.",
17771
17974
  "fieldName": "debounce"
17975
+ },
17976
+ {
17977
+ "name": "live-interactions",
17978
+ "type": {
17979
+ "text": "boolean"
17980
+ },
17981
+ "default": "false",
17982
+ "description": "Emits value updates live, without `debounce`, plus interaction lifecycle events for color drags and held keys.",
17983
+ "fieldName": "liveInteractions"
17772
17984
  }
17773
17985
  ],
17774
17986
  "superclass": {
@@ -18685,6 +18897,27 @@
18685
18897
  "attribute": "auth-token",
18686
18898
  "reflects": true
18687
18899
  },
18900
+ {
18901
+ "kind": "field",
18902
+ "name": "liveInteractions",
18903
+ "type": {
18904
+ "text": "boolean"
18905
+ },
18906
+ "default": "false",
18907
+ "description": "Emits options updates live, without the controls' debounce, plus `luzmo-option-interaction-*` events\naround drags and held keys. Off by default.",
18908
+ "attribute": "live-interactions",
18909
+ "reflects": true
18910
+ },
18911
+ {
18912
+ "kind": "method",
18913
+ "name": "endInteraction",
18914
+ "return": {
18915
+ "type": {
18916
+ "text": "void"
18917
+ }
18918
+ },
18919
+ "description": "Ends the open gestures of every option now, keeping their values. Call before removing or rebinding the panel."
18920
+ },
18688
18921
  {
18689
18922
  "kind": "field",
18690
18923
  "name": "shadowRoot",
@@ -18754,8 +18987,29 @@
18754
18987
  "type": {
18755
18988
  "text": "CustomEvent<ItemOptionsChangedEventDetail>"
18756
18989
  },
18757
- "description": "Announces that the `options` of the element have changed",
18990
+ "description": "Announces that the `options` of the element have changed. With `live-interactions`, updates inside a gesture carry `interaction`.",
18758
18991
  "name": "luzmo-options-changed"
18992
+ },
18993
+ {
18994
+ "type": {
18995
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
18996
+ },
18997
+ "description": "With `live-interactions`: bubbles from the option whose drag or held key first changed its value, right before that options update; `detail.optionKey` names it.",
18998
+ "name": "luzmo-option-interaction-start"
18999
+ },
19000
+ {
19001
+ "type": {
19002
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
19003
+ },
19004
+ "description": "With `live-interactions`: bubbles from the option whose gesture ended, after its last options update.",
19005
+ "name": "luzmo-option-interaction-end"
19006
+ },
19007
+ {
19008
+ "type": {
19009
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
19010
+ },
19011
+ "description": "With `live-interactions`: bubbles from the option whose gesture was cancelled and reverted.",
19012
+ "name": "luzmo-option-interaction-cancel"
18759
19013
  }
18760
19014
  ],
18761
19015
  "attributes": [
@@ -18851,6 +19105,15 @@
18851
19105
  },
18852
19106
  "description": "The auth token of the databroker",
18853
19107
  "fieldName": "authToken"
19108
+ },
19109
+ {
19110
+ "name": "live-interactions",
19111
+ "type": {
19112
+ "text": "boolean"
19113
+ },
19114
+ "default": "false",
19115
+ "description": "Emits options updates live, without the controls' debounce, plus `luzmo-option-interaction-*` events\naround drags and held keys. Off by default.",
19116
+ "fieldName": "liveInteractions"
18854
19117
  }
18855
19118
  ],
18856
19119
  "superclass": {
@@ -19352,6 +19615,27 @@
19352
19615
  "description": "Delay in milliseconds before the change event is emitted after the user stops interacting.",
19353
19616
  "attribute": "debounce",
19354
19617
  "reflects": true
19618
+ },
19619
+ {
19620
+ "kind": "field",
19621
+ "name": "liveInteractions",
19622
+ "type": {
19623
+ "text": "boolean"
19624
+ },
19625
+ "default": "false",
19626
+ "description": "Emits value updates live, without `debounce`, plus interaction lifecycle events for drags and held keys.",
19627
+ "attribute": "live-interactions",
19628
+ "reflects": true
19629
+ },
19630
+ {
19631
+ "kind": "method",
19632
+ "name": "endInteraction",
19633
+ "return": {
19634
+ "type": {
19635
+ "text": "void"
19636
+ }
19637
+ },
19638
+ "description": "Ends an open drag or held-key gesture now, keeping its value. Call before removing the element."
19355
19639
  }
19356
19640
  ],
19357
19641
  "events": [
@@ -19360,7 +19644,28 @@
19360
19644
  "type": {
19361
19645
  "text": "CustomEvent<ItemOptionChangedEventDetail>"
19362
19646
  },
19363
- "description": "Emitted when the option value changes."
19647
+ "description": "Emitted when the option value changes. With `live-interactions`, emitted on every drag or key step and carries `interaction` inside a gesture."
19648
+ },
19649
+ {
19650
+ "type": {
19651
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
19652
+ },
19653
+ "description": "With `live-interactions`: a drag or held key first changed the value, right before that value update. A press that never changes the value emits no lifecycle.",
19654
+ "name": "luzmo-option-interaction-start"
19655
+ },
19656
+ {
19657
+ "type": {
19658
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
19659
+ },
19660
+ "description": "With `live-interactions`: the gesture ended, after its last value update. `changed` is false when the value is back at its start.",
19661
+ "name": "luzmo-option-interaction-end"
19662
+ },
19663
+ {
19664
+ "type": {
19665
+ "text": "CustomEvent<ItemOptionInteractionEventDetail>"
19666
+ },
19667
+ "description": "With `live-interactions`: the pointer was cancelled and the slider reverted to its start value.",
19668
+ "name": "luzmo-option-interaction-cancel"
19364
19669
  }
19365
19670
  ],
19366
19671
  "attributes": [
@@ -19418,6 +19723,15 @@
19418
19723
  "description": "Delay in milliseconds before the change event is emitted after the user stops interacting.",
19419
19724
  "fieldName": "debounce"
19420
19725
  },
19726
+ {
19727
+ "name": "live-interactions",
19728
+ "type": {
19729
+ "text": "boolean"
19730
+ },
19731
+ "default": "false",
19732
+ "description": "Emits value updates live, without `debounce`, plus interaction lifecycle events for drags and held keys.",
19733
+ "fieldName": "liveInteractions"
19734
+ },
19421
19735
  {
19422
19736
  "name": "parseValue",
19423
19737
  "type": {