@uxf/data-grid
Advanced tools
Comparing version 11.0.0-beta.19 to 11.0.0-beta.20
@@ -7,3 +7,3 @@ "use strict"; | ||
const getInitialState = (schema, init, initialUserConfig) => { | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m; | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p; | ||
const initialState = (0, is_nil_1.isNil)(init) ? {} : typeof init === "string" ? (_a = (0, utils_1.decodeFilter)(init)) !== null && _a !== void 0 ? _a : {} : init; | ||
@@ -17,8 +17,8 @@ return { | ||
perPage: (_g = (_f = initialState.perPage) !== null && _f !== void 0 ? _f : initialUserConfig === null || initialUserConfig === void 0 ? void 0 : initialUserConfig.perPage) !== null && _g !== void 0 ? _g : schema.perPage, | ||
tab: (_k = (_j = (_h = schema.tabs) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.name) !== null && _k !== void 0 ? _k : null, | ||
search: "", | ||
tab: (_l = (_h = initialState.tab) !== null && _h !== void 0 ? _h : (_k = (_j = schema.tabs) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.name) !== null && _l !== void 0 ? _l : null, | ||
search: (_m = initialState.search) !== null && _m !== void 0 ? _m : "", | ||
}, | ||
userConfig: { | ||
columns: (_l = initialUserConfig === null || initialUserConfig === void 0 ? void 0 : initialUserConfig.columns) !== null && _l !== void 0 ? _l : {}, | ||
perPage: (_m = initialUserConfig === null || initialUserConfig === void 0 ? void 0 : initialUserConfig.perPage) !== null && _m !== void 0 ? _m : schema.perPage, | ||
columns: (_o = initialUserConfig === null || initialUserConfig === void 0 ? void 0 : initialUserConfig.columns) !== null && _o !== void 0 ? _o : {}, | ||
perPage: (_p = initialUserConfig === null || initialUserConfig === void 0 ? void 0 : initialUserConfig.perPage) !== null && _p !== void 0 ? _p : schema.perPage, | ||
}, | ||
@@ -25,0 +25,0 @@ tabRequests: {}, |
{ | ||
"name": "@uxf/data-grid", | ||
"version": "11.0.0-beta.19", | ||
"version": "11.0.0-beta.20", | ||
"description": "UXF DataGrid", | ||
@@ -5,0 +5,0 @@ "homepage": "https://gitlab.com/uxf-npm/data-grid#readme", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
169178