@guillotinaweb/react-gmi 0.23.0 → 0.24.0
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/README.md +9 -0
- package/dist/actions/add_item.d.ts +1 -1
- package/dist/actions/change_pass.d.ts +1 -1
- package/dist/actions/copy_item.d.ts +1 -1
- package/dist/actions/copy_items.d.ts +1 -1
- package/dist/actions/move_item.d.ts +1 -1
- package/dist/actions/move_items.d.ts +1 -1
- package/dist/actions/remove_item.d.ts +1 -1
- package/dist/actions/remove_items.d.ts +1 -1
- package/dist/components/Link.d.ts +1 -1
- package/dist/components/TdLink.d.ts +1 -1
- package/dist/components/behavior_view.d.ts +2 -2
- package/dist/components/behaviors/iattachment.d.ts +1 -1
- package/dist/components/behaviors/idublincore.d.ts +1 -1
- package/dist/components/behaviors/iimageattachment.d.ts +4 -0
- package/dist/components/behaviors/imultiattachment.d.ts +1 -1
- package/dist/components/behaviors/imultiimageattachment.d.ts +4 -0
- package/dist/components/behaviors/imultiimageorderedattachment.d.ts +4 -0
- package/dist/components/behaviors/iworkflow.d.ts +1 -0
- package/dist/components/context_toolbar.d.ts +2 -2
- package/dist/components/error_boundary.d.ts +4 -5
- package/dist/components/error_zone.d.ts +1 -1
- package/dist/components/fields/downloadField.d.ts +2 -1
- package/dist/components/fields/editableField.d.ts +1 -1
- package/dist/components/fields/renderField.d.ts +1 -3
- package/dist/components/flash.d.ts +1 -1
- package/dist/components/guillotina.d.ts +3 -2
- package/dist/components/index.d.ts +7 -2
- package/dist/components/input/button.d.ts +1 -1
- package/dist/components/input/checkbox.d.ts +1 -1
- package/dist/components/input/dropdown.d.ts +1 -1
- package/dist/components/input/email.d.ts +1 -1
- package/dist/components/input/form.d.ts +1 -1
- package/dist/components/input/form_builder.d.ts +1 -1
- package/dist/components/input/input_list.d.ts +2 -1
- package/dist/components/input/password.d.ts +1 -1
- package/dist/components/input/search_input.d.ts +1 -1
- package/dist/components/input/select_vocabulary.d.ts +1 -0
- package/dist/components/input/upload.d.ts +1 -1
- package/dist/components/item.d.ts +3 -3
- package/dist/components/layout.d.ts +1 -1
- package/dist/components/login.d.ts +1 -1
- package/dist/components/modal.d.ts +3 -3
- package/dist/components/notallowed.d.ts +1 -1
- package/dist/components/notfound.d.ts +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/panel/actions.d.ts +1 -24
- package/dist/components/panel/addons.d.ts +1 -1
- package/dist/components/panel/behaviors.d.ts +1 -1
- package/dist/components/panel/items.d.ts +1 -1
- package/dist/components/panel/permissions.d.ts +2 -2
- package/dist/components/panel/permissions_prinperm.d.ts +1 -1
- package/dist/components/panel/permissions_prinrole.d.ts +1 -1
- package/dist/components/panel/permissions_roleperm.d.ts +1 -1
- package/dist/components/panel/properties.d.ts +1 -1
- package/dist/components/path.d.ts +1 -1
- package/dist/components/search_labels.d.ts +1 -0
- package/dist/components/search_options_labels.d.ts +1 -0
- package/dist/components/search_vocabulary_labels.d.ts +1 -0
- package/dist/components/selected_items_actions.d.ts +4 -27
- package/dist/components/tabs.d.ts +2 -2
- package/dist/components/ui/delete.d.ts +1 -1
- package/dist/components/ui/icon.d.ts +1 -1
- package/dist/components/ui/loading.d.ts +1 -1
- package/dist/components/ui/notification.d.ts +1 -1
- package/dist/components/ui/table.d.ts +1 -1
- package/dist/components/ui/tag.d.ts +3 -2
- package/dist/components/widgets/tags.d.ts +1 -1
- package/dist/contexts/index.d.ts +5 -5
- package/dist/css/style.css +31 -0
- package/dist/css/style.css.map +1 -1
- package/dist/forms/base.d.ts +1 -1
- package/dist/forms/required_fields.d.ts +1 -1
- package/dist/forms/users.d.ts +1 -1
- package/dist/hooks/useAsync.d.ts +3 -1
- package/dist/hooks/useAsyncFn.d.ts +3 -1
- package/dist/hooks/useLocation.d.ts +1 -1
- package/dist/hooks/useMountedState.d.ts +1 -1
- package/dist/hooks/useRegistry.d.ts +17 -3
- package/dist/hooks/useVocabulary.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/lib/client.d.ts +12 -5
- package/dist/lib/helpers.d.ts +17 -0
- package/dist/lib/rest.d.ts +1 -1
- package/dist/locales/generic_messages.d.ts +370 -0
- package/dist/react-gmi.esm.js +6178 -701
- package/dist/react-gmi.esm.js.map +1 -1
- package/dist/react-gmi.js +6185 -704
- package/dist/react-gmi.js.map +1 -1
- package/dist/react-gmi.modern.js +5514 -660
- package/dist/react-gmi.modern.js.map +1 -1
- package/dist/react-gmi.umd.js +6186 -708
- package/dist/react-gmi.umd.js.map +1 -1
- package/dist/views/application.d.ts +15 -3
- package/dist/views/base.d.ts +1 -1
- package/dist/views/container.d.ts +1 -1
- package/dist/views/folder.d.ts +1 -1
- package/dist/views/groups.d.ts +3 -3
- package/dist/views/item.d.ts +1 -1
- package/dist/views/users.d.ts +3 -3
- package/package.json +17 -5
- package/dist/components/searchLabels.d.ts +0 -1
|
@@ -1,5 +1,17 @@
|
|
|
1
|
-
export function ApplicationCtx(props: any):
|
|
1
|
+
export function ApplicationCtx(props: any): JSX.Element;
|
|
2
2
|
export function DatabaseCtx({ state }: {
|
|
3
3
|
state: any;
|
|
4
|
-
}):
|
|
5
|
-
export function CreateContainer(props: any):
|
|
4
|
+
}): JSX.Element;
|
|
5
|
+
export function CreateContainer(props: any): JSX.Element;
|
|
6
|
+
export namespace messages {
|
|
7
|
+
namespace add_container {
|
|
8
|
+
const id: string;
|
|
9
|
+
const defaultMessage: string;
|
|
10
|
+
}
|
|
11
|
+
namespace container_created {
|
|
12
|
+
const id_1: string;
|
|
13
|
+
export { id_1 as id };
|
|
14
|
+
const defaultMessage_1: string;
|
|
15
|
+
export { defaultMessage_1 as defaultMessage };
|
|
16
|
+
}
|
|
17
|
+
}
|
package/dist/views/base.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export function PanelNotImplemented(props: any):
|
|
1
|
+
export function PanelNotImplemented(props: any): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function ContainerCtx(props: any):
|
|
1
|
+
export function ContainerCtx(props: any): JSX.Element;
|
package/dist/views/folder.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export function FolderCtx(props: any):
|
|
1
|
+
export function FolderCtx(props: any): JSX.Element;
|
package/dist/views/groups.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export function GroupToolbar():
|
|
2
|
-
export function GroupsCtx(props: any):
|
|
3
|
-
export function GroupCtx():
|
|
1
|
+
export function GroupToolbar(): JSX.Element;
|
|
2
|
+
export function GroupsCtx(props: any): JSX.Element;
|
|
3
|
+
export function GroupCtx(): JSX.Element;
|
package/dist/views/item.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export function ItemCtx(props: any):
|
|
1
|
+
export function ItemCtx(props: any): JSX.Element;
|
package/dist/views/users.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export function UsersToolbar(
|
|
2
|
-
export function UsersCtx(props: any):
|
|
3
|
-
export function UserCtx():
|
|
1
|
+
export function UsersToolbar(): JSX.Element;
|
|
2
|
+
export function UsersCtx(props: any): JSX.Element;
|
|
3
|
+
export function UserCtx(): JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.24.0",
|
|
3
3
|
"repository": {
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git@github.com:guillotinaweb/guillotina_react.git"
|
|
@@ -18,7 +18,10 @@
|
|
|
18
18
|
"bulma": "0.9.4",
|
|
19
19
|
"jwt-decode": "3.1.2",
|
|
20
20
|
"prop-types": "15.7.2",
|
|
21
|
-
"react-
|
|
21
|
+
"react-beautiful-dnd": "13.1.1",
|
|
22
|
+
"react-intl": "6.5.5",
|
|
23
|
+
"react-useportal": "1.0.19",
|
|
24
|
+
"uuid": "9.0.1"
|
|
22
25
|
},
|
|
23
26
|
"peerDependencies": {
|
|
24
27
|
"react": "^16.12.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -27,14 +30,17 @@
|
|
|
27
30
|
"devDependencies": {
|
|
28
31
|
"@babel/cli": "7.12.10",
|
|
29
32
|
"@babel/core": "7.12.10",
|
|
33
|
+
"@formatjs/cli": "^6.2.4",
|
|
30
34
|
"@testing-library/jest-dom": "5.11.6",
|
|
31
35
|
"@testing-library/react": "11.2.2",
|
|
32
36
|
"@testing-library/user-event": "12.6.0",
|
|
37
|
+
"babel-plugin-formatjs": "^10.5.10",
|
|
33
38
|
"husky": "4.3.6",
|
|
34
39
|
"microbundle": "0.13.0",
|
|
35
|
-
"sass": "1.69.5",
|
|
36
40
|
"prettier": "2.2.1",
|
|
37
|
-
"
|
|
41
|
+
"sass": "1.69.5",
|
|
42
|
+
"serialize-javascript": "5.0.1",
|
|
43
|
+
"vitest": "^0.34.6"
|
|
38
44
|
},
|
|
39
45
|
"scripts": {
|
|
40
46
|
"format": "prettier --write \"src/**/*.js\"",
|
|
@@ -43,7 +49,13 @@
|
|
|
43
49
|
"build": "yarn build:js && yarn build:css",
|
|
44
50
|
"build:js": "rm -rf ./dist && microbundle --jsx React.createElement --no-compress --sourcemap",
|
|
45
51
|
"build:css": "rm -rf ./dist/css && mkdir ./dist/css && sass ./src/guillo-gmi/scss/styles.sass ./dist/css/style.css",
|
|
46
|
-
"prepublish": "yarn build"
|
|
52
|
+
"prepublish": "yarn build",
|
|
53
|
+
"test": "vitest run",
|
|
54
|
+
"intl-extract": "formatjs extract 'src/**/*.js' --out-file src/guillo-gmi/locales/en.json --id-interpolation-pattern '[sha512:contenthash:base64:6]'",
|
|
55
|
+
"intl-compile-en": "formatjs compile src/guillo-gmi/locales/en.json --ast --out-file src/guillo-gmi/locales/compiled/en.json",
|
|
56
|
+
"intl-compile-ca": "formatjs compile src/guillo-gmi/locales/ca.json --ast --out-file src/guillo-gmi/locales/compiled/ca.json",
|
|
57
|
+
"intl-compile-es": "formatjs compile src/guillo-gmi/locales/es.json --ast --out-file src/guillo-gmi/locales/compiled/es.json",
|
|
58
|
+
"intl-compile": "npm run intl-compile-en && npm run intl-compile-es && npm run intl-compile-ca"
|
|
47
59
|
},
|
|
48
60
|
"eslintConfig": {
|
|
49
61
|
"extends": "react-app"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function SearchLabels(props: any): any;
|