@pepperi-addons/ngx-lib 0.4.2-beta.137 → 0.4.2-beta.139
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 +30 -0
- package/address/address.module.d.ts +15 -0
- package/address/index.d.ts +5 -0
- package/address/public-api.d.ts +2 -0
- package/attachment/attachment.component.d.ts +94 -0
- package/attachment/attachment.module.d.ts +14 -0
- package/attachment/index.d.ts +5 -0
- package/attachment/public-api.d.ts +2 -0
- package/bread-crumbs/bread-crumbs.component.d.ts +27 -0
- package/bread-crumbs/bread-crumbs.model.d.ts +11 -0
- package/bread-crumbs/bread-crumbs.module.d.ts +15 -0
- package/bread-crumbs/index.d.ts +5 -0
- package/bread-crumbs/public-api.d.ts +3 -0
- package/carousel/carousel-item.directive.d.ts +12 -0
- package/carousel/carousel.component.d.ts +148 -0
- package/carousel/carousel.module.d.ts +8 -0
- package/carousel/index.d.ts +5 -0
- package/carousel/public-api.d.ts +3 -0
- package/checkbox/checkbox.component.d.ts +50 -0
- package/checkbox/checkbox.module.d.ts +19 -0
- package/checkbox/index.d.ts +5 -0
- package/checkbox/public-api.d.ts +2 -0
- package/color/color-picker.component.d.ts +57 -0
- package/color/color.component.d.ts +30 -0
- package/color/color.model.d.ts +1 -0
- package/color/color.module.d.ts +26 -0
- package/color/index.d.ts +5 -0
- package/color/public-api.d.ts +3 -0
- package/date/date.component.d.ts +70 -0
- package/date/date.model.d.ts +31 -0
- package/date/date.module.d.ts +23 -0
- package/date/index.d.ts +5 -0
- package/date/public-api.d.ts +2 -0
- package/draggable-items/draggable-item/draggable-item.component.d.ts +11 -0
- package/draggable-items/draggable-items.component.d.ts +36 -0
- package/draggable-items/draggable-items.model.d.ts +11 -0
- package/draggable-items/draggable-items.module.d.ts +18 -0
- package/draggable-items/index.d.ts +5 -0
- package/draggable-items/public-api.d.ts +4 -0
- package/esm2020/address/address.component.mjs +109 -0
- package/esm2020/address/address.module.mjs +54 -0
- package/esm2020/address/pepperi-addons-ngx-lib-address.mjs +5 -0
- package/esm2020/address/public-api.mjs +6 -0
- package/esm2020/attachment/attachment.component.mjs +240 -0
- package/esm2020/attachment/attachment.module.mjs +50 -0
- package/esm2020/attachment/pepperi-addons-ngx-lib-attachment.mjs +5 -0
- package/esm2020/attachment/public-api.mjs +6 -0
- package/esm2020/bread-crumbs/bread-crumbs.component.mjs +85 -0
- package/esm2020/bread-crumbs/bread-crumbs.model.mjs +7 -0
- package/esm2020/bread-crumbs/bread-crumbs.module.mjs +50 -0
- package/esm2020/bread-crumbs/pepperi-addons-ngx-lib-bread-crumbs.mjs +5 -0
- package/esm2020/bread-crumbs/public-api.mjs +7 -0
- package/esm2020/carousel/carousel-item.directive.mjs +33 -0
- package/esm2020/carousel/carousel.component.mjs +745 -0
- package/esm2020/carousel/carousel.module.mjs +17 -0
- package/esm2020/carousel/pepperi-addons-ngx-lib-carousel.mjs +5 -0
- package/esm2020/carousel/public-api.mjs +8 -0
- package/esm2020/checkbox/checkbox.component.mjs +168 -0
- package/esm2020/checkbox/checkbox.module.mjs +63 -0
- package/esm2020/checkbox/pepperi-addons-ngx-lib-checkbox.mjs +5 -0
- package/esm2020/checkbox/public-api.mjs +6 -0
- package/esm2020/color/color-picker.component.mjs +224 -0
- package/esm2020/color/color.component.mjs +90 -0
- package/esm2020/color/color.model.mjs +2 -0
- package/esm2020/color/color.module.mjs +93 -0
- package/esm2020/color/pepperi-addons-ngx-lib-color.mjs +5 -0
- package/esm2020/color/public-api.mjs +7 -0
- package/esm2020/date/date.component.mjs +312 -0
- package/esm2020/date/date.model.mjs +54 -0
- package/esm2020/date/date.module.mjs +88 -0
- package/esm2020/date/pepperi-addons-ngx-lib-date.mjs +5 -0
- package/esm2020/date/public-api.mjs +6 -0
- package/esm2020/draggable-items/draggable-item/draggable-item.component.mjs +27 -0
- package/esm2020/draggable-items/draggable-items.component.mjs +102 -0
- package/esm2020/draggable-items/draggable-items.model.mjs +2 -0
- package/esm2020/draggable-items/draggable-items.module.mjs +60 -0
- package/esm2020/draggable-items/pepperi-addons-ngx-lib-draggable-items.mjs +5 -0
- package/esm2020/draggable-items/public-api.mjs +8 -0
- package/esm2020/files-uploader/files-uploader.component.mjs +246 -0
- package/esm2020/files-uploader/files-uploader.module.mjs +79 -0
- package/esm2020/files-uploader/pepperi-addons-ngx-lib-files-uploader.mjs +5 -0
- package/esm2020/files-uploader/public-api.mjs +6 -0
- package/esm2020/form/field-generator.component.mjs +152 -0
- package/esm2020/form/form.component.mjs +1238 -0
- package/esm2020/form/form.model.mjs +2 -0
- package/esm2020/form/form.module.mjs +179 -0
- package/esm2020/form/indicators.component.mjs +23 -0
- package/esm2020/form/internal-button.component.mjs +184 -0
- package/esm2020/form/internal-carusel.component.mjs +117 -0
- package/esm2020/form/internal-carusel.service.mjs +32 -0
- package/esm2020/form/internal-field-generator.component.mjs +146 -0
- package/esm2020/form/internal-form.component.mjs +1216 -0
- package/esm2020/form/internal-list.component.mjs +513 -0
- package/esm2020/form/internal-menu.component.mjs +66 -0
- package/esm2020/form/internal-page.component.mjs +361 -0
- package/esm2020/form/internal-page.service.mjs +120 -0
- package/esm2020/form/pepperi-addons-ngx-lib-form.mjs +5 -0
- package/esm2020/form/public-api.mjs +7 -0
- package/esm2020/group-buttons/group-buttons.component.mjs +71 -0
- package/esm2020/group-buttons/group-buttons.module.mjs +59 -0
- package/esm2020/group-buttons/pepperi-addons-ngx-lib-group-buttons.mjs +5 -0
- package/esm2020/group-buttons/public-api.mjs +6 -0
- package/esm2020/image/image.component.mjs +263 -0
- package/esm2020/image/image.module.mjs +74 -0
- package/esm2020/image/image.service.mjs +50 -0
- package/esm2020/image/pepperi-addons-ngx-lib-image.mjs +5 -0
- package/esm2020/image/public-api.mjs +7 -0
- package/esm2020/images-filmstrip/images-filmstrip.component.mjs +337 -0
- package/esm2020/images-filmstrip/images-filmstrip.module.mjs +83 -0
- package/esm2020/images-filmstrip/pepperi-addons-ngx-lib-images-filmstrip.mjs +5 -0
- package/esm2020/images-filmstrip/public-api.mjs +6 -0
- package/esm2020/link/link.component.mjs +300 -0
- package/esm2020/link/link.module.mjs +80 -0
- package/esm2020/link/link.pipes.mjs +18 -0
- package/esm2020/link/pepperi-addons-ngx-lib-link.mjs +5 -0
- package/esm2020/link/public-api.mjs +7 -0
- package/esm2020/list/list-actions.component.mjs +44 -0
- package/esm2020/list/list-carousel.component.mjs +107 -0
- package/esm2020/list/list-chooser.component.mjs +64 -0
- package/esm2020/list/list-pager.component.mjs +120 -0
- package/esm2020/list/list-sorting.component.mjs +61 -0
- package/esm2020/list/list-total.component.mjs +30 -0
- package/esm2020/list/list-views.component.mjs +85 -0
- package/esm2020/list/list.component.mjs +1303 -0
- package/esm2020/list/list.model.mjs +4 -0
- package/esm2020/list/list.module.mjs +144 -0
- package/esm2020/list/list.pipes.mjs +47 -0
- package/esm2020/list/pepperi-addons-ngx-lib-list.mjs +5 -0
- package/esm2020/list/public-api.mjs +15 -0
- package/esm2020/list/virtual-scroller.mjs +1080 -0
- package/esm2020/menu/menu-item.component.mjs +115 -0
- package/esm2020/menu/menu.component.mjs +213 -0
- package/esm2020/menu/menu.model.mjs +19 -0
- package/esm2020/menu/menu.module.mjs +59 -0
- package/esm2020/menu/pepperi-addons-ngx-lib-menu.mjs +5 -0
- package/esm2020/menu/public-api.mjs +7 -0
- package/esm2020/page-layout/page-layout.component.mjs +35 -0
- package/esm2020/page-layout/page-layout.module.mjs +34 -0
- package/esm2020/page-layout/pepperi-addons-ngx-lib-page-layout.mjs +5 -0
- package/esm2020/page-layout/public-api.mjs +6 -0
- package/esm2020/profile-data-views-list/pepperi-addons-ngx-lib-profile-data-views-list.mjs +5 -0
- package/esm2020/profile-data-views-list/profile-data-view/profile-data-view.component.mjs +45 -0
- package/esm2020/profile-data-views-list/profile-data-views-card/profile-data-views-card.component.mjs +81 -0
- package/esm2020/profile-data-views-list/profile-data-views-list.component.mjs +127 -0
- package/esm2020/profile-data-views-list/profile-data-views-list.model.mjs +2 -0
- package/esm2020/profile-data-views-list/profile-data-views-list.module.mjs +88 -0
- package/esm2020/profile-data-views-list/public-api.mjs +9 -0
- package/esm2020/quantity-selector/pepperi-addons-ngx-lib-quantity-selector.mjs +5 -0
- package/esm2020/quantity-selector/public-api.mjs +6 -0
- package/esm2020/quantity-selector/quantity-selector-validation.directive.mjs +49 -0
- package/esm2020/quantity-selector/quantity-selector.component.mjs +574 -0
- package/esm2020/quantity-selector/quantity-selector.module.mjs +82 -0
- package/esm2020/quantity-selector/quantity-selector.pipes.mjs +23 -0
- package/esm2020/query-builder/common/model/field.mjs +2 -0
- package/esm2020/query-builder/common/model/filter.mjs +2 -0
- package/esm2020/query-builder/common/model/legacy.mjs +2 -0
- package/esm2020/query-builder/common/model/operator-unit.mjs +42 -0
- package/esm2020/query-builder/common/model/operator.mjs +276 -0
- package/esm2020/query-builder/common/model/structure.mjs +2 -0
- package/esm2020/query-builder/common/model/type-map.mjs +27 -0
- package/esm2020/query-builder/common/model/type.mjs +6 -0
- package/esm2020/query-builder/common/services/output-query.service.mjs +116 -0
- package/esm2020/query-builder/common/services/query-structure.service.mjs +249 -0
- package/esm2020/query-builder/common/services/type-convertor.service.mjs +42 -0
- package/esm2020/query-builder/pepperi-addons-ngx-lib-query-builder.mjs +5 -0
- package/esm2020/query-builder/public-api.mjs +9 -0
- package/esm2020/query-builder/query-builder-item/query-builder-item.component.mjs +125 -0
- package/esm2020/query-builder/query-builder-section/query-builder-section.component.mjs +71 -0
- package/esm2020/query-builder/query-builder.component.mjs +110 -0
- package/esm2020/query-builder/query-builder.module.mjs +70 -0
- package/esm2020/query-builder/query-builder.service.mjs +102 -0
- package/esm2020/remote-loader/addon-block-loader.component.mjs +102 -0
- package/esm2020/remote-loader/addon-block-loader.service.mjs +62 -0
- package/esm2020/remote-loader/pepperi-addons-ngx-lib-remote-loader.mjs +5 -0
- package/esm2020/remote-loader/public-api.mjs +11 -0
- package/esm2020/remote-loader/remote-loader-element.component.mjs +116 -0
- package/esm2020/remote-loader/remote-loader.component.mjs +115 -0
- package/esm2020/remote-loader/remote-loader.model.mjs +2 -0
- package/esm2020/remote-loader/remote-loader.module.mjs +69 -0
- package/esm2020/remote-loader/remote-loader.service.mjs +81 -0
- package/esm2020/rich-html-textarea/pepperi-addons-ngx-lib-rich-html-textarea.mjs +5 -0
- package/esm2020/rich-html-textarea/public-api.mjs +6 -0
- package/esm2020/rich-html-textarea/rich-html-textarea.component.mjs +250 -0
- package/esm2020/rich-html-textarea/rich-html-textarea.module.mjs +95 -0
- package/esm2020/search/pepperi-addons-ngx-lib-search.mjs +5 -0
- package/esm2020/search/public-api.mjs +7 -0
- package/esm2020/search/search.component.mjs +317 -0
- package/esm2020/search/search.model.mjs +2 -0
- package/esm2020/search/search.module.mjs +70 -0
- package/esm2020/select/pepperi-addons-ngx-lib-select.mjs +5 -0
- package/esm2020/select/public-api.mjs +6 -0
- package/esm2020/select/select.component.mjs +290 -0
- package/esm2020/select/select.module.mjs +70 -0
- package/esm2020/select-panel/pepperi-addons-ngx-lib-select-panel.mjs +5 -0
- package/esm2020/select-panel/public-api.mjs +7 -0
- package/esm2020/select-panel/select-panel.component.mjs +159 -0
- package/esm2020/select-panel/select-panel.model.mjs +2 -0
- package/esm2020/select-panel/select-panel.module.mjs +70 -0
- package/esm2020/separator/pepperi-addons-ngx-lib-separator.mjs +5 -0
- package/esm2020/separator/public-api.mjs +6 -0
- package/esm2020/separator/separator.component.mjs +63 -0
- package/esm2020/separator/separator.module.mjs +18 -0
- package/esm2020/side-bar/pepperi-addons-ngx-lib-side-bar.mjs +5 -0
- package/esm2020/side-bar/public-api.mjs +7 -0
- package/esm2020/side-bar/side-bar.component.mjs +122 -0
- package/esm2020/side-bar/side-bar.model.mjs +2 -0
- package/esm2020/side-bar/side-bar.module.mjs +55 -0
- package/esm2020/signature/pepperi-addons-ngx-lib-signature.mjs +5 -0
- package/esm2020/signature/public-api.mjs +7 -0
- package/esm2020/signature/signature-dialog.component.mjs +79 -0
- package/esm2020/signature/signature.component.mjs +282 -0
- package/esm2020/signature/signature.module.mjs +91 -0
- package/esm2020/size-detector/pepperi-addons-ngx-lib-size-detector.mjs +5 -0
- package/esm2020/size-detector/public-api.mjs +6 -0
- package/esm2020/size-detector/size-detector.component.mjs +92 -0
- package/esm2020/size-detector/size-detector.module.mjs +35 -0
- package/esm2020/skeleton-loader/pepperi-addons-ngx-lib-skeleton-loader.mjs +5 -0
- package/esm2020/skeleton-loader/public-api.mjs +6 -0
- package/esm2020/skeleton-loader/skeleton-loader.component.mjs +44 -0
- package/esm2020/skeleton-loader/skeleton-loader.module.mjs +24 -0
- package/esm2020/smart-filters/boolean-filter/boolean-filter.component.mjs +75 -0
- package/esm2020/smart-filters/common/filter-actions.component.mjs +29 -0
- package/esm2020/smart-filters/common/model/base-filter-component.mjs +296 -0
- package/esm2020/smart-filters/common/model/creator.mjs +76 -0
- package/esm2020/smart-filters/common/model/field.mjs +117 -0
- package/esm2020/smart-filters/common/model/filter.mjs +2 -0
- package/esm2020/smart-filters/common/model/operator.mjs +278 -0
- package/esm2020/smart-filters/common/model/type.mjs +2 -0
- package/esm2020/smart-filters/date-filter/date-filter.component.mjs +182 -0
- package/esm2020/smart-filters/multi-select-filter/multi-select-filter.component.mjs +200 -0
- package/esm2020/smart-filters/number-filter/number-filter.component.mjs +136 -0
- package/esm2020/smart-filters/pepperi-addons-ngx-lib-smart-filters.mjs +5 -0
- package/esm2020/smart-filters/public-api.mjs +19 -0
- package/esm2020/smart-filters/smart-filters.component.mjs +141 -0
- package/esm2020/smart-filters/smart-filters.module.mjs +158 -0
- package/esm2020/smart-filters/text-filter/text-filter.component.mjs +93 -0
- package/esm2020/snack-bar/default-snack-bar.component.mjs +29 -0
- package/esm2020/snack-bar/pepperi-addons-ngx-lib-snack-bar.mjs +5 -0
- package/esm2020/snack-bar/public-api.mjs +8 -0
- package/esm2020/snack-bar/snack-bar.component.mjs +26 -0
- package/esm2020/snack-bar/snack-bar.model.mjs +7 -0
- package/esm2020/snack-bar/snack-bar.module.mjs +63 -0
- package/esm2020/snack-bar/snack-bar.service.mjs +60 -0
- package/esm2020/textarea/pepperi-addons-ngx-lib-textarea.mjs +5 -0
- package/esm2020/textarea/public-api.mjs +6 -0
- package/esm2020/textarea/textarea.component.mjs +188 -0
- package/esm2020/textarea/textarea.module.mjs +82 -0
- package/esm2020/textbox/pepperi-addons-ngx-lib-textbox.mjs +5 -0
- package/esm2020/textbox/public-api.mjs +6 -0
- package/esm2020/textbox/textbox-validation.directive.mjs +93 -0
- package/esm2020/textbox/textbox.component.mjs +582 -0
- package/esm2020/textbox/textbox.module.mjs +72 -0
- package/esm2020/top-bar/pepperi-addons-ngx-lib-top-bar.mjs +5 -0
- package/esm2020/top-bar/public-api.mjs +7 -0
- package/esm2020/top-bar/top-bar.component.mjs +112 -0
- package/esm2020/top-bar/top-bar.model.mjs +2 -0
- package/esm2020/top-bar/top-bar.module.mjs +62 -0
- package/fesm2015/pepperi-addons-ngx-lib-address.mjs +170 -0
- package/fesm2015/pepperi-addons-ngx-lib-address.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-attachment.mjs +297 -0
- package/fesm2015/pepperi-addons-ngx-lib-attachment.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-bread-crumbs.mjs +147 -0
- package/fesm2015/pepperi-addons-ngx-lib-bread-crumbs.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-carousel.mjs +804 -0
- package/fesm2015/pepperi-addons-ngx-lib-carousel.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-checkbox.mjs +237 -0
- package/fesm2015/pepperi-addons-ngx-lib-checkbox.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-color.mjs +404 -0
- package/fesm2015/pepperi-addons-ngx-lib-color.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-date.mjs +458 -0
- package/fesm2015/pepperi-addons-ngx-lib-date.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-draggable-items.mjs +192 -0
- package/fesm2015/pepperi-addons-ngx-lib-draggable-items.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-files-uploader.mjs +331 -0
- package/fesm2015/pepperi-addons-ngx-lib-files-uploader.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-form.mjs +4226 -0
- package/fesm2015/pepperi-addons-ngx-lib-form.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-group-buttons.mjs +136 -0
- package/fesm2015/pepperi-addons-ngx-lib-group-buttons.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-image.mjs +388 -0
- package/fesm2015/pepperi-addons-ngx-lib-image.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.mjs +425 -0
- package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-link.mjs +399 -0
- package/fesm2015/pepperi-addons-ngx-lib-link.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-list.mjs +3047 -0
- package/fesm2015/pepperi-addons-ngx-lib-list.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-menu.mjs +399 -0
- package/fesm2015/pepperi-addons-ngx-lib-menu.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-page-layout.mjs +77 -0
- package/fesm2015/pepperi-addons-ngx-lib-page-layout.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.mjs +337 -0
- package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.mjs +728 -0
- package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-query-builder.mjs +1216 -0
- package/fesm2015/pepperi-addons-ngx-lib-query-builder.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-remote-loader.mjs +555 -0
- package/fesm2015/pepperi-addons-ngx-lib-remote-loader.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-rich-html-textarea.mjs +349 -0
- package/fesm2015/pepperi-addons-ngx-lib-rich-html-textarea.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-search.mjs +393 -0
- package/fesm2015/pepperi-addons-ngx-lib-search.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-select-panel.mjs +237 -0
- package/fesm2015/pepperi-addons-ngx-lib-select-panel.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-select.mjs +366 -0
- package/fesm2015/pepperi-addons-ngx-lib-select.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-separator.mjs +89 -0
- package/fesm2015/pepperi-addons-ngx-lib-separator.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-side-bar.mjs +182 -0
- package/fesm2015/pepperi-addons-ngx-lib-side-bar.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-signature.mjs +455 -0
- package/fesm2015/pepperi-addons-ngx-lib-signature.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-size-detector.mjs +134 -0
- package/fesm2015/pepperi-addons-ngx-lib-size-detector.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-skeleton-loader.mjs +78 -0
- package/fesm2015/pepperi-addons-ngx-lib-skeleton-loader.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-smart-filters.mjs +1715 -0
- package/fesm2015/pepperi-addons-ngx-lib-smart-filters.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-snack-bar.mjs +183 -0
- package/fesm2015/pepperi-addons-ngx-lib-snack-bar.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-textarea.mjs +277 -0
- package/fesm2015/pepperi-addons-ngx-lib-textarea.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-textbox.mjs +748 -0
- package/fesm2015/pepperi-addons-ngx-lib-textbox.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-lib-top-bar.mjs +180 -0
- package/fesm2015/pepperi-addons-ngx-lib-top-bar.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-address.mjs +170 -0
- package/fesm2020/pepperi-addons-ngx-lib-address.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-attachment.mjs +297 -0
- package/fesm2020/pepperi-addons-ngx-lib-attachment.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-bread-crumbs.mjs +147 -0
- package/fesm2020/pepperi-addons-ngx-lib-bread-crumbs.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-carousel.mjs +800 -0
- package/fesm2020/pepperi-addons-ngx-lib-carousel.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-checkbox.mjs +237 -0
- package/fesm2020/pepperi-addons-ngx-lib-checkbox.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-color.mjs +401 -0
- package/fesm2020/pepperi-addons-ngx-lib-color.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-date.mjs +454 -0
- package/fesm2020/pepperi-addons-ngx-lib-date.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-draggable-items.mjs +191 -0
- package/fesm2020/pepperi-addons-ngx-lib-draggable-items.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-files-uploader.mjs +328 -0
- package/fesm2020/pepperi-addons-ngx-lib-files-uploader.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-form.mjs +4225 -0
- package/fesm2020/pepperi-addons-ngx-lib-form.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-group-buttons.mjs +136 -0
- package/fesm2020/pepperi-addons-ngx-lib-group-buttons.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-image.mjs +386 -0
- package/fesm2020/pepperi-addons-ngx-lib-image.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-images-filmstrip.mjs +422 -0
- package/fesm2020/pepperi-addons-ngx-lib-images-filmstrip.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-link.mjs +399 -0
- package/fesm2020/pepperi-addons-ngx-lib-link.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-list.mjs +3035 -0
- package/fesm2020/pepperi-addons-ngx-lib-list.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-menu.mjs +399 -0
- package/fesm2020/pepperi-addons-ngx-lib-menu.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-page-layout.mjs +77 -0
- package/fesm2020/pepperi-addons-ngx-lib-page-layout.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-profile-data-views-list.mjs +336 -0
- package/fesm2020/pepperi-addons-ngx-lib-profile-data-views-list.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-quantity-selector.mjs +726 -0
- package/fesm2020/pepperi-addons-ngx-lib-quantity-selector.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-query-builder.mjs +1202 -0
- package/fesm2020/pepperi-addons-ngx-lib-query-builder.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-remote-loader.mjs +532 -0
- package/fesm2020/pepperi-addons-ngx-lib-remote-loader.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-rich-html-textarea.mjs +349 -0
- package/fesm2020/pepperi-addons-ngx-lib-rich-html-textarea.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-search.mjs +392 -0
- package/fesm2020/pepperi-addons-ngx-lib-search.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-select-panel.mjs +236 -0
- package/fesm2020/pepperi-addons-ngx-lib-select-panel.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-select.mjs +366 -0
- package/fesm2020/pepperi-addons-ngx-lib-select.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-separator.mjs +89 -0
- package/fesm2020/pepperi-addons-ngx-lib-separator.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-side-bar.mjs +182 -0
- package/fesm2020/pepperi-addons-ngx-lib-side-bar.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-signature.mjs +450 -0
- package/fesm2020/pepperi-addons-ngx-lib-signature.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-size-detector.mjs +134 -0
- package/fesm2020/pepperi-addons-ngx-lib-size-detector.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-skeleton-loader.mjs +76 -0
- package/fesm2020/pepperi-addons-ngx-lib-skeleton-loader.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-smart-filters.mjs +1708 -0
- package/fesm2020/pepperi-addons-ngx-lib-smart-filters.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-snack-bar.mjs +180 -0
- package/fesm2020/pepperi-addons-ngx-lib-snack-bar.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-textarea.mjs +276 -0
- package/fesm2020/pepperi-addons-ngx-lib-textarea.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-textbox.mjs +748 -0
- package/fesm2020/pepperi-addons-ngx-lib-textbox.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-lib-top-bar.mjs +179 -0
- package/fesm2020/pepperi-addons-ngx-lib-top-bar.mjs.map +1 -0
- package/files-uploader/files-uploader.component.d.ts +60 -0
- package/files-uploader/files-uploader.module.d.ts +21 -0
- package/files-uploader/index.d.ts +5 -0
- package/files-uploader/public-api.d.ts +2 -0
- package/form/field-generator.component.d.ts +37 -0
- package/form/form.component.d.ts +93 -0
- package/form/form.model.d.ts +20 -0
- package/form/form.module.d.ts +50 -0
- package/form/index.d.ts +5 -0
- package/form/indicators.component.d.ts +10 -0
- package/form/internal-button.component.d.ts +42 -0
- package/form/internal-carusel.component.d.ts +39 -0
- package/form/internal-carusel.service.d.ts +10 -0
- package/form/internal-field-generator.component.d.ts +33 -0
- package/form/internal-form.component.d.ts +89 -0
- package/form/internal-list.component.d.ts +95 -0
- package/form/internal-menu.component.d.ts +19 -0
- package/form/internal-page.component.d.ts +73 -0
- package/form/internal-page.service.d.ts +22 -0
- package/form/public-api.d.ts +3 -0
- package/group-buttons/group-buttons.component.d.ts +24 -0
- package/group-buttons/group-buttons.module.d.ts +18 -0
- package/group-buttons/index.d.ts +5 -0
- package/group-buttons/public-api.d.ts +2 -0
- package/image/image.component.d.ts +74 -0
- package/image/image.module.d.ts +20 -0
- package/image/image.service.d.ts +14 -0
- package/image/index.d.ts +5 -0
- package/image/public-api.d.ts +3 -0
- package/images-filmstrip/images-filmstrip.component.d.ts +87 -0
- package/images-filmstrip/images-filmstrip.module.d.ts +22 -0
- package/images-filmstrip/index.d.ts +5 -0
- package/images-filmstrip/public-api.d.ts +2 -0
- package/link/index.d.ts +5 -0
- package/link/link.component.d.ts +121 -0
- package/link/link.module.d.ts +22 -0
- package/link/link.pipes.d.ts +7 -0
- package/link/public-api.d.ts +3 -0
- package/list/index.d.ts +5 -0
- package/list/list-actions.component.d.ts +18 -0
- package/list/list-carousel.component.d.ts +40 -0
- package/list/list-chooser.component.d.ts +29 -0
- package/list/list-pager.component.d.ts +39 -0
- package/list/list-sorting.component.d.ts +30 -0
- package/list/list-total.component.d.ts +11 -0
- package/list/list-views.component.d.ts +35 -0
- package/list/list.component.d.ts +177 -0
- package/list/list.model.d.ts +32 -0
- package/list/list.module.d.ts +34 -0
- package/list/list.pipes.d.ts +16 -0
- package/list/public-api.d.ts +10 -0
- package/list/virtual-scroller.d.ts +183 -0
- package/menu/index.d.ts +5 -0
- package/menu/menu-item.component.d.ts +28 -0
- package/menu/menu.component.d.ts +48 -0
- package/menu/menu.model.d.ts +25 -0
- package/menu/menu.module.d.ts +18 -0
- package/menu/public-api.d.ts +3 -0
- package/package.json +1 -1
- package/page-layout/index.d.ts +5 -0
- package/page-layout/page-layout.component.d.ts +19 -0
- package/page-layout/page-layout.module.d.ts +10 -0
- package/page-layout/public-api.d.ts +2 -0
- package/profile-data-views-list/index.d.ts +5 -0
- package/profile-data-views-list/profile-data-view/profile-data-view.component.d.ts +18 -0
- package/profile-data-views-list/profile-data-views-card/profile-data-views-card.component.d.ts +25 -0
- package/profile-data-views-list/profile-data-views-list.component.d.ts +38 -0
- package/profile-data-views-list/profile-data-views-list.model.d.ts +26 -0
- package/profile-data-views-list/profile-data-views-list.module.d.ts +23 -0
- package/profile-data-views-list/public-api.d.ts +5 -0
- package/quantity-selector/index.d.ts +5 -0
- package/quantity-selector/public-api.d.ts +2 -0
- package/quantity-selector/quantity-selector-validation.directive.d.ts +17 -0
- package/quantity-selector/quantity-selector.component.d.ts +110 -0
- package/quantity-selector/quantity-selector.module.d.ts +23 -0
- package/quantity-selector/quantity-selector.pipes.d.ts +7 -0
- package/query-builder/common/model/field.d.ts +8 -0
- package/query-builder/common/model/filter.d.ts +6 -0
- package/query-builder/common/model/legacy.d.ts +31 -0
- package/query-builder/common/model/operator-unit.d.ts +13 -0
- package/query-builder/common/model/operator.d.ts +31 -0
- package/query-builder/common/model/structure.d.ts +4 -0
- package/query-builder/common/model/type-map.d.ts +12 -0
- package/query-builder/common/model/type.d.ts +4 -0
- package/query-builder/common/services/output-query.service.d.ts +47 -0
- package/query-builder/common/services/query-structure.service.d.ts +83 -0
- package/query-builder/common/services/type-convertor.service.d.ts +13 -0
- package/query-builder/index.d.ts +5 -0
- package/query-builder/public-api.d.ts +5 -0
- package/query-builder/query-builder-item/query-builder-item.component.d.ts +41 -0
- package/query-builder/query-builder-section/query-builder-section.component.d.ts +30 -0
- package/query-builder/query-builder.component.d.ts +39 -0
- package/query-builder/query-builder.module.d.ts +20 -0
- package/query-builder/query-builder.service.d.ts +30 -0
- package/remote-loader/addon-block-loader.component.d.ts +36 -0
- package/remote-loader/addon-block-loader.service.d.ts +15 -0
- package/remote-loader/index.d.ts +5 -0
- package/remote-loader/public-api.d.ts +7 -0
- package/remote-loader/remote-loader-element.component.d.ts +32 -0
- package/remote-loader/remote-loader.component.d.ts +25 -0
- package/remote-loader/remote-loader.model.d.ts +41 -0
- package/remote-loader/remote-loader.module.d.ts +15 -0
- package/remote-loader/remote-loader.service.d.ts +15 -0
- package/rich-html-textarea/index.d.ts +5 -0
- package/rich-html-textarea/public-api.d.ts +2 -0
- package/rich-html-textarea/rich-html-textarea.component.d.ts +80 -0
- package/rich-html-textarea/rich-html-textarea.module.d.ts +25 -0
- package/search/index.d.ts +5 -0
- package/search/public-api.d.ts +3 -0
- package/search/search.component.d.ts +65 -0
- package/search/search.model.d.ts +14 -0
- package/search/search.module.d.ts +20 -0
- package/select/index.d.ts +5 -0
- package/select/public-api.d.ts +2 -0
- package/select/select.component.d.ts +67 -0
- package/select/select.module.d.ts +20 -0
- package/select-panel/index.d.ts +5 -0
- package/select-panel/public-api.d.ts +3 -0
- package/select-panel/select-panel.component.d.ts +51 -0
- package/select-panel/select-panel.model.d.ts +5 -0
- package/select-panel/select-panel.module.d.ts +19 -0
- package/separator/index.d.ts +5 -0
- package/separator/public-api.d.ts +2 -0
- package/separator/separator.component.d.ts +22 -0
- package/separator/separator.module.d.ts +8 -0
- package/side-bar/index.d.ts +5 -0
- package/side-bar/public-api.d.ts +3 -0
- package/side-bar/side-bar.component.d.ts +42 -0
- package/side-bar/side-bar.model.d.ts +4 -0
- package/side-bar/side-bar.module.d.ts +16 -0
- package/signature/index.d.ts +5 -0
- package/signature/public-api.d.ts +3 -0
- package/signature/signature-dialog.component.d.ts +29 -0
- package/signature/signature.component.d.ts +59 -0
- package/signature/signature.module.d.ts +25 -0
- package/size-detector/index.d.ts +5 -0
- package/size-detector/public-api.d.ts +2 -0
- package/size-detector/size-detector.component.d.ts +29 -0
- package/size-detector/size-detector.module.d.ts +11 -0
- package/skeleton-loader/index.d.ts +5 -0
- package/skeleton-loader/public-api.d.ts +2 -0
- package/skeleton-loader/skeleton-loader.component.d.ts +20 -0
- package/skeleton-loader/skeleton-loader.module.d.ts +9 -0
- package/smart-filters/boolean-filter/boolean-filter.component.d.ts +29 -0
- package/smart-filters/common/filter-actions.component.d.ts +12 -0
- package/smart-filters/common/model/base-filter-component.d.ts +74 -0
- package/smart-filters/common/model/creator.d.ts +6 -0
- package/smart-filters/common/model/field.d.ts +69 -0
- package/smart-filters/common/model/filter.d.ts +11 -0
- package/smart-filters/common/model/operator.d.ts +52 -0
- package/smart-filters/common/model/type.d.ts +4 -0
- package/smart-filters/date-filter/date-filter.component.d.ts +61 -0
- package/smart-filters/index.d.ts +5 -0
- package/smart-filters/multi-select-filter/multi-select-filter.component.d.ts +57 -0
- package/smart-filters/number-filter/number-filter.component.d.ts +53 -0
- package/smart-filters/public-api.d.ts +14 -0
- package/smart-filters/smart-filters.component.d.ts +35 -0
- package/smart-filters/smart-filters.module.d.ts +37 -0
- package/smart-filters/text-filter/text-filter.component.d.ts +29 -0
- package/snack-bar/default-snack-bar.component.d.ts +13 -0
- package/snack-bar/index.d.ts +5 -0
- package/snack-bar/public-api.d.ts +4 -0
- package/snack-bar/snack-bar.component.d.ts +12 -0
- package/snack-bar/snack-bar.model.d.ts +8 -0
- package/snack-bar/snack-bar.module.d.ts +19 -0
- package/snack-bar/snack-bar.service.d.ts +24 -0
- package/textarea/index.d.ts +5 -0
- package/textarea/public-api.d.ts +2 -0
- package/textarea/textarea.component.d.ts +56 -0
- package/textarea/textarea.module.d.ts +23 -0
- package/textbox/index.d.ts +5 -0
- package/textbox/public-api.d.ts +2 -0
- package/textbox/textbox-validation.directive.d.ts +22 -0
- package/textbox/textbox.component.d.ts +157 -0
- package/textbox/textbox.module.d.ts +22 -0
- package/top-bar/index.d.ts +5 -0
- package/top-bar/public-api.d.ts +3 -0
- package/top-bar/top-bar.component.d.ts +39 -0
- package/top-bar/top-bar.model.d.ts +4 -0
- package/top-bar/top-bar.module.d.ts +18 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, Renderer2, ViewContainerRef, ComponentFactoryResolver, Injector } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { PepValidatorService, IPepOption, PepUtilitiesService } from '@pepperi-addons/ngx-lib';
|
|
4
|
+
import { IPepSmartFilterOperator, IPepSmartFilterOperatorUnit } from './operator';
|
|
5
|
+
import { IPepSmartFilterData, IPepSmartFilterDataValue } from './filter';
|
|
6
|
+
import { PepSmartFilterBaseField } from './field';
|
|
7
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare abstract class BaseFilterComponent implements OnInit, OnChanges, OnDestroy {
|
|
10
|
+
private viewContainerRef;
|
|
11
|
+
private injector;
|
|
12
|
+
private resolver;
|
|
13
|
+
private builder;
|
|
14
|
+
protected translate: TranslateService;
|
|
15
|
+
protected validator: PepValidatorService;
|
|
16
|
+
protected utilitiesService: PepUtilitiesService;
|
|
17
|
+
protected renderer: Renderer2;
|
|
18
|
+
private readonly _destroyed;
|
|
19
|
+
private actionsContainerRef;
|
|
20
|
+
private _fieldIdWithNoDots;
|
|
21
|
+
private _field;
|
|
22
|
+
set field(value: PepSmartFilterBaseField);
|
|
23
|
+
get field(): PepSmartFilterBaseField;
|
|
24
|
+
variableFieldOptions: Array<IPepOption>;
|
|
25
|
+
set variableField(list: any[]);
|
|
26
|
+
private _filter;
|
|
27
|
+
set filter(value: IPepSmartFilterData);
|
|
28
|
+
get filter(): IPepSmartFilterData;
|
|
29
|
+
protected _parentForm: FormGroup;
|
|
30
|
+
set parentForm(form: FormGroup);
|
|
31
|
+
emitOnChange: boolean;
|
|
32
|
+
inline: boolean;
|
|
33
|
+
showActionButtons: boolean;
|
|
34
|
+
renderTitle: boolean;
|
|
35
|
+
showAdditionalOperators: boolean;
|
|
36
|
+
filterClear: EventEmitter<void>;
|
|
37
|
+
filterChange: EventEmitter<IPepSmartFilterData>;
|
|
38
|
+
private _operator;
|
|
39
|
+
set operator(operator: IPepSmartFilterOperator);
|
|
40
|
+
get operator(): IPepSmartFilterOperator;
|
|
41
|
+
private _operatorUnit;
|
|
42
|
+
set operatorUnit(operatorUnit: IPepSmartFilterOperatorUnit);
|
|
43
|
+
get operatorUnit(): IPepSmartFilterOperatorUnit;
|
|
44
|
+
get firstControlKey(): string;
|
|
45
|
+
get firstControl(): AbstractControl;
|
|
46
|
+
get secondControlKey(): string;
|
|
47
|
+
get secondControl(): AbstractControl;
|
|
48
|
+
protected operators: IPepSmartFilterOperator[];
|
|
49
|
+
protected operatorUnits: IPepSmartFilterOperatorUnit[];
|
|
50
|
+
protected readonly OPERATORS_TRANSLATION_PREFIX = "SMART_FILTERS.OPERATORS";
|
|
51
|
+
protected readonly OPERATOR_UNITS_TRANSLATION_PREFIX = "SMART_FILTERS.OPERATOR_UNITS";
|
|
52
|
+
form: FormGroup;
|
|
53
|
+
constructor(viewContainerRef: ViewContainerRef, injector: Injector, resolver: ComponentFactoryResolver, builder: FormBuilder, translate: TranslateService, validator: PepValidatorService, utilitiesService: PepUtilitiesService, renderer: Renderer2);
|
|
54
|
+
private createActionsComponent;
|
|
55
|
+
private setupForm;
|
|
56
|
+
private setupOperators;
|
|
57
|
+
private setupFilter;
|
|
58
|
+
protected updateParentForm(): void;
|
|
59
|
+
protected getDestroyer(): import("rxjs").MonoTypeOperatorFunction<unknown>;
|
|
60
|
+
private updateValidity;
|
|
61
|
+
protected loadOperatorsOptions(): void;
|
|
62
|
+
protected setFieldsStateAndValidators(): void;
|
|
63
|
+
protected getDefaultOperatorUnit(): IPepSmartFilterOperatorUnit;
|
|
64
|
+
protected initFilter(): void;
|
|
65
|
+
abstract getDefaultOperator(): IPepSmartFilterOperator;
|
|
66
|
+
abstract getFilterValue(): IPepSmartFilterDataValue;
|
|
67
|
+
clearFilter(emitEvent?: boolean): void;
|
|
68
|
+
applyFilter(): void;
|
|
69
|
+
ngOnInit(): void;
|
|
70
|
+
ngOnChanges(): void;
|
|
71
|
+
ngOnDestroy(): void;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFilterComponent, never>;
|
|
73
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseFilterComponent, never, never, { "field": "field"; "variableField": "variableField"; "filter": "filter"; "parentForm": "parentForm"; "emitOnChange": "emitOnChange"; "inline": "inline"; "showActionButtons": "showActionButtons"; "renderTitle": "renderTitle"; "showAdditionalOperators": "showAdditionalOperators"; }, { "filterClear": "filterClear"; "filterChange": "filterChange"; }, never, never, false>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IPepSmartFilterField, PepSmartFilterBaseField } from './field';
|
|
2
|
+
import { IPepSmartFilterData } from './filter';
|
|
3
|
+
import { IPepSmartFilterOperator, IPepSmartFilterOperatorUnit } from './operator';
|
|
4
|
+
import { PepSmartFilterType } from './type';
|
|
5
|
+
export declare function createSmartFilterField(data: IPepSmartFilterField, type: PepSmartFilterType): PepSmartFilterBaseField;
|
|
6
|
+
export declare function createSmartFilter(fieldId: string, operator: IPepSmartFilterOperator, first: any, second?: any, operatorUnit?: IPepSmartFilterOperatorUnit): IPepSmartFilterData;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { PepSmartFilterComponentType, PepSmartFilterType, PepSmartFilterOperatorType, PepSmartFilterOperatorUnitType } from './type';
|
|
2
|
+
export interface IPepSmartFilterFieldOption {
|
|
3
|
+
value: string;
|
|
4
|
+
count?: number;
|
|
5
|
+
}
|
|
6
|
+
export interface IPepSmartFilterField {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
isOpen?: boolean;
|
|
10
|
+
options?: IPepSmartFilterFieldOption[];
|
|
11
|
+
operators?: PepSmartFilterOperatorType[];
|
|
12
|
+
operatorUnits?: PepSmartFilterOperatorUnitType[];
|
|
13
|
+
}
|
|
14
|
+
export declare abstract class PepSmartFilterBaseField implements IPepSmartFilterField {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
isOpen?: boolean;
|
|
18
|
+
options?: IPepSmartFilterFieldOption[];
|
|
19
|
+
operators?: PepSmartFilterOperatorType[];
|
|
20
|
+
operatorUnits?: PepSmartFilterOperatorUnitType[];
|
|
21
|
+
protected _componentType: PepSmartFilterComponentType;
|
|
22
|
+
get componentType(): PepSmartFilterComponentType;
|
|
23
|
+
private _type;
|
|
24
|
+
get type(): PepSmartFilterType;
|
|
25
|
+
constructor(field: IPepSmartFilterField);
|
|
26
|
+
protected abstract getType(): PepSmartFilterType;
|
|
27
|
+
}
|
|
28
|
+
export declare class PepSmartFilterTextField extends PepSmartFilterBaseField {
|
|
29
|
+
constructor(field: IPepSmartFilterField);
|
|
30
|
+
getType(): PepSmartFilterType;
|
|
31
|
+
}
|
|
32
|
+
export declare class PepSmartFilterBooleanField extends PepSmartFilterBaseField {
|
|
33
|
+
constructor(field: IPepSmartFilterField);
|
|
34
|
+
getType(): PepSmartFilterType;
|
|
35
|
+
}
|
|
36
|
+
export declare abstract class PepSmartFilterDateBaseField extends PepSmartFilterBaseField {
|
|
37
|
+
constructor(field: IPepSmartFilterField);
|
|
38
|
+
}
|
|
39
|
+
export declare class PepSmartFilterDateField extends PepSmartFilterDateBaseField {
|
|
40
|
+
constructor(field: IPepSmartFilterField);
|
|
41
|
+
getType(): PepSmartFilterType;
|
|
42
|
+
}
|
|
43
|
+
export declare class PepSmartFilterDateTimeField extends PepSmartFilterDateBaseField {
|
|
44
|
+
constructor(field: IPepSmartFilterField);
|
|
45
|
+
getType(): PepSmartFilterType;
|
|
46
|
+
}
|
|
47
|
+
export declare class PepSmartFilterMultiSelectField extends PepSmartFilterBaseField {
|
|
48
|
+
constructor(field: IPepSmartFilterField);
|
|
49
|
+
getType(): PepSmartFilterType;
|
|
50
|
+
}
|
|
51
|
+
export declare abstract class PepSmartFilterNumberBaseField extends PepSmartFilterBaseField {
|
|
52
|
+
constructor(field: IPepSmartFilterField);
|
|
53
|
+
}
|
|
54
|
+
export declare class PepSmartFilterIntField extends PepSmartFilterNumberBaseField {
|
|
55
|
+
constructor(field: IPepSmartFilterField);
|
|
56
|
+
getType(): PepSmartFilterType;
|
|
57
|
+
}
|
|
58
|
+
export declare class PepSmartFilterRealField extends PepSmartFilterNumberBaseField {
|
|
59
|
+
constructor(field: IPepSmartFilterField);
|
|
60
|
+
getType(): PepSmartFilterType;
|
|
61
|
+
}
|
|
62
|
+
export declare class PepSmartFilterCurrencyField extends PepSmartFilterNumberBaseField {
|
|
63
|
+
constructor(field: IPepSmartFilterField);
|
|
64
|
+
getType(): PepSmartFilterType;
|
|
65
|
+
}
|
|
66
|
+
export declare class PepSmartFilterPercentageField extends PepSmartFilterNumberBaseField {
|
|
67
|
+
constructor(field: IPepSmartFilterField);
|
|
68
|
+
getType(): PepSmartFilterType;
|
|
69
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IPepSmartFilterOperator, IPepSmartFilterOperatorUnit } from './operator';
|
|
2
|
+
export interface IPepSmartFilterData {
|
|
3
|
+
fieldId: string;
|
|
4
|
+
operator: IPepSmartFilterOperator;
|
|
5
|
+
operatorUnit?: IPepSmartFilterOperatorUnit;
|
|
6
|
+
value: IPepSmartFilterDataValue;
|
|
7
|
+
}
|
|
8
|
+
export interface IPepSmartFilterDataValue {
|
|
9
|
+
first: any;
|
|
10
|
+
second?: any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { PepSmartFilterComponentType, PepSmartFilterOperatorType, PepSmartFilterOperatorUnitType } from './type';
|
|
2
|
+
export declare class IPepSmartFilterOperator {
|
|
3
|
+
id: PepSmartFilterOperatorType;
|
|
4
|
+
name: string;
|
|
5
|
+
short: string;
|
|
6
|
+
componentType: PepSmartFilterComponentType[];
|
|
7
|
+
}
|
|
8
|
+
export declare const PepSmartFilterOperators: {
|
|
9
|
+
Equals: IPepSmartFilterOperator;
|
|
10
|
+
NotEqual: IPepSmartFilterOperator;
|
|
11
|
+
LessThan: IPepSmartFilterOperator;
|
|
12
|
+
GreaterThan: IPepSmartFilterOperator;
|
|
13
|
+
NumberRange: IPepSmartFilterOperator;
|
|
14
|
+
Contains: IPepSmartFilterOperator;
|
|
15
|
+
BeginsWith: IPepSmartFilterOperator;
|
|
16
|
+
EndsWith: IPepSmartFilterOperator;
|
|
17
|
+
InTheLast: IPepSmartFilterOperator;
|
|
18
|
+
Today: IPepSmartFilterOperator;
|
|
19
|
+
ThisWeek: IPepSmartFilterOperator;
|
|
20
|
+
ThisMonth: IPepSmartFilterOperator;
|
|
21
|
+
DateRange: IPepSmartFilterOperator;
|
|
22
|
+
DueIn: IPepSmartFilterOperator;
|
|
23
|
+
On: IPepSmartFilterOperator;
|
|
24
|
+
NotInTheLast: IPepSmartFilterOperator;
|
|
25
|
+
NotDueIn: IPepSmartFilterOperator;
|
|
26
|
+
IsEmpty: IPepSmartFilterOperator;
|
|
27
|
+
IsNotEmpty: IPepSmartFilterOperator;
|
|
28
|
+
In: IPepSmartFilterOperator;
|
|
29
|
+
};
|
|
30
|
+
export declare const PepSmartFilterAdditionalOperators: {
|
|
31
|
+
InTheLastCalendar: IPepSmartFilterOperator;
|
|
32
|
+
NotInTheLastCalendar: IPepSmartFilterOperator;
|
|
33
|
+
};
|
|
34
|
+
export declare const PepSmartFilterVariableOperators: {
|
|
35
|
+
EqualsToVariable: IPepSmartFilterOperator;
|
|
36
|
+
NotEqualsToVariable: IPepSmartFilterOperator;
|
|
37
|
+
LessThanVariable: IPepSmartFilterOperator;
|
|
38
|
+
GreaterThanVariable: IPepSmartFilterOperator;
|
|
39
|
+
DateRangeVariable: IPepSmartFilterOperator;
|
|
40
|
+
InVariable: IPepSmartFilterOperator;
|
|
41
|
+
};
|
|
42
|
+
export declare class IPepSmartFilterOperatorUnit {
|
|
43
|
+
id: PepSmartFilterOperatorUnitType;
|
|
44
|
+
name: string;
|
|
45
|
+
componentType: PepSmartFilterComponentType[];
|
|
46
|
+
}
|
|
47
|
+
export declare const PepSmartFilterOperatorUnits: {
|
|
48
|
+
Days: IPepSmartFilterOperatorUnit;
|
|
49
|
+
Weeks: IPepSmartFilterOperatorUnit;
|
|
50
|
+
Months: IPepSmartFilterOperatorUnit;
|
|
51
|
+
Years: IPepSmartFilterOperatorUnit;
|
|
52
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare type PepSmartFilterComponentType = 'text' | 'number' | 'date' | 'multi-select' | 'boolean';
|
|
2
|
+
export declare type PepSmartFilterType = 'text' | 'boolean' | 'currency' | 'date' | 'date-time' | 'int' | 'multi-select' | 'percentage' | 'real';
|
|
3
|
+
export declare type PepSmartFilterOperatorType = 'eq' | 'eqv' | 'neq' | 'neqv' | 'lt' | 'ltv' | 'gt' | 'gtv' | 'ltoe' | 'gtoe' | 'numberRange' | 'contains' | 'beginsWith' | 'endsWith' | 'after' | 'before' | 'inTheLast' | 'inTheLastCalendar' | 'today' | 'thisWeek' | 'thisMonth' | 'dateRange' | 'dateRangeVariable' | 'dueIn' | 'on' | 'notInTheLast' | 'notInTheLastCalendar' | 'notDueIn' | 'isEmpty' | 'isNotEmpty' | 'in' | 'inv';
|
|
4
|
+
export declare type PepSmartFilterOperatorUnitType = 'days' | 'weeks' | 'months' | 'years';
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BaseFilterComponent } from '../common/model/base-filter-component';
|
|
3
|
+
import { IPepSmartFilterOperator, IPepSmartFilterOperatorUnit } from '../common/model/operator';
|
|
4
|
+
import { IPepSmartFilterDataValue } from '../common/model/filter';
|
|
5
|
+
import { IPepOption } from '@pepperi-addons/ngx-lib';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class PepDateFilterComponent extends BaseFilterComponent implements OnInit {
|
|
8
|
+
PepSmartFilterOperators: {
|
|
9
|
+
Equals: IPepSmartFilterOperator;
|
|
10
|
+
NotEqual: IPepSmartFilterOperator;
|
|
11
|
+
LessThan: IPepSmartFilterOperator;
|
|
12
|
+
GreaterThan: IPepSmartFilterOperator;
|
|
13
|
+
NumberRange: IPepSmartFilterOperator;
|
|
14
|
+
Contains: IPepSmartFilterOperator;
|
|
15
|
+
BeginsWith: IPepSmartFilterOperator;
|
|
16
|
+
EndsWith: IPepSmartFilterOperator;
|
|
17
|
+
InTheLast: IPepSmartFilterOperator;
|
|
18
|
+
Today: IPepSmartFilterOperator;
|
|
19
|
+
ThisWeek: IPepSmartFilterOperator;
|
|
20
|
+
ThisMonth: IPepSmartFilterOperator;
|
|
21
|
+
DateRange: IPepSmartFilterOperator;
|
|
22
|
+
DueIn: IPepSmartFilterOperator;
|
|
23
|
+
On: IPepSmartFilterOperator;
|
|
24
|
+
NotInTheLast: IPepSmartFilterOperator;
|
|
25
|
+
NotDueIn: IPepSmartFilterOperator;
|
|
26
|
+
IsEmpty: IPepSmartFilterOperator;
|
|
27
|
+
IsNotEmpty: IPepSmartFilterOperator;
|
|
28
|
+
In: IPepSmartFilterOperator;
|
|
29
|
+
};
|
|
30
|
+
PepSmartFilterAdditionalOperators: {
|
|
31
|
+
InTheLastCalendar: IPepSmartFilterOperator;
|
|
32
|
+
NotInTheLastCalendar: IPepSmartFilterOperator;
|
|
33
|
+
};
|
|
34
|
+
PepSmartFilterVariableOperators: {
|
|
35
|
+
EqualsToVariable: IPepSmartFilterOperator;
|
|
36
|
+
NotEqualsToVariable: IPepSmartFilterOperator;
|
|
37
|
+
LessThanVariable: IPepSmartFilterOperator;
|
|
38
|
+
GreaterThanVariable: IPepSmartFilterOperator;
|
|
39
|
+
DateRangeVariable: IPepSmartFilterOperator;
|
|
40
|
+
InVariable: IPepSmartFilterOperator;
|
|
41
|
+
};
|
|
42
|
+
chooseTimeOptions: Array<IPepOption>;
|
|
43
|
+
chooseTimeUnitOptions: Array<IPepOption>;
|
|
44
|
+
operatorWidth: string;
|
|
45
|
+
fieldsWidth: string;
|
|
46
|
+
ngOnInit(): void;
|
|
47
|
+
getDefaultOperator(): IPepSmartFilterOperator;
|
|
48
|
+
getDefaultOperatorUnit(): IPepSmartFilterOperatorUnit;
|
|
49
|
+
getFilterValue(): IPepSmartFilterDataValue;
|
|
50
|
+
initFilter(): void;
|
|
51
|
+
loadOperatorsOptions(): void;
|
|
52
|
+
setFieldsStateAndValidators(): void;
|
|
53
|
+
setControlsWidth(): void;
|
|
54
|
+
onOperatorChanged(value: string): void;
|
|
55
|
+
onTimeUnitChanged(value: string): void;
|
|
56
|
+
onVariableChanged(value: any): void;
|
|
57
|
+
onSecondVariableChanged(value: any): void;
|
|
58
|
+
onDateValueChanged(): void;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepDateFilterComponent, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepDateFilterComponent, "pep-date-filter", never, {}, {}, never, never, false>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { BaseFilterComponent } from '../common/model/base-filter-component';
|
|
4
|
+
import { IPepSmartFilterOperator } from '../common/model/operator';
|
|
5
|
+
import { IPepOption } from '@pepperi-addons/ngx-lib';
|
|
6
|
+
import { IPepSmartFilterDataValue } from '../common/model/filter';
|
|
7
|
+
import { IPepSmartFilterFieldOption } from '../common/model/field';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
|
+
import { FormControl } from '@angular/forms';
|
|
10
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
declare class PepMultiSelectFilterOption implements IPepSmartFilterFieldOption {
|
|
13
|
+
value: string;
|
|
14
|
+
count?: number;
|
|
15
|
+
selected: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare class PepMultiSelectFilterComponent extends BaseFilterComponent implements OnInit, AfterViewInit {
|
|
18
|
+
PepSmartFilterVariableOperators: {
|
|
19
|
+
EqualsToVariable: IPepSmartFilterOperator;
|
|
20
|
+
NotEqualsToVariable: IPepSmartFilterOperator;
|
|
21
|
+
LessThanVariable: IPepSmartFilterOperator;
|
|
22
|
+
GreaterThanVariable: IPepSmartFilterOperator;
|
|
23
|
+
DateRangeVariable: IPepSmartFilterOperator;
|
|
24
|
+
InVariable: IPepSmartFilterOperator;
|
|
25
|
+
};
|
|
26
|
+
options: PepMultiSelectFilterOption[];
|
|
27
|
+
filteredOptions$: Observable<any>;
|
|
28
|
+
chooseTypeOptions: Array<IPepOption>;
|
|
29
|
+
searchControl: FormControl<any>;
|
|
30
|
+
selected: string;
|
|
31
|
+
inlineOptions: IPepOption[];
|
|
32
|
+
operatorWidth: string;
|
|
33
|
+
valueWidth: string;
|
|
34
|
+
optionsContainer: ElementRef;
|
|
35
|
+
private readonly MAX_OPTIONS_TO_SHOW;
|
|
36
|
+
private virtualScroller;
|
|
37
|
+
numberOptionsToShowSearch: number;
|
|
38
|
+
ngOnInit(): void;
|
|
39
|
+
ngAfterViewInit(): void;
|
|
40
|
+
private inlineControlInit;
|
|
41
|
+
private noneInlineControlInit;
|
|
42
|
+
initOptionsSelectedValues(selectedValues: string[]): void;
|
|
43
|
+
private calcOptionsHeight;
|
|
44
|
+
private filterOptions;
|
|
45
|
+
getDefaultOperator(): IPepSmartFilterOperator;
|
|
46
|
+
getFilterValue(): IPepSmartFilterDataValue;
|
|
47
|
+
loadOperatorsOptions(): void;
|
|
48
|
+
setControlsWidth(): void;
|
|
49
|
+
onOperatorChanged(value: string): void;
|
|
50
|
+
initFilter(): void;
|
|
51
|
+
onOptionChange(option: PepMultiSelectFilterOption, event: MatCheckboxChange): void;
|
|
52
|
+
onMultiSelectChanged(value: string): void;
|
|
53
|
+
onValueChanged(value: any): void;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepMultiSelectFilterComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepMultiSelectFilterComponent, "pep-multi-select-filter", never, {}, {}, never, never, false>;
|
|
56
|
+
}
|
|
57
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BaseFilterComponent } from '../common/model/base-filter-component';
|
|
3
|
+
import { IPepSmartFilterOperator } from '../common/model/operator';
|
|
4
|
+
import { IPepSmartFilterDataValue } from '../common/model/filter';
|
|
5
|
+
import { IPepOption } from '@pepperi-addons/ngx-lib';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class PepNumberFilterComponent extends BaseFilterComponent implements OnInit {
|
|
8
|
+
PepSmartFilterOperators: {
|
|
9
|
+
Equals: IPepSmartFilterOperator;
|
|
10
|
+
NotEqual: IPepSmartFilterOperator;
|
|
11
|
+
LessThan: IPepSmartFilterOperator;
|
|
12
|
+
GreaterThan: IPepSmartFilterOperator;
|
|
13
|
+
NumberRange: IPepSmartFilterOperator;
|
|
14
|
+
Contains: IPepSmartFilterOperator;
|
|
15
|
+
BeginsWith: IPepSmartFilterOperator;
|
|
16
|
+
EndsWith: IPepSmartFilterOperator;
|
|
17
|
+
InTheLast: IPepSmartFilterOperator;
|
|
18
|
+
Today: IPepSmartFilterOperator;
|
|
19
|
+
ThisWeek: IPepSmartFilterOperator;
|
|
20
|
+
ThisMonth: IPepSmartFilterOperator;
|
|
21
|
+
DateRange: IPepSmartFilterOperator;
|
|
22
|
+
DueIn: IPepSmartFilterOperator;
|
|
23
|
+
On: IPepSmartFilterOperator;
|
|
24
|
+
NotInTheLast: IPepSmartFilterOperator;
|
|
25
|
+
NotDueIn: IPepSmartFilterOperator;
|
|
26
|
+
IsEmpty: IPepSmartFilterOperator;
|
|
27
|
+
IsNotEmpty: IPepSmartFilterOperator;
|
|
28
|
+
In: IPepSmartFilterOperator;
|
|
29
|
+
};
|
|
30
|
+
PepSmartFilterVariableOperators: {
|
|
31
|
+
EqualsToVariable: IPepSmartFilterOperator;
|
|
32
|
+
NotEqualsToVariable: IPepSmartFilterOperator;
|
|
33
|
+
LessThanVariable: IPepSmartFilterOperator;
|
|
34
|
+
GreaterThanVariable: IPepSmartFilterOperator;
|
|
35
|
+
DateRangeVariable: IPepSmartFilterOperator;
|
|
36
|
+
InVariable: IPepSmartFilterOperator;
|
|
37
|
+
};
|
|
38
|
+
chooseTypeOptions: Array<IPepOption>;
|
|
39
|
+
operatorWidth: string;
|
|
40
|
+
fieldsWidth: string;
|
|
41
|
+
ngOnInit(): void;
|
|
42
|
+
getDefaultOperator(): IPepSmartFilterOperator;
|
|
43
|
+
getFilterValue(): IPepSmartFilterDataValue;
|
|
44
|
+
initFilter(): void;
|
|
45
|
+
loadOperatorsOptions(): void;
|
|
46
|
+
setFieldsStateAndValidators(): void;
|
|
47
|
+
setControlsWidth(): void;
|
|
48
|
+
onOperatorChanged(value: string): void;
|
|
49
|
+
onVariableChanged(value: any): void;
|
|
50
|
+
onValueChanged(): void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepNumberFilterComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepNumberFilterComponent, "pep-number-filter", never, {}, {}, never, never, false>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './smart-filters.module';
|
|
2
|
+
export * from './smart-filters.component';
|
|
3
|
+
export * from './common/model/base-filter-component';
|
|
4
|
+
export * from './common/filter-actions.component';
|
|
5
|
+
export * from './boolean-filter/boolean-filter.component';
|
|
6
|
+
export * from './date-filter/date-filter.component';
|
|
7
|
+
export * from './multi-select-filter/multi-select-filter.component';
|
|
8
|
+
export * from './number-filter/number-filter.component';
|
|
9
|
+
export * from './text-filter/text-filter.component';
|
|
10
|
+
export * from './common/model/creator';
|
|
11
|
+
export * from './common/model/field';
|
|
12
|
+
export * from './common/model/filter';
|
|
13
|
+
export * from './common/model/operator';
|
|
14
|
+
export * from './common/model/type';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
+
import { IPepSmartFilterField } from './common/model/field';
|
|
3
|
+
import { PepLayoutService } from '@pepperi-addons/ngx-lib';
|
|
4
|
+
import { IPepSmartFilterData } from './common/model/filter';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PepSmartFiltersComponent {
|
|
7
|
+
private hostElement;
|
|
8
|
+
layoutService: PepLayoutService;
|
|
9
|
+
title: string;
|
|
10
|
+
filtersDataMap: Map<string, IPepSmartFilterData>;
|
|
11
|
+
private _filters;
|
|
12
|
+
set filters(value: IPepSmartFilterData[]);
|
|
13
|
+
get filters(): IPepSmartFilterData[];
|
|
14
|
+
private _fields;
|
|
15
|
+
set fields(value: Array<IPepSmartFilterField>);
|
|
16
|
+
get fields(): Array<IPepSmartFilterField>;
|
|
17
|
+
private _useAsWebComponent;
|
|
18
|
+
set useAsWebComponent(value: boolean);
|
|
19
|
+
get useAsWebComponent(): boolean;
|
|
20
|
+
filtersChange: EventEmitter<IPepSmartFilterData[]>;
|
|
21
|
+
fieldToggleChange: EventEmitter<IPepSmartFilterField>;
|
|
22
|
+
expansionPanelHeaderHeight: string;
|
|
23
|
+
constructor(hostElement: ElementRef, layoutService: PepLayoutService);
|
|
24
|
+
private exportFunctionsOnHostElement;
|
|
25
|
+
private setupFilters;
|
|
26
|
+
private raiseFiltersChange;
|
|
27
|
+
toggleField(index: number, isOpen: boolean): void;
|
|
28
|
+
clearFilters(): void;
|
|
29
|
+
clearFilter(fieldId: string): void;
|
|
30
|
+
onFiltersClear(): void;
|
|
31
|
+
onFilterClear(field: IPepSmartFilterField): void;
|
|
32
|
+
onFilterChange(field: IPepSmartFilterField, filterData: IPepSmartFilterData): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepSmartFiltersComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepSmartFiltersComponent, "pep-smart-filters", never, { "title": "title"; "filters": "filters"; "fields": "fields"; "useAsWebComponent": "useAsWebComponent"; }, { "filtersChange": "filtersChange"; "fieldToggleChange": "fieldToggleChange"; }, never, never, false>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PepIconRegistry } from '@pepperi-addons/ngx-lib/icon';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./smart-filters.component";
|
|
4
|
+
import * as i2 from "./common/filter-actions.component";
|
|
5
|
+
import * as i3 from "./text-filter/text-filter.component";
|
|
6
|
+
import * as i4 from "./boolean-filter/boolean-filter.component";
|
|
7
|
+
import * as i5 from "./date-filter/date-filter.component";
|
|
8
|
+
import * as i6 from "./multi-select-filter/multi-select-filter.component";
|
|
9
|
+
import * as i7 from "./number-filter/number-filter.component";
|
|
10
|
+
import * as i8 from "@angular/common";
|
|
11
|
+
import * as i9 from "@angular/forms";
|
|
12
|
+
import * as i10 from "@angular/flex-layout";
|
|
13
|
+
import * as i11 from "@angular/material/core";
|
|
14
|
+
import * as i12 from "@angular/material/checkbox";
|
|
15
|
+
import * as i13 from "@angular/material/chips";
|
|
16
|
+
import * as i14 from "@angular/material/expansion";
|
|
17
|
+
import * as i15 from "@angular/material/icon";
|
|
18
|
+
import * as i16 from "@angular/material/form-field";
|
|
19
|
+
import * as i17 from "@angular/material/input";
|
|
20
|
+
import * as i18 from "@angular/material/radio";
|
|
21
|
+
import * as i19 from "ngx-virtual-scroller";
|
|
22
|
+
import * as i20 from "@pepperi-addons/ngx-lib";
|
|
23
|
+
import * as i21 from "@pepperi-addons/ngx-lib/checkbox";
|
|
24
|
+
import * as i22 from "@pepperi-addons/ngx-lib/date";
|
|
25
|
+
import * as i23 from "@pepperi-addons/ngx-lib/select";
|
|
26
|
+
import * as i24 from "@pepperi-addons/ngx-lib/textbox";
|
|
27
|
+
import * as i25 from "@pepperi-addons/ngx-lib/search";
|
|
28
|
+
import * as i26 from "@pepperi-addons/ngx-lib/icon";
|
|
29
|
+
import * as i27 from "@pepperi-addons/ngx-lib/button";
|
|
30
|
+
import * as i28 from "@pepperi-addons/ngx-lib/group-buttons";
|
|
31
|
+
export declare class PepSmartFiltersModule {
|
|
32
|
+
private pepIconRegistry;
|
|
33
|
+
constructor(pepIconRegistry: PepIconRegistry);
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepSmartFiltersModule, never>;
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PepSmartFiltersModule, [typeof i1.PepSmartFiltersComponent, typeof i2.PepFilterActionsComponent, typeof i3.PepTextFilterComponent, typeof i4.PepBooleanFilterComponent, typeof i5.PepDateFilterComponent, typeof i6.PepMultiSelectFilterComponent, typeof i7.PepNumberFilterComponent], [typeof i8.CommonModule, typeof i9.ReactiveFormsModule, typeof i10.FlexLayoutModule, typeof i11.MatCommonModule, typeof i12.MatCheckboxModule, typeof i13.MatChipsModule, typeof i14.MatExpansionModule, typeof i15.MatIconModule, typeof i16.MatFormFieldModule, typeof i17.MatInputModule, typeof i18.MatRadioModule, typeof i19.VirtualScrollerModule, typeof i20.PepNgxLibModule, typeof i21.PepCheckboxModule, typeof i22.PepDateModule, typeof i23.PepSelectModule, typeof i24.PepTextboxModule, typeof i25.PepSearchModule, typeof i26.PepIconModule, typeof i27.PepButtonModule, typeof i28.PepGroupButtonsModule], [typeof i1.PepSmartFiltersComponent, typeof i3.PepTextFilterComponent, typeof i4.PepBooleanFilterComponent, typeof i5.PepDateFilterComponent, typeof i6.PepMultiSelectFilterComponent, typeof i7.PepNumberFilterComponent]>;
|
|
36
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PepSmartFiltersModule>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BaseFilterComponent } from '../common/model/base-filter-component';
|
|
3
|
+
import { IPepSmartFilterOperator } from '../common/model/operator';
|
|
4
|
+
import { IPepOption } from '@pepperi-addons/ngx-lib';
|
|
5
|
+
import { IPepSmartFilterDataValue } from '../common/model/filter';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class PepTextFilterComponent extends BaseFilterComponent implements OnInit {
|
|
8
|
+
PepSmartFilterVariableOperators: {
|
|
9
|
+
EqualsToVariable: IPepSmartFilterOperator;
|
|
10
|
+
NotEqualsToVariable: IPepSmartFilterOperator;
|
|
11
|
+
LessThanVariable: IPepSmartFilterOperator;
|
|
12
|
+
GreaterThanVariable: IPepSmartFilterOperator;
|
|
13
|
+
DateRangeVariable: IPepSmartFilterOperator;
|
|
14
|
+
InVariable: IPepSmartFilterOperator;
|
|
15
|
+
};
|
|
16
|
+
chooseTypeOptions: Array<IPepOption>;
|
|
17
|
+
operatorWidth: string;
|
|
18
|
+
firstControlWidth: string;
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
getDefaultOperator(): IPepSmartFilterOperator;
|
|
21
|
+
getFilterValue(): IPepSmartFilterDataValue;
|
|
22
|
+
loadOperatorsOptions(): void;
|
|
23
|
+
setFieldsStateAndValidators(): void;
|
|
24
|
+
onOperatorChanged(value: string): void;
|
|
25
|
+
onVariableChanged(value: any): void;
|
|
26
|
+
onValueChanged(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepTextFilterComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepTextFilterComponent, "pep-text-filter", never, {}, {}, never, never, false>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatSnackBarRef } from '@angular/material/snack-bar';
|
|
3
|
+
import { PepSnackBarData } from './snack-bar.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PepDefaultSnackBarComponent {
|
|
6
|
+
data: PepSnackBarData;
|
|
7
|
+
snackBarRef: MatSnackBarRef<PepDefaultSnackBarComponent>;
|
|
8
|
+
closeClick: EventEmitter<void>;
|
|
9
|
+
constructor(data: PepSnackBarData, snackBarRef: MatSnackBarRef<PepDefaultSnackBarComponent>);
|
|
10
|
+
onCloseClicked(event: any): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepDefaultSnackBarComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepDefaultSnackBarComponent, "ng-component", never, {}, { "closeClick": "closeClick"; }, never, never, false>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatSnackBarRef } from '@angular/material/snack-bar';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PepSnackBarComponent {
|
|
5
|
+
snackBarRef: MatSnackBarRef<any>;
|
|
6
|
+
title: string;
|
|
7
|
+
closeClick: EventEmitter<void>;
|
|
8
|
+
constructor();
|
|
9
|
+
onCloseClicked(event: any): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepSnackBarComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepSnackBarComponent, "pep-snack-bar", never, { "snackBarRef": "snackBarRef"; "title": "title"; }, { "closeClick": "closeClick"; }, never, ["[pep-snack-bar-content]"], false>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PepIconRegistry } from '@pepperi-addons/ngx-lib/icon';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./default-snack-bar.component";
|
|
4
|
+
import * as i2 from "./snack-bar.component";
|
|
5
|
+
import * as i3 from "@angular/common";
|
|
6
|
+
import * as i4 from "@angular/material/core";
|
|
7
|
+
import * as i5 from "@angular/material/button";
|
|
8
|
+
import * as i6 from "@angular/material/icon";
|
|
9
|
+
import * as i7 from "@angular/material/snack-bar";
|
|
10
|
+
import * as i8 from "@pepperi-addons/ngx-lib";
|
|
11
|
+
import * as i9 from "@pepperi-addons/ngx-lib/button";
|
|
12
|
+
import * as i10 from "@pepperi-addons/ngx-lib/icon";
|
|
13
|
+
export declare class PepSnackBarModule {
|
|
14
|
+
private pepIconRegistry;
|
|
15
|
+
constructor(pepIconRegistry: PepIconRegistry);
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepSnackBarModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PepSnackBarModule, [typeof i1.PepDefaultSnackBarComponent, typeof i2.PepSnackBarComponent], [typeof i3.CommonModule, typeof i4.MatCommonModule, typeof i5.MatButtonModule, typeof i6.MatIconModule, typeof i7.MatSnackBarModule, typeof i8.PepNgxLibModule, typeof i9.PepButtonModule, typeof i10.PepIconModule], [typeof i2.PepSnackBarComponent]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PepSnackBarModule>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EmbeddedViewRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import { PepLayoutService } from '@pepperi-addons/ngx-lib';
|
|
3
|
+
import { ComponentType } from '@angular/cdk/portal';
|
|
4
|
+
import { PepDefaultSnackBarComponent } from './default-snack-bar.component';
|
|
5
|
+
import { MatSnackBar, MatSnackBarConfig, MatSnackBarHorizontalPosition, MatSnackBarRef, MatSnackBarVerticalPosition } from '@angular/material/snack-bar';
|
|
6
|
+
import { PepSnackBarData } from './snack-bar.model';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class PepSnackBarService {
|
|
9
|
+
private snackBar;
|
|
10
|
+
private layoutService;
|
|
11
|
+
constructor(snackBar: MatSnackBar, layoutService: PepLayoutService);
|
|
12
|
+
getSnackBarConfig(options?: {
|
|
13
|
+
announcementMessage?: string;
|
|
14
|
+
duration?: number;
|
|
15
|
+
panelClass?: string;
|
|
16
|
+
horizontalPosition?: MatSnackBarHorizontalPosition;
|
|
17
|
+
verticalPosition?: MatSnackBarVerticalPosition;
|
|
18
|
+
}): MatSnackBarConfig;
|
|
19
|
+
openDefaultSnackBar(data: PepSnackBarData, config?: MatSnackBarConfig): MatSnackBarRef<PepDefaultSnackBarComponent>;
|
|
20
|
+
openSnackBarFromComponent<T>(component: ComponentType<T>, data?: any, config?: MatSnackBarConfig): MatSnackBarRef<T>;
|
|
21
|
+
openSnackBarFromTemplate<T>(template: TemplateRef<any>, data?: any, config?: MatSnackBarConfig): MatSnackBarRef<EmbeddedViewRef<any>>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepSnackBarService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PepSnackBarService>;
|
|
24
|
+
}
|