@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.modern.js
CHANGED
|
@@ -6908,7 +6908,6 @@ function ItemsActionsProvider(_ref) {
|
|
|
6908
6908
|
children: children
|
|
6909
6909
|
});
|
|
6910
6910
|
}
|
|
6911
|
-
|
|
6912
6911
|
var useItemsActions = function useItemsActions() {
|
|
6913
6912
|
var _useContext = useContext(ItemsActionsCtx),
|
|
6914
6913
|
onAction = _useContext.onAction,
|
|
@@ -6932,7 +6931,6 @@ var useItemsActions = function useItemsActions() {
|
|
|
6932
6931
|
* and it select/unselect all items of the page.
|
|
6933
6932
|
*/
|
|
6934
6933
|
|
|
6935
|
-
|
|
6936
6934
|
function AllItemsCheckbox(_ref2) {
|
|
6937
6935
|
var dataTest = _ref2.dataTest;
|
|
6938
6936
|
|
|
@@ -14520,7 +14518,7 @@ var Auth = /*#__PURE__*/function () {
|
|
|
14520
14518
|
_proto.willExpire = function willExpire(expiration) {
|
|
14521
14519
|
var now = new Date().getTime();
|
|
14522
14520
|
|
|
14523
|
-
if (parseInt(expiration)
|
|
14521
|
+
if (parseInt(expiration) < now + 10) {
|
|
14524
14522
|
return true;
|
|
14525
14523
|
}
|
|
14526
14524
|
|
|
@@ -14530,7 +14528,7 @@ var Auth = /*#__PURE__*/function () {
|
|
|
14530
14528
|
_proto.isExpired = function isExpired(expiration) {
|
|
14531
14529
|
var now = new Date().getTime();
|
|
14532
14530
|
|
|
14533
|
-
if (parseInt(expiration)
|
|
14531
|
+
if (parseInt(expiration) > now) {
|
|
14534
14532
|
return false;
|
|
14535
14533
|
}
|
|
14536
14534
|
|
|
@@ -14624,5 +14622,5 @@ var Setting;
|
|
|
14624
14622
|
Setting["Unset"] = "Unset";
|
|
14625
14623
|
})(Setting || (Setting = {}));
|
|
14626
14624
|
|
|
14627
|
-
export { AddItem, AddPermission, AllItemsCheckbox, ApplicationCtx, Auth, AuthContext, BaseForm, BehaviorNotImplemented, BehaviorsView, Button, Checkbox, ClientContext, ClientProvider, Confirm, ContainerCtx, ContextToolbar, CreateButton, CreateContainer, DatabaseCtx, Delete, DownloadField, EditComponent, EditableField, EmailInput, FileUpload, Flash, FolderCtx, Form, FormBuilder, GroupCtx, GroupToolbar, GroupsCtx, Guillotina, GuillotinaClient, IAttachment, IImageAttachment, IMultiAttachment, IMultiImageAttachment, IMultiImageOrderedAttachment, IWorkflow, Icon, Input, InputList, Item, ItemCheckbox, ItemCtx, ItemModel, ItemTitle, ItemsActionsDropdown, ItemsActionsProvider, Layout, Link, Loading, Login, Modal, NotAllowed, Notification, Pagination, PanelActions, PanelAddons, PanelBehaviors, PanelItems, PanelNotImplemented, PanelPermissions, PanelProperties, PasswordInput, Path, PathTree, PermissionPrinperm, PermissionPrinrole, PermissionRoleperm, Permissions, PropertiesButtonView, PropertiesView, REGEX_EMAIL, REGEX_HEX_COLOR, REGEX_NUMBER, REGEX_URL, RItem, RemoveItems, RenderField, RenderFieldComponent, RequiredFieldsForm, RestClient, SearchInput, SearchInputList, SearchLabels, SearchOptionsLabels, SearchRenderField, SearchVocabularyLabels, Select, SelectVocabulary, Setting, Sharing, Table, TabsPanel, Tag, TagsWidget, TdLink, Textarea, Traversal, TraversalContext, TraversalProvider, UserCtx, UserForm, UsersCtx, UsersToolbar, VocabularyRenderField, base64ToArrayBuffer, buildQs, classnames, debounce, defaultComponent, defaultConfig, formatDate, generateUID, genericFileMessages, genericMessages, get, getActionsObject, getClient, getNewId, isEmail, isEmpty, isHexColor, isNumber, isURL, lightFileReader, maxLength, messages$4 as messages, minLength, noop, notEmpty, parser, sleep, stringToSlug, toQueryString, useConfig, useCrudContext, useGuillotinaClient, useLocation, useRegistry, useRemoteField, useTraversal, useVocabulary };
|
|
14625
|
+
export { AddItem, AddPermission, AllItemsCheckbox, ApplicationCtx, Auth, AuthContext, BaseForm, BehaviorNotImplemented, BehaviorsView, Button, Checkbox, ClientContext, ClientProvider, Confirm, ContainerCtx, ContextToolbar, CreateButton, CreateContainer, DatabaseCtx, Delete, DownloadField, EditComponent, EditableField, EmailInput, FileUpload, Flash, FolderCtx, Form, FormBuilder, GroupCtx, GroupToolbar, GroupsCtx, Guillotina, GuillotinaClient, IAttachment, IImageAttachment, IMultiAttachment, IMultiImageAttachment, IMultiImageOrderedAttachment, IWorkflow, Icon, Input, InputList, Item, ItemCheckbox, ItemCtx, ItemModel, ItemTitle, ItemsActionsCtx, ItemsActionsDropdown, ItemsActionsProvider, Layout, Link, Loading, Login, Modal, NotAllowed, Notification, Pagination, PanelActions, PanelAddons, PanelBehaviors, PanelItems, PanelNotImplemented, PanelPermissions, PanelProperties, PasswordInput, Path, PathTree, PermissionPrinperm, PermissionPrinrole, PermissionRoleperm, Permissions, PropertiesButtonView, PropertiesView, REGEX_EMAIL, REGEX_HEX_COLOR, REGEX_NUMBER, REGEX_URL, RItem, RemoveItems, RenderField, RenderFieldComponent, RequiredFieldsForm, RestClient, SearchInput, SearchInputList, SearchLabels, SearchOptionsLabels, SearchRenderField, SearchVocabularyLabels, Select, SelectVocabulary, Setting, Sharing, Table, TabsPanel, Tag, TagsWidget, TdLink, Textarea, Traversal, TraversalContext, TraversalProvider, UserCtx, UserForm, UsersCtx, UsersToolbar, VocabularyRenderField, base64ToArrayBuffer, buildQs, classnames, debounce, defaultComponent, defaultConfig, formatDate, generateUID, genericFileMessages, genericMessages, get, getActionsObject, getClient, getNewId, isEmail, isEmpty, isHexColor, isNumber, isURL, lightFileReader, maxLength, messages$4 as messages, minLength, noop, notEmpty, parser, sleep, stringToSlug, toQueryString, useConfig, useCrudContext, useGuillotinaClient, useItemsActions, useLocation, useRegistry, useRemoteField, useTraversal, useVocabulary };
|
|
14628
14626
|
//# sourceMappingURL=react-gmi.modern.js.map
|