@infinite-table/infinite-react 3.0.6 → 3.0.7
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/index.d.ts +1 -0
- package/index.dev.js +4 -1
- package/index.dev.mjs +4 -1
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -2577,6 +2577,7 @@ interface InfiniteTableApi<T> {
|
|
|
2577
2577
|
realignColumnContextMenu: () => void;
|
|
2578
2578
|
getColumnOrder: () => string[];
|
|
2579
2579
|
getVisibleColumnOrder: () => string[];
|
|
2580
|
+
getComputedColumnById: (colId: string) => InfiniteTableColumn<T> | undefined;
|
|
2580
2581
|
isEditorVisibleForCell(params: {
|
|
2581
2582
|
rowIndex: number;
|
|
2582
2583
|
columnId: string;
|
package/index.dev.js
CHANGED
|
@@ -14745,6 +14745,9 @@ var InfiniteTableApiImpl = class {
|
|
|
14745
14745
|
this.getColumnOrder = () => {
|
|
14746
14746
|
return this.getComputed().computedColumnOrder;
|
|
14747
14747
|
};
|
|
14748
|
+
this.getComputedColumnById = (columnId) => {
|
|
14749
|
+
return this.getComputed().computedColumnsMap.get(columnId);
|
|
14750
|
+
};
|
|
14748
14751
|
this.getVisibleColumnOrder = () => {
|
|
14749
14752
|
const order2 = this.getColumnOrder();
|
|
14750
14753
|
const visibleColumns = this.getComputed().computedVisibleColumnsMap;
|
|
@@ -17590,7 +17593,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
17590
17593
|
const valid = (0, import_react49.useMemo)(() => {
|
|
17591
17594
|
let valid2 = isValidLicense(licenseKey, {
|
|
17592
17595
|
publishedAt: 1624970570587,
|
|
17593
|
-
version: "3.0.
|
|
17596
|
+
version: "3.0.7"
|
|
17594
17597
|
});
|
|
17595
17598
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
17596
17599
|
return true;
|
package/index.dev.mjs
CHANGED
|
@@ -14730,6 +14730,9 @@ var InfiniteTableApiImpl = class {
|
|
|
14730
14730
|
this.getColumnOrder = () => {
|
|
14731
14731
|
return this.getComputed().computedColumnOrder;
|
|
14732
14732
|
};
|
|
14733
|
+
this.getComputedColumnById = (columnId) => {
|
|
14734
|
+
return this.getComputed().computedColumnsMap.get(columnId);
|
|
14735
|
+
};
|
|
14733
14736
|
this.getVisibleColumnOrder = () => {
|
|
14734
14737
|
const order2 = this.getColumnOrder();
|
|
14735
14738
|
const visibleColumns = this.getComputed().computedVisibleColumnsMap;
|
|
@@ -17579,7 +17582,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
17579
17582
|
const valid = useMemo11(() => {
|
|
17580
17583
|
let valid2 = isValidLicense(licenseKey, {
|
|
17581
17584
|
publishedAt: 1624970570587,
|
|
17582
|
-
version: "3.0.
|
|
17585
|
+
version: "3.0.7"
|
|
17583
17586
|
});
|
|
17584
17587
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
17585
17588
|
return true;
|