@ks89/angular-modal-gallery 8.0.0-beta.5 → 9.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.
- package/CHANGELOG.md +153 -0
- package/CONTRIBUTING.md +20 -38
- package/LICENSE +1 -1
- package/README.md +36 -42
- package/esm2020/ks89-angular-modal-gallery.mjs +5 -0
- package/esm2020/lib/components/accessibility-default.mjs +41 -0
- package/esm2020/lib/components/accessible.component.mjs +130 -0
- package/esm2020/lib/components/carousel/carousel-previews/carousel-previews.component.mjs +462 -0
- package/esm2020/lib/components/carousel/carousel.component.mjs +747 -0
- package/esm2020/lib/components/components.mjs +50 -0
- package/esm2020/lib/components/current-image/current-image.component.mjs +616 -0
- package/esm2020/lib/components/current-image/loading-spinner/loading-spinner.component.mjs +80 -0
- package/esm2020/lib/components/dots/dots.component.mjs +127 -0
- package/esm2020/lib/components/modal-gallery/modal-gallery-ref.mjs +103 -0
- package/esm2020/lib/components/modal-gallery/modal-gallery.component.mjs +523 -0
- package/esm2020/lib/components/modal-gallery/modal-gallery.service.mjs +187 -0
- package/esm2020/lib/components/modal-gallery/modal-gallery.tokens.mjs +26 -0
- package/esm2020/lib/components/plain-gallery/plain-gallery.component.mjs +249 -0
- package/esm2020/lib/components/previews/previews.component.mjs +332 -0
- package/esm2020/lib/components/upper-buttons/upper-buttons-default.mjs +76 -0
- package/esm2020/lib/components/upper-buttons/upper-buttons.component.mjs +249 -0
- package/esm2020/lib/directives/a-tag-bg-image.directive.mjs +78 -0
- package/esm2020/lib/directives/click-outside.directive.mjs +91 -0
- package/esm2020/lib/directives/description.directive.mjs +98 -0
- package/esm2020/lib/directives/direction.directive.mjs +73 -0
- package/esm2020/lib/directives/directives.mjs +49 -0
- package/esm2020/lib/directives/fallback-image.directive.mjs +59 -0
- package/esm2020/lib/directives/keyboard-navigation.directive.mjs +58 -0
- package/esm2020/lib/directives/margin.directive.mjs +84 -0
- package/esm2020/lib/directives/max-size.directive.mjs +75 -0
- package/esm2020/lib/directives/size.directive.mjs +76 -0
- package/{esm2015/lib/directives/size.directive.js → esm2020/lib/directives/wrap.directive.mjs} +23 -22
- package/esm2020/lib/modal-gallery.module.mjs +94 -0
- package/esm2020/lib/model/accessibility.interface.mjs +25 -0
- package/esm2020/lib/model/action.enum.mjs +36 -0
- package/esm2020/lib/model/buttons-config.interface.mjs +62 -0
- package/esm2020/lib/model/carousel-config.interface.mjs +25 -0
- package/esm2020/lib/model/carousel-image-config.interface.mjs +25 -0
- package/esm2020/lib/model/carousel-preview-config.interface.mjs +25 -0
- package/{esm2015/lib/model/keyboard-service-config.interface.js → esm2020/lib/model/current-image-config.interface.mjs} +2 -2
- package/esm2020/lib/model/description.interface.mjs +33 -0
- package/{esm2015/lib/model/preview-config.interface.js → esm2020/lib/model/dots-config.interface.mjs} +2 -2
- package/esm2020/lib/model/image-internal.class.mjs +35 -0
- package/esm2020/lib/model/image.class.mjs +54 -0
- package/esm2020/lib/model/interaction-event.interface.mjs +2 -0
- package/esm2020/lib/model/keyboard-config.interface.mjs +25 -0
- package/esm2020/lib/model/keyboard-service-config.interface.mjs +25 -0
- package/esm2020/lib/model/keyboard.enum.mjs +35 -0
- package/esm2020/lib/model/lib-config.interface.mjs +25 -0
- package/esm2020/lib/model/loading-config.interface.mjs +37 -0
- package/{esm2015/lib/model/dots-config.interface.js → esm2020/lib/model/max-size.interface.mjs} +2 -2
- package/{esm2015/lib/model/carousel-preview-config.interface.js → esm2020/lib/model/modal-gallery-config.interface.mjs} +2 -2
- package/esm2020/lib/model/plain-gallery-config.interface.mjs +55 -0
- package/{esm2015/lib/model/image-internal.class.js → esm2020/lib/model/play-config.interface.mjs} +3 -13
- package/esm2020/lib/model/preview-config.interface.mjs +25 -0
- package/esm2020/lib/model/size.interface.mjs +25 -0
- package/{esm2015/lib/model/carousel-config.interface.js → esm2020/lib/model/slide-config.interface.mjs} +2 -2
- package/esm2020/lib/services/config.service.mjs +396 -0
- package/esm2020/lib/services/id-validator.service.mjs +71 -0
- package/esm2020/lib/services/keyboard.service.mjs +111 -0
- package/esm2020/lib/utils/image.util.mjs +48 -0
- package/esm2020/lib/utils/user-input.util.mjs +104 -0
- package/esm2020/public-api.mjs +42 -0
- package/fesm2015/ks89-angular-modal-gallery.mjs +5782 -0
- package/fesm2015/ks89-angular-modal-gallery.mjs.map +1 -0
- package/{fesm2015/ks89-angular-modal-gallery.js → fesm2020/ks89-angular-modal-gallery.mjs} +3046 -2947
- package/fesm2020/ks89-angular-modal-gallery.mjs.map +1 -0
- package/ks89-angular-modal-gallery.d.ts +1 -24
- package/lib/components/accessible.component.d.ts +5 -2
- package/lib/components/carousel/carousel-previews/carousel-previews.component.d.ts +7 -11
- package/lib/components/carousel/carousel.component.d.ts +28 -67
- package/lib/components/current-image/current-image.component.d.ts +10 -4
- package/lib/components/current-image/loading-spinner/loading-spinner.component.d.ts +3 -0
- package/lib/components/dots/dots.component.d.ts +7 -0
- package/lib/components/modal-gallery/modal-gallery-ref.d.ts +35 -0
- package/lib/components/modal-gallery/modal-gallery.component.d.ts +58 -50
- package/lib/components/modal-gallery/modal-gallery.service.d.ts +60 -1
- package/lib/components/plain-gallery/plain-gallery.component.d.ts +18 -9
- package/lib/components/previews/previews.component.d.ts +9 -0
- package/lib/components/upper-buttons/upper-buttons.component.d.ts +8 -1
- package/lib/directives/a-tag-bg-image.directive.d.ts +3 -0
- package/lib/directives/click-outside.directive.d.ts +3 -0
- package/lib/directives/description.directive.d.ts +3 -0
- package/lib/directives/direction.directive.d.ts +3 -0
- package/lib/directives/fallback-image.directive.d.ts +6 -0
- package/lib/directives/keyboard-navigation.directive.d.ts +4 -1
- package/lib/directives/margin.directive.d.ts +3 -0
- package/lib/directives/max-size.directive.d.ts +3 -0
- package/lib/directives/size.directive.d.ts +5 -2
- package/lib/directives/wrap.directive.d.ts +4 -1
- package/lib/modal-gallery.module.d.ts +28 -0
- package/lib/model/carousel-config.interface.d.ts +0 -1
- package/lib/model/keyboard-config.interface.d.ts +4 -4
- package/lib/model/keyboard.enum.d.ts +11 -8
- package/lib/model/lib-config.interface.d.ts +20 -7
- package/lib/model/modal-gallery-config.interface.d.ts +2 -2
- package/lib/model/plain-gallery-config.interface.d.ts +1 -9
- package/lib/services/config.service.d.ts +3 -0
- package/lib/services/id-validator.service.d.ts +5 -1
- package/lib/services/keyboard.service.d.ts +5 -2
- package/lib/utils/user-input.util.d.ts +35 -26
- package/package.json +28 -16
- package/public-api.d.ts +2 -2
- package/bundles/ks89-angular-modal-gallery.umd.js +0 -5906
- package/bundles/ks89-angular-modal-gallery.umd.js.map +0 -1
- package/bundles/ks89-angular-modal-gallery.umd.min.js +0 -16
- package/bundles/ks89-angular-modal-gallery.umd.min.js.map +0 -1
- package/esm2015/ks89-angular-modal-gallery.js +0 -29
- package/esm2015/lib/components/accessibility-default.js +0 -41
- package/esm2015/lib/components/accessible.component.js +0 -127
- package/esm2015/lib/components/carousel/carousel-previews/carousel-previews.component.js +0 -466
- package/esm2015/lib/components/carousel/carousel.component.js +0 -772
- package/esm2015/lib/components/components.js +0 -50
- package/esm2015/lib/components/current-image/current-image.component.js +0 -590
- package/esm2015/lib/components/current-image/loading-spinner/loading-spinner.component.js +0 -80
- package/esm2015/lib/components/dots/dots.component.js +0 -127
- package/esm2015/lib/components/modal-gallery/modal-gallery-ref.js +0 -45
- package/esm2015/lib/components/modal-gallery/modal-gallery.component.js +0 -534
- package/esm2015/lib/components/modal-gallery/modal-gallery.service.js +0 -135
- package/esm2015/lib/components/modal-gallery/modal-gallery.tokens.js +0 -3
- package/esm2015/lib/components/plain-gallery/plain-gallery.component.js +0 -243
- package/esm2015/lib/components/previews/previews.component.js +0 -331
- package/esm2015/lib/components/upper-buttons/upper-buttons-default.js +0 -76
- package/esm2015/lib/components/upper-buttons/upper-buttons.component.js +0 -256
- package/esm2015/lib/directives/a-tag-bg-image.directive.js +0 -78
- package/esm2015/lib/directives/click-outside.directive.js +0 -85
- package/esm2015/lib/directives/description.directive.js +0 -99
- package/esm2015/lib/directives/direction.directive.js +0 -73
- package/esm2015/lib/directives/directives.js +0 -49
- package/esm2015/lib/directives/fallback-image.directive.js +0 -54
- package/esm2015/lib/directives/keyboard-navigation.directive.js +0 -52
- package/esm2015/lib/directives/margin.directive.js +0 -82
- package/esm2015/lib/directives/max-size.directive.js +0 -76
- package/esm2015/lib/directives/wrap.directive.js +0 -74
- package/esm2015/lib/modal-gallery.module.js +0 -64
- package/esm2015/lib/model/accessibility.interface.js +0 -25
- package/esm2015/lib/model/action.enum.js +0 -36
- package/esm2015/lib/model/buttons-config.interface.js +0 -66
- package/esm2015/lib/model/carousel-image-config.interface.js +0 -25
- package/esm2015/lib/model/current-image-config.interface.js +0 -25
- package/esm2015/lib/model/description.interface.js +0 -33
- package/esm2015/lib/model/image.class.js +0 -54
- package/esm2015/lib/model/interaction-event.interface.js +0 -2
- package/esm2015/lib/model/keyboard-config.interface.js +0 -25
- package/esm2015/lib/model/keyboard.enum.js +0 -35
- package/esm2015/lib/model/lib-config.interface.js +0 -25
- package/esm2015/lib/model/loading-config.interface.js +0 -37
- package/esm2015/lib/model/max-size.interface.js +0 -25
- package/esm2015/lib/model/modal-gallery-config.interface.js +0 -25
- package/esm2015/lib/model/plain-gallery-config.interface.js +0 -64
- package/esm2015/lib/model/play-config.interface.js +0 -25
- package/esm2015/lib/model/size.interface.js +0 -25
- package/esm2015/lib/model/slide-config.interface.js +0 -25
- package/esm2015/lib/services/config.service.js +0 -392
- package/esm2015/lib/services/id-validator.service.js +0 -71
- package/esm2015/lib/services/keyboard.service.js +0 -108
- package/esm2015/lib/utils/image.util.js +0 -48
- package/esm2015/lib/utils/user-input.util.js +0 -95
- package/esm2015/public-api.js +0 -46
- package/fesm2015/ks89-angular-modal-gallery.js.map +0 -1
- package/ks89-angular-modal-gallery.metadata.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,151 @@
|
|
|
1
|
+
# 9.0.0
|
|
2
|
+
|
|
3
|
+
**Migrate from 8.0.0 to 9.0.0 - Check the official guide [HERE](https://ks89.github.io/angular-modal-gallery-2021-v9.github.io/)**
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- remove legacy mode in carousels (drop IE11) #235 **(BREAKING CHANGE)**
|
|
8
|
+
- remove keyCode in keyboard-navigation-directive, because deprecated #200 **(BREAKING CHANGE)**
|
|
9
|
+
- cleanup download image code in modal-gallery.component (drop IE11 and Edge legacy) #228 **(BREAKING CHANGE)**
|
|
10
|
+
- requestFullscreen and exitFullscreen return promises. **(BREAKING CHANGE)**
|
|
11
|
+
It's not easy to manage all cases in the right way, so at the moment I added only an error in case of catch clause #233 **(BREAKING CHANGE)**
|
|
12
|
+
- Remove AdvancedLayout from PlainGallery, because already unused in v8.x.x #238 **(BREAKING CHANGE)**
|
|
13
|
+
- make LibConfig interface private, to expose ModalLibConfig, PlainLibConfig and CarouselLibConfig #232 **(BREAKING CHANGE)**
|
|
14
|
+
- carousel component accepts CarouselLibConfig as input instead of all parameters to be consistent with changes made in v8.0.0 #229 **(BREAKING CHANGE)**
|
|
15
|
+
- remove `[showGallery]` input from plain-gallery component, because it's unused #239 **(BREAKING CHANGE)**
|
|
16
|
+
- rename `(showImage)` output into `(clickImage)` for plain-gallery #240 **(BREAKING CHANGE)**
|
|
17
|
+
- rename `(showImage)` output into `(changeImage)` for carousel #240 **(BREAKING CHANGE)**
|
|
18
|
+
- when modal-gallery opens with image index 0 or length - 1, it emits first/last Image events #241 **(BREAKING CHANGE)**
|
|
19
|
+
- remove emitButtonAfterHook in closeGallery methods **(BREAKING CHANGE)**
|
|
20
|
+
|
|
21
|
+
### Bugfixes
|
|
22
|
+
|
|
23
|
+
- improve error message if you pass an empty array of images to the carousel #209
|
|
24
|
+
|
|
25
|
+
### Examples
|
|
26
|
+
|
|
27
|
+
- add examples with 0 images to modal-gallery, carousel and plain-gallery #242
|
|
28
|
+
- remove stackblitz demo because not working properly like with version 8.0.0
|
|
29
|
+
|
|
30
|
+
### Tests
|
|
31
|
+
|
|
32
|
+
- improve modal-gallery.component tests to validate also html elements #231
|
|
33
|
+
|
|
34
|
+
### Docs
|
|
35
|
+
|
|
36
|
+
- migration guide from 8.0.0 to 9.0.0
|
|
37
|
+
- upgrade doc website to bootstrap 5.x.x #236
|
|
38
|
+
- many fixes to the API and examples input tables (errors made with 8.0.0)
|
|
39
|
+
- general improvement to the doc to show default values in a cleaner way
|
|
40
|
+
- remove LibConfig interface and use the newer interfaces
|
|
41
|
+
|
|
42
|
+
**Migrate from 8.0.0 to 9.0.0 - Check the official guide [HERE](https://ks89.github.io/angular-modal-gallery-2021-v9.github.io/)**
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
# 8.0.1
|
|
46
|
+
|
|
47
|
+
### Bugfixes
|
|
48
|
+
|
|
49
|
+
- fix `config.service.ts` adding `providedIn: 'root'` to the service (fixes #244) reported by @dreiquevada
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
# 8.0.0
|
|
53
|
+
|
|
54
|
+
### Features
|
|
55
|
+
|
|
56
|
+
- Migrate to angular/cdk to fix all issues with angular/material **(Breaking Change)** (fixes #137, #111, #95)
|
|
57
|
+
- Split plain-gallery and modal-gallery decoupling those components. Instead, define new APIs to open modal-gallery as a service **(Breaking Change)**
|
|
58
|
+
- upgrade to Angular 12 and angular-cli 12
|
|
59
|
+
- Force Angular >= 12 as minimum supported version. **(Breaking Change)**.
|
|
60
|
+
- remove support to both Angular 6, 7, 8, 9, 10 and 11 **(Breaking Change)**
|
|
61
|
+
- remove Module.forRoot() **(Breaking Change)**
|
|
62
|
+
- move keyboard configuration into libconfig (permits different configuration for every instance of the library). **(Breaking Change)**
|
|
63
|
+
- use IVY as recommended by Angular team ('partial' in tsconfig)
|
|
64
|
+
- Add ability to set fallback image #194 **(Breaking Change)**
|
|
65
|
+
- Add a way to disable titles if requested by the user #179 **(Breaking Change)**
|
|
66
|
+
- remove size from plainGallery Image interface #206 **(Breaking Change)** - reported by @studiocuboweb
|
|
67
|
+
- add new param to previewConfig to display previews on small screens #213 (pull request #214 by vlafranca)
|
|
68
|
+
- Change the background color of modal gallery #225 (requested by @danurasenan here)
|
|
69
|
+
- Carousel has a new input "[disableSsrWorkaround]="true"" to use modals in carousels with SystemJS **(Breaking Change)**.
|
|
70
|
+
Also, every time you need to open modal gallery, you must pass to LibConfig this code:
|
|
71
|
+
```
|
|
72
|
+
keyboardServiceConfig: {
|
|
73
|
+
shortcuts: ['ctrl+s', 'meta+s'],
|
|
74
|
+
disableSsrWorkaround: true
|
|
75
|
+
}
|
|
76
|
+
```
|
|
77
|
+
- new modal-gallery CSS classes used to set the backdrop **(BREAKING CHANGES)**
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
.ks-modal-gallery-backdrop {
|
|
81
|
+
background: #000 !important;;
|
|
82
|
+
opacity: 0.85 !important;;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ks-modal-gallery-panel {
|
|
86
|
+
z-index: 90000 !important;
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### CI
|
|
91
|
+
- remove AppVeyor
|
|
92
|
+
- remove CircleCi
|
|
93
|
+
- remove Travis Ci
|
|
94
|
+
- add Github Actions Ci
|
|
95
|
+
- add Github CodeQL
|
|
96
|
+
- remove npm's codeclimate coverage reporter to use the new version
|
|
97
|
+
- add Security Policy in SECURITY.MD
|
|
98
|
+
|
|
99
|
+
### Tests
|
|
100
|
+
- update tests to the new APIs and components
|
|
101
|
+
|
|
102
|
+
### Examples
|
|
103
|
+
- upgrade all examples with Angular 12
|
|
104
|
+
- remove SystemJS example
|
|
105
|
+
- create new stackblitz example with Angular 12 and Ivy enabled
|
|
106
|
+
|
|
107
|
+
### Docs
|
|
108
|
+
- new doc website [HERE](https://ks89.github.io/angular-modal-gallery-2020-v8.github.io/)
|
|
109
|
+
|
|
110
|
+
## DEPRECATION WARNINGS
|
|
111
|
+
|
|
112
|
+
**Attention! Angular support for Microsoft's Internet Explorer 11 (IE11) is deprecated and will be removed in Angular v13.**
|
|
113
|
+
**For the same reason, from angular-modal-gallery 8.0.0, IE11 has been deprecated.**
|
|
114
|
+
**At the moment it's still working, but it will be removed in angular-modal-gallery 9.0.0.**
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
# 8.0.0-rc.1
|
|
118
|
+
### Features
|
|
119
|
+
- upgrade project to Angular 12. This is the minimum required version from now. **BREAKING CHANGE**
|
|
120
|
+
|
|
121
|
+
### Bugfixes
|
|
122
|
+
- remove `document.body.style.overflow = ...` to prevent weird behaviour. @angular/cdk is enough to block window scrolling.
|
|
123
|
+
|
|
124
|
+
### CI
|
|
125
|
+
- remove all CIs to use only Github Actions
|
|
126
|
+
|
|
127
|
+
### Tests
|
|
128
|
+
- upgrade unit testing
|
|
129
|
+
|
|
130
|
+
### Examples
|
|
131
|
+
- remove SystemJS example
|
|
132
|
+
- upgrade all angular-cli examples to Angular 12, because it's the minimum required version from now
|
|
133
|
+
|
|
134
|
+
### Docs
|
|
135
|
+
- first public live version of [documentation website](https://ks89.github.io/angular-modal-gallery-2020-v8.github.io/)
|
|
136
|
+
- improved doc website adding a more step-by-step introduction to the key concepts of the library
|
|
137
|
+
|
|
138
|
+
## DEPRECATION WARNINGS
|
|
139
|
+
|
|
140
|
+
**Attention! Angular support for Microsoft's Internet Explorer 11 (IE11) is deprecated and will be removed in Angular v13.**
|
|
141
|
+
**For the same reason, from angular-modal-gallery 8.0.0, IE11 has been deprecated.**
|
|
142
|
+
**At the moment it's still working, but it will be removed in angular-modal-gallery 9.0.0.**
|
|
143
|
+
|
|
144
|
+
<br>
|
|
145
|
+
|
|
146
|
+
**This is a beta version without a documentation**
|
|
147
|
+
|
|
148
|
+
|
|
1
149
|
# 8.0.0-beta.5
|
|
2
150
|
### Features
|
|
3
151
|
- add new param to previewConfig to display previews on small screens #213 (pull request #214 by vlafranca)
|
|
@@ -104,6 +252,11 @@ Still not working with universal (SSR), please be patient!
|
|
|
104
252
|
**If you want to try it, check examples/angular-cli-9 to get tons of working examples**
|
|
105
253
|
|
|
106
254
|
|
|
255
|
+
# 7.2.7
|
|
256
|
+
### Bugfixes
|
|
257
|
+
- support Angular 11 preventing a build issue. Fixed by @cihancelen with pull request #216.
|
|
258
|
+
|
|
259
|
+
|
|
107
260
|
# 7.2.6
|
|
108
261
|
### Bugfixes
|
|
109
262
|
- carousel in IE11 legacy mode shows wrong title on previous arrow (it's the same of next arrow, instead of previous). Fixed by @aslubsky with pull request #199.
|
package/CONTRIBUTING.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Sometimes, shy developers have
|
|
1
|
+
Sometimes, shy developers have wonderful ideas. So don't be shy and open an issue! :)
|
|
2
2
|
|
|
3
3
|
If you want to help me, modify the source code, but **before to create a pull request, follow these steps**
|
|
4
4
|
|
|
@@ -10,23 +10,17 @@ Every time you'll run `npm install` inside an example's folder, you must rebuild
|
|
|
10
10
|
2. remove all `node_modules` and temp folders with compiled files (if necessary)
|
|
11
11
|
3. `npm install` (from the root of this project)
|
|
12
12
|
4. `npm run clean:all`
|
|
13
|
-
5. `cd examples/
|
|
13
|
+
5. `cd examples/angular-cli-13`
|
|
14
14
|
6. `npm install`
|
|
15
15
|
7. `cd ../..`
|
|
16
|
-
8. `cd examples/
|
|
16
|
+
8. `cd examples/universal`
|
|
17
17
|
9. `npm install`
|
|
18
18
|
10. `cd ../..`
|
|
19
|
-
11. `cd examples/angular-cli-
|
|
19
|
+
11. `cd examples/angular-cli-material`
|
|
20
20
|
12. `npm install`
|
|
21
21
|
13. `cd ../..`
|
|
22
|
-
14. `
|
|
23
|
-
15. `npm
|
|
24
|
-
16. `cd ../..`
|
|
25
|
-
17. `cd examples/angular-cli-material`
|
|
26
|
-
18. `npm install`
|
|
27
|
-
19. `cd ../..`
|
|
28
|
-
20. `npm run build:all`
|
|
29
|
-
21. `npm test`
|
|
22
|
+
14. `npm run build:all`
|
|
23
|
+
15. `npm test`
|
|
30
24
|
|
|
31
25
|
# B. Run main example
|
|
32
26
|
1. `npm start` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
@@ -37,8 +31,8 @@ Every time you'll run `npm install` inside an example's folder, you must rebuild
|
|
|
37
31
|
6. `cd dist/angular-modal-gallery && lite-server` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
38
32
|
7. `cd ../..`
|
|
39
33
|
|
|
40
|
-
# C. Run angular-cli-
|
|
41
|
-
1. `cd examples/angular-cli-
|
|
34
|
+
# C. Run angular-cli-13 example
|
|
35
|
+
1. `cd examples/angular-cli-13`
|
|
42
36
|
2. `npm start` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
43
37
|
3. `npm run build:dev`
|
|
44
38
|
4. `cd dist/angular-cli && lite-server` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
@@ -47,17 +41,7 @@ Every time you'll run `npm install` inside an example's folder, you must rebuild
|
|
|
47
41
|
7. `cd dist/angular-cli && lite-server` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
48
42
|
8. `cd ../..`
|
|
49
43
|
|
|
50
|
-
# D. Run angular-cli-
|
|
51
|
-
1. `cd examples/angular-cli-9`
|
|
52
|
-
2. `npm start` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
53
|
-
3. `npm run build:dev`
|
|
54
|
-
4. `cd dist/angular-cli && lite-server` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
55
|
-
5. `cd ../..`
|
|
56
|
-
6. `npm run build:prod`
|
|
57
|
-
7. `cd dist/angular-cli && lite-server` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
58
|
-
8. `cd ../..`
|
|
59
|
-
|
|
60
|
-
# E. Run angular-cli-material example
|
|
44
|
+
# D. Run angular-cli-material example
|
|
61
45
|
1. `cd examples/angular-cli-material`
|
|
62
46
|
2. `npm start` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
63
47
|
3. `npm run build:dev`
|
|
@@ -67,12 +51,7 @@ Every time you'll run `npm install` inside an example's folder, you must rebuild
|
|
|
67
51
|
7. `cd dist/angular-cli-material && lite-server` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
68
52
|
8. `cd ../../../..`
|
|
69
53
|
|
|
70
|
-
#
|
|
71
|
-
1. `cd examples/systemjs`
|
|
72
|
-
2. `npm start` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
73
|
-
3. `cd ../..`
|
|
74
|
-
|
|
75
|
-
# G. Run universal example
|
|
54
|
+
# E. Run universal example
|
|
76
55
|
1. `cd examples/universal`
|
|
77
56
|
2. `npm run start` => if everything is ok (also in browser's console), kill the process and go to the next step
|
|
78
57
|
3. `npm run build:dev`
|
|
@@ -99,22 +78,25 @@ Every time you'll run `npm install` inside an example's folder, you must rebuild
|
|
|
99
78
|
3. `cd ../..`
|
|
100
79
|
4. `npm run clean:all`
|
|
101
80
|
5. `npm run build:lib`
|
|
102
|
-
6. `
|
|
103
|
-
7. `
|
|
104
|
-
8. `git push origin
|
|
81
|
+
6. `cd @ks89/angular-modal-gallery`
|
|
82
|
+
7. `npm publish`
|
|
83
|
+
8. `git push origin master`
|
|
84
|
+
9. `git push origin vx.x.x` <-- tag name created by npm version (for instance v5.0.1)
|
|
105
85
|
|
|
106
86
|
## Beta and RC releases (@beta)
|
|
107
87
|
1. `cd projects/ks89/angular-modal-gallery`
|
|
108
|
-
2. Manually change the version of `./
|
|
88
|
+
2. Manually change the version of `./package.json` with either this format `x.x.x-beta.x` or `x.x.x-rc.x` (also respect semver!)
|
|
109
89
|
3. `cd ../..`
|
|
110
90
|
4. `npm run clean:all`
|
|
111
91
|
5. `npm run build:lib`
|
|
112
|
-
6. `
|
|
92
|
+
6. `cd @ks89/angular-modal-gallery`
|
|
93
|
+
7. `npm publish --tag beta`
|
|
113
94
|
|
|
114
95
|
## Alpha releases (@next)
|
|
115
96
|
1. `cd projects/ks89/angular-modal-gallery`
|
|
116
|
-
2. Manually change the version of `./
|
|
97
|
+
2. Manually change the version of `./package.json` with this format `x.x.x-alpha.x` (also respect semver!)
|
|
117
98
|
3. `cd ../..`
|
|
118
99
|
4. `npm run clean:all`
|
|
119
100
|
5. `npm run build:lib`
|
|
120
|
-
6. `
|
|
101
|
+
6. `cd @ks89/angular-modal-gallery`
|
|
102
|
+
7. `npm publish --tag next`
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Despite its name, this library is more than for modal galleries, because I'm int
|
|
|
14
14
|
<ul>
|
|
15
15
|
<li><b>plain-gallery</b>: shows either a row, a column or a grid of <b>clickable thumbnails</b> using pure flexbox</li>
|
|
16
16
|
<li><b>modal-gallery</b>: is the core part of this project and display a <b>modal window with full screen images</b>, <b>buttons</b>, the <b>current image</b> and optionally, also navigation <b>dots</b> and <b>previews</b></li>
|
|
17
|
-
<li><b>carousel</b>:
|
|
17
|
+
<li><b>carousel</b>: shows a configurable plain carousel (not modal) with auto-play and other cool features</li>
|
|
18
18
|
</ul>
|
|
19
19
|
<p><b>@ks89/angular-modal-gallery</b> supports also <b>keyboard shortcuts</b>, <b>swipe gestures</b> and <b>mouse events</b>.</p>
|
|
20
20
|
<br>
|
|
@@ -36,24 +36,18 @@ Despite its name, this library is more than for modal galleries, because I'm int
|
|
|
36
36
|
<a href="https://www.npmjs.com/package/@ks89/angular-modal-gallery"><img src="https://img.shields.io/npm/dy/@ks89/angular-modal-gallery.svg?style=flat-square" alt="Downloads/year"></a>
|
|
37
37
|
</p>
|
|
38
38
|
<p align="center">
|
|
39
|
-
<a href="https://
|
|
40
|
-
<a href="https://ci.appveyor.com/project/Ks89/angular-modal-gallery/branch/master"><img src="https://ci.appveyor.com/api/projects/status/ikp5qqr9aci2s0ae/branch/master?svg=true" alt=""></a>
|
|
41
|
-
<a href="https://circleci.com/gh/Ks89/angular-modal-gallery"><img src="https://circleci.com/gh/Ks89/angular-modal-gallery.svg?style=svg" alt=""></a>
|
|
39
|
+
<a href="https://github.com/Ks89/angular-modal-gallery/actions/workflows/main.yml"><img src="https://github.com/Ks89/angular-modal-gallery/actions/workflows/main.yml/badge.svg" alt="Github Actions CI result"></a>
|
|
42
40
|
</p>
|
|
43
41
|
<p align="center">
|
|
44
42
|
<a href="https://snyk.io/test/github/ks89/angular-modal-gallery"><img src="https://snyk.io/test/github/ks89/angular-modal-gallery/badge.svg" alt="Known Vulnerabilities"></a>
|
|
45
|
-
<a href="https://david-dm.org/Ks89/angular-modal-gallery"><img src="https://david-dm.org/Ks89/angular-modal-gallery.svg" alt="david-dm Dependencies"></a>
|
|
43
|
+
<a href="https://david-dm.org/Ks89/angular-modal-gallery"><img src="https://status.david-dm.org/gh/Ks89/angular-modal-gallery.svg" alt="david-dm Dependencies"></a>
|
|
46
44
|
<a href="https://app.fossa.io/projects/git%2Bgithub.com%2FKs89%2Fangular-modal-gallery?ref=badge_shield"><img src="https://app.fossa.io/api/projects/git%2Bgithub.com%2FKs89%2Fangular-modal-gallery.svg?type=shield" alt="FOSSA Status"></a>
|
|
47
45
|
<a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square" alt="code style: prettier"></a>
|
|
48
46
|
</p>
|
|
49
47
|
<p align="center">
|
|
50
|
-
<a href="https://codeclimate.com/github/Ks89/angular-modal-gallery"><img src="https://codeclimate.com/github/Ks89/angular-modal-gallery/badges/gpa.svg" alt="Code Climate"></a>
|
|
51
|
-
<a href="https://codeclimate.com/github/Ks89/angular-modal-gallery/coverage"><img src="https://codeclimate.com/github/Ks89/angular-modal-gallery/badges/coverage.svg" alt="ode Climate Coverage"></a>
|
|
52
48
|
<a href="https://coveralls.io/github/Ks89/angular-modal-gallery?branch=master"><img src="https://coveralls.io/repos/github/Ks89/angular-modal-gallery/badge.svg?branch=master" alt="Coveralls Coverage"></a>
|
|
53
49
|
</p>
|
|
54
50
|
<p align="center">
|
|
55
|
-
<a href="https://stackblitz.com/edit/angular-modal-gallery-v8"><img src="https://img.shields.io/badge/stackblitz-available-orange.svg" alt="Stackblitz
|
|
56
|
-
"></a>
|
|
57
51
|
<a href="https://www.npmjs.com/package/@ks89/angular-modal-gallery"><img src="https://img.shields.io/badge/angular--style--guide-compliant-brightgreen.svg" alt="AngularStyleGuide"></a>
|
|
58
52
|
</p>
|
|
59
53
|
<p align="center">
|
|
@@ -74,13 +68,12 @@ Despite its name, this library is more than for modal galleries, because I'm int
|
|
|
74
68
|
2. **[Features](#boom-features-boom)**
|
|
75
69
|
3. **[Installation](#package-installation-package)**
|
|
76
70
|
4. **[OFFICIAL DOCUMENTATION](#book-documentation-book)**
|
|
77
|
-
5. **[
|
|
78
|
-
6. **[
|
|
79
|
-
7. **[
|
|
80
|
-
8. **[
|
|
81
|
-
9. **[
|
|
82
|
-
10. **[
|
|
83
|
-
11. **[License](#copyright-license-copyright)**
|
|
71
|
+
5. **[Choose the version](#warning-choose-the-version-warning)**
|
|
72
|
+
6. **[News](#fire-news-fire)**
|
|
73
|
+
7. **[FAQS](#question-faqs-question)**
|
|
74
|
+
8. **[Contributing](#computer-contributing-computer)**
|
|
75
|
+
9. **[A big thank you to](#sparkling_heart-a-big-thank-you-to-sparkling_heart)**
|
|
76
|
+
10. **[License](#copyright-license-copyright)**
|
|
84
77
|
|
|
85
78
|
<br>
|
|
86
79
|
|
|
@@ -120,12 +113,12 @@ Despite its name, this library is more than for modal galleries, because I'm int
|
|
|
120
113
|
|
|
121
114
|
## :boom: Features :boom:
|
|
122
115
|
- Angular Module to import this library
|
|
123
|
-
- requires
|
|
124
|
-
-
|
|
116
|
+
- requires Angular >= 13
|
|
117
|
+
- IVY is required
|
|
125
118
|
- supports all **recommended Angular Compiler Options**
|
|
126
|
-
- compliant to Angular Package Format
|
|
119
|
+
- compliant to Angular Package Format v13 specifications
|
|
127
120
|
- **use [Semantic versioning 2.0.0](http://semver.org/)** also known as 'semver'
|
|
128
|
-
- official examples with `angular-cli`, `angular-cli + material
|
|
121
|
+
- official examples with `angular-cli`, `angular-cli + material` and `angular-universal` [HERE](https://github.com/Ks89/angular-modal-gallery/tree/master/examples)
|
|
129
122
|
- unit testing with high % coverage
|
|
130
123
|
- **Server Side Rendering** support with angular-universal
|
|
131
124
|
- Web Accessibility features, like ARIA support and [toptal.com](https://www.toptal.com/designers/colorfilter) criteria (tested with `Sim Daltonism` for macOS)
|
|
@@ -139,7 +132,7 @@ Despite its name, this library is more than for modal galleries, because I'm int
|
|
|
139
132
|
- configurable side-previews (visible only on bigger screen)
|
|
140
133
|
- configurable dots navigation (visible only on bigger screen)
|
|
141
134
|
- configurable previews (visible only on bigger screen)
|
|
142
|
-
- and many more... (check the official documentation [HERE](https://ks89.github.io/angular-modal-gallery-
|
|
135
|
+
- and many more... (check the official documentation [HERE](https://ks89.github.io/angular-modal-gallery-2021-v9.github.io/))
|
|
143
136
|
|
|
144
137
|
<br>
|
|
145
138
|
|
|
@@ -150,8 +143,7 @@ Despite its name, this library is more than for modal galleries, because I'm int
|
|
|
150
143
|
- `npm install --save-dev @types/mousetrap @types/hammerjs`
|
|
151
144
|
|
|
152
145
|
From version @ks89/angular-modal-gallery >= 5.0.0, **font-awesome isn't a mandatory dependency**.
|
|
153
|
-
You can use all default features without font-awesome. For more info, check official [documentation website](https://ks89.github.io/angular-modal
|
|
154
|
-
-gallery-2020-v8.github.io/).
|
|
146
|
+
You can use all default features without font-awesome. For more info, check official [documentation website](https://ks89.github.io/angular-modal-gallery-2021-v9.github.io/).
|
|
155
147
|
|
|
156
148
|
<br>
|
|
157
149
|
|
|
@@ -159,13 +151,7 @@ You can use all default features without font-awesome. For more info, check offi
|
|
|
159
151
|
|
|
160
152
|
*Image loading could be slow, because this website is hosted on Github pages*
|
|
161
153
|
|
|
162
|
-
[OFFICIAL DOCUMENTATION WEBSITE](https://ks89.github.io/angular-modal-gallery-
|
|
163
|
-
|
|
164
|
-
<br>
|
|
165
|
-
|
|
166
|
-
## :microphone: **Live demo** :microphone:
|
|
167
|
-
|
|
168
|
-
[OFFICIAL LIVE DEMO](https://stackblitz.com/edit/angular-modal-gallery-v8/)
|
|
154
|
+
[OFFICIAL DOCUMENTATION WEBSITE](https://ks89.github.io/angular-modal-gallery-2021-v9.github.io/)
|
|
169
155
|
|
|
170
156
|
<br>
|
|
171
157
|
|
|
@@ -177,12 +163,17 @@ You can use all default features without font-awesome. For more info, check offi
|
|
|
177
163
|
| Angular 2 | = 3.3.5 | >= 4.0.0 |
|
|
178
164
|
| Angular 4 | = 5.7.1 | optional |
|
|
179
165
|
| Angular 5 | = 6.3.0 | optional |
|
|
180
|
-
| Angular 6 |
|
|
181
|
-
| Angular 7 |
|
|
182
|
-
| Angular 8 |
|
|
183
|
-
| Angular 9 |
|
|
184
|
-
| Angular 10 |
|
|
185
|
-
| Angular 11 |
|
|
166
|
+
| Angular 6 | = 7.2.7 | optional |
|
|
167
|
+
| Angular 7 | = 7.2.7 | optional |
|
|
168
|
+
| Angular 8 | = 7.2.7 | optional |
|
|
169
|
+
| Angular 9 | = 7.2.7 | optional |
|
|
170
|
+
| Angular 10 | = 7.2.7 | optional |
|
|
171
|
+
| Angular 11 | = 7.2.7 | optional |
|
|
172
|
+
| Angular 12 | = 8.0.1 | optional |
|
|
173
|
+
| Angular 13 | >= 9.0.0 | optional |
|
|
174
|
+
|
|
175
|
+
*Version 8.0.0 requires at least Angular 12.*
|
|
176
|
+
*Version 9.0.0 requires at least Angular 13.*
|
|
186
177
|
|
|
187
178
|
<br>
|
|
188
179
|
|
|
@@ -190,11 +181,16 @@ You can use all default features without font-awesome. For more info, check offi
|
|
|
190
181
|
|
|
191
182
|
**More than 100 releases in two years**, and more to come... :)
|
|
192
183
|
|
|
184
|
+
- 11/06/2021 - 9.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
185
|
+
- 09/27/2021 - 8.0.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
186
|
+
- 07/10/2021 - 8.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
187
|
+
- 06/13/2021 - 8.0.0-rc.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
193
188
|
- 11/22/2020 - 8.0.0-beta.5 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
194
189
|
- 08/14/2020 - 8.0.0-beta.4 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
195
190
|
- 08/12/2020 - 8.0.0-beta.3 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
196
191
|
- 06/02/2020 - 8.0.0-beta.2 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
197
192
|
- 05/02/2020 - 8.0.0-beta.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
193
|
+
- 12/05/2020 - 7.2.7 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
198
194
|
- 12/29/2019 - 7.2.6 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
199
195
|
- 09/23/2019 - 7.2.5 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
200
196
|
- 08/19/2019 - 7.2.4 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
|
|
@@ -236,12 +232,12 @@ You can use all default features without font-awesome. For more info, check offi
|
|
|
236
232
|
**Answer**: Simply run `npm i --save-dev @types/mousetrap`
|
|
237
233
|
2. Question: **I have this error: `Error: No provider for KeyboardService`. What can I do?**<br>
|
|
238
234
|
**Answer**: You forgot to add .forRoot(), so KeyboardService will be never available as a service. Please read section "Installation" [HERE](https
|
|
239
|
-
://ks89.github.io/angular-modal-gallery-
|
|
235
|
+
://ks89.github.io/angular-modal-gallery-2021-v9.github.io/gettingStarted).
|
|
240
236
|
This is a common design pattern for Angular libraries. For more info check also [this issue](https://github.com/Ks89/angular-modal-gallery/issues/94).
|
|
241
237
|
3. Question: **How can I remove images using DELETE button without issues?**<br>
|
|
242
238
|
**Answer**: **You cannot change the input image array. Instead, you should reassign it with a newer array** without the deleted element.
|
|
243
239
|
In other words, **you must think in a functional way**, without changing the input array of images.
|
|
244
|
-
For more information check this official demo [HERE](https://ks89.github.io/angular-modal-gallery-
|
|
240
|
+
For more information check this official demo [HERE](https://ks89.github.io/angular-modal-gallery-2021-v9.github.io/demo/buttons-strategies).
|
|
245
241
|
|
|
246
242
|
<br>
|
|
247
243
|
|
|
@@ -251,9 +247,7 @@ Check `CONTRIBUTING.md` in this repository.
|
|
|
251
247
|
To understand how to contribute to an open source project, [HERE](https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github) you can find useful information.
|
|
252
248
|
|
|
253
249
|
When you create a pull request, please, format your code to be consistent with the existing code. I suggest to use [WebStorm](https://www.jetbrains.com/webstorm/) as IDE and when you commit don't use a third party software, but the official command line `git`.
|
|
254
|
-
In this way, [prettier](https://prettier.io/) will run using my configuration and it will auto-format the code. If it
|
|
255
|
-
|
|
256
|
-
Also, if you want to generate the `internal library documentation`, run `npm run docs` and open `./docs/typedoc/index.html`.
|
|
250
|
+
In this way, [prettier](https://prettier.io/) will run using my configuration, and it will auto-format the code. If it fails, add files with `git add .` again and retry.
|
|
257
251
|
|
|
258
252
|
<br>
|
|
259
253
|
|
|
@@ -281,7 +275,7 @@ Also, if you want to generate the `internal library documentation`, run `npm run
|
|
|
281
275
|
|
|
282
276
|
The MIT License (MIT)
|
|
283
277
|
|
|
284
|
-
Copyright (c) 2017-
|
|
278
|
+
Copyright (c) 2017-2021 Stefano Cappa (Ks89)
|
|
285
279
|
|
|
286
280
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
287
281
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3M4OS1hbmd1bGFyLW1vZGFsLWdhbGxlcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9rczg5L2FuZ3VsYXItbW9kYWwtZ2FsbGVyeS9zcmMva3M4OS1hbmd1bGFyLW1vZGFsLWdhbGxlcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Default accessibility configuration.
|
|
3
|
+
*/
|
|
4
|
+
export const KS_DEFAULT_ACCESSIBILITY_CONFIG = {
|
|
5
|
+
backgroundAriaLabel: 'Modal gallery full screen background',
|
|
6
|
+
backgroundTitle: '',
|
|
7
|
+
plainGalleryContentAriaLabel: 'Plain gallery content',
|
|
8
|
+
plainGalleryContentTitle: '',
|
|
9
|
+
modalGalleryContentAriaLabel: 'Modal gallery content',
|
|
10
|
+
modalGalleryContentTitle: '',
|
|
11
|
+
loadingSpinnerAriaLabel: 'The current image is loading. Please be patient.',
|
|
12
|
+
loadingSpinnerTitle: 'The current image is loading. Please be patient.',
|
|
13
|
+
mainContainerAriaLabel: 'Current image and navigation',
|
|
14
|
+
mainContainerTitle: '',
|
|
15
|
+
mainPrevImageAriaLabel: 'Previous image',
|
|
16
|
+
mainPrevImageTitle: 'Previous image',
|
|
17
|
+
mainNextImageAriaLabel: 'Next image',
|
|
18
|
+
mainNextImageTitle: 'Next image',
|
|
19
|
+
dotsContainerAriaLabel: 'Image navigation dots',
|
|
20
|
+
dotsContainerTitle: '',
|
|
21
|
+
dotAriaLabel: 'Navigate to image number',
|
|
22
|
+
previewsContainerAriaLabel: 'Image previews',
|
|
23
|
+
previewsContainerTitle: '',
|
|
24
|
+
previewScrollPrevAriaLabel: 'Scroll previous previews',
|
|
25
|
+
previewScrollPrevTitle: 'Scroll previous previews',
|
|
26
|
+
previewScrollNextAriaLabel: 'Scroll next previews',
|
|
27
|
+
previewScrollNextTitle: 'Scroll next previews',
|
|
28
|
+
carouselContainerAriaLabel: 'Current image and navigation',
|
|
29
|
+
carouselContainerTitle: '',
|
|
30
|
+
carouselPrevImageAriaLabel: 'Previous image',
|
|
31
|
+
carouselPrevImageTitle: 'Previous image',
|
|
32
|
+
carouselNextImageAriaLabel: 'Next image',
|
|
33
|
+
carouselNextImageTitle: 'Next image',
|
|
34
|
+
carouselPreviewsContainerAriaLabel: 'Image previews',
|
|
35
|
+
carouselPreviewsContainerTitle: '',
|
|
36
|
+
carouselPreviewScrollPrevAriaLabel: 'Scroll previous previews',
|
|
37
|
+
carouselPreviewScrollPrevTitle: 'Scroll previous previews',
|
|
38
|
+
carouselPreviewScrollNextAriaLabel: 'Scroll next previews',
|
|
39
|
+
carouselPreviewScrollNextTitle: 'Scroll next previews'
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjZXNzaWJpbGl0eS1kZWZhdWx0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva3M4OS9hbmd1bGFyLW1vZGFsLWdhbGxlcnkvc3JjL2xpYi9jb21wb25lbnRzL2FjY2Vzc2liaWxpdHktZGVmYXVsdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLCtCQUErQixHQUF3Q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