Browse Source

5.0.30

main v5.0.30
Jānis Skarnelis 1 year ago
parent
commit
8e5c847c08
  1. 10
      CHANGELOG.md
  2. 2
      dist/carousel/carousel.autoplay.esm.js
  3. 2
      dist/carousel/carousel.autoplay.umd.js
  4. 2
      dist/carousel/carousel.esm.js
  5. 2
      dist/carousel/carousel.thumbs.esm.js
  6. 2
      dist/carousel/carousel.thumbs.umd.js
  7. 2
      dist/carousel/carousel.umd.js
  8. 2
      dist/fancybox/fancybox.esm.js
  9. 2
      dist/fancybox/fancybox.umd.js
  10. 2
      dist/fancybox/l10n/es.esm.js
  11. 2
      dist/fancybox/l10n/es.umd.js
  12. 2
      dist/fancybox/l10n/ja.esm.js
  13. 2
      dist/fancybox/l10n/ja.umd.js
  14. 2
      dist/fancybox/l10n/lv.esm.js
  15. 2
      dist/fancybox/l10n/lv.umd.js
  16. 2
      dist/index.esm.js
  17. 2
      dist/index.umd.js
  18. 2
      dist/panzoom/l10n/lv.esm.js
  19. 2
      dist/panzoom/l10n/lv.umd.js
  20. 2
      dist/panzoom/panzoom.esm.js
  21. 2
      dist/panzoom/panzoom.pins.esm.js
  22. 2
      dist/panzoom/panzoom.pins.umd.js
  23. 2
      dist/panzoom/panzoom.toolbar.esm.js
  24. 2
      dist/panzoom/panzoom.toolbar.umd.js
  25. 2
      dist/panzoom/panzoom.umd.js
  26. 2
      l10n/Fancybox/es.ts
  27. 2
      l10n/Fancybox/ja.ts
  28. 6
      l10n/Fancybox/lv.ts
  29. 2
      l10n/Panzoom/lv.ts
  30. 2
      package.json
  31. 4
      types/Carousel/Carousel.d.ts
  32. 2
      types/Fancybox/plugins/Toolbar/Toolbar.d.ts

10
CHANGELOG.md

@ -1,3 +1,13 @@
# 5.0.30 (2023-12-14)
### Bug Fixes
- Fix l10n TS files ([598](https://github.com/fancyapps/ui/issues/598))
### Features
- **Carousel** Added new method `setPageFromPosition`, see [597](https://github.com/fancyapps/ui/issues/597)
# 5.0.29 (2023-12-12)
### Bug Fixes

2
dist/carousel/carousel.autoplay.esm.js

File diff suppressed because one or more lines are too long

2
dist/carousel/carousel.autoplay.umd.js

File diff suppressed because one or more lines are too long

2
dist/carousel/carousel.esm.js

File diff suppressed because one or more lines are too long

2
dist/carousel/carousel.thumbs.esm.js

File diff suppressed because one or more lines are too long

2
dist/carousel/carousel.thumbs.umd.js

File diff suppressed because one or more lines are too long

2
dist/carousel/carousel.umd.js

File diff suppressed because one or more lines are too long

2
dist/fancybox/fancybox.esm.js

File diff suppressed because one or more lines are too long

2
dist/fancybox/fancybox.umd.js

File diff suppressed because one or more lines are too long

2
dist/fancybox/l10n/es.esm.js

@ -1 +1 @@
const a={PANUP:"Mover hacia arriba",PANDOWN:"Mover hacia abajo",PANLEFT:"Mover hacia la izquierda",PANRIGHT:"Mover hacia la derecha",ZOOMIN:"Mover a la derecha",ZOOMOUT:"Disminuir el zoom",TOGGLEZOOM:"Alternar nivel de zoom",TOGGLE1TO1:"Alternar nivel de zoom",ITERATEZOOM:"Alternar nivel de zoom",ROTATECCW:"Girar en sentido antihorario",ROTATECW:"Rotar las agujas del reloj",FLIPX:"Voltear horizontalmente",FLIPY:"Voltear verticalmente",FITX:"Ajustar horizontalmente",FITY:"Ajustar verticalmente",RESET:"Reiniciar",TOGGLEFS:"Alternar pantalla completa",CLOSE:"Cerrar",NEXT:"Siguiente",PREV:"Anterior",MODAL:"Puedes cerrar esta ventana con la tecla ESC",ERROR:"Algo salió mal, inténtalo de nuevo más tarde",IMAGE_ERROR:"Imagen no encontrada",ELEMENT_NOT_FOUND:"Elemento HTML no encontrado",AJAX_NOT_FOUND:"Error al cargar el AJAX : No encontrado",AJAX_FORBIDDEN:"Error al cargar el AJAX : Prohibido",IFRAME_ERROR:"Error al cargar la página",TOGGLE_ZOOM:"Cambiar el nivel de zoom",TOGGLE_THUMBS:"Cambiar a miniaturas",TOGGLE_SLIDESHOW:"Cambiar a modo presentación",TOGGLE_FULLSCREEN:"Cambiar a modo pantalla completa",DOWNLOAD:"Descargar"};export{a as en};
const a={PANUP:"Mover hacia arriba",PANDOWN:"Mover hacia abajo",PANLEFT:"Mover hacia la izquierda",PANRIGHT:"Mover hacia la derecha",ZOOMIN:"Mover a la derecha",ZOOMOUT:"Disminuir el zoom",TOGGLEZOOM:"Alternar nivel de zoom",TOGGLE1TO1:"Alternar nivel de zoom",ITERATEZOOM:"Alternar nivel de zoom",ROTATECCW:"Girar en sentido antihorario",ROTATECW:"Rotar las agujas del reloj",FLIPX:"Voltear horizontalmente",FLIPY:"Voltear verticalmente",FITX:"Ajustar horizontalmente",FITY:"Ajustar verticalmente",RESET:"Reiniciar",TOGGLEFS:"Alternar pantalla completa",CLOSE:"Cerrar",NEXT:"Siguiente",PREV:"Anterior",MODAL:"Puedes cerrar esta ventana con la tecla ESC",ERROR:"Algo salió mal, inténtalo de nuevo más tarde",IMAGE_ERROR:"Imagen no encontrada",ELEMENT_NOT_FOUND:"Elemento HTML no encontrado",AJAX_NOT_FOUND:"Error al cargar el AJAX : No encontrado",AJAX_FORBIDDEN:"Error al cargar el AJAX : Prohibido",IFRAME_ERROR:"Error al cargar la página",TOGGLE_ZOOM:"Cambiar el nivel de zoom",TOGGLE_THUMBS:"Cambiar a miniaturas",TOGGLE_SLIDESHOW:"Cambiar a modo presentación",TOGGLE_FULLSCREEN:"Cambiar a modo pantalla completa",DOWNLOAD:"Descargar"};export{a as es};

2
dist/fancybox/l10n/es.umd.js

@ -1 +1 @@
!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((a="undefined"!=typeof globalThis?globalThis:a||self).Fancybox=a.Fancybox||{},a.Fancybox.l10n=a.Fancybox.l10n||{}))}(this,(function(a){"use strict";const e={PANUP:"Mover hacia arriba",PANDOWN:"Mover hacia abajo",PANLEFT:"Mover hacia la izquierda",PANRIGHT:"Mover hacia la derecha",ZOOMIN:"Mover a la derecha",ZOOMOUT:"Disminuir el zoom",TOGGLEZOOM:"Alternar nivel de zoom",TOGGLE1TO1:"Alternar nivel de zoom",ITERATEZOOM:"Alternar nivel de zoom",ROTATECCW:"Girar en sentido antihorario",ROTATECW:"Rotar las agujas del reloj",FLIPX:"Voltear horizontalmente",FLIPY:"Voltear verticalmente",FITX:"Ajustar horizontalmente",FITY:"Ajustar verticalmente",RESET:"Reiniciar",TOGGLEFS:"Alternar pantalla completa",CLOSE:"Cerrar",NEXT:"Siguiente",PREV:"Anterior",MODAL:"Puedes cerrar esta ventana con la tecla ESC",ERROR:"Algo salió mal, inténtalo de nuevo más tarde",IMAGE_ERROR:"Imagen no encontrada",ELEMENT_NOT_FOUND:"Elemento HTML no encontrado",AJAX_NOT_FOUND:"Error al cargar el AJAX : No encontrado",AJAX_FORBIDDEN:"Error al cargar el AJAX : Prohibido",IFRAME_ERROR:"Error al cargar la página",TOGGLE_ZOOM:"Cambiar el nivel de zoom",TOGGLE_THUMBS:"Cambiar a miniaturas",TOGGLE_SLIDESHOW:"Cambiar a modo presentación",TOGGLE_FULLSCREEN:"Cambiar a modo pantalla completa",DOWNLOAD:"Descargar"};a.en=e}));
!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(((a="undefined"!=typeof globalThis?globalThis:a||self).Fancybox=a.Fancybox||{},a.Fancybox.l10n=a.Fancybox.l10n||{}))}(this,(function(a){"use strict";const e={PANUP:"Mover hacia arriba",PANDOWN:"Mover hacia abajo",PANLEFT:"Mover hacia la izquierda",PANRIGHT:"Mover hacia la derecha",ZOOMIN:"Mover a la derecha",ZOOMOUT:"Disminuir el zoom",TOGGLEZOOM:"Alternar nivel de zoom",TOGGLE1TO1:"Alternar nivel de zoom",ITERATEZOOM:"Alternar nivel de zoom",ROTATECCW:"Girar en sentido antihorario",ROTATECW:"Rotar las agujas del reloj",FLIPX:"Voltear horizontalmente",FLIPY:"Voltear verticalmente",FITX:"Ajustar horizontalmente",FITY:"Ajustar verticalmente",RESET:"Reiniciar",TOGGLEFS:"Alternar pantalla completa",CLOSE:"Cerrar",NEXT:"Siguiente",PREV:"Anterior",MODAL:"Puedes cerrar esta ventana con la tecla ESC",ERROR:"Algo salió mal, inténtalo de nuevo más tarde",IMAGE_ERROR:"Imagen no encontrada",ELEMENT_NOT_FOUND:"Elemento HTML no encontrado",AJAX_NOT_FOUND:"Error al cargar el AJAX : No encontrado",AJAX_FORBIDDEN:"Error al cargar el AJAX : Prohibido",IFRAME_ERROR:"Error al cargar la página",TOGGLE_ZOOM:"Cambiar el nivel de zoom",TOGGLE_THUMBS:"Cambiar a miniaturas",TOGGLE_SLIDESHOW:"Cambiar a modo presentación",TOGGLE_FULLSCREEN:"Cambiar a modo pantalla completa",DOWNLOAD:"Descargar"};a.es=e}));

2
dist/fancybox/l10n/ja.esm.js

@ -1 +1 @@
const O={PANUP:"上に移動",PANDOWN:"下に移動",PANLEFT:"左に移動",PANRIGHT:"右に動く",ZOOMIN:"ズームイン",ZOOMOUT:"ズームアウトする",TOGGLEZOOM:"ズーム レベルの切り替え",TOGGLE1TO1:"ズーム レベルの切り替え",ITERATEZOOM:"ズーム レベルの切り替え",ROTATECCW:"反時計回りに回転",ROTATECW:"時計回りに回転します",FLIPX:"左右反転",FLIPY:"上下反転",FITX:"水平に合わせる",FITY:"縦に合わせる",RESET:"リセット",TOGGLEFS:"フルスクリーン切り替え",CLOSE:"近い",NEXT:"次",PREV:"前",MODAL:"このモーダル コンテンツは ESC キーで閉じることができます",ERROR:"何かが間違っています。後でもう一度試してください",IMAGE_ERROR:"画像が見つかりません",ELEMENT_NOT_FOUND:"HTML 要素が見つかりません",AJAX_NOT_FOUND:"AJAX の読み込みエラー: 見つかりません",AJAX_FORBIDDEN:"AJAX のロード中にエラーが発生しました: 禁止されています",IFRAME_ERROR:"ページ読み込みエラー",TOGGLE_ZOOM:"ズーム レベルの切り替え",TOGGLE_THUMBS:"サムネイルの切り替え",TOGGLE_SLIDESHOW:"スライドショーの切り替え",TOGGLE_FULLSCREEN:"全画面モードの切り替え",DOWNLOAD:"ダウンロード"};export{O as js};
const O={PANUP:"上に移動",PANDOWN:"下に移動",PANLEFT:"左に移動",PANRIGHT:"右に動く",ZOOMIN:"ズームイン",ZOOMOUT:"ズームアウトする",TOGGLEZOOM:"ズーム レベルの切り替え",TOGGLE1TO1:"ズーム レベルの切り替え",ITERATEZOOM:"ズーム レベルの切り替え",ROTATECCW:"反時計回りに回転",ROTATECW:"時計回りに回転します",FLIPX:"左右反転",FLIPY:"上下反転",FITX:"水平に合わせる",FITY:"縦に合わせる",RESET:"リセット",TOGGLEFS:"フルスクリーン切り替え",CLOSE:"近い",NEXT:"次",PREV:"前",MODAL:"このモーダル コンテンツは ESC キーで閉じることができます",ERROR:"何かが間違っています。後でもう一度試してください",IMAGE_ERROR:"画像が見つかりません",ELEMENT_NOT_FOUND:"HTML 要素が見つかりません",AJAX_NOT_FOUND:"AJAX の読み込みエラー: 見つかりません",AJAX_FORBIDDEN:"AJAX のロード中にエラーが発生しました: 禁止されています",IFRAME_ERROR:"ページ読み込みエラー",TOGGLE_ZOOM:"ズーム レベルの切り替え",TOGGLE_THUMBS:"サムネイルの切り替え",TOGGLE_SLIDESHOW:"スライドショーの切り替え",TOGGLE_FULLSCREEN:"全画面モードの切り替え",DOWNLOAD:"ダウンロード"};export{O as ja};

2
dist/fancybox/l10n/ja.umd.js

@ -1 +1 @@
!function(O,E){"object"==typeof exports&&"undefined"!=typeof module?E(exports):"function"==typeof define&&define.amd?define(["exports"],E):E(((O="undefined"!=typeof globalThis?globalThis:O||self).Fancybox=O.Fancybox||{},O.Fancybox.l10n=O.Fancybox.l10n||{}))}(this,(function(O){"use strict";const E={PANUP:"上に移動",PANDOWN:"下に移動",PANLEFT:"左に移動",PANRIGHT:"右に動く",ZOOMIN:"ズームイン",ZOOMOUT:"ズームアウトする",TOGGLEZOOM:"ズーム レベルの切り替え",TOGGLE1TO1:"ズーム レベルの切り替え",ITERATEZOOM:"ズーム レベルの切り替え",ROTATECCW:"反時計回りに回転",ROTATECW:"時計回りに回転します",FLIPX:"左右反転",FLIPY:"上下反転",FITX:"水平に合わせる",FITY:"縦に合わせる",RESET:"リセット",TOGGLEFS:"フルスクリーン切り替え",CLOSE:"近い",NEXT:"次",PREV:"前",MODAL:"このモーダル コンテンツは ESC キーで閉じることができます",ERROR:"何かが間違っています。後でもう一度試してください",IMAGE_ERROR:"画像が見つかりません",ELEMENT_NOT_FOUND:"HTML 要素が見つかりません",AJAX_NOT_FOUND:"AJAX の読み込みエラー: 見つかりません",AJAX_FORBIDDEN:"AJAX のロード中にエラーが発生しました: 禁止されています",IFRAME_ERROR:"ページ読み込みエラー",TOGGLE_ZOOM:"ズーム レベルの切り替え",TOGGLE_THUMBS:"サムネイルの切り替え",TOGGLE_SLIDESHOW:"スライドショーの切り替え",TOGGLE_FULLSCREEN:"全画面モードの切り替え",DOWNLOAD:"ダウンロード"};O.js=E}));
!function(O,E){"object"==typeof exports&&"undefined"!=typeof module?E(exports):"function"==typeof define&&define.amd?define(["exports"],E):E(((O="undefined"!=typeof globalThis?globalThis:O||self).Fancybox=O.Fancybox||{},O.Fancybox.l10n=O.Fancybox.l10n||{}))}(this,(function(O){"use strict";const E={PANUP:"上に移動",PANDOWN:"下に移動",PANLEFT:"左に移動",PANRIGHT:"右に動く",ZOOMIN:"ズームイン",ZOOMOUT:"ズームアウトする",TOGGLEZOOM:"ズーム レベルの切り替え",TOGGLE1TO1:"ズーム レベルの切り替え",ITERATEZOOM:"ズーム レベルの切り替え",ROTATECCW:"反時計回りに回転",ROTATECW:"時計回りに回転します",FLIPX:"左右反転",FLIPY:"上下反転",FITX:"水平に合わせる",FITY:"縦に合わせる",RESET:"リセット",TOGGLEFS:"フルスクリーン切り替え",CLOSE:"近い",NEXT:"次",PREV:"前",MODAL:"このモーダル コンテンツは ESC キーで閉じることができます",ERROR:"何かが間違っています。後でもう一度試してください",IMAGE_ERROR:"画像が見つかりません",ELEMENT_NOT_FOUND:"HTML 要素が見つかりません",AJAX_NOT_FOUND:"AJAX の読み込みエラー: 見つかりません",AJAX_FORBIDDEN:"AJAX のロード中にエラーが発生しました: 禁止されています",IFRAME_ERROR:"ページ読み込みエラー",TOGGLE_ZOOM:"ズーム レベルの切り替え",TOGGLE_THUMBS:"サムネイルの切り替え",TOGGLE_SLIDESHOW:"スライドショーの切り替え",TOGGLE_FULLSCREEN:"全画面モードの切り替え",DOWNLOAD:"ダウンロード"};O.ja=E}));

2
dist/fancybox/l10n/lv.esm.js

@ -1 +1 @@
const l={PANUP:"Move up",PANDOWN:"Move down",PANLEFT:"Move left",PANRIGHT:"Move right",ZOOMIN:"Zoom in",ZOOMOUT:"Zoom out",TOGGLEZOOM:"Toggle zoom level",TOGGLE1TO1:"Toggle zoom level",ITERATEZOOM:"Toggle zoom level",ROTATECCW:"Rotate counterclockwise",ROTATECW:"Rotate clockwise",FLIPX:"Flip horizontally",FLIPY:"Flip vertically",FITX:"Fit horizontally",FITY:"Fit vertically",RESET:"Reset",TOGGLEFS:"Toggle fullscreen",CLOSE:"Aizvērt",NEXT:"Nākošais",PREV:"Iepriekšējais",MODAL:"Šo modālo saturu var aizvērt ar ESC taustiņu",ERROR:"Kaut kas nogāja greizi. Lūdzu, vēlāk mēģiniet vēlreiz",IMAGE_ERROR:"Attēls nav atrasts",ELEMENT_NOT_FOUND:"HTML elements nav atrasts",AJAX_NOT_FOUND:"Ielādējot AJAX, radās kļūda: Nav atrasts",AJAX_FORBIDDEN:"Ielādējot AJAX, radās kļūda: Aizliegts",IFRAME_ERROR:"Ielādējot lapu, radās kļūda",TOGGLE_ZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE_THUMBS:"Pārslēgt sīktēlus",TOGGLE_SLIDESHOW:"Pārslēgt slaidrādi",TOGGLE_FULLSCREEN:"Pārslēgt pilnekrāna režīmu",DOWNLOAD:"Lejupielādēt"};export{l as en};
const t={PANUP:"Bīdīt uz augšu",PANDOWN:"Bīdīt uz leju",PANLEFT:"Bīdīt pa kreisi",PANRIGHT:"Bīdīt pa labi",ZOOMIN:"Pietuvināt",ZOOMOUT:"Attālināt",TOGGLEZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE1TO1:"Pārslēgt tālummaiņas līmeni",ITERATEZOOM:"Pārslēgt tālummaiņas līmeni",ROTATECCW:"Pagrieziet pretēji pulksteņrādītāja virzienam",ROTATECW:"Pagrieziet pulksteņrādītāja virzienā",FLIPX:"Apgriezt horizontāli",FLIPY:"Apgriezt vertikāli",FITX:"Ietilpināt horizontāli",FITY:"Ietilpināt vertikāli",RESET:"Atiestatīt",TOGGLEFS:"Pārslēgt pilnekrāna režīmu",CLOSE:"Aizvērt",NEXT:"Nākošais",PREV:"Iepriekšējais",MODAL:"Šo modālo saturu var aizvērt ar ESC taustiņu",ERROR:"Kaut kas nogāja greizi. Lūdzu, vēlāk mēģiniet vēlreiz",IMAGE_ERROR:"Attēls nav atrasts",ELEMENT_NOT_FOUND:"HTML elements nav atrasts",AJAX_NOT_FOUND:"Ielādējot AJAX, radās kļūda: Nav atrasts",AJAX_FORBIDDEN:"Ielādējot AJAX, radās kļūda: Aizliegts",IFRAME_ERROR:"Ielādējot lapu, radās kļūda",TOGGLE_ZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE_THUMBS:"Pārslēgt sīktēlus",TOGGLE_SLIDESHOW:"Pārslēgt slaidrādi",TOGGLE_FULLSCREEN:"Pārslēgt pilnekrāna režīmu",DOWNLOAD:"Lejupielādēt"};export{t as lv};

2
dist/fancybox/l10n/lv.umd.js

@ -1 +1 @@
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).Fancybox=e.Fancybox||{},e.Fancybox.l10n=e.Fancybox.l10n||{}))}(this,(function(e){"use strict";const t={PANUP:"Move up",PANDOWN:"Move down",PANLEFT:"Move left",PANRIGHT:"Move right",ZOOMIN:"Zoom in",ZOOMOUT:"Zoom out",TOGGLEZOOM:"Toggle zoom level",TOGGLE1TO1:"Toggle zoom level",ITERATEZOOM:"Toggle zoom level",ROTATECCW:"Rotate counterclockwise",ROTATECW:"Rotate clockwise",FLIPX:"Flip horizontally",FLIPY:"Flip vertically",FITX:"Fit horizontally",FITY:"Fit vertically",RESET:"Reset",TOGGLEFS:"Toggle fullscreen",CLOSE:"Aizvērt",NEXT:"Nākošais",PREV:"Iepriekšējais",MODAL:"Šo modālo saturu var aizvērt ar ESC taustiņu",ERROR:"Kaut kas nogāja greizi. Lūdzu, vēlāk mēģiniet vēlreiz",IMAGE_ERROR:"Attēls nav atrasts",ELEMENT_NOT_FOUND:"HTML elements nav atrasts",AJAX_NOT_FOUND:"Ielādējot AJAX, radās kļūda: Nav atrasts",AJAX_FORBIDDEN:"Ielādējot AJAX, radās kļūda: Aizliegts",IFRAME_ERROR:"Ielādējot lapu, radās kļūda",TOGGLE_ZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE_THUMBS:"Pārslēgt sīktēlus",TOGGLE_SLIDESHOW:"Pārslēgt slaidrādi",TOGGLE_FULLSCREEN:"Pārslēgt pilnekrāna režīmu",DOWNLOAD:"Lejupielādēt"};e.en=t}));
!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i(((t="undefined"!=typeof globalThis?globalThis:t||self).Fancybox=t.Fancybox||{},t.Fancybox.l10n=t.Fancybox.l10n||{}))}(this,(function(t){"use strict";const i={PANUP:"Bīdīt uz augšu",PANDOWN:"Bīdīt uz leju",PANLEFT:"Bīdīt pa kreisi",PANRIGHT:"Bīdīt pa labi",ZOOMIN:"Pietuvināt",ZOOMOUT:"Attālināt",TOGGLEZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE1TO1:"Pārslēgt tālummaiņas līmeni",ITERATEZOOM:"Pārslēgt tālummaiņas līmeni",ROTATECCW:"Pagrieziet pretēji pulksteņrādītāja virzienam",ROTATECW:"Pagrieziet pulksteņrādītāja virzienā",FLIPX:"Apgriezt horizontāli",FLIPY:"Apgriezt vertikāli",FITX:"Ietilpināt horizontāli",FITY:"Ietilpināt vertikāli",RESET:"Atiestatīt",TOGGLEFS:"Pārslēgt pilnekrāna režīmu",CLOSE:"Aizvērt",NEXT:"Nākošais",PREV:"Iepriekšējais",MODAL:"Šo modālo saturu var aizvērt ar ESC taustiņu",ERROR:"Kaut kas nogāja greizi. Lūdzu, vēlāk mēģiniet vēlreiz",IMAGE_ERROR:"Attēls nav atrasts",ELEMENT_NOT_FOUND:"HTML elements nav atrasts",AJAX_NOT_FOUND:"Ielādējot AJAX, radās kļūda: Nav atrasts",AJAX_FORBIDDEN:"Ielādējot AJAX, radās kļūda: Aizliegts",IFRAME_ERROR:"Ielādējot lapu, radās kļūda",TOGGLE_ZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE_THUMBS:"Pārslēgt sīktēlus",TOGGLE_SLIDESHOW:"Pārslēgt slaidrādi",TOGGLE_FULLSCREEN:"Pārslēgt pilnekrāna režīmu",DOWNLOAD:"Lejupielādēt"};t.lv=i}));

2
dist/index.esm.js

File diff suppressed because one or more lines are too long

2
dist/index.umd.js

File diff suppressed because one or more lines are too long

2
dist/panzoom/l10n/lv.esm.js

@ -1 +1 @@
const t={PANUP:"Bīdīt uz augšu",PANDOWN:"Bīdīt uz leju",PANLEFT:"Bīdīt pa kreisi",PANRIGHT:"Bīdīt pa labi",ZOOMIN:"Pietuvināt",ZOOMOUT:"Attālināt",TOGGLEZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE1TO1:"Pārslēgt tālummaiņas līmeni",ITERATEZOOM:"Pārslēgt tālummaiņas līmeni",ROTATECCW:"Pagrieziet pretēji pulksteņrādītāja virzienam",ROTATECW:"Pagrieziet pulksteņrādītāja virzienā",FLIPX:"Apgriezt horizontāli",FLIPY:"Apgriezt vertikāli",FITX:"Ietilpināt horizontāli",FITY:"Ietilpināt vertikāli",RESET:"Atiestatīt",TOGGLEFS:"Pārslēgt pilnekrāna režīmu"};export{t as en};
const t={PANUP:"Bīdīt uz augšu",PANDOWN:"Bīdīt uz leju",PANLEFT:"Bīdīt pa kreisi",PANRIGHT:"Bīdīt pa labi",ZOOMIN:"Pietuvināt",ZOOMOUT:"Attālināt",TOGGLEZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE1TO1:"Pārslēgt tālummaiņas līmeni",ITERATEZOOM:"Pārslēgt tālummaiņas līmeni",ROTATECCW:"Pagrieziet pretēji pulksteņrādītāja virzienam",ROTATECW:"Pagrieziet pulksteņrādītāja virzienā",FLIPX:"Apgriezt horizontāli",FLIPY:"Apgriezt vertikāli",FITX:"Ietilpināt horizontāli",FITY:"Ietilpināt vertikāli",RESET:"Atiestatīt",TOGGLEFS:"Pārslēgt pilnekrāna režīmu"};export{t as lv};

2
dist/panzoom/l10n/lv.umd.js

@ -1 +1 @@
!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i(((t="undefined"!=typeof globalThis?globalThis:t||self).Panzoom=t.Panzoom||{},t.Panzoom.l10n=t.Panzoom.l10n||{}))}(this,(function(t){"use strict";t.en={PANUP:"Bīdīt uz augšu",PANDOWN:"Bīdīt uz leju",PANLEFT:"Bīdīt pa kreisi",PANRIGHT:"Bīdīt pa labi",ZOOMIN:"Pietuvināt",ZOOMOUT:"Attālināt",TOGGLEZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE1TO1:"Pārslēgt tālummaiņas līmeni",ITERATEZOOM:"Pārslēgt tālummaiņas līmeni",ROTATECCW:"Pagrieziet pretēji pulksteņrādītāja virzienam",ROTATECW:"Pagrieziet pulksteņrādītāja virzienā",FLIPX:"Apgriezt horizontāli",FLIPY:"Apgriezt vertikāli",FITX:"Ietilpināt horizontāli",FITY:"Ietilpināt vertikāli",RESET:"Atiestatīt",TOGGLEFS:"Pārslēgt pilnekrāna režīmu"}}));
!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i(((t="undefined"!=typeof globalThis?globalThis:t||self).Panzoom=t.Panzoom||{},t.Panzoom.l10n=t.Panzoom.l10n||{}))}(this,(function(t){"use strict";t.lv={PANUP:"Bīdīt uz augšu",PANDOWN:"Bīdīt uz leju",PANLEFT:"Bīdīt pa kreisi",PANRIGHT:"Bīdīt pa labi",ZOOMIN:"Pietuvināt",ZOOMOUT:"Attālināt",TOGGLEZOOM:"Pārslēgt tālummaiņas līmeni",TOGGLE1TO1:"Pārslēgt tālummaiņas līmeni",ITERATEZOOM:"Pārslēgt tālummaiņas līmeni",ROTATECCW:"Pagrieziet pretēji pulksteņrādītāja virzienam",ROTATECW:"Pagrieziet pulksteņrādītāja virzienā",FLIPX:"Apgriezt horizontāli",FLIPY:"Apgriezt vertikāli",FITX:"Ietilpināt horizontāli",FITY:"Ietilpināt vertikāli",RESET:"Atiestatīt",TOGGLEFS:"Pārslēgt pilnekrāna režīmu"}}));

2
dist/panzoom/panzoom.esm.js

File diff suppressed because one or more lines are too long

2
dist/panzoom/panzoom.pins.esm.js

@ -1 +1 @@
const t=(e,...s)=>{const n=s.length;for(let r=0;r<n;r++){const n=s[r]||{};Object.entries(n).forEach((([s,n])=>{const r=Array.isArray(n)?[]:{};var i;e[s]||Object.assign(e,{[s]:r}),"object"==typeof(i=n)&&null!==i&&i.constructor===Object&&"[object Object]"===Object.prototype.toString.call(i)?Object.assign(e[s],t(r,n)):Array.isArray(n)?Object.assign(e,{[s]:[...n]}):Object.assign(e,{[s]:n})}))}return e},e=function(t,e){return t.split(".").reduce(((t,e)=>"object"==typeof t?t[e]:void 0),e)};class s{constructor(t={}){Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),this.setOptions(t);for(const t of Object.getOwnPropertyNames(Object.getPrototypeOf(this)))t.startsWith("on")&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}setOptions(e){this.options=e?t({},this.constructor.defaults,e):{};for(const[t,e]of Object.entries(this.option("on")||{}))this.on(t,e)}option(t,...s){let n=e(t,this.options);return n&&"function"==typeof n&&(n=n.call(this,this,...s)),n}optionFor(t,s,n,...r){let i=e(s,t);var o;"string"!=typeof(o=i)||isNaN(o)||isNaN(parseFloat(o))||(i=parseFloat(i)),"true"===i&&(i=!0),"false"===i&&(i=!1),i&&"function"==typeof i&&(i=i.call(this,this,t,...r));let a=e(s,this.options);return a&&"function"==typeof a?i=a.call(this,this,t,...r,i):void 0===i&&(i=a),void 0===i?n:i}cn(t){const e=this.options.classes;return e&&e[t]||""}localize(t,e=[]){t=String(t).replace(/\{\{(\w+).?(\w+)?\}\}/g,((t,e,s)=>{let n="";return s?n=this.option(`${e[0]+e.toLowerCase().substring(1)}.l10n.${s}`):e&&(n=this.option(`l10n.${e}`)),n||(n=t),n}));for(let s=0;s<e.length;s++)t=t.split(e[s][0]).join(e[s][1]);return t=t.replace(/\{\{(.*?)\}\}/g,((t,e)=>e))}on(t,e){let s=[];"string"==typeof t?s=t.split(" "):Array.isArray(t)&&(s=t),this.events||(this.events=new Map),s.forEach((t=>{let s=this.events.get(t);s||(this.events.set(t,[]),s=[]),s.includes(e)||s.push(e),this.events.set(t,s)}))}off(t,e){let s=[];"string"==typeof t?s=t.split(" "):Array.isArray(t)&&(s=t),s.forEach((t=>{const s=this.events.get(t);if(Array.isArray(s)){const t=s.indexOf(e);t>-1&&s.splice(t,1)}}))}emit(t,...e){[...this.events.get(t)||[]].forEach((t=>t(this,...e))),"*"!==t&&this.emit("*",t,...e)}}Object.defineProperty(s,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.29"}),Object.defineProperty(s,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}});class n extends s{constructor(t,e){super(e),Object.defineProperty(this,"instance",{enumerable:!0,configurable:!0,writable:!0,value:t})}attach(){}detach(){}}class r extends n{constructor(){super(...arguments),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"pins",{enumerable:!0,configurable:!0,writable:!0,value:[]})}onTransform(t){for(const s of this.pins){if(!((e=s)&&null!==e&&e instanceof Element&&"nodeType"in e))continue;const{fitWidth:n,fitHeight:r,fullWidth:i,fullHeight:o}=t.contentRect,a=s.dataset.x||"",l=s.dataset.y||"";let c=0,f=0;c=a.includes("%")?n*(parseFloat(a)/100):parseFloat(a)/i*n,c-=.5*n,f=l.includes("%")?r*(parseFloat(l)/100):parseFloat(l)/o*r,f-=.5*r;const h=new DOMPoint(c,f).matrixTransform(t.getMatrix());s.style.transform=`translate3d(${h.x||0}px, ${h.y||0}px, 0)`}var e}attach(){const t=this.instance;this.pins=Array.from(t.container.querySelectorAll("[data-panzoom-pin]")),this.pins.length&&(t.container.classList.add("has-pins"),t.on(["afterTransform","refresh"],this.onTransform))}detach(){const t=this.instance;this.pins=[],t.container.classList.remove("has-pins"),t.off(["afterTransform","refresh"],this.onTransform)}}Object.defineProperty(r,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}});export{r as Pins};
const t=(e,...s)=>{const n=s.length;for(let r=0;r<n;r++){const n=s[r]||{};Object.entries(n).forEach((([s,n])=>{const r=Array.isArray(n)?[]:{};var i;e[s]||Object.assign(e,{[s]:r}),"object"==typeof(i=n)&&null!==i&&i.constructor===Object&&"[object Object]"===Object.prototype.toString.call(i)?Object.assign(e[s],t(r,n)):Array.isArray(n)?Object.assign(e,{[s]:[...n]}):Object.assign(e,{[s]:n})}))}return e},e=function(t,e){return t.split(".").reduce(((t,e)=>"object"==typeof t?t[e]:void 0),e)};class s{constructor(t={}){Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),this.setOptions(t);for(const t of Object.getOwnPropertyNames(Object.getPrototypeOf(this)))t.startsWith("on")&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}setOptions(e){this.options=e?t({},this.constructor.defaults,e):{};for(const[t,e]of Object.entries(this.option("on")||{}))this.on(t,e)}option(t,...s){let n=e(t,this.options);return n&&"function"==typeof n&&(n=n.call(this,this,...s)),n}optionFor(t,s,n,...r){let i=e(s,t);var o;"string"!=typeof(o=i)||isNaN(o)||isNaN(parseFloat(o))||(i=parseFloat(i)),"true"===i&&(i=!0),"false"===i&&(i=!1),i&&"function"==typeof i&&(i=i.call(this,this,t,...r));let a=e(s,this.options);return a&&"function"==typeof a?i=a.call(this,this,t,...r,i):void 0===i&&(i=a),void 0===i?n:i}cn(t){const e=this.options.classes;return e&&e[t]||""}localize(t,e=[]){t=String(t).replace(/\{\{(\w+).?(\w+)?\}\}/g,((t,e,s)=>{let n="";return s?n=this.option(`${e[0]+e.toLowerCase().substring(1)}.l10n.${s}`):e&&(n=this.option(`l10n.${e}`)),n||(n=t),n}));for(let s=0;s<e.length;s++)t=t.split(e[s][0]).join(e[s][1]);return t=t.replace(/\{\{(.*?)\}\}/g,((t,e)=>e))}on(t,e){let s=[];"string"==typeof t?s=t.split(" "):Array.isArray(t)&&(s=t),this.events||(this.events=new Map),s.forEach((t=>{let s=this.events.get(t);s||(this.events.set(t,[]),s=[]),s.includes(e)||s.push(e),this.events.set(t,s)}))}off(t,e){let s=[];"string"==typeof t?s=t.split(" "):Array.isArray(t)&&(s=t),s.forEach((t=>{const s=this.events.get(t);if(Array.isArray(s)){const t=s.indexOf(e);t>-1&&s.splice(t,1)}}))}emit(t,...e){[...this.events.get(t)||[]].forEach((t=>t(this,...e))),"*"!==t&&this.emit("*",t,...e)}}Object.defineProperty(s,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.30"}),Object.defineProperty(s,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}});class n extends s{constructor(t,e){super(e),Object.defineProperty(this,"instance",{enumerable:!0,configurable:!0,writable:!0,value:t})}attach(){}detach(){}}class r extends n{constructor(){super(...arguments),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"pins",{enumerable:!0,configurable:!0,writable:!0,value:[]})}onTransform(t){for(const s of this.pins){if(!((e=s)&&null!==e&&e instanceof Element&&"nodeType"in e))continue;const{fitWidth:n,fitHeight:r,fullWidth:i,fullHeight:o}=t.contentRect,a=s.dataset.x||"",l=s.dataset.y||"";let c=0,f=0;c=a.includes("%")?n*(parseFloat(a)/100):parseFloat(a)/i*n,c-=.5*n,f=l.includes("%")?r*(parseFloat(l)/100):parseFloat(l)/o*r,f-=.5*r;const h=new DOMPoint(c,f).matrixTransform(t.getMatrix());s.style.transform=`translate3d(${h.x||0}px, ${h.y||0}px, 0)`}var e}attach(){const t=this.instance;this.pins=Array.from(t.container.querySelectorAll("[data-panzoom-pin]")),this.pins.length&&(t.container.classList.add("has-pins"),t.on(["afterTransform","refresh"],this.onTransform))}detach(){const t=this.instance;this.pins=[],t.container.classList.remove("has-pins"),t.off(["afterTransform","refresh"],this.onTransform)}}Object.defineProperty(r,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}});export{r as Pins};

2
dist/panzoom/panzoom.pins.umd.js

@ -1 +1 @@
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).window=t.window||{})}(this,(function(t){"use strict";const e=(t,...s)=>{const n=s.length;for(let i=0;i<n;i++){const n=s[i]||{};Object.entries(n).forEach((([s,n])=>{const i=Array.isArray(n)?[]:{};var r;t[s]||Object.assign(t,{[s]:i}),"object"==typeof(r=n)&&null!==r&&r.constructor===Object&&"[object Object]"===Object.prototype.toString.call(r)?Object.assign(t[s],e(i,n)):Array.isArray(n)?Object.assign(t,{[s]:[...n]}):Object.assign(t,{[s]:n})}))}return t},s=function(t,e){return t.split(".").reduce(((t,e)=>"object"==typeof t?t[e]:void 0),e)};class n{constructor(t={}){Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),this.setOptions(t);for(const t of Object.getOwnPropertyNames(Object.getPrototypeOf(this)))t.startsWith("on")&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}setOptions(t){this.options=t?e({},this.constructor.defaults,t):{};for(const[t,e]of Object.entries(this.option("on")||{}))this.on(t,e)}option(t,...e){let n=s(t,this.options);return n&&"function"==typeof n&&(n=n.call(this,this,...e)),n}optionFor(t,e,n,...i){let r=s(e,t);var o;"string"!=typeof(o=r)||isNaN(o)||isNaN(parseFloat(o))||(r=parseFloat(r)),"true"===r&&(r=!0),"false"===r&&(r=!1),r&&"function"==typeof r&&(r=r.call(this,this,t,...i));let a=s(e,this.options);return a&&"function"==typeof a?r=a.call(this,this,t,...i,r):void 0===r&&(r=a),void 0===r?n:r}cn(t){const e=this.options.classes;return e&&e[t]||""}localize(t,e=[]){t=String(t).replace(/\{\{(\w+).?(\w+)?\}\}/g,((t,e,s)=>{let n="";return s?n=this.option(`${e[0]+e.toLowerCase().substring(1)}.l10n.${s}`):e&&(n=this.option(`l10n.${e}`)),n||(n=t),n}));for(let s=0;s<e.length;s++)t=t.split(e[s][0]).join(e[s][1]);return t=t.replace(/\{\{(.*?)\}\}/g,((t,e)=>e))}on(t,e){let s=[];"string"==typeof t?s=t.split(" "):Array.isArray(t)&&(s=t),this.events||(this.events=new Map),s.forEach((t=>{let s=this.events.get(t);s||(this.events.set(t,[]),s=[]),s.includes(e)||s.push(e),this.events.set(t,s)}))}off(t,e){let s=[];"string"==typeof t?s=t.split(" "):Array.isArray(t)&&(s=t),s.forEach((t=>{const s=this.events.get(t);if(Array.isArray(s)){const t=s.indexOf(e);t>-1&&s.splice(t,1)}}))}emit(t,...e){[...this.events.get(t)||[]].forEach((t=>t(this,...e))),"*"!==t&&this.emit("*",t,...e)}}Object.defineProperty(n,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.29"}),Object.defineProperty(n,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}});class i extends n{constructor(t,e){super(e),Object.defineProperty(this,"instance",{enumerable:!0,configurable:!0,writable:!0,value:t})}attach(){}detach(){}}class r extends i{constructor(){super(...arguments),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"pins",{enumerable:!0,configurable:!0,writable:!0,value:[]})}onTransform(t){for(const s of this.pins){if(!((e=s)&&null!==e&&e instanceof Element&&"nodeType"in e))continue;const{fitWidth:n,fitHeight:i,fullWidth:r,fullHeight:o}=t.contentRect,a=s.dataset.x||"",l=s.dataset.y||"";let c=0,f=0;c=a.includes("%")?n*(parseFloat(a)/100):parseFloat(a)/r*n,c-=.5*n,f=l.includes("%")?i*(parseFloat(l)/100):parseFloat(l)/o*i,f-=.5*i;const p=new DOMPoint(c,f).matrixTransform(t.getMatrix());s.style.transform=`translate3d(${p.x||0}px, ${p.y||0}px, 0)`}var e}attach(){const t=this.instance;this.pins=Array.from(t.container.querySelectorAll("[data-panzoom-pin]")),this.pins.length&&(t.container.classList.add("has-pins"),t.on(["afterTransform","refresh"],this.onTransform))}detach(){const t=this.instance;this.pins=[],t.container.classList.remove("has-pins"),t.off(["afterTransform","refresh"],this.onTransform)}}Object.defineProperty(r,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}}),t.Pins=r}));
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).window=t.window||{})}(this,(function(t){"use strict";const e=(t,...s)=>{const n=s.length;for(let i=0;i<n;i++){const n=s[i]||{};Object.entries(n).forEach((([s,n])=>{const i=Array.isArray(n)?[]:{};var r;t[s]||Object.assign(t,{[s]:i}),"object"==typeof(r=n)&&null!==r&&r.constructor===Object&&"[object Object]"===Object.prototype.toString.call(r)?Object.assign(t[s],e(i,n)):Array.isArray(n)?Object.assign(t,{[s]:[...n]}):Object.assign(t,{[s]:n})}))}return t},s=function(t,e){return t.split(".").reduce(((t,e)=>"object"==typeof t?t[e]:void 0),e)};class n{constructor(t={}){Object.defineProperty(this,"options",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),this.setOptions(t);for(const t of Object.getOwnPropertyNames(Object.getPrototypeOf(this)))t.startsWith("on")&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}setOptions(t){this.options=t?e({},this.constructor.defaults,t):{};for(const[t,e]of Object.entries(this.option("on")||{}))this.on(t,e)}option(t,...e){let n=s(t,this.options);return n&&"function"==typeof n&&(n=n.call(this,this,...e)),n}optionFor(t,e,n,...i){let r=s(e,t);var o;"string"!=typeof(o=r)||isNaN(o)||isNaN(parseFloat(o))||(r=parseFloat(r)),"true"===r&&(r=!0),"false"===r&&(r=!1),r&&"function"==typeof r&&(r=r.call(this,this,t,...i));let a=s(e,this.options);return a&&"function"==typeof a?r=a.call(this,this,t,...i,r):void 0===r&&(r=a),void 0===r?n:r}cn(t){const e=this.options.classes;return e&&e[t]||""}localize(t,e=[]){t=String(t).replace(/\{\{(\w+).?(\w+)?\}\}/g,((t,e,s)=>{let n="";return s?n=this.option(`${e[0]+e.toLowerCase().substring(1)}.l10n.${s}`):e&&(n=this.option(`l10n.${e}`)),n||(n=t),n}));for(let s=0;s<e.length;s++)t=t.split(e[s][0]).join(e[s][1]);return t=t.replace(/\{\{(.*?)\}\}/g,((t,e)=>e))}on(t,e){let s=[];"string"==typeof t?s=t.split(" "):Array.isArray(t)&&(s=t),this.events||(this.events=new Map),s.forEach((t=>{let s=this.events.get(t);s||(this.events.set(t,[]),s=[]),s.includes(e)||s.push(e),this.events.set(t,s)}))}off(t,e){let s=[];"string"==typeof t?s=t.split(" "):Array.isArray(t)&&(s=t),s.forEach((t=>{const s=this.events.get(t);if(Array.isArray(s)){const t=s.indexOf(e);t>-1&&s.splice(t,1)}}))}emit(t,...e){[...this.events.get(t)||[]].forEach((t=>t(this,...e))),"*"!==t&&this.emit("*",t,...e)}}Object.defineProperty(n,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.0.30"}),Object.defineProperty(n,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}});class i extends n{constructor(t,e){super(e),Object.defineProperty(this,"instance",{enumerable:!0,configurable:!0,writable:!0,value:t})}attach(){}detach(){}}class r extends i{constructor(){super(...arguments),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"pins",{enumerable:!0,configurable:!0,writable:!0,value:[]})}onTransform(t){for(const s of this.pins){if(!((e=s)&&null!==e&&e instanceof Element&&"nodeType"in e))continue;const{fitWidth:n,fitHeight:i,fullWidth:r,fullHeight:o}=t.contentRect,a=s.dataset.x||"",l=s.dataset.y||"";let c=0,f=0;c=a.includes("%")?n*(parseFloat(a)/100):parseFloat(a)/r*n,c-=.5*n,f=l.includes("%")?i*(parseFloat(l)/100):parseFloat(l)/o*i,f-=.5*i;const p=new DOMPoint(c,f).matrixTransform(t.getMatrix());s.style.transform=`translate3d(${p.x||0}px, ${p.y||0}px, 0)`}var e}attach(){const t=this.instance;this.pins=Array.from(t.container.querySelectorAll("[data-panzoom-pin]")),this.pins.length&&(t.container.classList.add("has-pins"),t.on(["afterTransform","refresh"],this.onTransform))}detach(){const t=this.instance;this.pins=[],t.container.classList.remove("has-pins"),t.off(["afterTransform","refresh"],this.onTransform)}}Object.defineProperty(r,"defaults",{enumerable:!0,configurable:!0,writable:!0,value:{}}),t.Pins=r}));

2
dist/panzoom/panzoom.toolbar.esm.js

File diff suppressed because one or more lines are too long

2
dist/panzoom/panzoom.toolbar.umd.js

File diff suppressed because one or more lines are too long

2
dist/panzoom/panzoom.umd.js

File diff suppressed because one or more lines are too long

2
l10n/Fancybox/es.ts

@ -1,6 +1,6 @@
import { es as PANZOOM_ES } from "../Panzoom/es";
export const en = {
export const es = {
...PANZOOM_ES,
CLOSE: "Cerrar",
NEXT: "Siguiente",

2
l10n/Fancybox/ja.ts

@ -1,6 +1,6 @@
import { ja as PANZOOM_JA } from "../Panzoom/ja";
export const js = {
export const ja = {
...PANZOOM_JA,
CLOSE: "近い",
NEXT: "次",

6
l10n/Fancybox/lv.ts

@ -1,7 +1,7 @@
import { en as PANZOOM_EN } from "../Panzoom/en";
import { lv as PANZOOM_LV } from "../Panzoom/lv";
export const en = {
...PANZOOM_EN,
export const lv = {
...PANZOOM_LV,
CLOSE: "Aizvērt",
NEXT: "Nākošais",
PREV: "Iepriekšējais",

2
l10n/Panzoom/lv.ts

@ -1,4 +1,4 @@
export const en = {
export const lv = {
PANUP: "Bīdīt uz augšu",
PANDOWN: "Bīdīt uz leju",
PANLEFT: "Bīdīt pa kreisi",

2
package.json

@ -1,6 +1,6 @@
{
"name": "@fancyapps/ui",
"version": "5.0.29",
"version": "5.0.30",
"description": "Robust JavaScript UI Component Library",
"files": [
"dist",

4
types/Carousel/Carousel.d.ts

@ -180,6 +180,10 @@ export declare class Carousel extends Component<OptionsType, CarouselEventsType>
pageIndex: number;
page: number;
};
/**
* Update index of page based on Panzoom position
*/
setPageFromPosition(): void;
/**
* Destroy the instance
*/

2
types/Fancybox/plugins/Toolbar/Toolbar.d.ts

@ -42,7 +42,7 @@ export type ToolbarPosition = "left" | "middle" | "right";
type OptionsType = {
/**
* If absolutely position container;
* "auto" - absolutely positioned if there is no item in the "middle" column
* "auto" - absolutely positioned if there is no item in the middle column.
*/
absolute: "auto" | boolean;
/**

Loading…
Cancel
Save