-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
85 changed files
with
1,182 additions
and
319 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
{ | ||
"root": true, | ||
"extends": ["@hug/eslint-config/recommended"], | ||
"rules": { | ||
// Use destroyRef and takeUntilDestroyed | ||
"rxjs-angular/prefer-takeuntil": "off" | ||
// "deprecation/deprecation": "warn" | ||
} | ||
"extends": [ | ||
"@hug/eslint-config/recommended" | ||
] | ||
} |
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,14 +1,11 @@ | ||
# Ignore all JS and TS files: | ||
**/*.js | ||
**/*.ts | ||
**/*.md | ||
|
||
/node_modules/ | ||
/.angular/ | ||
/.husky/ | ||
/.vscode/ | ||
/dist/ | ||
/.angular | ||
/.git | ||
/.nx | ||
/node_modules | ||
/dist | ||
|
||
/projects/**/package.json | ||
/projects/**/ng-package.json | ||
package-lock.json | ||
|
||
**/*.md | ||
**/*.js | ||
**/*.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 |
---|---|---|
@@ -1,12 +1,14 @@ | ||
{ | ||
"trailingComma": "all", | ||
"tabWidth": 4, | ||
"useTabs": false, | ||
"$schema": "https://json.schemastore.org/prettierrc.json", | ||
"plugins": [ | ||
"prettier-plugin-multiline-arrays" | ||
], | ||
"singleQuote": true, | ||
"bracketSameLine": true, | ||
"tabWidth": 4, | ||
"printWidth": 120, | ||
"endOfLine": "lf", | ||
"htmlWhitespaceSensitivity": "ignore", | ||
"proseWrap": "never", | ||
"endOfLine": "lf", | ||
"singleAttributePerLine": false, | ||
"printWidth": 800, | ||
"singleQuote": true | ||
"multilineArraysWrapThreshold": 0 | ||
} |
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,8 @@ | ||
{ | ||
"recommendations": [ | ||
"angular.ng-template", | ||
"sibiraj-s.vscode-scss-formatter", | ||
"esbenp.prettier-vscode", | ||
"dbaeumer.vscode-eslint", | ||
"pkief.material-icon-theme" | ||
] | ||
} |
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,20 +1,20 @@ | ||
{ | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "ng serve", | ||
"type": "pwa-chrome", | ||
"request": "launch", | ||
"preLaunchTask": "npm: start", | ||
"url": "http://localhost:4200/" | ||
}, | ||
{ | ||
"name": "ng test", | ||
"type": "chrome", | ||
"request": "launch", | ||
"preLaunchTask": "npm: test", | ||
"url": "http://localhost:9876/debug.html" | ||
} | ||
] | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "ng serve", | ||
"type": "chrome", | ||
"request": "launch", | ||
"preLaunchTask": "npm: start", | ||
"url": "http://localhost:4200/" | ||
}, | ||
{ | ||
"name": "ng test", | ||
"type": "chrome", | ||
"request": "launch", | ||
"preLaunchTask": "npm: test", | ||
"url": "http://localhost:9876/debug.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
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 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
29 changes: 26 additions & 3 deletions
29
projects/date-picker/src/datepicker-buttons/datepicker-buttons.component.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 |
---|---|---|
@@ -1,9 +1,32 @@ | ||
<button *ngIf="!hideClear" data-cy="dtp-clear" [disabled]="forInput.disabled" mat-icon-button class="ngx-date-picker-button" matTooltip="effacer" type="button" (click)="setValue($event, false)"> | ||
<button | ||
*ngIf="!hideClear" | ||
data-cy="dtp-clear" | ||
[disabled]="forInput.disabled" | ||
mat-icon-button | ||
class="ngx-date-picker-button" | ||
matTooltip="effacer" | ||
type="button" | ||
(click)="setValue($event, false)"> | ||
<mat-icon>close</mat-icon> | ||
</button> | ||
<button *ngIf="!hideToday" data-cy="dtp-today" [disabled]="forInput.disabled" mat-icon-button class="ngx-date-picker-button" matTooltip="aujourd'hui" type="button" (click)="setValue($event, true)"> | ||
<button | ||
*ngIf="!hideToday" | ||
data-cy="dtp-today" | ||
[disabled]="forInput.disabled" | ||
mat-icon-button | ||
class="ngx-date-picker-button" | ||
matTooltip="aujourd'hui" | ||
type="button" | ||
(click)="setValue($event, true)"> | ||
<mat-icon>today</mat-icon> | ||
</button> | ||
<button data-cy="dtp-open" [disabled]="forInput.disabled" mat-icon-button class="ngx-date-picker-button" matTooltip="ouvrir le calendrier" type="button" (click)="openCalendar()"> | ||
<button | ||
data-cy="dtp-open" | ||
[disabled]="forInput.disabled" | ||
mat-icon-button | ||
class="ngx-date-picker-button" | ||
matTooltip="ouvrir le calendrier" | ||
type="button" | ||
(click)="openCalendar()"> | ||
<mat-icon>date_range</mat-icon> | ||
</button> |
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
Oops, something went wrong.