@rxap/layout 18.3.4-dev.0 → 19.0.0-dev.2
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/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/compodoc/changelog.html +89 -0
- package/compodoc/components/AppsButtonComponent.html +18 -23
- package/compodoc/components/BaseLayoutComponent.html +8 -13
- package/compodoc/components/DefaultHeaderComponent.html +76 -35
- package/compodoc/components/FooterComponent.html +7 -12
- package/compodoc/components/HeaderComponent.html +13 -18
- package/compodoc/components/LayoutComponent.html +29 -72
- package/compodoc/components/MinimalLayoutComponent.html +5 -10
- package/compodoc/components/NavigationComponent.html +31 -36
- package/compodoc/components/NavigationItemComponent.html +52 -51
- package/compodoc/components/NavigationProgressBarComponent.html +9 -14
- package/compodoc/components/ReleaseInfoComponent.html +11 -16
- package/compodoc/components/SettingsButtonComponent.html +64 -53
- package/compodoc/components/SidenavComponent.html +35 -40
- package/compodoc/components/SidenavToggleButtonComponent.html +11 -16
- package/compodoc/components/UserProfileIconComponent.html +18 -20
- package/compodoc/dependencies.html +23 -17
- package/compodoc/index.html +1 -1
- package/compodoc/injectables/DefaultHeaderService.html +585 -0
- package/compodoc/interfaces/NavigationDividerItem.html +1 -1
- package/compodoc/interfaces/NavigationInsertItem.html +1 -1
- package/compodoc/interfaces/NavigationItem.html +3 -3
- package/compodoc/interfaces/NavigationStatus.html +1 -1
- package/compodoc/interfaces/ReleaseInfoModule.html +2 -0
- package/compodoc/interfaces/SettingsMenuItem.html +2 -0
- package/compodoc/js/menu-wc.js +3 -0
- package/compodoc/js/menu-wc_es5.js +2 -2
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +387 -6
- package/compodoc/miscellaneous/typealiases.html +19 -0
- package/compodoc/miscellaneous/variables.html +50 -1
- package/compodoc/overview.html +1 -1
- package/compodoc/properties.html +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AppsButtonComponent.html +3 -3
- package/docs/classes/BaseLayoutComponent.html +1 -1
- package/docs/classes/DefaultHeaderComponent.html +5 -2
- package/docs/classes/DefaultHeaderService.html +16 -0
- package/docs/classes/ExternalAppsService.html +2 -2
- package/docs/classes/FooterComponent.html +2 -2
- package/docs/classes/FooterDirective.html +2 -2
- package/docs/classes/FooterService.html +6 -6
- package/docs/classes/HeaderComponent.html +2 -2
- package/docs/classes/HeaderDirective.html +2 -2
- package/docs/classes/HeaderService.html +6 -6
- package/docs/classes/LayoutComponent.html +2 -2
- package/docs/classes/LayoutService.html +2 -2
- package/docs/classes/LogoService.html +2 -2
- package/docs/classes/MinimalLayoutComponent.html +1 -1
- package/docs/classes/NavigationComponent.html +2 -2
- package/docs/classes/NavigationItemComponent.html +2 -2
- package/docs/classes/NavigationProgressBarComponent.html +2 -2
- package/docs/classes/NavigationService.html +3 -3
- package/docs/classes/ReleaseInfoComponent.html +2 -2
- package/docs/classes/SettingsButtonComponent.html +2 -2
- package/docs/classes/SidenavComponent.html +2 -2
- package/docs/classes/SidenavFooterDirective.html +2 -2
- package/docs/classes/SidenavHeaderDirective.html +2 -2
- package/docs/classes/SidenavToggleButtonComponent.html +2 -2
- package/docs/classes/UserProfileIconComponent.html +2 -2
- package/docs/documentation.json +2279 -1170
- package/docs/functions/IsNavigationDividerItem.html +1 -1
- package/docs/functions/IsNavigationInsertItem.html +1 -1
- package/docs/functions/IsNavigationItem.html +1 -1
- package/docs/functions/provideExternalApps.html +1 -1
- package/docs/functions/provideLayout.html +1 -1
- package/docs/functions/withDefaultHeaderComponent.html +1 -1
- package/docs/functions/withDefaultHeaderItems.html +1 -0
- package/docs/functions/withFooterComponents.html +1 -1
- package/docs/functions/withHeaderComponents.html +1 -1
- package/docs/functions/withNavigationConfig.html +1 -1
- package/docs/functions/withNavigationInserts.html +1 -1
- package/docs/functions/withReleaseInfoModules.html +1 -1
- package/docs/functions/withSettingsMenuItems.html +1 -1
- package/docs/functions/withUserProfileDataSource.html +1 -1
- package/docs/index.html +1 -1
- package/docs/interfaces/NavigationDividerItem.html +2 -2
- package/docs/interfaces/NavigationInsertItem.html +2 -2
- package/docs/interfaces/NavigationItem.html +2 -2
- package/docs/interfaces/NavigationStatus.html +2 -2
- package/docs/interfaces/ReleaseInfoModule.html +2 -2
- package/docs/interfaces/SettingsMenuItem.html +2 -2
- package/docs/modules.html +5 -1
- package/docs/types/DefaultHeaderItemComponent.html +1 -0
- package/docs/types/ExternalApp.html +1 -1
- package/docs/types/ExtractUsernameFromProfileFn.html +1 -1
- package/docs/types/Navigation.html +1 -1
- package/docs/types/NavigationWithInserts.html +1 -1
- package/docs/types/SettingsMenuItemComponent.html +1 -1
- package/docs/variables/EXTRACT_USERNAME_FROM_PROFILE.html +1 -1
- package/docs/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +1 -0
- package/docs/variables/RXAP_EXTERNAL_APP.html +1 -1
- package/docs/variables/RXAP_EXTERNAL_APP_FILTER.html +1 -1
- package/docs/variables/RXAP_FOOTER_COMPONENT.html +1 -1
- package/docs/variables/RXAP_HEADER_COMPONENT.html +1 -1
- package/docs/variables/RXAP_LAYOUT_APPS_GRID.html +1 -1
- package/docs/variables/RXAP_LOGO_CONFIG.html +1 -1
- package/docs/variables/RXAP_NAVIGATION_CONFIG.html +1 -1
- package/docs/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +1 -1
- package/docs/variables/RXAP_RELEASE_INFO_MODULE.html +1 -1
- package/docs/variables/RXAP_SETTINGS_MENU_ITEM.html +1 -1
- package/docs/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +1 -1
- package/docs/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +1 -1
- package/fesm2022/rxap-layout.mjs +93 -93
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/package.json +43 -46
- package/src/migrations/18.0.0/add-seperate-external-apps-provider/__snapshots__/add-seperate-external-apps-provider.spec.ts.snap +22 -0
- package/src/migrations/18.0.0/add-theme-provider-to-app-config/__snapshots__/add-theme-provider-to-app-config.spec.ts.snap +18 -0
- package/src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/__snapshots__/add-user-theme-provider-to-layout-providers.spec.ts.snap +51 -0
- package/src/migrations/18.0.0/add-with-user-profile-provider/__snapshots__/add-with-user-profile-provider.spec.ts.snap +53 -0
- package/theme.css +425 -1
- package/esm2022/index.mjs +0 -63
- package/esm2022/lib/base-layout/base-layout.component.mjs +0 -16
- package/esm2022/lib/default-header/apps-button/apps-button.component.mjs +0 -40
- package/esm2022/lib/default-header/default-header.component.mjs +0 -39
- package/esm2022/lib/default-header/default-header.service.mjs +0 -65
- package/esm2022/lib/default-header/settings-button/settings-button.component.mjs +0 -78
- package/esm2022/lib/default-header/sidenav-toggle-button/sidenav-toggle-button.component.mjs +0 -24
- package/esm2022/lib/default-header/user-profile-icon/user-profile-icon.component.mjs +0 -35
- package/esm2022/lib/external-apps.service.mjs +0 -99
- package/esm2022/lib/footer/footer.component.mjs +0 -21
- package/esm2022/lib/footer/footer.directive.mjs +0 -30
- package/esm2022/lib/footer.service.mjs +0 -58
- package/esm2022/lib/header/header.component.mjs +0 -24
- package/esm2022/lib/header/header.directive.mjs +0 -30
- package/esm2022/lib/header.service.mjs +0 -60
- package/esm2022/lib/layout/layout.component.mjs +0 -50
- package/esm2022/lib/layout.service.mjs +0 -93
- package/esm2022/lib/logo.service.mjs +0 -23
- package/esm2022/lib/minimal-layout/minimal-layout.component.mjs +0 -16
- package/esm2022/lib/navigation/navigation-item/navigation-item.component.mjs +0 -139
- package/esm2022/lib/navigation/navigation-item.mjs +0 -10
- package/esm2022/lib/navigation/navigation.component.mjs +0 -57
- package/esm2022/lib/navigation-progress-bar/navigation-progress-bar.component.mjs +0 -23
- package/esm2022/lib/navigation.service.mjs +0 -141
- package/esm2022/lib/provide.mjs +0 -105
- package/esm2022/lib/release-info/release-info.component.mjs +0 -28
- package/esm2022/lib/sidenav/sidenav-footer.directive.mjs +0 -20
- package/esm2022/lib/sidenav/sidenav-header.directive.mjs +0 -20
- package/esm2022/lib/sidenav/sidenav.component.mjs +0 -60
- package/esm2022/lib/tokens.mjs +0 -23
- package/esm2022/lib/types.mjs +0 -2
- package/esm2022/rxap-layout.mjs +0 -5
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "19.0.0-dev.2",
|
|
3
3
|
"name": "@rxap/layout",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@nx/devkit": "
|
|
7
|
-
"@rxap/ts-morph": "^1.5.2-dev.
|
|
8
|
-
"@rxap/workspace-ts-morph": "^19.1.8-dev.
|
|
9
|
-
"@rxap/workspace-utilities": "^19.
|
|
6
|
+
"@nx/devkit": "20.2.1",
|
|
7
|
+
"@rxap/ts-morph": "^1.5.2-dev.2",
|
|
8
|
+
"@rxap/workspace-ts-morph": "^19.1.8-dev.2",
|
|
9
|
+
"@rxap/workspace-utilities": "^19.6.0-dev.0",
|
|
10
10
|
"tslib": "2.6.2"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@angular/animations": "
|
|
14
|
-
"@angular/cdk": "
|
|
15
|
-
"@angular/common": "
|
|
16
|
-
"@angular/core": "
|
|
17
|
-
"@angular/material": "
|
|
18
|
-
"@angular/router": "
|
|
19
|
-
"@rxap/browser-utilities": "^1.1.
|
|
20
|
-
"@rxap/config": "^
|
|
21
|
-
"@rxap/data-source": "^
|
|
22
|
-
"@rxap/environment": "^
|
|
23
|
-
"@rxap/material-directives": "^
|
|
24
|
-
"@rxap/ngx-pub-sub": "^
|
|
25
|
-
"@rxap/ngx-theme": "^
|
|
26
|
-
"@rxap/pattern": "^1.1.
|
|
27
|
-
"@rxap/utilities": "^16.4.
|
|
28
|
-
"rxjs": "
|
|
13
|
+
"@angular/animations": "19.0.3",
|
|
14
|
+
"@angular/cdk": "19.0.2",
|
|
15
|
+
"@angular/common": "19.0.3",
|
|
16
|
+
"@angular/core": "19.0.3",
|
|
17
|
+
"@angular/material": "19.0.2",
|
|
18
|
+
"@angular/router": "19.0.3",
|
|
19
|
+
"@rxap/browser-utilities": "^1.1.9-dev.2",
|
|
20
|
+
"@rxap/config": "^19.0.0-dev.2",
|
|
21
|
+
"@rxap/data-source": "^19.0.0-dev.2",
|
|
22
|
+
"@rxap/environment": "^19.0.0-dev.2",
|
|
23
|
+
"@rxap/material-directives": "^19.0.0-dev.2",
|
|
24
|
+
"@rxap/ngx-pub-sub": "^19.0.0-dev.2",
|
|
25
|
+
"@rxap/ngx-theme": "^19.0.0-dev.2",
|
|
26
|
+
"@rxap/pattern": "^1.1.10-dev.2",
|
|
27
|
+
"@rxap/utilities": "^16.4.1-dev.2",
|
|
28
|
+
"rxjs": "7.8.1"
|
|
29
29
|
},
|
|
30
30
|
"author": {
|
|
31
31
|
"name": "Merzough Münker",
|
|
@@ -53,91 +53,91 @@
|
|
|
53
53
|
"packageGroup": [
|
|
54
54
|
{
|
|
55
55
|
"package": "@angular/animations",
|
|
56
|
-
"version": "
|
|
56
|
+
"version": "19.0.3"
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
"package": "@angular/cdk",
|
|
60
|
-
"version": "
|
|
60
|
+
"version": "19.0.2"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"package": "@angular/common",
|
|
64
|
-
"version": "
|
|
64
|
+
"version": "19.0.3"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"package": "@angular/core",
|
|
68
|
-
"version": "
|
|
68
|
+
"version": "19.0.3"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
"package": "@angular/forms",
|
|
72
|
-
"version": "
|
|
72
|
+
"version": "19.0.3"
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"package": "@angular/material",
|
|
76
|
-
"version": "
|
|
76
|
+
"version": "19.0.2"
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
"package": "@angular/platform-browser",
|
|
80
|
-
"version": "
|
|
80
|
+
"version": "19.0.3"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"package": "@angular/router",
|
|
84
|
-
"version": "
|
|
84
|
+
"version": "19.0.3"
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
"package": "@rxap/browser-utilities",
|
|
88
|
-
"version": "1.1.
|
|
88
|
+
"version": "1.1.9-dev.2"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
"package": "@rxap/config",
|
|
92
|
-
"version": "
|
|
92
|
+
"version": "19.0.0-dev.2"
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
95
|
"package": "@rxap/data-source",
|
|
96
|
-
"version": "
|
|
96
|
+
"version": "19.0.0-dev.2"
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
"package": "@rxap/data-structure-tree",
|
|
100
|
-
"version": "1.1.
|
|
100
|
+
"version": "1.1.11-dev.2"
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
"package": "@rxap/definition",
|
|
104
|
-
"version": "
|
|
104
|
+
"version": "19.0.0-dev.2"
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
"package": "@rxap/environment",
|
|
108
|
-
"version": "
|
|
108
|
+
"version": "19.0.0-dev.2"
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
"package": "@rxap/material-directives",
|
|
112
|
-
"version": "
|
|
112
|
+
"version": "19.0.0-dev.2"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"package": "@rxap/ngx-memory",
|
|
116
|
-
"version": "
|
|
116
|
+
"version": "19.0.0-dev.2"
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"package": "@rxap/ngx-pub-sub",
|
|
120
|
-
"version": "
|
|
120
|
+
"version": "19.0.0-dev.2"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
123
|
"package": "@rxap/ngx-theme",
|
|
124
|
-
"version": "
|
|
124
|
+
"version": "19.0.0-dev.2"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"package": "@rxap/pattern",
|
|
128
|
-
"version": "1.1.
|
|
128
|
+
"version": "1.1.10-dev.2"
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
"package": "@rxap/reflect-metadata",
|
|
132
|
-
"version": "1.0.
|
|
132
|
+
"version": "1.0.12-dev.2"
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
"package": "@rxap/rxjs",
|
|
136
|
-
"version": "1.1.
|
|
136
|
+
"version": "1.1.11-dev.2"
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
"package": "@rxap/utilities",
|
|
140
|
-
"version": "16.4.
|
|
140
|
+
"version": "16.4.1-dev.2"
|
|
141
141
|
}
|
|
142
142
|
]
|
|
143
143
|
},
|
|
@@ -151,7 +151,6 @@
|
|
|
151
151
|
"directory": "packages/angular/layout"
|
|
152
152
|
},
|
|
153
153
|
"sideEffects": false,
|
|
154
|
-
"gitHead": "5844fe366e2b05fecc4f482cd21cb6d0a77225fa",
|
|
155
154
|
"module": "fesm2022/rxap-layout.mjs",
|
|
156
155
|
"typings": "index.d.ts",
|
|
157
156
|
"exports": {
|
|
@@ -160,8 +159,6 @@
|
|
|
160
159
|
},
|
|
161
160
|
".": {
|
|
162
161
|
"types": "./index.d.ts",
|
|
163
|
-
"esm2022": "./esm2022/rxap-layout.mjs",
|
|
164
|
-
"esm": "./esm2022/rxap-layout.mjs",
|
|
165
162
|
"default": "./fesm2022/rxap-layout.mjs"
|
|
166
163
|
},
|
|
167
164
|
"./theme": "./theme.css"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`add-seperate-external-apps-provider migration should run successfully 1`] = `null`;
|
|
4
|
+
|
|
5
|
+
exports[`add-seperate-external-apps-provider migration should run successfully 2`] = `null`;
|
|
6
|
+
|
|
7
|
+
exports[`add-seperate-external-apps-provider migration should run successfully 3`] = `
|
|
8
|
+
"import { ApplicationConfig } from '@angular/core';
|
|
9
|
+
import { provideExternalApps } from '@rxap/layout';
|
|
10
|
+
|
|
11
|
+
export const appConfig: ApplicationConfig = { providers: [
|
|
12
|
+
provideExternalApps(),
|
|
13
|
+
] };
|
|
14
|
+
"
|
|
15
|
+
`;
|
|
16
|
+
|
|
17
|
+
exports[`add-seperate-external-apps-provider migration should run successfully 4`] = `
|
|
18
|
+
"import { ApplicationConfig } from '@angular/core';
|
|
19
|
+
import { provideExternalApps } from '@rxap/layout';
|
|
20
|
+
|
|
21
|
+
export const appConfig = { providers: [provideExternalApps()] };"
|
|
22
|
+
`;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`add-theme-provider-to-app-config migration should run successfully 1`] = `
|
|
4
|
+
"import { ApplicationConfig } from '@angular/core';
|
|
5
|
+
import { provideTheme } from '@rxap/ngx-theme';
|
|
6
|
+
|
|
7
|
+
export const appConfig: ApplicationConfig = { providers: [
|
|
8
|
+
provideTheme(),
|
|
9
|
+
] };
|
|
10
|
+
"
|
|
11
|
+
`;
|
|
12
|
+
|
|
13
|
+
exports[`add-theme-provider-to-app-config migration should run successfully 2`] = `
|
|
14
|
+
"import { ApplicationConfig } from '@angular/core';
|
|
15
|
+
import { provideTheme } from '@rxap/ngx-theme';
|
|
16
|
+
|
|
17
|
+
export const appConfig = { providers: [provideTheme()] };"
|
|
18
|
+
`;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`add-user-theme-provider-to-app-config migration should run successfully 1`] = `
|
|
4
|
+
"export const ROUTES: Route[] = [
|
|
5
|
+
{
|
|
6
|
+
path: '',
|
|
7
|
+
component: LayoutComponent,
|
|
8
|
+
children: [],
|
|
9
|
+
providers: []
|
|
10
|
+
}
|
|
11
|
+
];
|
|
12
|
+
|
|
13
|
+
export default ROUTES;"
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
exports[`add-user-theme-provider-to-app-config migration should run successfully 2`] = `
|
|
17
|
+
"import { provideUserTheme } from '@rxap/ngx-user';
|
|
18
|
+
|
|
19
|
+
export const ROUTES: Route[] = [
|
|
20
|
+
{
|
|
21
|
+
path: '',
|
|
22
|
+
component: LayoutComponent,
|
|
23
|
+
children: [],
|
|
24
|
+
providers: [
|
|
25
|
+
provideUserTheme(), provideLayout()
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
];
|
|
29
|
+
|
|
30
|
+
export default ROUTES;"
|
|
31
|
+
`;
|
|
32
|
+
|
|
33
|
+
exports[`add-user-theme-provider-to-app-config migration should run successfully 3`] = `
|
|
34
|
+
"import { provideUserTheme } from '@rxap/ngx-user';
|
|
35
|
+
|
|
36
|
+
export const ROUTES: Route[] = [
|
|
37
|
+
{
|
|
38
|
+
path: '',
|
|
39
|
+
component: LayoutComponent,
|
|
40
|
+
children: [],
|
|
41
|
+
providers: [
|
|
42
|
+
provideUserTheme(), provideLayout(
|
|
43
|
+
withNavigationConfig(APP_NAVIGATION),
|
|
44
|
+
withDefaultHeaderComponent()
|
|
45
|
+
)
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
];
|
|
49
|
+
|
|
50
|
+
export default ROUTES;"
|
|
51
|
+
`;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`add-with-user-profile-provider migration should run successfully 1`] = `
|
|
4
|
+
"export const ROUTES: Route[] = [
|
|
5
|
+
{
|
|
6
|
+
path: '',
|
|
7
|
+
component: LayoutComponent,
|
|
8
|
+
children: [],
|
|
9
|
+
providers: []
|
|
10
|
+
}
|
|
11
|
+
];
|
|
12
|
+
|
|
13
|
+
export default ROUTES;"
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
exports[`add-with-user-profile-provider migration should run successfully 2`] = `
|
|
17
|
+
"import { UserProfileDataSource } from '@rxap/ngx-user';
|
|
18
|
+
import { withUserProfileDataSource } from '@rxap/layout';
|
|
19
|
+
|
|
20
|
+
export const ROUTES: Route[] = [
|
|
21
|
+
{
|
|
22
|
+
path: '',
|
|
23
|
+
component: LayoutComponent,
|
|
24
|
+
children: [],
|
|
25
|
+
providers: [
|
|
26
|
+
provideLayout(withUserProfileDataSource(UserProfileDataSource),)
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
];
|
|
30
|
+
|
|
31
|
+
export default ROUTES;"
|
|
32
|
+
`;
|
|
33
|
+
|
|
34
|
+
exports[`add-with-user-profile-provider migration should run successfully 3`] = `
|
|
35
|
+
"import { UserProfileDataSource } from '@rxap/ngx-user';
|
|
36
|
+
import { withUserProfileDataSource } from '@rxap/layout';
|
|
37
|
+
|
|
38
|
+
export const ROUTES: Route[] = [
|
|
39
|
+
{
|
|
40
|
+
path: '',
|
|
41
|
+
component: LayoutComponent,
|
|
42
|
+
children: [],
|
|
43
|
+
providers: [
|
|
44
|
+
provideLayout(withUserProfileDataSource(UserProfileDataSource),
|
|
45
|
+
withNavigationConfig(APP_NAVIGATION),
|
|
46
|
+
withDefaultHeaderComponent()
|
|
47
|
+
)
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
];
|
|
51
|
+
|
|
52
|
+
export default ROUTES;"
|
|
53
|
+
`;
|