@guillotinaweb/react-gmi 0.18.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/CHANGELOG.md +210 -0
- package/LICENSE +23 -0
- package/README.md +126 -0
- package/dist/actions/add_item.d.ts +1 -0
- package/dist/actions/change_pass.d.ts +1 -0
- package/dist/actions/copy_item.d.ts +1 -0
- package/dist/actions/copy_items.d.ts +1 -0
- package/dist/actions/index.d.ts +2 -0
- package/dist/actions/move_item.d.ts +1 -0
- package/dist/actions/move_items.d.ts +1 -0
- package/dist/actions/remove_item.d.ts +1 -0
- package/dist/actions/remove_items.d.ts +1 -0
- package/dist/components/Link.d.ts +6 -0
- package/dist/components/TdLink.d.ts +5 -0
- package/dist/components/behavior_view.d.ts +5 -0
- package/dist/components/behaviors/iattachment.d.ts +4 -0
- package/dist/components/behaviors/idublincore.d.ts +4 -0
- package/dist/components/behaviors/imultiattachment.d.ts +4 -0
- package/dist/components/context_toolbar.d.ts +5 -0
- package/dist/components/error_boundary.d.ts +5 -0
- package/dist/components/error_zone.d.ts +13 -0
- package/dist/components/fields/downloadField.d.ts +3 -0
- package/dist/components/fields/editComponent.d.ts +2 -0
- package/dist/components/fields/editableField.d.ts +10 -0
- package/dist/components/fields/renderField.d.ts +4 -0
- package/dist/components/flash.d.ts +1 -0
- package/dist/components/guillotina.d.ts +4 -0
- package/dist/components/index.d.ts +48 -0
- package/dist/components/input/button.d.ts +10 -0
- package/dist/components/input/checkbox.d.ts +17 -0
- package/dist/components/input/dropdown.d.ts +10 -0
- package/dist/components/input/email.d.ts +5 -0
- package/dist/components/input/form.d.ts +20 -0
- package/dist/components/input/form_builder.d.ts +12 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/input/input.d.ts +1 -0
- package/dist/components/input/input_list.d.ts +1 -0
- package/dist/components/input/password.d.ts +4 -0
- package/dist/components/input/search_input.d.ts +25 -0
- package/dist/components/input/select.d.ts +1 -0
- package/dist/components/input/textarea.d.ts +1 -0
- package/dist/components/input/upload.d.ts +5 -0
- package/dist/components/item.d.ts +13 -0
- package/dist/components/layout.d.ts +5 -0
- package/dist/components/login.d.ts +14 -0
- package/dist/components/modal.d.ts +14 -0
- package/dist/components/notallowed.d.ts +1 -0
- package/dist/components/notfound.d.ts +1 -0
- package/dist/components/pagination.d.ts +6 -0
- package/dist/components/panel/actions.d.ts +24 -0
- package/dist/components/panel/addons.d.ts +1 -0
- package/dist/components/panel/behaviors.d.ts +1 -0
- package/dist/components/panel/index.d.ts +1 -0
- package/dist/components/panel/items.d.ts +1 -0
- package/dist/components/panel/permissions.d.ts +5 -0
- package/dist/components/panel/permissions_prinperm.d.ts +6 -0
- package/dist/components/panel/permissions_prinrole.d.ts +6 -0
- package/dist/components/panel/permissions_roleperm.d.ts +6 -0
- package/dist/components/panel/properties.d.ts +1 -0
- package/dist/components/panel/requester.d.ts +1 -0
- package/dist/components/path.d.ts +1 -0
- package/dist/components/properties_view.d.ts +2 -0
- package/dist/components/searchLabels.d.ts +1 -0
- package/dist/components/selected_items_actions.d.ts +32 -0
- package/dist/components/tabs.d.ts +11 -0
- package/dist/components/ui/delete.d.ts +5 -0
- package/dist/components/ui/icon.d.ts +5 -0
- package/dist/components/ui/index.d.ts +6 -0
- package/dist/components/ui/loading.d.ts +3 -0
- package/dist/components/ui/notification.d.ts +4 -0
- package/dist/components/ui/table.d.ts +5 -0
- package/dist/components/ui/tag.d.ts +6 -0
- package/dist/components/widgets/index.d.ts +1 -0
- package/dist/components/widgets/tags.d.ts +8 -0
- package/dist/contexts/index.d.ts +13 -0
- package/dist/css/style.css +7792 -0
- package/dist/forms/base.d.ts +7 -0
- package/dist/forms/required_fields.d.ts +8 -0
- package/dist/forms/users.d.ts +5 -0
- package/dist/hooks/useAsync.d.ts +1 -0
- package/dist/hooks/useAsyncFn.d.ts +3 -0
- package/dist/hooks/useClickAway.d.ts +1 -0
- package/dist/hooks/useConfig.d.ts +15 -0
- package/dist/hooks/useCrudContext.d.ts +1 -0
- package/dist/hooks/useInput.d.ts +7 -0
- package/dist/hooks/useLocation.d.ts +1 -0
- package/dist/hooks/useMountedState.d.ts +1 -0
- package/dist/hooks/useRegistry.d.ts +90 -0
- package/dist/hooks/useRemoteField.d.ts +1 -0
- package/dist/hooks/useSetState.d.ts +1 -0
- package/dist/index.d.ts +27 -0
- package/dist/lib/auth.d.ts +31 -0
- package/dist/lib/client.d.ts +49 -0
- package/dist/lib/helpers.d.ts +7 -0
- package/dist/lib/rest.d.ts +21 -0
- package/dist/lib/search.d.ts +2 -0
- package/dist/lib/search.test.d.ts +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/validators.d.ts +12 -0
- package/dist/models/index.d.ts +17 -0
- package/dist/models/sharing.d.ts +9 -0
- package/dist/react-gmi.esm.js +7521 -0
- package/dist/react-gmi.esm.js.map +1 -0
- package/dist/react-gmi.js +7658 -0
- package/dist/react-gmi.js.map +1 -0
- package/dist/react-gmi.modern.js +6163 -0
- package/dist/react-gmi.modern.js.map +1 -0
- package/dist/react-gmi.umd.js +7660 -0
- package/dist/react-gmi.umd.js.map +1 -0
- package/dist/reducers/guillotina.d.ts +19 -0
- package/dist/setupTests.d.ts +1 -0
- package/dist/views/application.d.ts +5 -0
- package/dist/views/base.d.ts +1 -0
- package/dist/views/container.d.ts +1 -0
- package/dist/views/folder.d.ts +1 -0
- package/dist/views/groups.d.ts +3 -0
- package/dist/views/item.d.ts +1 -0
- package/dist/views/users.d.ts +3 -0
- package/package.json +78 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export function guillotinaReducer(state: any, action: any): any;
|
|
2
|
+
export namespace initialState {
|
|
3
|
+
const path: string;
|
|
4
|
+
const loading: boolean;
|
|
5
|
+
const context: any;
|
|
6
|
+
namespace flash {
|
|
7
|
+
const message: any;
|
|
8
|
+
const type: any;
|
|
9
|
+
}
|
|
10
|
+
namespace action {
|
|
11
|
+
const action_1: any;
|
|
12
|
+
export { action_1 as action };
|
|
13
|
+
export const params: any;
|
|
14
|
+
}
|
|
15
|
+
const permissions: any;
|
|
16
|
+
const errorStatus: any;
|
|
17
|
+
const registry: {};
|
|
18
|
+
const refresh: any;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function PanelNotImplemented(props: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function ContainerCtx(props: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function FolderCtx(props: any): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function ItemCtx(props: any): any;
|
package/package.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.18.0",
|
|
3
|
+
"repository": {
|
|
4
|
+
"type": "git",
|
|
5
|
+
"url": "git@github.com:guillotinaweb/guillotina_react.git"
|
|
6
|
+
},
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"source": "./src/guillo-gmi/index.js",
|
|
11
|
+
"main": "./dist/react-gmi.js",
|
|
12
|
+
"exports": "./dist/react-gmi.modern.js",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"unpkg": "./dist/react-gmi.umd.js",
|
|
15
|
+
"name": "@guillotinaweb/react-gmi",
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"brace": "0.11.1",
|
|
18
|
+
"bulma": "0.9.1",
|
|
19
|
+
"jwt-decode": "3.1.2",
|
|
20
|
+
"prop-types": "15.7.2",
|
|
21
|
+
"react-ace": "9.2.1",
|
|
22
|
+
"react-useportal": "1.0.13"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"react": "^16.12.0",
|
|
26
|
+
"react-dom": "^16.12.0"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@babel/cli": "7.12.10",
|
|
30
|
+
"@babel/core": "7.12.10",
|
|
31
|
+
"@testing-library/jest-dom": "5.11.6",
|
|
32
|
+
"@testing-library/react": "11.2.2",
|
|
33
|
+
"@testing-library/user-event": "12.6.0",
|
|
34
|
+
"husky": "4.3.6",
|
|
35
|
+
"microbundle": "0.13.0",
|
|
36
|
+
"node-sass": "5.0.0",
|
|
37
|
+
"prettier": "2.2.1",
|
|
38
|
+
"serialize-javascript": "5.0.1"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"format": "prettier --write \"src/**/*.js\"",
|
|
42
|
+
"format:tests": "prettier --write \"e2e/cypress/**/*.js\"",
|
|
43
|
+
"format:check": "prettier --check \"src/**/*.js\"",
|
|
44
|
+
"build": "yarn build:js && yarn build:css",
|
|
45
|
+
"build:js": "rm -rf ./dist && microbundle --jsx React.createElement --no-compress --sourcemap",
|
|
46
|
+
"build:css": "rm -rf ./dist/css && mkdir ./dist/css && node-sass ./src/guillo-gmi/scss/styles.sass ./dist/css/style.css",
|
|
47
|
+
"prepublish": "yarn build"
|
|
48
|
+
},
|
|
49
|
+
"eslintConfig": {
|
|
50
|
+
"extends": "react-app"
|
|
51
|
+
},
|
|
52
|
+
"browserslist": {
|
|
53
|
+
"production": [
|
|
54
|
+
">0.2%",
|
|
55
|
+
"not dead",
|
|
56
|
+
"not op_mini all"
|
|
57
|
+
],
|
|
58
|
+
"development": [
|
|
59
|
+
"last 1 chrome version",
|
|
60
|
+
"last 1 firefox version",
|
|
61
|
+
"last 1 safari version"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"husky": {
|
|
65
|
+
"hooks": {
|
|
66
|
+
"pre-commit": "prettier --write \"src/**/*.js\""
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"prettier": {
|
|
70
|
+
"trailingComma": "es5",
|
|
71
|
+
"tabWidth": 2,
|
|
72
|
+
"semi": false,
|
|
73
|
+
"singleQuote": true
|
|
74
|
+
},
|
|
75
|
+
"author": "Jordi Collell <jordic@gmail.com> ",
|
|
76
|
+
"license": "MIT",
|
|
77
|
+
"homepage": "https://github.com/guillotinaweb/guillotina_react/"
|
|
78
|
+
}
|