fix(dees-chart-area): add ApexAxisChartSeries type to dees-chart-area component to improve typing for ApexCharts series data
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2026-02-16 - 3.42.2 - fix(dees-chart-area)
|
||||||
|
add ApexAxisChartSeries type to dees-chart-area component to improve typing for ApexCharts series data
|
||||||
|
|
||||||
|
- Introduces ApexAxisChartSeries type alias with support for number arrays, [x,y] tuples, and object {x,y,...} series entries
|
||||||
|
- Type-only change — no runtime or API behavior modified
|
||||||
|
- File changed: ts_web/elements/00group-chart/dees-chart-area/component.ts
|
||||||
|
|
||||||
## 2026-02-16 - 3.42.1 - fix(dees-table)
|
## 2026-02-16 - 3.42.1 - fix(dees-table)
|
||||||
Guard against undefined action.type in dees-table by using optional chaining and update several dependencies
|
Guard against undefined action.type in dees-table by using optional chaining and update several dependencies
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@design.estate/dees-catalog',
|
name: '@design.estate/dees-catalog',
|
||||||
version: '3.42.1',
|
version: '3.42.2',
|
||||||
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,16 @@ import { chartAreaStyles } from './styles.js';
|
|||||||
import { renderChartArea } from './template.js';
|
import { renderChartArea } from './template.js';
|
||||||
|
|
||||||
import type ApexCharts from 'apexcharts';
|
import type ApexCharts from 'apexcharts';
|
||||||
|
|
||||||
|
type ApexAxisChartSeries = {
|
||||||
|
name?: string;
|
||||||
|
type?: string;
|
||||||
|
color?: string;
|
||||||
|
group?: string;
|
||||||
|
hidden?: boolean;
|
||||||
|
zIndex?: number;
|
||||||
|
data: (number | null)[] | { x: any; y: any; [key: string]: any }[] | [number, number | null][] | number[][];
|
||||||
|
}[];
|
||||||
import { DeesServiceLibLoader } from '../../../services/index.js';
|
import { DeesServiceLibLoader } from '../../../services/index.js';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
|
|||||||
Reference in New Issue
Block a user