infinity-forge 2.6.5 → 2.6.7
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/dist/sites/components/default-pages/blog/components/blog-item/index.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/blog-item/index.js +3 -3
- package/dist/sites/components/default-pages/blog/components/blog-item/intefaces.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/blog-item/share/index.js +2 -2
- package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/featured-blog/featured-blog-item/index.js +2 -2
- package/dist/sites/components/default-pages/blog/components/featured-blog/index.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/featured-blog/index.js +2 -2
- package/dist/sites/components/default-pages/blog/components/featured-blog/interfaces.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/side-box-categories/index.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/side-box-categories/index.js +2 -2
- package/dist/sites/components/default-pages/blog/components/side-box-categories/interfaces.d.ts +1 -1
- package/dist/sites/components/default-pages/blog/components/side-box-newsletter/index.js +3 -3
- package/dist/sites/components/default-pages/blog/components/title-blog/index.js +2 -2
- package/dist/system/domain/protocols/http/errors/http-errors/index.d.ts +7 -7
- package/dist/system/domain/protocols/http/errors/http-errors/index.js +7 -7
- package/dist/system/domain/protocols/http/errors/system-errors-model/index.d.ts +1 -1
- package/dist/system/domain/protocols/http/errors/system-errors-model/index.js +1 -1
- package/dist/system/presentation/components/data/buttons/sidebar-button/index.js +3 -3
- package/dist/system/presentation/components/data/chat/card-message/index.d.ts +1 -1
- package/dist/system/presentation/components/data/chat/card-message/index.js +3 -3
- package/dist/system/presentation/components/data/chat/loader/index.js +1 -1
- package/dist/system/presentation/components/data/menu/components/index.d.ts +1 -1
- package/dist/system/presentation/components/data/menu/components/index.js +1 -1
- package/dist/system/presentation/components/data/menu/components/menu-item/index.js +3 -3
- package/dist/system/presentation/components/data/menu/modes/collapsed-menu/index.js +6 -6
- package/dist/system/presentation/components/data/menu/modes/collapsed-menu/index.js.map +1 -1
- package/dist/system/presentation/components/data/menu/modes/collapsed-menu/styles.js +1 -1
- package/dist/system/presentation/components/data/menu/modes/index.d.ts +2 -2
- package/dist/system/presentation/components/data/menu/modes/index.js +2 -2
- package/dist/system/presentation/components/data/menu/modes/opened/index.js +3 -3
- package/dist/system/presentation/components/data/menu/modes/opened/styles.js +1 -1
- package/dist/system/presentation/components/data/notifications/card/index.d.ts +1 -1
- package/dist/system/presentation/components/data/notifications/card/index.js +2 -2
- package/dist/system/presentation/components/data/profile-infos/profile/index.d.ts +1 -1
- package/dist/system/presentation/components/data/profile-infos/profile/index.js +3 -3
- package/dist/system/presentation/components/data/tab/tab-item/index.d.ts +1 -1
- package/dist/system/presentation/components/data/tab/tab-item/index.js +2 -2
- package/dist/system/presentation/components/data/tab/tab-item/styles.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/index.d.ts +2 -2
- package/dist/system/presentation/components/layout/header/components/index.js +2 -2
- package/dist/system/presentation/components/layout/header/components/menu-right/component.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/component.js +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/index.d.ts +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/index.js +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/card/index.js +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +4 -4
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js +3 -3
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +4 -4
- package/dist/system/presentation/components/layout/header/components/search-modal/index.js +4 -4
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js +3 -3
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js +2 -2
- package/dist/system/presentation/components/layout/header/version-01/index.d.ts +1 -1
- package/dist/system/presentation/components/layout/header/version-01/index.js +3 -3
- package/dist/system/presentation/components/pages/menus/table/columns.d.ts +2 -2
- package/dist/system/presentation/components/pages/menus/table/columns.js +1 -1
- package/dist/system/presentation/components/pages/menus/table/create.d.ts +2 -2
- package/dist/system/presentation/components/pages/menus/table/create.js +2 -2
- package/dist/system/presentation/components/pages/menus/table/delete.js +2 -2
- package/dist/system/presentation/components/pages/menus/table/edit.d.ts +2 -2
- package/dist/system/presentation/components/pages/menus/table/edit.js +2 -2
- package/dist/system/presentation/components/pages/menus/table/icon/index.js +1 -1
- package/dist/system/presentation/components/pages/menus/table/index.d.ts +4 -4
- package/dist/system/presentation/components/pages/menus/table/index.js +4 -4
- package/dist/system/presentation/components/pages/users/table/columns.d.ts +2 -2
- package/dist/system/presentation/components/pages/users/table/create.d.ts +2 -2
- package/dist/system/presentation/components/pages/users/table/create.js +2 -2
- package/dist/system/presentation/components/pages/users/table/delete.js +2 -2
- package/dist/system/presentation/components/pages/users/table/edit.d.ts +2 -2
- package/dist/system/presentation/components/pages/users/table/edit.js +2 -2
- package/dist/system/presentation/components/pages/users/table/index.d.ts +4 -4
- package/dist/system/presentation/components/pages/users/table/index.js +4 -4
- package/dist/system/presentation/context/auth/components/index.js +0 -19
- package/dist/system/presentation/context/auth/components/login/form-login/index.js +2 -2
- package/dist/system/presentation/context/auth/components/login/index.js +4 -4
- package/dist/system/presentation/context/auth/components/private-page/index.d.ts +1 -1
- package/dist/system/presentation/context/auth/components/private-page/index.js +4 -3
- package/dist/system/presentation/context/auth/components/private-page/index.js.map +1 -1
- package/dist/system/presentation/hooks/notifications/use-load-all/index.d.ts +0 -1
- package/dist/system/presentation/hooks/notifications/use-load-all/index.js +0 -63
- package/dist/system/presentation/hooks/notifications/use-load-no-read/index.d.ts +0 -2
- package/dist/system/presentation/hooks/notifications/use-load-no-read/index.js +0 -60
- package/dist/system/presentation/hooks/ui/use-table/component.d.ts +0 -8
- package/dist/system/presentation/hooks/ui/use-table/component.js +0 -26
- package/dist/system/presentation/hooks/ui/use-table/components/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/index.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/delete/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/delete/index.js +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/actions/index.js +4 -4
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/active-filters/index.js +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/create/index.js +3 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/export/index.js +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js +36 -31
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/index.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/styles.d.ts +4 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/styles.js +4 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/filters/styles.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +10 -10
- package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/pagination/index.js +3 -3
- package/dist/system/presentation/hooks/ui/use-table/components/table/skeleton-table/index.js +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/styles.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/styles.js.map +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js +2 -2
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/index.d.ts +0 -4
- package/dist/system/presentation/hooks/ui/use-table/index.js +0 -21
- package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +0 -93
- package/dist/system/presentation/hooks/ui/use-table/query/get-query-arguments-table.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/query/hook.d.ts +1 -1
- package/dist/system/presentation/hooks/ui/use-table/query/hook.js +1 -1
- package/dist/system/presentation/hooks/ui/use-table/query/index.d.ts +2 -2
- package/dist/system/presentation/hooks/ui/use-table/query/index.js +2 -2
- package/dist/ui/components/accordion/interfaces.d.ts +1 -1
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-changed-params.js +0 -51
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-element-params.js +0 -148
- package/dist/ui/components/carousel/carousel-lib/components-shared/get-params.js +0 -61
- package/dist/ui/components/carousel/carousel-lib/components-shared/mount-swiper.js +0 -24
- package/dist/ui/components/carousel/carousel-lib/components-shared/update-swiper.js +0 -208
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/getBreakpoint.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.d.ts +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/index.js +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/breakpoints/setBreakpoint.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/classes/index.d.ts +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/classes/index.js +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/core.js +0 -654
- package/dist/ui/components/carousel/carousel-lib/core/events/index.js +9 -9
- package/dist/ui/components/carousel/carousel-lib/core/events/onLoad.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchEnd.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchMove.js +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/events/onTouchStart.js +3 -3
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.d.ts +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/grab-cursor/index.js +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/loop/index.d.ts +3 -3
- package/dist/ui/components/carousel/carousel-lib/core/loop/index.js +3 -3
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopCreate.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/loop/loopFix.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/moduleExtendParams.js +0 -42
- package/dist/ui/components/carousel/carousel-lib/core/modules/observer/observer.js +2 -2
- package/dist/ui/components/carousel/carousel-lib/core/modules/resize/resize.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/index.d.ts +7 -7
- package/dist/ui/components/carousel/carousel-lib/core/slide/index.js +7 -7
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideTo.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/slide/slideToClickedSlide.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/transition/index.d.ts +3 -3
- package/dist/ui/components/carousel/carousel-lib/core/transition/index.js +3 -3
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionEnd.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/transition/transitionStart.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/getTranslate.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/translate/index.d.ts +5 -5
- package/dist/ui/components/carousel/carousel-lib/core/translate/index.js +5 -5
- package/dist/ui/components/carousel/carousel-lib/core/translate/translateTo.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/index.d.ts +9 -9
- package/dist/ui/components/carousel/carousel-lib/core/update/index.js +9 -9
- package/dist/ui/components/carousel/carousel-lib/core/update/updateActiveIndex.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSize.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlides.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/core/update/updateSlidesClasses.js +1 -1
- package/dist/ui/components/carousel/carousel-lib/modules/autoplay.js +0 -336
- package/dist/ui/components/carousel/carousel-lib/modules/effect-fade.js +0 -63
- package/dist/ui/components/carousel/carousel-lib/modules/free-mode.js +0 -247
- package/dist/ui/components/carousel/carousel-lib/modules/index.d.ts +0 -6
- package/dist/ui/components/carousel/carousel-lib/modules/index.js +0 -23
- package/dist/ui/components/carousel/carousel-lib/modules/navigation.js +0 -223
- package/dist/ui/components/carousel/carousel-lib/modules/pagination.js +0 -514
- package/dist/ui/components/carousel/carousel-lib/modules/virtual.js +0 -379
- package/dist/ui/components/carousel/carousel-lib/react/swiper-slide.js +0 -88
- package/dist/ui/components/carousel/carousel-lib/react/swiper.js +0 -210
- package/dist/ui/components/carousel/carousel-lib/shared/create-element-if-not-defined.js +0 -22
- package/dist/ui/components/carousel/carousel-lib/shared/create-shadow.js +0 -15
- package/dist/ui/components/carousel/carousel-lib/shared/effect-target.js +0 -13
- package/dist/ui/components/carousel/carousel-lib/shared/effect-virtual-transition-end.js +0 -47
- package/dist/ui/components/carousel/carousel-lib/shared/get-browser.js +0 -43
- package/dist/ui/components/carousel/carousel-lib/shared/get-device.js +0 -69
- package/dist/ui/components/carousel/carousel-lib/shared/get-support.js +0 -25
- package/dist/ui/components/carousel/carousel-lib/shared/utils.js +0 -372
- package/dist/ui/components/carousel/carousel-lib/ssr-window/document.js +0 -65
- package/dist/ui/components/carousel/carousel-lib/ssr-window/ssr-window.d.ts +0 -4
- package/dist/ui/components/carousel/carousel-lib/ssr-window/ssr-window.js +0 -15
- package/dist/ui/components/carousel/carousel-lib/ssr-window/window.js +0 -71
- package/dist/ui/components/carousel/carousel-lib/types/index.d.ts +0 -5
- package/dist/ui/components/carousel/carousel-lib/types/index.js +0 -27
- package/dist/ui/components/carousel/carousel-lib/types/swiper-events.d.ts +0 -162
- package/dist/ui/components/form/handler/custom-submit/index.d.ts +0 -17
- package/dist/ui/components/form/handler/custom-submit/index.js +0 -25
- package/dist/ui/components/form/handler/dynamic_form_handler/component.d.ts +0 -2
- package/dist/ui/components/form/handler/dynamic_form_handler/component.js +0 -118
- package/dist/ui/components/form/handler/dynamic_form_handler/index.d.ts +0 -2
- package/dist/ui/components/form/handler/dynamic_form_handler/index.js +0 -19
- package/dist/ui/components/form/handler/dynamic_form_handler/interfaces.d.ts +0 -28
- package/dist/ui/components/form/handler/form-handler/generate-schemas.js +0 -111
- package/dist/ui/components/form/handler/form-handler/index.d.ts +0 -2
- package/dist/ui/components/form/handler/form-handler/index.js +0 -241
- package/dist/ui/components/form/handler/form-handler/use-schemas.d.ts +0 -2
- package/dist/ui/components/form/handler/form-handler/use-schemas.js +0 -115
- package/dist/ui/components/form/handler/form-handler/use-send-file.d.ts +0 -5
- package/dist/ui/components/form/handler/form-handler/use-send-file.js +0 -209
- package/dist/ui/components/form/handler/i18n/capture-i18n-errors/index.d.ts +1 -1
- package/dist/ui/components/form/handler/i18n/index.d.ts +0 -2
- package/dist/ui/components/form/handler/i18n/index.js +0 -57
- package/dist/ui/components/form/input-cep/use-cep/hook.d.ts +0 -5
- package/dist/ui/components/form/input-cep/use-cep/hook.js +0 -14
- package/dist/ui/components/form/input-cep/use-cep/index.d.ts +0 -2
- package/dist/ui/components/form/input-cep/use-cep/index.js +0 -19
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.d.ts +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/hook.js +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.d.ts +3 -3
- package/dist/ui/components/form/input-cep/use-cep/providers/ibge/index.js +3 -3
- package/dist/ui/components/form/input-cep/use-cep/providers/index.d.ts +1 -1
- package/dist/ui/components/form/input-cep/use-cep/providers/index.js +1 -1
- package/dist/ui/components/form/input-control/error/index.js +0 -34
- package/dist/ui/components/form/input-control/label/index.js +0 -34
- package/dist/ui/components/form/input-control/loader-input/index.js +0 -34
- package/dist/ui/components/form/input-currency/components/CurrencyInput.js +0 -247
- package/dist/ui/components/form/input-currency/components/index.d.ts +0 -1
- package/dist/ui/components/form/input-currency/components/index.js +0 -18
- package/dist/ui/components/form/input-currency/components/utils/cleanValue.d.ts +1 -1
- package/dist/ui/components/form/input-currency/components/utils/cleanValue.js +4 -4
- package/dist/ui/components/form/input-currency/components/utils/formatValue.d.ts +1 -1
- package/dist/ui/components/form/input-currency/components/utils/formatValue.js +2 -2
- package/dist/ui/components/form/input-currency/components/utils/getLocaleConfig.d.ts +1 -1
- package/dist/ui/components/form/input-currency/components/utils/getSuffix.js +1 -1
- package/dist/ui/components/form/input-currency/components/utils/index.d.ts +8 -8
- package/dist/ui/components/form/input-currency/components/utils/index.js +8 -8
- package/dist/ui/components/form/input-currency/components/utils/parseAbbrValue.js +1 -1
- package/dist/ui/components/form/input-currency/components/utils/removeInvalidChars.js +1 -1
- package/dist/ui/components/form/input-currency/components/utils/removeSeparators.js +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/calendar-header/index.js +3 -3
- package/dist/ui/components/form/input-date-picker/calendar/days/index.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/days/index.js +2 -2
- package/dist/ui/components/form/input-date-picker/calendar/index.d.ts +0 -9
- package/dist/ui/components/form/input-date-picker/calendar/index.js +0 -58
- package/dist/ui/components/form/input-date-picker/calendar/interface.d.ts +2 -2
- package/dist/ui/components/form/input-date-picker/calendar/months/index.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/calendar/months/index.js +2 -2
- package/dist/ui/components/form/input-date-picker/calendar/styles.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/mock/index.d.ts +1 -1
- package/dist/ui/components/form/input-date-picker/mock/index.js +1 -1
- package/dist/ui/components/form/input-file/hooks/index.d.ts +4 -4
- package/dist/ui/components/form/input-file/hooks/index.js +4 -4
- package/dist/ui/components/form/input-file/hooks/use-components-file.d.ts +2 -2
- package/dist/ui/components/form/input-file/hooks/use-components-file.js +2 -2
- package/dist/ui/components/form/input-file/hooks/use-file-elements.d.ts +1 -1
- package/dist/ui/components/form/input-file/hooks/use-file-elements.js +2 -2
- package/dist/ui/components/form/input-file/hooks/use-file.d.ts +2 -2
- package/dist/ui/components/form/input-file/hooks/use-file.js +2 -2
- package/dist/ui/components/form/input-file/hooks/use-rendered-file.d.ts +1 -1
- package/dist/ui/components/form/input-file/hooks/use-rendered-file.js +1 -1
- package/dist/ui/components/form/input-file/render-files/component.d.ts +1 -1
- package/dist/ui/components/form/input-file/render-files/component.js +2 -2
- package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.d.ts +1 -1
- package/dist/ui/components/form/input-file/render-files/file-item/button-upload-image-mobile/index.js +1 -1
- package/dist/ui/components/form/input-file/render-files/file-item/index.d.ts +2 -2
- package/dist/ui/components/form/input-file/render-files/file-item/index.js +3 -3
- package/dist/ui/components/form/input-file/render-files/index.d.ts +3 -3
- package/dist/ui/components/form/input-file/render-files/index.js +3 -3
- package/dist/ui/components/form/input-file/render-files/interfaces.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/core/errors/SyntheticChangeError.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/core/hooks/useInput.js +2 -2
- package/dist/ui/components/form/input-mask/lib/core/index.d.ts +5 -5
- package/dist/ui/components/form/input-mask/lib/core/index.js +4 -4
- package/dist/ui/components/form/input-mask/lib/core/utils/setInputAttributes.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/InputMask.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/mask/InputMask.js +2 -2
- package/dist/ui/components/form/input-mask/lib/mask/index.d.ts +5 -5
- package/dist/ui/components/form/input-mask/lib/mask/index.js +3 -3
- package/dist/ui/components/form/input-mask/lib/mask/types.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/useMask.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/useMask.js +7 -7
- package/dist/ui/components/form/input-mask/lib/mask/utils/filter.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/format.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/formatToParts.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/formatToReplacementObject.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/resolveDetail.js +3 -3
- package/dist/ui/components/form/input-mask/lib/mask/utils/resolveSelection.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/mask/utils/unformat.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils/validate.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/mask/utils.js +5 -5
- package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/number-format/InputNumberFormat.js +2 -2
- package/dist/ui/components/form/input-mask/lib/number-format/index.d.ts +4 -4
- package/dist/ui/components/form/input-mask/lib/number-format/index.js +2 -2
- package/dist/ui/components/form/input-mask/lib/number-format/types.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/useNumberFormat.js +6 -6
- package/dist/ui/components/form/input-mask/lib/number-format/utils/localizeValues.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.d.ts +2 -2
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveDetail.js +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveMinimumFractionDigits.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveOptions.d.ts +1 -1
- package/dist/ui/components/form/input-mask/lib/number-format/utils/resolveSelection.d.ts +2 -2
- package/dist/ui/components/form/input-seo/input-meta-image/index.d.ts +1 -1
- package/dist/ui/components/form/input-seo/input-meta-image/index.js +2 -2
- package/dist/ui/components/menu-mobile/components/nav-links/index.d.ts +1 -1
- package/dist/ui/components/menu-mobile/components/nav-links/index.js +3 -3
- package/dist/ui/components/menu-mobile/components/nav-links/interfaces.d.ts +1 -1
- package/dist/ui/contexts/i18n/context.js +1 -0
- package/dist/ui/contexts/i18n/context.js.map +1 -1
- package/dist/ui/icons/index.d.ts +1 -0
- package/dist/ui/icons/index.js +1 -0
- package/dist/ui/icons/index.js.map +1 -1
- package/dist/ui/icons/render/arrow-lupa.d.ts +3 -0
- package/dist/ui/icons/render/arrow-lupa.js +15 -0
- package/dist/ui/icons/render/arrow-lupa.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
14
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
15
|
-
if (ar || !(i in from)) {
|
|
16
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
17
|
-
ar[i] = from[i];
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
21
|
-
};
|
|
22
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
23
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.getParams = void 0;
|
|
27
|
-
//@ts-nocheck
|
|
28
|
-
var utils_1 = require("./utils.js");
|
|
29
|
-
var params_list_1 = require("./params-list.js");
|
|
30
|
-
var defaults_1 = __importDefault(require("../core/defaults.js"));
|
|
31
|
-
var formatValue = function (val) {
|
|
32
|
-
if (parseFloat(val) === Number(val))
|
|
33
|
-
return Number(val);
|
|
34
|
-
if (val === 'true')
|
|
35
|
-
return true;
|
|
36
|
-
if (val === '')
|
|
37
|
-
return true;
|
|
38
|
-
if (val === 'false')
|
|
39
|
-
return false;
|
|
40
|
-
if (val === 'null')
|
|
41
|
-
return null;
|
|
42
|
-
if (val === 'undefined')
|
|
43
|
-
return undefined;
|
|
44
|
-
if (typeof val === 'string' && val.includes('{') && val.includes('}') && val.includes('"')) {
|
|
45
|
-
var v = void 0;
|
|
46
|
-
try {
|
|
47
|
-
v = JSON.parse(val);
|
|
48
|
-
}
|
|
49
|
-
catch (err) {
|
|
50
|
-
v = val;
|
|
51
|
-
}
|
|
52
|
-
return v;
|
|
53
|
-
}
|
|
54
|
-
return val;
|
|
55
|
-
};
|
|
56
|
-
var modulesParamsList = [
|
|
57
|
-
'a11y',
|
|
58
|
-
'autoplay',
|
|
59
|
-
'controller',
|
|
60
|
-
'cards-effect',
|
|
61
|
-
'coverflow-effect',
|
|
62
|
-
'creative-effect',
|
|
63
|
-
'cube-effect',
|
|
64
|
-
'fade-effect',
|
|
65
|
-
'flip-effect',
|
|
66
|
-
'free-mode',
|
|
67
|
-
'grid',
|
|
68
|
-
'hash-navigation',
|
|
69
|
-
'history',
|
|
70
|
-
'keyboard',
|
|
71
|
-
'mousewheel',
|
|
72
|
-
'navigation',
|
|
73
|
-
'pagination',
|
|
74
|
-
'parallax',
|
|
75
|
-
'scrollbar',
|
|
76
|
-
'thumbs',
|
|
77
|
-
'virtual',
|
|
78
|
-
'zoom',
|
|
79
|
-
];
|
|
80
|
-
function getParams(element, propName, propValue) {
|
|
81
|
-
var params = {};
|
|
82
|
-
var passedParams = {};
|
|
83
|
-
(0, utils_1.extend)(params, defaults_1.default);
|
|
84
|
-
var localParamsList = __spreadArray(__spreadArray([], params_list_1.paramsList, true), ['on'], false);
|
|
85
|
-
var allowedParams = localParamsList.map(function (key) { return key.replace(/_/, ''); });
|
|
86
|
-
// First check props
|
|
87
|
-
localParamsList.forEach(function (paramName) {
|
|
88
|
-
paramName = paramName.replace('_', '');
|
|
89
|
-
if (typeof element[paramName] !== 'undefined') {
|
|
90
|
-
passedParams[paramName] = element[paramName];
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
// Attributes
|
|
94
|
-
var attrsList = __spreadArray([], element.attributes, true);
|
|
95
|
-
if (typeof propName === 'string' && typeof propValue !== 'undefined') {
|
|
96
|
-
attrsList.push({ name: propName, value: (0, utils_1.isObject)(propValue) ? __assign({}, propValue) : propValue });
|
|
97
|
-
}
|
|
98
|
-
attrsList.forEach(function (attr) {
|
|
99
|
-
var moduleParam = modulesParamsList.filter(function (mParam) { return attr.name.indexOf("".concat(mParam, "-")) === 0; })[0];
|
|
100
|
-
if (moduleParam) {
|
|
101
|
-
var parentObjName = (0, utils_1.attrToProp)(moduleParam);
|
|
102
|
-
var subObjName = (0, utils_1.attrToProp)(attr.name.split("".concat(moduleParam, "-"))[1]);
|
|
103
|
-
if (typeof passedParams[parentObjName] === 'undefined')
|
|
104
|
-
passedParams[parentObjName] = {};
|
|
105
|
-
if (passedParams[parentObjName] === true) {
|
|
106
|
-
passedParams[parentObjName] = { enabled: true };
|
|
107
|
-
}
|
|
108
|
-
passedParams[parentObjName][subObjName] = formatValue(attr.value);
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
var name_1 = (0, utils_1.attrToProp)(attr.name);
|
|
112
|
-
if (!allowedParams.includes(name_1))
|
|
113
|
-
return;
|
|
114
|
-
var value = formatValue(attr.value);
|
|
115
|
-
if (passedParams[name_1] && modulesParamsList.includes(attr.name) && !(0, utils_1.isObject)(value)) {
|
|
116
|
-
if (passedParams[name_1].constructor !== Object) {
|
|
117
|
-
passedParams[name_1] = {};
|
|
118
|
-
}
|
|
119
|
-
passedParams[name_1].enabled = !!value;
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
passedParams[name_1] = value;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
(0, utils_1.extend)(params, passedParams);
|
|
127
|
-
if (params.navigation) {
|
|
128
|
-
params.navigation = __assign({ prevEl: '.swiper-button-prev', nextEl: '.swiper-button-next' }, (params.navigation !== true ? params.navigation : {}));
|
|
129
|
-
}
|
|
130
|
-
else if (params.navigation === false) {
|
|
131
|
-
delete params.navigation;
|
|
132
|
-
}
|
|
133
|
-
if (params.scrollbar) {
|
|
134
|
-
params.scrollbar = __assign({ el: '.swiper-scrollbar' }, (params.scrollbar !== true ? params.scrollbar : {}));
|
|
135
|
-
}
|
|
136
|
-
else if (params.scrollbar === false) {
|
|
137
|
-
delete params.scrollbar;
|
|
138
|
-
}
|
|
139
|
-
if (params.pagination) {
|
|
140
|
-
params.pagination = __assign({ el: '.swiper-pagination' }, (params.pagination !== true ? params.pagination : {}));
|
|
141
|
-
}
|
|
142
|
-
else if (params.pagination === false) {
|
|
143
|
-
delete params.pagination;
|
|
144
|
-
}
|
|
145
|
-
return { params: params, passedParams: passedParams };
|
|
146
|
-
}
|
|
147
|
-
exports.getParams = getParams;
|
|
148
|
-
//# sourceMappingURL=get-element-params.js.map
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getParams = void 0;
|
|
7
|
-
//@ts-nocheck
|
|
8
|
-
var utils_1 = require("./utils.js");
|
|
9
|
-
var params_list_1 = require("./params-list.js");
|
|
10
|
-
var defaults_1 = __importDefault(require("../core/defaults.js"));
|
|
11
|
-
function getParams(obj, splitEvents) {
|
|
12
|
-
if (obj === void 0) { obj = {}; }
|
|
13
|
-
if (splitEvents === void 0) { splitEvents = true; }
|
|
14
|
-
var params = {
|
|
15
|
-
on: {},
|
|
16
|
-
};
|
|
17
|
-
var events = {};
|
|
18
|
-
var passedParams = {};
|
|
19
|
-
(0, utils_1.extend)(params, defaults_1.default);
|
|
20
|
-
params._emitClasses = true;
|
|
21
|
-
params.init = false;
|
|
22
|
-
var rest = {};
|
|
23
|
-
var allowedParams = params_list_1.paramsList.map(function (key) { return key.replace(/_/, ''); });
|
|
24
|
-
var plainObj = Object.assign({}, obj);
|
|
25
|
-
Object.keys(plainObj).forEach(function (key) {
|
|
26
|
-
if (typeof obj[key] === 'undefined')
|
|
27
|
-
return;
|
|
28
|
-
if (allowedParams.indexOf(key) >= 0) {
|
|
29
|
-
if ((0, utils_1.isObject)(obj[key])) {
|
|
30
|
-
params[key] = {};
|
|
31
|
-
passedParams[key] = {};
|
|
32
|
-
(0, utils_1.extend)(params[key], obj[key]);
|
|
33
|
-
(0, utils_1.extend)(passedParams[key], obj[key]);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
params[key] = obj[key];
|
|
37
|
-
passedParams[key] = obj[key];
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
else if (key.search(/on[A-Z]/) === 0 && typeof obj[key] === 'function') {
|
|
41
|
-
if (splitEvents) {
|
|
42
|
-
events["".concat(key[2].toLowerCase()).concat(key.substr(3))] = obj[key];
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
params.on["".concat(key[2].toLowerCase()).concat(key.substr(3))] = obj[key];
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
rest[key] = obj[key];
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
['navigation', 'pagination', 'scrollbar'].forEach(function (key) {
|
|
53
|
-
if (params[key] === true)
|
|
54
|
-
params[key] = {};
|
|
55
|
-
if (params[key] === false)
|
|
56
|
-
delete params[key];
|
|
57
|
-
});
|
|
58
|
-
return { params: params, passedParams: passedParams, rest: rest, events: events };
|
|
59
|
-
}
|
|
60
|
-
exports.getParams = getParams;
|
|
61
|
-
//# sourceMappingURL=get-params.js.map
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.mountSwiper = void 0;
|
|
4
|
-
var utils_1 = require("./utils.js");
|
|
5
|
-
function mountSwiper(_a, swiperParams) {
|
|
6
|
-
var el = _a.el, nextEl = _a.nextEl, prevEl = _a.prevEl, paginationEl = _a.paginationEl, scrollbarEl = _a.scrollbarEl, swiper = _a.swiper;
|
|
7
|
-
if ((0, utils_1.needsNavigation)(swiperParams) && nextEl && prevEl) {
|
|
8
|
-
swiper.params.navigation.nextEl = nextEl;
|
|
9
|
-
swiper.originalParams.navigation.nextEl = nextEl;
|
|
10
|
-
swiper.params.navigation.prevEl = prevEl;
|
|
11
|
-
swiper.originalParams.navigation.prevEl = prevEl;
|
|
12
|
-
}
|
|
13
|
-
if ((0, utils_1.needsPagination)(swiperParams) && paginationEl) {
|
|
14
|
-
swiper.params.pagination.el = paginationEl;
|
|
15
|
-
swiper.originalParams.pagination.el = paginationEl;
|
|
16
|
-
}
|
|
17
|
-
if ((0, utils_1.needsScrollbar)(swiperParams) && scrollbarEl) {
|
|
18
|
-
swiper.params.scrollbar.el = scrollbarEl;
|
|
19
|
-
swiper.originalParams.scrollbar.el = scrollbarEl;
|
|
20
|
-
}
|
|
21
|
-
swiper.init(el);
|
|
22
|
-
}
|
|
23
|
-
exports.mountSwiper = mountSwiper;
|
|
24
|
-
//# sourceMappingURL=mount-swiper.js.map
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.updateSwiper = void 0;
|
|
4
|
-
var utils_1 = require("./utils.js");
|
|
5
|
-
function updateSwiper(_a) {
|
|
6
|
-
var swiper = _a.swiper, slides = _a.slides, passedParams = _a.passedParams, changedParams = _a.changedParams, nextEl = _a.nextEl, prevEl = _a.prevEl, scrollbarEl = _a.scrollbarEl, paginationEl = _a.paginationEl;
|
|
7
|
-
var updateParams = changedParams.filter(function (key) { return key !== 'children' && key !== 'direction' && key !== 'wrapperClass'; });
|
|
8
|
-
var currentParams = swiper.params, pagination = swiper.pagination, navigation = swiper.navigation, scrollbar = swiper.scrollbar, virtual = swiper.virtual, thumbs = swiper.thumbs;
|
|
9
|
-
var needThumbsInit;
|
|
10
|
-
var needControllerInit;
|
|
11
|
-
var needPaginationInit;
|
|
12
|
-
var needScrollbarInit;
|
|
13
|
-
var needNavigationInit;
|
|
14
|
-
var loopNeedDestroy;
|
|
15
|
-
var loopNeedEnable;
|
|
16
|
-
var loopNeedReloop;
|
|
17
|
-
if (changedParams.includes('thumbs') &&
|
|
18
|
-
passedParams.thumbs &&
|
|
19
|
-
passedParams.thumbs.swiper &&
|
|
20
|
-
currentParams.thumbs &&
|
|
21
|
-
!currentParams.thumbs.swiper) {
|
|
22
|
-
needThumbsInit = true;
|
|
23
|
-
}
|
|
24
|
-
if (changedParams.includes('controller') &&
|
|
25
|
-
passedParams.controller &&
|
|
26
|
-
passedParams.controller.control &&
|
|
27
|
-
currentParams.controller &&
|
|
28
|
-
!currentParams.controller.control) {
|
|
29
|
-
needControllerInit = true;
|
|
30
|
-
}
|
|
31
|
-
if (changedParams.includes('pagination') &&
|
|
32
|
-
passedParams.pagination &&
|
|
33
|
-
(passedParams.pagination.el || paginationEl) &&
|
|
34
|
-
(currentParams.pagination || currentParams.pagination === false) &&
|
|
35
|
-
pagination &&
|
|
36
|
-
!pagination.el) {
|
|
37
|
-
needPaginationInit = true;
|
|
38
|
-
}
|
|
39
|
-
if (changedParams.includes('scrollbar') &&
|
|
40
|
-
passedParams.scrollbar &&
|
|
41
|
-
(passedParams.scrollbar.el || scrollbarEl) &&
|
|
42
|
-
(currentParams.scrollbar || currentParams.scrollbar === false) &&
|
|
43
|
-
scrollbar &&
|
|
44
|
-
!scrollbar.el) {
|
|
45
|
-
needScrollbarInit = true;
|
|
46
|
-
}
|
|
47
|
-
if (changedParams.includes('navigation') &&
|
|
48
|
-
passedParams.navigation &&
|
|
49
|
-
(passedParams.navigation.prevEl || prevEl) &&
|
|
50
|
-
(passedParams.navigation.nextEl || nextEl) &&
|
|
51
|
-
(currentParams.navigation || currentParams.navigation === false) &&
|
|
52
|
-
navigation &&
|
|
53
|
-
!navigation.prevEl &&
|
|
54
|
-
!navigation.nextEl) {
|
|
55
|
-
needNavigationInit = true;
|
|
56
|
-
}
|
|
57
|
-
var destroyModule = function (mod) {
|
|
58
|
-
if (!swiper[mod])
|
|
59
|
-
return;
|
|
60
|
-
swiper[mod].destroy();
|
|
61
|
-
if (mod === 'navigation') {
|
|
62
|
-
if (swiper.isElement) {
|
|
63
|
-
swiper[mod].prevEl.remove();
|
|
64
|
-
swiper[mod].nextEl.remove();
|
|
65
|
-
}
|
|
66
|
-
currentParams[mod].prevEl = undefined;
|
|
67
|
-
currentParams[mod].nextEl = undefined;
|
|
68
|
-
swiper[mod].prevEl = undefined;
|
|
69
|
-
swiper[mod].nextEl = undefined;
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
if (swiper.isElement) {
|
|
73
|
-
swiper[mod].el.remove();
|
|
74
|
-
}
|
|
75
|
-
currentParams[mod].el = undefined;
|
|
76
|
-
swiper[mod].el = undefined;
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
if (changedParams.includes('loop') && swiper.isElement) {
|
|
80
|
-
if (currentParams.loop && !passedParams.loop) {
|
|
81
|
-
loopNeedDestroy = true;
|
|
82
|
-
}
|
|
83
|
-
else if (!currentParams.loop && passedParams.loop) {
|
|
84
|
-
loopNeedEnable = true;
|
|
85
|
-
}
|
|
86
|
-
else {
|
|
87
|
-
loopNeedReloop = true;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
updateParams.forEach(function (key) {
|
|
91
|
-
if ((0, utils_1.isObject)(currentParams[key]) && (0, utils_1.isObject)(passedParams[key])) {
|
|
92
|
-
Object.assign(currentParams[key], passedParams[key]);
|
|
93
|
-
if ((key === 'navigation' || key === 'pagination' || key === 'scrollbar') &&
|
|
94
|
-
'enabled' in passedParams[key] &&
|
|
95
|
-
!passedParams[key].enabled) {
|
|
96
|
-
destroyModule(key);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
else {
|
|
100
|
-
var newValue = passedParams[key];
|
|
101
|
-
if ((newValue === true || newValue === false) &&
|
|
102
|
-
(key === 'navigation' || key === 'pagination' || key === 'scrollbar')) {
|
|
103
|
-
if (newValue === false) {
|
|
104
|
-
destroyModule(key);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
currentParams[key] = passedParams[key];
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
});
|
|
112
|
-
if (updateParams.includes('controller') &&
|
|
113
|
-
!needControllerInit &&
|
|
114
|
-
swiper.controller &&
|
|
115
|
-
swiper.controller.control &&
|
|
116
|
-
currentParams.controller &&
|
|
117
|
-
currentParams.controller.control) {
|
|
118
|
-
swiper.controller.control = currentParams.controller.control;
|
|
119
|
-
}
|
|
120
|
-
if (changedParams.includes('children') && slides && virtual && currentParams.virtual.enabled) {
|
|
121
|
-
virtual.slides = slides;
|
|
122
|
-
virtual.update(true);
|
|
123
|
-
}
|
|
124
|
-
else if (changedParams.includes('virtual') && virtual && currentParams.virtual.enabled) {
|
|
125
|
-
if (slides)
|
|
126
|
-
virtual.slides = slides;
|
|
127
|
-
virtual.update(true);
|
|
128
|
-
}
|
|
129
|
-
if (changedParams.includes('children') && slides && currentParams.loop) {
|
|
130
|
-
loopNeedReloop = true;
|
|
131
|
-
}
|
|
132
|
-
if (needThumbsInit) {
|
|
133
|
-
var initialized = thumbs.init();
|
|
134
|
-
if (initialized)
|
|
135
|
-
thumbs.update(true);
|
|
136
|
-
}
|
|
137
|
-
if (needControllerInit) {
|
|
138
|
-
swiper.controller.control = currentParams.controller.control;
|
|
139
|
-
}
|
|
140
|
-
if (needPaginationInit) {
|
|
141
|
-
if (swiper.isElement && (!paginationEl || typeof paginationEl === 'string')) {
|
|
142
|
-
paginationEl = document.createElement('div');
|
|
143
|
-
paginationEl.classList.add('swiper-pagination');
|
|
144
|
-
paginationEl.part.add('pagination');
|
|
145
|
-
swiper.el.appendChild(paginationEl);
|
|
146
|
-
}
|
|
147
|
-
if (paginationEl)
|
|
148
|
-
currentParams.pagination.el = paginationEl;
|
|
149
|
-
pagination.init();
|
|
150
|
-
pagination.render();
|
|
151
|
-
pagination.update();
|
|
152
|
-
}
|
|
153
|
-
if (needScrollbarInit) {
|
|
154
|
-
if (swiper.isElement && (!scrollbarEl || typeof scrollbarEl === 'string')) {
|
|
155
|
-
scrollbarEl = document.createElement('div');
|
|
156
|
-
scrollbarEl.classList.add('swiper-scrollbar');
|
|
157
|
-
scrollbarEl.part.add('scrollbar');
|
|
158
|
-
swiper.el.appendChild(scrollbarEl);
|
|
159
|
-
}
|
|
160
|
-
if (scrollbarEl)
|
|
161
|
-
currentParams.scrollbar.el = scrollbarEl;
|
|
162
|
-
scrollbar.init();
|
|
163
|
-
scrollbar.updateSize();
|
|
164
|
-
scrollbar.setTranslate();
|
|
165
|
-
}
|
|
166
|
-
if (needNavigationInit) {
|
|
167
|
-
if (swiper.isElement) {
|
|
168
|
-
if (!nextEl || typeof nextEl === 'string') {
|
|
169
|
-
nextEl = document.createElement('div');
|
|
170
|
-
nextEl.classList.add('swiper-button-next');
|
|
171
|
-
nextEl.innerHTML = swiper.hostEl.constructor.nextButtonSvg;
|
|
172
|
-
nextEl.part.add('button-next');
|
|
173
|
-
swiper.el.appendChild(nextEl);
|
|
174
|
-
}
|
|
175
|
-
if (!prevEl || typeof prevEl === 'string') {
|
|
176
|
-
prevEl = document.createElement('div');
|
|
177
|
-
prevEl.classList.add('swiper-button-prev');
|
|
178
|
-
prevEl.innerHTML = swiper.hostEl.constructor.prevButtonSvg;
|
|
179
|
-
prevEl.part.add('button-prev');
|
|
180
|
-
swiper.el.appendChild(prevEl);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
if (nextEl)
|
|
184
|
-
currentParams.navigation.nextEl = nextEl;
|
|
185
|
-
if (prevEl)
|
|
186
|
-
currentParams.navigation.prevEl = prevEl;
|
|
187
|
-
navigation.init();
|
|
188
|
-
navigation.update();
|
|
189
|
-
}
|
|
190
|
-
if (changedParams.includes('allowSlideNext')) {
|
|
191
|
-
swiper.allowSlideNext = passedParams.allowSlideNext;
|
|
192
|
-
}
|
|
193
|
-
if (changedParams.includes('allowSlidePrev')) {
|
|
194
|
-
swiper.allowSlidePrev = passedParams.allowSlidePrev;
|
|
195
|
-
}
|
|
196
|
-
if (changedParams.includes('direction')) {
|
|
197
|
-
swiper.changeDirection(passedParams.direction, false);
|
|
198
|
-
}
|
|
199
|
-
if (loopNeedDestroy || loopNeedReloop) {
|
|
200
|
-
swiper.loopDestroy();
|
|
201
|
-
}
|
|
202
|
-
if (loopNeedEnable || loopNeedReloop) {
|
|
203
|
-
swiper.loopCreate();
|
|
204
|
-
}
|
|
205
|
-
swiper.update();
|
|
206
|
-
}
|
|
207
|
-
exports.updateSwiper = updateSwiper;
|
|
208
|
-
//# sourceMappingURL=update-swiper.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
//@ts-nocheck
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
var window_1 = require("../../ssr-window/window
|
|
4
|
+
var window_1 = require("../../ssr-window/window");
|
|
5
5
|
function getBreakpoint(breakpoints, base, containerEl) {
|
|
6
6
|
if (base === void 0) { base = 'window'; }
|
|
7
7
|
if (!breakpoints || (base === 'container' && !containerEl))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import setBreakpoint from './setBreakpoint
|
|
2
|
-
import getBreakpoint from './getBreakpoint
|
|
1
|
+
import setBreakpoint from './setBreakpoint';
|
|
2
|
+
import getBreakpoint from './getBreakpoint';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
setBreakpoint: typeof setBreakpoint;
|
|
5
5
|
getBreakpoint: typeof getBreakpoint;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var setBreakpoint_1 = __importDefault(require("./setBreakpoint
|
|
7
|
-
var getBreakpoint_1 = __importDefault(require("./getBreakpoint
|
|
6
|
+
var setBreakpoint_1 = __importDefault(require("./setBreakpoint"));
|
|
7
|
+
var getBreakpoint_1 = __importDefault(require("./getBreakpoint"));
|
|
8
8
|
exports.default = { setBreakpoint: setBreakpoint_1.default, getBreakpoint: getBreakpoint_1.default };
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var utils_1 = require("../../shared/utils
|
|
3
|
+
var utils_1 = require("../../shared/utils");
|
|
4
4
|
var isGridEnabled = function (swiper, params) {
|
|
5
5
|
return swiper.grid && params.grid && params.grid.rows > 1;
|
|
6
6
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import addClasses from './addClasses
|
|
2
|
-
import removeClasses from './removeClasses
|
|
1
|
+
import addClasses from './addClasses';
|
|
2
|
+
import removeClasses from './removeClasses';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
addClasses: typeof addClasses;
|
|
5
5
|
removeClasses: typeof removeClasses;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var addClasses_1 = __importDefault(require("./addClasses
|
|
7
|
-
var removeClasses_1 = __importDefault(require("./removeClasses
|
|
6
|
+
var addClasses_1 = __importDefault(require("./addClasses"));
|
|
7
|
+
var removeClasses_1 = __importDefault(require("./removeClasses"));
|
|
8
8
|
exports.default = { addClasses: addClasses_1.default, removeClasses: removeClasses_1.default };
|
|
9
9
|
//# sourceMappingURL=index.js.map
|