@infinite-table/infinite-react 4.3.2 → 4.3.3
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 +5 -4
- package/index.dev.js +3 -2
- package/index.dev.mjs +3 -2
- package/index.js +3 -2
- package/index.mjs +3 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -2085,9 +2085,10 @@ declare type DataSourceProps<T> = {
|
|
|
2085
2085
|
} | {
|
|
2086
2086
|
selectionMode?: false;
|
|
2087
2087
|
});
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2088
|
+
/**
|
|
2089
|
+
* @deprecated Use DataSourceProps<T> instead
|
|
2090
|
+
*/
|
|
2091
|
+
declare type DataSourcePropsWithChildren<T> = DataSourceProps<T> & {};
|
|
2091
2092
|
declare type DataSourcePropSortTypes = Record<string, (first: any, second: any) => number>;
|
|
2092
2093
|
declare type DataSourcePropFilterTypes<T> = Record<string, DataSourceFilterType<T>>;
|
|
2093
2094
|
declare type DataSourceFilterFunctionParam<T> = {
|
|
@@ -4252,7 +4253,7 @@ declare const useManagedDataSource: (props: unknown) => {
|
|
|
4252
4253
|
sortInfo: never;
|
|
4253
4254
|
}>>>;
|
|
4254
4255
|
};
|
|
4255
|
-
declare function DataSource<T>(props:
|
|
4256
|
+
declare function DataSource<T>(props: DataSourceProps<T>): React$1.JSX.Element;
|
|
4256
4257
|
declare function useRowInfoReducers(): Record<string, any> | undefined;
|
|
4257
4258
|
declare function useMasterRowInfo<T = any>(): InfiniteTableRowInfo<T> | undefined;
|
|
4258
4259
|
|
package/index.dev.js
CHANGED
|
@@ -15229,8 +15229,9 @@ var {
|
|
|
15229
15229
|
mappedCallbacks: getMappedCallbacks()
|
|
15230
15230
|
});
|
|
15231
15231
|
function DataSource(props) {
|
|
15232
|
+
var _a;
|
|
15232
15233
|
const { DataSource: DataSourceComponent } = useDataSourceInternal(props);
|
|
15233
|
-
return /* @__PURE__ */ React51.createElement(DataSourceComponent, null, props.children);
|
|
15234
|
+
return /* @__PURE__ */ React51.createElement(DataSourceComponent, null, (_a = props.children) != null ? _a : null);
|
|
15234
15235
|
}
|
|
15235
15236
|
function useRowInfoReducers() {
|
|
15236
15237
|
const { rowInfoReducerResults } = useDataSourceState();
|
|
@@ -18824,7 +18825,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
18824
18825
|
}
|
|
18825
18826
|
let valid2 = isValidLicense(licenseKey, {
|
|
18826
18827
|
publishedAt: 1624970570587,
|
|
18827
|
-
version: "4.3.
|
|
18828
|
+
version: "4.3.3"
|
|
18828
18829
|
});
|
|
18829
18830
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
18830
18831
|
return true;
|
package/index.dev.mjs
CHANGED
|
@@ -15197,8 +15197,9 @@ var {
|
|
|
15197
15197
|
mappedCallbacks: getMappedCallbacks()
|
|
15198
15198
|
});
|
|
15199
15199
|
function DataSource(props) {
|
|
15200
|
+
var _a;
|
|
15200
15201
|
const { DataSource: DataSourceComponent } = useDataSourceInternal(props);
|
|
15201
|
-
return /* @__PURE__ */ React51.createElement(DataSourceComponent, null, props.children);
|
|
15202
|
+
return /* @__PURE__ */ React51.createElement(DataSourceComponent, null, (_a = props.children) != null ? _a : null);
|
|
15202
15203
|
}
|
|
15203
15204
|
function useRowInfoReducers() {
|
|
15204
15205
|
const { rowInfoReducerResults } = useDataSourceState();
|
|
@@ -18796,7 +18797,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
18796
18797
|
}
|
|
18797
18798
|
let valid2 = isValidLicense(licenseKey, {
|
|
18798
18799
|
publishedAt: 1624970570587,
|
|
18799
|
-
version: "4.3.
|
|
18800
|
+
version: "4.3.3"
|
|
18800
18801
|
});
|
|
18801
18802
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
18802
18803
|
return true;
|
package/index.js
CHANGED
|
@@ -15229,8 +15229,9 @@ var {
|
|
|
15229
15229
|
mappedCallbacks: getMappedCallbacks()
|
|
15230
15230
|
});
|
|
15231
15231
|
function DataSource(props) {
|
|
15232
|
+
var _a;
|
|
15232
15233
|
const { DataSource: DataSourceComponent } = useDataSourceInternal(props);
|
|
15233
|
-
return /* @__PURE__ */ React51.createElement(DataSourceComponent, null, props.children);
|
|
15234
|
+
return /* @__PURE__ */ React51.createElement(DataSourceComponent, null, (_a = props.children) != null ? _a : null);
|
|
15234
15235
|
}
|
|
15235
15236
|
function useRowInfoReducers() {
|
|
15236
15237
|
const { rowInfoReducerResults } = useDataSourceState();
|
|
@@ -18824,7 +18825,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
18824
18825
|
}
|
|
18825
18826
|
let valid2 = isValidLicense(licenseKey, {
|
|
18826
18827
|
publishedAt: 1624970570587,
|
|
18827
|
-
version: "4.3.
|
|
18828
|
+
version: "4.3.3"
|
|
18828
18829
|
});
|
|
18829
18830
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
18830
18831
|
return true;
|
package/index.mjs
CHANGED
|
@@ -15197,8 +15197,9 @@ var {
|
|
|
15197
15197
|
mappedCallbacks: getMappedCallbacks()
|
|
15198
15198
|
});
|
|
15199
15199
|
function DataSource(props) {
|
|
15200
|
+
var _a;
|
|
15200
15201
|
const { DataSource: DataSourceComponent } = useDataSourceInternal(props);
|
|
15201
|
-
return /* @__PURE__ */ React51.createElement(DataSourceComponent, null, props.children);
|
|
15202
|
+
return /* @__PURE__ */ React51.createElement(DataSourceComponent, null, (_a = props.children) != null ? _a : null);
|
|
15202
15203
|
}
|
|
15203
15204
|
function useRowInfoReducers() {
|
|
15204
15205
|
const { rowInfoReducerResults } = useDataSourceState();
|
|
@@ -18796,7 +18797,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
18796
18797
|
}
|
|
18797
18798
|
let valid2 = isValidLicense(licenseKey, {
|
|
18798
18799
|
publishedAt: 1624970570587,
|
|
18799
|
-
version: "4.3.
|
|
18800
|
+
version: "4.3.3"
|
|
18800
18801
|
});
|
|
18801
18802
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
18802
18803
|
return true;
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"bugs": {
|
|
26
26
|
"url": "https://github.com/infinite-table/infinite-react/issues"
|
|
27
27
|
},
|
|
28
|
-
"version": "4.3.
|
|
28
|
+
"version": "4.3.3",
|
|
29
29
|
"main": "index.js",
|
|
30
30
|
"module": "index.mjs",
|
|
31
31
|
"typings": "index.d.ts",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
},
|
|
35
35
|
"license": "Commercial & Open Source",
|
|
36
36
|
"//": "will be updated at build time",
|
|
37
|
-
"publishedAt":
|
|
37
|
+
"publishedAt": 1721832132084
|
|
38
38
|
}
|