Skip to content

Commit

Permalink
ROU-11192: Upgrade wijmo version (#439)
Browse files Browse the repository at this point in the history
* Update type files to latest provider's version

* Remove workaround for WJM-34234

* Update Data Grid version

* Add workaround for resize issue
  • Loading branch information
OS-giulianasilva authored Nov 20, 2024
1 parent 1e56b3f commit 3a8ce35
Show file tree
Hide file tree
Showing 97 changed files with 640 additions and 299 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down Expand Up @@ -302,6 +302,8 @@ declare module wijmo.chart.analytics {
private _fitType;
private _order;
private _helper;
private _minX;
private _maxX;
/**
* Initializes a new instance of the {@link TrendLine} class.
*
Expand All @@ -321,6 +323,19 @@ declare module wijmo.chart.analytics {
* TrendLineFitType.Fourier.
*/
order: number;
/**
* Gets or sets the minimal x-value.
*
* The default value is null and the minimum is calculated automatically from
* original data range.
*/
minX: number;
/**
* Gets or sets the maximal x-value.
* The default value is null and the maximum is calculated automatically from
* original data range.
*/
maxX: number;
/**
* Gets the coefficients of the equation.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down Expand Up @@ -667,6 +667,7 @@ declare module wijmo.chart {
class Legend {
_chart: FlexChartBase;
_position: Position;
_reverse: boolean;
private _title;
private _titleAlign;
private _titlePadding;
Expand All @@ -687,6 +688,14 @@ declare module wijmo.chart {
* appears in relation to the plot area.
*/
position: Position;
/**
* Gets or sets a value that determines whether the legend would be shown in reverse order or not
* The value should be 'true' or 'false' or undefined. Default value is undefined.
* If true, legends wwould be shown in reverse order
* If false, legends would be shown in non-reverse order
* If undefined, it would be decided automatically by the chart.
*/
reverse: boolean;
/**
* Gets or sets a value that determines the title of the legend.
*/
Expand Down Expand Up @@ -815,6 +824,7 @@ declare module wijmo.chart {
}
/**
* Specifies the position of an axis or legend on the chart.
* TopLeft, TopRight, BottomLeft, BottomRight, LeftTop, LeftBottom, RightTop and RightBottom are valid only for Legend Position
*/
enum Position {
/** The item is not visible. */
Expand All @@ -828,7 +838,23 @@ declare module wijmo.chart {
/** The item appears below the chart. */
Bottom = 4,
/** The item is positioned automatically. */
Auto = 5
Auto = 5,
/** The Item appears on the top left corner of the chart */
TopLeft = 6,
/** The Item appears on the top right corner of the chart */
TopRight = 7,
/** The Item appears on the bottom left corner of the chart */
BottomLeft = 8,
/** The Item appears on the bottom right corner of the chart */
BottomRight = 9,
/** The Item appears on the left top corner of the chart */
LeftTop = 10,
/** The Item appears on the left bottom corner of the chart */
LeftBottom = 11,
/** The Item appears on the right top corner of the chart */
RightTop = 12,
/** The Item appears on the rightbottom corner of the chart */
RightBottom = 13
}
/**
* Specifies the element orientation.
Expand Down Expand Up @@ -2052,6 +2078,9 @@ declare module wijmo.chart {
reversed: boolean;
/**
* Gets or sets the position of the axis with respect to the plot area.
* TopLeft, TopRight, BottomLeft, BottomRight, LeftTop, LeftBottom, RightTop and RightBottom are not valid for Axis Position. If set it would be changed to default Position of respective axis.
* When Position set to X-Axis, None/Top/Bottom would be applicable and if other values are set, it would be change to X-Axis default Position value.
* When Position set to Y-Axis, None/Left/Right would be applicable and if other values are set, it would be changed to Y-Axis default Position value.
*/
position: Position;
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand All @@ -19,6 +19,7 @@ declare module wijmo {
function isIE(): boolean;
function isIE9(): boolean;
function isIE10(): boolean;
function isChromiumBased(): boolean;
function getEventOptions(capture: boolean, passive: boolean): any;
function supportsFocusOptions(): boolean;
function _startDrag(dataTransfer: any, effectAllowed: string): void;
Expand Down Expand Up @@ -771,6 +772,7 @@ declare module wijmo.collections {
const empty: {};
}
declare module wijmo {
const _CLS_STATE_DISABLED = "wj-state-disabled";
/**
* Gets the version of the Wijmo library that is currently loaded.
*/
Expand Down Expand Up @@ -964,6 +966,7 @@ declare module wijmo {
* @param obj Object to test.
*/
function isEmpty(obj: any): boolean;
function _areObjectsEqual(obj1: any, obj2: any): boolean;
/**
* Creates a new unique id for an element by adding sequential
* numbers to a given base id.
Expand Down Expand Up @@ -1158,6 +1161,13 @@ declare module wijmo {
* @returns The destination object.
*/
function copy(dst: any, src: any, copySubObjects?: boolean, copyNativeSubObjects?: boolean): any;
/**
* Checks if given property of an object is writable
* @param obj Object whose property needs to check
* @param key property that needs to be checked
* @returns true if property is writable otherwise false
*/
function isWritable<T extends Object>(obj: T, key: keyof T): boolean;
/**
* Throws an exception if a condition is false.
*
Expand Down Expand Up @@ -1570,8 +1580,10 @@ declare module wijmo {
* Returns true if a {@link Point} has the same coordinates as this {@link Point}.
*
* @param pt {@link Point} to compare to this {@link Point}.
* @param dx tolerance for x position difference
* @param dy tolerance for y position difference
*/
equals(pt: Point): boolean;
equals(pt: Point, dx?: number, dy?: number): boolean;
/**
* Creates a copy of this {@link Point}.
*/
Expand Down Expand Up @@ -1932,6 +1944,24 @@ declare module wijmo {
* @returns True if an element was focused, otherwise false.
*/
function focusFirst(container: HTMLElement, focusableSelector?: string): boolean;
const cellCoordinateParserRegex: RegExp;
/**
* Gets the first ancestor of provided node that is scrollable or
* the document.scrollingElement if no such parent exists
*
* @param element The DOM node
*/
function getScrollableParent(element: HTMLElement): HTMLElement;
/**
* Gets the offset of provided element from the ref parent node
* @param node The DOM node to calculate offset of
* @param refNode The ancestor node from which offset needs to be calculated
*/
function getOffsetFromAncestor(node: HTMLElement, refNode: HTMLElement): {
top: number;
left: number;
};
function _isMacOS(): boolean;
}
declare module wijmo {
interface _IMap<K, V> {
Expand Down Expand Up @@ -2731,8 +2761,10 @@ declare module wijmo.collections {
beginUpdate(): void;
/**
* Resumes notifications suspended by a call to {@link beginUpdate}.
*
* @param isSilent whether to end update silently i.e without raising collectionChanged event
*/
endUpdate(): void;
endUpdate(isSilent?: boolean): void;
/**
* Gets a value that indicates whether notifications are currently suspended
* (see {@link beginUpdate} and {@link endUpdate}).
Expand Down Expand Up @@ -3714,6 +3746,10 @@ declare module wijmo.collections {
*/
_clone(): CollectionViewGroup;
}
class _NullValue {
_id: number;
constructor(id: number);
}
}
declare module wijmo {
var controlBaseClass: ObjectConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
*
* Wijmo Library 5.20241.19
* Wijmo Library 5.20242.21
* 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.20241.19
* Wijmo Library 5.20242.21
* https://developer.mescius.com/wijmo
*
* Copyright(c) MESCIUS inc. All rights reserved.
Expand Down
Loading

0 comments on commit 3a8ce35

Please sign in to comment.