@cratis/scene.blueprint.default 4.12.0 → 4.13.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/dist/cjs/gallery/authTemplates.js +25 -6
- package/dist/cjs/gallery/authTemplates.js.map +1 -1
- package/dist/cjs/gallery/dialogTemplates.js +13 -3
- package/dist/cjs/gallery/dialogTemplates.js.map +1 -1
- package/dist/cjs/gallery/nesting.js +13 -3
- package/dist/cjs/gallery/nesting.js.map +1 -1
- package/dist/cjs/gallery/statusTemplates.js +17 -4
- package/dist/cjs/gallery/statusTemplates.js.map +1 -1
- package/dist/cjs/gallery/supportTemplates.js +21 -5
- package/dist/cjs/gallery/supportTemplates.js.map +1 -1
- package/dist/cjs/gallery/workspaceTemplates.js +21 -5
- package/dist/cjs/gallery/workspaceTemplates.js.map +1 -1
- package/dist/cjs/index.js +3 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/layouts/appShell.js +5 -1
- package/dist/cjs/layouts/appShell.js.map +1 -1
- package/dist/cjs/layouts/fullPage.js +5 -1
- package/dist/cjs/layouts/fullPage.js.map +1 -1
- package/dist/cjs/templateProvenance.js +46 -0
- package/dist/cjs/templateProvenance.js.map +1 -0
- package/dist/esm/gallery/authTemplates.d.ts.map +1 -1
- package/dist/esm/gallery/authTemplates.js +25 -6
- package/dist/esm/gallery/authTemplates.js.map +1 -1
- package/dist/esm/gallery/dialogTemplates.d.ts.map +1 -1
- package/dist/esm/gallery/dialogTemplates.js +13 -3
- package/dist/esm/gallery/dialogTemplates.js.map +1 -1
- package/dist/esm/gallery/nesting.d.ts.map +1 -1
- package/dist/esm/gallery/nesting.js +13 -3
- package/dist/esm/gallery/nesting.js.map +1 -1
- package/dist/esm/gallery/statusTemplates.d.ts.map +1 -1
- package/dist/esm/gallery/statusTemplates.js +17 -4
- package/dist/esm/gallery/statusTemplates.js.map +1 -1
- package/dist/esm/gallery/supportTemplates.d.ts.map +1 -1
- package/dist/esm/gallery/supportTemplates.js +21 -5
- package/dist/esm/gallery/supportTemplates.js.map +1 -1
- package/dist/esm/gallery/workspaceTemplates.d.ts.map +1 -1
- package/dist/esm/gallery/workspaceTemplates.js +21 -5
- package/dist/esm/gallery/workspaceTemplates.js.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/layouts/appShell.d.ts.map +1 -1
- package/dist/esm/layouts/appShell.js +5 -1
- package/dist/esm/layouts/appShell.js.map +1 -1
- package/dist/esm/layouts/fullPage.d.ts.map +1 -1
- package/dist/esm/layouts/fullPage.js +5 -1
- package/dist/esm/layouts/fullPage.js.map +1 -1
- package/dist/esm/templateProvenance.d.ts +4 -0
- package/dist/esm/templateProvenance.d.ts.map +1 -0
- package/dist/esm/templateProvenance.js +43 -0
- package/dist/esm/templateProvenance.js.map +1 -0
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/gallery/authTemplates.ts +7 -0
- package/gallery/dialogTemplates.ts +4 -0
- package/gallery/nesting.ts +4 -0
- package/gallery/statusTemplates.ts +5 -0
- package/gallery/supportTemplates.ts +6 -0
- package/gallery/workspaceTemplates.ts +6 -0
- package/index.ts +1 -0
- package/layouts/appShell.ts +2 -0
- package/layouts/fullPage.ts +2 -0
- package/package.json +7 -7
- package/templateProvenance.ts +37 -0
package/gallery/authTemplates.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { SlotName } from '../layouts';
|
|
|
7
7
|
import { TemplateSlotName } from './TemplateSlotName';
|
|
8
8
|
import { button, card, externalComponent, text } from './elements';
|
|
9
9
|
import { field, formActions } from './widgets';
|
|
10
|
+
import { defaultBlueprintTemplateProvenance } from '../templateProvenance';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* The six screens that stand between someone and the application: sign in, register, forgotten password,
|
|
@@ -47,6 +48,7 @@ export const loginTemplate: ScreenTemplate = {
|
|
|
47
48
|
},
|
|
48
49
|
displayName: 'Sign in',
|
|
49
50
|
description: 'Email and password beside the branding panel.',
|
|
51
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
50
52
|
};
|
|
51
53
|
|
|
52
54
|
/** Register. */
|
|
@@ -69,6 +71,7 @@ export const registerTemplate: ScreenTemplate = {
|
|
|
69
71
|
},
|
|
70
72
|
displayName: 'Register',
|
|
71
73
|
description: 'Account creation with a password strength meter and the terms checkbox.',
|
|
74
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
72
75
|
};
|
|
73
76
|
|
|
74
77
|
/** Forgotten password: ask for the address. */
|
|
@@ -88,6 +91,7 @@ export const forgotPasswordTemplate: ScreenTemplate = {
|
|
|
88
91
|
},
|
|
89
92
|
displayName: 'Forgotten password',
|
|
90
93
|
description: 'One field and one button - the whole point is that it asks for nothing else.',
|
|
94
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
91
95
|
};
|
|
92
96
|
|
|
93
97
|
/** New password: the other end of the link. */
|
|
@@ -108,6 +112,7 @@ export const newPasswordTemplate: ScreenTemplate = {
|
|
|
108
112
|
},
|
|
109
113
|
displayName: 'New password',
|
|
110
114
|
description: 'Where a reset link lands: choose it, confirm it, done.',
|
|
115
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
111
116
|
};
|
|
112
117
|
|
|
113
118
|
/** Verification: the code from the email. */
|
|
@@ -128,6 +133,7 @@ export const verificationTemplate: ScreenTemplate = {
|
|
|
128
133
|
},
|
|
129
134
|
displayName: 'Verification',
|
|
130
135
|
description: 'The code step, with the progress indicator that tells you how much is left.',
|
|
136
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
131
137
|
};
|
|
132
138
|
|
|
133
139
|
/** Lock screen: the session is still there, the person has to prove they are. */
|
|
@@ -148,6 +154,7 @@ export const lockScreenTemplate: ScreenTemplate = {
|
|
|
148
154
|
},
|
|
149
155
|
displayName: 'Lock screen',
|
|
150
156
|
description: 'One person, one password, and no way to lose what was open.',
|
|
157
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
151
158
|
};
|
|
152
159
|
|
|
153
160
|
/** The six authentication templates. */
|
|
@@ -5,6 +5,7 @@ import { DialogTemplate } from '@cratis/scene.model';
|
|
|
5
5
|
import { TemplateSlotName } from './TemplateSlotName';
|
|
6
6
|
import { button, card, externalComponent, panel, text } from './elements';
|
|
7
7
|
import { field } from './widgets';
|
|
8
|
+
import { defaultBlueprintTemplateProvenance } from '../templateProvenance';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* The three dialog shapes an application repeats: confirm something destructive, capture a short form, and
|
|
@@ -32,6 +33,7 @@ export const confirmDialogTemplate: DialogTemplate = {
|
|
|
32
33
|
},
|
|
33
34
|
displayName: 'Confirmation dialog',
|
|
34
35
|
description: 'One question with the consequence spelled out, and a way back.',
|
|
36
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
35
37
|
};
|
|
36
38
|
|
|
37
39
|
/** Form: a short capture that does not deserve a page of its own. */
|
|
@@ -51,6 +53,7 @@ export const formDialogTemplate: DialogTemplate = {
|
|
|
51
53
|
},
|
|
52
54
|
displayName: 'Form dialog',
|
|
53
55
|
description: 'A handful of fields captured without leaving the page underneath.',
|
|
56
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
54
57
|
};
|
|
55
58
|
|
|
56
59
|
/** Detail: a record shown over the list it came from. */
|
|
@@ -73,6 +76,7 @@ export const detailDialogTemplate: DialogTemplate = {
|
|
|
73
76
|
},
|
|
74
77
|
displayName: 'Detail dialog',
|
|
75
78
|
description: 'A record over the list it came from, with a route to the full page.',
|
|
79
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
76
80
|
};
|
|
77
81
|
|
|
78
82
|
/** The dialog templates this blueprint provides. */
|
package/gallery/nesting.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { SlotName, column, slotLeaf } from '../layouts';
|
|
|
7
7
|
import { TemplateSlotName } from './TemplateSlotName';
|
|
8
8
|
import { button, externalComponent } from './elements';
|
|
9
9
|
import { pageHeader } from './widgets';
|
|
10
|
+
import { defaultBlueprintTemplateProvenance } from '../templateProvenance';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* A worked three-level chain, from the application layout down to a slice.
|
|
@@ -36,6 +37,7 @@ export const moduleWorkspaceTemplate: ScreenTemplate = {
|
|
|
36
37
|
},
|
|
37
38
|
displayName: 'Module workspace',
|
|
38
39
|
description: 'Module level: fits the application layout content slot and offers a body for one feature.',
|
|
40
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
39
41
|
};
|
|
40
42
|
|
|
41
43
|
/**
|
|
@@ -56,6 +58,7 @@ export const featureSectionTemplate: ScreenTemplate = {
|
|
|
56
58
|
},
|
|
57
59
|
displayName: 'Feature section',
|
|
58
60
|
description: 'Feature level: fits a module workspace body slot and brings the action toolbar.',
|
|
61
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
59
62
|
};
|
|
60
63
|
|
|
61
64
|
/**
|
|
@@ -76,6 +79,7 @@ export const sliceSectionTemplate: ScreenTemplate = {
|
|
|
76
79
|
},
|
|
77
80
|
displayName: 'Slice section',
|
|
78
81
|
description: 'Slice level: fits a feature section body slot and hosts one behavior.',
|
|
82
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
79
83
|
};
|
|
80
84
|
|
|
81
85
|
/** The chain, outermost first - what a spec walks to prove `fitsSlot` resolves at every level. */
|
|
@@ -7,6 +7,7 @@ import { SlotName } from '../layouts';
|
|
|
7
7
|
import { TemplateSlotName } from './TemplateSlotName';
|
|
8
8
|
import { button, card, externalComponent, panel, text } from './elements';
|
|
9
9
|
import { widget } from './widgets';
|
|
10
|
+
import { defaultBlueprintTemplateProvenance } from '../templateProvenance';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* The four screens that are not part of anyone's plan: a server error, a refusal, a wrong address, and the
|
|
@@ -37,6 +38,7 @@ export const errorTemplate: ScreenTemplate = {
|
|
|
37
38
|
},
|
|
38
39
|
displayName: 'Error',
|
|
39
40
|
description: 'A server-side failure, said plainly, with a way onward.',
|
|
41
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
40
42
|
};
|
|
41
43
|
|
|
42
44
|
/** Signed in, and still not allowed. */
|
|
@@ -59,6 +61,7 @@ export const accessDeniedTemplate: ScreenTemplate = {
|
|
|
59
61
|
},
|
|
60
62
|
displayName: 'Access denied',
|
|
61
63
|
description: 'A refusal that distinguishes "not signed in" from "not allowed".',
|
|
64
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
62
65
|
};
|
|
63
66
|
|
|
64
67
|
/** No such address. */
|
|
@@ -79,6 +82,7 @@ export const notFoundTemplate: ScreenTemplate = {
|
|
|
79
82
|
},
|
|
80
83
|
displayName: 'Not found',
|
|
81
84
|
description: 'A wrong address, with a search box rather than a dead end.',
|
|
85
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
82
86
|
};
|
|
83
87
|
|
|
84
88
|
/** The page that has to do the selling. */
|
|
@@ -112,6 +116,7 @@ export const landingTemplate: ScreenTemplate = {
|
|
|
112
116
|
},
|
|
113
117
|
displayName: 'Landing',
|
|
114
118
|
description: 'The marketing front door, with its own navigation because it has no application chrome.',
|
|
119
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
115
120
|
};
|
|
116
121
|
|
|
117
122
|
/** The four status and marketing templates. */
|
|
@@ -6,6 +6,7 @@ import { SlotName } from '../layouts';
|
|
|
6
6
|
import { TemplateSlotName } from './TemplateSlotName';
|
|
7
7
|
import { button, card, externalComponent, text } from './elements';
|
|
8
8
|
import { field, formActions, pageHeader, table, widget } from './widgets';
|
|
9
|
+
import { defaultBlueprintTemplateProvenance } from '../templateProvenance';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* The five shapes an application needs that are not the CRUD loop: documentation, the signed-in user's own
|
|
@@ -40,6 +41,7 @@ export const documentationTemplate: ScreenTemplate = {
|
|
|
40
41
|
},
|
|
41
42
|
displayName: 'Documentation',
|
|
42
43
|
description: 'Prose with a table of contents beside it.',
|
|
44
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
43
45
|
};
|
|
44
46
|
|
|
45
47
|
/** Profile settings: the signed-in user editing their own account. */
|
|
@@ -67,6 +69,7 @@ export const profileSettingsTemplate: ScreenTemplate = {
|
|
|
67
69
|
},
|
|
68
70
|
displayName: 'Profile settings',
|
|
69
71
|
description: 'The signed-in user editing their own name, photo, password and notifications.',
|
|
72
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
70
73
|
};
|
|
71
74
|
|
|
72
75
|
/** User management: administering everybody else. */
|
|
@@ -99,6 +102,7 @@ export const userManagementTemplate: ScreenTemplate = {
|
|
|
99
102
|
},
|
|
100
103
|
displayName: 'User management',
|
|
101
104
|
description: 'The people table, with roles, status and an invitation action.',
|
|
105
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
102
106
|
};
|
|
103
107
|
|
|
104
108
|
/** Invoice: a printable document, which is a different shape from a screen. */
|
|
@@ -135,6 +139,7 @@ export const invoiceTemplate: ScreenTemplate = {
|
|
|
135
139
|
},
|
|
136
140
|
displayName: 'Invoice',
|
|
137
141
|
description: 'A printable document: parties, line items and totals.',
|
|
142
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
138
143
|
};
|
|
139
144
|
|
|
140
145
|
/** Help: the answers, and a way to ask when they are not there. */
|
|
@@ -158,6 +163,7 @@ export const helpTemplate: ScreenTemplate = {
|
|
|
158
163
|
},
|
|
159
164
|
displayName: 'Help',
|
|
160
165
|
description: 'Searchable answers with a route to a human.',
|
|
166
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
161
167
|
};
|
|
162
168
|
|
|
163
169
|
/** The five support templates. */
|
|
@@ -6,6 +6,7 @@ import { SlotName, column, grid, slotLeaf } from '../layouts';
|
|
|
6
6
|
import { TemplateSlotName } from './TemplateSlotName';
|
|
7
7
|
import { button, card, externalComponent, text } from './elements';
|
|
8
8
|
import { emptyState, field, formActions, pageHeader, statCard, table, widget } from './widgets';
|
|
9
|
+
import { defaultBlueprintTemplateProvenance, sakaiCompositionProvenance } from '../templateProvenance';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* The five workhorse shapes inside an application shell: a dashboard, a list, a detail, a form and the
|
|
@@ -88,6 +89,7 @@ export const dashboardTemplate: ScreenTemplate = {
|
|
|
88
89
|
},
|
|
89
90
|
displayName: 'Dashboard',
|
|
90
91
|
description: 'Four stat cards over two columns of widgets - the composition every template line opens with.',
|
|
92
|
+
metadata: { ...sakaiCompositionProvenance },
|
|
91
93
|
};
|
|
92
94
|
|
|
93
95
|
/** The list: a filter toolbar, a real table, and the row actions a list needs. */
|
|
@@ -125,6 +127,7 @@ export const crudListTemplate: ScreenTemplate = {
|
|
|
125
127
|
},
|
|
126
128
|
displayName: 'List',
|
|
127
129
|
description: 'A searchable table with a header, primary action and row data.',
|
|
130
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
128
131
|
};
|
|
129
132
|
|
|
130
133
|
/** The detail: a summary panel beside the record's own sections. */
|
|
@@ -155,6 +158,7 @@ export const detailViewTemplate: ScreenTemplate = {
|
|
|
155
158
|
},
|
|
156
159
|
displayName: 'Detail',
|
|
157
160
|
description: 'One record: a header with actions, its sections, and a summary panel.',
|
|
161
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
158
162
|
};
|
|
159
163
|
|
|
160
164
|
/** The form: fields, grouped, with the actions that close them. */
|
|
@@ -178,6 +182,7 @@ export const formPageTemplate: ScreenTemplate = {
|
|
|
178
182
|
},
|
|
179
183
|
displayName: 'Form',
|
|
180
184
|
description: 'A grouped form with the field types an application actually uses.',
|
|
185
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
181
186
|
};
|
|
182
187
|
|
|
183
188
|
/** The empty state: what a list looks like before anything exists, designed rather than apologized for. */
|
|
@@ -192,6 +197,7 @@ export const emptyTemplate: ScreenTemplate = {
|
|
|
192
197
|
},
|
|
193
198
|
displayName: 'Empty state',
|
|
194
199
|
description: 'The designed empty state for a list that has nothing in it yet.',
|
|
200
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
195
201
|
};
|
|
196
202
|
|
|
197
203
|
/** The five workspace templates. */
|
package/index.ts
CHANGED
package/layouts/appShell.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { FlowArrangement, HeightSizeClass, Layout, WidthSizeClass } from '@crati
|
|
|
5
5
|
import { LayoutName } from './LayoutName';
|
|
6
6
|
import { SlotName } from './SlotName';
|
|
7
7
|
import { column, row, slotLeaf } from './flowBuilders';
|
|
8
|
+
import { sakaiCompositionProvenance } from '../templateProvenance';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* The tree at a regular width and height: a topbar across the top, the sidebar column beside the main
|
|
@@ -103,4 +104,5 @@ export const appShellLayout: Layout = {
|
|
|
103
104
|
{ name: SlotName.ConfigPanel },
|
|
104
105
|
],
|
|
105
106
|
arrangement: appShellArrangement,
|
|
107
|
+
metadata: { ...sakaiCompositionProvenance },
|
|
106
108
|
};
|
package/layouts/fullPage.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { FlowArrangement, Layout, WidthSizeClass } from '@cratis/scene.model';
|
|
|
5
5
|
import { LayoutName } from './LayoutName';
|
|
6
6
|
import { SlotName } from './SlotName';
|
|
7
7
|
import { column, row, slotLeaf } from './flowBuilders';
|
|
8
|
+
import { defaultBlueprintTemplateProvenance } from '../templateProvenance';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* The tree at a regular width: the branding aside beside the content, with the configurator over both.
|
|
@@ -45,4 +46,5 @@ export const fullPageLayout: Layout = {
|
|
|
45
46
|
name: LayoutName.FullPage,
|
|
46
47
|
slots: [{ name: SlotName.Aside }, { name: SlotName.Content }, { name: SlotName.ConfigPanel }],
|
|
47
48
|
arrangement: fullPageArrangement,
|
|
49
|
+
metadata: { ...defaultBlueprintTemplateProvenance },
|
|
48
50
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cratis/scene.blueprint.default",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.13.0",
|
|
4
4
|
"description": "The default blueprint: application shell layouts, the screen and dialog templates that go inside them, the components that fill their slots, and two themes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cratis",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"build-storybook": "storybook build"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@cratis/scene.engine": "4.
|
|
58
|
-
"@cratis/scene.model": "4.
|
|
59
|
-
"@cratis/scene.react": "4.
|
|
57
|
+
"@cratis/scene.engine": "4.13.0",
|
|
58
|
+
"@cratis/scene.model": "4.13.0",
|
|
59
|
+
"@cratis/scene.react": "4.13.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@cratis/scene.engine": "4.
|
|
63
|
-
"@cratis/scene.model": "4.
|
|
64
|
-
"@cratis/scene.react": "4.
|
|
62
|
+
"@cratis/scene.engine": "4.13.0",
|
|
63
|
+
"@cratis/scene.model": "4.13.0",
|
|
64
|
+
"@cratis/scene.react": "4.13.0",
|
|
65
65
|
"@primereact/core": "11.2.0",
|
|
66
66
|
"@primereact/headless": "11.2.0",
|
|
67
67
|
"@primeuix/themes": "^3.0.1",
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { TemplateMetadata } from '@cratis/scene.model';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The compatibility, attribution and license metadata every template this blueprint ships carries.
|
|
8
|
+
*
|
|
9
|
+
* Templates are written against the Scene model that introduced template provenance, and against the
|
|
10
|
+
* PrimeReact and Cratis Components packages this blueprint depends on - the same dependencies its manifest
|
|
11
|
+
* declares, with the ranges the templates were verified against. `describeTemplateCatalog` checks every
|
|
12
|
+
* template against them, and this package's specs prove each one comes out compatible.
|
|
13
|
+
*/
|
|
14
|
+
export const defaultBlueprintTemplateProvenance: Pick<TemplateMetadata, 'compatibility' | 'attribution' | 'license' | 'licenseUrl'> = {
|
|
15
|
+
compatibility: {
|
|
16
|
+
scene: '^4.13.0',
|
|
17
|
+
packages: [
|
|
18
|
+
{ name: 'PrimeReact', versionRange: '^11.0.0' },
|
|
19
|
+
{ name: 'Cratis.Components', versionRange: '^3.0.0' },
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
attribution: { author: 'Cratis', url: 'https://github.com/Cratis/Scene/tree/main/Source/JavaScript/blueprint.default' },
|
|
23
|
+
license: 'MIT',
|
|
24
|
+
licenseUrl: 'https://github.com/Cratis/Scene/blob/main/LICENSE',
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* The provenance of the shell and the dashboard, whose arrangement follows PrimeTek's free Sakai template.
|
|
29
|
+
* The arrangement is followed; no Sakai source or asset is part of this package.
|
|
30
|
+
*/
|
|
31
|
+
export const sakaiCompositionProvenance: Pick<TemplateMetadata, 'compatibility' | 'attribution' | 'license' | 'licenseUrl'> = {
|
|
32
|
+
...defaultBlueprintTemplateProvenance,
|
|
33
|
+
attribution: {
|
|
34
|
+
...defaultBlueprintTemplateProvenance.attribution!,
|
|
35
|
+
notice: "Arrangement follows PrimeTek's Sakai React template (https://github.com/primefaces/sakai-react, MIT).",
|
|
36
|
+
},
|
|
37
|
+
};
|