@panneau/app 4.0.55 → 4.0.57
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/dist/index.d.ts +8 -8
- package/dist/index.js +3 -3
- package/package.json +44 -41
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ElementType, ReactNode } from 'react';
|
|
3
3
|
import { PanneauDefinition, User, Uppy, StatusCode, Label } from '@panneau/core';
|
|
4
4
|
|
|
@@ -11,20 +11,20 @@ interface ContainerProps {
|
|
|
11
11
|
uppy?: Uppy | null;
|
|
12
12
|
statusCode?: StatusCode | null;
|
|
13
13
|
}
|
|
14
|
-
declare function Container({ definition, components, user, memoryRouter, baseUrl, uppy, statusCode, }: ContainerProps):
|
|
14
|
+
declare function Container({ definition, components, user, memoryRouter, baseUrl, uppy, statusCode, }: ContainerProps): react.JSX.Element;
|
|
15
15
|
|
|
16
16
|
interface MainLayoutProps {
|
|
17
17
|
children?: ReactNode;
|
|
18
18
|
loading?: boolean;
|
|
19
19
|
fullscreen?: boolean;
|
|
20
20
|
}
|
|
21
|
-
declare function MainLayout({ fullscreen, loading, children }: MainLayoutProps):
|
|
21
|
+
declare function MainLayout({ fullscreen, loading, children }: MainLayoutProps): react.JSX.Element;
|
|
22
22
|
|
|
23
23
|
interface GuestLayoutProps {
|
|
24
24
|
children: ReactNode;
|
|
25
25
|
fullscreen?: boolean;
|
|
26
26
|
}
|
|
27
|
-
declare function GuestLayout({ fullscreen, children }: GuestLayoutProps):
|
|
27
|
+
declare function GuestLayout({ fullscreen, children }: GuestLayoutProps): react.JSX.Element;
|
|
28
28
|
|
|
29
29
|
interface PageHeaderProps {
|
|
30
30
|
title?: Label | null;
|
|
@@ -33,9 +33,9 @@ interface PageHeaderProps {
|
|
|
33
33
|
className?: string | null;
|
|
34
34
|
children?: ReactNode;
|
|
35
35
|
}
|
|
36
|
-
declare function PageHeader({ title, actions, small, className, children, }: PageHeaderProps):
|
|
36
|
+
declare function PageHeader({ title, actions, small, className, children, }: PageHeaderProps): react.JSX.Element;
|
|
37
37
|
|
|
38
|
-
declare function ResourceFilters(props: any):
|
|
38
|
+
declare function ResourceFilters(props: any): react.JSX.Element;
|
|
39
39
|
|
|
40
40
|
interface ResourceItemsListProps {
|
|
41
41
|
resource: string | {
|
|
@@ -43,8 +43,8 @@ interface ResourceItemsListProps {
|
|
|
43
43
|
};
|
|
44
44
|
[key: string]: any;
|
|
45
45
|
}
|
|
46
|
-
declare function ResourceItemsList({ resource, ...props }: ResourceItemsListProps):
|
|
46
|
+
declare function ResourceItemsList({ resource, ...props }: ResourceItemsListProps): react.JSX.Element;
|
|
47
47
|
|
|
48
|
-
declare function ResourceFormWrapper(props: any):
|
|
48
|
+
declare function ResourceFormWrapper(props: any): react.JSX.Element;
|
|
49
49
|
|
|
50
50
|
export { GuestLayout, MainLayout, PageHeader, ResourceFilters, ResourceFormWrapper as ResourceForm, ResourceItemsList, Container as default };
|
package/dist/index.js
CHANGED
|
@@ -14,10 +14,10 @@ import ListsProvider from '@panneau/lists';
|
|
|
14
14
|
import ModalsProvider from '@panneau/modals';
|
|
15
15
|
import { UppyProvider } from '@panneau/uppy';
|
|
16
16
|
import { c } from 'react/compiler-runtime';
|
|
17
|
-
import isObject from 'lodash/isObject';
|
|
17
|
+
import isObject from 'lodash-es/isObject';
|
|
18
18
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
import classNames from 'classnames';
|
|
20
|
-
import isString from 'lodash/isString';
|
|
20
|
+
import isString from 'lodash-es/isString';
|
|
21
21
|
import queryString from 'query-string';
|
|
22
22
|
import { FormattedMessage } from 'react-intl';
|
|
23
23
|
import { useResourceUrlGenerator, useResourceTypeName } from '@panneau/core/hooks';
|
|
@@ -25,7 +25,7 @@ import Alert from '@panneau/element-alert';
|
|
|
25
25
|
import Button from '@panneau/element-button';
|
|
26
26
|
import Dropdown from '@panneau/element-dropdown';
|
|
27
27
|
import { Modals } from '@panneau/element-modal';
|
|
28
|
-
import isArray from 'lodash/isArray';
|
|
28
|
+
import isArray from 'lodash-es/isArray';
|
|
29
29
|
import Link from '@panneau/element-link';
|
|
30
30
|
import Menu from '@panneau/element-menu';
|
|
31
31
|
import Navbar from '@panneau/element-navbar';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/app",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.57",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -36,6 +36,9 @@
|
|
|
36
36
|
"type": "module",
|
|
37
37
|
"module": "dist/index.js",
|
|
38
38
|
"types": "dist/index.d.ts",
|
|
39
|
+
"sideEffects": [
|
|
40
|
+
"**/*.css"
|
|
41
|
+
],
|
|
39
42
|
"style": "assets/css/styles.css",
|
|
40
43
|
"exports": {
|
|
41
44
|
".": {
|
|
@@ -72,45 +75,45 @@
|
|
|
72
75
|
"@fortawesome/fontawesome-svg-core": "^6.5.1",
|
|
73
76
|
"@fortawesome/free-solid-svg-icons": "^6.5.1",
|
|
74
77
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
75
|
-
"@panneau/actions": "^4.0.
|
|
76
|
-
"@panneau/auth": "^4.0.
|
|
77
|
-
"@panneau/core": "^4.0.
|
|
78
|
-
"@panneau/data": "^4.0.
|
|
79
|
-
"@panneau/displays": "^4.0.
|
|
80
|
-
"@panneau/element-accordion": "^4.0.
|
|
81
|
-
"@panneau/element-alert": "^4.0.
|
|
82
|
-
"@panneau/element-avatar": "^4.0.
|
|
83
|
-
"@panneau/element-breadcrumbs": "^4.0.
|
|
84
|
-
"@panneau/element-button": "^4.0.
|
|
85
|
-
"@panneau/element-buttons": "^4.0.
|
|
86
|
-
"@panneau/element-dropdown": "^4.0.
|
|
87
|
-
"@panneau/element-form": "^4.0.
|
|
88
|
-
"@panneau/element-form-group": "^4.0.
|
|
89
|
-
"@panneau/element-grid": "^4.0.
|
|
90
|
-
"@panneau/element-icon": "^4.0.
|
|
91
|
-
"@panneau/element-label": "^4.0.
|
|
92
|
-
"@panneau/element-link": "^4.0.
|
|
93
|
-
"@panneau/element-loading": "^4.0.
|
|
94
|
-
"@panneau/element-media-card": "^4.0.
|
|
95
|
-
"@panneau/element-media-player": "^4.0.
|
|
96
|
-
"@panneau/element-menu": "^4.0.
|
|
97
|
-
"@panneau/element-modal": "^4.0.
|
|
98
|
-
"@panneau/element-navbar": "^4.0.
|
|
99
|
-
"@panneau/element-pagination": "^4.0.
|
|
100
|
-
"@panneau/element-radios": "^4.0.
|
|
101
|
-
"@panneau/element-range": "^4.0.
|
|
102
|
-
"@panneau/element-resource-card": "^4.0.
|
|
103
|
-
"@panneau/fields": "^4.0.
|
|
104
|
-
"@panneau/filter-filters": "^4.0.
|
|
105
|
-
"@panneau/filters": "^4.0.
|
|
106
|
-
"@panneau/form-resource": "^4.0.
|
|
107
|
-
"@panneau/forms": "^4.0.
|
|
108
|
-
"@panneau/intl": "^4.0.
|
|
109
|
-
"@panneau/list-resource-items": "^4.0.
|
|
110
|
-
"@panneau/lists": "^4.0.
|
|
111
|
-
"@panneau/modals": "^4.0.
|
|
112
|
-
"@panneau/themes": "^4.0.
|
|
113
|
-
"@panneau/uppy": "^4.0.
|
|
78
|
+
"@panneau/actions": "^4.0.56",
|
|
79
|
+
"@panneau/auth": "^4.0.56",
|
|
80
|
+
"@panneau/core": "^4.0.56",
|
|
81
|
+
"@panneau/data": "^4.0.56",
|
|
82
|
+
"@panneau/displays": "^4.0.56",
|
|
83
|
+
"@panneau/element-accordion": "^4.0.56",
|
|
84
|
+
"@panneau/element-alert": "^4.0.56",
|
|
85
|
+
"@panneau/element-avatar": "^4.0.56",
|
|
86
|
+
"@panneau/element-breadcrumbs": "^4.0.56",
|
|
87
|
+
"@panneau/element-button": "^4.0.56",
|
|
88
|
+
"@panneau/element-buttons": "^4.0.56",
|
|
89
|
+
"@panneau/element-dropdown": "^4.0.56",
|
|
90
|
+
"@panneau/element-form": "^4.0.56",
|
|
91
|
+
"@panneau/element-form-group": "^4.0.56",
|
|
92
|
+
"@panneau/element-grid": "^4.0.56",
|
|
93
|
+
"@panneau/element-icon": "^4.0.56",
|
|
94
|
+
"@panneau/element-label": "^4.0.56",
|
|
95
|
+
"@panneau/element-link": "^4.0.56",
|
|
96
|
+
"@panneau/element-loading": "^4.0.56",
|
|
97
|
+
"@panneau/element-media-card": "^4.0.56",
|
|
98
|
+
"@panneau/element-media-player": "^4.0.56",
|
|
99
|
+
"@panneau/element-menu": "^4.0.56",
|
|
100
|
+
"@panneau/element-modal": "^4.0.56",
|
|
101
|
+
"@panneau/element-navbar": "^4.0.56",
|
|
102
|
+
"@panneau/element-pagination": "^4.0.56",
|
|
103
|
+
"@panneau/element-radios": "^4.0.56",
|
|
104
|
+
"@panneau/element-range": "^4.0.56",
|
|
105
|
+
"@panneau/element-resource-card": "^4.0.56",
|
|
106
|
+
"@panneau/fields": "^4.0.56",
|
|
107
|
+
"@panneau/filter-filters": "^4.0.56",
|
|
108
|
+
"@panneau/filters": "^4.0.56",
|
|
109
|
+
"@panneau/form-resource": "^4.0.56",
|
|
110
|
+
"@panneau/forms": "^4.0.56",
|
|
111
|
+
"@panneau/intl": "^4.0.56",
|
|
112
|
+
"@panneau/list-resource-items": "^4.0.56",
|
|
113
|
+
"@panneau/lists": "^4.0.56",
|
|
114
|
+
"@panneau/modals": "^4.0.56",
|
|
115
|
+
"@panneau/themes": "^4.0.56",
|
|
116
|
+
"@panneau/uppy": "^4.0.56",
|
|
114
117
|
"classnames": "^2.5.1",
|
|
115
118
|
"lodash": "^4.17.21",
|
|
116
119
|
"query-string": "^9.0.0",
|
|
@@ -120,5 +123,5 @@
|
|
|
120
123
|
"publishConfig": {
|
|
121
124
|
"access": "public"
|
|
122
125
|
},
|
|
123
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "b46ff49599dc8d28defa7ad4690be99437023827"
|
|
124
127
|
}
|