11import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry' ;
22
33export 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+ } ,
1414 {
1515 "type" : "dashboard" ,
1616 "alias" : "example.ui.dashboard" ,
1717 "name" : "Example UI Dashboard" ,
18- "element" : ( ) => import ( "./scripts/dashboards/welcome-dashboard.ts" ) ,
18+ "element" : ( ) => import ( "./scripts/dashboards/welcome-dashboard.ts" ) ,
1919 "weight" : - 1 ,
2020 "meta" : {
2121 "label" : "Welcome Dashboard" ,
@@ -29,26 +29,15 @@ export const manifests: Array<ManifestTypes> = [
2929 ]
3030 } ,
3131 {
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" )
4736 } ,
4837 {
4938 "type" : "sectionView" ,
5039 "alias" : "example.ui.dashboard.section.boxlayout" ,
51- "element" : ( ) => import ( "./scripts/sections/box-layout-section.ts" ) ,
40+ "element" : ( ) => import ( "./scripts/sections/box-layout-section.ts" ) ,
5241 "name" : "Box Layout" ,
5342 "meta" : {
5443 "label" : "Box Layout" ,
@@ -62,69 +51,4 @@ export const manifests: Array<ManifestTypes> = [
6251 }
6352 ]
6453 }
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- }*/
13054]
0 commit comments