mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
[ADF-2821] move module sidebar action menu (#3321)
* move module sidebar action menu * fix core import test * remove sidebar module * skip error * skiperror old versions
This commit is contained in:
parent
d67f160fdc
commit
35ee120d5c
@ -38,7 +38,6 @@ import { UserInfoModule } from './userinfo/userinfo.module';
|
|||||||
import { ViewerModule } from './viewer/viewer.module';
|
import { ViewerModule } from './viewer/viewer.module';
|
||||||
import { FormModule } from './form/form.module';
|
import { FormModule } from './form/form.module';
|
||||||
import { SidenavLayoutModule } from './sidenav-layout/sidenav-layout.module';
|
import { SidenavLayoutModule } from './sidenav-layout/sidenav-layout.module';
|
||||||
import { SideBarActionModule } from './sidebar/sidebar-action.module';
|
|
||||||
import { CommentsModule } from './comments/comments.module';
|
import { CommentsModule } from './comments/comments.module';
|
||||||
import { ButtonsMenuModule } from './buttons-menu/buttons-menu.module';
|
import { ButtonsMenuModule } from './buttons-menu/buttons-menu.module';
|
||||||
|
|
||||||
@ -130,7 +129,6 @@ export function providers() {
|
|||||||
imports: [
|
imports: [
|
||||||
ViewerModule,
|
ViewerModule,
|
||||||
SidenavLayoutModule,
|
SidenavLayoutModule,
|
||||||
SideBarActionModule,
|
|
||||||
PipeModule,
|
PipeModule,
|
||||||
CommonModule,
|
CommonModule,
|
||||||
DirectiveModule,
|
DirectiveModule,
|
||||||
@ -164,7 +162,6 @@ export function providers() {
|
|||||||
],
|
],
|
||||||
exports: [
|
exports: [
|
||||||
ViewerModule,
|
ViewerModule,
|
||||||
SideBarActionModule,
|
|
||||||
SidenavLayoutModule,
|
SidenavLayoutModule,
|
||||||
PipeModule,
|
PipeModule,
|
||||||
CommonModule,
|
CommonModule,
|
||||||
@ -198,7 +195,6 @@ export class CoreModuleLazy {
|
|||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
ViewerModule,
|
ViewerModule,
|
||||||
SideBarActionModule,
|
|
||||||
SidenavLayoutModule,
|
SidenavLayoutModule,
|
||||||
PipeModule,
|
PipeModule,
|
||||||
CommonModule,
|
CommonModule,
|
||||||
@ -236,7 +232,6 @@ export class CoreModuleLazy {
|
|||||||
],
|
],
|
||||||
exports: [
|
exports: [
|
||||||
ViewerModule,
|
ViewerModule,
|
||||||
SideBarActionModule,
|
|
||||||
SidenavLayoutModule,
|
SidenavLayoutModule,
|
||||||
PipeModule,
|
PipeModule,
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
@ -23,7 +23,6 @@ export * from './pagination/index';
|
|||||||
export * from './login/index';
|
export * from './login/index';
|
||||||
export * from './language-menu/index';
|
export * from './language-menu/index';
|
||||||
export * from './info-drawer/index';
|
export * from './info-drawer/index';
|
||||||
export * from './sidebar/index';
|
|
||||||
export * from './data-column/index';
|
export * from './data-column/index';
|
||||||
export * from './datatable/index';
|
export * from './datatable/index';
|
||||||
export * from './context-menu/index';
|
export * from './context-menu/index';
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
/*!
|
|
||||||
* @license
|
|
||||||
* Copyright 2016 Alfresco Software, Ltd.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
export * from './public-api';
|
|
@ -1,18 +0,0 @@
|
|||||||
/*!
|
|
||||||
* @license
|
|
||||||
* Copyright 2016 Alfresco Software, Ltd.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
export * from './sidebar-action-menu.component';
|
|
@ -1,43 +0,0 @@
|
|||||||
/*!
|
|
||||||
* @license
|
|
||||||
* Copyright 2016 Alfresco Software, Ltd.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { MaterialModule } from '../material.module';
|
|
||||||
|
|
||||||
import { SidebarActionMenuComponent, SidebarMenuDirective, SidebarMenuExpandIconDirective, SidebarMenuTitleIconDirective } from './sidebar-action-menu.component';
|
|
||||||
|
|
||||||
export function declarations() {
|
|
||||||
return [
|
|
||||||
SidebarActionMenuComponent,
|
|
||||||
SidebarMenuDirective,
|
|
||||||
SidebarMenuExpandIconDirective,
|
|
||||||
SidebarMenuTitleIconDirective
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
||||||
@NgModule({
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
MaterialModule,
|
|
||||||
FlexLayoutModule
|
|
||||||
],
|
|
||||||
declarations: declarations(),
|
|
||||||
exports: declarations()
|
|
||||||
})
|
|
||||||
export class SideBarActionModule {}
|
|
@ -17,10 +17,10 @@
|
|||||||
|
|
||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
import { MaterialModule } from '../material.module';
|
import { MaterialModule } from '../../../material.module';
|
||||||
import { SidebarActionMenuComponent } from './sidebar-action-menu.component';
|
import { SidebarActionMenuComponent } from './sidebar-action-menu.component';
|
||||||
import { setupTestBed } from '../testing/setupTestBed';
|
import { setupTestBed } from '../../../testing/setupTestBed';
|
||||||
import { CoreTestingModule } from '../testing/core.testing.module';
|
import { CoreTestingModule } from '../../../testing/core.testing.module';
|
||||||
|
|
||||||
describe('SidebarActionMenuComponent', () => {
|
describe('SidebarActionMenuComponent', () => {
|
||||||
let element: HTMLElement;
|
let element: HTMLElement;
|
@ -23,6 +23,8 @@ import { SidenavLayoutHeaderDirective } from './directives/sidenav-layout-header
|
|||||||
import { SidenavLayoutNavigationDirective } from './directives/sidenav-layout-navigation.directive';
|
import { SidenavLayoutNavigationDirective } from './directives/sidenav-layout-navigation.directive';
|
||||||
import { SidenavLayoutComponent } from './components/sidenav-layout/sidenav-layout.component';
|
import { SidenavLayoutComponent } from './components/sidenav-layout/sidenav-layout.component';
|
||||||
import { LayoutContainerComponent } from './components/layout-container/layout-container.component';
|
import { LayoutContainerComponent } from './components/layout-container/layout-container.component';
|
||||||
|
import { SidebarActionMenuComponent, SidebarMenuDirective,
|
||||||
|
SidebarMenuExpandIconDirective, SidebarMenuTitleIconDirective } from './components/sidebar-action/sidebar-action-menu.component';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
@ -34,14 +36,22 @@ import { LayoutContainerComponent } from './components/layout-container/layout-c
|
|||||||
SidenavLayoutContentDirective,
|
SidenavLayoutContentDirective,
|
||||||
SidenavLayoutNavigationDirective,
|
SidenavLayoutNavigationDirective,
|
||||||
SidenavLayoutComponent,
|
SidenavLayoutComponent,
|
||||||
LayoutContainerComponent
|
LayoutContainerComponent,
|
||||||
|
SidebarActionMenuComponent,
|
||||||
|
SidebarMenuDirective,
|
||||||
|
SidebarMenuExpandIconDirective,
|
||||||
|
SidebarMenuTitleIconDirective
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
SidenavLayoutHeaderDirective,
|
SidenavLayoutHeaderDirective,
|
||||||
SidenavLayoutContentDirective,
|
SidenavLayoutContentDirective,
|
||||||
SidenavLayoutNavigationDirective,
|
SidenavLayoutNavigationDirective,
|
||||||
SidenavLayoutComponent,
|
SidenavLayoutComponent,
|
||||||
LayoutContainerComponent
|
LayoutContainerComponent,
|
||||||
|
SidebarActionMenuComponent,
|
||||||
|
SidebarMenuDirective,
|
||||||
|
SidebarMenuExpandIconDirective,
|
||||||
|
SidebarMenuTitleIconDirective
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class SidenavLayoutModule {}
|
export class SidenavLayoutModule {}
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
@import '../viewer/components/txtViewer.component';
|
@import '../viewer/components/txtViewer.component';
|
||||||
@import '../viewer/components/imgViewer.component';
|
@import '../viewer/components/imgViewer.component';
|
||||||
@import '../form/components/form.component';
|
@import '../form/components/form.component';
|
||||||
@import '../sidebar/sidebar-action-menu.component';
|
@import '../sidenav-layout/components/sidebar-action/sidebar-action-menu.component';
|
||||||
@import '../comments/comment-list.component';
|
@import '../comments/comment-list.component';
|
||||||
@import '../comments/comments.component';
|
@import '../comments/comments.component';
|
||||||
@import '../sidenav-layout/components/layout-container/layout-container.component';
|
@import '../sidenav-layout/components/layout-container/layout-container.component';
|
||||||
|
@ -4594,7 +4594,8 @@
|
|||||||
"character": 8,
|
"character": 8,
|
||||||
"fileName": "lib/core/core.module.ts"
|
"fileName": "lib/core/core.module.ts"
|
||||||
},
|
},
|
||||||
"name": "SideBarActionModule"
|
"name": "SideBarActionModule",
|
||||||
|
"skipError": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"position": {
|
"position": {
|
||||||
|
@ -4829,7 +4829,8 @@
|
|||||||
"character": 8,
|
"character": 8,
|
||||||
"fileName": "lib/core/core.module.ts"
|
"fileName": "lib/core/core.module.ts"
|
||||||
},
|
},
|
||||||
"name": "SideBarActionModule"
|
"name": "SideBarActionModule",
|
||||||
|
"skipError": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"position": {
|
"position": {
|
||||||
@ -4837,7 +4838,8 @@
|
|||||||
"character": 8,
|
"character": 8,
|
||||||
"fileName": "lib/core/core.module.ts"
|
"fileName": "lib/core/core.module.ts"
|
||||||
},
|
},
|
||||||
"name": "SideBarActionModule"
|
"name": "SideBarActionModule",
|
||||||
|
"skipError": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"position": {
|
"position": {
|
||||||
@ -5879,4 +5881,4 @@
|
|||||||
},
|
},
|
||||||
"name": "WidgetComponent"
|
"name": "WidgetComponent"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -5303,7 +5303,8 @@
|
|||||||
"character": 8,
|
"character": 8,
|
||||||
"fileName": "lib/core/core.module.ts"
|
"fileName": "lib/core/core.module.ts"
|
||||||
},
|
},
|
||||||
"name": "SideBarActionModule"
|
"name": "SideBarActionModule",
|
||||||
|
"skipError": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"position": {
|
"position": {
|
||||||
@ -5311,7 +5312,8 @@
|
|||||||
"character": 8,
|
"character": 8,
|
||||||
"fileName": "lib/core/core.module.ts"
|
"fileName": "lib/core/core.module.ts"
|
||||||
},
|
},
|
||||||
"name": "SideBarActionModule"
|
"name": "SideBarActionModule",
|
||||||
|
"skipError": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"position": {
|
"position": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user