-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from digipolisantwerp/refactor/calendar-title-…
…case Refactor/calendar title case
- Loading branch information
Showing
17 changed files
with
64 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { CalendarModule } from '@acpaas-ui/ngx-components/calendar'; | ||
import { CodeSnippetModule } from '@acpaas-ui/ngx-components/code-snippet'; | ||
|
||
import { Pages } from './pages/index'; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
CalendarModule, | ||
CodeSnippetModule, | ||
], | ||
declarations: [ | ||
Pages, | ||
], | ||
}) | ||
export class CalendarExamplesModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { Routes } from '@angular/router'; | ||
|
||
import { DemoPageComponent } from './pages/demo/demo.page'; | ||
|
||
export const CALENDAR_EXAMPLES_ROUTES: Routes = [ | ||
{ | ||
path: '', | ||
component: DemoPageComponent, | ||
pathMatch: 'full', | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { DemoPageComponent } from './pages/demo/demo.page'; | ||
export { CalendarExamplesModule } from './calendar.module'; | ||
export { CALENDAR_EXAMPLES_ROUTES } from './calendar.routes'; |
5 changes: 5 additions & 0 deletions
5
packages/calendar/examples/calendar/pages/demo/demo.page.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<h3 class="u-margin-bottom">Calendar demo</h3> | ||
|
||
<aui-calendar | ||
(selectDate)="selectDate($event)" | ||
></aui-calendar> |
10 changes: 10 additions & 0 deletions
10
packages/calendar/examples/calendar/pages/demo/demo.page.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
templateUrl: './demo.page.html', | ||
}) | ||
export class DemoPageComponent { | ||
public selectDate(event) { | ||
console.log(event); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { DemoPageComponent } from './demo/demo.page'; | ||
|
||
export const Pages = [ | ||
DemoPageComponent, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './calendar/index'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
{ | ||
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json", | ||
"dest": "../../examples/avatar", | ||
"dest": "../../examples/calendar", | ||
"deleteDestPath": false, | ||
"lib": { | ||
"entryFile": "examples/index.ts" | ||
} | ||
}, | ||
"whitelistedNonPeerDependencies": [ | ||
"@acpaas-ui/js-date-utils", | ||
"lodash-es" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
packages/calendar/src/lib/calendar/pipes/title-case.pipe.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import { AvatarExamplesModule } from '@acpaas-ui/ngx-examples/avatar'; | ||
import { CalendarExamplesModule } from '@acpaas-ui/ngx-examples/calendar'; | ||
import { LogoExamplesModule } from '@acpaas-ui/ngx-examples/logo'; | ||
|
||
export const ExamplesModules = [ | ||
AvatarExamplesModule, | ||
CalendarExamplesModule, | ||
LogoExamplesModule, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import { AVATAR_EXAMPLES_ROUTES } from '@acpaas-ui/ngx-examples/avatar'; | ||
import { CALENDAR_EXAMPLES_ROUTES } from '@acpaas-ui/ngx-examples/calendar'; | ||
import { LOGO_EXAMPLES_ROUTES } from '@acpaas-ui/ngx-examples/logo'; | ||
|
||
export const EXAMPLES_ROUTES = [ | ||
{ path: 'avatar', children: AVATAR_EXAMPLES_ROUTES }, | ||
{ path: 'calendar', children: CALENDAR_EXAMPLES_ROUTES }, | ||
{ path: 'logo', children: LOGO_EXAMPLES_ROUTES }, | ||
]; |