@procore/data-table 14.36.0 → 14.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/legacy/index.cjs +17 -13
- package/dist/legacy/index.js +17 -13
- package/dist/modern/index.cjs +16 -12
- package/dist/modern/index.js +16 -12
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/legacy/index.cjs
CHANGED
|
@@ -55450,7 +55450,7 @@ function getCheckboxState(node, isServerSideDataRequest, rowSelectionRef) {
|
|
|
55450
55450
|
};
|
|
55451
55451
|
}
|
|
55452
55452
|
function RowCheckbox(props) {
|
|
55453
|
-
var _a;
|
|
55453
|
+
var _a, _b, _c;
|
|
55454
55454
|
const I18n = coreReact.useI18nContext();
|
|
55455
55455
|
const { rowSelectionRef, onServerSideDataRequest } = useInternalTableContext();
|
|
55456
55456
|
const [_selected, setSelected] = React80.useState(props.node.isSelected());
|
|
@@ -55470,7 +55470,7 @@ function RowCheckbox(props) {
|
|
|
55470
55470
|
removeEventListenerFromGrid("rowSelected", handleRowSelection, props.api);
|
|
55471
55471
|
};
|
|
55472
55472
|
}, []);
|
|
55473
|
-
|
|
55473
|
+
let checkbox = /* @__PURE__ */ React80__default.default.createElement(
|
|
55474
55474
|
coreReact.Checkbox,
|
|
55475
55475
|
{
|
|
55476
55476
|
checked: selected,
|
|
@@ -55490,7 +55490,11 @@ function RowCheckbox(props) {
|
|
|
55490
55490
|
},
|
|
55491
55491
|
onChange: noop2
|
|
55492
55492
|
}
|
|
55493
|
-
)
|
|
55493
|
+
);
|
|
55494
|
+
if ((_b = props.data) == null ? void 0 : _b.checkboxTooltip) {
|
|
55495
|
+
checkbox = /* @__PURE__ */ React80__default.default.createElement(coreReact.Tooltip, { overlay: (_c = props.data) == null ? void 0 : _c.checkboxTooltip, placement: "right" }, /* @__PURE__ */ React80__default.default.createElement("span", null, checkbox));
|
|
55496
|
+
}
|
|
55497
|
+
return /* @__PURE__ */ React80__default.default.createElement(coreReact.Box, { paddingRight: "md" }, checkbox);
|
|
55494
55498
|
}
|
|
55495
55499
|
|
|
55496
55500
|
// src/CellRenderers/AutoGroupCell.tsx
|
|
@@ -81414,7 +81418,7 @@ __decorate216([
|
|
|
81414
81418
|
__decorate216([
|
|
81415
81419
|
Validate(NUMBER())
|
|
81416
81420
|
], TooltipPosition.prototype, "yOffset", void 0);
|
|
81417
|
-
var
|
|
81421
|
+
var Tooltip7 = class _Tooltip {
|
|
81418
81422
|
constructor(canvasElement, document2, container) {
|
|
81419
81423
|
this.enableInteraction = false;
|
|
81420
81424
|
this.enabled = true;
|
|
@@ -81550,25 +81554,25 @@ var Tooltip6 = class _Tooltip {
|
|
|
81550
81554
|
this._showArrow = show;
|
|
81551
81555
|
}
|
|
81552
81556
|
};
|
|
81553
|
-
|
|
81557
|
+
Tooltip7.tooltipDocuments = [];
|
|
81554
81558
|
__decorate216([
|
|
81555
81559
|
Validate(BOOLEAN)
|
|
81556
|
-
],
|
|
81560
|
+
], Tooltip7.prototype, "enabled", void 0);
|
|
81557
81561
|
__decorate216([
|
|
81558
81562
|
Validate(OPT_BOOLEAN)
|
|
81559
|
-
],
|
|
81563
|
+
], Tooltip7.prototype, "showArrow", void 0);
|
|
81560
81564
|
__decorate216([
|
|
81561
81565
|
Validate(OPT_STRING)
|
|
81562
|
-
],
|
|
81566
|
+
], Tooltip7.prototype, "class", void 0);
|
|
81563
81567
|
__decorate216([
|
|
81564
81568
|
Validate(NUMBER(0))
|
|
81565
|
-
],
|
|
81569
|
+
], Tooltip7.prototype, "delay", void 0);
|
|
81566
81570
|
__decorate216([
|
|
81567
81571
|
DeprecatedAndRenamedTo("range", (value) => value ? "nearest" : "exact")
|
|
81568
|
-
],
|
|
81572
|
+
], Tooltip7.prototype, "tracking", void 0);
|
|
81569
81573
|
__decorate216([
|
|
81570
81574
|
Validate(INTERACTION_RANGE)
|
|
81571
|
-
],
|
|
81575
|
+
], Tooltip7.prototype, "range", void 0);
|
|
81572
81576
|
|
|
81573
81577
|
// ../../node_modules/ag-charts-community/dist/esm/es6/chart/data/aggregateFunctions.mjs
|
|
81574
81578
|
function sumValues(values2, accumulator = [0, 0]) {
|
|
@@ -86553,7 +86557,7 @@ var Chart = class extends Observable {
|
|
|
86553
86557
|
this.animationManager = new AnimationManager(this.interactionManager);
|
|
86554
86558
|
this.animationManager.skipAnimations = true;
|
|
86555
86559
|
this.animationManager.play();
|
|
86556
|
-
this.tooltip = new
|
|
86560
|
+
this.tooltip = new Tooltip7(this.scene.canvas.element, document2, document2.body);
|
|
86557
86561
|
this.tooltipManager = new TooltipManager(this.tooltip, this.interactionManager);
|
|
86558
86562
|
this.overlays = new ChartOverlays(this.element);
|
|
86559
86563
|
this.highlight = new ChartHighlight();
|
|
@@ -101009,7 +101013,7 @@ __export(integrated_charts_scene_exports, {
|
|
|
101009
101013
|
Shape: () => Shape,
|
|
101010
101014
|
Square: () => Square,
|
|
101011
101015
|
Text: () => Text,
|
|
101012
|
-
Tooltip: () =>
|
|
101016
|
+
Tooltip: () => Tooltip7,
|
|
101013
101017
|
getFont: () => getFont2,
|
|
101014
101018
|
getMarker: () => getMarker,
|
|
101015
101019
|
toRadians: () => toRadians,
|
package/dist/legacy/index.js
CHANGED
|
@@ -55437,7 +55437,7 @@ function getCheckboxState(node, isServerSideDataRequest, rowSelectionRef) {
|
|
|
55437
55437
|
};
|
|
55438
55438
|
}
|
|
55439
55439
|
function RowCheckbox(props) {
|
|
55440
|
-
var _a;
|
|
55440
|
+
var _a, _b, _c;
|
|
55441
55441
|
const I18n = useI18nContext();
|
|
55442
55442
|
const { rowSelectionRef, onServerSideDataRequest } = useInternalTableContext();
|
|
55443
55443
|
const [_selected, setSelected] = useState(props.node.isSelected());
|
|
@@ -55457,7 +55457,7 @@ function RowCheckbox(props) {
|
|
|
55457
55457
|
removeEventListenerFromGrid("rowSelected", handleRowSelection, props.api);
|
|
55458
55458
|
};
|
|
55459
55459
|
}, []);
|
|
55460
|
-
|
|
55460
|
+
let checkbox = /* @__PURE__ */ React80.createElement(
|
|
55461
55461
|
Checkbox,
|
|
55462
55462
|
{
|
|
55463
55463
|
checked: selected,
|
|
@@ -55477,7 +55477,11 @@ function RowCheckbox(props) {
|
|
|
55477
55477
|
},
|
|
55478
55478
|
onChange: noop2
|
|
55479
55479
|
}
|
|
55480
|
-
)
|
|
55480
|
+
);
|
|
55481
|
+
if ((_b = props.data) == null ? void 0 : _b.checkboxTooltip) {
|
|
55482
|
+
checkbox = /* @__PURE__ */ React80.createElement(Tooltip, { overlay: (_c = props.data) == null ? void 0 : _c.checkboxTooltip, placement: "right" }, /* @__PURE__ */ React80.createElement("span", null, checkbox));
|
|
55483
|
+
}
|
|
55484
|
+
return /* @__PURE__ */ React80.createElement(Box, { paddingRight: "md" }, checkbox);
|
|
55481
55485
|
}
|
|
55482
55486
|
|
|
55483
55487
|
// src/CellRenderers/AutoGroupCell.tsx
|
|
@@ -81401,7 +81405,7 @@ __decorate216([
|
|
|
81401
81405
|
__decorate216([
|
|
81402
81406
|
Validate(NUMBER())
|
|
81403
81407
|
], TooltipPosition.prototype, "yOffset", void 0);
|
|
81404
|
-
var
|
|
81408
|
+
var Tooltip7 = class _Tooltip {
|
|
81405
81409
|
constructor(canvasElement, document2, container) {
|
|
81406
81410
|
this.enableInteraction = false;
|
|
81407
81411
|
this.enabled = true;
|
|
@@ -81537,25 +81541,25 @@ var Tooltip6 = class _Tooltip {
|
|
|
81537
81541
|
this._showArrow = show;
|
|
81538
81542
|
}
|
|
81539
81543
|
};
|
|
81540
|
-
|
|
81544
|
+
Tooltip7.tooltipDocuments = [];
|
|
81541
81545
|
__decorate216([
|
|
81542
81546
|
Validate(BOOLEAN)
|
|
81543
|
-
],
|
|
81547
|
+
], Tooltip7.prototype, "enabled", void 0);
|
|
81544
81548
|
__decorate216([
|
|
81545
81549
|
Validate(OPT_BOOLEAN)
|
|
81546
|
-
],
|
|
81550
|
+
], Tooltip7.prototype, "showArrow", void 0);
|
|
81547
81551
|
__decorate216([
|
|
81548
81552
|
Validate(OPT_STRING)
|
|
81549
|
-
],
|
|
81553
|
+
], Tooltip7.prototype, "class", void 0);
|
|
81550
81554
|
__decorate216([
|
|
81551
81555
|
Validate(NUMBER(0))
|
|
81552
|
-
],
|
|
81556
|
+
], Tooltip7.prototype, "delay", void 0);
|
|
81553
81557
|
__decorate216([
|
|
81554
81558
|
DeprecatedAndRenamedTo("range", (value) => value ? "nearest" : "exact")
|
|
81555
|
-
],
|
|
81559
|
+
], Tooltip7.prototype, "tracking", void 0);
|
|
81556
81560
|
__decorate216([
|
|
81557
81561
|
Validate(INTERACTION_RANGE)
|
|
81558
|
-
],
|
|
81562
|
+
], Tooltip7.prototype, "range", void 0);
|
|
81559
81563
|
|
|
81560
81564
|
// ../../node_modules/ag-charts-community/dist/esm/es6/chart/data/aggregateFunctions.mjs
|
|
81561
81565
|
function sumValues(values2, accumulator = [0, 0]) {
|
|
@@ -86540,7 +86544,7 @@ var Chart = class extends Observable {
|
|
|
86540
86544
|
this.animationManager = new AnimationManager(this.interactionManager);
|
|
86541
86545
|
this.animationManager.skipAnimations = true;
|
|
86542
86546
|
this.animationManager.play();
|
|
86543
|
-
this.tooltip = new
|
|
86547
|
+
this.tooltip = new Tooltip7(this.scene.canvas.element, document2, document2.body);
|
|
86544
86548
|
this.tooltipManager = new TooltipManager(this.tooltip, this.interactionManager);
|
|
86545
86549
|
this.overlays = new ChartOverlays(this.element);
|
|
86546
86550
|
this.highlight = new ChartHighlight();
|
|
@@ -100996,7 +101000,7 @@ __export(integrated_charts_scene_exports, {
|
|
|
100996
101000
|
Shape: () => Shape,
|
|
100997
101001
|
Square: () => Square,
|
|
100998
101002
|
Text: () => Text,
|
|
100999
|
-
Tooltip: () =>
|
|
101003
|
+
Tooltip: () => Tooltip7,
|
|
101000
101004
|
getFont: () => getFont2,
|
|
101001
101005
|
getMarker: () => getMarker,
|
|
101002
101006
|
toRadians: () => toRadians,
|
package/dist/modern/index.cjs
CHANGED
|
@@ -55407,7 +55407,7 @@ function RowCheckbox(props) {
|
|
|
55407
55407
|
removeEventListenerFromGrid("rowSelected", handleRowSelection, props.api);
|
|
55408
55408
|
};
|
|
55409
55409
|
}, []);
|
|
55410
|
-
|
|
55410
|
+
let checkbox = /* @__PURE__ */ React80__default.default.createElement(
|
|
55411
55411
|
coreReact.Checkbox,
|
|
55412
55412
|
{
|
|
55413
55413
|
checked: selected,
|
|
@@ -55426,7 +55426,11 @@ function RowCheckbox(props) {
|
|
|
55426
55426
|
},
|
|
55427
55427
|
onChange: noop2
|
|
55428
55428
|
}
|
|
55429
|
-
)
|
|
55429
|
+
);
|
|
55430
|
+
if (props.data?.checkboxTooltip) {
|
|
55431
|
+
checkbox = /* @__PURE__ */ React80__default.default.createElement(coreReact.Tooltip, { overlay: props.data?.checkboxTooltip, placement: "right" }, /* @__PURE__ */ React80__default.default.createElement("span", null, checkbox));
|
|
55432
|
+
}
|
|
55433
|
+
return /* @__PURE__ */ React80__default.default.createElement(coreReact.Box, { paddingRight: "md" }, checkbox);
|
|
55430
55434
|
}
|
|
55431
55435
|
|
|
55432
55436
|
// src/CellRenderers/AutoGroupCell.tsx
|
|
@@ -81311,7 +81315,7 @@ __decorate216([
|
|
|
81311
81315
|
__decorate216([
|
|
81312
81316
|
Validate(NUMBER())
|
|
81313
81317
|
], TooltipPosition.prototype, "yOffset", void 0);
|
|
81314
|
-
var
|
|
81318
|
+
var Tooltip7 = class _Tooltip {
|
|
81315
81319
|
constructor(canvasElement, document2, container) {
|
|
81316
81320
|
this.enableInteraction = false;
|
|
81317
81321
|
this.enabled = true;
|
|
@@ -81447,25 +81451,25 @@ var Tooltip6 = class _Tooltip {
|
|
|
81447
81451
|
this._showArrow = show;
|
|
81448
81452
|
}
|
|
81449
81453
|
};
|
|
81450
|
-
|
|
81454
|
+
Tooltip7.tooltipDocuments = [];
|
|
81451
81455
|
__decorate216([
|
|
81452
81456
|
Validate(BOOLEAN)
|
|
81453
|
-
],
|
|
81457
|
+
], Tooltip7.prototype, "enabled", void 0);
|
|
81454
81458
|
__decorate216([
|
|
81455
81459
|
Validate(OPT_BOOLEAN)
|
|
81456
|
-
],
|
|
81460
|
+
], Tooltip7.prototype, "showArrow", void 0);
|
|
81457
81461
|
__decorate216([
|
|
81458
81462
|
Validate(OPT_STRING)
|
|
81459
|
-
],
|
|
81463
|
+
], Tooltip7.prototype, "class", void 0);
|
|
81460
81464
|
__decorate216([
|
|
81461
81465
|
Validate(NUMBER(0))
|
|
81462
|
-
],
|
|
81466
|
+
], Tooltip7.prototype, "delay", void 0);
|
|
81463
81467
|
__decorate216([
|
|
81464
81468
|
DeprecatedAndRenamedTo("range", (value) => value ? "nearest" : "exact")
|
|
81465
|
-
],
|
|
81469
|
+
], Tooltip7.prototype, "tracking", void 0);
|
|
81466
81470
|
__decorate216([
|
|
81467
81471
|
Validate(INTERACTION_RANGE)
|
|
81468
|
-
],
|
|
81472
|
+
], Tooltip7.prototype, "range", void 0);
|
|
81469
81473
|
|
|
81470
81474
|
// ../../node_modules/ag-charts-community/dist/esm/es6/chart/data/aggregateFunctions.mjs
|
|
81471
81475
|
function sumValues(values2, accumulator = [0, 0]) {
|
|
@@ -86450,7 +86454,7 @@ var Chart = class extends Observable {
|
|
|
86450
86454
|
this.animationManager = new AnimationManager(this.interactionManager);
|
|
86451
86455
|
this.animationManager.skipAnimations = true;
|
|
86452
86456
|
this.animationManager.play();
|
|
86453
|
-
this.tooltip = new
|
|
86457
|
+
this.tooltip = new Tooltip7(this.scene.canvas.element, document2, document2.body);
|
|
86454
86458
|
this.tooltipManager = new TooltipManager(this.tooltip, this.interactionManager);
|
|
86455
86459
|
this.overlays = new ChartOverlays(this.element);
|
|
86456
86460
|
this.highlight = new ChartHighlight();
|
|
@@ -100906,7 +100910,7 @@ __export(integrated_charts_scene_exports, {
|
|
|
100906
100910
|
Shape: () => Shape,
|
|
100907
100911
|
Square: () => Square,
|
|
100908
100912
|
Text: () => Text,
|
|
100909
|
-
Tooltip: () =>
|
|
100913
|
+
Tooltip: () => Tooltip7,
|
|
100910
100914
|
getFont: () => getFont2,
|
|
100911
100915
|
getMarker: () => getMarker,
|
|
100912
100916
|
toRadians: () => toRadians,
|
package/dist/modern/index.js
CHANGED
|
@@ -55394,7 +55394,7 @@ function RowCheckbox(props) {
|
|
|
55394
55394
|
removeEventListenerFromGrid("rowSelected", handleRowSelection, props.api);
|
|
55395
55395
|
};
|
|
55396
55396
|
}, []);
|
|
55397
|
-
|
|
55397
|
+
let checkbox = /* @__PURE__ */ React80.createElement(
|
|
55398
55398
|
Checkbox,
|
|
55399
55399
|
{
|
|
55400
55400
|
checked: selected,
|
|
@@ -55413,7 +55413,11 @@ function RowCheckbox(props) {
|
|
|
55413
55413
|
},
|
|
55414
55414
|
onChange: noop2
|
|
55415
55415
|
}
|
|
55416
|
-
)
|
|
55416
|
+
);
|
|
55417
|
+
if (props.data?.checkboxTooltip) {
|
|
55418
|
+
checkbox = /* @__PURE__ */ React80.createElement(Tooltip, { overlay: props.data?.checkboxTooltip, placement: "right" }, /* @__PURE__ */ React80.createElement("span", null, checkbox));
|
|
55419
|
+
}
|
|
55420
|
+
return /* @__PURE__ */ React80.createElement(Box, { paddingRight: "md" }, checkbox);
|
|
55417
55421
|
}
|
|
55418
55422
|
|
|
55419
55423
|
// src/CellRenderers/AutoGroupCell.tsx
|
|
@@ -81298,7 +81302,7 @@ __decorate216([
|
|
|
81298
81302
|
__decorate216([
|
|
81299
81303
|
Validate(NUMBER())
|
|
81300
81304
|
], TooltipPosition.prototype, "yOffset", void 0);
|
|
81301
|
-
var
|
|
81305
|
+
var Tooltip7 = class _Tooltip {
|
|
81302
81306
|
constructor(canvasElement, document2, container) {
|
|
81303
81307
|
this.enableInteraction = false;
|
|
81304
81308
|
this.enabled = true;
|
|
@@ -81434,25 +81438,25 @@ var Tooltip6 = class _Tooltip {
|
|
|
81434
81438
|
this._showArrow = show;
|
|
81435
81439
|
}
|
|
81436
81440
|
};
|
|
81437
|
-
|
|
81441
|
+
Tooltip7.tooltipDocuments = [];
|
|
81438
81442
|
__decorate216([
|
|
81439
81443
|
Validate(BOOLEAN)
|
|
81440
|
-
],
|
|
81444
|
+
], Tooltip7.prototype, "enabled", void 0);
|
|
81441
81445
|
__decorate216([
|
|
81442
81446
|
Validate(OPT_BOOLEAN)
|
|
81443
|
-
],
|
|
81447
|
+
], Tooltip7.prototype, "showArrow", void 0);
|
|
81444
81448
|
__decorate216([
|
|
81445
81449
|
Validate(OPT_STRING)
|
|
81446
|
-
],
|
|
81450
|
+
], Tooltip7.prototype, "class", void 0);
|
|
81447
81451
|
__decorate216([
|
|
81448
81452
|
Validate(NUMBER(0))
|
|
81449
|
-
],
|
|
81453
|
+
], Tooltip7.prototype, "delay", void 0);
|
|
81450
81454
|
__decorate216([
|
|
81451
81455
|
DeprecatedAndRenamedTo("range", (value) => value ? "nearest" : "exact")
|
|
81452
|
-
],
|
|
81456
|
+
], Tooltip7.prototype, "tracking", void 0);
|
|
81453
81457
|
__decorate216([
|
|
81454
81458
|
Validate(INTERACTION_RANGE)
|
|
81455
|
-
],
|
|
81459
|
+
], Tooltip7.prototype, "range", void 0);
|
|
81456
81460
|
|
|
81457
81461
|
// ../../node_modules/ag-charts-community/dist/esm/es6/chart/data/aggregateFunctions.mjs
|
|
81458
81462
|
function sumValues(values2, accumulator = [0, 0]) {
|
|
@@ -86437,7 +86441,7 @@ var Chart = class extends Observable {
|
|
|
86437
86441
|
this.animationManager = new AnimationManager(this.interactionManager);
|
|
86438
86442
|
this.animationManager.skipAnimations = true;
|
|
86439
86443
|
this.animationManager.play();
|
|
86440
|
-
this.tooltip = new
|
|
86444
|
+
this.tooltip = new Tooltip7(this.scene.canvas.element, document2, document2.body);
|
|
86441
86445
|
this.tooltipManager = new TooltipManager(this.tooltip, this.interactionManager);
|
|
86442
86446
|
this.overlays = new ChartOverlays(this.element);
|
|
86443
86447
|
this.highlight = new ChartHighlight();
|
|
@@ -100893,7 +100897,7 @@ __export(integrated_charts_scene_exports, {
|
|
|
100893
100897
|
Shape: () => Shape,
|
|
100894
100898
|
Square: () => Square,
|
|
100895
100899
|
Text: () => Text,
|
|
100896
|
-
Tooltip: () =>
|
|
100900
|
+
Tooltip: () => Tooltip7,
|
|
100897
100901
|
getFont: () => getFont2,
|
|
100898
100902
|
getMarker: () => getMarker,
|
|
100899
100903
|
toRadians: () => toRadians,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@procore/data-table",
|
|
3
|
-
"version": "14.36.
|
|
3
|
+
"version": "14.36.1",
|
|
4
4
|
"description": "Complex data grid built on top of ag-grid, with DST components and styles.",
|
|
5
5
|
"author": "Procore Technologies",
|
|
6
6
|
"homepage": "https://github.com/procore/core/tree/main/packages/data-table",
|
|
@@ -107,9 +107,9 @@
|
|
|
107
107
|
"@dotenvx/dotenvx": "1.6.4",
|
|
108
108
|
"@ngneat/falso": "6.4.0",
|
|
109
109
|
"@procore/core-css": "10.17.0",
|
|
110
|
-
"@procore/core-icons": "^12.10.
|
|
110
|
+
"@procore/core-icons": "^12.10.1",
|
|
111
111
|
"@procore/core-prettier": "10.2.0",
|
|
112
|
-
"@procore/core-react": "^12.
|
|
112
|
+
"@procore/core-react": "^12.30.0",
|
|
113
113
|
"@procore/eslint-config": "10.0.0",
|
|
114
114
|
"@procore/globalization-toolkit": "3.1.0",
|
|
115
115
|
"@procore/labs-financials-utils": "4.3.1",
|