@acpaas-ui/ngx-calendar 6.1.10 → 6.1.11
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.
- package/package.json +26 -5
- package/.eslintrc.json +0 -42
- package/CHANGELOG.md +0 -291
- package/LICENSE.md +0 -21
- package/dist/README.md +0 -66
- package/dist/package.json +0 -39
- package/karma.conf.js +0 -38
- package/ng-package.json +0 -11
- package/src/lib/calendar.conf.ts +0 -30
- package/src/lib/calendar.module.ts +0 -54
- package/src/lib/components/calendar/calendar.component.html +0 -47
- package/src/lib/components/calendar/calendar.component.spec.ts +0 -251
- package/src/lib/components/calendar/calendar.component.ts +0 -191
- package/src/lib/components/decennia/decennia.component.html +0 -20
- package/src/lib/components/decennia/decennia.component.spec.ts +0 -128
- package/src/lib/components/decennia/decennia.component.ts +0 -56
- package/src/lib/components/month/month.component.html +0 -32
- package/src/lib/components/month/month.component.spec.ts +0 -228
- package/src/lib/components/month/month.component.ts +0 -157
- package/src/lib/components/year/year.component.html +0 -20
- package/src/lib/components/year/year.component.spec.ts +0 -161
- package/src/lib/components/year/year.component.ts +0 -59
- package/src/lib/services/calendar.service.spec.ts +0 -146
- package/src/lib/services/calendar.service.ts +0 -71
- package/src/lib/types/calendar.types.ts +0 -17
- package/src/public-api.ts +0 -21
- package/src/test.ts +0 -9
- package/tsconfig.lib.json +0 -26
- package/tsconfig.spec.json +0 -17
- /package/{dist/esm2020 → esm2020}/acpaas-ui-ngx-calendar.mjs +0 -0
- /package/{dist/esm2020 → esm2020}/lib/calendar.conf.mjs +0 -0
- /package/{dist/esm2020 → esm2020}/lib/calendar.module.mjs +0 -0
- /package/{dist/esm2020 → esm2020}/lib/components/calendar/calendar.component.mjs +0 -0
- /package/{dist/esm2020 → esm2020}/lib/components/decennia/decennia.component.mjs +0 -0
- /package/{dist/esm2020 → esm2020}/lib/components/month/month.component.mjs +0 -0
- /package/{dist/esm2020 → esm2020}/lib/components/year/year.component.mjs +0 -0
- /package/{dist/esm2020 → esm2020}/lib/services/calendar.service.mjs +0 -0
- /package/{dist/esm2020 → esm2020}/lib/types/calendar.types.mjs +0 -0
- /package/{dist/esm2020 → esm2020}/public-api.mjs +0 -0
- /package/{dist/fesm2015 → fesm2015}/acpaas-ui-ngx-calendar.mjs +0 -0
- /package/{dist/fesm2015 → fesm2015}/acpaas-ui-ngx-calendar.mjs.map +0 -0
- /package/{dist/fesm2020 → fesm2020}/acpaas-ui-ngx-calendar.mjs +0 -0
- /package/{dist/fesm2020 → fesm2020}/acpaas-ui-ngx-calendar.mjs.map +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/lib → lib}/calendar.conf.d.ts +0 -0
- /package/{dist/lib → lib}/calendar.module.d.ts +0 -0
- /package/{dist/lib → lib}/components/calendar/calendar.component.d.ts +0 -0
- /package/{dist/lib → lib}/components/decennia/decennia.component.d.ts +0 -0
- /package/{dist/lib → lib}/components/month/month.component.d.ts +0 -0
- /package/{dist/lib → lib}/components/year/year.component.d.ts +0 -0
- /package/{dist/lib → lib}/services/calendar.service.d.ts +0 -0
- /package/{dist/lib → lib}/types/calendar.types.d.ts +0 -0
- /package/{dist/public-api.d.ts → public-api.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,18 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acpaas-ui/ngx-calendar",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.11",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@acpaas-ui/ngx-icon": "^6.1.5",
|
|
9
|
-
"@acpaas-ui/ngx-utils": "^6.1.
|
|
10
|
-
"lodash-es": "~4.17.10"
|
|
9
|
+
"@acpaas-ui/ngx-utils": "^6.1.11",
|
|
10
|
+
"lodash-es": "~4.17.10",
|
|
11
|
+
"tslib": "^2.3.0"
|
|
11
12
|
},
|
|
12
13
|
"peerDependencies": {
|
|
13
14
|
"@angular/common": ">=15.2.0",
|
|
14
15
|
"@angular/core": ">=15.2.0",
|
|
15
16
|
"@angular/platform-browser-dynamic": ">=15.2.0"
|
|
16
17
|
},
|
|
17
|
-
"gitHead": "
|
|
18
|
-
|
|
18
|
+
"gitHead": "a1d4ee3bb2ad1660425529efc15832c07c8853a2",
|
|
19
|
+
"module": "fesm2015/acpaas-ui-ngx-calendar.mjs",
|
|
20
|
+
"es2020": "fesm2020/acpaas-ui-ngx-calendar.mjs",
|
|
21
|
+
"esm2020": "esm2020/acpaas-ui-ngx-calendar.mjs",
|
|
22
|
+
"fesm2020": "fesm2020/acpaas-ui-ngx-calendar.mjs",
|
|
23
|
+
"fesm2015": "fesm2015/acpaas-ui-ngx-calendar.mjs",
|
|
24
|
+
"typings": "index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
"./package.json": {
|
|
27
|
+
"default": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
".": {
|
|
30
|
+
"types": "./index.d.ts",
|
|
31
|
+
"esm2020": "./esm2020/acpaas-ui-ngx-calendar.mjs",
|
|
32
|
+
"es2020": "./fesm2020/acpaas-ui-ngx-calendar.mjs",
|
|
33
|
+
"es2015": "./fesm2015/acpaas-ui-ngx-calendar.mjs",
|
|
34
|
+
"node": "./fesm2015/acpaas-ui-ngx-calendar.mjs",
|
|
35
|
+
"default": "./fesm2020/acpaas-ui-ngx-calendar.mjs"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"sideEffects": false
|
|
39
|
+
}
|
package/.eslintrc.json
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../.eslintrc.json",
|
|
3
|
-
"ignorePatterns": [
|
|
4
|
-
"!**/*"
|
|
5
|
-
],
|
|
6
|
-
"overrides": [
|
|
7
|
-
{
|
|
8
|
-
"files": [
|
|
9
|
-
"*.ts"
|
|
10
|
-
],
|
|
11
|
-
"parserOptions": {
|
|
12
|
-
"project": [
|
|
13
|
-
"packages/ngx-calendar/tsconfig.(lib|spec).json"
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
"rules": {
|
|
17
|
-
"@angular-eslint/directive-selector": [
|
|
18
|
-
"error",
|
|
19
|
-
{
|
|
20
|
-
"type": "attribute",
|
|
21
|
-
"prefix": "aui",
|
|
22
|
-
"style": "camelCase"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"@angular-eslint/component-selector": [
|
|
26
|
-
"error",
|
|
27
|
-
{
|
|
28
|
-
"type": "element",
|
|
29
|
-
"prefix": "aui",
|
|
30
|
-
"style": "kebab-case"
|
|
31
|
-
}
|
|
32
|
-
]
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"files": [
|
|
37
|
-
"*.html"
|
|
38
|
-
],
|
|
39
|
-
"rules": {}
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
All notable changes to this project will be documented in this file.
|
|
3
|
-
|
|
4
|
-
The format is based on [Keep a Changelog](http://keepachangelog.com/),
|
|
5
|
-
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Unreleased
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## [4.0.0] - 2020-04-07
|
|
12
|
-
|
|
13
|
-
### Added
|
|
14
|
-
- Updated project to Angular 8
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## [3.3.0] - 2020-01-31
|
|
18
|
-
|
|
19
|
-
### Added
|
|
20
|
-
- Navigation Menu package was added.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
## [3.2.1] - 2020-01-20
|
|
24
|
-
|
|
25
|
-
### Fixed
|
|
26
|
-
- Fixed parsing of unregular dates on the date picker component by using `@acpaas-ui/js-date-utils@^1.0.6`
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
## [3.2.0] - 2019-12-19
|
|
30
|
-
|
|
31
|
-
### Added
|
|
32
|
-
- `forms` Added disabled state for upload component
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
## [3.1.0] - 2019-12-09
|
|
36
|
-
|
|
37
|
-
### Added
|
|
38
|
-
- `user-menu` New component that provides visual login and logout functionality
|
|
39
|
-
- `core` Docker configuration was added for local development
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
## [3.0.0] - 2019-11-29
|
|
43
|
-
|
|
44
|
-
### Changed
|
|
45
|
-
- [BREAKING] `calendar` Made Dutch labels the default ones.
|
|
46
|
-
- [BREAKING] `forms` Made Dutch labels the default ones.
|
|
47
|
-
- [BREAKING] `layout` Changed the behaviour and inner workings of the header.
|
|
48
|
-
- [BREAKING] `localstorage` Fixed hard dependency on redux store enhancer.
|
|
49
|
-
- `core` Updated to the new ACPaaS branding.
|
|
50
|
-
- `core` Updated ACPaaS UI to be WCAG 2.1 AA compliant.
|
|
51
|
-
- `avatar` Made avatar more accessible.
|
|
52
|
-
- `calendar` Made the calendar more accessible.
|
|
53
|
-
- `pagination` Made the items per page component more accessible.
|
|
54
|
-
- `pagination` Made the pagination component more accessible.
|
|
55
|
-
- `selectable-list` Made the selectable list more accessible.
|
|
56
|
-
- `flyout` Made the flyout more accessible.
|
|
57
|
-
- `flyout` Made the flyout button more accessible.
|
|
58
|
-
- `forms` Made the autocomplete more accessible.
|
|
59
|
-
- `forms` Made the datepicker more accessible.
|
|
60
|
-
- `forms` Made the range slider more accessible.
|
|
61
|
-
- `forms` Made the search filter more accessible.
|
|
62
|
-
- `forms` Made the timepicker more accessible.
|
|
63
|
-
- `forms` Made the upload more accessible.
|
|
64
|
-
- `forms` Made the WYSIWYG editor more accessible.
|
|
65
|
-
- `layout` Made the cookie consent more accessible.
|
|
66
|
-
- `layout` Made the modal more accessible.
|
|
67
|
-
- `layout` Made the pane more accessible.
|
|
68
|
-
- `selectable-list` Made the selectable list more accessible.
|
|
69
|
-
- `utils` Made the filter more accessible.
|
|
70
|
-
|
|
71
|
-
### Added
|
|
72
|
-
- `forms` Added keyboard navigation to the rangeslider.
|
|
73
|
-
- `forms` Added ability to add a custom id or ARIA id to upload.
|
|
74
|
-
- `layout` Added possibility to overwrite window property of cookie consent.
|
|
75
|
-
- `layout` Added ability to add a custom id to pane.
|
|
76
|
-
- `forms` Added keyboard bindings to the range slider.
|
|
77
|
-
|
|
78
|
-
### Fixed
|
|
79
|
-
- [BREAKING] `logo` Fixed routing and click events on logo.
|
|
80
|
-
- `forms` Fixed an overlapping issue in the range slider.
|
|
81
|
-
- `layout` Fixed an issue where the modal would be closed when a click event started inside the modal but ended outside.
|
|
82
|
-
|
|
83
|
-
### Notes
|
|
84
|
-
- `forms` WCAG support could be improved: https://github.com/RobinHerbots/Inputmask/issues/981
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
## [2.1.6] - 2019-11-04
|
|
88
|
-
|
|
89
|
-
### Fixed
|
|
90
|
-
- `flyout` Always close flyout when clicking outside.
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
## [2.1.5] - 2019-10-18
|
|
94
|
-
|
|
95
|
-
### Added
|
|
96
|
-
- `documentation` Added testing documentation.
|
|
97
|
-
|
|
98
|
-
### Fixed
|
|
99
|
-
- `flyout` Improved tab navigation (support for spacebar, enter and escape).
|
|
100
|
-
- `forms` Only open flyout in datepicker when button is clicked, added blur event.
|
|
101
|
-
- `documentation` Fixed map documentation.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
## [2.1.4] - 2019-09-30
|
|
105
|
-
|
|
106
|
-
### Fixed
|
|
107
|
-
- `core` Fixed peer dependency warnings.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
## [2.1.3] - 2019-09-19
|
|
111
|
-
|
|
112
|
-
### Fixed
|
|
113
|
-
- `map` Fixed the map not working together with Angular Universal.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
## [2.1.2] - 2019-08-23
|
|
117
|
-
|
|
118
|
-
### Fixed
|
|
119
|
-
- `flyout` Fixed an issue where the flyout button needed to be clicked twice before opening in Chrome.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
## [2.1.1] - 2019-06-26
|
|
123
|
-
|
|
124
|
-
### Added
|
|
125
|
-
- `documentation` Added test automation guidelines.
|
|
126
|
-
|
|
127
|
-
### Fixed
|
|
128
|
-
- `pagination` Fixed faulty pagination count whenever the current page was provided as a string.
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
## [2.1.0] - 2019-05-02
|
|
132
|
-
|
|
133
|
-
### Added
|
|
134
|
-
- `forms` Added disabled state to all controls (except upload).
|
|
135
|
-
|
|
136
|
-
### Fixed
|
|
137
|
-
- `autocomplete` Fixed issues with items with identical labels and a custom template.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
## [2.0.1] - 2019-04-04
|
|
141
|
-
|
|
142
|
-
### Fixed
|
|
143
|
-
- `notifications`: Fixed AOT builds.
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
## [2.0.0] - 2019-04-02
|
|
147
|
-
|
|
148
|
-
### Changed
|
|
149
|
-
- [BREAKING] Removed rxjs-compat dependency.
|
|
150
|
-
- [BREAKING] Updated `@angular-redux/store` and redux dependencies.
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
## [1.1.2] - 2019-03-29
|
|
154
|
-
|
|
155
|
-
### Fixed
|
|
156
|
-
- `context` Expose store module.
|
|
157
|
-
- `notifications` Expose store module.
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
## [1.1.1] - 2019-03-29
|
|
161
|
-
|
|
162
|
-
### Fixed
|
|
163
|
-
- `autocomplete` Fixed `autocomplete="new-password"` being ignored in Google Chrome again.
|
|
164
|
-
- `calendar` Fixed an issue where the calendar didn't jump to a predefined date.
|
|
165
|
-
- `context` Fixed an issue where `routerContext` always needed to be set to true.
|
|
166
|
-
- `forms/datepicker` Fixed an issue where the datepicker didn't initialize when being cleared.
|
|
167
|
-
- `map` Fixed an issue where the default map layer wouldn't show on iOS devices.
|
|
168
|
-
- `map` Added possibility to set the zoom level of the `aui-leaflet-locate-control`.
|
|
169
|
-
- `core` Fixed broken links.
|
|
170
|
-
|
|
171
|
-
## [1.1.0] - 2019-02-05
|
|
172
|
-
|
|
173
|
-
### Added
|
|
174
|
-
- `core` Tested all components for Angular 7 compatibility. Note: ACPaaS UI is now fully compatible with Angular 6 and 7.
|
|
175
|
-
- `layout/modal` Added documentation.
|
|
176
|
-
- `code-snippet` Added documentation about how to use highlight.js.
|
|
177
|
-
|
|
178
|
-
### Changed
|
|
179
|
-
- `core` Build components independent of examples.
|
|
180
|
-
|
|
181
|
-
### Fixed
|
|
182
|
-
- `analytics` Fixed incorrect documentation.
|
|
183
|
-
- `calendar` Fixed a faulty unit test.
|
|
184
|
-
- `core` Fixed an issue where an unwanted 404 was shown when the styleguide was reloaded on GitHub pages.
|
|
185
|
-
- `documentation` Fixed AOT build.
|
|
186
|
-
- `form/autocomplete` Fixed an issue where Google Chrome would interfere with its own autocomplete feature.
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
## [1.0.5] - 2018-11-13
|
|
190
|
-
|
|
191
|
-
### Added
|
|
192
|
-
- `analytics` Added documentation.
|
|
193
|
-
- `calendar` Added documentation.
|
|
194
|
-
- `context` Added documentation.
|
|
195
|
-
- `forms/auto-complete` Added documentation.
|
|
196
|
-
- `forms/datepicker` Added documentation.
|
|
197
|
-
- `forms/mask` Added documentation.
|
|
198
|
-
- `forms/range-slider` Added documentation.
|
|
199
|
-
- `forms/timepicker` Added documentation.
|
|
200
|
-
- `forms/search-filter` Added documentation.
|
|
201
|
-
- `forms/upload` Added documentation.
|
|
202
|
-
- `forms/wysiwyg` Added documentation.
|
|
203
|
-
- `layout/cookie-consent` Added documentation.
|
|
204
|
-
- `layout/hero` Added documentation.
|
|
205
|
-
- `layout/pane` Added documentation.
|
|
206
|
-
- `selectable-list` Added documentation.
|
|
207
|
-
- `utils/filter` Added documentation.
|
|
208
|
-
- `utils/labels` Added documentation.
|
|
209
|
-
- `utils/window` Added documentation.
|
|
210
|
-
|
|
211
|
-
### Changed
|
|
212
|
-
- `core` Update angular-cli & ng-packagr.
|
|
213
|
-
- `core` Update package names & setup.
|
|
214
|
-
- `core` Update schematic.
|
|
215
|
-
- `context` The ContextModule is no longer dependent on the ContextStoreModule.
|
|
216
|
-
|
|
217
|
-
### Fixed
|
|
218
|
-
- `core` Fixed AOT builds.
|
|
219
|
-
- `packages` Set package names to full import path -> fixes flatModuleId's used in metadata.json .
|
|
220
|
-
- `forms` Fix inputmask import.
|
|
221
|
-
- `upload` Updated the required styling to be in sync with the corresponding Core Branding classes.
|
|
222
|
-
- `upload` Removed unnecessary module imports that caused build conflicts.
|
|
223
|
-
- `layout/hero` Removed unnecessary module imports that caused build conflicts.
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
## [1.0.4] - 2018-11-13 - BORKED
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
## [1.0.3] - 2018-09-25
|
|
230
|
-
|
|
231
|
-
### Added
|
|
232
|
-
- `avatar` Added documentation.
|
|
233
|
-
- `code-snippet` Added documentation.
|
|
234
|
-
- `flyout` Added documentation.
|
|
235
|
-
- `layout/footer` Added documentation.
|
|
236
|
-
- `layout/header` Added documentation.
|
|
237
|
-
- `layout/hero` Added documentation.
|
|
238
|
-
- `logo` Added documentation.
|
|
239
|
-
- `localstorage` Added documentation.
|
|
240
|
-
- `map` Added documentation.
|
|
241
|
-
- `pagination` Added documentation.
|
|
242
|
-
- `progress-bar` Added documentation.
|
|
243
|
-
|
|
244
|
-
### Changed
|
|
245
|
-
- `core` Improved build proces for submodules.
|
|
246
|
-
- `core` Updated contribution guidelines.
|
|
247
|
-
|
|
248
|
-
### Fixed
|
|
249
|
-
- `table` Fixed table cell unnecessarily regenerating the component on value change.
|
|
250
|
-
- `table` Fixed an issue where the table could not be build.
|
|
251
|
-
- `core` Fixed and optimized build script for examples with a hyphen in their name.
|
|
252
|
-
- `calendar` Fixed an issue where an incorrect month or year was shown.
|
|
253
|
-
|
|
254
|
-
## [1.0.2] - 2018-09-25 - BORKED
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
## [1.0.1] - 2018-07-02
|
|
258
|
-
|
|
259
|
-
### Changed
|
|
260
|
-
- `core` Optimized build script.
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
## [1.0.0] - 2018-07-02
|
|
264
|
-
Initial release.
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
[Unreleased]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v4.0.0...HEAD
|
|
268
|
-
[4.0.0]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v3.3.0...v4.0.0
|
|
269
|
-
[3.3.0]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v3.2.1...v3.3.0
|
|
270
|
-
[3.2.1]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v3.2.0...v3.2.1
|
|
271
|
-
[3.2.0]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v3.1.0...v3.2.0
|
|
272
|
-
[3.1.0]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v3.0.0...v3.1.0
|
|
273
|
-
[3.0.0]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v2.1.6...v3.0.0
|
|
274
|
-
[2.1.6]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v2.1.5...v2.1.6
|
|
275
|
-
[2.1.5]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v2.1.4...v2.1.5
|
|
276
|
-
[2.1.4]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v2.1.3...v2.1.4
|
|
277
|
-
[2.1.3]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v2.1.2...v2.1.3
|
|
278
|
-
[2.1.2]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v2.1.1...v2.1.2
|
|
279
|
-
[2.1.1]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v2.1.0...v2.1.1
|
|
280
|
-
[2.1.0]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v2.0.1...v2.1.0
|
|
281
|
-
[2.0.1]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v2.0.0...v2.0.1
|
|
282
|
-
[2.0.0]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v1.1.2...v2.0.0
|
|
283
|
-
[1.1.2]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v1.1.1...v1.1.2
|
|
284
|
-
[1.1.1]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v1.1.0...v1.1.1
|
|
285
|
-
[1.1.0]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v1.0.5...v1.1.0
|
|
286
|
-
[1.0.5]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v1.0.4...v1.0.5
|
|
287
|
-
[1.0.4]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v1.0.3...v1.0.4
|
|
288
|
-
[1.0.3]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v1.0.2...v1.0.3
|
|
289
|
-
[1.0.2]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v1.0.1...v1.0.2
|
|
290
|
-
[1.0.1]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v1.0.0...v1.0.1
|
|
291
|
-
[1.0.0]: https://github.com/digipolisantwerp/antwerp-ui_angular/compare/v1.0.0
|
package/LICENSE.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2016-present Digipolis
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/dist/README.md
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
# @acpaas-ui/ngx-calendar
|
|
2
|
-
|
|
3
|
-
A simple calendar component with a month, year and decennia view where you can easily navigate to a specific date.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
```typescript
|
|
8
|
-
import { CalendarModule } from '@acpaas-ui/ngx-calendar';
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Documentation
|
|
12
|
-
|
|
13
|
-
Visit our [documentation site](https://antwerp-ui.digipolis.be/) for full how-to docs and guidelines
|
|
14
|
-
|
|
15
|
-
### API
|
|
16
|
-
|
|
17
|
-
| Name | Default value | Description |
|
|
18
|
-
| ---------------------------------------------- | ------------- | --------------------------------------------------------------------------------------------- |
|
|
19
|
-
| `@Input() selectedDate: Date;` | - | The date the user selected. Will be used as a base for the different calendar views. |
|
|
20
|
-
| `@Input() range: DateRange;` | - | A date range to decide which dates are available for selection. |
|
|
21
|
-
| `@Input() weekdayLabels: WeekdayLabelsConfig;` | - | Override the default weekday labels. Can also be done in the `forChild` method. |
|
|
22
|
-
| `@Input() monthLabels: MonthLabelsConfig;` | - | Override the default month labels. Can also be done in the `forChild` method. |
|
|
23
|
-
| `@Output() selectDate: EventEmitter<any>` | - | Will emit the selected date and completion state (the date is complete when a day is picked). |
|
|
24
|
-
|
|
25
|
-
### Example
|
|
26
|
-
|
|
27
|
-
```
|
|
28
|
-
import { CalendarModule } from '@acpaas-ui/ngx-calendar;'
|
|
29
|
-
|
|
30
|
-
@NgModule({
|
|
31
|
-
imports: [
|
|
32
|
-
CalendarModule.forChild([
|
|
33
|
-
'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday',
|
|
34
|
-
], [
|
|
35
|
-
'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December',
|
|
36
|
-
])
|
|
37
|
-
]
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
export class AppModule {};
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
```
|
|
44
|
-
import { DateRange } from '@acpaas-ui/ngx-utils';
|
|
45
|
-
|
|
46
|
-
public clickedDate: Date = new Date();
|
|
47
|
-
public range: DateRange = [1, 6];
|
|
48
|
-
|
|
49
|
-
selectDate(event) {
|
|
50
|
-
if (event.complete) {
|
|
51
|
-
this.clickedDate = event.date;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
```
|
|
57
|
-
<aui-calendar
|
|
58
|
-
[range]="range"
|
|
59
|
-
[selectedDate]="clickedDate"
|
|
60
|
-
(selectDate)="selectDate($event)">
|
|
61
|
-
</aui-calendar>
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## Contributing
|
|
65
|
-
|
|
66
|
-
Visit our [Contribution Guidelines](../../CONTRIBUTING.md) for more information on how to contribute.
|
package/dist/package.json
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@acpaas-ui/ngx-calendar",
|
|
3
|
-
"version": "6.1.10",
|
|
4
|
-
"publishConfig": {
|
|
5
|
-
"access": "public"
|
|
6
|
-
},
|
|
7
|
-
"dependencies": {
|
|
8
|
-
"@acpaas-ui/ngx-icon": "^6.1.5",
|
|
9
|
-
"@acpaas-ui/ngx-utils": "^6.1.10",
|
|
10
|
-
"lodash-es": "~4.17.10",
|
|
11
|
-
"tslib": "^2.3.0"
|
|
12
|
-
},
|
|
13
|
-
"peerDependencies": {
|
|
14
|
-
"@angular/common": ">=15.2.0",
|
|
15
|
-
"@angular/core": ">=15.2.0",
|
|
16
|
-
"@angular/platform-browser-dynamic": ">=15.2.0"
|
|
17
|
-
},
|
|
18
|
-
"gitHead": "5531c62b14b1cb5cec521e8e21e29d43ec70bee2",
|
|
19
|
-
"module": "fesm2015/acpaas-ui-ngx-calendar.mjs",
|
|
20
|
-
"es2020": "fesm2020/acpaas-ui-ngx-calendar.mjs",
|
|
21
|
-
"esm2020": "esm2020/acpaas-ui-ngx-calendar.mjs",
|
|
22
|
-
"fesm2020": "fesm2020/acpaas-ui-ngx-calendar.mjs",
|
|
23
|
-
"fesm2015": "fesm2015/acpaas-ui-ngx-calendar.mjs",
|
|
24
|
-
"typings": "index.d.ts",
|
|
25
|
-
"exports": {
|
|
26
|
-
"./package.json": {
|
|
27
|
-
"default": "./package.json"
|
|
28
|
-
},
|
|
29
|
-
".": {
|
|
30
|
-
"types": "./index.d.ts",
|
|
31
|
-
"esm2020": "./esm2020/acpaas-ui-ngx-calendar.mjs",
|
|
32
|
-
"es2020": "./fesm2020/acpaas-ui-ngx-calendar.mjs",
|
|
33
|
-
"es2015": "./fesm2015/acpaas-ui-ngx-calendar.mjs",
|
|
34
|
-
"node": "./fesm2015/acpaas-ui-ngx-calendar.mjs",
|
|
35
|
-
"default": "./fesm2020/acpaas-ui-ngx-calendar.mjs"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"sideEffects": false
|
|
39
|
-
}
|
package/karma.conf.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// Karma configuration file, see link for more information
|
|
2
|
-
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
3
|
-
|
|
4
|
-
module.exports = function (config) {
|
|
5
|
-
config.set({
|
|
6
|
-
basePath: '',
|
|
7
|
-
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
8
|
-
plugins: [
|
|
9
|
-
require('karma-jasmine'),
|
|
10
|
-
require('karma-chrome-launcher'),
|
|
11
|
-
require('karma-jasmine-html-reporter'),
|
|
12
|
-
require('karma-coverage-istanbul-reporter'),
|
|
13
|
-
require('@angular-devkit/build-angular/plugins/karma')
|
|
14
|
-
],
|
|
15
|
-
client: {
|
|
16
|
-
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
|
17
|
-
},
|
|
18
|
-
customLaunchers: {
|
|
19
|
-
ChromeHeadlessNoSandbox: {
|
|
20
|
-
base: 'ChromeHeadless',
|
|
21
|
-
flags: ['--no-sandbox']
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
coverageIstanbulReporter: {
|
|
25
|
-
dir: require('path').join(__dirname, '../../coverage/ngx-calendar'),
|
|
26
|
-
reports: ['html', 'lcovonly', 'text-summary'],
|
|
27
|
-
fixWebpackSourcePaths: true
|
|
28
|
-
},
|
|
29
|
-
reporters: ['progress', 'kjhtml'],
|
|
30
|
-
port: 9876,
|
|
31
|
-
colors: true,
|
|
32
|
-
logLevel: config.LOG_INFO,
|
|
33
|
-
autoWatch: true,
|
|
34
|
-
browsers: ['ChromeHeadlessNoSandbox'],
|
|
35
|
-
singleRun: true,
|
|
36
|
-
restartOnFileChange: true
|
|
37
|
-
});
|
|
38
|
-
};
|
package/ng-package.json
DELETED
package/src/lib/calendar.conf.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { MonthLabelsConfig, WeekdayLabelsConfig } from './types/calendar.types';
|
|
3
|
-
|
|
4
|
-
export const CALENDAR_DEFAULT_WEEKDAY_LABELS = [
|
|
5
|
-
'Maandag',
|
|
6
|
-
'Dinsdag',
|
|
7
|
-
'Woensdag',
|
|
8
|
-
'Donderdag',
|
|
9
|
-
'Vrijdag',
|
|
10
|
-
'Zaterdag',
|
|
11
|
-
'Zondag',
|
|
12
|
-
];
|
|
13
|
-
|
|
14
|
-
export const CALENDAR_DEFAULT_MONTH_LABELS = [
|
|
15
|
-
'Januari',
|
|
16
|
-
'Februari',
|
|
17
|
-
'Maart',
|
|
18
|
-
'April',
|
|
19
|
-
'Mei',
|
|
20
|
-
'Juni',
|
|
21
|
-
'Juli',
|
|
22
|
-
'Augustus',
|
|
23
|
-
'September',
|
|
24
|
-
'Oktober',
|
|
25
|
-
'November',
|
|
26
|
-
'December',
|
|
27
|
-
];
|
|
28
|
-
|
|
29
|
-
export const CALENDAR_WEEKDAY_LABELS = new InjectionToken<WeekdayLabelsConfig>('weekdayLabels');
|
|
30
|
-
export const CALENDAR_MONTH_LABELS = new InjectionToken<MonthLabelsConfig>('monthLabels');
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { IconModule } from '@acpaas-ui/ngx-icon';
|
|
4
|
-
import {
|
|
5
|
-
CALENDAR_DEFAULT_MONTH_LABELS,
|
|
6
|
-
CALENDAR_DEFAULT_WEEKDAY_LABELS,
|
|
7
|
-
CALENDAR_MONTH_LABELS,
|
|
8
|
-
CALENDAR_WEEKDAY_LABELS,
|
|
9
|
-
} from './calendar.conf';
|
|
10
|
-
import { MonthLabelsConfig, WeekdayLabelsConfig } from './types/calendar.types';
|
|
11
|
-
import { CalendarService } from './services/calendar.service';
|
|
12
|
-
import { CalendarComponent } from './components/calendar/calendar.component';
|
|
13
|
-
import { CalendarDecenniaComponent } from './components/decennia/decennia.component';
|
|
14
|
-
import { CalendarMonthComponent } from './components/month/month.component';
|
|
15
|
-
import { CalendarYearComponent } from './components/year/year.component';
|
|
16
|
-
|
|
17
|
-
@NgModule({
|
|
18
|
-
imports: [CommonModule, IconModule],
|
|
19
|
-
declarations: [
|
|
20
|
-
CalendarComponent,
|
|
21
|
-
CalendarDecenniaComponent,
|
|
22
|
-
CalendarMonthComponent,
|
|
23
|
-
CalendarYearComponent,
|
|
24
|
-
],
|
|
25
|
-
exports: [
|
|
26
|
-
CalendarComponent,
|
|
27
|
-
CalendarDecenniaComponent,
|
|
28
|
-
CalendarMonthComponent,
|
|
29
|
-
CalendarYearComponent,
|
|
30
|
-
],
|
|
31
|
-
providers: [
|
|
32
|
-
CalendarService,
|
|
33
|
-
{
|
|
34
|
-
provide: CALENDAR_WEEKDAY_LABELS,
|
|
35
|
-
useValue: CALENDAR_DEFAULT_WEEKDAY_LABELS,
|
|
36
|
-
},
|
|
37
|
-
{ provide: CALENDAR_MONTH_LABELS, useValue: CALENDAR_DEFAULT_MONTH_LABELS },
|
|
38
|
-
],
|
|
39
|
-
})
|
|
40
|
-
export class CalendarModule {
|
|
41
|
-
static forChild(
|
|
42
|
-
weekdayLabels: WeekdayLabelsConfig,
|
|
43
|
-
monthLabels: MonthLabelsConfig
|
|
44
|
-
): ModuleWithProviders<CalendarModule> {
|
|
45
|
-
return {
|
|
46
|
-
ngModule: CalendarModule,
|
|
47
|
-
providers: [
|
|
48
|
-
CalendarService,
|
|
49
|
-
{ provide: CALENDAR_WEEKDAY_LABELS, useValue: weekdayLabels },
|
|
50
|
-
{ provide: CALENDAR_MONTH_LABELS, useValue: monthLabels },
|
|
51
|
-
],
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
}
|