@umbraco-cms/backoffice 1.0.0-next.c1172939 → 1.0.0-next.de0ffca0
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/context-api.d.ts +16 -6
- package/controller.d.ts +5 -5
- package/custom-elements.json +497 -34
- package/element.d.ts +2 -2
- package/entity-action.d.ts +11 -11
- package/extensions-api.d.ts +2 -2
- package/extensions-registry.d.ts +8 -8
- package/modal.d.ts +585 -12
- package/models.d.ts +6 -1
- package/observable-api.d.ts +19 -4
- package/package.json +1 -1
- package/resources.d.ts +3 -3
- package/router.d.ts +130 -0
- package/store.d.ts +3 -3
- package/vscode-html-custom-data.json +196 -32
- package/workspace.d.ts +16 -9
package/element.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { HTMLElementConstructor } from './models';
|
|
3
|
-
import {
|
|
3
|
+
import { UmbControllerHostElement } from './controller';
|
|
4
4
|
import { UmbContextToken, UmbContextProviderController, UmbContextCallback, UmbContextConsumerController } from './context-api';
|
|
5
5
|
import { UmbObserverController } from './observable-api';
|
|
6
6
|
|
|
7
7
|
interface ResolvedContexts {
|
|
8
8
|
[key: string]: any;
|
|
9
9
|
}
|
|
10
|
-
declare class UmbElementMixinInterface extends
|
|
10
|
+
declare class UmbElementMixinInterface extends UmbControllerHostElement {
|
|
11
11
|
observe<T>(source: Observable<T>, callback: (_value: T) => void, unique?: string): UmbObserverController<T>;
|
|
12
12
|
provideContext<R = unknown>(alias: string | UmbContextToken<R>, instance: R): UmbContextProviderController<R>;
|
|
13
13
|
consumeContext<R = unknown>(alias: string | UmbContextToken<R>, callback: UmbContextCallback<R>): UmbContextConsumerController<R>;
|
package/entity-action.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UmbControllerHostElement } from './controller';
|
|
2
2
|
import { UmbEntityActionBase as UmbEntityActionBase$1 } from './entity-action';
|
|
3
3
|
|
|
4
4
|
interface UmbAction<RepositoryType = unknown> {
|
|
5
|
-
host:
|
|
5
|
+
host: UmbControllerHostElement;
|
|
6
6
|
repository: RepositoryType;
|
|
7
7
|
execute(): Promise<void>;
|
|
8
8
|
}
|
|
9
9
|
declare class UmbActionBase<RepositoryType> {
|
|
10
|
-
host:
|
|
10
|
+
host: UmbControllerHostElement;
|
|
11
11
|
repository?: RepositoryType;
|
|
12
|
-
constructor(host:
|
|
12
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
interface UmbEntityAction<RepositoryType> extends UmbAction<RepositoryType> {
|
|
@@ -17,7 +17,7 @@ interface UmbEntityAction<RepositoryType> extends UmbAction<RepositoryType> {
|
|
|
17
17
|
}
|
|
18
18
|
declare class UmbEntityActionBase<RepositoryType> extends UmbActionBase<RepositoryType> {
|
|
19
19
|
unique: string;
|
|
20
|
-
constructor(host:
|
|
20
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
interface UmbEntityBulkAction<RepositoryType = unknown> extends UmbAction<RepositoryType> {
|
|
@@ -26,14 +26,14 @@ interface UmbEntityBulkAction<RepositoryType = unknown> extends UmbAction<Reposi
|
|
|
26
26
|
}
|
|
27
27
|
declare class UmbEntityBulkActionBase<RepositoryType = unknown> extends UmbActionBase<RepositoryType> {
|
|
28
28
|
selection: Array<string>;
|
|
29
|
-
constructor(host:
|
|
29
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, selection: Array<string>);
|
|
30
30
|
setSelection(selection: Array<string>): void;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
declare class UmbCopyEntityAction<T extends {
|
|
34
34
|
copy(): Promise<void>;
|
|
35
35
|
}> extends UmbEntityActionBase$1<T> {
|
|
36
|
-
constructor(host:
|
|
36
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
37
37
|
execute(): Promise<void>;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -42,21 +42,21 @@ declare class UmbDeleteEntityAction<T extends {
|
|
|
42
42
|
requestItems(uniques: Array<string>): any;
|
|
43
43
|
}> extends UmbEntityActionBase$1<T> {
|
|
44
44
|
#private;
|
|
45
|
-
constructor(host:
|
|
45
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
46
46
|
execute(): Promise<void>;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
declare class UmbMoveEntityAction<T extends {
|
|
50
50
|
move(): Promise<void>;
|
|
51
51
|
}> extends UmbEntityActionBase$1<T> {
|
|
52
|
-
constructor(host:
|
|
52
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
53
53
|
execute(): Promise<void>;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
declare class UmbSortChildrenOfEntityAction<T extends {
|
|
57
57
|
sortChildrenOf(): Promise<void>;
|
|
58
58
|
}> extends UmbEntityActionBase$1<T> {
|
|
59
|
-
constructor(host:
|
|
59
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
60
60
|
execute(): Promise<void>;
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -65,7 +65,7 @@ declare class UmbTrashEntityAction<T extends {
|
|
|
65
65
|
requestTreeItems(uniques: Array<string>): any;
|
|
66
66
|
}> extends UmbEntityActionBase$1<T> {
|
|
67
67
|
#private;
|
|
68
|
-
constructor(host:
|
|
68
|
+
constructor(host: UmbControllerHostElement, repositoryAlias: string, unique: string);
|
|
69
69
|
execute(): Promise<void>;
|
|
70
70
|
}
|
|
71
71
|
|
package/extensions-api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { ManifestTypes, ManifestKind, ManifestTypeMap, ManifestBase, SpecificManifestTypeOrManifestBase, ManifestElement, ManifestElementWithElementName, ManifestClass } from './extensions-registry';
|
|
3
3
|
import { UmbContextToken } from './context-api';
|
|
4
|
-
import {
|
|
4
|
+
import { UmbControllerHostElement } from './controller';
|
|
5
5
|
|
|
6
6
|
declare class UmbExtensionRegistry {
|
|
7
7
|
private _extensions;
|
|
@@ -28,7 +28,7 @@ declare function hasDefaultExport<ConstructorType>(object: unknown): object is {
|
|
|
28
28
|
default: ConstructorType;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
type UmbEntrypointOnInit = (host:
|
|
31
|
+
type UmbEntrypointOnInit = (host: UmbControllerHostElement, extensionRegistry: UmbExtensionRegistry) => void;
|
|
32
32
|
/**
|
|
33
33
|
* Interface containing supported life-cycle functions for ESModule entrypoints
|
|
34
34
|
*/
|
package/extensions-registry.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { UmbWorkspaceAction } from './workspace';
|
|
|
3
3
|
import { ClassConstructor } from './models';
|
|
4
4
|
import { UmbStoreBase, UmbTreeStore } from './store';
|
|
5
5
|
import { UmbExtensionRegistry } from './extensions-api';
|
|
6
|
-
import {
|
|
6
|
+
import { UmbControllerHostElement } from './controller';
|
|
7
7
|
|
|
8
8
|
interface ManifestCollectionView extends ManifestElement, ManifestWithConditions<ConditionsCollectionView> {
|
|
9
9
|
type: 'collectionView';
|
|
@@ -253,11 +253,11 @@ interface ConditionsTreeItem {
|
|
|
253
253
|
entityType: string;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
interface
|
|
257
|
-
type: '
|
|
258
|
-
meta:
|
|
256
|
+
interface ManifestUserProfileApp extends ManifestElement {
|
|
257
|
+
type: 'userProfileApp';
|
|
258
|
+
meta: MetaUserProfileApp;
|
|
259
259
|
}
|
|
260
|
-
interface
|
|
260
|
+
interface MetaUserProfileApp {
|
|
261
261
|
label: string;
|
|
262
262
|
pathname: string;
|
|
263
263
|
}
|
|
@@ -330,7 +330,7 @@ interface ManifestTreeStore extends ManifestClass<UmbTreeStore> {
|
|
|
330
330
|
type: 'treeStore';
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
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 |
|
|
333
|
+
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 | ManifestBase;
|
|
334
334
|
type ManifestStandardTypes = ManifestTypes['type'];
|
|
335
335
|
type ManifestTypeMap = {
|
|
336
336
|
[Manifest in ManifestTypes as Manifest['type']]: Manifest;
|
|
@@ -390,8 +390,8 @@ interface ManifestEntrypoint extends ManifestBase {
|
|
|
390
390
|
|
|
391
391
|
declare class UmbEntryPointExtensionInitializer {
|
|
392
392
|
#private;
|
|
393
|
-
constructor(rootHost:
|
|
393
|
+
constructor(rootHost: UmbControllerHostElement, extensionRegistry: UmbExtensionRegistry);
|
|
394
394
|
instantiateEntryPoint(manifest: ManifestEntrypoint): void;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
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, ManifestKind, ManifestMenu, ManifestMenuItem, ManifestMenuItemTreeKind, ManifestModal, ManifestPackageView, ManifestPropertyAction, ManifestPropertyEditorModel, ManifestPropertyEditorUI, ManifestRepository, ManifestSection, ManifestSectionSidebarApp, ManifestSectionSidebarAppMenuKind, ManifestSectionView, ManifestStandardTypes, ManifestStore, ManifestTheme, ManifestTree, ManifestTreeItem, ManifestTreeStore, ManifestTypeMap, ManifestTypes,
|
|
397
|
+
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, 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, ManifestWorkspaceView, ManifestWorkspaceViewCollection, MetaCollectionView, MetaDashboard, MetaDashboardCollection, MetaEditor, MetaEditorViewCollection, MetaEntityAction, MetaEntityBulkAction, MetaExternalLoginProvider, MetaHeaderApp, MetaHeaderAppButtonKind, MetaHealthCheck, MetaManifestWithView, MetaMenuItem, MetaMenuItemTreeKind, MetaPackageView, MetaPropertyEditorModel, MetaPropertyEditorUI, MetaSection, MetaSectionSidebarAppMenuKind, MetaSectionView, MetaTree, MetaUserProfileApp, MetaWorkspaceAction, MetaWorkspaceView, PropertyEditorConfig, PropertyEditorConfigDefaultData, PropertyEditorConfigProperty, SpecificManifestTypeOrManifestBase, UmbEntryPointExtensionInitializer };
|