Skip to content

Commit

Permalink
Release 10.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
seanlandsman committed Jul 12, 2024
1 parent 93620c8 commit fa34f90
Show file tree
Hide file tree
Showing 72 changed files with 200 additions and 134 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# This is disabled for existing workspaces to maintain compatibility
# For more info, see: https://nx.dev/concepts/inferred-tasks
NX_ADD_PLUGINS=false
PUBLIC_PACKAGE_VERSION=10.0.2-beta.20240711.1518
PUBLIC_PACKAGE_VERSION=10.0.2
Binary file modified dist/packages/ag-charts-angular.tgz
Binary file not shown.
Binary file modified dist/packages/ag-charts-community.tgz
Binary file not shown.
Binary file modified dist/packages/ag-charts-enterprise.tgz
Binary file not shown.
Binary file modified dist/packages/ag-charts-locale.tgz
Binary file not shown.
Binary file modified dist/packages/ag-charts-react.tgz
Binary file not shown.
Binary file modified dist/packages/ag-charts-types.tgz
Binary file not shown.
Binary file modified dist/packages/ag-charts-vue3.tgz
Binary file not shown.
6 changes: 3 additions & 3 deletions dist/packages/contents/ag-charts-angular/package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ag-charts-angular",
"version": "10.0.0",
"version": "10.0.2",
"repository": {
"type": "git",
"url": "https://github.com/ag-grid/ag-charts.git"
Expand All @@ -20,11 +20,11 @@
"peerDependencies": {
"@angular/common": ">= 16.0.0",
"@angular/core": ">= 16.0.0",
"ag-charts-community": "10.0.0"
"ag-charts-community": "10.0.2"
},
"dependencies": {
"tslib": "^2.3.0",
"ag-charts-community": "10.0.0"
"ag-charts-community": "10.0.2"
},
"module": "fesm2022/ag-charts-angular.mjs",
"typings": "index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2328,9 +2328,12 @@ function getPath(object, path) {
const pathArray = isArray(path) ? path : path.split(".");
return pathArray.reduce((value, pathKey) => value[pathKey], object);
}
var SKIP_JS_BUILTINS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
function setPath(object, path, newValue) {
const pathArray = isArray(path) ? path.slice() : path.split(".");
const lastKey = pathArray.pop();
if (pathArray.some((p) => SKIP_JS_BUILTINS.has(p)))
return;
const lastObject = pathArray.reduce((value, pathKey) => value[pathKey], object);
lastObject[lastKey] = newValue;
return lastObject[lastKey];
Expand Down Expand Up @@ -2515,6 +2518,8 @@ function jsonApply(target, source, params = {}) {
const targetAny = target;
const targetType = classify(target);
for (const property in source) {
if (SKIP_JS_BUILTINS.has(property))
continue;
const propertyMatcherPath = `${matcherPath ? matcherPath + "." : ""}${property}`;
if (skip.includes(propertyMatcherPath))
continue;
Expand Down Expand Up @@ -4628,6 +4633,13 @@ var _Group = class _Group extends Node {
computeTransformedBBox() {
return this.computeBBox();
}
computeTransformedRegionBBox() {
if (this.clipRect) {
this.computeTransformMatrix();
return this.matrix.transformBBox(this.clipRect);
}
return this.computeTransformedBBox();
}
preRender() {
const counts = super.preRender();
counts.groups += 1;
Expand Down Expand Up @@ -10796,7 +10808,7 @@ function buildScheduler(scheduleFn, cb) {
}

// packages/ag-charts-community/src/version.ts
var VERSION = "10.0.0";
var VERSION = "10.0.2";

// packages/ag-charts-community/src/api/state/memento.ts
var MementoCaretaker = class {
Expand Down Expand Up @@ -13744,7 +13756,7 @@ var RegionManager = class {
let currentRegion;
for (const region of this.regions.values()) {
for (const provider of region.properties.bboxproviders) {
const bbox = provider.computeTransformedBBox();
const bbox = provider.computeTransformedRegionBBox?.() ?? provider.computeTransformedBBox();
const area2 = bbox.width * bbox.height;
if (area2 < currentArea && bbox.containsPoint(x, y)) {
currentArea = area2;
Expand Down Expand Up @@ -29373,6 +29385,8 @@ var Sector = class extends Path {
const sweepAngle = endAngle - startAngle;
const fullPie = sweepAngle >= 2 * Math.PI - delta3;
path.clear();
if (this.innerRadius === 0 && this.outerRadius === 0)
return;
if ((clipSector?.startAngle ?? startAngle) === (clipSector?.endAngle ?? endAngle)) {
return;
} else if (fullPie && this.clipSector == null && startOuterCornerRadius === 0 && endOuterCornerRadius === 0 && startInnerCornerRadius === 0 && endInnerCornerRadius === 0) {
Expand Down Expand Up @@ -36770,6 +36784,7 @@ __export(module_support_exports, {
RATIO: () => RATIO,
REGIONS: () => REGIONS,
RepeatType: () => RepeatType,
SKIP_JS_BUILTINS: () => SKIP_JS_BUILTINS,
SMALLEST_KEY_INTERVAL: () => SMALLEST_KEY_INTERVAL,
SORT_DOMAIN_GROUPS: () => SORT_DOMAIN_GROUPS,
STRING: () => STRING,
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2298,9 +2298,12 @@ function getPath(object, path) {
const pathArray = isArray(path) ? path : path.split(".");
return pathArray.reduce((value, pathKey) => value[pathKey], object);
}
var SKIP_JS_BUILTINS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
function setPath(object, path, newValue) {
const pathArray = isArray(path) ? path.slice() : path.split(".");
const lastKey = pathArray.pop();
if (pathArray.some((p) => SKIP_JS_BUILTINS.has(p)))
return;
const lastObject = pathArray.reduce((value, pathKey) => value[pathKey], object);
lastObject[lastKey] = newValue;
return lastObject[lastKey];
Expand Down Expand Up @@ -2485,6 +2488,8 @@ function jsonApply(target, source, params = {}) {
const targetAny = target;
const targetType = classify(target);
for (const property in source) {
if (SKIP_JS_BUILTINS.has(property))
continue;
const propertyMatcherPath = `${matcherPath ? matcherPath + "." : ""}${property}`;
if (skip.includes(propertyMatcherPath))
continue;
Expand Down Expand Up @@ -4598,6 +4603,13 @@ var _Group = class _Group extends Node {
computeTransformedBBox() {
return this.computeBBox();
}
computeTransformedRegionBBox() {
if (this.clipRect) {
this.computeTransformMatrix();
return this.matrix.transformBBox(this.clipRect);
}
return this.computeTransformedBBox();
}
preRender() {
const counts = super.preRender();
counts.groups += 1;
Expand Down Expand Up @@ -10766,7 +10778,7 @@ function buildScheduler(scheduleFn, cb) {
}

// packages/ag-charts-community/src/version.ts
var VERSION = "10.0.0";
var VERSION = "10.0.2";

// packages/ag-charts-community/src/api/state/memento.ts
var MementoCaretaker = class {
Expand Down Expand Up @@ -13714,7 +13726,7 @@ var RegionManager = class {
let currentRegion;
for (const region of this.regions.values()) {
for (const provider of region.properties.bboxproviders) {
const bbox = provider.computeTransformedBBox();
const bbox = provider.computeTransformedRegionBBox?.() ?? provider.computeTransformedBBox();
const area2 = bbox.width * bbox.height;
if (area2 < currentArea && bbox.containsPoint(x, y)) {
currentArea = area2;
Expand Down Expand Up @@ -29343,6 +29355,8 @@ var Sector = class extends Path {
const sweepAngle = endAngle - startAngle;
const fullPie = sweepAngle >= 2 * Math.PI - delta3;
path.clear();
if (this.innerRadius === 0 && this.outerRadius === 0)
return;
if ((clipSector?.startAngle ?? startAngle) === (clipSector?.endAngle ?? endAngle)) {
return;
} else if (fullPie && this.clipSector == null && startOuterCornerRadius === 0 && endOuterCornerRadius === 0 && startInnerCornerRadius === 0 && endInnerCornerRadius === 0) {
Expand Down Expand Up @@ -36740,6 +36754,7 @@ __export(module_support_exports, {
RATIO: () => RATIO,
REGIONS: () => REGIONS,
RepeatType: () => RepeatType,
SKIP_JS_BUILTINS: () => SKIP_JS_BUILTINS,
SMALLEST_KEY_INTERVAL: () => SMALLEST_KEY_INTERVAL,
SORT_DOMAIN_GROUPS: () => SORT_DOMAIN_GROUPS,
STRING: () => STRING,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export declare class Group extends Node {
containsPoint(_x: number, _y: number): boolean;
computeBBox(): BBox;
computeTransformedBBox(): BBox;
computeTransformedRegionBBox(): BBox;
private lastBBox?;
preRender(): ChildNodeCounts;
deriveZIndexFromChildren(): void;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export interface BBoxContainsTester {
containsPoint(x: number, y: number): boolean;
}
export interface BBoxProvider<T = BBoxValues> {
computeTransformedRegionBBox?(): T;
computeTransformedBBox(): T;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export declare function mergeArrayDefaults(dataArray: PlainObject[], ...itemDefa
export declare function mapValues<T extends PlainObject, R>(object: T, mapper: (value: T[keyof T], key: keyof T, object: T) => R): Record<keyof T, R>;
export declare function without(object: object | undefined, keys: string[]): {};
export declare function getPath(object: object, path: string | string[]): any;
export declare const SKIP_JS_BUILTINS: Set<string>;
export declare function setPath(object: object, path: string | string[], newValue: unknown): any;
export declare function partialAssign<T>(keysToCopy: (keyof T)[], target: T, source?: Partial<T>): T;
export {};
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare const VERSION = "10.0.0";
export declare const VERSION = "10.0.2";
Original file line number Diff line number Diff line change
Expand Up @@ -2381,9 +2381,12 @@ function getPath(object, path) {
const pathArray = isArray(path) ? path : path.split(".");
return pathArray.reduce((value, pathKey) => value[pathKey], object);
}
var SKIP_JS_BUILTINS = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
function setPath(object, path, newValue) {
const pathArray = isArray(path) ? path.slice() : path.split(".");
const lastKey = pathArray.pop();
if (pathArray.some((p) => SKIP_JS_BUILTINS.has(p)))
return;
const lastObject = pathArray.reduce((value, pathKey) => value[pathKey], object);
lastObject[lastKey] = newValue;
return lastObject[lastKey];
Expand Down Expand Up @@ -2574,6 +2577,8 @@ function jsonApply(target, source, params = {}) {
const targetAny = target;
const targetType = classify(target);
for (const property in source) {
if (SKIP_JS_BUILTINS.has(property))
continue;
const propertyMatcherPath = `${matcherPath ? matcherPath + "." : ""}${property}`;
if (skip.includes(propertyMatcherPath))
continue;
Expand Down Expand Up @@ -4649,6 +4654,13 @@ var _Group = class _Group2 extends Node {
computeTransformedBBox() {
return this.computeBBox();
}
computeTransformedRegionBBox() {
if (this.clipRect) {
this.computeTransformMatrix();
return this.matrix.transformBBox(this.clipRect);
}
return this.computeTransformedBBox();
}
preRender() {
var _a, _b;
const counts = super.preRender();
Expand Down Expand Up @@ -10885,7 +10897,7 @@ function buildScheduler(scheduleFn, cb) {
}
};
}
var VERSION = "10.0.0";
var VERSION = "10.0.2";
var MementoCaretaker = class {
constructor(version) {
this.version = version.split("-")[0];
Expand Down Expand Up @@ -13878,11 +13890,12 @@ var RegionManager = class {
this.currentRegion = newRegion;
}
pickRegion(x, y) {
var _a, _b;
let currentArea = Infinity;
let currentRegion;
for (const region of this.regions.values()) {
for (const provider of region.properties.bboxproviders) {
const bbox = provider.computeTransformedBBox();
const bbox = (_b = (_a = provider.computeTransformedRegionBBox) == null ? void 0 : _a.call(provider)) != null ? _b : provider.computeTransformedBBox();
const area2 = bbox.width * bbox.height;
if (area2 < currentArea && bbox.containsPoint(x, y)) {
currentArea = area2;
Expand Down Expand Up @@ -29954,6 +29967,8 @@ var Sector = class extends Path {
const sweepAngle = endAngle - startAngle;
const fullPie = sweepAngle >= 2 * Math.PI - delta3;
path.clear();
if (this.innerRadius === 0 && this.outerRadius === 0)
return;
if (((_a = clipSector == null ? void 0 : clipSector.startAngle) != null ? _a : startAngle) === ((_b = clipSector == null ? void 0 : clipSector.endAngle) != null ? _b : endAngle)) {
return;
} else if (fullPie && this.clipSector == null && startOuterCornerRadius === 0 && endOuterCornerRadius === 0 && startInnerCornerRadius === 0 && endInnerCornerRadius === 0) {
Expand Down Expand Up @@ -37586,6 +37601,7 @@ __export(module_support_exports, {
RATIO: () => RATIO,
REGIONS: () => REGIONS,
RepeatType: () => RepeatType,
SKIP_JS_BUILTINS: () => SKIP_JS_BUILTINS,
SMALLEST_KEY_INTERVAL: () => SMALLEST_KEY_INTERVAL,
SORT_DOMAIN_GROUPS: () => SORT_DOMAIN_GROUPS,
STRING: () => STRING,
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ag-charts-community",
"version": "10.0.0",
"version": "10.0.2",
"description": "Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue",
"main": "./dist/package/main.cjs.js",
"types": "./dist/types/src/main.d.ts",
Expand Down Expand Up @@ -47,8 +47,8 @@
],
"homepage": "https://charts.ag-grid.com/",
"dependencies": {
"ag-charts-types": "10.0.0",
"ag-charts-locale": "10.0.0"
"ag-charts-types": "10.0.2",
"ag-charts-locale": "10.0.2"
},
"devDependencies": {
"@babel/types": "7.12.7",
Expand All @@ -61,7 +61,7 @@
"@types/ws": "8.5.3",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"ag-charts-test": "10.0.0",
"ag-charts-test": "10.0.2",
"assert": "2.0.0",
"canvas": "^2.10.2",
"del": "^6.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9301,7 +9301,7 @@ var _LicenseManager = class _LicenseManager {
this.watermarkMessage = "License Expired";
}
};
_LicenseManager.RELEASE_INFORMATION = "MTcxMzg5MTcwNTkzNw==";
_LicenseManager.RELEASE_INFORMATION = "MTcyMDAyMjAyNTIyOQ==";
var LicenseManager = _LicenseManager;

// packages/ag-charts-enterprise/src/license/watermark.ts
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9288,7 +9288,7 @@ var _LicenseManager = class _LicenseManager {
this.watermarkMessage = "License Expired";
}
};
_LicenseManager.RELEASE_INFORMATION = "MTcxMzg5MTcwNTkzNw==";
_LicenseManager.RELEASE_INFORMATION = "MTcyMDAyMjAyNTIyOQ==";
var LicenseManager = _LicenseManager;

// packages/ag-charts-enterprise/src/license/watermark.ts
Expand Down
Loading

0 comments on commit fa34f90

Please sign in to comment.