@luzmo/dashboard-contents-types 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,452 +1,458 @@
1
- All notable changes to this project will be documented in this file.
2
-
3
- ## [2.1.0] - 2026-11-09
4
-
5
- ### Added
6
-
7
- - Item configs: every item has a `<item>.config.ts` exporting `<item>Config: VizItemConfig` with its `type`, `label`, `defaultSize` and AI `context` (`description`, `synonyms`). Load one with `getItemConfigByItemType(itemType)`.
8
- - `SlotConfig.context.description`: the AI description of a slot, set in each item's slots config.
9
-
10
- ### Changed
11
-
12
- - Clarified single-number AI guidance: KPI is the default and handles period comparisons; evolution numbers require an explicit sparkline or mini trend, and conditional numbers require target or threshold coloring. Updated synonyms and slot descriptions to distinguish earlier-period comparisons from formatting targets.
13
-
14
- ### Deprecated
15
-
16
- - `SlotConfig.description`: use `context.description`.
17
-
18
- ### Removed
19
-
20
- - Context configs: the `<item>ContextConfig` exports, `getContextConfigByItemType`, `VizItemContextConfig`, `VizItemContextSlotConfig` and `VizItemContextSizeVariant`. Use the item config for the label, default size, description and synonyms, and the slot `context` for slot descriptions. Size `variants` had no consumers and are dropped.
21
-
22
- ## [2.0.0] - 2026-11-03
23
-
24
- ### Breaking changes
25
-
26
- - `PeriodOverPeriod` and persisted slot comparisons now use the compact contract: `type`, `level`, `quantity`, `periodToDate`, optional `rangeType`, and an optional offset with only `id`, `datasetId`, and `lowestLevel`. Removed `newUi`, `minLevel`, and `hasConnectedComparisonFilter`; consumers must derive UI and filter context at runtime and load column metadata separately.
27
- - Bumped `CONTENTS_VERSION` to `0.1.108` with migration of slots and measure/dimension picker alternatives; downgrade restores only `newUi: true`.
28
-
29
- ## [1.1.0] - 2026-11-03
30
-
31
- ### Added
32
-
33
- - `CompactPeriodOverPeriod`, `compactPeriodOverPeriod` and `getPeriodOverPeriodMaxLevel` for consumers preparing compact comparison settings. The existing `PeriodOverPeriod` type, persisted schemas and `CONTENTS_VERSION` (`0.1.107`) remain unchanged; adopting compact settings in persisted slots requires the subsequent migration and consumer updates.
34
-
35
- ## [1.0.48] - 2026-10-26
36
-
37
- ### Added
38
-
39
- - Donut, Funnel, Sunburst and Heat Table options configs: Studio interactivity controls (Go to URL, Drilldown where supported, Measure/Dimension picker, Custom events, Export, Custom tooltip), a Theme group and an Advanced group with the observation limit. The limit default and maximum match Studio: Donut 500 / 100000, Funnel 20 / 1000, Sunburst 500 / 1000, Heat Table 1000 / 100000.
40
- - Shared option group factories: `createLegendOptionsGroup`, `createThemeOptionsGroup`, `createAdvancedOptionsGroup` and `createAutoSortControls`, plus new `createInteractivityOptionsGroup` capabilities.
41
- - Controls that need a Studio editor or modal use dedicated control types (`url-config`, `drilldown`, `measure-dimension-picker`, `custom-events`, `custom-tooltip`, `theme-editor`). Consumers that do not support a type can skip it.
42
-
43
- ### Changed
44
-
45
- - Donut chart options config: added the Legend group (position, custom legend order) and renamed "Category Labels" to "Display legend as".
46
- - Donut, Funnel and Sunburst: the observation limit moved from the ordering group to the Advanced group.
47
-
48
- ### Fixed
49
-
50
- - Donut chart: Width and Padding were hidden when `mode` was not set, although the default mode is `donut`.
51
- - Donut, Funnel and Sunburst: a stored `sort.by: 'auto'` is shown as `category` (and the direction picker stays visible) when the category is no longer a hierarchy column. Changing the direction then saves `sort.by` as `category`.
52
-
53
- ## [1.0.47] - 2026-10-22
54
-
55
- ### Added
56
-
57
- - Added the KPI item type (`kpi`) with a value measure, an optional comparison measure with period-over-period support, and its options, slots and translations.
58
-
59
- ### Changed
60
-
61
- - Bumped `CONTENTS_VERSION` to `0.1.107` for the new persisted `kpi` item type and added the matching no-op dashboard-content migration (`common/dashboard-migrations/0.1.107.ts`).
62
-
63
- ### Fixed
64
-
65
- - Date Comparison Filter datetime slot: enabled the datetime format options (display, month name, format, separator), matching the Date Filter.
66
-
67
- ## [1.0.46] - 2026-10-09
68
-
69
- ### Fixed
70
-
71
- - Evolution number options config: the Title switch now maps to `showTitle` instead of `display.title`, matching the editor and the rendered title.
72
-
73
- ## [1.0.45] - 2026-10-05
74
-
75
- ### Added
76
-
77
- - Added hierarchy-aware automatic ordering to Bar, Column, Line, Area, Combination, Scatter, Funnel, Donut, Sunburst, Pyramid, Radar, Box Plot, Heat Table, and Bullet Charts.
78
-
79
- ### Changed
80
-
81
- - Bumped `CONTENTS_VERSION` to `0.1.106` for the new persisted ordering options and added the matching dashboard-content migration.
82
-
83
- ## [1.0.44] - 2026-10-05
84
-
85
- ### Added
86
-
87
- - Added source-neutral inline chart data contracts and explicit slot `field` bindings.
88
-
89
- ### Changed
90
-
91
- - Bumped `CONTENTS_VERSION` to `0.1.105` for the new persisted slot `field` binding and added the matching no-op dashboard-content migration (`common/dashboard-migrations/0.1.105.ts`).
92
- - Regenerated all JSON schemas so the new slot field and the `0.1.105` `$id`/`$ref` are reflected.
93
-
94
- ## [1.0.43] - 2026-10-02
95
-
96
- ### Added
97
-
98
- - Exposed filter-on-select and brush-filter controls in supported chart option configurations, including translated labels and compatibility handling for Go to URL and custom events.
99
-
100
- ## [1.0.42] - 2026-09-28
101
-
102
- ### Added
103
-
104
- - Exposed multilingual information-tooltip content and left/right positioning controls across the supported chart option configurations, with shared translations and safe option cleanup.
105
-
106
- ## [1.0.41] - 2026-09-24
107
-
108
- ### Added
109
-
110
- - Exposed reusable shared option-config builders and translations for Cartesian axes and guidelines, allowing consumers to generate the same controls used by the chart option configs.
111
-
112
- ## [1.0.40] - 2026-09-21
113
-
114
- ### Added
115
-
116
- - Added `interactivity.exportDelivery.userMessage` to Regular Tables, a per-locale message shown instead of the default export status text when an asynchronous large export is triggered. Only applied for webhook delivery; when omitted the default message is shown.
117
-
118
- ### Changed
119
-
120
- - Bumped `CONTENTS_VERSION` to `0.1.104` for the new persisted Regular Table option and added the matching no-op dashboard-content migration (`common/dashboard-migrations/0.1.104.ts`).
121
- - Regenerated all JSON schemas so the new option and the `0.1.104` `$id`/`$ref` are reflected.
122
-
123
- ## [1.0.39] - 2026-09-03
124
-
125
- ### Fixed
126
-
127
- - Restored the `.json` segment in the emitted filenames of the JSON-schema assets. Vite 8 (introduced by the Angular 22 migration) drops a module's `.json` extension from the `[name]` placeholder, so `1.0.38` shipped `x.schema.cjs`/`x.schema.js` while `vite-plugin-dts` still emitted `x.schema.json.d.ts`. Because subpaths resolve through `exports["./*"]`, neither specifier worked in `1.0.38`: `@luzmo/dashboard-contents-types/assets/json-schemas/x.schema.json` failed at runtime with `MODULE_NOT_FOUND`, and `.../x.schema` had no type declaration. Runtime and type filenames now match again across all 134 assets. **`1.0.38` is unusable for consumers of that subpath — upgrade straight to `1.0.39`.**
128
-
129
- ## [1.0.38] - 2026-09-02
130
-
131
- ### Added
132
-
133
- - Added `interactivity.exportDelivery` to Regular Tables for selecting email or a shared organization webhook channel for asynchronous large exports.
134
-
135
- ### Changed
136
-
137
- - Bumped `CONTENTS_VERSION` to `0.1.103` for the new persisted Regular Table delivery option and added the matching no-op dashboard-content migration (`common/dashboard-migrations/0.1.103.ts`).
138
- - Regenerated all JSON schemas so the new option and the `0.1.103` `$id`/`$ref` are reflected.
139
-
140
- ## [1.0.37] - 2026-08-11
141
-
142
- ### Added
143
-
144
- - Added the camelCase `formulaId` alias to filter parameter references.
145
-
146
- ### Changed
147
-
148
- - Allowed the existing runtime `ignore: null` targeting sentinel in `ItemFilterProperties`.
149
-
150
- ## [1.0.36] - 2026-08-06
151
-
152
- ### Added
153
-
154
- - Released the array-specific filter expressions on `ItemQueryFilterExpression` (and its `FilterExpression` alias). The expressions were added to the source type together with the query engine support, but no published version carried them yet, so consumers such as Flex hit a type error when using them:
155
- - `? includes ?`, `? excludes ?`, `? includes all ?`, `? includes any ?`, `? includes only ?`
156
- - `? has value starting with ?`, `? has value ending with ?`, `? has value containing ?`, `? does not have value containing ?`
157
- - `? length = ?`, `? length >= ?`, `? length <= ?`
158
- - Type and unit tests covering the complete array-specific expression set, the value shape each expression expects, and the unchanged scalar and datetime expressions.
159
-
160
- ## [1.0.35] - 2026-07-31
161
-
162
- ### Added
163
-
164
- - Added `interactivity.toggleStateOnClick` to ranked slicers, allowing clicks to toggle individual selections when multiselect is enabled.
165
-
166
- ### Changed
167
-
168
- - Bumped `CONTENTS_VERSION` to `0.1.102` for the new persisted slicer interactivity option and added the matching no-op dashboard-content migration (`common/dashboard-migrations/0.1.102.ts`).
169
- - Regenerated all JSON schemas so the new option and the `0.1.102` `$id`/`$ref` are reflected.
170
-
171
- ## [1.0.34] - 2026-07-23
172
-
173
- ### Added
174
-
175
- - Custom legend order options, propagated to every consumer (Studio Settings, AI tool schemas, JSON schemas, etc.):
176
- - `legend.customOrder` (boolean) and `legend.order` (`Record<string, (string | number)[]>`) on the shared `LegendViewOptions`, so all viz-items consuming the shared legend type expose them.
177
- - `interactivity.legendReorder` (boolean) via the new `InteractivityLegendReorderViewOptions`, added to the viz-items that support viewer drag-to-reorder.
178
-
179
- ### Changed
180
-
181
- - Bumped `CONTENTS_VERSION` to `0.1.101` for the new persisted legend options and added the matching no-op dashboard-content migration (`common/dashboard-migrations/0.1.101.ts`).
182
- - Regenerated all JSON schemas so the new options and the `0.1.101` `$id`/`$ref` are reflected.
183
-
184
- ## [1.0.33] - 2026-07-23
185
-
186
- ### Removed
187
-
188
- - Removed `dynamic-imageobject` as a built-in viz item, including public exports, slot/context configs, registries, and JSON schema enum support.
189
-
190
- ## [1.0.32] - 2026-05-12
191
-
192
- ### Added
193
-
194
- - Axis label options to cartesian chart option configs that were missing them, so they propagate to every consumer (Studio Settings, AI tool schemas, etc.) on equal footing with scatter-plot and heat-table:
195
- - `column-chart`, `bar-chart`, `line-chart`, `area-chart`, `combination-chart`, `ohlc-chart`, `box-plot`: added `axislabels.x.enabled` / `axislabels.x.position` / `axislabels.y.enabled` / `axislabels.y.position` under a new `axes` group with collapsible `xAxisLabels` and `yAxisLabels` subgroups, matching the existing scatter-plot pattern.
196
- - Matching i18n entries for the new option keys and group labels across en/de/fr/es/nl for the same 7 charts.
197
- - `interactivity.scheduledExport` boolean option to all chart interactivity types, allowing consumers to control whether the recurring/scheduled export menu option is shown per chart.
198
-
199
- ## [1.0.31] - 2026-03-23
200
-
201
- ### Added
202
-
203
- - Exported `CONTENTS_VERSION` constant as the single source of truth for the dashboard contents schema version.
204
-
205
- ## [1.0.30] - 2026-03-12
206
-
207
- ### Changed
208
-
209
- - Added missing values to options types to match options configs:
210
- - `image`: added `'compress'` to `mode` type.
211
- - `pivot-table`: added `'normal'` to `expandStyle` type.
212
- - `radar-chart`: overrode shared `interpolation` with `'linear' | 'rounded'`.
213
- - `sankey-diagram`: added `'default'` to `nodeSorting` type.
214
- - `route-map`: added `'quantile'` and `'continuous'` to `classification` type.
215
- - `column-chart`: added `'absolute'` to `ColumnChartLabel` type.
216
-
217
- ## [1.0.29] - 2026-03-04
218
-
219
- ### Changed
220
-
221
- - Extended `VizItemExportType` to include `base64` as valid export type.
222
-
223
- ## [1.0.28] - 2026-02-10
224
-
225
- ### Changed
226
-
227
- - Improved type safety across options config files and shared types.
228
- - Replaced `any` types with strict unions in `ItemFilter.parameters`, `ItemFilterParameter.value`, and `ItemData.data`.
229
- - Added `ItemFilterParameterDefinition` type to represent embed filter parameter definitions.
230
- - Added `ColorsClassKey` type to `colorsClass` properties (replacing `string`).
231
-
232
- ## [1.0.27] - 2026-02-05
233
-
234
- ### Changed
235
-
236
- - Fix circular dependencies in positioning config.
237
- - Extended `OptionTranslation` interface with `tooltip`, `extraLabel`, and `extraLabelTooltip` fields.
238
- - Extended `ControlConfig` interface with explicit typed fields for `description`, `placeholder`, `tooltip`, `extraLabel`, and `extraLabelTooltip`.
239
- - Enhanced `mergeTranslationIntoOption` to merge additional translatable fields (`description`, `placeholder`, `tooltip`, `extraLabel`, `extraLabelTooltip`) while preserving function-based values.
240
-
241
- ### Added
242
-
243
- - Added positioning loader to lazily load positioning config.
244
- - Added `getOptionsTranslationsByItemTypeAndLanguage` function to load translations separately from config, with optional English fallback.
245
- - Exported `OptionTranslation` and `TranslationsFile` types for external use.
246
- - **Ranking, sort, and limit options** to chart options configs:
247
- - Bar Chart: ranking (active, direction, number), sort (measure/category/column), limit
248
- - Column Chart: ranking (active, direction, number), sort (measure/category/column), limit
249
- - Pyramid Chart: ranking (active, direction, number), limit
250
- - Combination Chart: ranking (active, direction, number), limit
251
- - Wordcloud Chart: ranking (direction, number with default 250)
252
- - Slicer Filter: ranking (active, direction, number), limit
253
- - Funnel Chart: limit
254
- - Sunburst Chart: sort (measure/category), limit
255
- - Donut/Pie Chart: sort.direction, limit
256
-
257
- ## [1.0.26] - 2026-02-03
258
-
259
- ### Changed
260
-
261
- - Externalize colorjs.io and tslib dependency in build
262
-
263
- ## [1.0.25] - 2026-01-30
264
-
265
- ### Added
266
-
267
- - **Async configuration loaders** for dynamic imports and tree-shaking:
268
- - `getSlotsConfigByItemType(itemType)` - Async loader for slot configurations
269
- - `getContextConfigByItemType(itemType)` - Async loader for context configurations
270
- - `getOptionsConfigByItemType(itemType)` - Async loader for options configurations
271
- - **Synchronous exports** for item catalog:
272
- - `itemTypes` - Array of all available item type definitions
273
- - `itemList` - List of item configurations
274
- - **Generated registry files** for optimized dynamic imports:
275
- - `options-registry.generated.ts`
276
- - `context-registry.generated.ts`
277
- - `slots-registry.generated.ts`
278
- - **Registry generation script** (`scripts/generate-config-registries.ts`) with:
279
- - Automatic discovery of config files
280
- - Smart key quoting (only quotes keys with special characters)
281
- - ES module compatible output
282
-
283
- ### Changed
284
-
285
- - **Package.json modernized** for dual ESM/CJS support:
286
- - Updated `main` to `./index.cjs` for CommonJS consumers
287
- - Updated `module` to `./index.js` for ESM consumers
288
- - Added `exports` field with conditional exports for modern Node.js resolution
289
- - **Vite build configuration** optimized:
290
- - Custom rollup output: `.js` for ESM, `.cjs` for CJS
291
- - Enabled `preserveModules` for better tree-shaking
292
- - Added `minify: 'esbuild'` for faster builds
293
- - Added `target: 'es2020'` for modern JavaScript output
294
- - Enabled source maps
295
- - Added treeshake optimizations
296
-
297
- ### Removed
298
-
299
- - `VizItemSlots` type export (use `VizItemSlot[]` directly instead)
300
-
301
- ## [1.0.24] - 2026-01-30
302
-
303
- ### Updates
304
-
305
- - Add missing changelog entry for version 1.0.23.
306
-
307
- ## [1.0.23] - 2026-01-29
308
-
309
- ### Updates
310
-
311
- - **Slot config property renames** to align with ACK:
312
- - `canAcceptMultipleColumns` → `canAcceptMultipleDataFields`
313
- - `acceptableColumnTypes` → `acceptableDataFieldTypes`
314
- - **New slot config properties**: `keepOnlyFirstWhenOtherSlotFilled`, `clearWhenOtherSlotHasMultipleItems`, `canAcceptDataIndependentOf`.
315
- - Add options configs with i18n translations (de, en, es, fr, nl) for all chart types.
316
- - Add positioning configs for all chart types.
317
- - Add context configs for all chart types.
318
- - Add `getLocalizedOptionsConfig` and `getOptionsConfigByItemType` utilities for lazy-loading localized options configurations.
319
- - Add color utilities (`color-palettes`, `extrapolate-color`, `color-range-utils`) and map tile providers.
320
- - Export `SlotPositioningConfig`, `GridConfig`, and `SlotPosition` types.
321
-
322
- ## [1.0.22] - 2026-01-26
323
-
324
- ### Updates
325
-
326
- - Allow custom `VizItemType` and `SlotName` values while preserving autocomplete for known literals.
327
-
328
- ## [1.0.21] - 2025-12-17
329
-
330
- ### Updates
331
-
332
- - Remove extra NPM dependencies
333
-
334
- ## [1.0.20] - 2025-12-05
335
-
336
- ### Updates
337
-
338
- - Expose viz-item sizes in the configs
339
-
340
- ## [1.0.19] - 2025-10-29
341
-
342
- ### Updates
343
-
344
- - Remove deprecated `ItemType`, `VisualItem`, `ChartItem`, `ControlItem`, `ContentItem` types.
345
- - Add context configs per each viz item.
346
- - Update Flex documentation.
347
-
348
- ## [1.0.18] - 2025-09-02
349
-
350
- ### Updates
351
-
352
- - Update Period over period type: add new properties to support upcoming variable period over period feature
353
-
354
- ## [1.0.17] - 2025-04-14
355
-
356
- ### Updates
357
-
358
- - Update Bar chart options: add missing values "absolute" and "percentageAllBars" for "bars.label" options
359
-
360
- ## [1.0.16] - 2025-03-28
361
-
362
- ### Updates
363
-
364
- - Update missing dep topojson-specification
365
-
366
- ## [1.0.14] - 2025-02-24
367
-
368
- ### Updates
369
-
370
- - Fix Readme
371
-
372
- ## [1.0.13] - 2025-02-21
373
-
374
- ### Updates
375
-
376
- - Update ItemQuery type
377
-
378
- ## [1.0.12] - 2025-02-06
379
-
380
- ### Updates
381
-
382
- - Add additional types for making building queries easier
383
-
384
- ## [1.0.11] - 2025-01-31
385
-
386
- ### Updates
387
-
388
- - Update ExportType to be support more values
389
-
390
- ## [1.0.10] - 2025-01-13
391
-
392
- ### Updates
393
-
394
- - Update types
395
-
396
- ## [1.0.9] - 2025-01-08
397
-
398
- ### Updates
399
-
400
- - Remove code related to @angular/cdk
401
-
402
- ## [1.0.8] - 2024-12-19
403
-
404
- ### Updates
405
-
406
- - Add LICENSE to the library
407
-
408
- ## [1.0.7] - 2024-12-13
409
-
410
- ### Updates
411
-
412
- - New JSON schemas and types for dashboard contents
413
-
414
- ## [1.0.6] - 2024-11-22
415
-
416
- ### Updates
417
-
418
- - New JSON schemas and types for dashboard contents
419
-
420
- ## [1.0.5] - 2024-11-18
421
-
422
- ### Updates
423
-
424
- - Expose slot configs for charts
425
-
426
- ## [1.0.4] - 2024-11-14
427
-
428
- ### Updates
429
-
430
- - Remove JSON schemas from the library
431
-
432
- ## [1.0.3] - 2024-10-22
433
-
434
- ### Updates
435
-
436
- - Fix displaying Search Filter in Flex
437
-
438
- ## [1.0.2] - 2024-10-21
439
-
440
- ### Updates
441
-
442
- - Changes related to theme options
443
-
444
- ## [1.0.1] - 2024-10-14
445
-
446
- ### Updates
447
-
448
- - Update types
449
-
450
- ## [0.1.88] - 2024-09-09
451
-
452
- - Types and JSON schemas from Luzmo dashboard contents v0.1.88
1
+ All notable changes to this project will be documented in this file.
2
+
3
+ ## [2.1.1] - 2026-11-10
4
+
5
+ ### Fixed
6
+
7
+ - Bar and column chart options configs: "Show value in bar" (`bars.label`) only offers the legend and category totals (`percentageLegend`, `percentageCategory`) when the chart has a legend field or a second measure. Its `control.enum` is now a function of the slots.
8
+
9
+ ## [2.1.0] - 2026-11-09
10
+
11
+ ### Added
12
+
13
+ - Item configs: every item has a `<item>.config.ts` exporting `<item>Config: VizItemConfig` with its `type`, `label`, `defaultSize` and AI `context` (`description`, `synonyms`). Load one with `getItemConfigByItemType(itemType)`.
14
+ - `SlotConfig.context.description`: the AI description of a slot, set in each item's slots config.
15
+
16
+ ### Changed
17
+
18
+ - Clarified single-number AI guidance: KPI is the default and handles period comparisons; evolution numbers require an explicit sparkline or mini trend, and conditional numbers require target or threshold coloring. Updated synonyms and slot descriptions to distinguish earlier-period comparisons from formatting targets.
19
+
20
+ ### Deprecated
21
+
22
+ - `SlotConfig.description`: use `context.description`.
23
+
24
+ ### Removed
25
+
26
+ - Context configs: the `<item>ContextConfig` exports, `getContextConfigByItemType`, `VizItemContextConfig`, `VizItemContextSlotConfig` and `VizItemContextSizeVariant`. Use the item config for the label, default size, description and synonyms, and the slot `context` for slot descriptions. Size `variants` had no consumers and are dropped.
27
+
28
+ ## [2.0.0] - 2026-11-03
29
+
30
+ ### Breaking changes
31
+
32
+ - `PeriodOverPeriod` and persisted slot comparisons now use the compact contract: `type`, `level`, `quantity`, `periodToDate`, optional `rangeType`, and an optional offset with only `id`, `datasetId`, and `lowestLevel`. Removed `newUi`, `minLevel`, and `hasConnectedComparisonFilter`; consumers must derive UI and filter context at runtime and load column metadata separately.
33
+ - Bumped `CONTENTS_VERSION` to `0.1.108` with migration of slots and measure/dimension picker alternatives; downgrade restores only `newUi: true`.
34
+
35
+ ## [1.1.0] - 2026-11-03
36
+
37
+ ### Added
38
+
39
+ - `CompactPeriodOverPeriod`, `compactPeriodOverPeriod` and `getPeriodOverPeriodMaxLevel` for consumers preparing compact comparison settings. The existing `PeriodOverPeriod` type, persisted schemas and `CONTENTS_VERSION` (`0.1.107`) remain unchanged; adopting compact settings in persisted slots requires the subsequent migration and consumer updates.
40
+
41
+ ## [1.0.48] - 2026-10-26
42
+
43
+ ### Added
44
+
45
+ - Donut, Funnel, Sunburst and Heat Table options configs: Studio interactivity controls (Go to URL, Drilldown where supported, Measure/Dimension picker, Custom events, Export, Custom tooltip), a Theme group and an Advanced group with the observation limit. The limit default and maximum match Studio: Donut 500 / 100000, Funnel 20 / 1000, Sunburst 500 / 1000, Heat Table 1000 / 100000.
46
+ - Shared option group factories: `createLegendOptionsGroup`, `createThemeOptionsGroup`, `createAdvancedOptionsGroup` and `createAutoSortControls`, plus new `createInteractivityOptionsGroup` capabilities.
47
+ - Controls that need a Studio editor or modal use dedicated control types (`url-config`, `drilldown`, `measure-dimension-picker`, `custom-events`, `custom-tooltip`, `theme-editor`). Consumers that do not support a type can skip it.
48
+
49
+ ### Changed
50
+
51
+ - Donut chart options config: added the Legend group (position, custom legend order) and renamed "Category Labels" to "Display legend as".
52
+ - Donut, Funnel and Sunburst: the observation limit moved from the ordering group to the Advanced group.
53
+
54
+ ### Fixed
55
+
56
+ - Donut chart: Width and Padding were hidden when `mode` was not set, although the default mode is `donut`.
57
+ - Donut, Funnel and Sunburst: a stored `sort.by: 'auto'` is shown as `category` (and the direction picker stays visible) when the category is no longer a hierarchy column. Changing the direction then saves `sort.by` as `category`.
58
+
59
+ ## [1.0.47] - 2026-10-22
60
+
61
+ ### Added
62
+
63
+ - Added the KPI item type (`kpi`) with a value measure, an optional comparison measure with period-over-period support, and its options, slots and translations.
64
+
65
+ ### Changed
66
+
67
+ - Bumped `CONTENTS_VERSION` to `0.1.107` for the new persisted `kpi` item type and added the matching no-op dashboard-content migration (`common/dashboard-migrations/0.1.107.ts`).
68
+
69
+ ### Fixed
70
+
71
+ - Date Comparison Filter datetime slot: enabled the datetime format options (display, month name, format, separator), matching the Date Filter.
72
+
73
+ ## [1.0.46] - 2026-10-09
74
+
75
+ ### Fixed
76
+
77
+ - Evolution number options config: the Title switch now maps to `showTitle` instead of `display.title`, matching the editor and the rendered title.
78
+
79
+ ## [1.0.45] - 2026-10-05
80
+
81
+ ### Added
82
+
83
+ - Added hierarchy-aware automatic ordering to Bar, Column, Line, Area, Combination, Scatter, Funnel, Donut, Sunburst, Pyramid, Radar, Box Plot, Heat Table, and Bullet Charts.
84
+
85
+ ### Changed
86
+
87
+ - Bumped `CONTENTS_VERSION` to `0.1.106` for the new persisted ordering options and added the matching dashboard-content migration.
88
+
89
+ ## [1.0.44] - 2026-10-05
90
+
91
+ ### Added
92
+
93
+ - Added source-neutral inline chart data contracts and explicit slot `field` bindings.
94
+
95
+ ### Changed
96
+
97
+ - Bumped `CONTENTS_VERSION` to `0.1.105` for the new persisted slot `field` binding and added the matching no-op dashboard-content migration (`common/dashboard-migrations/0.1.105.ts`).
98
+ - Regenerated all JSON schemas so the new slot field and the `0.1.105` `$id`/`$ref` are reflected.
99
+
100
+ ## [1.0.43] - 2026-10-02
101
+
102
+ ### Added
103
+
104
+ - Exposed filter-on-select and brush-filter controls in supported chart option configurations, including translated labels and compatibility handling for Go to URL and custom events.
105
+
106
+ ## [1.0.42] - 2026-09-28
107
+
108
+ ### Added
109
+
110
+ - Exposed multilingual information-tooltip content and left/right positioning controls across the supported chart option configurations, with shared translations and safe option cleanup.
111
+
112
+ ## [1.0.41] - 2026-09-24
113
+
114
+ ### Added
115
+
116
+ - Exposed reusable shared option-config builders and translations for Cartesian axes and guidelines, allowing consumers to generate the same controls used by the chart option configs.
117
+
118
+ ## [1.0.40] - 2026-09-21
119
+
120
+ ### Added
121
+
122
+ - Added `interactivity.exportDelivery.userMessage` to Regular Tables, a per-locale message shown instead of the default export status text when an asynchronous large export is triggered. Only applied for webhook delivery; when omitted the default message is shown.
123
+
124
+ ### Changed
125
+
126
+ - Bumped `CONTENTS_VERSION` to `0.1.104` for the new persisted Regular Table option and added the matching no-op dashboard-content migration (`common/dashboard-migrations/0.1.104.ts`).
127
+ - Regenerated all JSON schemas so the new option and the `0.1.104` `$id`/`$ref` are reflected.
128
+
129
+ ## [1.0.39] - 2026-09-03
130
+
131
+ ### Fixed
132
+
133
+ - Restored the `.json` segment in the emitted filenames of the JSON-schema assets. Vite 8 (introduced by the Angular 22 migration) drops a module's `.json` extension from the `[name]` placeholder, so `1.0.38` shipped `x.schema.cjs`/`x.schema.js` while `vite-plugin-dts` still emitted `x.schema.json.d.ts`. Because subpaths resolve through `exports["./*"]`, neither specifier worked in `1.0.38`: `@luzmo/dashboard-contents-types/assets/json-schemas/x.schema.json` failed at runtime with `MODULE_NOT_FOUND`, and `.../x.schema` had no type declaration. Runtime and type filenames now match again across all 134 assets. **`1.0.38` is unusable for consumers of that subpath — upgrade straight to `1.0.39`.**
134
+
135
+ ## [1.0.38] - 2026-09-02
136
+
137
+ ### Added
138
+
139
+ - Added `interactivity.exportDelivery` to Regular Tables for selecting email or a shared organization webhook channel for asynchronous large exports.
140
+
141
+ ### Changed
142
+
143
+ - Bumped `CONTENTS_VERSION` to `0.1.103` for the new persisted Regular Table delivery option and added the matching no-op dashboard-content migration (`common/dashboard-migrations/0.1.103.ts`).
144
+ - Regenerated all JSON schemas so the new option and the `0.1.103` `$id`/`$ref` are reflected.
145
+
146
+ ## [1.0.37] - 2026-08-11
147
+
148
+ ### Added
149
+
150
+ - Added the camelCase `formulaId` alias to filter parameter references.
151
+
152
+ ### Changed
153
+
154
+ - Allowed the existing runtime `ignore: null` targeting sentinel in `ItemFilterProperties`.
155
+
156
+ ## [1.0.36] - 2026-08-06
157
+
158
+ ### Added
159
+
160
+ - Released the array-specific filter expressions on `ItemQueryFilterExpression` (and its `FilterExpression` alias). The expressions were added to the source type together with the query engine support, but no published version carried them yet, so consumers such as Flex hit a type error when using them:
161
+ - `? includes ?`, `? excludes ?`, `? includes all ?`, `? includes any ?`, `? includes only ?`
162
+ - `? has value starting with ?`, `? has value ending with ?`, `? has value containing ?`, `? does not have value containing ?`
163
+ - `? length = ?`, `? length >= ?`, `? length <= ?`
164
+ - Type and unit tests covering the complete array-specific expression set, the value shape each expression expects, and the unchanged scalar and datetime expressions.
165
+
166
+ ## [1.0.35] - 2026-07-31
167
+
168
+ ### Added
169
+
170
+ - Added `interactivity.toggleStateOnClick` to ranked slicers, allowing clicks to toggle individual selections when multiselect is enabled.
171
+
172
+ ### Changed
173
+
174
+ - Bumped `CONTENTS_VERSION` to `0.1.102` for the new persisted slicer interactivity option and added the matching no-op dashboard-content migration (`common/dashboard-migrations/0.1.102.ts`).
175
+ - Regenerated all JSON schemas so the new option and the `0.1.102` `$id`/`$ref` are reflected.
176
+
177
+ ## [1.0.34] - 2026-07-23
178
+
179
+ ### Added
180
+
181
+ - Custom legend order options, propagated to every consumer (Studio Settings, AI tool schemas, JSON schemas, etc.):
182
+ - `legend.customOrder` (boolean) and `legend.order` (`Record<string, (string | number)[]>`) on the shared `LegendViewOptions`, so all viz-items consuming the shared legend type expose them.
183
+ - `interactivity.legendReorder` (boolean) via the new `InteractivityLegendReorderViewOptions`, added to the viz-items that support viewer drag-to-reorder.
184
+
185
+ ### Changed
186
+
187
+ - Bumped `CONTENTS_VERSION` to `0.1.101` for the new persisted legend options and added the matching no-op dashboard-content migration (`common/dashboard-migrations/0.1.101.ts`).
188
+ - Regenerated all JSON schemas so the new options and the `0.1.101` `$id`/`$ref` are reflected.
189
+
190
+ ## [1.0.33] - 2026-07-23
191
+
192
+ ### Removed
193
+
194
+ - Removed `dynamic-imageobject` as a built-in viz item, including public exports, slot/context configs, registries, and JSON schema enum support.
195
+
196
+ ## [1.0.32] - 2026-05-12
197
+
198
+ ### Added
199
+
200
+ - Axis label options to cartesian chart option configs that were missing them, so they propagate to every consumer (Studio Settings, AI tool schemas, etc.) on equal footing with scatter-plot and heat-table:
201
+ - `column-chart`, `bar-chart`, `line-chart`, `area-chart`, `combination-chart`, `ohlc-chart`, `box-plot`: added `axislabels.x.enabled` / `axislabels.x.position` / `axislabels.y.enabled` / `axislabels.y.position` under a new `axes` group with collapsible `xAxisLabels` and `yAxisLabels` subgroups, matching the existing scatter-plot pattern.
202
+ - Matching i18n entries for the new option keys and group labels across en/de/fr/es/nl for the same 7 charts.
203
+ - `interactivity.scheduledExport` boolean option to all chart interactivity types, allowing consumers to control whether the recurring/scheduled export menu option is shown per chart.
204
+
205
+ ## [1.0.31] - 2026-03-23
206
+
207
+ ### Added
208
+
209
+ - Exported `CONTENTS_VERSION` constant as the single source of truth for the dashboard contents schema version.
210
+
211
+ ## [1.0.30] - 2026-03-12
212
+
213
+ ### Changed
214
+
215
+ - Added missing values to options types to match options configs:
216
+ - `image`: added `'compress'` to `mode` type.
217
+ - `pivot-table`: added `'normal'` to `expandStyle` type.
218
+ - `radar-chart`: overrode shared `interpolation` with `'linear' | 'rounded'`.
219
+ - `sankey-diagram`: added `'default'` to `nodeSorting` type.
220
+ - `route-map`: added `'quantile'` and `'continuous'` to `classification` type.
221
+ - `column-chart`: added `'absolute'` to `ColumnChartLabel` type.
222
+
223
+ ## [1.0.29] - 2026-03-04
224
+
225
+ ### Changed
226
+
227
+ - Extended `VizItemExportType` to include `base64` as valid export type.
228
+
229
+ ## [1.0.28] - 2026-02-10
230
+
231
+ ### Changed
232
+
233
+ - Improved type safety across options config files and shared types.
234
+ - Replaced `any` types with strict unions in `ItemFilter.parameters`, `ItemFilterParameter.value`, and `ItemData.data`.
235
+ - Added `ItemFilterParameterDefinition` type to represent embed filter parameter definitions.
236
+ - Added `ColorsClassKey` type to `colorsClass` properties (replacing `string`).
237
+
238
+ ## [1.0.27] - 2026-02-05
239
+
240
+ ### Changed
241
+
242
+ - Fix circular dependencies in positioning config.
243
+ - Extended `OptionTranslation` interface with `tooltip`, `extraLabel`, and `extraLabelTooltip` fields.
244
+ - Extended `ControlConfig` interface with explicit typed fields for `description`, `placeholder`, `tooltip`, `extraLabel`, and `extraLabelTooltip`.
245
+ - Enhanced `mergeTranslationIntoOption` to merge additional translatable fields (`description`, `placeholder`, `tooltip`, `extraLabel`, `extraLabelTooltip`) while preserving function-based values.
246
+
247
+ ### Added
248
+
249
+ - Added positioning loader to lazily load positioning config.
250
+ - Added `getOptionsTranslationsByItemTypeAndLanguage` function to load translations separately from config, with optional English fallback.
251
+ - Exported `OptionTranslation` and `TranslationsFile` types for external use.
252
+ - **Ranking, sort, and limit options** to chart options configs:
253
+ - Bar Chart: ranking (active, direction, number), sort (measure/category/column), limit
254
+ - Column Chart: ranking (active, direction, number), sort (measure/category/column), limit
255
+ - Pyramid Chart: ranking (active, direction, number), limit
256
+ - Combination Chart: ranking (active, direction, number), limit
257
+ - Wordcloud Chart: ranking (direction, number with default 250)
258
+ - Slicer Filter: ranking (active, direction, number), limit
259
+ - Funnel Chart: limit
260
+ - Sunburst Chart: sort (measure/category), limit
261
+ - Donut/Pie Chart: sort.direction, limit
262
+
263
+ ## [1.0.26] - 2026-02-03
264
+
265
+ ### Changed
266
+
267
+ - Externalize colorjs.io and tslib dependency in build
268
+
269
+ ## [1.0.25] - 2026-01-30
270
+
271
+ ### Added
272
+
273
+ - **Async configuration loaders** for dynamic imports and tree-shaking:
274
+ - `getSlotsConfigByItemType(itemType)` - Async loader for slot configurations
275
+ - `getContextConfigByItemType(itemType)` - Async loader for context configurations
276
+ - `getOptionsConfigByItemType(itemType)` - Async loader for options configurations
277
+ - **Synchronous exports** for item catalog:
278
+ - `itemTypes` - Array of all available item type definitions
279
+ - `itemList` - List of item configurations
280
+ - **Generated registry files** for optimized dynamic imports:
281
+ - `options-registry.generated.ts`
282
+ - `context-registry.generated.ts`
283
+ - `slots-registry.generated.ts`
284
+ - **Registry generation script** (`scripts/generate-config-registries.ts`) with:
285
+ - Automatic discovery of config files
286
+ - Smart key quoting (only quotes keys with special characters)
287
+ - ES module compatible output
288
+
289
+ ### Changed
290
+
291
+ - **Package.json modernized** for dual ESM/CJS support:
292
+ - Updated `main` to `./index.cjs` for CommonJS consumers
293
+ - Updated `module` to `./index.js` for ESM consumers
294
+ - Added `exports` field with conditional exports for modern Node.js resolution
295
+ - **Vite build configuration** optimized:
296
+ - Custom rollup output: `.js` for ESM, `.cjs` for CJS
297
+ - Enabled `preserveModules` for better tree-shaking
298
+ - Added `minify: 'esbuild'` for faster builds
299
+ - Added `target: 'es2020'` for modern JavaScript output
300
+ - Enabled source maps
301
+ - Added treeshake optimizations
302
+
303
+ ### Removed
304
+
305
+ - `VizItemSlots` type export (use `VizItemSlot[]` directly instead)
306
+
307
+ ## [1.0.24] - 2026-01-30
308
+
309
+ ### Updates
310
+
311
+ - Add missing changelog entry for version 1.0.23.
312
+
313
+ ## [1.0.23] - 2026-01-29
314
+
315
+ ### Updates
316
+
317
+ - **Slot config property renames** to align with ACK:
318
+ - `canAcceptMultipleColumns` → `canAcceptMultipleDataFields`
319
+ - `acceptableColumnTypes` → `acceptableDataFieldTypes`
320
+ - **New slot config properties**: `keepOnlyFirstWhenOtherSlotFilled`, `clearWhenOtherSlotHasMultipleItems`, `canAcceptDataIndependentOf`.
321
+ - Add options configs with i18n translations (de, en, es, fr, nl) for all chart types.
322
+ - Add positioning configs for all chart types.
323
+ - Add context configs for all chart types.
324
+ - Add `getLocalizedOptionsConfig` and `getOptionsConfigByItemType` utilities for lazy-loading localized options configurations.
325
+ - Add color utilities (`color-palettes`, `extrapolate-color`, `color-range-utils`) and map tile providers.
326
+ - Export `SlotPositioningConfig`, `GridConfig`, and `SlotPosition` types.
327
+
328
+ ## [1.0.22] - 2026-01-26
329
+
330
+ ### Updates
331
+
332
+ - Allow custom `VizItemType` and `SlotName` values while preserving autocomplete for known literals.
333
+
334
+ ## [1.0.21] - 2025-12-17
335
+
336
+ ### Updates
337
+
338
+ - Remove extra NPM dependencies
339
+
340
+ ## [1.0.20] - 2025-12-05
341
+
342
+ ### Updates
343
+
344
+ - Expose viz-item sizes in the configs
345
+
346
+ ## [1.0.19] - 2025-10-29
347
+
348
+ ### Updates
349
+
350
+ - Remove deprecated `ItemType`, `VisualItem`, `ChartItem`, `ControlItem`, `ContentItem` types.
351
+ - Add context configs per each viz item.
352
+ - Update Flex documentation.
353
+
354
+ ## [1.0.18] - 2025-09-02
355
+
356
+ ### Updates
357
+
358
+ - Update Period over period type: add new properties to support upcoming variable period over period feature
359
+
360
+ ## [1.0.17] - 2025-04-14
361
+
362
+ ### Updates
363
+
364
+ - Update Bar chart options: add missing values "absolute" and "percentageAllBars" for "bars.label" options
365
+
366
+ ## [1.0.16] - 2025-03-28
367
+
368
+ ### Updates
369
+
370
+ - Update missing dep topojson-specification
371
+
372
+ ## [1.0.14] - 2025-02-24
373
+
374
+ ### Updates
375
+
376
+ - Fix Readme
377
+
378
+ ## [1.0.13] - 2025-02-21
379
+
380
+ ### Updates
381
+
382
+ - Update ItemQuery type
383
+
384
+ ## [1.0.12] - 2025-02-06
385
+
386
+ ### Updates
387
+
388
+ - Add additional types for making building queries easier
389
+
390
+ ## [1.0.11] - 2025-01-31
391
+
392
+ ### Updates
393
+
394
+ - Update ExportType to be support more values
395
+
396
+ ## [1.0.10] - 2025-01-13
397
+
398
+ ### Updates
399
+
400
+ - Update types
401
+
402
+ ## [1.0.9] - 2025-01-08
403
+
404
+ ### Updates
405
+
406
+ - Remove code related to @angular/cdk
407
+
408
+ ## [1.0.8] - 2024-12-19
409
+
410
+ ### Updates
411
+
412
+ - Add LICENSE to the library
413
+
414
+ ## [1.0.7] - 2024-12-13
415
+
416
+ ### Updates
417
+
418
+ - New JSON schemas and types for dashboard contents
419
+
420
+ ## [1.0.6] - 2024-11-22
421
+
422
+ ### Updates
423
+
424
+ - New JSON schemas and types for dashboard contents
425
+
426
+ ## [1.0.5] - 2024-11-18
427
+
428
+ ### Updates
429
+
430
+ - Expose slot configs for charts
431
+
432
+ ## [1.0.4] - 2024-11-14
433
+
434
+ ### Updates
435
+
436
+ - Remove JSON schemas from the library
437
+
438
+ ## [1.0.3] - 2024-10-22
439
+
440
+ ### Updates
441
+
442
+ - Fix displaying Search Filter in Flex
443
+
444
+ ## [1.0.2] - 2024-10-21
445
+
446
+ ### Updates
447
+
448
+ - Changes related to theme options
449
+
450
+ ## [1.0.1] - 2024-10-14
451
+
452
+ ### Updates
453
+
454
+ - Update types
455
+
456
+ ## [0.1.88] - 2024-09-09
457
+
458
+ - Types and JSON schemas from Luzmo dashboard contents v0.1.88