ngx-animating-datepicker 1.2.0 → 2.0.0

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.
Files changed (56) hide show
  1. package/README.md +33 -1
  2. package/fesm2022/ngx-animating-datepicker.mjs +1534 -0
  3. package/fesm2022/ngx-animating-datepicker.mjs.map +1 -0
  4. package/package.json +32 -17
  5. package/types/ngx-animating-datepicker.d.ts +551 -0
  6. package/bundles/ngx-animating-datepicker.umd.js +0 -2594
  7. package/bundles/ngx-animating-datepicker.umd.js.map +0 -1
  8. package/bundles/ngx-animating-datepicker.umd.min.js +0 -2
  9. package/bundles/ngx-animating-datepicker.umd.min.js.map +0 -1
  10. package/esm2015/lib/components/animatepicker/animatepicker.component.js +0 -468
  11. package/esm2015/lib/components/datepicker/datepicker.component.js +0 -703
  12. package/esm2015/lib/components/datepicker/datepicker.directive.js +0 -408
  13. package/esm2015/lib/components/datepicker/datepicker.options.js +0 -41
  14. package/esm2015/lib/components/navigation/navigation.component.js +0 -233
  15. package/esm2015/lib/components/sub-navigation/sub-navigation.component.js +0 -48
  16. package/esm2015/lib/models/datepicker-options.model.js +0 -35
  17. package/esm2015/lib/models/datepicker.model.js +0 -75
  18. package/esm2015/lib/models/directive-options.model.js +0 -19
  19. package/esm2015/lib/ngx-animating-datepicker.module.js +0 -35
  20. package/esm2015/lib/services/datepicker.service.js +0 -161
  21. package/esm2015/lib/services/utilities.service.js +0 -56
  22. package/esm2015/ngx-animating-datepicker.js +0 -13
  23. package/esm2015/public_api.js +0 -8
  24. package/esm5/lib/components/animatepicker/animatepicker.component.js +0 -574
  25. package/esm5/lib/components/datepicker/datepicker.component.js +0 -928
  26. package/esm5/lib/components/datepicker/datepicker.directive.js +0 -499
  27. package/esm5/lib/components/datepicker/datepicker.options.js +0 -41
  28. package/esm5/lib/components/navigation/navigation.component.js +0 -298
  29. package/esm5/lib/components/sub-navigation/sub-navigation.component.js +0 -48
  30. package/esm5/lib/models/datepicker-options.model.js +0 -35
  31. package/esm5/lib/models/datepicker.model.js +0 -75
  32. package/esm5/lib/models/directive-options.model.js +0 -19
  33. package/esm5/lib/ngx-animating-datepicker.module.js +0 -39
  34. package/esm5/lib/services/datepicker.service.js +0 -307
  35. package/esm5/lib/services/utilities.service.js +0 -73
  36. package/esm5/ngx-animating-datepicker.js +0 -13
  37. package/esm5/public_api.js +0 -8
  38. package/fesm2015/ngx-animating-datepicker.js +0 -1886
  39. package/fesm2015/ngx-animating-datepicker.js.map +0 -1
  40. package/fesm5/ngx-animating-datepicker.js +0 -2529
  41. package/fesm5/ngx-animating-datepicker.js.map +0 -1
  42. package/lib/components/animatepicker/animatepicker.component.d.ts +0 -112
  43. package/lib/components/datepicker/datepicker.component.d.ts +0 -191
  44. package/lib/components/datepicker/datepicker.directive.d.ts +0 -92
  45. package/lib/components/datepicker/datepicker.options.d.ts +0 -20
  46. package/lib/components/navigation/navigation.component.d.ts +0 -52
  47. package/lib/components/sub-navigation/sub-navigation.component.d.ts +0 -8
  48. package/lib/models/datepicker-options.model.d.ts +0 -14
  49. package/lib/models/datepicker.model.d.ts +0 -29
  50. package/lib/models/directive-options.model.d.ts +0 -6
  51. package/lib/ngx-animating-datepicker.module.d.ts +0 -2
  52. package/lib/services/datepicker.service.d.ts +0 -77
  53. package/lib/services/utilities.service.d.ts +0 -12
  54. package/ngx-animating-datepicker.d.ts +0 -8
  55. package/ngx-animating-datepicker.metadata.json +0 -1
  56. package/public_api.d.ts +0 -5
package/README.md CHANGED
@@ -1,7 +1,19 @@
1
1
  # Animating Angular Datepicker
2
2
  An Animating Datepicker for Angular 2+. For some smooth date picking :). Including range functionality, multiple calendars next to each other and loads of other functionality. Checkout the [Demo page](http://zigterman.com/datepicker) for a preview.
3
3
 
4
- Want a improvement or found bug? please use the pull request functionality or create an issue.
4
+ Want an improvement or found bug? please use the pull request functionality or create an issue.
5
+
6
+ #### Some existing- and upcoming features
7
+ - [x] Directive
8
+ - [x] Reactive Forms Support
9
+ - [x] Multiple Calendars next to each other
10
+ - [x] Composable footer
11
+ - [x] Themable
12
+ - [x] Multi Languages support using Intl.DateTimeFormat
13
+ - [x] Animations
14
+ - [ ] i18n
15
+ - [ ] Keyboard control
16
+ - [ ] ...
5
17
 
6
18
  ## Installation
7
19
 
@@ -104,6 +116,26 @@ All the above @Input's() can be used with the directive implementation as well.
104
116
  @Input() openDirection = 'bottom' // 'top', 'left', 'right', 'bottom'
105
117
  @Input() closeOnBlur = true; // Close datepicker on blur
106
118
  ```
119
+
120
+ ### Outputs
121
+
122
+ The following output is available for Animatepicker:
123
+
124
+ ```ts
125
+ @Output() navigate: EventEmitter<YearMonth[]>; // Emits year and month of each visible month when navigation changes
126
+ ```
127
+
128
+ ### Composing
129
+ You can add a footer to the datepicker by adding a `<footer>` element between the tags.
130
+
131
+ ```html
132
+ <aa-animatepicker
133
+ [options]="datepickerOptions"
134
+ [(selectedDates)]="dates">
135
+ <footer (click)="someLogic()">put your logic here</footer>
136
+ </aa-animatepicker>
137
+ ```
138
+
107
139
  ### Regular Datepicker Component
108
140
  The Animatepicker is an extension of the regular datepicker component. Don't want all that fancy animations? Then this is exactly what you need. Use `aa-datepicker` to implement in your component
109
141