@hamak/ui-shell-impl 0.5.1 → 0.5.5
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/dist/core/DefaultShell.js +4 -4
- package/dist/core/index.d.ts +5 -5
- package/dist/core/index.js +5 -5
- package/dist/es2015/core/DefaultShell.js +4 -4
- package/dist/es2015/core/index.js +5 -5
- package/dist/es2015/plugin/ShellPluginFactory.js +2 -2
- package/dist/es2015/plugin/index.js +1 -1
- package/dist/es2015/providers/index.js +5 -5
- package/dist/es2015/utils/index.js +1 -1
- package/dist/plugin/ShellPluginFactory.d.ts +1 -1
- package/dist/plugin/ShellPluginFactory.js +2 -2
- package/dist/plugin/index.d.ts +1 -1
- package/dist/plugin/index.js +1 -1
- package/dist/providers/index.d.ts +5 -5
- package/dist/providers/index.js +5 -5
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Default Shell Implementation
|
|
3
3
|
*/
|
|
4
|
-
import { DefaultThemeManager } from './DefaultThemeManager';
|
|
5
|
-
import { DefaultFeatureManager } from './DefaultFeatureManager';
|
|
6
|
-
import { LocalStorageProvider } from '../providers/LocalStorageProvider';
|
|
7
|
-
import { CSSVariablesThemeProvider } from '../providers/CSSVariablesThemeProvider';
|
|
4
|
+
import { DefaultThemeManager } from './DefaultThemeManager.js';
|
|
5
|
+
import { DefaultFeatureManager } from './DefaultFeatureManager.js';
|
|
6
|
+
import { LocalStorageProvider } from '../providers/LocalStorageProvider.js';
|
|
7
|
+
import { CSSVariablesThemeProvider } from '../providers/CSSVariablesThemeProvider.js';
|
|
8
8
|
export class DefaultShell {
|
|
9
9
|
themeManager;
|
|
10
10
|
featureManager;
|
package/dist/core/index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Core Implementations
|
|
3
3
|
* Export all core implementation classes
|
|
4
4
|
*/
|
|
5
|
-
export * from './DefaultShell';
|
|
6
|
-
export * from './DefaultThemeManager';
|
|
7
|
-
export * from './DefaultFeatureManager';
|
|
8
|
-
export * from './DefaultLayoutManager';
|
|
9
|
-
export * from './DefaultRouter';
|
|
5
|
+
export * from './DefaultShell.js';
|
|
6
|
+
export * from './DefaultThemeManager.js';
|
|
7
|
+
export * from './DefaultFeatureManager.js';
|
|
8
|
+
export * from './DefaultLayoutManager.js';
|
|
9
|
+
export * from './DefaultRouter.js';
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/core/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Core Implementations
|
|
3
3
|
* Export all core implementation classes
|
|
4
4
|
*/
|
|
5
|
-
export * from './DefaultShell';
|
|
6
|
-
export * from './DefaultThemeManager';
|
|
7
|
-
export * from './DefaultFeatureManager';
|
|
8
|
-
export * from './DefaultLayoutManager';
|
|
9
|
-
export * from './DefaultRouter';
|
|
5
|
+
export * from './DefaultShell.js';
|
|
6
|
+
export * from './DefaultThemeManager.js';
|
|
7
|
+
export * from './DefaultFeatureManager.js';
|
|
8
|
+
export * from './DefaultLayoutManager.js';
|
|
9
|
+
export * from './DefaultRouter.js';
|
|
@@ -10,10 +10,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
11
|
});
|
|
12
12
|
};
|
|
13
|
-
import { DefaultThemeManager } from './DefaultThemeManager';
|
|
14
|
-
import { DefaultFeatureManager } from './DefaultFeatureManager';
|
|
15
|
-
import { LocalStorageProvider } from '../providers/LocalStorageProvider';
|
|
16
|
-
import { CSSVariablesThemeProvider } from '../providers/CSSVariablesThemeProvider';
|
|
13
|
+
import { DefaultThemeManager } from './DefaultThemeManager.js';
|
|
14
|
+
import { DefaultFeatureManager } from './DefaultFeatureManager.js';
|
|
15
|
+
import { LocalStorageProvider } from '../providers/LocalStorageProvider.js';
|
|
16
|
+
import { CSSVariablesThemeProvider } from '../providers/CSSVariablesThemeProvider.js';
|
|
17
17
|
export class DefaultShell {
|
|
18
18
|
constructor(config = {}) {
|
|
19
19
|
this.router = null;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Core Implementations
|
|
3
3
|
* Export all core implementation classes
|
|
4
4
|
*/
|
|
5
|
-
export * from './DefaultShell';
|
|
6
|
-
export * from './DefaultThemeManager';
|
|
7
|
-
export * from './DefaultFeatureManager';
|
|
8
|
-
export * from './DefaultLayoutManager';
|
|
9
|
-
export * from './DefaultRouter';
|
|
5
|
+
export * from './DefaultShell.js';
|
|
6
|
+
export * from './DefaultThemeManager.js';
|
|
7
|
+
export * from './DefaultFeatureManager.js';
|
|
8
|
+
export * from './DefaultLayoutManager.js';
|
|
9
|
+
export * from './DefaultRouter.js';
|
|
@@ -12,8 +12,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
14
|
import { SHELL_TOKEN, THEME_MANAGER_TOKEN, FEATURE_MANAGER_TOKEN, LAYOUT_MANAGER_TOKEN, ShellCommands, ShellEvents, } from '@hamak/ui-shell-api';
|
|
15
|
-
import { DefaultShell } from '../core/DefaultShell';
|
|
16
|
-
import { DefaultLayoutManager } from '../core/DefaultLayoutManager';
|
|
15
|
+
import { DefaultShell } from '../core/DefaultShell.js';
|
|
16
|
+
import { DefaultLayoutManager } from '../core/DefaultLayoutManager.js';
|
|
17
17
|
export function createShellPlugin(config) {
|
|
18
18
|
let shell;
|
|
19
19
|
let layoutManager;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Providers
|
|
3
3
|
* Export all provider implementations
|
|
4
4
|
*/
|
|
5
|
-
export * from './LocalStorageProvider';
|
|
6
|
-
export * from './MemoryStorageProvider';
|
|
7
|
-
export * from './CSSVariablesThemeProvider';
|
|
8
|
-
export * from './HistoryRouterStrategy';
|
|
9
|
-
export * from './HashRouterStrategy';
|
|
5
|
+
export * from './LocalStorageProvider.js';
|
|
6
|
+
export * from './MemoryStorageProvider.js';
|
|
7
|
+
export * from './CSSVariablesThemeProvider.js';
|
|
8
|
+
export * from './HistoryRouterStrategy.js';
|
|
9
|
+
export * from './HashRouterStrategy.js';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { PluginModule } from '@hamak/microkernel-spi';
|
|
6
6
|
import type { ActivateContext } from '@hamak/microkernel-api';
|
|
7
7
|
import type { ShellConfig } from '@hamak/ui-shell-api';
|
|
8
|
-
import { DefaultShell } from '../core/DefaultShell';
|
|
8
|
+
import { DefaultShell } from '../core/DefaultShell.js';
|
|
9
9
|
export declare function createShellPlugin(config?: ShellConfig): PluginModule;
|
|
10
10
|
export declare function getShellFromContext(ctx: ActivateContext): DefaultShell;
|
|
11
11
|
//# sourceMappingURL=ShellPluginFactory.d.ts.map
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Creates microkernel plugin for UI Shell integration
|
|
4
4
|
*/
|
|
5
5
|
import { SHELL_TOKEN, THEME_MANAGER_TOKEN, FEATURE_MANAGER_TOKEN, LAYOUT_MANAGER_TOKEN, ShellCommands, ShellEvents, } from '@hamak/ui-shell-api';
|
|
6
|
-
import { DefaultShell } from '../core/DefaultShell';
|
|
7
|
-
import { DefaultLayoutManager } from '../core/DefaultLayoutManager';
|
|
6
|
+
import { DefaultShell } from '../core/DefaultShell.js';
|
|
7
|
+
import { DefaultLayoutManager } from '../core/DefaultLayoutManager.js';
|
|
8
8
|
export function createShellPlugin(config) {
|
|
9
9
|
let shell;
|
|
10
10
|
let layoutManager;
|
package/dist/plugin/index.d.ts
CHANGED
package/dist/plugin/index.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Providers
|
|
3
3
|
* Export all provider implementations
|
|
4
4
|
*/
|
|
5
|
-
export * from './LocalStorageProvider';
|
|
6
|
-
export * from './MemoryStorageProvider';
|
|
7
|
-
export * from './CSSVariablesThemeProvider';
|
|
8
|
-
export * from './HistoryRouterStrategy';
|
|
9
|
-
export * from './HashRouterStrategy';
|
|
5
|
+
export * from './LocalStorageProvider.js';
|
|
6
|
+
export * from './MemoryStorageProvider.js';
|
|
7
|
+
export * from './CSSVariablesThemeProvider.js';
|
|
8
|
+
export * from './HistoryRouterStrategy.js';
|
|
9
|
+
export * from './HashRouterStrategy.js';
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/providers/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Providers
|
|
3
3
|
* Export all provider implementations
|
|
4
4
|
*/
|
|
5
|
-
export * from './LocalStorageProvider';
|
|
6
|
-
export * from './MemoryStorageProvider';
|
|
7
|
-
export * from './CSSVariablesThemeProvider';
|
|
8
|
-
export * from './HistoryRouterStrategy';
|
|
9
|
-
export * from './HashRouterStrategy';
|
|
5
|
+
export * from './LocalStorageProvider.js';
|
|
6
|
+
export * from './MemoryStorageProvider.js';
|
|
7
|
+
export * from './CSSVariablesThemeProvider.js';
|
|
8
|
+
export * from './HistoryRouterStrategy.js';
|
|
9
|
+
export * from './HashRouterStrategy.js';
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hamak/ui-shell-impl",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "[DEPRECATED] Use @hamak/ui-shell instead",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
|
-
"build": "tsc -p tsconfig.lib.json",
|
|
27
|
+
"build": "tsc -p tsconfig.lib.json && node ../../../scripts/fix-esm-extensions.mjs ./dist",
|
|
28
28
|
"clean": "rm -rf dist"
|
|
29
29
|
},
|
|
30
30
|
"keywords": [
|