@pepperi-addons/ngx-lib 0.5.0-ng15.3 → 0.5.0-ng16.2
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/address/address.component.d.ts +1 -1
- package/attachment/attachment.component.d.ts +1 -1
- package/bread-crumbs/bread-crumbs.component.d.ts +1 -1
- package/button/button.component.d.ts +1 -1
- package/carousel/carousel-item.directive.d.ts +1 -1
- package/carousel/carousel.component.d.ts +1 -1
- package/checkbox/checkbox.component.d.ts +1 -1
- package/chips/chips.component.d.ts +1 -1
- package/color/color.component.d.ts +1 -1
- package/core/clipboard/clipboard.directive.d.ts +1 -1
- package/core/common/directives/auto-width.directive.d.ts +1 -1
- package/core/common/directives/button-loader.directive.d.ts +1 -1
- package/core/common/directives/data-qa.directive.d.ts +1 -1
- package/core/common/directives/div-loader.directive.d.ts +1 -1
- package/core/common/directives/prevent-multi-click.directive.d.ts +1 -1
- package/core/common/directives/print.directive.d.ts +1 -1
- package/core/portal/attach.directive.d.ts +1 -1
- package/core/portal/target.directive.d.ts +1 -1
- package/date/date.component.d.ts +1 -1
- package/dialog/dialog.component.d.ts +1 -1
- package/draggable-items/draggable-item/draggable-item.component.d.ts +1 -1
- package/draggable-items/draggable-items.component.d.ts +1 -1
- package/esm2022/address/address.component.mjs +112 -0
- package/{esm2020 → esm2022}/address/address.module.mjs +23 -23
- package/{esm2020 → esm2022}/attachment/attachment.component.mjs +65 -61
- package/{esm2020 → esm2022}/attachment/attachment.module.mjs +21 -21
- package/esm2022/bread-crumbs/bread-crumbs.component.mjs +87 -0
- package/esm2022/bread-crumbs/bread-crumbs.model.mjs +10 -0
- package/esm2022/bread-crumbs/bread-crumbs.module.mjs +51 -0
- package/{esm2020 → esm2022}/button/button.component.mjs +76 -53
- package/esm2022/button/button.model.mjs +13 -0
- package/{esm2020 → esm2022}/button/button.module.mjs +19 -19
- package/esm2022/carousel/carousel-item.directive.mjs +34 -0
- package/esm2022/carousel/carousel.component.mjs +765 -0
- package/{esm2020 → esm2022}/carousel/carousel.module.mjs +5 -5
- package/esm2022/checkbox/checkbox.component.mjs +182 -0
- package/esm2022/checkbox/checkbox.module.mjs +64 -0
- package/esm2022/chips/chips.component.mjs +187 -0
- package/esm2022/chips/chips.module.mjs +82 -0
- package/{esm2020 → esm2022}/chips/chips.service.mjs +5 -5
- package/esm2022/color/color-picker.component.mjs +229 -0
- package/esm2022/color/color.component.mjs +93 -0
- package/esm2022/color/color.module.mjs +93 -0
- package/{esm2020 → esm2022}/core/clipboard/clipboard.directive.mjs +4 -4
- package/{esm2020 → esm2022}/core/clipboard/clipboard.service.mjs +4 -4
- package/esm2022/core/common/directives/auto-width.directive.mjs +79 -0
- package/esm2022/core/common/directives/base-destroyer.directive.mjs +23 -0
- package/esm2022/core/common/directives/button-blur.directive.mjs +25 -0
- package/esm2022/core/common/directives/button-loader.directive.mjs +117 -0
- package/esm2022/core/common/directives/data-qa.directive.mjs +26 -0
- package/esm2022/core/common/directives/div-loader.directive.mjs +67 -0
- package/esm2022/core/common/directives/menu-blur.directive.mjs +33 -0
- package/esm2022/core/common/directives/prevent-multi-click.directive.mjs +25 -0
- package/esm2022/core/common/directives/print.directive.mjs +176 -0
- package/esm2022/core/common/model/wapi.model.mjs +247 -0
- package/esm2022/core/common/pipes/common-pipes.mjs +180 -0
- package/esm2022/core/common/pipes/date-ago.pipe.mjs +47 -0
- package/esm2022/core/common/services/addon.service.mjs +234 -0
- package/esm2022/core/common/services/color.service.mjs +383 -0
- package/esm2022/core/common/services/cookie.service.mjs +156 -0
- package/esm2022/core/common/services/data-convertor.service.mjs +139 -0
- package/esm2022/core/common/services/file.service.mjs +252 -0
- package/{esm2020 → esm2022}/core/common/services/jwt-helper.service.mjs +4 -4
- package/esm2022/core/common/services/session.service.mjs +73 -0
- package/esm2022/core/common/services/translate.service.mjs +47 -0
- package/esm2022/core/common/services/utilities.service.mjs +302 -0
- package/esm2022/core/common/services/validator.service.mjs +273 -0
- package/esm2022/core/common/services/window-scrolling.service.mjs +38 -0
- package/esm2022/core/customization/customization.model.mjs +377 -0
- package/esm2022/core/customization/customization.service.mjs +802 -0
- package/{esm2020 → esm2022}/core/http/interceptors/error.interceptor.mjs +4 -4
- package/esm2022/core/http/interceptors/loader.interceptor.mjs +33 -0
- package/{esm2020 → esm2022}/core/http/interceptors/profiler.interceptor.mjs +4 -4
- package/esm2022/core/http/services/http.service.mjs +158 -0
- package/{esm2020 → esm2022}/core/http/services/loader.service.mjs +6 -6
- package/esm2022/core/layout/layout.service.mjs +171 -0
- package/esm2022/core/layout/rtl.directive.mjs +50 -0
- package/esm2022/core/portal/attach.directive.mjs +30 -0
- package/esm2022/core/portal/portal.service.mjs +37 -0
- package/esm2022/core/portal/target.directive.mjs +27 -0
- package/{esm2020 → esm2022}/core/scroll-to/scroll-to.service.mjs +4 -4
- package/esm2022/date/date.component.mjs +345 -0
- package/{esm2020 → esm2022}/date/date.model.mjs +7 -7
- package/esm2022/date/date.module.mjs +89 -0
- package/esm2022/dialog/default-dialog.component.mjs +39 -0
- package/esm2022/dialog/dialog.component.mjs +37 -0
- package/esm2022/dialog/dialog.model.mjs +41 -0
- package/esm2022/dialog/dialog.module.mjs +59 -0
- package/esm2022/dialog/dialog.service.mjs +106 -0
- package/esm2022/draggable-items/draggable-item/draggable-item.component.mjs +68 -0
- package/esm2022/draggable-items/draggable-items.component.mjs +95 -0
- package/esm2022/draggable-items/draggable-items.module.mjs +65 -0
- package/esm2022/field-title/field-title.component.mjs +46 -0
- package/esm2022/field-title/field-title.module.mjs +48 -0
- package/{esm2020 → esm2022}/files-uploader/files-uploader.component.mjs +36 -27
- package/esm2022/files-uploader/files-uploader.module.mjs +80 -0
- package/esm2022/form/field-generator.component.mjs +152 -0
- package/esm2022/form/form.component.mjs +1258 -0
- package/esm2022/form/form.module.mjs +180 -0
- package/esm2022/form/indicators.component.mjs +23 -0
- package/esm2022/form/internal-button.component.mjs +188 -0
- package/esm2022/form/internal-carusel.component.mjs +126 -0
- package/esm2022/form/internal-carusel.service.mjs +34 -0
- package/esm2022/form/internal-field-generator.component.mjs +146 -0
- package/esm2022/form/internal-form.component.mjs +1236 -0
- package/esm2022/form/internal-list.component.mjs +524 -0
- package/esm2022/form/internal-menu.component.mjs +62 -0
- package/esm2022/form/internal-page.component.mjs +380 -0
- package/esm2022/form/internal-page.service.mjs +125 -0
- package/esm2022/group-buttons/group-buttons.component.mjs +73 -0
- package/esm2022/group-buttons/group-buttons.module.mjs +60 -0
- package/esm2022/icon/icon-registry.service.mjs +24 -0
- package/esm2022/icon/icon.component.mjs +95 -0
- package/{esm2020 → esm2022}/icon/icon.module.mjs +5 -5
- package/esm2022/icon/icon.service.mjs +34 -0
- package/{esm2020 → esm2022}/image/image.component.mjs +45 -39
- package/esm2022/image/image.module.mjs +74 -0
- package/esm2022/image/image.service.mjs +53 -0
- package/esm2022/images-filmstrip/images-filmstrip.component.mjs +360 -0
- package/esm2022/images-filmstrip/images-filmstrip.module.mjs +84 -0
- package/esm2022/link/link.component.mjs +324 -0
- package/esm2022/link/link.module.mjs +81 -0
- package/{esm2020 → esm2022}/link/link.pipes.mjs +4 -4
- package/esm2022/list/list-actions.component.mjs +42 -0
- package/esm2022/list/list-carousel.component.mjs +110 -0
- package/esm2022/list/list-chooser.component.mjs +64 -0
- package/esm2022/list/list-pager.component.mjs +126 -0
- package/{esm2020 → esm2022}/list/list-sorting.component.mjs +15 -13
- package/esm2022/list/list-total.component.mjs +31 -0
- package/esm2022/list/list-views.component.mjs +86 -0
- package/esm2022/list/list.component.mjs +1394 -0
- package/{esm2020 → esm2022}/list/list.model.mjs +4 -1
- package/esm2022/list/list.module.mjs +145 -0
- package/esm2022/list/list.pipes.mjs +45 -0
- package/esm2022/list/virtual-scroller.mjs +1124 -0
- package/esm2022/menu/menu-item.component.mjs +111 -0
- package/esm2022/menu/menu.component.mjs +218 -0
- package/esm2022/menu/menu.model.mjs +23 -0
- package/esm2022/menu/menu.module.mjs +60 -0
- package/{esm2020 → esm2022}/ngx-lib.module.mjs +65 -65
- package/esm2022/page-layout/page-layout.component.mjs +41 -0
- package/{esm2020 → esm2022}/page-layout/page-layout.module.mjs +13 -13
- package/esm2022/profile-data-views-list/profile-data-view/profile-data-view.component.mjs +48 -0
- package/esm2022/profile-data-views-list/profile-data-views-card/profile-data-views-card.component.mjs +82 -0
- package/esm2022/profile-data-views-list/profile-data-views-list.component.mjs +131 -0
- package/esm2022/profile-data-views-list/profile-data-views-list.module.mjs +89 -0
- package/esm2022/quantity-selector/quantity-selector-validation.directive.mjs +53 -0
- package/{esm2020 → esm2022}/quantity-selector/quantity-selector.component.mjs +83 -73
- package/esm2022/quantity-selector/quantity-selector.module.mjs +83 -0
- package/{esm2020 → esm2022}/quantity-selector/quantity-selector.pipes.mjs +4 -4
- package/esm2022/query-builder/common/model/type-map.mjs +28 -0
- package/esm2022/query-builder/common/services/output-query.service.mjs +118 -0
- package/esm2022/query-builder/common/services/query-structure.service.mjs +263 -0
- package/esm2022/query-builder/common/services/type-convertor.service.mjs +42 -0
- package/esm2022/query-builder/query-builder-item/query-builder-item.component.mjs +134 -0
- package/esm2022/query-builder/query-builder-section/query-builder-section.component.mjs +76 -0
- package/esm2022/query-builder/query-builder.component.mjs +116 -0
- package/esm2022/query-builder/query-builder.module.mjs +71 -0
- package/{esm2020 → esm2022}/query-builder/query-builder.service.mjs +4 -4
- package/esm2022/remote-loader/addon-block-loader.component.mjs +115 -0
- package/esm2022/remote-loader/addon-block-loader.service.mjs +66 -0
- package/esm2022/remote-loader/remote-loader-element.component.mjs +179 -0
- package/esm2022/remote-loader/remote-loader.component.mjs +120 -0
- package/{esm2020 → esm2022}/remote-loader/remote-loader.module.mjs +26 -26
- package/esm2022/remote-loader/remote-loader.service.mjs +107 -0
- package/{esm2020 → esm2022}/rich-html-textarea/rich-html-textarea.component.mjs +38 -30
- package/esm2022/rich-html-textarea/rich-html-textarea.module.mjs +96 -0
- package/esm2022/search/search.component.mjs +322 -0
- package/esm2022/search/search.module.mjs +71 -0
- package/esm2022/select/select.component.mjs +341 -0
- package/esm2022/select/select.module.mjs +71 -0
- package/esm2022/select-panel/select-panel.component.mjs +161 -0
- package/{esm2020 → esm2022}/select-panel/select-panel.module.mjs +31 -31
- package/esm2022/separator/separator.component.mjs +65 -0
- package/{esm2020 → esm2022}/separator/separator.module.mjs +5 -5
- package/esm2022/side-bar/side-bar.component.mjs +141 -0
- package/esm2022/side-bar/side-bar.module.mjs +56 -0
- package/esm2022/signature/signature-dialog.component.mjs +82 -0
- package/{esm2020 → esm2022}/signature/signature.component.mjs +41 -31
- package/esm2022/signature/signature.module.mjs +92 -0
- package/esm2022/size-detector/size-detector.component.mjs +97 -0
- package/{esm2020 → esm2022}/size-detector/size-detector.module.mjs +13 -13
- package/esm2022/skeleton-loader/skeleton-loader.component.mjs +46 -0
- package/{esm2020 → esm2022}/skeleton-loader/skeleton-loader.module.mjs +7 -7
- package/esm2022/slider/slider.component.mjs +105 -0
- package/{esm2020 → esm2022}/slider/slider.module.mjs +17 -17
- package/esm2022/smart-filters/boolean-filter/boolean-filter.component.mjs +74 -0
- package/esm2022/smart-filters/common/filter-actions.component.mjs +28 -0
- package/esm2022/smart-filters/common/model/base-filter-component.mjs +307 -0
- package/esm2022/smart-filters/common/model/field.mjs +125 -0
- package/esm2022/smart-filters/common/model/operator.mjs +287 -0
- package/esm2022/smart-filters/date-filter/date-filter.component.mjs +181 -0
- package/esm2022/smart-filters/multi-select-filter/multi-select-filter.component.mjs +202 -0
- package/esm2022/smart-filters/number-filter/number-filter.component.mjs +133 -0
- package/esm2022/smart-filters/smart-filters.component.mjs +143 -0
- package/esm2022/smart-filters/smart-filters.module.mjs +159 -0
- package/esm2022/smart-filters/text-filter/text-filter.component.mjs +110 -0
- package/esm2022/snack-bar/default-snack-bar.component.mjs +31 -0
- package/esm2022/snack-bar/snack-bar.component.mjs +28 -0
- package/esm2022/snack-bar/snack-bar.model.mjs +9 -0
- package/esm2022/snack-bar/snack-bar.module.mjs +63 -0
- package/esm2022/snack-bar/snack-bar.service.mjs +62 -0
- package/{esm2020 → esm2022}/textarea/textarea.component.mjs +35 -27
- package/esm2022/textarea/textarea.module.mjs +83 -0
- package/esm2022/textbox/textbox-validation.directive.mjs +96 -0
- package/esm2022/textbox/textbox.component.mjs +646 -0
- package/esm2022/textbox/textbox.module.mjs +73 -0
- package/esm2022/textbox-icon/textbox-icon.component.mjs +50 -0
- package/esm2022/textbox-icon/textbox-icon.module.mjs +65 -0
- package/esm2022/top-bar/top-bar.component.mjs +127 -0
- package/esm2022/top-bar/top-bar.module.mjs +63 -0
- package/fesm2022/pepperi-addons-ngx-lib-address.mjs +173 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-address.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-attachment.mjs +84 -80
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-attachment.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-bread-crumbs.mjs +34 -28
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-bread-crumbs.mjs.map +1 -1
- package/fesm2022/pepperi-addons-ngx-lib-button.mjs +227 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-button.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-carousel.mjs +76 -55
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-carousel.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-checkbox.mjs +54 -48
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-checkbox.mjs.map +1 -1
- package/fesm2022/pepperi-addons-ngx-lib-chips.mjs +308 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-chips.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-color.mjs +92 -84
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-color.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-date.mjs +116 -104
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-date.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-dialog.mjs +50 -36
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-dialog.mjs.map +1 -1
- package/fesm2022/pepperi-addons-ngx-lib-draggable-items.mjs +229 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-draggable-items.mjs.map +1 -1
- package/fesm2022/pepperi-addons-ngx-lib-field-title.mjs +101 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-field-title.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-files-uploader.mjs +66 -56
- package/fesm2022/pepperi-addons-ngx-lib-files-uploader.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-form.mjs +391 -310
- package/{fesm2015 → fesm2022}/pepperi-addons-ngx-lib-form.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-group-buttons.mjs +38 -35
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-group-buttons.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-icon.mjs +23 -18
- package/{fesm2015 → fesm2022}/pepperi-addons-ngx-lib-icon.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-image.mjs +77 -68
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-image.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-images-filmstrip.mjs +83 -60
- package/fesm2022/pepperi-addons-ngx-lib-images-filmstrip.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-link.mjs +113 -103
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-link.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-list.mjs +339 -273
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-list.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-menu.mjs +89 -87
- package/{fesm2015 → fesm2022}/pepperi-addons-ngx-lib-menu.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/pepperi-addons-ngx-lib-page-layout.mjs +23 -17
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-page-layout.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-profile-data-views-list.mjs +72 -63
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-profile-data-views-list.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-quantity-selector.mjs +125 -110
- package/{fesm2015 → fesm2022}/pepperi-addons-ngx-lib-quantity-selector.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-query-builder.mjs +93 -66
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-query-builder.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-remote-loader.mjs +84 -64
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-remote-loader.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-rich-html-textarea.mjs +76 -67
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-rich-html-textarea.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-search.mjs +85 -79
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-search.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-select-panel.mjs +53 -49
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-select-panel.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-select.mjs +74 -66
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-select.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-separator.mjs +18 -16
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-separator.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-side-bar.mjs +44 -38
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-side-bar.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-signature.mjs +95 -81
- package/fesm2022/pepperi-addons-ngx-lib-signature.mjs.map +1 -0
- package/fesm2022/pepperi-addons-ngx-lib-size-detector.mjs +139 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-size-detector.mjs.map +1 -1
- package/fesm2022/pepperi-addons-ngx-lib-skeleton-loader.mjs +78 -0
- package/{fesm2015 → fesm2022}/pepperi-addons-ngx-lib-skeleton-loader.mjs.map +1 -1
- package/fesm2022/pepperi-addons-ngx-lib-slider.mjs +154 -0
- package/fesm2022/pepperi-addons-ngx-lib-slider.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-smart-filters.mjs +186 -158
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-smart-filters.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-snack-bar.mjs +42 -34
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-snack-bar.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-textarea.mjs +67 -58
- package/{fesm2015 → fesm2022}/pepperi-addons-ngx-lib-textarea.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-textbox-icon.mjs +28 -25
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-textbox-icon.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-textbox.mjs +156 -144
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-textbox.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-top-bar.mjs +48 -32
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib-top-bar.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib.mjs +661 -449
- package/{fesm2020 → fesm2022}/pepperi-addons-ngx-lib.mjs.map +1 -1
- package/field-title/field-title.component.d.ts +1 -1
- package/files-uploader/files-uploader.component.d.ts +1 -1
- package/form/field-generator.component.d.ts +1 -1
- package/form/form.component.d.ts +1 -1
- package/form/form.module.d.ts +2 -2
- package/form/indicators.component.d.ts +1 -1
- package/form/internal-button.component.d.ts +1 -1
- package/form/internal-carusel.component.d.ts +1 -1
- package/form/internal-field-generator.component.d.ts +1 -1
- package/form/internal-form.component.d.ts +1 -1
- package/form/internal-list.component.d.ts +1 -1
- package/form/internal-menu.component.d.ts +1 -1
- package/form/internal-page.component.d.ts +1 -1
- package/group-buttons/group-buttons.component.d.ts +1 -1
- package/icon/icon.component.d.ts +1 -1
- package/image/image.component.d.ts +1 -1
- package/images-filmstrip/images-filmstrip.component.d.ts +1 -1
- package/link/link.component.d.ts +1 -1
- package/list/list-actions.component.d.ts +1 -1
- package/list/list-carousel.component.d.ts +1 -1
- package/list/list-chooser.component.d.ts +1 -1
- package/list/list-pager.component.d.ts +1 -1
- package/list/list-sorting.component.d.ts +1 -1
- package/list/list-total.component.d.ts +1 -1
- package/list/list-views.component.d.ts +1 -1
- package/list/list.component.d.ts +1 -1
- package/list/virtual-scroller.d.ts +1 -1
- package/menu/menu-item.component.d.ts +1 -1
- package/menu/menu.component.d.ts +1 -1
- package/package.json +159 -249
- package/page-layout/page-layout.component.d.ts +1 -1
- package/profile-data-views-list/profile-data-view/profile-data-view.component.d.ts +1 -1
- package/profile-data-views-list/profile-data-views-card/profile-data-views-card.component.d.ts +1 -1
- package/profile-data-views-list/profile-data-views-list.component.d.ts +1 -1
- package/quantity-selector/quantity-selector-validation.directive.d.ts +1 -1
- package/quantity-selector/quantity-selector.component.d.ts +1 -1
- package/query-builder/query-builder-item/query-builder-item.component.d.ts +1 -1
- package/query-builder/query-builder-section/query-builder-section.component.d.ts +1 -1
- package/query-builder/query-builder.component.d.ts +1 -1
- package/remote-loader/addon-block-loader.component.d.ts +1 -1
- package/remote-loader/remote-loader-element.component.d.ts +1 -1
- package/remote-loader/remote-loader.component.d.ts +1 -1
- package/rich-html-textarea/rich-html-textarea.component.d.ts +1 -1
- package/search/search.component.d.ts +1 -1
- package/select/select.component.d.ts +1 -1
- package/select-panel/select-panel.component.d.ts +1 -1
- package/separator/separator.component.d.ts +1 -1
- package/side-bar/side-bar.component.d.ts +1 -1
- package/signature/signature-dialog.component.d.ts +2 -2
- package/signature/signature.component.d.ts +1 -1
- package/signature/signature.module.d.ts +2 -2
- package/size-detector/size-detector.component.d.ts +1 -1
- package/skeleton-loader/skeleton-loader.component.d.ts +1 -1
- package/slider/slider.component.d.ts +1 -1
- package/slider/slider.component.theme.scss +13 -6
- package/smart-filters/boolean-filter/boolean-filter.component.d.ts +1 -1
- package/smart-filters/common/filter-actions.component.d.ts +1 -1
- package/smart-filters/common/model/base-filter-component.d.ts +1 -1
- package/smart-filters/smart-filters.component.d.ts +1 -1
- package/snack-bar/snack-bar.component.d.ts +1 -1
- package/textarea/textarea.component.d.ts +1 -1
- package/textbox/textbox-validation.directive.d.ts +1 -1
- package/textbox/textbox.component.d.ts +1 -1
- package/textbox-icon/textbox-icon.component.d.ts +1 -1
- package/top-bar/top-bar.component.d.ts +1 -1
- package/esm2020/address/address.component.mjs +0 -109
- package/esm2020/bread-crumbs/bread-crumbs.component.mjs +0 -85
- package/esm2020/bread-crumbs/bread-crumbs.model.mjs +0 -7
- package/esm2020/bread-crumbs/bread-crumbs.module.mjs +0 -50
- package/esm2020/button/button.model.mjs +0 -6
- package/esm2020/carousel/carousel-item.directive.mjs +0 -33
- package/esm2020/carousel/carousel.component.mjs +0 -745
- package/esm2020/checkbox/checkbox.component.mjs +0 -177
- package/esm2020/checkbox/checkbox.module.mjs +0 -63
- package/esm2020/chips/chips.component.mjs +0 -185
- package/esm2020/chips/chips.module.mjs +0 -81
- package/esm2020/color/color-picker.component.mjs +0 -224
- package/esm2020/color/color.component.mjs +0 -90
- package/esm2020/color/color.module.mjs +0 -93
- package/esm2020/core/common/directives/auto-width.directive.mjs +0 -77
- package/esm2020/core/common/directives/base-destroyer.directive.mjs +0 -22
- package/esm2020/core/common/directives/button-blur.directive.mjs +0 -24
- package/esm2020/core/common/directives/button-loader.directive.mjs +0 -112
- package/esm2020/core/common/directives/data-qa.directive.mjs +0 -23
- package/esm2020/core/common/directives/div-loader.directive.mjs +0 -61
- package/esm2020/core/common/directives/menu-blur.directive.mjs +0 -32
- package/esm2020/core/common/directives/prevent-multi-click.directive.mjs +0 -27
- package/esm2020/core/common/directives/print.directive.mjs +0 -170
- package/esm2020/core/common/model/wapi.model.mjs +0 -157
- package/esm2020/core/common/pipes/common-pipes.mjs +0 -177
- package/esm2020/core/common/pipes/date-ago.pipe.mjs +0 -46
- package/esm2020/core/common/services/addon.service.mjs +0 -227
- package/esm2020/core/common/services/color.service.mjs +0 -385
- package/esm2020/core/common/services/cookie.service.mjs +0 -153
- package/esm2020/core/common/services/data-convertor.service.mjs +0 -122
- package/esm2020/core/common/services/file.service.mjs +0 -250
- package/esm2020/core/common/services/session.service.mjs +0 -72
- package/esm2020/core/common/services/translate.service.mjs +0 -46
- package/esm2020/core/common/services/utilities.service.mjs +0 -301
- package/esm2020/core/common/services/validator.service.mjs +0 -272
- package/esm2020/core/common/services/window-scrolling.service.mjs +0 -36
- package/esm2020/core/customization/customization.model.mjs +0 -338
- package/esm2020/core/customization/customization.service.mjs +0 -799
- package/esm2020/core/http/interceptors/loader.interceptor.mjs +0 -32
- package/esm2020/core/http/services/http.service.mjs +0 -155
- package/esm2020/core/layout/layout.service.mjs +0 -168
- package/esm2020/core/layout/rtl.directive.mjs +0 -44
- package/esm2020/core/portal/attach.directive.mjs +0 -27
- package/esm2020/core/portal/portal.service.mjs +0 -36
- package/esm2020/core/portal/target.directive.mjs +0 -24
- package/esm2020/date/date.component.mjs +0 -334
- package/esm2020/date/date.module.mjs +0 -88
- package/esm2020/dialog/default-dialog.component.mjs +0 -37
- package/esm2020/dialog/dialog.component.mjs +0 -36
- package/esm2020/dialog/dialog.model.mjs +0 -33
- package/esm2020/dialog/dialog.module.mjs +0 -59
- package/esm2020/dialog/dialog.service.mjs +0 -103
- package/esm2020/draggable-items/draggable-item/draggable-item.component.mjs +0 -67
- package/esm2020/draggable-items/draggable-items.component.mjs +0 -94
- package/esm2020/draggable-items/draggable-items.module.mjs +0 -64
- package/esm2020/field-title/field-title.component.mjs +0 -48
- package/esm2020/field-title/field-title.module.mjs +0 -47
- package/esm2020/files-uploader/files-uploader.module.mjs +0 -79
- package/esm2020/form/field-generator.component.mjs +0 -152
- package/esm2020/form/form.component.mjs +0 -1240
- package/esm2020/form/form.module.mjs +0 -179
- package/esm2020/form/indicators.component.mjs +0 -23
- package/esm2020/form/internal-button.component.mjs +0 -184
- package/esm2020/form/internal-carusel.component.mjs +0 -121
- package/esm2020/form/internal-carusel.service.mjs +0 -32
- package/esm2020/form/internal-field-generator.component.mjs +0 -146
- package/esm2020/form/internal-form.component.mjs +0 -1218
- package/esm2020/form/internal-list.component.mjs +0 -513
- package/esm2020/form/internal-menu.component.mjs +0 -64
- package/esm2020/form/internal-page.component.mjs +0 -361
- package/esm2020/form/internal-page.service.mjs +0 -120
- package/esm2020/group-buttons/group-buttons.component.mjs +0 -71
- package/esm2020/group-buttons/group-buttons.module.mjs +0 -59
- package/esm2020/icon/icon-registry.service.mjs +0 -26
- package/esm2020/icon/icon.component.mjs +0 -91
- package/esm2020/icon/icon.service.mjs +0 -31
- package/esm2020/image/image.module.mjs +0 -74
- package/esm2020/image/image.service.mjs +0 -50
- package/esm2020/images-filmstrip/images-filmstrip.component.mjs +0 -338
- package/esm2020/images-filmstrip/images-filmstrip.module.mjs +0 -83
- package/esm2020/link/link.component.mjs +0 -315
- package/esm2020/link/link.module.mjs +0 -80
- package/esm2020/list/list-actions.component.mjs +0 -44
- package/esm2020/list/list-carousel.component.mjs +0 -107
- package/esm2020/list/list-chooser.component.mjs +0 -64
- package/esm2020/list/list-pager.component.mjs +0 -120
- package/esm2020/list/list-total.component.mjs +0 -33
- package/esm2020/list/list-views.component.mjs +0 -85
- package/esm2020/list/list.component.mjs +0 -1382
- package/esm2020/list/list.module.mjs +0 -144
- package/esm2020/list/list.pipes.mjs +0 -47
- package/esm2020/list/virtual-scroller.mjs +0 -1080
- package/esm2020/menu/menu-item.component.mjs +0 -115
- package/esm2020/menu/menu.component.mjs +0 -216
- package/esm2020/menu/menu.model.mjs +0 -20
- package/esm2020/menu/menu.module.mjs +0 -59
- package/esm2020/page-layout/page-layout.component.mjs +0 -35
- package/esm2020/profile-data-views-list/profile-data-view/profile-data-view.component.mjs +0 -45
- package/esm2020/profile-data-views-list/profile-data-views-card/profile-data-views-card.component.mjs +0 -81
- package/esm2020/profile-data-views-list/profile-data-views-list.component.mjs +0 -127
- package/esm2020/profile-data-views-list/profile-data-views-list.module.mjs +0 -88
- package/esm2020/quantity-selector/quantity-selector-validation.directive.mjs +0 -49
- package/esm2020/quantity-selector/quantity-selector.module.mjs +0 -82
- package/esm2020/query-builder/common/model/type-map.mjs +0 -27
- package/esm2020/query-builder/common/services/output-query.service.mjs +0 -116
- package/esm2020/query-builder/common/services/query-structure.service.mjs +0 -258
- package/esm2020/query-builder/common/services/type-convertor.service.mjs +0 -42
- package/esm2020/query-builder/query-builder-item/query-builder-item.component.mjs +0 -127
- package/esm2020/query-builder/query-builder-section/query-builder-section.component.mjs +0 -71
- package/esm2020/query-builder/query-builder.component.mjs +0 -110
- package/esm2020/query-builder/query-builder.module.mjs +0 -70
- package/esm2020/remote-loader/addon-block-loader.component.mjs +0 -112
- package/esm2020/remote-loader/addon-block-loader.service.mjs +0 -65
- package/esm2020/remote-loader/remote-loader-element.component.mjs +0 -171
- package/esm2020/remote-loader/remote-loader.component.mjs +0 -115
- package/esm2020/remote-loader/remote-loader.service.mjs +0 -104
- package/esm2020/rich-html-textarea/rich-html-textarea.module.mjs +0 -95
- package/esm2020/search/search.component.mjs +0 -317
- package/esm2020/search/search.module.mjs +0 -70
- package/esm2020/select/select.component.mjs +0 -334
- package/esm2020/select/select.module.mjs +0 -70
- package/esm2020/select-panel/select-panel.component.mjs +0 -157
- package/esm2020/separator/separator.component.mjs +0 -63
- package/esm2020/side-bar/side-bar.component.mjs +0 -136
- package/esm2020/side-bar/side-bar.module.mjs +0 -55
- package/esm2020/signature/signature-dialog.component.mjs +0 -79
- package/esm2020/signature/signature.module.mjs +0 -91
- package/esm2020/size-detector/size-detector.component.mjs +0 -94
- package/esm2020/skeleton-loader/skeleton-loader.component.mjs +0 -44
- package/esm2020/slider/slider.component.mjs +0 -101
- package/esm2020/smart-filters/boolean-filter/boolean-filter.component.mjs +0 -75
- package/esm2020/smart-filters/common/filter-actions.component.mjs +0 -29
- package/esm2020/smart-filters/common/model/base-filter-component.mjs +0 -290
- package/esm2020/smart-filters/common/model/field.mjs +0 -117
- package/esm2020/smart-filters/common/model/operator.mjs +0 -280
- package/esm2020/smart-filters/date-filter/date-filter.component.mjs +0 -182
- package/esm2020/smart-filters/multi-select-filter/multi-select-filter.component.mjs +0 -200
- package/esm2020/smart-filters/number-filter/number-filter.component.mjs +0 -136
- package/esm2020/smart-filters/smart-filters.component.mjs +0 -141
- package/esm2020/smart-filters/smart-filters.module.mjs +0 -158
- package/esm2020/smart-filters/text-filter/text-filter.component.mjs +0 -113
- package/esm2020/snack-bar/default-snack-bar.component.mjs +0 -29
- package/esm2020/snack-bar/snack-bar.component.mjs +0 -26
- package/esm2020/snack-bar/snack-bar.model.mjs +0 -7
- package/esm2020/snack-bar/snack-bar.module.mjs +0 -63
- package/esm2020/snack-bar/snack-bar.service.mjs +0 -60
- package/esm2020/textarea/textarea.module.mjs +0 -82
- package/esm2020/textbox/textbox-validation.directive.mjs +0 -93
- package/esm2020/textbox/textbox.component.mjs +0 -638
- package/esm2020/textbox/textbox.module.mjs +0 -72
- package/esm2020/textbox-icon/textbox-icon.component.mjs +0 -48
- package/esm2020/textbox-icon/textbox-icon.module.mjs +0 -64
- package/esm2020/top-bar/top-bar.component.mjs +0 -112
- package/esm2020/top-bar/top-bar.module.mjs +0 -62
- package/fesm2015/pepperi-addons-ngx-lib-address.mjs +0 -170
- package/fesm2015/pepperi-addons-ngx-lib-address.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-attachment.mjs +0 -306
- package/fesm2015/pepperi-addons-ngx-lib-attachment.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-bread-crumbs.mjs +0 -147
- package/fesm2015/pepperi-addons-ngx-lib-bread-crumbs.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-button.mjs +0 -197
- package/fesm2015/pepperi-addons-ngx-lib-button.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-carousel.mjs +0 -804
- package/fesm2015/pepperi-addons-ngx-lib-carousel.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-checkbox.mjs +0 -246
- package/fesm2015/pepperi-addons-ngx-lib-checkbox.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-chips.mjs +0 -306
- package/fesm2015/pepperi-addons-ngx-lib-chips.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-color.mjs +0 -404
- package/fesm2015/pepperi-addons-ngx-lib-color.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-date.mjs +0 -481
- package/fesm2015/pepperi-addons-ngx-lib-date.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-dialog.mjs +0 -263
- package/fesm2015/pepperi-addons-ngx-lib-dialog.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-draggable-items.mjs +0 -227
- package/fesm2015/pepperi-addons-ngx-lib-draggable-items.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-field-title.mjs +0 -102
- package/fesm2015/pepperi-addons-ngx-lib-field-title.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-files-uploader.mjs +0 -331
- package/fesm2015/pepperi-addons-ngx-lib-files-uploader.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-form.mjs +0 -4232
- package/fesm2015/pepperi-addons-ngx-lib-group-buttons.mjs +0 -136
- package/fesm2015/pepperi-addons-ngx-lib-group-buttons.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-icon.mjs +0 -741
- package/fesm2015/pepperi-addons-ngx-lib-image.mjs +0 -397
- package/fesm2015/pepperi-addons-ngx-lib-image.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.mjs +0 -426
- package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-link.mjs +0 -414
- package/fesm2015/pepperi-addons-ngx-lib-link.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-list.mjs +0 -3131
- package/fesm2015/pepperi-addons-ngx-lib-list.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-menu.mjs +0 -403
- package/fesm2015/pepperi-addons-ngx-lib-page-layout.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.mjs +0 -337
- package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.mjs +0 -741
- package/fesm2015/pepperi-addons-ngx-lib-query-builder.mjs +0 -1226
- package/fesm2015/pepperi-addons-ngx-lib-query-builder.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-remote-loader.mjs +0 -644
- package/fesm2015/pepperi-addons-ngx-lib-remote-loader.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-rich-html-textarea.mjs +0 -363
- package/fesm2015/pepperi-addons-ngx-lib-rich-html-textarea.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-search.mjs +0 -393
- package/fesm2015/pepperi-addons-ngx-lib-search.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-select-panel.mjs +0 -235
- package/fesm2015/pepperi-addons-ngx-lib-select-panel.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-select.mjs +0 -410
- package/fesm2015/pepperi-addons-ngx-lib-select.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-separator.mjs +0 -89
- package/fesm2015/pepperi-addons-ngx-lib-separator.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-side-bar.mjs +0 -196
- package/fesm2015/pepperi-addons-ngx-lib-side-bar.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-signature.mjs +0 -464
- package/fesm2015/pepperi-addons-ngx-lib-signature.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-size-detector.mjs +0 -136
- package/fesm2015/pepperi-addons-ngx-lib-size-detector.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-skeleton-loader.mjs +0 -78
- package/fesm2015/pepperi-addons-ngx-lib-slider.mjs +0 -151
- package/fesm2015/pepperi-addons-ngx-lib-slider.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-smart-filters.mjs +0 -1731
- package/fesm2015/pepperi-addons-ngx-lib-smart-filters.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-snack-bar.mjs +0 -183
- package/fesm2015/pepperi-addons-ngx-lib-snack-bar.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-textarea.mjs +0 -286
- package/fesm2015/pepperi-addons-ngx-lib-textbox-icon.mjs +0 -118
- package/fesm2015/pepperi-addons-ngx-lib-textbox-icon.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-textbox.mjs +0 -806
- package/fesm2015/pepperi-addons-ngx-lib-textbox.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib-top-bar.mjs +0 -180
- package/fesm2015/pepperi-addons-ngx-lib-top-bar.mjs.map +0 -1
- package/fesm2015/pepperi-addons-ngx-lib.mjs +0 -4995
- package/fesm2015/pepperi-addons-ngx-lib.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-lib-address.mjs +0 -170
- package/fesm2020/pepperi-addons-ngx-lib-button.mjs +0 -197
- package/fesm2020/pepperi-addons-ngx-lib-chips.mjs +0 -305
- package/fesm2020/pepperi-addons-ngx-lib-draggable-items.mjs +0 -226
- package/fesm2020/pepperi-addons-ngx-lib-field-title.mjs +0 -102
- package/fesm2020/pepperi-addons-ngx-lib-files-uploader.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-lib-form.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-lib-icon.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-lib-images-filmstrip.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-lib-menu.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-lib-page-layout.mjs +0 -77
- package/fesm2020/pepperi-addons-ngx-lib-quantity-selector.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-lib-signature.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-lib-size-detector.mjs +0 -136
- package/fesm2020/pepperi-addons-ngx-lib-skeleton-loader.mjs +0 -76
- package/fesm2020/pepperi-addons-ngx-lib-skeleton-loader.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-lib-slider.mjs +0 -150
- package/fesm2020/pepperi-addons-ngx-lib-slider.mjs.map +0 -1
- package/fesm2020/pepperi-addons-ngx-lib-textarea.mjs.map +0 -1
- /package/{esm2020 → esm2022}/address/pepperi-addons-ngx-lib-address.mjs +0 -0
- /package/{esm2020 → esm2022}/address/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/attachment/pepperi-addons-ngx-lib-attachment.mjs +0 -0
- /package/{esm2020 → esm2022}/attachment/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/bread-crumbs/pepperi-addons-ngx-lib-bread-crumbs.mjs +0 -0
- /package/{esm2020 → esm2022}/bread-crumbs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/button/pepperi-addons-ngx-lib-button.mjs +0 -0
- /package/{esm2020 → esm2022}/button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/carousel/pepperi-addons-ngx-lib-carousel.mjs +0 -0
- /package/{esm2020 → esm2022}/carousel/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/pepperi-addons-ngx-lib-checkbox.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/chips/chips.model.mjs +0 -0
- /package/{esm2020 → esm2022}/chips/pepperi-addons-ngx-lib-chips.mjs +0 -0
- /package/{esm2020 → esm2022}/chips/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/color/color.model.mjs +0 -0
- /package/{esm2020 → esm2022}/color/pepperi-addons-ngx-lib-color.mjs +0 -0
- /package/{esm2020 → esm2022}/color/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/clipboard/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/clipboard/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/directives/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/model/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/model/papi.model.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/model/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/model/utilities.model.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/pipes/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/common/services/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/customization/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/customization/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/http/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/http/interceptors/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/http/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/layout/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/layout/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/portal/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/portal/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/core/scroll-to/index.mjs +0 -0
- /package/{esm2020 → esm2022}/core/scroll-to/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/date/pepperi-addons-ngx-lib-date.mjs +0 -0
- /package/{esm2020 → esm2022}/date/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/pepperi-addons-ngx-lib-dialog.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/draggable-items/draggable-items.model.mjs +0 -0
- /package/{esm2020 → esm2022}/draggable-items/pepperi-addons-ngx-lib-draggable-items.mjs +0 -0
- /package/{esm2020 → esm2022}/draggable-items/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/field-title/pepperi-addons-ngx-lib-field-title.mjs +0 -0
- /package/{esm2020 → esm2022}/field-title/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/files-uploader/pepperi-addons-ngx-lib-files-uploader.mjs +0 -0
- /package/{esm2020 → esm2022}/files-uploader/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/form/form.model.mjs +0 -0
- /package/{esm2020 → esm2022}/form/pepperi-addons-ngx-lib-form.mjs +0 -0
- /package/{esm2020 → esm2022}/form/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/group-buttons/pepperi-addons-ngx-lib-group-buttons.mjs +0 -0
- /package/{esm2020 → esm2022}/group-buttons/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/icon/icon-generated-all.model.mjs +0 -0
- /package/{esm2020 → esm2022}/icon/icon-generated.model.mjs +0 -0
- /package/{esm2020 → esm2022}/icon/pepperi-addons-ngx-lib-icon.mjs +0 -0
- /package/{esm2020 → esm2022}/icon/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/image/pepperi-addons-ngx-lib-image.mjs +0 -0
- /package/{esm2020 → esm2022}/image/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/images-filmstrip/pepperi-addons-ngx-lib-images-filmstrip.mjs +0 -0
- /package/{esm2020 → esm2022}/images-filmstrip/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/link/pepperi-addons-ngx-lib-link.mjs +0 -0
- /package/{esm2020 → esm2022}/link/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/list/pepperi-addons-ngx-lib-list.mjs +0 -0
- /package/{esm2020 → esm2022}/list/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/menu/pepperi-addons-ngx-lib-menu.mjs +0 -0
- /package/{esm2020 → esm2022}/menu/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/page-layout/pepperi-addons-ngx-lib-page-layout.mjs +0 -0
- /package/{esm2020 → esm2022}/page-layout/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/pepperi-addons-ngx-lib.mjs +0 -0
- /package/{esm2020 → esm2022}/profile-data-views-list/pepperi-addons-ngx-lib-profile-data-views-list.mjs +0 -0
- /package/{esm2020 → esm2022}/profile-data-views-list/profile-data-views-list.model.mjs +0 -0
- /package/{esm2020 → esm2022}/profile-data-views-list/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/quantity-selector/pepperi-addons-ngx-lib-quantity-selector.mjs +0 -0
- /package/{esm2020 → esm2022}/quantity-selector/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/query-builder/common/model/field.mjs +0 -0
- /package/{esm2020 → esm2022}/query-builder/common/model/filter.mjs +0 -0
- /package/{esm2020 → esm2022}/query-builder/common/model/legacy.mjs +0 -0
- /package/{esm2020 → esm2022}/query-builder/common/model/operator-unit.mjs +0 -0
- /package/{esm2020 → esm2022}/query-builder/common/model/operator.mjs +0 -0
- /package/{esm2020 → esm2022}/query-builder/common/model/structure.mjs +0 -0
- /package/{esm2020 → esm2022}/query-builder/common/model/type.mjs +0 -0
- /package/{esm2020 → esm2022}/query-builder/pepperi-addons-ngx-lib-query-builder.mjs +0 -0
- /package/{esm2020 → esm2022}/query-builder/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/remote-loader/pepperi-addons-ngx-lib-remote-loader.mjs +0 -0
- /package/{esm2020 → esm2022}/remote-loader/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/remote-loader/remote-loader.model.mjs +0 -0
- /package/{esm2020 → esm2022}/rich-html-textarea/pepperi-addons-ngx-lib-rich-html-textarea.mjs +0 -0
- /package/{esm2020 → esm2022}/rich-html-textarea/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/search/pepperi-addons-ngx-lib-search.mjs +0 -0
- /package/{esm2020 → esm2022}/search/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/search/search.model.mjs +0 -0
- /package/{esm2020 → esm2022}/select/pepperi-addons-ngx-lib-select.mjs +0 -0
- /package/{esm2020 → esm2022}/select/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/select-panel/pepperi-addons-ngx-lib-select-panel.mjs +0 -0
- /package/{esm2020 → esm2022}/select-panel/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/select-panel/select-panel.model.mjs +0 -0
- /package/{esm2020 → esm2022}/separator/pepperi-addons-ngx-lib-separator.mjs +0 -0
- /package/{esm2020 → esm2022}/separator/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/side-bar/pepperi-addons-ngx-lib-side-bar.mjs +0 -0
- /package/{esm2020 → esm2022}/side-bar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/side-bar/side-bar.model.mjs +0 -0
- /package/{esm2020 → esm2022}/signature/pepperi-addons-ngx-lib-signature.mjs +0 -0
- /package/{esm2020 → esm2022}/signature/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/size-detector/pepperi-addons-ngx-lib-size-detector.mjs +0 -0
- /package/{esm2020 → esm2022}/size-detector/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/skeleton-loader/pepperi-addons-ngx-lib-skeleton-loader.mjs +0 -0
- /package/{esm2020 → esm2022}/skeleton-loader/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/slider/pepperi-addons-ngx-lib-slider.mjs +0 -0
- /package/{esm2020 → esm2022}/slider/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/smart-filters/common/model/creator.mjs +0 -0
- /package/{esm2020 → esm2022}/smart-filters/common/model/filter.mjs +0 -0
- /package/{esm2020 → esm2022}/smart-filters/common/model/type.mjs +0 -0
- /package/{esm2020 → esm2022}/smart-filters/pepperi-addons-ngx-lib-smart-filters.mjs +0 -0
- /package/{esm2020 → esm2022}/smart-filters/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/snack-bar/pepperi-addons-ngx-lib-snack-bar.mjs +0 -0
- /package/{esm2020 → esm2022}/snack-bar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/pepperi-addons-ngx-lib-textarea.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/textbox/pepperi-addons-ngx-lib-textbox.mjs +0 -0
- /package/{esm2020 → esm2022}/textbox/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/textbox-icon/pepperi-addons-ngx-lib-textbox-icon.mjs +0 -0
- /package/{esm2020 → esm2022}/textbox-icon/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/top-bar/pepperi-addons-ngx-lib-top-bar.mjs +0 -0
- /package/{esm2020 → esm2022}/top-bar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/top-bar/top-bar.model.mjs +0 -0
|
@@ -1,804 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { ElementRef, Directive, Inject, HostBinding, Input, EventEmitter, Renderer2, Component, ViewChild, ContentChildren, Output, HostListener, NgModule } from '@angular/core';
|
|
3
|
-
import { DOCUMENT } from '@angular/common';
|
|
4
|
-
|
|
5
|
-
class PepCarouselItemDirective {
|
|
6
|
-
get dragDisabled() {
|
|
7
|
-
return this._dragDisabled;
|
|
8
|
-
}
|
|
9
|
-
set dragDisabled(value) {
|
|
10
|
-
this._dragDisabled = value;
|
|
11
|
-
}
|
|
12
|
-
constructor(elementRef) {
|
|
13
|
-
this.display = 'inline-block';
|
|
14
|
-
this._dragDisabled = false;
|
|
15
|
-
this._elementRef = elementRef;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
PepCarouselItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PepCarouselItemDirective, deps: [{ token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
-
PepCarouselItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PepCarouselItemDirective, selector: "[pepCarouselItem]", inputs: { dragDisabled: "dragDisabled" }, host: { properties: { "style.display": "this.display" } }, ngImport: i0 });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PepCarouselItemDirective, decorators: [{
|
|
21
|
-
type: Directive,
|
|
22
|
-
args: [{
|
|
23
|
-
selector: '[pepCarouselItem]',
|
|
24
|
-
}]
|
|
25
|
-
}], ctorParameters: function () {
|
|
26
|
-
return [{ type: i0.ElementRef, decorators: [{
|
|
27
|
-
type: Inject,
|
|
28
|
-
args: [ElementRef]
|
|
29
|
-
}] }];
|
|
30
|
-
}, propDecorators: { display: [{
|
|
31
|
-
type: HostBinding,
|
|
32
|
-
args: ['style.display']
|
|
33
|
-
}], dragDisabled: [{
|
|
34
|
-
type: Input,
|
|
35
|
-
args: ['dragDisabled']
|
|
36
|
-
}] } });
|
|
37
|
-
|
|
38
|
-
class PepCarouselComponent {
|
|
39
|
-
/**
|
|
40
|
-
* Is the user currently dragging the element
|
|
41
|
-
*/
|
|
42
|
-
get isDragging() {
|
|
43
|
-
return this._isDragging;
|
|
44
|
-
}
|
|
45
|
-
get currIndex() {
|
|
46
|
-
return this._index;
|
|
47
|
-
}
|
|
48
|
-
set currIndex(value) {
|
|
49
|
-
if (value !== this._index) {
|
|
50
|
-
this._index = value;
|
|
51
|
-
this.indexChanged.emit(value);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Whether the scrollbar is hidden
|
|
56
|
-
*/
|
|
57
|
-
get scrollbarHidden() {
|
|
58
|
-
return this._scrollbarHidden;
|
|
59
|
-
}
|
|
60
|
-
set scrollbarHidden(value) {
|
|
61
|
-
this._scrollbarHidden = value;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Whether horizontally and vertically draging and scrolling is be disabled
|
|
65
|
-
*/
|
|
66
|
-
get disabled() {
|
|
67
|
-
return this._disabled;
|
|
68
|
-
}
|
|
69
|
-
set disabled(value) {
|
|
70
|
-
this._disabled = value;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Whether horizontally dragging and scrolling is be disabled
|
|
74
|
-
*/
|
|
75
|
-
get xDisabled() {
|
|
76
|
-
return this._xDisabled;
|
|
77
|
-
}
|
|
78
|
-
set xDisabled(value) {
|
|
79
|
-
this._xDisabled = value;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Whether vertically dragging and scrolling events is disabled
|
|
83
|
-
*/
|
|
84
|
-
get yDisabled() {
|
|
85
|
-
return this._yDisabled;
|
|
86
|
-
}
|
|
87
|
-
set yDisabled(value) {
|
|
88
|
-
this._yDisabled = value;
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Whether scrolling horizontally with mouse wheel is enabled
|
|
92
|
-
*/
|
|
93
|
-
get xWheelEnabled() {
|
|
94
|
-
return this._xWheelEnabled;
|
|
95
|
-
}
|
|
96
|
-
set xWheelEnabled(value) {
|
|
97
|
-
this._xWheelEnabled = value;
|
|
98
|
-
}
|
|
99
|
-
get dragDisabled() {
|
|
100
|
-
return this._dragDisabled;
|
|
101
|
-
}
|
|
102
|
-
set dragDisabled(value) {
|
|
103
|
-
this._dragDisabled = value;
|
|
104
|
-
}
|
|
105
|
-
get snapDisabled() {
|
|
106
|
-
return this._snapDisabled;
|
|
107
|
-
}
|
|
108
|
-
set snapDisabled(value) {
|
|
109
|
-
this._snapDisabled = value;
|
|
110
|
-
}
|
|
111
|
-
get snapOffset() {
|
|
112
|
-
return this._snapOffset;
|
|
113
|
-
}
|
|
114
|
-
set snapOffset(value) {
|
|
115
|
-
this._snapOffset = value;
|
|
116
|
-
}
|
|
117
|
-
get snapDuration() {
|
|
118
|
-
return this._snapDuration;
|
|
119
|
-
}
|
|
120
|
-
set snapDuration(value) {
|
|
121
|
-
this._snapDuration = value;
|
|
122
|
-
}
|
|
123
|
-
constructor(_elementRef, _renderer, _document) {
|
|
124
|
-
this._elementRef = _elementRef;
|
|
125
|
-
this._renderer = _renderer;
|
|
126
|
-
this._document = _document;
|
|
127
|
-
this._index = 0;
|
|
128
|
-
this._scrollbarHidden = false;
|
|
129
|
-
this._disabled = false;
|
|
130
|
-
this._xDisabled = false;
|
|
131
|
-
this._xWheelEnabled = false;
|
|
132
|
-
this._yDisabled = false;
|
|
133
|
-
this._dragDisabled = false;
|
|
134
|
-
this._snapDisabled = false;
|
|
135
|
-
this._snapOffset = 0;
|
|
136
|
-
this._snapDuration = 500;
|
|
137
|
-
this._isDragging = false;
|
|
138
|
-
/**
|
|
139
|
-
* Is the user currently pressing the element
|
|
140
|
-
*/
|
|
141
|
-
this.isPressed = false;
|
|
142
|
-
/**
|
|
143
|
-
* Is the user currently scrolling the element
|
|
144
|
-
*/
|
|
145
|
-
this.isScrolling = false;
|
|
146
|
-
/**
|
|
147
|
-
* The x coordinates on the element
|
|
148
|
-
*/
|
|
149
|
-
this.downX = 0;
|
|
150
|
-
/**
|
|
151
|
-
* The y coordinates on the element
|
|
152
|
-
*/
|
|
153
|
-
this.downY = 0;
|
|
154
|
-
this.displayType = 'block';
|
|
155
|
-
this.elWidth = null;
|
|
156
|
-
this.elHeight = null;
|
|
157
|
-
this._pointerEvents = 'auto';
|
|
158
|
-
this.scrollbarWidth = null;
|
|
159
|
-
this.isAnimating = false;
|
|
160
|
-
this.prevChildrenLength = 0;
|
|
161
|
-
this.indexBound = 0;
|
|
162
|
-
this.dsInitialized = new EventEmitter();
|
|
163
|
-
this.indexChanged = new EventEmitter();
|
|
164
|
-
this.reachesLeftBound = new EventEmitter();
|
|
165
|
-
this.reachesRightBound = new EventEmitter();
|
|
166
|
-
this.snapAnimationFinished = new EventEmitter();
|
|
167
|
-
this.dragStart = new EventEmitter();
|
|
168
|
-
this.dragEnd = new EventEmitter();
|
|
169
|
-
this.scrollbarWidth = `${this.getScrollbarWidth()}px`;
|
|
170
|
-
}
|
|
171
|
-
ngOnChanges() {
|
|
172
|
-
this.setScrollBar();
|
|
173
|
-
if (this.xDisabled || this.disabled || this._scrollbarHidden) {
|
|
174
|
-
this.disableScroll('x');
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
this.enableScroll('x');
|
|
178
|
-
}
|
|
179
|
-
if (this.yDisabled || this.disabled) {
|
|
180
|
-
this.disableScroll('y');
|
|
181
|
-
}
|
|
182
|
-
else {
|
|
183
|
-
this.enableScroll('y');
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
ngAfterViewInit() {
|
|
187
|
-
// auto assign computed css
|
|
188
|
-
this._renderer.setAttribute(this._contentRef.nativeElement, 'drag-scroll', 'true');
|
|
189
|
-
this.displayType =
|
|
190
|
-
typeof window !== 'undefined'
|
|
191
|
-
? window.getComputedStyle(this._elementRef.nativeElement)
|
|
192
|
-
.display
|
|
193
|
-
: 'block';
|
|
194
|
-
this._renderer.setStyle(this._contentRef.nativeElement, 'display', this.displayType);
|
|
195
|
-
this._renderer.setStyle(this._contentRef.nativeElement, 'whiteSpace', 'noWrap');
|
|
196
|
-
// store ele width height for later user
|
|
197
|
-
this.markElDimension();
|
|
198
|
-
this._renderer.setStyle(this._contentRef.nativeElement, 'width', this.elWidth);
|
|
199
|
-
this._renderer.setStyle(this._contentRef.nativeElement, 'height', this.elHeight);
|
|
200
|
-
if (this.wrapper) {
|
|
201
|
-
this.checkScrollbar();
|
|
202
|
-
}
|
|
203
|
-
this._onMouseDownListener = this._renderer.listen(this._contentRef.nativeElement, 'mousedown', this.onMouseDownHandler.bind(this));
|
|
204
|
-
this._onScrollListener = this._renderer.listen(this._contentRef.nativeElement, 'scroll', this.onScrollHandler.bind(this));
|
|
205
|
-
// prevent Firefox from dragging images
|
|
206
|
-
this._onDragStartListener = this._renderer.listen('document', 'dragstart', (e) => {
|
|
207
|
-
e.preventDefault();
|
|
208
|
-
});
|
|
209
|
-
this.checkNavStatus();
|
|
210
|
-
this.dsInitialized.emit();
|
|
211
|
-
this.adjustMarginToLastChild();
|
|
212
|
-
}
|
|
213
|
-
ngAfterViewChecked() {
|
|
214
|
-
// avoid extra checks
|
|
215
|
-
if (this._children.length !== this.prevChildrenLength) {
|
|
216
|
-
this.markElDimension();
|
|
217
|
-
this.checkScrollbar();
|
|
218
|
-
this.prevChildrenLength = this._children.length;
|
|
219
|
-
this.checkNavStatus();
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
ngOnDestroy() {
|
|
223
|
-
this._renderer.setAttribute(this._contentRef.nativeElement, 'drag-scroll', 'false');
|
|
224
|
-
if (this._onMouseDownListener) {
|
|
225
|
-
this._onMouseDownListener = this._onMouseDownListener();
|
|
226
|
-
}
|
|
227
|
-
if (this._onScrollListener) {
|
|
228
|
-
this._onScrollListener = this._onScrollListener();
|
|
229
|
-
}
|
|
230
|
-
if (this._onDragStartListener) {
|
|
231
|
-
this._onDragStartListener = this._onDragStartListener();
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
onMouseMoveHandler(event) {
|
|
235
|
-
this.onMouseMove(event);
|
|
236
|
-
}
|
|
237
|
-
onMouseMove(event) {
|
|
238
|
-
if (this.isPressed && !this.disabled) {
|
|
239
|
-
// Workaround for prevent scroll stuck if browser lost focus
|
|
240
|
-
// MouseEvent.buttons not support by Safari
|
|
241
|
-
if (!event.buttons && !event.which) {
|
|
242
|
-
return this.onMouseUpHandler(event);
|
|
243
|
-
}
|
|
244
|
-
this._pointerEvents = 'none';
|
|
245
|
-
this._setIsDragging(true);
|
|
246
|
-
// Drag X
|
|
247
|
-
if (!this.xDisabled && !this.dragDisabled) {
|
|
248
|
-
const clientX = event.clientX;
|
|
249
|
-
this._contentRef.nativeElement.scrollLeft =
|
|
250
|
-
this._contentRef.nativeElement.scrollLeft -
|
|
251
|
-
clientX +
|
|
252
|
-
this.downX;
|
|
253
|
-
this.downX = clientX;
|
|
254
|
-
}
|
|
255
|
-
// Drag Y
|
|
256
|
-
if (!this.yDisabled && !this.dragDisabled) {
|
|
257
|
-
const clientY = event.clientY;
|
|
258
|
-
this._contentRef.nativeElement.scrollTop =
|
|
259
|
-
this._contentRef.nativeElement.scrollTop -
|
|
260
|
-
clientY +
|
|
261
|
-
this.downY;
|
|
262
|
-
this.downY = clientY;
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
onMouseDownHandler(event) {
|
|
267
|
-
const carouselItem = this.locateCarouselItem(event.target);
|
|
268
|
-
if (carouselItem && carouselItem.dragDisabled) {
|
|
269
|
-
return;
|
|
270
|
-
}
|
|
271
|
-
const isTouchEvent = event.type === 'touchstart';
|
|
272
|
-
this._startGlobalListening(isTouchEvent);
|
|
273
|
-
this.isPressed = true;
|
|
274
|
-
const mouseEvent = event;
|
|
275
|
-
this.downX = mouseEvent.clientX;
|
|
276
|
-
this.downY = mouseEvent.clientY;
|
|
277
|
-
clearTimeout(this.scrollToTimer);
|
|
278
|
-
}
|
|
279
|
-
onScrollHandler() {
|
|
280
|
-
this.checkNavStatus();
|
|
281
|
-
if (!this.isPressed && !this.isAnimating && !this.snapDisabled) {
|
|
282
|
-
this.isScrolling = true;
|
|
283
|
-
clearTimeout(this.scrollTimer);
|
|
284
|
-
this.scrollTimer = setTimeout(() => {
|
|
285
|
-
this.isScrolling = false;
|
|
286
|
-
this.locateCurrentIndex(true);
|
|
287
|
-
}, 500);
|
|
288
|
-
}
|
|
289
|
-
else {
|
|
290
|
-
this.locateCurrentIndex();
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
onMouseUpHandler(event) {
|
|
294
|
-
if (this.isPressed) {
|
|
295
|
-
this.isPressed = false;
|
|
296
|
-
this._pointerEvents = 'auto';
|
|
297
|
-
this._setIsDragging(false);
|
|
298
|
-
if (!this.snapDisabled) {
|
|
299
|
-
this.locateCurrentIndex(true);
|
|
300
|
-
}
|
|
301
|
-
else {
|
|
302
|
-
this.locateCurrentIndex();
|
|
303
|
-
}
|
|
304
|
-
this._stopGlobalListening();
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
/*
|
|
308
|
-
* Nav button
|
|
309
|
-
*/
|
|
310
|
-
moveLeft() {
|
|
311
|
-
if (this.currIndex !== 0 || this.snapDisabled) {
|
|
312
|
-
this.currIndex--;
|
|
313
|
-
clearTimeout(this.scrollToTimer);
|
|
314
|
-
this.scrollTo(this._contentRef.nativeElement, this.toChildrenLocation(), this.snapDuration);
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
moveRight() {
|
|
318
|
-
const container = this.wrapper || this.parentNode;
|
|
319
|
-
const containerWidth = container ? container.clientWidth : 0;
|
|
320
|
-
if (!this.isScrollReachesRightEnd() &&
|
|
321
|
-
this.currIndex <
|
|
322
|
-
this.maximumIndex(containerWidth, this._children.toArray())) {
|
|
323
|
-
this.currIndex++;
|
|
324
|
-
clearTimeout(this.scrollToTimer);
|
|
325
|
-
this.scrollTo(this._contentRef.nativeElement, this.toChildrenLocation(), this.snapDuration);
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
moveTo(index) {
|
|
329
|
-
const container = this.wrapper || this.parentNode;
|
|
330
|
-
const containerWidth = container ? container.clientWidth : 0;
|
|
331
|
-
if (index >= 0 &&
|
|
332
|
-
index !== this.currIndex &&
|
|
333
|
-
this.currIndex <=
|
|
334
|
-
this.maximumIndex(containerWidth, this._children.toArray())) {
|
|
335
|
-
this.currIndex = Math.min(index, this.maximumIndex(containerWidth, this._children.toArray()));
|
|
336
|
-
clearTimeout(this.scrollToTimer);
|
|
337
|
-
this.scrollTo(this._contentRef.nativeElement, this.toChildrenLocation(), this.snapDuration);
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
checkNavStatus() {
|
|
341
|
-
setTimeout(() => {
|
|
342
|
-
const onlyOneItem = Boolean(this._children.length <= 1);
|
|
343
|
-
const containerIsLargerThanContent = Boolean(this._contentRef.nativeElement.scrollWidth <=
|
|
344
|
-
this._contentRef.nativeElement.clientWidth);
|
|
345
|
-
if (onlyOneItem || containerIsLargerThanContent) {
|
|
346
|
-
// only one element
|
|
347
|
-
this.reachesLeftBound.emit(true);
|
|
348
|
-
this.reachesRightBound.emit(true);
|
|
349
|
-
}
|
|
350
|
-
else if (this.isScrollReachesRightEnd()) {
|
|
351
|
-
// reached right end
|
|
352
|
-
this.reachesLeftBound.emit(false);
|
|
353
|
-
this.reachesRightBound.emit(true);
|
|
354
|
-
}
|
|
355
|
-
else if (this._contentRef.nativeElement.scrollLeft === 0 &&
|
|
356
|
-
this._contentRef.nativeElement.scrollWidth >
|
|
357
|
-
this._contentRef.nativeElement.clientWidth) {
|
|
358
|
-
// reached left end
|
|
359
|
-
this.reachesLeftBound.emit(true);
|
|
360
|
-
this.reachesRightBound.emit(false);
|
|
361
|
-
}
|
|
362
|
-
else {
|
|
363
|
-
// in the middle
|
|
364
|
-
this.reachesLeftBound.emit(false);
|
|
365
|
-
this.reachesRightBound.emit(false);
|
|
366
|
-
}
|
|
367
|
-
}, 0);
|
|
368
|
-
}
|
|
369
|
-
onWheel(event) {
|
|
370
|
-
if (this._xWheelEnabled) {
|
|
371
|
-
event.preventDefault();
|
|
372
|
-
if (this._snapDisabled) {
|
|
373
|
-
this._contentRef.nativeElement.scrollBy(event.deltaY, 0);
|
|
374
|
-
}
|
|
375
|
-
else {
|
|
376
|
-
if (event.deltaY < 0) {
|
|
377
|
-
this.moveLeft();
|
|
378
|
-
}
|
|
379
|
-
else if (event.deltaY > 0) {
|
|
380
|
-
this.moveRight();
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
onWindowResize() {
|
|
386
|
-
this.refreshWrapperDimensions();
|
|
387
|
-
this.checkNavStatus();
|
|
388
|
-
}
|
|
389
|
-
_setIsDragging(value) {
|
|
390
|
-
if (this._isDragging === value) {
|
|
391
|
-
return;
|
|
392
|
-
}
|
|
393
|
-
this._isDragging = value;
|
|
394
|
-
value ? this.dragStart.emit() : this.dragEnd.emit();
|
|
395
|
-
}
|
|
396
|
-
_startGlobalListening(isTouchEvent) {
|
|
397
|
-
if (!this._onMouseMoveListener) {
|
|
398
|
-
const eventName = isTouchEvent ? 'touchmove' : 'mousemove';
|
|
399
|
-
this._onMouseMoveListener = this._renderer.listen('document', eventName, this.onMouseMoveHandler.bind(this));
|
|
400
|
-
}
|
|
401
|
-
if (!this._onMouseUpListener) {
|
|
402
|
-
const eventName = isTouchEvent ? 'touchend' : 'mouseup';
|
|
403
|
-
this._onMouseUpListener = this._renderer.listen('document', eventName, this.onMouseUpHandler.bind(this));
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
_stopGlobalListening() {
|
|
407
|
-
if (this._onMouseMoveListener) {
|
|
408
|
-
this._onMouseMoveListener = this._onMouseMoveListener();
|
|
409
|
-
}
|
|
410
|
-
if (this._onMouseUpListener) {
|
|
411
|
-
this._onMouseUpListener = this._onMouseUpListener();
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
disableScroll(axis) {
|
|
415
|
-
this._renderer.setStyle(this._contentRef.nativeElement, `overflow-${axis}`, 'hidden');
|
|
416
|
-
}
|
|
417
|
-
enableScroll(axis) {
|
|
418
|
-
this._renderer.setStyle(this._contentRef.nativeElement, `overflow-${axis}`, 'auto');
|
|
419
|
-
}
|
|
420
|
-
hideScrollbar() {
|
|
421
|
-
if (this._contentRef.nativeElement.style.display !== 'none' &&
|
|
422
|
-
!this.wrapper) {
|
|
423
|
-
this.parentNode = this._contentRef.nativeElement.parentNode;
|
|
424
|
-
// create container element
|
|
425
|
-
this.wrapper = this._renderer.createElement('div');
|
|
426
|
-
this._renderer.addClass(this.wrapper, 'carousel-wrapper');
|
|
427
|
-
// this._renderer.setAttribute(this.wrapper, 'class', 'carousel-wrapper');
|
|
428
|
-
// this._renderer.addClass(this.wrapper, 'carousel-container');
|
|
429
|
-
this.refreshWrapperDimensions();
|
|
430
|
-
this._renderer.setStyle(this.wrapper, 'overflow', 'hidden');
|
|
431
|
-
this._renderer.setStyle(this._contentRef.nativeElement, 'width', `calc(100% + ${this.scrollbarWidth})`);
|
|
432
|
-
this._renderer.setStyle(this._contentRef.nativeElement, 'height', `calc(100% + ${this.scrollbarWidth})`);
|
|
433
|
-
// Append container element to component element.
|
|
434
|
-
this._renderer.appendChild(this._elementRef.nativeElement, this.wrapper);
|
|
435
|
-
// Append content element to container element.
|
|
436
|
-
this._renderer.appendChild(this.wrapper, this._contentRef.nativeElement);
|
|
437
|
-
this.adjustMarginToLastChild();
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
showScrollbar() {
|
|
441
|
-
if (this.wrapper) {
|
|
442
|
-
this._renderer.setStyle(this._contentRef.nativeElement, 'width', '100%');
|
|
443
|
-
this._renderer.setStyle(this._contentRef.nativeElement, 'height', this.wrapper.style.height);
|
|
444
|
-
if (this.parentNode !== null) {
|
|
445
|
-
this.parentNode.removeChild(this.wrapper);
|
|
446
|
-
this.parentNode.appendChild(this._contentRef.nativeElement);
|
|
447
|
-
}
|
|
448
|
-
this.wrapper = null;
|
|
449
|
-
this.adjustMarginToLastChild();
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
checkScrollbar() {
|
|
453
|
-
if (this._contentRef.nativeElement.scrollWidth <=
|
|
454
|
-
this._contentRef.nativeElement.clientWidth) {
|
|
455
|
-
this._renderer.setStyle(this._contentRef.nativeElement, 'height', '100%');
|
|
456
|
-
}
|
|
457
|
-
else {
|
|
458
|
-
this._renderer.setStyle(this._contentRef.nativeElement, 'height', `calc(100% + ${this.scrollbarWidth})`);
|
|
459
|
-
}
|
|
460
|
-
if (this._contentRef.nativeElement.scrollHeight <=
|
|
461
|
-
this._contentRef.nativeElement.clientHeight) {
|
|
462
|
-
this._renderer.setStyle(this._contentRef.nativeElement, 'width', '100%');
|
|
463
|
-
}
|
|
464
|
-
else {
|
|
465
|
-
this._renderer.setStyle(this._contentRef.nativeElement, 'width', `calc(100% + ${this.scrollbarWidth})`);
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
setScrollBar() {
|
|
469
|
-
if (this.scrollbarHidden) {
|
|
470
|
-
this.hideScrollbar();
|
|
471
|
-
}
|
|
472
|
-
else {
|
|
473
|
-
this.showScrollbar();
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
getScrollbarWidth() {
|
|
477
|
-
/**
|
|
478
|
-
* Browser Scrollbar Widths (2016)
|
|
479
|
-
* OSX (Chrome, Safari, Firefox) - 15px
|
|
480
|
-
* Windows XP (IE7, Chrome, Firefox) - 17px
|
|
481
|
-
* Windows 7 (IE10, IE11, Chrome, Firefox) - 17px
|
|
482
|
-
* Windows 8.1 (IE11, Chrome, Firefox) - 17px
|
|
483
|
-
* Windows 10 (IE11, Chrome, Firefox) - 17px
|
|
484
|
-
* Windows 10 (Edge 12/13) - 12px
|
|
485
|
-
*/
|
|
486
|
-
const outer = this._renderer.createElement('div');
|
|
487
|
-
this._renderer.setStyle(outer, 'visibility', 'hidden');
|
|
488
|
-
this._renderer.setStyle(outer, 'width', '100px');
|
|
489
|
-
this._renderer.setStyle(outer, 'msOverflowStyle', 'scrollbar'); // needed for WinJS apps
|
|
490
|
-
// document.body.appendChild(outer);
|
|
491
|
-
this._renderer.appendChild(this._document.body, outer);
|
|
492
|
-
// this._renderer.appendChild(this._renderer.selectRootElement('body'), outer);
|
|
493
|
-
const widthNoScroll = outer.offsetWidth;
|
|
494
|
-
// force scrollbars
|
|
495
|
-
this._renderer.setStyle(outer, 'overflow', 'scroll');
|
|
496
|
-
// add innerdiv
|
|
497
|
-
const inner = this._renderer.createElement('div');
|
|
498
|
-
this._renderer.setStyle(inner, 'width', '100%');
|
|
499
|
-
this._renderer.appendChild(outer, inner);
|
|
500
|
-
const widthWithScroll = inner.offsetWidth;
|
|
501
|
-
// remove divs
|
|
502
|
-
this._renderer.removeChild(this._document.body, outer);
|
|
503
|
-
/**
|
|
504
|
-
* Scrollbar width will be 0 on Mac OS with the
|
|
505
|
-
* default "Only show scrollbars when scrolling" setting (Yosemite and up).
|
|
506
|
-
* setting default width to 20;
|
|
507
|
-
*/
|
|
508
|
-
return widthNoScroll - widthWithScroll || 20;
|
|
509
|
-
}
|
|
510
|
-
refreshWrapperDimensions() {
|
|
511
|
-
if (this.wrapper) {
|
|
512
|
-
const height = this._elementRef.nativeElement.style.height ||
|
|
513
|
-
this._elementRef.nativeElement.offsetHeight;
|
|
514
|
-
this._renderer.setStyle(this.wrapper, 'width', '100%');
|
|
515
|
-
this._renderer.setStyle(this.wrapper, 'height', height === 0 ? 'auto' : height + 'px');
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
/*
|
|
519
|
-
* The below solution is heavily inspired from
|
|
520
|
-
* https://gist.github.com/andjosh/6764939
|
|
521
|
-
*/
|
|
522
|
-
scrollTo(element, to, duration) {
|
|
523
|
-
this.isAnimating = true;
|
|
524
|
-
const start = element.scrollLeft, change = to - start - this.snapOffset, increment = 20;
|
|
525
|
-
let currentTime = 0;
|
|
526
|
-
// t = current time
|
|
527
|
-
// b = start value
|
|
528
|
-
// c = change in value
|
|
529
|
-
// d = duration
|
|
530
|
-
const easeInOutQuad = (t, b, c, d) => {
|
|
531
|
-
t /= d / 2;
|
|
532
|
-
if (t < 1) {
|
|
533
|
-
return (c / 2) * t * t + b;
|
|
534
|
-
}
|
|
535
|
-
t--;
|
|
536
|
-
return (-c / 2) * (t * (t - 2) - 1) + b;
|
|
537
|
-
};
|
|
538
|
-
const animateScroll = () => {
|
|
539
|
-
currentTime += increment;
|
|
540
|
-
element.scrollLeft = easeInOutQuad(currentTime, start, change, duration);
|
|
541
|
-
if (currentTime < duration) {
|
|
542
|
-
this.scrollToTimer = setTimeout(animateScroll, increment);
|
|
543
|
-
}
|
|
544
|
-
else {
|
|
545
|
-
// run one more frame to make sure the animation is fully finished
|
|
546
|
-
setTimeout(() => {
|
|
547
|
-
this.isAnimating = false;
|
|
548
|
-
this.snapAnimationFinished.emit(this.currIndex);
|
|
549
|
-
}, increment);
|
|
550
|
-
}
|
|
551
|
-
};
|
|
552
|
-
animateScroll();
|
|
553
|
-
}
|
|
554
|
-
locateCurrentIndex(snap) {
|
|
555
|
-
this.currentChildWidth((currentChildWidth, nextChildrenWidth, childrenWidth, idx, stop) => {
|
|
556
|
-
if (this._contentRef.nativeElement.scrollLeft >=
|
|
557
|
-
childrenWidth &&
|
|
558
|
-
this._contentRef.nativeElement.scrollLeft <=
|
|
559
|
-
nextChildrenWidth) {
|
|
560
|
-
if (nextChildrenWidth -
|
|
561
|
-
this._contentRef.nativeElement.scrollLeft >
|
|
562
|
-
currentChildWidth / 2 &&
|
|
563
|
-
!this.isScrollReachesRightEnd()) {
|
|
564
|
-
// roll back scrolling
|
|
565
|
-
if (!this.isAnimating) {
|
|
566
|
-
this.currIndex = idx;
|
|
567
|
-
}
|
|
568
|
-
if (snap) {
|
|
569
|
-
this.scrollTo(this._contentRef.nativeElement, childrenWidth, this.snapDuration);
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
else if (this._contentRef.nativeElement.scrollLeft !== 0) {
|
|
573
|
-
// forward scrolling
|
|
574
|
-
if (!this.isAnimating) {
|
|
575
|
-
this.currIndex = idx + 1;
|
|
576
|
-
}
|
|
577
|
-
if (snap) {
|
|
578
|
-
this.scrollTo(this._contentRef.nativeElement, childrenWidth + currentChildWidth, this.snapDuration);
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
stop();
|
|
582
|
-
}
|
|
583
|
-
else if (idx + 1 === this._children.length - 1) {
|
|
584
|
-
// reaches last index
|
|
585
|
-
if (!this.isAnimating) {
|
|
586
|
-
this.currIndex = idx + 1;
|
|
587
|
-
}
|
|
588
|
-
stop();
|
|
589
|
-
}
|
|
590
|
-
});
|
|
591
|
-
}
|
|
592
|
-
currentChildWidth(cb) {
|
|
593
|
-
let childrenWidth = 0;
|
|
594
|
-
let shouldBreak = false;
|
|
595
|
-
const breakFunc = function () {
|
|
596
|
-
shouldBreak = true;
|
|
597
|
-
};
|
|
598
|
-
const childrenArr = this._children.toArray();
|
|
599
|
-
for (let i = 0; i < childrenArr.length; i++) {
|
|
600
|
-
if (i === childrenArr.length - 1) {
|
|
601
|
-
break;
|
|
602
|
-
}
|
|
603
|
-
if (shouldBreak) {
|
|
604
|
-
break;
|
|
605
|
-
}
|
|
606
|
-
const nextChildrenWidth = childrenWidth +
|
|
607
|
-
childrenArr[i + 1]._elementRef.nativeElement.clientWidth;
|
|
608
|
-
const currentClildWidth = childrenArr[i]._elementRef.nativeElement.clientWidth;
|
|
609
|
-
cb(currentClildWidth, nextChildrenWidth, childrenWidth, i, breakFunc);
|
|
610
|
-
childrenWidth += currentClildWidth;
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
toChildrenLocation() {
|
|
614
|
-
let to = 0;
|
|
615
|
-
const childrenArr = this._children.toArray();
|
|
616
|
-
for (let i = 0; i < this.currIndex; i++) {
|
|
617
|
-
to += childrenArr[i]._elementRef.nativeElement.clientWidth;
|
|
618
|
-
}
|
|
619
|
-
return to;
|
|
620
|
-
}
|
|
621
|
-
locateCarouselItem(element) {
|
|
622
|
-
let item = null;
|
|
623
|
-
const childrenArr = this._children.toArray();
|
|
624
|
-
for (let i = 0; i < childrenArr.length; i++) {
|
|
625
|
-
if (element === childrenArr[i]._elementRef.nativeElement) {
|
|
626
|
-
item = childrenArr[i];
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
return item;
|
|
630
|
-
}
|
|
631
|
-
markElDimension() {
|
|
632
|
-
if (this.wrapper) {
|
|
633
|
-
this.elWidth = this.wrapper.style.width;
|
|
634
|
-
this.elHeight = this.wrapper.style.height;
|
|
635
|
-
}
|
|
636
|
-
else {
|
|
637
|
-
this.elWidth =
|
|
638
|
-
this._elementRef.nativeElement.style.width ||
|
|
639
|
-
this._elementRef.nativeElement.offsetWidth + 'px';
|
|
640
|
-
this.elHeight =
|
|
641
|
-
this._elementRef.nativeElement.style.height ||
|
|
642
|
-
this._elementRef.nativeElement.offsetHeight + 'px';
|
|
643
|
-
}
|
|
644
|
-
const container = this.wrapper || this.parentNode;
|
|
645
|
-
const containerWidth = container ? container.clientWidth : 0;
|
|
646
|
-
if (this._children.length > 1) {
|
|
647
|
-
this.indexBound = this.maximumIndex(containerWidth, this._children.toArray());
|
|
648
|
-
}
|
|
649
|
-
}
|
|
650
|
-
maximumIndex(containerWidth, childrenElements) {
|
|
651
|
-
let count = 0;
|
|
652
|
-
let childrenWidth = 0;
|
|
653
|
-
for (let i = 0; i <= childrenElements.length; i++) {
|
|
654
|
-
// last N element
|
|
655
|
-
const carouselItemDirective = childrenElements[childrenElements.length - 1 - i];
|
|
656
|
-
if (!carouselItemDirective) {
|
|
657
|
-
break;
|
|
658
|
-
}
|
|
659
|
-
else {
|
|
660
|
-
const nativeElement = carouselItemDirective._elementRef.nativeElement;
|
|
661
|
-
let itemWidth = nativeElement.clientWidth;
|
|
662
|
-
if (itemWidth === 0 && nativeElement.firstElementChild) {
|
|
663
|
-
itemWidth =
|
|
664
|
-
carouselItemDirective._elementRef.nativeElement
|
|
665
|
-
.firstElementChild.clientWidth;
|
|
666
|
-
}
|
|
667
|
-
childrenWidth += itemWidth;
|
|
668
|
-
if (childrenWidth < containerWidth) {
|
|
669
|
-
count++;
|
|
670
|
-
}
|
|
671
|
-
else {
|
|
672
|
-
break;
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
return childrenElements.length - count;
|
|
677
|
-
}
|
|
678
|
-
isScrollReachesRightEnd() {
|
|
679
|
-
const scrollLeftPos = this._contentRef.nativeElement.scrollLeft +
|
|
680
|
-
this._contentRef.nativeElement.offsetWidth;
|
|
681
|
-
return scrollLeftPos >= this._contentRef.nativeElement.scrollWidth;
|
|
682
|
-
}
|
|
683
|
-
/**
|
|
684
|
-
* adds a margin right style to the last child element which will resolve the issue
|
|
685
|
-
* of last item gets cutoff.
|
|
686
|
-
*/
|
|
687
|
-
adjustMarginToLastChild() {
|
|
688
|
-
// if (this._children && this._children.length > 0 && this.hideScrollbar) {
|
|
689
|
-
// const childrenArr = this._children.toArray();
|
|
690
|
-
// const lastItem = childrenArr[childrenArr.length - 1]._elementRef.nativeElement;
|
|
691
|
-
// if (this.wrapper && childrenArr.length > 1) {
|
|
692
|
-
// this._renderer.setStyle(lastItem, 'margin-right', this.scrollbarWidth);
|
|
693
|
-
// } else {
|
|
694
|
-
// this._renderer.setStyle(lastItem, 'margin-right', 0);
|
|
695
|
-
// }
|
|
696
|
-
// }
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
PepCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PepCarouselComponent, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
700
|
-
PepCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PepCarouselComponent, selector: "pep-carousel", inputs: { scrollbarHidden: "scrollbarHidden", disabled: "disabled", xDisabled: "xDisabled", yDisabled: "yDisabled", xWheelEnabled: "xWheelEnabled", dragDisabled: "dragDisabled", snapDisabled: "snapDisabled", snapOffset: "snapOffset", snapDuration: "snapDuration" }, outputs: { dsInitialized: "dsInitialized", indexChanged: "indexChanged", reachesLeftBound: "reachesLeftBound", reachesRightBound: "reachesRightBound", snapAnimationFinished: "snapAnimationFinished", dragStart: "dragStart", dragEnd: "dragEnd" }, host: { listeners: { "wheel": "onWheel($event)", "window:resize": "onWindowResize()" }, properties: { "style.pointer-events": "this._pointerEvents" } }, queries: [{ propertyName: "_children", predicate: PepCarouselItemDirective, descendants: true }], viewQueries: [{ propertyName: "_contentRef", first: true, predicate: ["contentRef"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
701
|
-
<div class="carousel-content" #contentRef>
|
|
702
|
-
<ng-content></ng-content>
|
|
703
|
-
</div>
|
|
704
|
-
`, isInline: true, styles: [":host{overflow:hidden;display:block}.carousel-content{height:100%;overflow:auto;white-space:nowrap}\n"] });
|
|
705
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PepCarouselComponent, decorators: [{
|
|
706
|
-
type: Component,
|
|
707
|
-
args: [{ selector: 'pep-carousel', template: `
|
|
708
|
-
<div class="carousel-content" #contentRef>
|
|
709
|
-
<ng-content></ng-content>
|
|
710
|
-
</div>
|
|
711
|
-
`, styles: [":host{overflow:hidden;display:block}.carousel-content{height:100%;overflow:auto;white-space:nowrap}\n"] }]
|
|
712
|
-
}], ctorParameters: function () {
|
|
713
|
-
return [{ type: i0.ElementRef, decorators: [{
|
|
714
|
-
type: Inject,
|
|
715
|
-
args: [ElementRef]
|
|
716
|
-
}] }, { type: i0.Renderer2, decorators: [{
|
|
717
|
-
type: Inject,
|
|
718
|
-
args: [Renderer2]
|
|
719
|
-
}] }, { type: undefined, decorators: [{
|
|
720
|
-
type: Inject,
|
|
721
|
-
args: [DOCUMENT]
|
|
722
|
-
}] }];
|
|
723
|
-
}, propDecorators: { _contentRef: [{
|
|
724
|
-
type: ViewChild,
|
|
725
|
-
args: ['contentRef', { static: true }]
|
|
726
|
-
}], _children: [{
|
|
727
|
-
type: ContentChildren,
|
|
728
|
-
args: [PepCarouselItemDirective, { descendants: true }]
|
|
729
|
-
}], _pointerEvents: [{
|
|
730
|
-
type: HostBinding,
|
|
731
|
-
args: ['style.pointer-events']
|
|
732
|
-
}], dsInitialized: [{
|
|
733
|
-
type: Output
|
|
734
|
-
}], indexChanged: [{
|
|
735
|
-
type: Output
|
|
736
|
-
}], reachesLeftBound: [{
|
|
737
|
-
type: Output
|
|
738
|
-
}], reachesRightBound: [{
|
|
739
|
-
type: Output
|
|
740
|
-
}], snapAnimationFinished: [{
|
|
741
|
-
type: Output
|
|
742
|
-
}], dragStart: [{
|
|
743
|
-
type: Output
|
|
744
|
-
}], dragEnd: [{
|
|
745
|
-
type: Output
|
|
746
|
-
}], scrollbarHidden: [{
|
|
747
|
-
type: Input,
|
|
748
|
-
args: ['scrollbarHidden']
|
|
749
|
-
}], disabled: [{
|
|
750
|
-
type: Input,
|
|
751
|
-
args: ['disabled']
|
|
752
|
-
}], xDisabled: [{
|
|
753
|
-
type: Input,
|
|
754
|
-
args: ['xDisabled']
|
|
755
|
-
}], yDisabled: [{
|
|
756
|
-
type: Input,
|
|
757
|
-
args: ['yDisabled']
|
|
758
|
-
}], xWheelEnabled: [{
|
|
759
|
-
type: Input,
|
|
760
|
-
args: ['xWheelEnabled']
|
|
761
|
-
}], dragDisabled: [{
|
|
762
|
-
type: Input,
|
|
763
|
-
args: ['dragDisabled']
|
|
764
|
-
}], snapDisabled: [{
|
|
765
|
-
type: Input,
|
|
766
|
-
args: ['snapDisabled']
|
|
767
|
-
}], snapOffset: [{
|
|
768
|
-
type: Input,
|
|
769
|
-
args: ['snapOffset']
|
|
770
|
-
}], snapDuration: [{
|
|
771
|
-
type: Input,
|
|
772
|
-
args: ['snapDuration']
|
|
773
|
-
}], onWheel: [{
|
|
774
|
-
type: HostListener,
|
|
775
|
-
args: ['wheel', ['$event']]
|
|
776
|
-
}], onWindowResize: [{
|
|
777
|
-
type: HostListener,
|
|
778
|
-
args: ['window:resize']
|
|
779
|
-
}] } });
|
|
780
|
-
|
|
781
|
-
class PepCarouselModule {
|
|
782
|
-
}
|
|
783
|
-
PepCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PepCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
784
|
-
PepCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PepCarouselModule, declarations: [PepCarouselComponent, PepCarouselItemDirective], exports: [PepCarouselComponent, PepCarouselItemDirective] });
|
|
785
|
-
PepCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PepCarouselModule });
|
|
786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PepCarouselModule, decorators: [{
|
|
787
|
-
type: NgModule,
|
|
788
|
-
args: [{
|
|
789
|
-
exports: [PepCarouselComponent, PepCarouselItemDirective],
|
|
790
|
-
declarations: [PepCarouselComponent, PepCarouselItemDirective],
|
|
791
|
-
}]
|
|
792
|
-
}] });
|
|
793
|
-
|
|
794
|
-
/*
|
|
795
|
-
* Public API Surface of carousel
|
|
796
|
-
*/
|
|
797
|
-
// export * from './carousel.model';
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
* Generated bundle index. Do not edit.
|
|
801
|
-
*/
|
|
802
|
-
|
|
803
|
-
export { PepCarouselComponent, PepCarouselItemDirective, PepCarouselModule };
|
|
804
|
-
//# sourceMappingURL=pepperi-addons-ngx-lib-carousel.mjs.map
|