@awsui/collection-hooks
Advanced tools
Comparing version 1.0.78 to 1.0.79
@@ -82,3 +82,3 @@ "use strict"; | ||
function createSyncProps(options, _a, actions, collectionRef, _b) { | ||
var _c, _d, _e; | ||
var _c, _d, _e, _f, _g; | ||
var filteringText = _a.filteringText, sortingState = _a.sortingState, selectedItems = _a.selectedItems, expandedItems = _a.expandedItems, currentPageIndex = _a.currentPageIndex, propertyFilteringQuery = _a.propertyFilteringQuery; | ||
@@ -162,5 +162,5 @@ var pagesCount = _b.pagesCount, actualPageIndex = _b.actualPageIndex, allItems = _b.allItems, allPageItems = _b.allPageItems, itemsTree = _b.itemsTree; | ||
selectedItems: selectedItems, | ||
trackBy: options.selection.trackBy, | ||
trackBy: (_c = options.selection.trackBy) !== null && _c !== void 0 ? _c : (_d = options.expandableRows) === null || _d === void 0 ? void 0 : _d.getId, | ||
} | ||
: {})), { ref: collectionRef, firstIndex: 1, totalItemsCount: allPageItems.length }), (((_c = options.pagination) === null || _c === void 0 ? void 0 : _c.pageSize) | ||
: {})), { ref: collectionRef, firstIndex: 1, totalItemsCount: allPageItems.length }), (((_e = options.pagination) === null || _e === void 0 ? void 0 : _e.pageSize) | ||
? { | ||
@@ -183,5 +183,5 @@ firstIndex: ((actualPageIndex !== null && actualPageIndex !== void 0 ? actualPageIndex : currentPageIndex) - 1) * options.pagination.pageSize + 1, | ||
}, | ||
filteringProperties: ((_d = options.propertyFiltering) === null || _d === void 0 ? void 0 : _d.filteringProperties) || [], | ||
filteringProperties: ((_f = options.propertyFiltering) === null || _f === void 0 ? void 0 : _f.filteringProperties) || [], | ||
filteringOptions: filteringOptions, | ||
freeTextFiltering: (_e = options.propertyFiltering) === null || _e === void 0 ? void 0 : _e.freeTextFiltering, | ||
freeTextFiltering: (_g = options.propertyFiltering) === null || _g === void 0 ? void 0 : _g.freeTextFiltering, | ||
}, | ||
@@ -188,0 +188,0 @@ paginationProps: { |
{ | ||
"commit": "53481ec8cf60b1a7eb3fc81af705c66f8687ca33" | ||
"commit": "9f7d19963ec4dc24cb83d592ae03ae491c821e39" | ||
} |
@@ -77,3 +77,3 @@ var __assign = (this && this.__assign) || function () { | ||
export function createSyncProps(options, _a, actions, collectionRef, _b) { | ||
var _c, _d, _e; | ||
var _c, _d, _e, _f, _g; | ||
var filteringText = _a.filteringText, sortingState = _a.sortingState, selectedItems = _a.selectedItems, expandedItems = _a.expandedItems, currentPageIndex = _a.currentPageIndex, propertyFilteringQuery = _a.propertyFilteringQuery; | ||
@@ -157,5 +157,5 @@ var pagesCount = _b.pagesCount, actualPageIndex = _b.actualPageIndex, allItems = _b.allItems, allPageItems = _b.allPageItems, itemsTree = _b.itemsTree; | ||
selectedItems: selectedItems, | ||
trackBy: options.selection.trackBy, | ||
trackBy: (_c = options.selection.trackBy) !== null && _c !== void 0 ? _c : (_d = options.expandableRows) === null || _d === void 0 ? void 0 : _d.getId, | ||
} | ||
: {})), { ref: collectionRef, firstIndex: 1, totalItemsCount: allPageItems.length }), (((_c = options.pagination) === null || _c === void 0 ? void 0 : _c.pageSize) | ||
: {})), { ref: collectionRef, firstIndex: 1, totalItemsCount: allPageItems.length }), (((_e = options.pagination) === null || _e === void 0 ? void 0 : _e.pageSize) | ||
? { | ||
@@ -178,5 +178,5 @@ firstIndex: ((actualPageIndex !== null && actualPageIndex !== void 0 ? actualPageIndex : currentPageIndex) - 1) * options.pagination.pageSize + 1, | ||
}, | ||
filteringProperties: ((_d = options.propertyFiltering) === null || _d === void 0 ? void 0 : _d.filteringProperties) || [], | ||
filteringProperties: ((_f = options.propertyFiltering) === null || _f === void 0 ? void 0 : _f.filteringProperties) || [], | ||
filteringOptions: filteringOptions, | ||
freeTextFiltering: (_e = options.propertyFiltering) === null || _e === void 0 ? void 0 : _e.freeTextFiltering, | ||
freeTextFiltering: (_g = options.propertyFiltering) === null || _g === void 0 ? void 0 : _g.freeTextFiltering, | ||
}, | ||
@@ -183,0 +183,0 @@ paginationProps: { |
{ | ||
"name": "@awsui/collection-hooks", | ||
"version": "1.0.78", | ||
"version": "1.0.79", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/aws/awsui-documentation", |
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
105354