Update folder structure and refactor
This commit is contained in:
parent
01624fc767
commit
940d8ee261
@ -1,29 +1,28 @@
|
|||||||
import {RouterModule} from '@angular/router';
|
import { RouterModule } from '@angular/router';
|
||||||
import {NgModule} from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {DashboardComponent} from './components/dashboard/dashboard.component';
|
import { DashboardComponent } from './components/dashboard/dashboard.component';
|
||||||
import {FormLayoutComponent} from './components/formlayout/formlayout.component';
|
import { FormLayoutComponent } from './components/formlayout/formlayout.component';
|
||||||
import {PanelsComponent} from './components/panels/panels.component';
|
import { PanelsComponent } from './components/panels/panels.component';
|
||||||
import {OverlaysComponent} from './components/overlays/overlays.component';
|
import { OverlaysComponent } from './components/overlays/overlays.component';
|
||||||
import {MediaComponent} from './components/media/media.component';
|
import { MediaComponent } from './components/media/media.component';
|
||||||
import {MessagesComponent} from './components/messages/messages.component';
|
import { MessagesComponent } from './components/messages/messages.component';
|
||||||
import {MiscComponent} from './components/misc/misc.component';
|
import { MiscComponent } from './components/misc/misc.component';
|
||||||
import {EmptyComponent} from './components/empty/empty.component';
|
import { EmptyComponent } from './components/empty/empty.component';
|
||||||
import {ChartsComponent} from './components/charts/charts.component';
|
import { ChartsComponent } from './components/charts/charts.component';
|
||||||
import {FileComponent} from './components/file/file.component';
|
import { FileComponent } from './components/file/file.component';
|
||||||
import {DocumentationComponent} from './components/documentation/documentation.component';
|
import { DocumentationComponent } from './components/documentation/documentation.component';
|
||||||
import {AppMainComponent} from './app.main.component';
|
import { AppMainComponent } from './app.main.component';
|
||||||
import {InputComponent} from './components/input/input.component';
|
import { InputComponent } from './components/input/input.component';
|
||||||
import {ButtonComponent} from './components/button/button.component';
|
import { ButtonComponent } from './components/button/button.component';
|
||||||
import {TableComponent} from './components/table/table.component';
|
import { TableComponent } from './components/table/table.component';
|
||||||
import {ListComponent} from './components/list/list.component';
|
import { ListComponent } from './components/list/list.component';
|
||||||
import {TreeComponent} from './components/tree/tree.component';
|
import { TreeComponent } from './components/tree/tree.component';
|
||||||
import {CrudComponent} from './components/crud/crud.component';
|
import { CrudComponent } from './components/crud/crud.component';
|
||||||
import {AppBlocksComponent} from './components/app-blocks/app-blocks.component';
|
import { AppBlocksComponent } from './components/app-blocks/app-blocks.component';
|
||||||
import {FloatLabelComponent} from './components/floatlabel/floatlabel.component';
|
import { FloatLabelComponent } from './components/floatlabel/floatlabel.component';
|
||||||
import {InvalidStateComponent} from './components/invalidstate/invalidstate.component';
|
import { InvalidStateComponent } from './components/invalidstate/invalidstate.component';
|
||||||
import {TimelineComponent} from './components/timeline/timeline.component';
|
import { TimelineComponent } from './components/timeline/timeline.component';
|
||||||
import {IconsComponent} from './components/icons/icons.component';
|
import { IconsComponent } from './components/icons/icons.component';
|
||||||
import {MenusComponent} from './components/menus/menus.component';
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forRoot([
|
RouterModule.forRoot([
|
||||||
@ -42,7 +41,7 @@ import {MenusComponent} from './components/menus/menus.component';
|
|||||||
{path: 'uikit/panel', component: PanelsComponent},
|
{path: 'uikit/panel', component: PanelsComponent},
|
||||||
{path: 'uikit/overlay', component: OverlaysComponent},
|
{path: 'uikit/overlay', component: OverlaysComponent},
|
||||||
{path: 'uikit/media', component: MediaComponent},
|
{path: 'uikit/media', component: MediaComponent},
|
||||||
{path: 'uikit/menu', component: MenusComponent},
|
{path: 'uikit/menu', loadChildren: () => import('./components/menus/menus.module').then(m => m.MenusModule)},
|
||||||
{path: 'uikit/message', component: MessagesComponent},
|
{path: 'uikit/message', component: MessagesComponent},
|
||||||
{path: 'uikit/misc', component: MiscComponent},
|
{path: 'uikit/misc', component: MiscComponent},
|
||||||
{path: 'uikit/charts', component: ChartsComponent},
|
{path: 'uikit/charts', component: ChartsComponent},
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {AppComponent} from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
import {AppMainComponent} from './app.main.component';
|
import { AppMainComponent } from './app.main.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-config',
|
selector: 'app-config',
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Component} from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import {AppComponent} from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-footer',
|
selector: 'app-footer',
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Component, AfterViewInit, OnDestroy, ViewChild, Renderer2, OnInit} from '@angular/core';
|
import { Component, AfterViewInit, OnDestroy, Renderer2, OnInit } from '@angular/core';
|
||||||
import {trigger, state, style, transition, animate} from '@angular/animations';
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
||||||
import { PrimeNGConfig } from 'primeng/api';
|
import { PrimeNGConfig } from 'primeng/api';
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Component, OnInit } from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {AppComponent} from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-menu',
|
selector: 'app-menu',
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import {ChangeDetectorRef, Component, Input, OnDestroy, OnInit} from '@angular/core';
|
import { ChangeDetectorRef, Component, Input, OnDestroy, OnInit } from '@angular/core';
|
||||||
import {NavigationEnd, Router} from '@angular/router';
|
import { NavigationEnd, Router } from '@angular/router';
|
||||||
import {animate, state, style, transition, trigger} from '@angular/animations';
|
import { animate, state, style, transition, trigger } from '@angular/animations';
|
||||||
import {Subscription} from 'rxjs';
|
import { Subscription } from 'rxjs';
|
||||||
import {filter} from 'rxjs/operators';
|
import { filter } from 'rxjs/operators';
|
||||||
import {MenuService} from './service/app.menu.service';
|
import { MenuService } from './service/app.menu.service';
|
||||||
import {AppMainComponent} from './app.main.component';
|
import { AppMainComponent } from './app.main.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
/* tslint:disable:component-selector */
|
/* tslint:disable:component-selector */
|
||||||
|
@ -1,133 +1,137 @@
|
|||||||
import {NgModule} from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {FormsModule} from '@angular/forms';
|
import { FormsModule } from '@angular/forms';
|
||||||
import { HttpClientModule } from '@angular/common/http';
|
import { HttpClientModule } from '@angular/common/http';
|
||||||
import {BrowserModule} from '@angular/platform-browser';
|
import { BrowserModule } from '@angular/platform-browser';
|
||||||
import {LocationStrategy, HashLocationStrategy} from '@angular/common';
|
import { LocationStrategy, HashLocationStrategy } from '@angular/common';
|
||||||
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||||
import {AppRoutingModule} from './app-routing.module';
|
import { AppRoutingModule } from './app-routing.module';
|
||||||
|
|
||||||
import {AccordionModule} from 'primeng/accordion';
|
import { AccordionModule } from 'primeng/accordion';
|
||||||
import {AutoCompleteModule} from 'primeng/autocomplete';
|
import { AutoCompleteModule } from 'primeng/autocomplete';
|
||||||
import {AvatarModule} from 'primeng/avatar';
|
import { AvatarModule } from 'primeng/avatar';
|
||||||
import {AvatarGroupModule} from 'primeng/avatargroup';
|
import { AvatarGroupModule } from 'primeng/avatargroup';
|
||||||
import {BadgeModule} from 'primeng/badge';
|
import { BadgeModule } from 'primeng/badge';
|
||||||
import {BreadcrumbModule} from 'primeng/breadcrumb';
|
import { BreadcrumbModule } from 'primeng/breadcrumb';
|
||||||
import {ButtonModule} from 'primeng/button';
|
import { ButtonModule } from 'primeng/button';
|
||||||
import {CalendarModule} from 'primeng/calendar';
|
import { CalendarModule } from 'primeng/calendar';
|
||||||
import {CardModule} from 'primeng/card';
|
import { CardModule } from 'primeng/card';
|
||||||
import {CarouselModule} from 'primeng/carousel';
|
import { CarouselModule } from 'primeng/carousel';
|
||||||
import {CascadeSelectModule} from 'primeng/cascadeselect';
|
import { CascadeSelectModule } from 'primeng/cascadeselect';
|
||||||
import {ChartModule} from 'primeng/chart';
|
import { ChartModule } from 'primeng/chart';
|
||||||
import {CheckboxModule} from 'primeng/checkbox';
|
import { CheckboxModule } from 'primeng/checkbox';
|
||||||
import {ChipModule} from 'primeng/chip';
|
import { ChipModule } from 'primeng/chip';
|
||||||
import {ChipsModule} from 'primeng/chips';
|
import { ChipsModule } from 'primeng/chips';
|
||||||
import {CodeHighlighterModule} from 'primeng/codehighlighter';
|
import { CodeHighlighterModule } from 'primeng/codehighlighter';
|
||||||
import {ConfirmDialogModule} from 'primeng/confirmdialog';
|
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
||||||
import {ConfirmPopupModule} from 'primeng/confirmpopup';
|
import { ConfirmPopupModule } from 'primeng/confirmpopup';
|
||||||
import {ColorPickerModule} from 'primeng/colorpicker';
|
import { ColorPickerModule } from 'primeng/colorpicker';
|
||||||
import {ContextMenuModule} from 'primeng/contextmenu';
|
import { ContextMenuModule } from 'primeng/contextmenu';
|
||||||
import {DataViewModule} from 'primeng/dataview';
|
import { DataViewModule } from 'primeng/dataview';
|
||||||
import {DialogModule} from 'primeng/dialog';
|
import { DialogModule } from 'primeng/dialog';
|
||||||
import {DividerModule} from 'primeng/divider';
|
import { DividerModule } from 'primeng/divider';
|
||||||
import {DropdownModule} from 'primeng/dropdown';
|
import { DropdownModule } from 'primeng/dropdown';
|
||||||
import {FieldsetModule} from 'primeng/fieldset';
|
import { FieldsetModule } from 'primeng/fieldset';
|
||||||
import {FileUploadModule} from 'primeng/fileupload';
|
import { FileUploadModule } from 'primeng/fileupload';
|
||||||
import {GalleriaModule} from 'primeng/galleria';
|
import { GalleriaModule } from 'primeng/galleria';
|
||||||
import {ImageModule} from 'primeng/image';
|
import { ImageModule } from 'primeng/image';
|
||||||
import {InplaceModule} from 'primeng/inplace';
|
import { InplaceModule } from 'primeng/inplace';
|
||||||
import {InputNumberModule} from 'primeng/inputnumber';
|
import { InputNumberModule } from 'primeng/inputnumber';
|
||||||
import {InputMaskModule} from 'primeng/inputmask';
|
import { InputMaskModule } from 'primeng/inputmask';
|
||||||
import {InputSwitchModule} from 'primeng/inputswitch';
|
import { InputSwitchModule } from 'primeng/inputswitch';
|
||||||
import {InputTextModule} from 'primeng/inputtext';
|
import { InputTextModule } from 'primeng/inputtext';
|
||||||
import {InputTextareaModule} from 'primeng/inputtextarea';
|
import { InputTextareaModule } from 'primeng/inputtextarea';
|
||||||
import {KnobModule} from 'primeng/knob';
|
import { KnobModule } from 'primeng/knob';
|
||||||
import {LightboxModule} from 'primeng/lightbox';
|
import { LightboxModule } from 'primeng/lightbox';
|
||||||
import {ListboxModule} from 'primeng/listbox';
|
import { ListboxModule } from 'primeng/listbox';
|
||||||
import {MegaMenuModule} from 'primeng/megamenu';
|
import { MegaMenuModule } from 'primeng/megamenu';
|
||||||
import {MenuModule} from 'primeng/menu';
|
import { MenuModule } from 'primeng/menu';
|
||||||
import {MenubarModule} from 'primeng/menubar';
|
import { MenubarModule } from 'primeng/menubar';
|
||||||
import {MessagesModule} from 'primeng/messages';
|
import { MessagesModule } from 'primeng/messages';
|
||||||
import {MessageModule} from 'primeng/message';
|
import { MessageModule } from 'primeng/message';
|
||||||
import {MultiSelectModule} from 'primeng/multiselect';
|
import { MultiSelectModule } from 'primeng/multiselect';
|
||||||
import {OrderListModule} from 'primeng/orderlist';
|
import { OrderListModule } from 'primeng/orderlist';
|
||||||
import {OrganizationChartModule} from 'primeng/organizationchart';
|
import { OrganizationChartModule } from 'primeng/organizationchart';
|
||||||
import {OverlayPanelModule} from 'primeng/overlaypanel';
|
import { OverlayPanelModule } from 'primeng/overlaypanel';
|
||||||
import {PaginatorModule} from 'primeng/paginator';
|
import { PaginatorModule } from 'primeng/paginator';
|
||||||
import {PanelModule} from 'primeng/panel';
|
import { PanelModule } from 'primeng/panel';
|
||||||
import {PanelMenuModule} from 'primeng/panelmenu';
|
import { PanelMenuModule } from 'primeng/panelmenu';
|
||||||
import {PasswordModule} from 'primeng/password';
|
import { PasswordModule } from 'primeng/password';
|
||||||
import {PickListModule} from 'primeng/picklist';
|
import { PickListModule } from 'primeng/picklist';
|
||||||
import {ProgressBarModule} from 'primeng/progressbar';
|
import { ProgressBarModule } from 'primeng/progressbar';
|
||||||
import {RadioButtonModule} from 'primeng/radiobutton';
|
import { RadioButtonModule } from 'primeng/radiobutton';
|
||||||
import {RatingModule} from 'primeng/rating';
|
import { RatingModule } from 'primeng/rating';
|
||||||
import {RippleModule} from 'primeng/ripple';
|
import { RippleModule } from 'primeng/ripple';
|
||||||
import {ScrollPanelModule} from 'primeng/scrollpanel';
|
import { ScrollPanelModule } from 'primeng/scrollpanel';
|
||||||
import {ScrollTopModule} from 'primeng/scrolltop';
|
import { ScrollTopModule } from 'primeng/scrolltop';
|
||||||
import {SelectButtonModule} from 'primeng/selectbutton';
|
import { SelectButtonModule } from 'primeng/selectbutton';
|
||||||
import {SidebarModule} from 'primeng/sidebar';
|
import { SidebarModule } from 'primeng/sidebar';
|
||||||
import {SkeletonModule} from 'primeng/skeleton';
|
import { SkeletonModule } from 'primeng/skeleton';
|
||||||
import {SlideMenuModule} from 'primeng/slidemenu';
|
import { SlideMenuModule } from 'primeng/slidemenu';
|
||||||
import {SliderModule} from 'primeng/slider';
|
import { SliderModule } from 'primeng/slider';
|
||||||
import {SplitButtonModule} from 'primeng/splitbutton';
|
import { SplitButtonModule } from 'primeng/splitbutton';
|
||||||
import {SplitterModule} from 'primeng/splitter';
|
import { SplitterModule } from 'primeng/splitter';
|
||||||
import {StepsModule} from 'primeng/steps';
|
import { StepsModule } from 'primeng/steps';
|
||||||
import {TabMenuModule} from 'primeng/tabmenu';
|
import { TabMenuModule } from 'primeng/tabmenu';
|
||||||
import {TableModule} from 'primeng/table';
|
import { TableModule } from 'primeng/table';
|
||||||
import {TabViewModule} from 'primeng/tabview';
|
import { TabViewModule } from 'primeng/tabview';
|
||||||
import {TagModule} from 'primeng/tag';
|
import { TagModule } from 'primeng/tag';
|
||||||
import {TerminalModule} from 'primeng/terminal';
|
import { TerminalModule } from 'primeng/terminal';
|
||||||
import {TieredMenuModule} from 'primeng/tieredmenu';
|
import { TieredMenuModule } from 'primeng/tieredmenu';
|
||||||
import {TimelineModule} from 'primeng/timeline';
|
import { TimelineModule } from 'primeng/timeline';
|
||||||
import {ToastModule} from 'primeng/toast';
|
import { ToastModule } from 'primeng/toast';
|
||||||
import {ToggleButtonModule} from 'primeng/togglebutton';
|
import { ToggleButtonModule } from 'primeng/togglebutton';
|
||||||
import {ToolbarModule} from 'primeng/toolbar';
|
import { ToolbarModule } from 'primeng/toolbar';
|
||||||
import {TooltipModule} from 'primeng/tooltip';
|
import { TooltipModule } from 'primeng/tooltip';
|
||||||
import {TreeModule} from 'primeng/tree';
|
import { TreeModule } from 'primeng/tree';
|
||||||
import {TreeSelectModule} from 'primeng/treeselect';
|
import { TreeSelectModule } from 'primeng/treeselect';
|
||||||
import {TreeTableModule} from 'primeng/treetable';
|
import { TreeTableModule } from 'primeng/treetable';
|
||||||
import {VirtualScrollerModule} from 'primeng/virtualscroller';
|
import { VirtualScrollerModule } from 'primeng/virtualscroller';
|
||||||
import {BlockViewer} from './components/app-blockviewer/app.blockviewer.component';
|
import { BlockViewer } from './components/app-blockviewer/app.blockviewer.component';
|
||||||
|
|
||||||
|
import { AppCodeModule } from './components/app-code/app.code.component';
|
||||||
|
import { AppComponent } from './app.component';
|
||||||
|
import { AppMainComponent } from './app.main.component';
|
||||||
|
import { AppTopBarComponent } from './app.topbar.component';
|
||||||
|
import { AppFooterComponent } from './app.footer.component';
|
||||||
|
import { AppConfigComponent } from './app.config.component';
|
||||||
|
import { AppMenuComponent } from './app.menu.component';
|
||||||
|
import { AppMenuitemComponent } from './app.menuitem.component';
|
||||||
|
import { DashboardComponent } from './components/dashboard/dashboard.component';
|
||||||
|
import { FormLayoutComponent } from './components/formlayout/formlayout.component';
|
||||||
|
import { FloatLabelComponent } from './components/floatlabel/floatlabel.component';
|
||||||
|
import { InvalidStateComponent } from './components/invalidstate/invalidstate.component';
|
||||||
|
import { InputComponent } from './components/input/input.component';
|
||||||
|
import { ButtonComponent } from './components/button/button.component';
|
||||||
|
import { TableComponent } from './components/table/table.component';
|
||||||
|
import { ListComponent } from './components/list/list.component';
|
||||||
|
import { TreeComponent } from './components/tree/tree.component';
|
||||||
|
import { PanelsComponent } from './components/panels/panels.component';
|
||||||
|
import { OverlaysComponent } from './components/overlays/overlays.component';
|
||||||
|
import { MediaComponent } from './components/media/media.component';
|
||||||
|
import { MenusComponent } from './components/menus/menus.component';
|
||||||
|
import { MessagesComponent } from './components/messages/messages.component';
|
||||||
|
import { MiscComponent } from './components/misc/misc.component';
|
||||||
|
import { EmptyComponent } from './components/empty/empty.component';
|
||||||
|
import { ChartsComponent } from './components/charts/charts.component';
|
||||||
|
import { FileComponent } from './components/file/file.component';
|
||||||
|
import { DocumentationComponent } from './components/documentation/documentation.component';
|
||||||
|
import { CrudComponent } from './components/crud/crud.component';
|
||||||
|
import { TimelineComponent } from './components/timeline/timeline.component';
|
||||||
|
import { IconsComponent } from './components/icons/icons.component';
|
||||||
|
import { AppBlocksComponent } from './components/app-blocks/app-blocks.component';
|
||||||
|
|
||||||
import {AppCodeModule} from './components/app-code/app.code.component';
|
import { PaymentComponent} from './components/menus/payment.component';
|
||||||
import {AppComponent} from './app.component';
|
import { ConfirmationComponent } from './components/menus/confirmation.component';
|
||||||
import {AppMainComponent} from './app.main.component';
|
import { PersonalComponent } from './components/menus/personal.component';
|
||||||
import {AppTopBarComponent} from './app.topbar.component';
|
import { SeatComponent } from './components/menus/seat.component';
|
||||||
import {AppFooterComponent} from './app.footer.component';
|
import { CountryService } from './service/countryservice';
|
||||||
import {AppConfigComponent} from './app.config.component';
|
import { CustomerService } from './service/customerservice';
|
||||||
import {AppMenuComponent} from './app.menu.component';
|
import { EventService } from './service/eventservice';
|
||||||
import {AppMenuitemComponent} from './app.menuitem.component';
|
import { IconService } from './service/iconservice';
|
||||||
import {DashboardComponent} from './components/dashboard/dashboard.component';
|
import { NodeService } from './service/nodeservice';
|
||||||
import {FormLayoutComponent} from './components/formlayout/formlayout.component';
|
import { PhotoService } from './service/photoservice';
|
||||||
import {FloatLabelComponent} from './components/floatlabel/floatlabel.component';
|
import { ProductService } from './service/productservice';
|
||||||
import {InvalidStateComponent} from './components/invalidstate/invalidstate.component';
|
import { MenuService } from './service/app.menu.service';
|
||||||
import {InputComponent} from './components/input/input.component';
|
|
||||||
import {ButtonComponent} from './components/button/button.component';
|
|
||||||
import {TableComponent} from './components/table/table.component';
|
|
||||||
import {ListComponent} from './components/list/list.component';
|
|
||||||
import {TreeComponent} from './components/tree/tree.component';
|
|
||||||
import {PanelsComponent} from './components/panels/panels.component';
|
|
||||||
import {OverlaysComponent} from './components/overlays/overlays.component';
|
|
||||||
import {MediaComponent} from './components/media/media.component';
|
|
||||||
import {MenusComponent} from './components/menus/menus.component';
|
|
||||||
import {MessagesComponent} from './components/messages/messages.component';
|
|
||||||
import {MiscComponent} from './components/misc/misc.component';
|
|
||||||
import {EmptyComponent} from './components/empty/empty.component';
|
|
||||||
import {ChartsComponent} from './components/charts/charts.component';
|
|
||||||
import {FileComponent} from './components/file/file.component';
|
|
||||||
import {DocumentationComponent} from './components/documentation/documentation.component';
|
|
||||||
import {CrudComponent} from './components/crud/crud.component';
|
|
||||||
import {TimelineComponent} from './components/timeline/timeline.component';
|
|
||||||
import {IconsComponent} from './components/icons/icons.component';
|
|
||||||
import {AppBlocksComponent} from './components/app-blocks/app-blocks.component';
|
|
||||||
|
|
||||||
import {CountryService} from './service/countryservice';
|
|
||||||
import {CustomerService} from './service/customerservice';
|
|
||||||
import {EventService} from './service/eventservice';
|
|
||||||
import {IconService} from './service/iconservice';
|
|
||||||
import {NodeService} from './service/nodeservice';
|
|
||||||
import {PhotoService} from './service/photoservice';
|
|
||||||
import {ProductService} from './service/productservice';
|
|
||||||
import {MenuService} from './service/app.menu.service';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
@ -250,11 +254,11 @@ import {MenuService} from './service/app.menu.service';
|
|||||||
TimelineComponent,
|
TimelineComponent,
|
||||||
AppBlocksComponent,
|
AppBlocksComponent,
|
||||||
BlockViewer,
|
BlockViewer,
|
||||||
// SeatDemoComponent,
|
MediaComponent,
|
||||||
// PaymentDemoComponent,
|
PaymentComponent,
|
||||||
// PersonalDemoComponent,
|
ConfirmationComponent,
|
||||||
// ConfirmationDemoComponent,
|
PersonalComponent,
|
||||||
MediaComponent
|
SeatComponent,
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
{provide: LocationStrategy, useClass: HashLocationStrategy},
|
{provide: LocationStrategy, useClass: HashLocationStrategy},
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import {Component, OnDestroy} from '@angular/core';
|
import { Component, OnDestroy } from '@angular/core';
|
||||||
import { AppComponent } from './app.component';
|
import { AppComponent } from './app.component';
|
||||||
import { AppMainComponent } from './app.main.component';
|
import { AppMainComponent } from './app.main.component';
|
||||||
import { Subscription } from 'rxjs';
|
import { Subscription } from 'rxjs';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {MenuItem} from 'primeng/api';
|
import { MenuItem } from 'primeng/api';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './button.component.html'
|
templateUrl: './button.component.html'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './charts.component.html'
|
templateUrl: './charts.component.html'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {Product} from '../../api/product';
|
import { Product } from '../../api/product';
|
||||||
import {ProductService} from '../../service/productservice';
|
import { ProductService } from '../../service/productservice';
|
||||||
import {ConfirmationService, MessageService} from 'primeng/api';
|
import { ConfirmationService, MessageService } from 'primeng/api';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './crud.component.html',
|
templateUrl: './crud.component.html',
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {MenuModule} from 'primeng/menu';
|
import { MenuItem } from 'primeng/api';
|
||||||
import {MenuItem} from 'primeng/api';
|
import { Product } from '../../api/product';
|
||||||
import {Product} from '../../api/product';
|
import { ProductService } from '../../service/productservice';
|
||||||
import {ProductService} from '../../service/productservice';
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './dashboard.component.html',
|
templateUrl: './dashboard.component.html',
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import {Component} from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './documentation.component.html',
|
templateUrl: './documentation.component.html',
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import {Component} from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './empty.component.html'
|
templateUrl: './empty.component.html'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Component} from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import {MessageService} from 'primeng/api';
|
import { MessageService } from 'primeng/api';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './file.component.html',
|
templateUrl: './file.component.html',
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {CountryService} from '../../service/countryservice';
|
import { CountryService } from '../../service/countryservice';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './floatlabel.component.html',
|
templateUrl: './floatlabel.component.html',
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import {Component} from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './formlayout.component.html'
|
templateUrl: './formlayout.component.html'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {CountryService} from '../../service/countryservice';
|
import { CountryService } from '../../service/countryservice';
|
||||||
import {NodeService} from '../../service/nodeservice';
|
import { NodeService } from '../../service/nodeservice';
|
||||||
import {SelectItem} from 'primeng/api';
|
import { SelectItem } from 'primeng/api';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './input.component.html',
|
templateUrl: './input.component.html',
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {CountryService} from '../../service/countryservice';
|
import { CountryService } from '../../service/countryservice';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './invalidstate.component.html'
|
templateUrl: './invalidstate.component.html'
|
||||||
})
|
})
|
||||||
export class InvalidStateComponent implements OnInit {
|
export class InvalidStateComponent implements OnInit {
|
||||||
|
|
||||||
|
|
||||||
countries: any[];
|
countries: any[];
|
||||||
|
|
||||||
cities: any[];
|
cities: any[];
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {SelectItem} from 'primeng/api';
|
import { SelectItem } from 'primeng/api';
|
||||||
import {Product} from '../../api/product';
|
import { Product } from '../../api/product';
|
||||||
import {ProductService} from '../../service/productservice';
|
import { ProductService } from '../../service/productservice';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './list.component.html',
|
templateUrl: './list.component.html',
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {ProductService} from '../../service/productservice';
|
import { ProductService } from '../../service/productservice';
|
||||||
import {PhotoService} from '../../service/photoservice';
|
import { PhotoService } from '../../service/photoservice';
|
||||||
import {Product} from '../../api/product';
|
import { Product } from '../../api/product';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-media',
|
selector: 'app-media',
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-confirmationdemo',
|
selector: 'app-confirmation',
|
||||||
template: `
|
template: `
|
||||||
<div class="flex flex-column align-items-center py-5 px-3">
|
<div class="flex flex-column align-items-center py-5 px-3">
|
||||||
<i class="pi pi-fw pi-check mr-2 text-2xl"></i>
|
<i class="pi pi-fw pi-check mr-2 text-2xl"></i>
|
||||||
@ -9,7 +9,7 @@ import { Component } from '@angular/core';
|
|||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
})
|
})
|
||||||
export class ConfirmationDemoComponent {
|
export class ConfirmationComponent {
|
||||||
|
|
||||||
constructor() { }
|
constructor() { }
|
||||||
}
|
}
|
@ -1,5 +1,5 @@
|
|||||||
import {Component, OnInit, ViewEncapsulation} from '@angular/core';
|
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
|
||||||
import {MegaMenuItem, MenuItem} from 'primeng/api';
|
import { MegaMenuItem, MenuItem } from 'primeng/api';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './menus.component.html',
|
templateUrl: './menus.component.html',
|
||||||
|
27
src/app/components/menus/menus.module.ts
Normal file
27
src/app/components/menus/menus.module.ts
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
import { NgModule } from '@angular/core';
|
||||||
|
import { CommonModule } from '@angular/common';
|
||||||
|
import { RouterModule } from '@angular/router';
|
||||||
|
|
||||||
|
import { PaymentComponent } from './payment.component';
|
||||||
|
import { SeatComponent } from './seat.component';
|
||||||
|
import { PersonalComponent } from './personal.component';
|
||||||
|
import { ConfirmationComponent } from './confirmation.component';
|
||||||
|
import { MenusComponent } from './menus.component';
|
||||||
|
|
||||||
|
@NgModule({
|
||||||
|
declarations: [],
|
||||||
|
imports: [
|
||||||
|
CommonModule,
|
||||||
|
RouterModule.forChild([
|
||||||
|
{path:'',component: MenusComponent, children:[
|
||||||
|
{path:'', redirectTo: 'personal', pathMatch: 'full'},
|
||||||
|
{path: 'personal', component: PersonalComponent},
|
||||||
|
{path: 'confirmation', component: ConfirmationComponent},
|
||||||
|
{path: 'seat', component: SeatComponent},
|
||||||
|
{path: 'payment', component: PaymentComponent}
|
||||||
|
]}
|
||||||
|
])
|
||||||
|
],
|
||||||
|
exports: [RouterModule]
|
||||||
|
})
|
||||||
|
export class MenusModule { }
|
@ -1,7 +1,7 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-paymentdemo',
|
selector: 'app-payment',
|
||||||
template: `
|
template: `
|
||||||
<div class="flex flex-column align-items-center py-5 px-3">
|
<div class="flex flex-column align-items-center py-5 px-3">
|
||||||
<i class="pi pi-fw pi-money-bill mr-2 text-2xl"></i>
|
<i class="pi pi-fw pi-money-bill mr-2 text-2xl"></i>
|
||||||
@ -9,7 +9,7 @@ import { Component } from '@angular/core';
|
|||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
})
|
})
|
||||||
export class PaymentDemoComponent{
|
export class PaymentComponent{
|
||||||
|
|
||||||
constructor() { }
|
constructor() { }
|
||||||
}
|
}
|
@ -1,7 +1,7 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-personaldemo',
|
selector: 'app-personal',
|
||||||
template: `
|
template: `
|
||||||
<div class="flex flex-column align-items-center py-5 px-3">
|
<div class="flex flex-column align-items-center py-5 px-3">
|
||||||
<i class="pi pi-fw pi-user mr-2 text-2xl"></i>
|
<i class="pi pi-fw pi-user mr-2 text-2xl"></i>
|
||||||
@ -9,7 +9,7 @@ import { Component } from '@angular/core';
|
|||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
})
|
})
|
||||||
export class PersonalDemoComponent{
|
export class PersonalComponent{
|
||||||
|
|
||||||
constructor() { }
|
constructor() { }
|
||||||
}
|
}
|
@ -1,7 +1,7 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-seatdemo',
|
selector: 'app-seat',
|
||||||
template: `
|
template: `
|
||||||
<div class="flex flex-column align-items-center py-5 px-3">
|
<div class="flex flex-column align-items-center py-5 px-3">
|
||||||
<i class="pi pi-fw pi-ticket mr-2 text-2xl"></i>
|
<i class="pi pi-fw pi-ticket mr-2 text-2xl"></i>
|
||||||
@ -9,7 +9,7 @@ import { Component } from '@angular/core';
|
|||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
})
|
})
|
||||||
export class SeatDemoComponent{
|
export class SeatComponent{
|
||||||
|
|
||||||
constructor() { }
|
constructor() { }
|
||||||
}
|
}
|
@ -1,27 +0,0 @@
|
|||||||
import { NgModule } from '@angular/core';
|
|
||||||
import { CommonModule } from '@angular/common';
|
|
||||||
import { RouterModule, Routes } from '@angular/router';
|
|
||||||
|
|
||||||
import { PaymentDemoComponent } from './paymentdemo.component';
|
|
||||||
import { SeatDemoComponent } from './seatdemo.component';
|
|
||||||
import { PersonalDemoComponent } from './personaldemo.component';
|
|
||||||
import { ConfirmationDemoComponent } from './confirmationdemo.component';
|
|
||||||
// import { MenusDemoComponent } from '../menusdemo.component';
|
|
||||||
|
|
||||||
@NgModule({
|
|
||||||
declarations: [],
|
|
||||||
imports: [
|
|
||||||
CommonModule,
|
|
||||||
RouterModule.forChild([
|
|
||||||
// {path:'',component: MenusDemoComponent, children:[
|
|
||||||
// {path:'', redirectTo: 'personal', pathMatch: 'full'},
|
|
||||||
// {path: 'personal', component: PersonalDemoComponent},
|
|
||||||
// {path: 'confirmation', component: ConfirmationDemoComponent},
|
|
||||||
// {path: 'seat', component: SeatDemoComponent},
|
|
||||||
// {path: 'payment', component: PaymentDemoComponent}
|
|
||||||
// ]}
|
|
||||||
])
|
|
||||||
],
|
|
||||||
exports: [RouterModule]
|
|
||||||
})
|
|
||||||
export class MenudemoModule { }
|
|
@ -1,5 +1,5 @@
|
|||||||
import {Component} from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import {Message, MessageService} from 'primeng/api';
|
import { Message, MessageService } from 'primeng/api';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './messages.component.html',
|
templateUrl: './messages.component.html',
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './misc.component.html',
|
templateUrl: './misc.component.html',
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {ConfirmationService, MessageService} from 'primeng/api';
|
import { ConfirmationService, MessageService } from 'primeng/api';
|
||||||
import {Product} from '../../api/product';
|
import { Product } from '../../api/product';
|
||||||
import {AppMainComponent} from 'src/app/app.main.component';
|
import { AppMainComponent } from 'src/app/app.main.component';
|
||||||
import {ProductService} from '../../service/productservice';
|
import { ProductService } from '../../service/productservice';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './overlays.component.html',
|
templateUrl: './overlays.component.html',
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {MenuItem} from 'primeng/api';
|
import { MenuItem } from 'primeng/api';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './panels.component.html',
|
templateUrl: './panels.component.html',
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import {Component, OnInit, ViewChild, ChangeDetectorRef, ElementRef} from '@angular/core';
|
import { Component, OnInit, ViewChild, ChangeDetectorRef, ElementRef } from '@angular/core';
|
||||||
import {Customer, Representative} from '../../api/customer';
|
import { Customer, Representative } from '../../api/customer';
|
||||||
import {CustomerService} from '../../service/customerservice';
|
import { CustomerService } from '../../service/customerservice';
|
||||||
import {Product} from '../../api/product';
|
import { Product } from '../../api/product';
|
||||||
import {ProductService} from '../../service/productservice';
|
import { ProductService } from '../../service/productservice';
|
||||||
import {Table} from 'primeng/table';
|
import { Table } from 'primeng/table';
|
||||||
import { MessageService, ConfirmationService } from 'primeng/api'
|
import { MessageService, ConfirmationService } from 'primeng/api'
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {PrimeIcons} from 'primeng/api';
|
import { PrimeIcons } from 'primeng/api';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './timeline.component.html',
|
templateUrl: './timeline.component.html',
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import { Component, OnInit } from '@angular/core';
|
||||||
import {NodeService} from '../../service/nodeservice';
|
import { NodeService } from '../../service/nodeservice';
|
||||||
import {TreeNode} from 'primeng/api';
|
import { TreeNode } from 'primeng/api';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './tree.component.html'
|
templateUrl: './tree.component.html'
|
||||||
|
Loading…
Reference in New Issue
Block a user