@panneau/app 4.0.14 → 4.0.15

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +50 -0
  2. package/package.json +41 -41
@@ -0,0 +1,50 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ElementType, ReactNode } from 'react';
3
+ import { PanneauDefinition, User, Uppy, StatusCode, Label } from '@panneau/core';
4
+
5
+ interface ContainerProps {
6
+ definition: PanneauDefinition;
7
+ components?: Record<string, ElementType> | Record<string, Record<string, ElementType>> | null;
8
+ user?: User | null;
9
+ memoryRouter?: boolean;
10
+ baseUrl?: string | null;
11
+ uppy?: Uppy | null;
12
+ statusCode?: StatusCode | null;
13
+ }
14
+ declare function Container({ definition, components, user, memoryRouter, baseUrl, uppy, statusCode, }: ContainerProps): react_jsx_runtime.JSX.Element;
15
+
16
+ interface MainLayoutProps {
17
+ children?: ReactNode;
18
+ loading?: boolean;
19
+ fullscreen?: boolean;
20
+ }
21
+ declare function MainLayout({ fullscreen, loading, children }: MainLayoutProps): react_jsx_runtime.JSX.Element;
22
+
23
+ interface GuestLayoutProps {
24
+ children: ReactNode;
25
+ fullscreen?: boolean;
26
+ }
27
+ declare function GuestLayout({ fullscreen, children }: GuestLayoutProps): react_jsx_runtime.JSX.Element;
28
+
29
+ interface PageHeaderProps {
30
+ title?: Label | null;
31
+ actions?: ReactNode;
32
+ small?: boolean;
33
+ className?: string | null;
34
+ children?: ReactNode;
35
+ }
36
+ declare function PageHeader({ title, actions, small, className, children, }: PageHeaderProps): react_jsx_runtime.JSX.Element;
37
+
38
+ declare function ResourceFilters(props: any): react_jsx_runtime.JSX.Element;
39
+
40
+ interface ResourceItemsListProps {
41
+ resource: string | {
42
+ id: string;
43
+ };
44
+ [key: string]: any;
45
+ }
46
+ declare function ResourceItemsList({ resource, ...props }: ResourceItemsListProps): react_jsx_runtime.JSX.Element;
47
+
48
+ declare function ResourceFormWrapper(props: any): react_jsx_runtime.JSX.Element;
49
+
50
+ export { GuestLayout, MainLayout, PageHeader, ResourceFilters, ResourceFormWrapper as ResourceForm, ResourceItemsList, Container as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/app",
3
- "version": "4.0.14",
3
+ "version": "4.0.15",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -70,45 +70,45 @@
70
70
  "@fortawesome/fontawesome-svg-core": "^6.5.1",
71
71
  "@fortawesome/free-solid-svg-icons": "^6.5.1",
72
72
  "@fortawesome/react-fontawesome": "^0.2.0",
73
- "@panneau/actions": "^4.0.14",
74
- "@panneau/auth": "^4.0.14",
75
- "@panneau/core": "^4.0.14",
76
- "@panneau/data": "^4.0.14",
77
- "@panneau/displays": "^4.0.14",
78
- "@panneau/element-accordion": "^4.0.14",
79
- "@panneau/element-alert": "^4.0.14",
80
- "@panneau/element-avatar": "^4.0.14",
81
- "@panneau/element-breadcrumbs": "^4.0.14",
82
- "@panneau/element-button": "^4.0.14",
83
- "@panneau/element-buttons": "^4.0.14",
84
- "@panneau/element-dropdown": "^4.0.14",
85
- "@panneau/element-form": "^4.0.14",
86
- "@panneau/element-form-group": "^4.0.14",
87
- "@panneau/element-grid": "^4.0.14",
88
- "@panneau/element-icon": "^4.0.14",
89
- "@panneau/element-label": "^4.0.14",
90
- "@panneau/element-link": "^4.0.14",
91
- "@panneau/element-loading": "^4.0.14",
92
- "@panneau/element-media-card": "^4.0.14",
93
- "@panneau/element-media-player": "^4.0.14",
94
- "@panneau/element-menu": "^4.0.14",
95
- "@panneau/element-modal": "^4.0.14",
96
- "@panneau/element-navbar": "^4.0.14",
97
- "@panneau/element-pagination": "^4.0.14",
98
- "@panneau/element-radios": "^4.0.14",
99
- "@panneau/element-range": "^4.0.14",
100
- "@panneau/element-resource-card": "^4.0.14",
101
- "@panneau/fields": "^4.0.14",
102
- "@panneau/filter-filters": "^4.0.14",
103
- "@panneau/filters": "^4.0.14",
104
- "@panneau/form-resource": "^4.0.14",
105
- "@panneau/forms": "^4.0.14",
106
- "@panneau/intl": "^4.0.14",
107
- "@panneau/list-resource-items": "^4.0.14",
108
- "@panneau/lists": "^4.0.14",
109
- "@panneau/modals": "^4.0.14",
110
- "@panneau/themes": "^4.0.14",
111
- "@panneau/uppy": "^4.0.14",
73
+ "@panneau/actions": "^4.0.15",
74
+ "@panneau/auth": "^4.0.15",
75
+ "@panneau/core": "^4.0.15",
76
+ "@panneau/data": "^4.0.15",
77
+ "@panneau/displays": "^4.0.15",
78
+ "@panneau/element-accordion": "^4.0.15",
79
+ "@panneau/element-alert": "^4.0.15",
80
+ "@panneau/element-avatar": "^4.0.15",
81
+ "@panneau/element-breadcrumbs": "^4.0.15",
82
+ "@panneau/element-button": "^4.0.15",
83
+ "@panneau/element-buttons": "^4.0.15",
84
+ "@panneau/element-dropdown": "^4.0.15",
85
+ "@panneau/element-form": "^4.0.15",
86
+ "@panneau/element-form-group": "^4.0.15",
87
+ "@panneau/element-grid": "^4.0.15",
88
+ "@panneau/element-icon": "^4.0.15",
89
+ "@panneau/element-label": "^4.0.15",
90
+ "@panneau/element-link": "^4.0.15",
91
+ "@panneau/element-loading": "^4.0.15",
92
+ "@panneau/element-media-card": "^4.0.15",
93
+ "@panneau/element-media-player": "^4.0.15",
94
+ "@panneau/element-menu": "^4.0.15",
95
+ "@panneau/element-modal": "^4.0.15",
96
+ "@panneau/element-navbar": "^4.0.15",
97
+ "@panneau/element-pagination": "^4.0.15",
98
+ "@panneau/element-radios": "^4.0.15",
99
+ "@panneau/element-range": "^4.0.15",
100
+ "@panneau/element-resource-card": "^4.0.15",
101
+ "@panneau/fields": "^4.0.15",
102
+ "@panneau/filter-filters": "^4.0.15",
103
+ "@panneau/filters": "^4.0.15",
104
+ "@panneau/form-resource": "^4.0.15",
105
+ "@panneau/forms": "^4.0.15",
106
+ "@panneau/intl": "^4.0.15",
107
+ "@panneau/list-resource-items": "^4.0.15",
108
+ "@panneau/lists": "^4.0.15",
109
+ "@panneau/modals": "^4.0.15",
110
+ "@panneau/themes": "^4.0.15",
111
+ "@panneau/uppy": "^4.0.15",
112
112
  "classnames": "^2.5.1",
113
113
  "lodash": "^4.17.21",
114
114
  "query-string": "^9.0.0",
@@ -118,5 +118,5 @@
118
118
  "publishConfig": {
119
119
  "access": "public"
120
120
  },
121
- "gitHead": "ce35c2ddb30a7be2efe951882d9826dca577f5d4"
121
+ "gitHead": "83c02ca2f26e02383ef452ffcafda984d0b211cd"
122
122
  }