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-11192: Upgrade wijmo version #439

Merged
merged 4 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gulp/DefaultSpecs.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const constants = {

// Store the default project specifications
const specs = {
version: '2.17.0',
version: '2.18.0',
name: 'OutSystems DataGrid',
description: '',
url: 'Website:\n • ' + constants.websiteUrl,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "outsystems-datagrid",
"version": "2.17.0",
"version": "2.18.0",
"description": "OutSystems Data Grid for Reactive Web",
"author": "UI Components Team",
"license": "BSD-3-Clause",
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 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
Loading