@omnia/fx-models 8.0.507-dev → 8.0.508-dev
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/editor-chrome/index.d.ts +0 -2
- package/editor-chrome/index.js +0 -2
- package/package.json +1 -1
- package/editor-chrome/DefineEditorChromeConfiguration.d.ts +0 -6
- package/editor-chrome/DefineEditorChromeConfiguration.js +0 -12
- package/editor-chrome/DefineEditorChromeView.d.ts +0 -7
- package/editor-chrome/DefineEditorChromeView.js +0 -13
package/editor-chrome/index.d.ts
CHANGED
@@ -11,5 +11,3 @@ export * from "./NotificationMessage";
|
|
11
11
|
export * from "./IEditorItemPanelsRenderer";
|
12
12
|
export * from "./EditorLeaveDestination";
|
13
13
|
export * from "./EditorChromeRegistration";
|
14
|
-
export * from "./DefineEditorChromeConfiguration";
|
15
|
-
export * from "./DefineEditorChromeView";
|
package/editor-chrome/index.js
CHANGED
@@ -14,5 +14,3 @@ tslib_1.__exportStar(require("./NotificationMessage"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./IEditorItemPanelsRenderer"), exports);
|
15
15
|
tslib_1.__exportStar(require("./EditorLeaveDestination"), exports);
|
16
16
|
tslib_1.__exportStar(require("./EditorChromeRegistration"), exports);
|
17
|
-
tslib_1.__exportStar(require("./DefineEditorChromeConfiguration"), exports);
|
18
|
-
tslib_1.__exportStar(require("./DefineEditorChromeView"), exports);
|
package/package.json
CHANGED
@@ -1,6 +0,0 @@
|
|
1
|
-
import { EditorChromeConfiguration } from ".";
|
2
|
-
type ReturnEditorChromeConfigurationSetup = {
|
3
|
-
configuration: EditorChromeConfiguration;
|
4
|
-
};
|
5
|
-
export declare function defineEditorChromeConfiguration<TReturnSetup extends ReturnEditorChromeConfigurationSetup>(...args: any): () => TReturnSetup;
|
6
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.defineEditorChromeConfiguration = defineEditorChromeConfiguration;
|
4
|
-
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
|
5
|
-
function defineEditorChromeConfiguration(setup, lifetime = models_1.InstanceLifetimes.Scoped) {
|
6
|
-
return setup;
|
7
|
-
// return defineFactory<ReturnEditorChromeConfigurationSetup>((ctxFactory, ...args: any) => {
|
8
|
-
// return setup({
|
9
|
-
// ...ctxFactory
|
10
|
-
// }, ...args);
|
11
|
-
// }, lifetime);
|
12
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { InstanceLifetimes } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
|
2
|
-
import { EditorChromeView } from "./EditorChromeRegistration";
|
3
|
-
type ReturnEditorChromeViewSetup = {
|
4
|
-
view: EditorChromeView;
|
5
|
-
};
|
6
|
-
export declare function defineEditorChromeView<TReturnSetup extends ReturnEditorChromeViewSetup>(setup: (...args: any) => TReturnSetup, lifetime?: InstanceLifetimes): (...args: any) => TReturnSetup;
|
7
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.defineEditorChromeView = defineEditorChromeView;
|
4
|
-
const models_1 = require("@omnia/fx-models/internal-do-not-import-from-here/shared/models");
|
5
|
-
//export function defineEditorChromeView<TReturnSetup extends ReturnEditorChromeViewSetup>(...args: any): () => TReturnSetup
|
6
|
-
function defineEditorChromeView(setup, lifetime = models_1.InstanceLifetimes.Scoped) {
|
7
|
-
return setup;
|
8
|
-
// return defineFactory<ReturnEditorChromeViewSetup>((ctxFactory, ...args: any) => {
|
9
|
-
// return setup({
|
10
|
-
// ...ctxFactory
|
11
|
-
// }, ...args);
|
12
|
-
// }, lifetime);
|
13
|
-
}
|