@umbraco-cms/backoffice 1.0.0-next.1855dcb1 → 1.0.0-next.186405ee
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/backend-api.d.ts +509 -90
- package/collection.d.ts +38 -0
- package/content-type.d.ts +127 -0
- package/context-api.d.ts +45 -3
- package/custom-elements.json +5082 -4536
- package/entity-action.d.ts +1 -1
- package/extensions-api.d.ts +11 -11
- package/extensions-registry.d.ts +126 -84
- package/id.d.ts +6 -0
- package/modal.d.ts +71 -67
- package/models.d.ts +3 -70
- package/observable-api.d.ts +13 -1
- package/package.json +2 -2
- package/picker-input.d.ts +3 -2
- package/repository.d.ts +60 -37
- package/resources.d.ts +4 -10
- package/router.d.ts +1 -13
- package/section.d.ts +29 -0
- package/sorter.d.ts +103 -0
- package/store.d.ts +1 -1
- package/tree.d.ts +136 -0
- package/umbraco-package-schema.json +37072 -1756
- package/utils.d.ts +27 -9
- package/variant.d.ts +21 -0
- package/vscode-html-custom-data.json +2193 -2023
- package/workspace.d.ts +62 -17
- package/property-editor.d.ts +0 -8
package/entity-action.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ declare class UmbDeleteEntityAction<T extends UmbDetailRepository & UmbItemRepos
|
|
|
45
45
|
execute(): Promise<void>;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
declare class UmbDeleteFolderEntityAction<T extends
|
|
48
|
+
declare class UmbDeleteFolderEntityAction<T extends UmbFolderRepository> extends UmbEntityActionBase$1<T> {
|
|
49
49
|
#private;
|
|
50
50
|
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
51
51
|
execute(): Promise<void>;
|
package/extensions-api.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { ManifestTypes, ManifestKind, ManifestTypeMap, ManifestBase, SpecificManifestTypeOrManifestBase, ManifestElement, ManifestElementWithElementName, ManifestClass } from '@umbraco-cms/backoffice/extensions-registry';
|
|
2
|
+
import { ManifestTypes, ManifestKind, ManifestTypeMap, ManifestBase, SpecificManifestTypeOrManifestBase, ManifestElement, ManifestElementWithElementName, ManifestWithLoader, ManifestClass } from '@umbraco-cms/backoffice/extensions-registry';
|
|
3
3
|
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
4
|
-
import { PageComponent } from '@umbraco-cms/backoffice/router';
|
|
5
4
|
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
6
5
|
|
|
7
6
|
declare class UmbExtensionRegistry {
|
|
@@ -11,6 +10,7 @@ declare class UmbExtensionRegistry {
|
|
|
11
10
|
readonly kinds: Observable<ManifestKind[]>;
|
|
12
11
|
defineKind(kind: ManifestKind): void;
|
|
13
12
|
register(manifest: ManifestTypes | ManifestKind): void;
|
|
13
|
+
registerMany(manifests: Array<ManifestTypes | ManifestKind>): void;
|
|
14
14
|
unregister(alias: string): void;
|
|
15
15
|
isRegistered(alias: string): boolean;
|
|
16
16
|
private _kindsOfType;
|
|
@@ -23,7 +23,7 @@ declare class UmbExtensionRegistry {
|
|
|
23
23
|
}
|
|
24
24
|
declare const UMB_EXTENSION_REGISTRY_TOKEN: UmbContextToken<UmbExtensionRegistry>;
|
|
25
25
|
|
|
26
|
-
declare function createExtensionElement(manifest: ManifestElement): Promise<
|
|
26
|
+
declare function createExtensionElement<ElementType extends HTMLElement>(manifest: ManifestElement<ElementType>): Promise<ElementType | undefined>;
|
|
27
27
|
|
|
28
28
|
declare function hasDefaultExport<ConstructorType>(object: unknown): object is {
|
|
29
29
|
default: ConstructorType;
|
|
@@ -44,19 +44,19 @@ declare function hasInitExport(obj: unknown): obj is Pick<UmbEntrypointModule, '
|
|
|
44
44
|
|
|
45
45
|
declare function isManifestElementNameType(manifest: unknown): manifest is ManifestElementWithElementName;
|
|
46
46
|
|
|
47
|
-
declare function isManifestElementableType(manifest: ManifestBase): manifest is ManifestElement;
|
|
47
|
+
declare function isManifestElementableType<ElementType extends HTMLElement = HTMLElement>(manifest: ManifestBase): manifest is ManifestElement;
|
|
48
48
|
|
|
49
|
-
type
|
|
50
|
-
loader: () => Promise<object | HTMLElement>;
|
|
51
|
-
};
|
|
52
|
-
type ManifestJSType = ManifestElement & {
|
|
49
|
+
type ManifestJSType<T> = ManifestWithLoader<T> & {
|
|
53
50
|
js: string;
|
|
54
51
|
};
|
|
55
|
-
declare function
|
|
52
|
+
declare function isManifestJSType<T>(manifest: ManifestBase | unknown): manifest is ManifestJSType<T>;
|
|
56
53
|
|
|
57
|
-
|
|
54
|
+
type ManifestLoaderType<T> = ManifestWithLoader<T> & {
|
|
55
|
+
loader: () => Promise<T>;
|
|
56
|
+
};
|
|
57
|
+
declare function isManifestLoaderType<T>(manifest: ManifestBase): manifest is ManifestLoaderType<T>;
|
|
58
58
|
|
|
59
|
-
declare function
|
|
59
|
+
declare function loadExtension<T = unknown>(manifest: ManifestWithLoader<T>): Promise<T | null>;
|
|
60
60
|
|
|
61
61
|
declare function createExtensionElementOrFallback(manifest: any, fallbackElementName: string): Promise<HTMLElement | undefined>;
|
|
62
62
|
|
package/extensions-registry.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { DataTypePropertyPresentationModel, TreeItemPresentationModel } from '@umbraco-cms/backoffice/backend-api';
|
|
2
|
+
import { UmbStoreBase, UmbTreeStore, UmbItemStore } from '@umbraco-cms/backoffice/store';
|
|
1
3
|
import { InterfaceLook, InterfaceColor } from '@umbraco-ui/uui-base/lib/types/index';
|
|
2
4
|
import { ClassConstructor } from '@umbraco-cms/backoffice/models';
|
|
3
|
-
import {
|
|
5
|
+
import { UmbWorkspaceAction } from '@umbraco-cms/backoffice/workspace';
|
|
6
|
+
import { UmbModalHandler } from '@umbraco-cms/backoffice/modal';
|
|
4
7
|
import { UmbExtensionRegistry } from '@umbraco-cms/backoffice/extensions-api';
|
|
5
8
|
import { UmbControllerHostElement } from '@umbraco-cms/backoffice/controller';
|
|
6
9
|
|
|
@@ -31,7 +34,7 @@ interface ConditionsCollectionView {
|
|
|
31
34
|
entityType: string;
|
|
32
35
|
}
|
|
33
36
|
|
|
34
|
-
interface ManifestDashboard extends ManifestElement
|
|
37
|
+
interface ManifestDashboard extends ManifestElement<UmbDashboardExtensionElement>, ManifestWithConditions<ConditionsDashboard> {
|
|
35
38
|
type: 'dashboard';
|
|
36
39
|
meta: MetaDashboard;
|
|
37
40
|
}
|
|
@@ -123,7 +126,7 @@ interface MetaEntityAction {
|
|
|
123
126
|
repositoryAlias: string;
|
|
124
127
|
}
|
|
125
128
|
interface ConditionsEntityAction {
|
|
126
|
-
|
|
129
|
+
entityTypes: Array<string>;
|
|
127
130
|
}
|
|
128
131
|
|
|
129
132
|
/**
|
|
@@ -157,7 +160,11 @@ interface ConditionsEntityBulkAction {
|
|
|
157
160
|
entityType: string;
|
|
158
161
|
}
|
|
159
162
|
|
|
160
|
-
interface
|
|
163
|
+
interface UmbExternalLoginProviderExtensionElement extends HTMLElement {
|
|
164
|
+
manifest?: ManifestExternalLoginProvider;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
interface ManifestExternalLoginProvider extends ManifestElement<UmbExternalLoginProviderExtensionElement> {
|
|
161
168
|
type: 'externalLoginProvider';
|
|
162
169
|
meta: MetaExternalLoginProvider;
|
|
163
170
|
}
|
|
@@ -203,6 +210,43 @@ interface HealthCheck {
|
|
|
203
210
|
description: string;
|
|
204
211
|
}
|
|
205
212
|
|
|
213
|
+
interface ManifestMenu extends ManifestElement {
|
|
214
|
+
type: 'menu';
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
interface UmbMenuItemExtensionElement extends HTMLElement {
|
|
218
|
+
manifest?: ManifestMenuItem;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
interface ManifestMenuItem extends ManifestElement<UmbMenuItemExtensionElement> {
|
|
222
|
+
type: 'menuItem';
|
|
223
|
+
meta: MetaMenuItem;
|
|
224
|
+
conditions: ConditionsMenuItem;
|
|
225
|
+
}
|
|
226
|
+
interface MetaMenuItem {
|
|
227
|
+
label: string;
|
|
228
|
+
icon: string;
|
|
229
|
+
entityType?: string;
|
|
230
|
+
}
|
|
231
|
+
interface ConditionsMenuItem {
|
|
232
|
+
menus: Array<string>;
|
|
233
|
+
}
|
|
234
|
+
interface ManifestMenuItemTreeKind extends ManifestMenuItem {
|
|
235
|
+
type: 'menuItem';
|
|
236
|
+
kind: 'tree';
|
|
237
|
+
meta: MetaMenuItemTreeKind;
|
|
238
|
+
}
|
|
239
|
+
interface MetaMenuItemTreeKind {
|
|
240
|
+
treeAlias: string;
|
|
241
|
+
label: string;
|
|
242
|
+
icon: string;
|
|
243
|
+
entityType?: string;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
interface ManifestModal extends ManifestElement {
|
|
247
|
+
type: 'modal';
|
|
248
|
+
}
|
|
249
|
+
|
|
206
250
|
interface ManifestPackageView extends ManifestElement {
|
|
207
251
|
type: 'packageView';
|
|
208
252
|
meta: MetaPackageView;
|
|
@@ -218,7 +262,7 @@ interface ConditionsPropertyAction {
|
|
|
218
262
|
propertyEditors: string[];
|
|
219
263
|
}
|
|
220
264
|
|
|
221
|
-
interface ManifestPropertyEditorUI extends ManifestElement {
|
|
265
|
+
interface ManifestPropertyEditorUI extends ManifestElement<UmbPropertyEditorExtensionElement> {
|
|
222
266
|
type: 'propertyEditorUI';
|
|
223
267
|
meta: MetaPropertyEditorUI;
|
|
224
268
|
}
|
|
@@ -252,7 +296,11 @@ interface PropertyEditorConfigDefaultData {
|
|
|
252
296
|
value: any;
|
|
253
297
|
}
|
|
254
298
|
|
|
255
|
-
interface
|
|
299
|
+
interface ManifestRepository extends ManifestClass<unknown> {
|
|
300
|
+
type: 'repository';
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
interface ManifestSection extends ManifestElement<UmbSectionExtensionElement> {
|
|
256
304
|
type: 'section';
|
|
257
305
|
meta: MetaSection;
|
|
258
306
|
}
|
|
@@ -261,20 +309,11 @@ interface MetaSection {
|
|
|
261
309
|
pathname: string;
|
|
262
310
|
}
|
|
263
311
|
|
|
264
|
-
interface
|
|
265
|
-
|
|
266
|
-
meta: MetaSectionView;
|
|
267
|
-
}
|
|
268
|
-
interface MetaSectionView {
|
|
269
|
-
label: string;
|
|
270
|
-
pathname: string;
|
|
271
|
-
icon: string;
|
|
272
|
-
}
|
|
273
|
-
interface ConditionsSectionView {
|
|
274
|
-
sections: Array<string>;
|
|
312
|
+
interface UmbSectionSidebarAppExtensionElement extends HTMLElement {
|
|
313
|
+
manifest?: ManifestSectionSidebarApp;
|
|
275
314
|
}
|
|
276
315
|
|
|
277
|
-
interface ManifestSectionSidebarApp extends ManifestElement {
|
|
316
|
+
interface ManifestSectionSidebarApp extends ManifestElement<UmbSectionSidebarAppExtensionElement> {
|
|
278
317
|
type: 'sectionSidebarApp';
|
|
279
318
|
conditions: ConditionsSectionSidebarApp;
|
|
280
319
|
}
|
|
@@ -291,33 +330,31 @@ interface MetaSectionSidebarAppMenuKind {
|
|
|
291
330
|
menu: string;
|
|
292
331
|
}
|
|
293
332
|
|
|
294
|
-
interface
|
|
295
|
-
|
|
333
|
+
interface UmbSectionViewExtensionElement extends HTMLElement {
|
|
334
|
+
manifest?: ManifestSectionView;
|
|
296
335
|
}
|
|
297
336
|
|
|
298
|
-
interface
|
|
299
|
-
type: '
|
|
300
|
-
meta:
|
|
301
|
-
conditions: ConditionsMenuItem;
|
|
337
|
+
interface ManifestSectionView extends ManifestElement<UmbSectionViewExtensionElement>, ManifestWithConditions<ConditionsSectionView> {
|
|
338
|
+
type: 'sectionView';
|
|
339
|
+
meta: MetaSectionView;
|
|
302
340
|
}
|
|
303
|
-
interface
|
|
341
|
+
interface MetaSectionView {
|
|
304
342
|
label: string;
|
|
343
|
+
pathname: string;
|
|
305
344
|
icon: string;
|
|
306
|
-
entityType?: string;
|
|
307
345
|
}
|
|
308
|
-
interface
|
|
309
|
-
|
|
346
|
+
interface ConditionsSectionView {
|
|
347
|
+
sections: Array<string>;
|
|
310
348
|
}
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
meta: MetaMenuItemTreeKind;
|
|
349
|
+
|
|
350
|
+
interface ManifestStore extends ManifestClass<UmbStoreBase> {
|
|
351
|
+
type: 'store';
|
|
315
352
|
}
|
|
316
|
-
interface
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
353
|
+
interface ManifestTreeStore extends ManifestClass<UmbTreeStore> {
|
|
354
|
+
type: 'treeStore';
|
|
355
|
+
}
|
|
356
|
+
interface ManifestItemStore extends ManifestClass<UmbItemStore> {
|
|
357
|
+
type: 'itemStore';
|
|
321
358
|
}
|
|
322
359
|
|
|
323
360
|
/**
|
|
@@ -341,12 +378,12 @@ interface MetaTree {
|
|
|
341
378
|
repositoryAlias: string;
|
|
342
379
|
}
|
|
343
380
|
|
|
344
|
-
interface ManifestTreeItem extends ManifestElement {
|
|
381
|
+
interface ManifestTreeItem extends ManifestElement<UmbTreeItemExtensionElement> {
|
|
345
382
|
type: 'treeItem';
|
|
346
383
|
conditions: ConditionsTreeItem;
|
|
347
384
|
}
|
|
348
385
|
interface ConditionsTreeItem {
|
|
349
|
-
|
|
386
|
+
entityTypes: Array<string>;
|
|
350
387
|
}
|
|
351
388
|
|
|
352
389
|
interface ManifestUserProfileApp extends ManifestElement {
|
|
@@ -375,61 +412,37 @@ interface MetaWorkspaceAction {
|
|
|
375
412
|
label?: string;
|
|
376
413
|
look?: InterfaceLook;
|
|
377
414
|
color?: InterfaceColor;
|
|
378
|
-
api: ClassConstructor<
|
|
415
|
+
api: ClassConstructor<UmbWorkspaceAction>;
|
|
379
416
|
}
|
|
380
417
|
interface ConditionsWorkspaceAction {
|
|
381
418
|
workspaces: Array<string>;
|
|
382
419
|
}
|
|
383
420
|
|
|
384
|
-
interface
|
|
385
|
-
|
|
386
|
-
meta: MetaWorkspaceView;
|
|
387
|
-
conditions: ConditionsWorkspaceView;
|
|
421
|
+
interface UmbWorkspaceEditorViewExtensionElement extends HTMLElement {
|
|
422
|
+
manifest?: ManifestWorkspaceEditorView;
|
|
388
423
|
}
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
424
|
+
|
|
425
|
+
interface ManifestWorkspaceEditorView extends ManifestWithView<UmbWorkspaceEditorViewExtensionElement> {
|
|
426
|
+
type: 'workspaceEditorView';
|
|
427
|
+
conditions: ConditionsWorkspaceView;
|
|
393
428
|
}
|
|
394
429
|
interface ConditionsWorkspaceView {
|
|
395
430
|
workspaces: string[];
|
|
396
431
|
}
|
|
397
432
|
|
|
398
|
-
interface ManifestWorkspaceViewCollection extends
|
|
433
|
+
interface ManifestWorkspaceViewCollection extends ManifestWithView, ManifestWithConditions<ConditionsEditorViewCollection> {
|
|
399
434
|
type: 'workspaceViewCollection';
|
|
400
435
|
meta: MetaEditorViewCollection;
|
|
401
436
|
}
|
|
402
|
-
interface MetaEditorViewCollection {
|
|
403
|
-
pathname: string;
|
|
404
|
-
label: string;
|
|
405
|
-
icon: string;
|
|
437
|
+
interface MetaEditorViewCollection extends MetaManifestWithView {
|
|
406
438
|
entityType: string;
|
|
407
|
-
|
|
408
|
-
repositoryAlias?: string;
|
|
439
|
+
repositoryAlias: string;
|
|
409
440
|
}
|
|
410
441
|
interface ConditionsEditorViewCollection {
|
|
411
442
|
workspaces: string[];
|
|
412
443
|
}
|
|
413
444
|
|
|
414
|
-
|
|
415
|
-
type: 'repository';
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
interface ManifestModal extends ManifestElement {
|
|
419
|
-
type: 'modal';
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
interface ManifestStore extends ManifestClass<UmbStoreBase> {
|
|
423
|
-
type: 'store';
|
|
424
|
-
}
|
|
425
|
-
interface ManifestTreeStore extends ManifestClass<UmbTreeStore> {
|
|
426
|
-
type: 'treeStore';
|
|
427
|
-
}
|
|
428
|
-
interface ManifestItemStore extends ManifestClass<UmbItemStore> {
|
|
429
|
-
type: 'itemStore';
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
type ManifestTypes = ManifestCollectionView | ManifestDashboard | ManifestDashboardCollection | ManifestEntityAction | ManifestEntityBulkAction | ManifestEntrypoint | ManifestExternalLoginProvider | ManifestHeaderApp | ManifestHeaderAppButtonKind | ManifestHealthCheck | ManifestPackageView | ManifestPropertyAction | ManifestPropertyEditorModel | ManifestPropertyEditorUI | ManifestRepository | ManifestSection | ManifestSectionSidebarApp | ManifestSectionSidebarAppMenuKind | ManifestSectionView | ManifestMenu | ManifestMenuItem | ManifestMenuItemTreeKind | ManifestTheme | ManifestTree | ManifestTreeItem | ManifestUserProfileApp | ManifestWorkspace | ManifestWorkspaceAction | ManifestWorkspaceView | ManifestWorkspaceViewCollection | ManifestModal | ManifestStore | ManifestTreeStore | ManifestItemStore | ManifestBase;
|
|
445
|
+
type ManifestTypes = ManifestCollectionView | ManifestDashboard | ManifestDashboardCollection | ManifestEntityAction | ManifestEntityBulkAction | ManifestEntrypoint | ManifestExternalLoginProvider | ManifestHeaderApp | ManifestHeaderAppButtonKind | ManifestHealthCheck | ManifestItemStore | ManifestMenu | ManifestMenuItem | ManifestMenuItemTreeKind | ManifestModal | ManifestPackageView | ManifestPropertyAction | ManifestPropertyEditorModel | ManifestPropertyEditorUI | ManifestRepository | ManifestSection | ManifestSectionSidebarApp | ManifestSectionSidebarAppMenuKind | ManifestSectionView | ManifestStore | ManifestTheme | ManifestTree | ManifestTreeItem | ManifestTreeStore | ManifestUserProfileApp | ManifestWorkspace | ManifestWorkspaceAction | ManifestWorkspaceEditorView | ManifestWorkspaceViewCollection | ManifestBase;
|
|
433
446
|
type ManifestStandardTypes = ManifestTypes['type'];
|
|
434
447
|
type ManifestTypeMap = {
|
|
435
448
|
[Manifest in ManifestTypes as Manifest['type']]: Manifest;
|
|
@@ -481,7 +494,10 @@ interface ManifestWithLoader<LoaderReturnType> extends ManifestBase {
|
|
|
481
494
|
/**
|
|
482
495
|
* The type of extension such as dashboard etc...
|
|
483
496
|
*/
|
|
484
|
-
interface ManifestClass<
|
|
497
|
+
interface ManifestClass<ClassType = unknown> extends ManifestWithLoader<{
|
|
498
|
+
default: ClassConstructor<ClassType>;
|
|
499
|
+
}> {
|
|
500
|
+
readonly CLASS_TYPE?: ClassType;
|
|
485
501
|
/**
|
|
486
502
|
* The file location of the javascript file to load
|
|
487
503
|
* @TJS-required
|
|
@@ -494,12 +510,15 @@ interface ManifestClass<T = unknown> extends ManifestWithLoader<object> {
|
|
|
494
510
|
/**
|
|
495
511
|
* @TJS-ignore
|
|
496
512
|
*/
|
|
497
|
-
class?: ClassConstructor<
|
|
513
|
+
class?: ClassConstructor<ClassType>;
|
|
498
514
|
}
|
|
499
|
-
interface ManifestClassWithClassConstructor extends ManifestClass {
|
|
500
|
-
class: ClassConstructor<
|
|
515
|
+
interface ManifestClassWithClassConstructor<T = unknown> extends ManifestClass<T> {
|
|
516
|
+
class: ClassConstructor<T>;
|
|
501
517
|
}
|
|
502
|
-
interface ManifestElement extends
|
|
518
|
+
interface ManifestElement<ElementType extends HTMLElement = HTMLElement> extends ManifestWithLoader<{
|
|
519
|
+
default: ClassConstructor<ElementType>;
|
|
520
|
+
} | Omit<object, 'default'>> {
|
|
521
|
+
readonly ELEMENT_TYPE?: ElementType;
|
|
503
522
|
/**
|
|
504
523
|
* The file location of the javascript file to load
|
|
505
524
|
*
|
|
@@ -516,7 +535,7 @@ interface ManifestElement extends ManifestWithLoader<object | HTMLElement> {
|
|
|
516
535
|
*/
|
|
517
536
|
meta?: unknown;
|
|
518
537
|
}
|
|
519
|
-
interface ManifestWithView extends ManifestElement {
|
|
538
|
+
interface ManifestWithView<ElementType extends HTMLElement = HTMLElement> extends ManifestElement<ElementType> {
|
|
520
539
|
meta: MetaManifestWithView;
|
|
521
540
|
}
|
|
522
541
|
interface MetaManifestWithView {
|
|
@@ -542,17 +561,40 @@ interface ManifestWithMeta extends ManifestBase {
|
|
|
542
561
|
* You could have custom logic to decide which extensions to load/register by using extensionRegistry
|
|
543
562
|
*/
|
|
544
563
|
interface ManifestEntrypoint extends ManifestBase {
|
|
545
|
-
type: '
|
|
564
|
+
type: 'entryPoint';
|
|
546
565
|
/**
|
|
547
566
|
* The file location of the javascript file to load in the backoffice
|
|
548
567
|
*/
|
|
549
568
|
js: string;
|
|
550
569
|
}
|
|
551
570
|
|
|
571
|
+
interface UmbDashboardExtensionElement extends HTMLElement {
|
|
572
|
+
manifest?: ManifestDashboard;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
interface UmbModalExtensionElement<UmbModalData extends object = object, UmbModalResult = unknown, ModalManifestType extends ManifestModal = ManifestModal> extends HTMLElement {
|
|
576
|
+
manifest?: ModalManifestType;
|
|
577
|
+
modalHandler?: UmbModalHandler<UmbModalData, UmbModalResult>;
|
|
578
|
+
data?: UmbModalData;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
interface UmbPropertyEditorExtensionElement extends HTMLElement {
|
|
582
|
+
value: unknown;
|
|
583
|
+
config: DataTypePropertyPresentationModel[];
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
interface UmbSectionExtensionElement extends HTMLElement {
|
|
587
|
+
manifest?: ManifestSection;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
interface UmbTreeItemExtensionElement extends HTMLElement {
|
|
591
|
+
item?: TreeItemPresentationModel;
|
|
592
|
+
}
|
|
593
|
+
|
|
552
594
|
declare class UmbEntryPointExtensionInitializer {
|
|
553
595
|
#private;
|
|
554
|
-
constructor(
|
|
555
|
-
instantiateEntryPoint(manifest: ManifestEntrypoint): void
|
|
596
|
+
constructor(host: UmbControllerHostElement, extensionRegistry: UmbExtensionRegistry);
|
|
597
|
+
instantiateEntryPoint(manifest: ManifestEntrypoint): Promise<void>;
|
|
556
598
|
}
|
|
557
599
|
|
|
558
|
-
export { ConditionsCollectionView, ConditionsDashboard, ConditionsDashboardCollection, ConditionsEditorViewCollection, ConditionsEntityAction, ConditionsEntityBulkAction, ConditionsMenuItem, ConditionsPropertyAction, ConditionsSectionSidebarApp, ConditionsSectionView, ConditionsTreeItem, ConditionsWorkspaceAction, ConditionsWorkspaceView, HealthCheck, ManifestBase, ManifestClass, ManifestClassWithClassConstructor, ManifestCollectionView, ManifestDashboard, ManifestDashboardCollection, ManifestElement, ManifestElementWithElementName, ManifestEntityAction, ManifestEntityBulkAction, ManifestEntrypoint, ManifestExternalLoginProvider, ManifestHeaderApp, ManifestHeaderAppButtonKind, ManifestHealthCheck, ManifestItemStore, ManifestKind, ManifestMenu, ManifestMenuItem, ManifestMenuItemTreeKind, ManifestModal, ManifestPackageView, ManifestPropertyAction, ManifestPropertyEditorModel, ManifestPropertyEditorUI, ManifestRepository, ManifestSection, ManifestSectionSidebarApp, ManifestSectionSidebarAppMenuKind, ManifestSectionView, ManifestStandardTypes, ManifestStore, ManifestTheme, ManifestTree, ManifestTreeItem, ManifestTreeStore, ManifestTypeMap, ManifestTypes, ManifestUserProfileApp, ManifestWithConditions, ManifestWithLoader, ManifestWithMeta, ManifestWithView, ManifestWorkspace, ManifestWorkspaceAction,
|
|
600
|
+
export { ConditionsCollectionView, ConditionsDashboard, ConditionsDashboardCollection, ConditionsEditorViewCollection, ConditionsEntityAction, ConditionsEntityBulkAction, ConditionsMenuItem, ConditionsPropertyAction, ConditionsSectionSidebarApp, ConditionsSectionView, ConditionsTreeItem, ConditionsWorkspaceAction, ConditionsWorkspaceView, HealthCheck, ManifestBase, ManifestClass, ManifestClassWithClassConstructor, ManifestCollectionView, ManifestDashboard, ManifestDashboardCollection, ManifestElement, ManifestElementWithElementName, ManifestEntityAction, ManifestEntityBulkAction, ManifestEntrypoint, ManifestExternalLoginProvider, ManifestHeaderApp, ManifestHeaderAppButtonKind, ManifestHealthCheck, ManifestItemStore, ManifestKind, ManifestMenu, ManifestMenuItem, ManifestMenuItemTreeKind, ManifestModal, ManifestPackageView, ManifestPropertyAction, ManifestPropertyEditorModel, ManifestPropertyEditorUI, ManifestRepository, ManifestSection, ManifestSectionSidebarApp, ManifestSectionSidebarAppMenuKind, ManifestSectionView, ManifestStandardTypes, ManifestStore, ManifestTheme, ManifestTree, ManifestTreeItem, ManifestTreeStore, ManifestTypeMap, ManifestTypes, ManifestUserProfileApp, ManifestWithConditions, ManifestWithLoader, ManifestWithMeta, ManifestWithView, ManifestWorkspace, ManifestWorkspaceAction, ManifestWorkspaceEditorView, ManifestWorkspaceViewCollection, MetaCollectionView, MetaDashboard, MetaDashboardCollection, MetaEditor, MetaEditorViewCollection, MetaEntityAction, MetaEntityBulkAction, MetaExternalLoginProvider, MetaHeaderApp, MetaHeaderAppButtonKind, MetaHealthCheck, MetaManifestWithView, MetaMenuItem, MetaMenuItemTreeKind, MetaPackageView, MetaPropertyEditorModel, MetaPropertyEditorUI, MetaSection, MetaSectionSidebarAppMenuKind, MetaSectionView, MetaTree, MetaUserProfileApp, MetaWorkspaceAction, PropertyEditorConfig, PropertyEditorConfigDefaultData, PropertyEditorConfigProperty, SpecificManifestTypeOrManifestBase, UmbDashboardExtensionElement, UmbEntryPointExtensionInitializer, UmbExternalLoginProviderExtensionElement, UmbMenuItemExtensionElement, UmbModalExtensionElement, UmbPropertyEditorExtensionElement, UmbSectionExtensionElement, UmbSectionSidebarAppExtensionElement, UmbSectionViewExtensionElement, UmbTreeItemExtensionElement, UmbWorkspaceEditorViewExtensionElement };
|