@guillotinaweb/react-gmi 0.32.1 → 0.32.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/CHANGELOG.md +377 -0
- package/dist/components/selected_items_actions.d.ts +18 -0
- package/dist/react-gmi.js +4 -4
- package/dist/react-gmi.js.map +1 -1
- package/dist/react-gmi.modern.js +3 -5
- package/dist/react-gmi.modern.js.map +1 -1
- package/dist/react-gmi.umd.js +4 -4
- package/dist/react-gmi.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/react-gmi.umd.js
CHANGED
|
@@ -6911,7 +6911,6 @@
|
|
|
6911
6911
|
children: children
|
|
6912
6912
|
});
|
|
6913
6913
|
}
|
|
6914
|
-
|
|
6915
6914
|
var useItemsActions = function useItemsActions() {
|
|
6916
6915
|
var _useContext = React.useContext(ItemsActionsCtx),
|
|
6917
6916
|
onAction = _useContext.onAction,
|
|
@@ -6935,7 +6934,6 @@
|
|
|
6935
6934
|
* and it select/unselect all items of the page.
|
|
6936
6935
|
*/
|
|
6937
6936
|
|
|
6938
|
-
|
|
6939
6937
|
function AllItemsCheckbox(_ref2) {
|
|
6940
6938
|
var dataTest = _ref2.dataTest;
|
|
6941
6939
|
|
|
@@ -14523,7 +14521,7 @@
|
|
|
14523
14521
|
_proto.willExpire = function willExpire(expiration) {
|
|
14524
14522
|
var now = new Date().getTime();
|
|
14525
14523
|
|
|
14526
|
-
if (parseInt(expiration)
|
|
14524
|
+
if (parseInt(expiration) < now + 10) {
|
|
14527
14525
|
return true;
|
|
14528
14526
|
}
|
|
14529
14527
|
|
|
@@ -14533,7 +14531,7 @@
|
|
|
14533
14531
|
_proto.isExpired = function isExpired(expiration) {
|
|
14534
14532
|
var now = new Date().getTime();
|
|
14535
14533
|
|
|
14536
|
-
if (parseInt(expiration)
|
|
14534
|
+
if (parseInt(expiration) > now) {
|
|
14537
14535
|
return false;
|
|
14538
14536
|
}
|
|
14539
14537
|
|
|
@@ -14673,6 +14671,7 @@
|
|
|
14673
14671
|
exports.ItemCtx = ItemCtx;
|
|
14674
14672
|
exports.ItemModel = ItemModel;
|
|
14675
14673
|
exports.ItemTitle = ItemTitle;
|
|
14674
|
+
exports.ItemsActionsCtx = ItemsActionsCtx;
|
|
14676
14675
|
exports.ItemsActionsDropdown = ItemsActionsDropdown;
|
|
14677
14676
|
exports.ItemsActionsProvider = ItemsActionsProvider;
|
|
14678
14677
|
exports.Layout = Layout;
|
|
@@ -14764,6 +14763,7 @@
|
|
|
14764
14763
|
exports.useConfig = useConfig;
|
|
14765
14764
|
exports.useCrudContext = useCrudContext;
|
|
14766
14765
|
exports.useGuillotinaClient = useGuillotinaClient;
|
|
14766
|
+
exports.useItemsActions = useItemsActions;
|
|
14767
14767
|
exports.useLocation = useLocation;
|
|
14768
14768
|
exports.useRegistry = useRegistry;
|
|
14769
14769
|
exports.useRemoteField = useRemoteField;
|