1
1
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry' ;
2
2
3
3
export const manifests : Array < ManifestTypes > = [
4
- {
5
- "type" : "section" ,
6
- "name" : "Example UI Dashboard" ,
7
- "alias" : "example.ui.section" ,
8
- "weight" : 900 ,
9
- "meta" : {
10
- "label" : "Example UI" ,
11
- "pathname" : "example-ui"
12
- }
13
- } ,
4
+ {
5
+ "type" : "section" ,
6
+ "name" : "Example UI Dashboard" ,
7
+ "alias" : "example.ui.section" ,
8
+ "weight" : 900 ,
9
+ "meta" : {
10
+ "label" : "Example UI" ,
11
+ "pathname" : "example-ui"
12
+ }
13
+ } ,
14
14
{
15
15
"type" : "dashboard" ,
16
16
"alias" : "example.ui.dashboard" ,
17
17
"name" : "Example UI Dashboard" ,
18
- "element" : ( ) => import ( "./scripts/dashboards/welcome-dashboard.ts" ) ,
18
+ "element" : ( ) => import ( "./scripts/dashboards/welcome-dashboard.ts" ) ,
19
19
"weight" : - 1 ,
20
20
"meta" : {
21
21
"label" : "Welcome Dashboard" ,
@@ -29,26 +29,15 @@ export const manifests: Array<ManifestTypes> = [
29
29
]
30
30
} ,
31
31
{
32
- "type" : "dashboard" ,
33
- "alias" : "example.ui.dashboard.dialogs" ,
34
- "name" : "Dialogs" ,
35
- "element" : ( ) => import ( "./scripts/dashboards/custom-dialogs-dashboard.ts" ) ,
36
- "weight" : - 1 ,
37
- "meta" : {
38
- "label" : "Dialogs" ,
39
- "pathname" : "dialogs"
40
- } ,
41
- "conditions" : [
42
- {
43
- "alias" : "Umb.Condition.SectionAlias" ,
44
- "match" : "example.ui.section"
45
- }
46
- ]
32
+ "type" : "bundle" ,
33
+ "alias" : "example.ui.modals" ,
34
+ "name" : "Example.UI - Modals" ,
35
+ "js" : ( ) => import ( "./scripts/modals/manifest.ts" )
47
36
} ,
48
37
{
49
38
"type" : "sectionView" ,
50
39
"alias" : "example.ui.dashboard.section.boxlayout" ,
51
- "element" : ( ) => import ( "./scripts/sections/box-layout-section.ts" ) ,
40
+ "element" : ( ) => import ( "./scripts/sections/box-layout-section.ts" ) ,
52
41
"name" : "Box Layout" ,
53
42
"meta" : {
54
43
"label" : "Box Layout" ,
@@ -62,69 +51,4 @@ export const manifests: Array<ManifestTypes> = [
62
51
}
63
52
]
64
53
}
65
- // ... insert as many manifests as you like
66
-
67
- /*"extensions": [
68
- {
69
- "type": "section",
70
- "alias": "example.ui.section",
71
- "name": "Example UI Dashboard",
72
- "weight": -1,
73
- "meta": {
74
- "label": "Example UI",
75
- "pathname": "my-dashboard"
76
- }
77
- },
78
- {
79
- "type": "dashboard",
80
- "alias": "example.ui.dashboard",
81
- "name": "Example UI Dashboard",
82
- "js": "/App_Plugins/Example.UI/scripts/dashboards/welcome-dashboard.js",
83
- "weight": -1,
84
- "meta": {
85
- "label": "Welcome Dashboard",
86
- "pathname": "welcome-dashboard"
87
- },
88
- "conditions": [
89
- {
90
- "alias": "Umb.Condition.SectionAlias",
91
- "match": "example.ui.section"
92
- }
93
- ]
94
- },
95
- {
96
- "type": "dashboard",
97
- "alias": "example.ui.dashboard.dialogs",
98
- "name": "Dialogs",
99
- "js": "/App_Plugins/Example.UI/scripts/dashboards/custom-dialogs-dashboard.js",
100
- "weight": -1,
101
- "meta": {
102
- "label": "Dialogs",
103
- "pathname": "dialogs"
104
- },
105
- "conditions": [
106
- {
107
- "alias": "Umb.Condition.SectionAlias",
108
- "match": "example.ui.section"
109
- }
110
- ]
111
- },
112
- {
113
- "type": "sectionView",
114
- "alias": "example.ui.dashboard.section.boxlayout",
115
- "js": "/App_Plugins/Example.UI/scripts/sections/box-layout-section.js",
116
- "name": "Box Layout",
117
- "meta": {
118
- "sections": [ "example.ui.section" ],
119
- "label": "Box Layout",
120
- "icon": "folder",
121
- "pathname": "box-layout"
122
- },
123
- "conditions": [
124
- {
125
- "alias": "Umb.Condition.SectionAlias",
126
- "match": "example.ui.section"
127
- }
128
- ]
129
- }*/
130
54
]
0 commit comments