Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROU-4827: Update Wijmo to version 5.20241.9 #405

Merged
merged 9 commits into from
Mar 27, 2024
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ If you're using OutSystems, this is how you can use this component in your appli

## About this repository

This repository contains the code that enable the usage of an external provider ([Wijmo](https://www.grapecity.com/wijmo/)), to create grids in OutSystems applications with the least possible effort.
This repository contains the code that enable the usage of an external provider ([Wijmo](https://developer.mescius.com/wijmo)), to create grids in OutSystems applications with the least possible effort.
The code is written in TypeScript🖤, and you branch it and PR your changes/proposals!

### What tools should you use?
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down Expand Up @@ -29,6 +29,13 @@ declare module wijmo.chart {
}
}
declare module wijmo.chart {
class _Curve {
private monoX;
private monoY;
private calc;
constructor(x: number[], y: number[], num?: number, curve?: string);
calculate(): any;
}
/**
* Calculates Spline curves.
*/
Expand Down Expand Up @@ -566,6 +573,7 @@ declare module wijmo.chart {
class _SvgRenderEngine implements IRenderEngine {
private static svgNS;
private static xlinkNS;
private _STROKE_JOIN;
private _element;
private _svg;
private _text;
Expand All @@ -589,6 +597,7 @@ declare module wijmo.chart {
private _readOnly;
private _isRtl;
private _precision;
private _options;
constructor(element?: HTMLElement);
attach(el: HTMLElement): void;
detach(): void;
Expand All @@ -606,6 +615,7 @@ declare module wijmo.chart {
readOnly: boolean;
precision: number;
readonly group: Element;
options: any;
addClipRect(clipRect: wijmo.Rect, id: string): void;
drawEllipse(cx: number, cy: number, rx: number, ry: number, className?: string, style?: any): SVGElement;
drawRect(x: number, y: number, w: number, h: number, className?: string, style?: any, clipPath?: string): SVGElement;
Expand Down Expand Up @@ -826,7 +836,7 @@ declare module wijmo.chart {
/**
* The {@link FlexChartBase} control from which the FlexChart and FlexPie derive.
*/
class FlexChartBase extends wijmo.Control implements _IPalette {
class FlexChartBase<T = any> extends wijmo.Control implements _IPalette {
static _WIDTH: number;
static _HEIGHT: number;
static _SELECTION_THRESHOLD: number;
Expand All @@ -839,7 +849,7 @@ declare module wijmo.chart {
static _CSS_PLOT_AREA: string;
static _FG: string;
_items: any;
_cv: wijmo.collections.ICollectionView;
_cv: wijmo.collections.ICollectionView<T>;
protected _palette: string[];
private _selectionMode;
private _itemFormatter;
Expand Down Expand Up @@ -872,7 +882,7 @@ declare module wijmo.chart {
/**
* Gets the {@link ICollectionView} object that contains the chart data.
*/
readonly collectionView: wijmo.collections.ICollectionView;
readonly collectionView: wijmo.collections.ICollectionView<T>;
/**
* Gets or sets an array of default colors to use for displaying each series.
*
Expand Down Expand Up @@ -992,7 +1002,7 @@ declare module wijmo.chart {
/**
* Occurs before the chart starts rendering data.
*/
readonly rendering: Event<FlexChartBase, RenderEventArgs>;
readonly rendering: Event<FlexChartBase<any>, RenderEventArgs>;
/**
* Raises the {@link rendering} event.
*
Expand All @@ -1002,7 +1012,7 @@ declare module wijmo.chart {
/**
* Occurs after the chart finishes rendering.
*/
readonly rendered: Event<FlexChartBase, RenderEventArgs>;
readonly rendered: Event<FlexChartBase<any>, RenderEventArgs>;
/**
* Raises the {@link rendered} event.
*
Expand All @@ -1012,7 +1022,7 @@ declare module wijmo.chart {
/**
* Occurs before the chart is bound to a new items source.
*/
readonly itemsSourceChanging: Event<FlexChartBase, CancelEventArgs>;
readonly itemsSourceChanging: Event<FlexChartBase<any>, CancelEventArgs>;
/**
* Raises the {@link itemsSourceChanging} event.
*
Expand All @@ -1023,7 +1033,7 @@ declare module wijmo.chart {
/**
* Occurs after the chart has been bound to a new items source.
*/
readonly itemsSourceChanged: Event<FlexChartBase, EventArgs>;
readonly itemsSourceChanged: Event<FlexChartBase<any>, EventArgs>;
/**
* Raises the {@link itemsSourceChanged} event.
*/
Expand Down Expand Up @@ -1076,7 +1086,7 @@ declare module wijmo.chart {
* when you want to update details in a textbox showing the current
* selection.
*/
readonly selectionChanged: Event<FlexChartBase, EventArgs>;
readonly selectionChanged: Event<FlexChartBase<any>, EventArgs>;
/**
* Raises the {@link selectionChanged} event.
*/
Expand Down Expand Up @@ -1888,9 +1898,12 @@ declare module wijmo.chart {
ShowGrid = 2
}
/**
* Provides options for axis groups display.
* Provides options for axis groups.
*/
interface IAxisGroupsOptions {
/**
* Gets or sets the options for axis groups display.
*/
display: AxisGroupsDisplay;
}
/**
Expand Down Expand Up @@ -2620,7 +2633,7 @@ declare module wijmo.chart {
/**
* Represents a series of data points to display in the chart.
*/
class SeriesBase implements _ISeries {
class SeriesBase<T = any> implements _ISeries {
static _LEGEND_ITEM_WIDTH: number;
static _LEGEND_ITEM_HEIGHT: number;
static _LEGEND_ITEM_MARGIN: number;
Expand All @@ -2633,7 +2646,7 @@ declare module wijmo.chart {
private _symbolSize;
private _style;
private _altStyle;
_cv: wijmo.collections.ICollectionView;
_cv: wijmo.collections.ICollectionView<T>;
private _itemsSource;
private _values;
private _valueDataType;
Expand Down Expand Up @@ -2728,7 +2741,7 @@ declare module wijmo.chart {
/**
* Gets the {@link ICollectionView} object that contains the data for this series.
*/
readonly collectionView: wijmo.collections.ICollectionView;
readonly collectionView: wijmo.collections.ICollectionView<T>;
/**
* Gets the {@link FlexChart} object that owns this series.
*/
Expand Down Expand Up @@ -2808,7 +2821,7 @@ declare module wijmo.chart {
/**
* Occurs when series is rendering.
*/
readonly rendering: Event<SeriesBase, SeriesRenderingEventArgs>;
readonly rendering: Event<SeriesBase<any>, SeriesRenderingEventArgs>;
/**
* Raises the {@link rendering} event.
*
Expand All @@ -2820,7 +2833,7 @@ declare module wijmo.chart {
/**
* Occurs when series is rendered.
*/
readonly rendered: Event<SeriesBase, RenderEventArgs>;
readonly rendered: Event<SeriesBase<any>, RenderEventArgs>;
/**
* Raises the {@link rendered} event.
*
Expand Down Expand Up @@ -3080,9 +3093,12 @@ declare module wijmo.chart {
*
* @param pt The point to investigate, in window coordinates.
* @param y The Y coordinate of the point (if the first parameter is a number).
* @param isTooltip Enables hit testing for tooltip.
* @return A {@link HitTestInfo} object containing information about the point.
*/
hitTest(pt: any, y?: number): HitTestInfo;
hitTest(pt: any, y?: number, isTooltip?: boolean): HitTestInfo;
private _hitTestData;
private _isSmallSegment;
_performBind(): void;
_getBindings(): string[];
_initData(): void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20232.939
* Wijmo Library 5.20241.9
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down Expand Up @@ -55,8 +55,8 @@ declare module wijmo.chart.webgl {
* set <b>renderEngine<b> property of {@link FlexChart} to
* an instance of the {@link WebGLRenderEngine}. For example:
*```typescript
* import { FlexChart } from '@grapecity/wijmo.chart';
* import { WebGLRenderEngine } from '@grapecity/wijmo.chart.webgl';
* import { FlexChart } from '@mescius/wijmo.chart';
* import { WebGLRenderEngine } from '@mescius/wijmo.chart.webgl';
* let flexChart = new FlexChart('#theGrid'); // create the chart
* flexChart.renderEngine = new WebGLRenderEngine(); // set the render engine
* ```
Expand Down
Loading
Loading