nuxeo-development-framework 5.2.2 → 5.2.4
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/bundles/nuxeo-development-framework.umd.js +7114 -714
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +48 -34
- package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +5 -5
- package/esm2015/lib/components/ndf-datepicker/adapters/hijri-adapter.js +203 -0
- package/esm2015/lib/components/ndf-datepicker/adapters/index.js +3 -0
- package/esm2015/lib/components/ndf-datepicker/adapters/moment-adapter.js +186 -0
- package/esm2015/lib/components/ndf-datepicker/base/base-value-accessor.js +92 -0
- package/esm2015/lib/components/ndf-datepicker/base/index.js +2 -0
- package/esm2015/lib/components/ndf-datepicker/components/base-datepicker.js +37 -0
- package/esm2015/lib/components/ndf-datepicker/components/index.js +4 -0
- package/esm2015/lib/components/ndf-datepicker/components/input-date.component.js +110 -0
- package/esm2015/lib/components/ndf-datepicker/components/input-range-date.component.js +124 -0
- package/esm2015/lib/components/ndf-datepicker/constants/date-locale-keys.js +7 -0
- package/esm2015/lib/components/ndf-datepicker/constants/date-picker.js +2 -0
- package/esm2015/lib/components/ndf-datepicker/constants/date-type.js +5 -0
- package/esm2015/lib/components/ndf-datepicker/constants/formats.js +24 -0
- package/esm2015/lib/components/ndf-datepicker/constants/hijri-dates-names.js +117 -0
- package/esm2015/lib/components/ndf-datepicker/constants/index.js +6 -0
- package/esm2015/lib/components/ndf-datepicker/containers/datepicker-container.js +37 -0
- package/esm2015/lib/components/ndf-datepicker/containers/index.js +3 -0
- package/esm2015/lib/components/ndf-datepicker/containers/ndf-gregorian-datepicker.component.js +105 -0
- package/esm2015/lib/components/ndf-datepicker/containers/ndf-hijri-datepicker.component.js +112 -0
- package/esm2015/lib/components/ndf-datepicker/index.js +10 -0
- package/esm2015/lib/components/ndf-datepicker/models/data-types.js +2 -0
- package/esm2015/lib/components/ndf-datepicker/models/index.js +3 -0
- package/esm2015/lib/components/ndf-datepicker/models/value-object.js +2 -0
- package/esm2015/lib/components/ndf-datepicker/ndf-datepicker.component.js +198 -0
- package/esm2015/lib/components/ndf-datepicker/ndf-datepicker.module.js +66 -0
- package/esm2015/lib/components/ndf-datepicker/services/calendar.service.js +130 -0
- package/esm2015/lib/components/ndf-datepicker/services/index.js +3 -0
- package/esm2015/lib/components/ndf-datepicker/services/localize-state.service.js +41 -0
- package/esm2015/lib/components/no-data-found/index.js +3 -0
- package/esm2015/lib/components/no-data-found/no-data-found.component.js +33 -0
- package/esm2015/lib/components/no-data-found/no-data.module.js +19 -0
- package/esm2015/lib/components/notifications/models/common.js +1 -1
- package/esm2015/lib/components/{dynamic-table → tables/dynamic-table}/directives/empty-state.directive.js +1 -1
- package/esm2015/lib/components/tables/dynamic-table/dynamic-table/dynamic-table.component.js +353 -0
- package/esm2015/lib/components/tables/dynamic-table/dynamic-table.module.js +51 -0
- package/esm2015/lib/components/tables/dynamic-table/index.js +2 -0
- package/esm2015/lib/components/tables/dynamic-table/public-api.js +5 -0
- package/esm2015/lib/components/tables/dynamic-table/services/dynamic-table.service.js +16 -0
- package/esm2015/lib/components/{dynamic-table → tables}/index.js +1 -1
- package/esm2015/lib/components/tables/ndf-table/components/index.js +6 -0
- package/esm2015/lib/components/tables/ndf-table/components/mode-toggler/mode-toggler.component.js +45 -0
- package/esm2015/lib/components/tables/ndf-table/components/sorting-list/sorting-list.component.js +42 -0
- package/esm2015/lib/components/tables/ndf-table/components/table-columns-toggler/table-columns-toggler.component.js +123 -0
- package/esm2015/lib/components/tables/ndf-table/components/table-export/table-export.component.js +41 -0
- package/esm2015/lib/components/tables/ndf-table/components/text-search/text-search.component.js +74 -0
- package/esm2015/lib/components/tables/ndf-table/constants/index.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/constants/sizes.js +19 -0
- package/esm2015/lib/components/tables/ndf-table/containers/index.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/containers/ndf-table/ndf-table.component.js +404 -0
- package/esm2015/lib/components/tables/ndf-table/directives/actions.directive.js +28 -0
- package/esm2015/lib/components/tables/ndf-table/directives/filter-custom.directive.js +28 -0
- package/esm2015/lib/components/tables/ndf-table/directives/fluid-height.directive.js +112 -0
- package/esm2015/lib/components/tables/ndf-table/directives/index.js +5 -0
- package/esm2015/lib/components/tables/ndf-table/directives/search.directive.js +28 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-aggregation-field.component.js +91 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-checkbox-radio.component.js +66 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-custom-field.component.js +46 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-predicate-field.component.js +43 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/base/base-value-accessor.component.js +34 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/base/index.js +6 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/field-header.component.js +36 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-autocomplete-input/filter-autocomplete-input.component.js +97 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-autocomplete-input/filter-autocomplete.service.js +43 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-collapse-control/filter-collapse-control.component.js +44 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-date-range/filter-date-range.component.js +89 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-empty-message.component.js +30 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-option-text/filter-option-text.component.js +33 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-options-sort/filter-options-sort.component.js +34 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-search-input/filter-search-input.component.js +36 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/html-dialog/html-dialog.component.js +34 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/__parts/index.js +10 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-autocomplete/aggregation-autocomplete.component.js +109 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-checkbox/aggregation-checkbox.component.js +65 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-custom/aggregation-custom.component.js +66 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-date-list/aggregation-date-list.component.js +219 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-radio/aggregation-radio.component.js +68 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-select/aggregation-select.component.js +83 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/aggregation-switch/aggregation-switch.component.js +71 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/index.js +11 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/predicate-date-input/predicate-date-input.component.js +146 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/components/predicate-text-input/predicate-text-input.component.js +144 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/common.js +4 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/field.js +6 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/index.js +5 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/operators.js +18 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/sort.js +23 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/constants/type.js +26 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/aggregation-field/aggregation-field.component.js +78 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/base-field.js +62 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/custom-field/custom-field.component.js +73 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/filters-panel/base-filters-panel.js +55 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/filters-panel/filters-panel.component.js +122 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/index.js +5 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/containers/predicate-field/predicate-field.component.js +71 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/active-user-switch.component.js +55 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/active-user.service.js +17 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/user-types.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/custom-components/index.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/autocomplete-template.directive.js +28 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/checkbox-template.directive.js +28 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/custom-template.directive.js +28 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/date-template.directive.js +28 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/dropdown-label-template.directive.js +53 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/dropdown-template.directive.js +28 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/index.js +9 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/radio-template.directive.js +28 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/directives/switch-template.directive.js +28 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/filters-panel.module.js +205 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/index.js +12 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/aggregation-field-config.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/aggregation-response.model.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/base-field-config.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/common.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/custom-field-config.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-config.model.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/autocomplete-options.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/checkbox-options.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/common-utils.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/custom-fields-options.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/custom-options.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/date-list-options.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/date-options.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/dropdown-options.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/index.js +12 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/input-options.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/radio-options.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/field-options/switch-options.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/filter-option.model.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/form-query-request.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/index.js +13 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/predicate-field-config.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/types-helper.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/models/value-object.model.js +12 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/autocomplete-filter.pipe.js +27 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/filter.pipe.js +27 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/hash-translate.pipe.js +52 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/index.js +9 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/localized-label.pipe.js +28 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/roles-filters.pipe.js +31 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/sanitizer.pipe.js +34 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/sort.pipe.js +40 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/pipes/tooltip.pipe.js +69 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/services/aggregation-field.service.js +105 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/services/dynamic-component-loader.service.js +59 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/services/filters-query.service.js +117 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/services/index.js +5 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/services/ndf-transform.service.js +80 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/utility/index.js +3 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/utility/nxql.js +47 -0
- package/esm2015/lib/components/tables/ndf-table/filters-panel/utility/object.js +42 -0
- package/esm2015/lib/components/tables/ndf-table/index.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/models/index.js +8 -0
- package/esm2015/lib/components/tables/ndf-table/models/payload-types.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/models/search.config.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/models/table-column.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/models/table-config.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/models/table-mode.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/models/table-options.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/models/types.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/ndf-table.module.js +104 -0
- package/esm2015/lib/components/tables/ndf-table/public-api.js +8 -0
- package/esm2015/lib/components/tables/ndf-table/services/filters-mapper.service.js +60 -0
- package/esm2015/lib/components/tables/ndf-table/services/index.js +3 -0
- package/esm2015/lib/components/tables/ndf-table/services/ndf-table.service.js +27 -0
- package/esm2015/lib/components/tables/ndf-table/utils/index.js +2 -0
- package/esm2015/lib/components/tables/ndf-table/utils/nxql-query.js +52 -0
- package/esm2015/lib/components/tables/public-api.js +4 -0
- package/esm2015/lib/components/tables/table/dynamic-column/dynamic-column.component.js +68 -0
- package/esm2015/lib/components/tables/table/dynamic-component.js +59 -0
- package/esm2015/lib/components/tables/table/index.js +2 -0
- package/esm2015/lib/components/{table → tables/table}/page-sizes-list/page-sizes-list.component.js +1 -1
- package/esm2015/lib/components/tables/table/public-api.js +6 -0
- package/esm2015/lib/components/tables/table/table/table.component.js +302 -0
- package/esm2015/lib/components/tables/table/table.module.js +69 -0
- package/esm2015/lib/core/services/index.js +3 -0
- package/esm2015/lib/shared/models/index.js +2 -1
- package/esm2015/lib/shared/models/types-helper.js +2 -0
- package/esm2015/public-api.js +4 -7
- package/fesm2015/nuxeo-development-framework.js +6335 -554
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +1 -1
- package/lib/components/dynamic-search/dynamic-search.module.d.ts +1 -1
- package/lib/components/ndf-datepicker/adapters/hijri-adapter.d.ts +35 -0
- package/lib/components/ndf-datepicker/adapters/index.d.ts +2 -0
- package/lib/components/ndf-datepicker/adapters/moment-adapter.d.ts +50 -0
- package/lib/components/ndf-datepicker/base/base-value-accessor.d.ts +38 -0
- package/lib/components/ndf-datepicker/base/index.d.ts +1 -0
- package/lib/components/ndf-datepicker/components/base-datepicker.d.ts +13 -0
- package/lib/components/ndf-datepicker/components/index.d.ts +3 -0
- package/lib/components/ndf-datepicker/components/input-date.component.d.ts +19 -0
- package/lib/components/ndf-datepicker/components/input-range-date.component.d.ts +19 -0
- package/lib/components/ndf-datepicker/constants/date-locale-keys.d.ts +6 -0
- package/lib/components/ndf-datepicker/constants/date-picker.d.ts +1 -0
- package/lib/components/ndf-datepicker/constants/date-type.d.ts +4 -0
- package/lib/components/ndf-datepicker/constants/formats.d.ts +5 -0
- package/lib/components/ndf-datepicker/constants/hijri-dates-names.d.ts +12 -0
- package/lib/components/ndf-datepicker/constants/index.d.ts +5 -0
- package/lib/components/ndf-datepicker/containers/datepicker-container.d.ts +15 -0
- package/lib/components/ndf-datepicker/containers/index.d.ts +2 -0
- package/lib/components/ndf-datepicker/containers/ndf-gregorian-datepicker.component.d.ts +10 -0
- package/lib/components/ndf-datepicker/containers/ndf-hijri-datepicker.component.d.ts +10 -0
- package/lib/components/ndf-datepicker/index.d.ts +9 -0
- package/lib/components/ndf-datepicker/models/data-types.d.ts +11 -0
- package/lib/components/ndf-datepicker/models/index.d.ts +2 -0
- package/lib/components/ndf-datepicker/models/value-object.d.ts +8 -0
- package/lib/components/ndf-datepicker/ndf-datepicker.component.d.ts +42 -0
- package/lib/components/ndf-datepicker/ndf-datepicker.module.d.ts +20 -0
- package/lib/components/ndf-datepicker/services/calendar.service.d.ts +33 -0
- package/lib/components/ndf-datepicker/services/index.d.ts +2 -0
- package/lib/components/ndf-datepicker/services/localize-state.service.d.ts +34 -0
- package/lib/components/no-data-found/index.d.ts +2 -0
- package/lib/components/no-data-found/no-data-found.component.d.ts +8 -0
- package/lib/components/no-data-found/no-data.module.d.ts +9 -0
- package/lib/components/notifications/models/common.d.ts +0 -1
- package/lib/components/{dynamic-table → tables/dynamic-table}/dynamic-table/dynamic-table.component.d.ts +7 -3
- package/lib/components/{dynamic-table → tables/dynamic-table}/dynamic-table.module.d.ts +3 -3
- package/lib/components/tables/index.d.ts +1 -0
- package/lib/components/tables/ndf-table/components/index.d.ts +5 -0
- package/lib/components/tables/ndf-table/components/mode-toggler/mode-toggler.component.d.ts +13 -0
- package/lib/components/tables/ndf-table/components/sorting-list/sorting-list.component.d.ts +12 -0
- package/lib/components/tables/ndf-table/components/table-columns-toggler/table-columns-toggler.component.d.ts +35 -0
- package/lib/components/tables/ndf-table/components/table-export/table-export.component.d.ts +13 -0
- package/lib/components/tables/ndf-table/components/text-search/text-search.component.d.ts +21 -0
- package/lib/components/tables/ndf-table/constants/index.d.ts +1 -0
- package/lib/components/tables/ndf-table/constants/sizes.d.ts +4 -0
- package/lib/components/tables/ndf-table/containers/index.d.ts +1 -0
- package/lib/components/tables/ndf-table/containers/ndf-table/ndf-table.component.d.ts +119 -0
- package/lib/components/tables/ndf-table/directives/actions.directive.d.ts +9 -0
- package/lib/components/tables/ndf-table/directives/filter-custom.directive.d.ts +9 -0
- package/lib/components/tables/ndf-table/directives/fluid-height.directive.d.ts +36 -0
- package/lib/components/tables/ndf-table/directives/index.d.ts +4 -0
- package/lib/components/tables/ndf-table/directives/search.directive.d.ts +9 -0
- package/lib/components/tables/ndf-table/filters-panel/base/base-aggregation-field.component.d.ts +35 -0
- package/lib/components/tables/ndf-table/filters-panel/base/base-checkbox-radio.component.d.ts +22 -0
- package/lib/components/tables/ndf-table/filters-panel/base/base-custom-field.component.d.ts +19 -0
- package/lib/components/tables/ndf-table/filters-panel/base/base-predicate-field.component.d.ts +15 -0
- package/lib/components/tables/ndf-table/filters-panel/base/base-value-accessor.component.d.ts +20 -0
- package/lib/components/tables/ndf-table/filters-panel/base/index.d.ts +5 -0
- package/lib/components/tables/ndf-table/filters-panel/components/__parts/field-header.component.d.ts +5 -0
- package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-autocomplete-input/filter-autocomplete-input.component.d.ts +35 -0
- package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-autocomplete-input/filter-autocomplete.service.d.ts +13 -0
- package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-collapse-control/filter-collapse-control.component.d.ts +12 -0
- package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-date-range/filter-date-range.component.d.ts +16 -0
- package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-empty-message.component.d.ts +6 -0
- package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-option-text/filter-option-text.component.d.ts +9 -0
- package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-options-sort/filter-options-sort.component.d.ts +11 -0
- package/lib/components/tables/ndf-table/filters-panel/components/__parts/filter-search-input/filter-search-input.component.d.ts +10 -0
- package/lib/components/tables/ndf-table/filters-panel/components/__parts/html-dialog/html-dialog.component.d.ts +10 -0
- package/lib/components/tables/ndf-table/filters-panel/components/__parts/index.d.ts +9 -0
- package/lib/components/tables/ndf-table/filters-panel/components/aggregation-autocomplete/aggregation-autocomplete.component.d.ts +20 -0
- package/lib/components/tables/ndf-table/filters-panel/components/aggregation-checkbox/aggregation-checkbox.component.d.ts +10 -0
- package/lib/components/tables/ndf-table/filters-panel/components/aggregation-custom/aggregation-custom.component.d.ts +9 -0
- package/lib/components/tables/ndf-table/filters-panel/components/aggregation-date-list/aggregation-date-list.component.d.ts +41 -0
- package/lib/components/tables/ndf-table/filters-panel/components/aggregation-radio/aggregation-radio.component.d.ts +11 -0
- package/lib/components/tables/ndf-table/filters-panel/components/aggregation-select/aggregation-select.component.d.ts +14 -0
- package/lib/components/tables/ndf-table/filters-panel/components/aggregation-switch/aggregation-switch.component.d.ts +11 -0
- package/lib/components/tables/ndf-table/filters-panel/components/index.d.ts +10 -0
- package/lib/components/tables/ndf-table/filters-panel/components/predicate-date-input/predicate-date-input.component.d.ts +25 -0
- package/lib/components/tables/ndf-table/filters-panel/components/predicate-text-input/predicate-text-input.component.d.ts +40 -0
- package/lib/components/tables/ndf-table/filters-panel/constants/common.d.ts +3 -0
- package/lib/components/tables/ndf-table/filters-panel/constants/field.d.ts +5 -0
- package/lib/components/tables/ndf-table/filters-panel/constants/index.d.ts +4 -0
- package/lib/components/tables/ndf-table/filters-panel/constants/operators.d.ts +17 -0
- package/lib/components/tables/ndf-table/filters-panel/constants/sort.d.ts +2 -0
- package/lib/components/tables/ndf-table/filters-panel/constants/type.d.ts +25 -0
- package/lib/components/tables/ndf-table/filters-panel/containers/aggregation-field/aggregation-field.component.d.ts +13 -0
- package/lib/components/tables/ndf-table/filters-panel/containers/base-field.d.ts +21 -0
- package/lib/components/tables/ndf-table/filters-panel/containers/custom-field/custom-field.component.d.ts +13 -0
- package/lib/components/tables/ndf-table/filters-panel/containers/filters-panel/base-filters-panel.d.ts +19 -0
- package/lib/components/tables/ndf-table/filters-panel/containers/filters-panel/filters-panel.component.d.ts +48 -0
- package/lib/components/tables/ndf-table/filters-panel/containers/index.d.ts +4 -0
- package/lib/components/tables/ndf-table/filters-panel/containers/predicate-field/predicate-field.component.d.ts +12 -0
- package/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/active-user-switch.component.d.ts +14 -0
- package/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/active-user.service.d.ts +8 -0
- package/lib/components/tables/ndf-table/filters-panel/custom-components/active-user-switch/user-types.d.ts +29 -0
- package/lib/components/tables/ndf-table/filters-panel/custom-components/index.d.ts +1 -0
- package/lib/components/tables/ndf-table/filters-panel/directives/autocomplete-template.directive.d.ts +9 -0
- package/lib/components/tables/ndf-table/filters-panel/directives/checkbox-template.directive.d.ts +9 -0
- package/lib/components/tables/ndf-table/filters-panel/directives/custom-template.directive.d.ts +9 -0
- package/lib/components/tables/ndf-table/filters-panel/directives/date-template.directive.d.ts +9 -0
- package/lib/components/tables/ndf-table/filters-panel/directives/dropdown-label-template.directive.d.ts +16 -0
- package/lib/components/tables/ndf-table/filters-panel/directives/dropdown-template.directive.d.ts +9 -0
- package/lib/components/tables/ndf-table/filters-panel/directives/index.d.ts +8 -0
- package/lib/components/tables/ndf-table/filters-panel/directives/radio-template.directive.d.ts +9 -0
- package/lib/components/tables/ndf-table/filters-panel/directives/switch-template.directive.d.ts +9 -0
- package/lib/components/tables/ndf-table/filters-panel/filters-panel.module.d.ts +65 -0
- package/lib/components/tables/ndf-table/filters-panel/index.d.ts +11 -0
- package/lib/components/tables/ndf-table/filters-panel/models/aggregation-field-config.d.ts +42 -0
- package/lib/components/tables/ndf-table/filters-panel/models/aggregation-response.model.d.ts +20 -0
- package/lib/components/tables/ndf-table/filters-panel/models/base-field-config.d.ts +13 -0
- package/lib/components/tables/ndf-table/filters-panel/models/common.d.ts +5 -0
- package/lib/components/tables/ndf-table/filters-panel/models/custom-field-config.d.ts +7 -0
- package/lib/components/tables/ndf-table/filters-panel/models/field-config.model.d.ts +14 -0
- package/lib/components/tables/ndf-table/filters-panel/models/field-options/autocomplete-options.d.ts +6 -0
- package/lib/components/tables/ndf-table/filters-panel/models/field-options/checkbox-options.d.ts +6 -0
- package/lib/components/tables/ndf-table/filters-panel/models/field-options/common-utils.d.ts +35 -0
- package/lib/components/tables/ndf-table/filters-panel/models/field-options/custom-fields-options.d.ts +9 -0
- package/lib/components/tables/ndf-table/filters-panel/models/field-options/custom-options.d.ts +5 -0
- package/lib/components/tables/ndf-table/filters-panel/models/field-options/date-list-options.d.ts +10 -0
- package/lib/components/tables/ndf-table/filters-panel/models/field-options/date-options.d.ts +22 -0
- package/lib/components/tables/ndf-table/filters-panel/models/field-options/dropdown-options.d.ts +6 -0
- package/lib/components/tables/ndf-table/filters-panel/models/field-options/index.d.ts +11 -0
- package/lib/components/tables/ndf-table/filters-panel/models/field-options/input-options.d.ts +40 -0
- package/lib/components/tables/ndf-table/filters-panel/models/field-options/radio-options.d.ts +6 -0
- package/lib/components/tables/ndf-table/filters-panel/models/field-options/switch-options.d.ts +6 -0
- package/lib/components/tables/ndf-table/filters-panel/models/filter-option.model.d.ts +13 -0
- package/lib/components/tables/ndf-table/filters-panel/models/form-query-request.d.ts +5 -0
- package/lib/components/tables/ndf-table/filters-panel/models/index.d.ts +12 -0
- package/lib/components/tables/ndf-table/filters-panel/models/predicate-field-config.d.ts +7 -0
- package/lib/components/tables/ndf-table/filters-panel/models/types-helper.d.ts +47 -0
- package/lib/components/tables/ndf-table/filters-panel/models/value-object.model.d.ts +18 -0
- package/lib/components/tables/ndf-table/filters-panel/pipes/autocomplete-filter.pipe.d.ts +11 -0
- package/lib/components/tables/ndf-table/filters-panel/pipes/filter.pipe.d.ts +11 -0
- package/lib/components/tables/ndf-table/filters-panel/pipes/hash-translate.pipe.d.ts +18 -0
- package/lib/components/tables/ndf-table/filters-panel/pipes/index.d.ts +8 -0
- package/lib/components/tables/ndf-table/filters-panel/pipes/localized-label.pipe.d.ts +14 -0
- package/lib/components/tables/ndf-table/filters-panel/pipes/roles-filters.pipe.d.ts +12 -0
- package/lib/components/tables/ndf-table/filters-panel/pipes/sanitizer.pipe.d.ts +10 -0
- package/lib/components/tables/ndf-table/filters-panel/pipes/sort.pipe.d.ts +11 -0
- package/lib/components/tables/ndf-table/filters-panel/pipes/tooltip.pipe.d.ts +21 -0
- package/lib/components/tables/ndf-table/filters-panel/services/aggregation-field.service.d.ts +16 -0
- package/lib/components/tables/ndf-table/filters-panel/services/dynamic-component-loader.service.d.ts +18 -0
- package/lib/components/tables/ndf-table/filters-panel/services/filters-query.service.d.ts +58 -0
- package/lib/components/tables/ndf-table/filters-panel/services/index.d.ts +4 -0
- package/lib/components/tables/ndf-table/filters-panel/services/ndf-transform.service.d.ts +55 -0
- package/lib/components/tables/ndf-table/filters-panel/utility/index.d.ts +2 -0
- package/lib/components/tables/ndf-table/filters-panel/utility/nxql.d.ts +19 -0
- package/lib/components/tables/ndf-table/filters-panel/utility/object.d.ts +7 -0
- package/lib/components/tables/ndf-table/index.d.ts +1 -0
- package/lib/components/tables/ndf-table/models/index.d.ts +7 -0
- package/lib/components/tables/ndf-table/models/payload-types.d.ts +28 -0
- package/lib/components/tables/ndf-table/models/search.config.d.ts +13 -0
- package/lib/components/tables/ndf-table/models/table-column.d.ts +34 -0
- package/lib/components/tables/ndf-table/models/table-config.d.ts +45 -0
- package/lib/components/tables/ndf-table/models/table-mode.d.ts +25 -0
- package/lib/components/tables/ndf-table/models/table-options.d.ts +54 -0
- package/lib/components/tables/ndf-table/models/types.d.ts +38 -0
- package/lib/components/tables/ndf-table/ndf-table.module.d.ts +32 -0
- package/lib/components/tables/ndf-table/public-api.d.ts +7 -0
- package/lib/components/tables/ndf-table/services/filters-mapper.service.d.ts +17 -0
- package/lib/components/tables/ndf-table/services/index.d.ts +2 -0
- package/lib/components/tables/ndf-table/services/ndf-table.service.d.ts +10 -0
- package/lib/components/tables/ndf-table/utils/index.d.ts +1 -0
- package/lib/components/tables/ndf-table/utils/nxql-query.d.ts +10 -0
- package/lib/components/tables/public-api.d.ts +3 -0
- package/lib/components/{table → tables/table}/dynamic-column/dynamic-column.component.d.ts +1 -1
- package/lib/components/{table → tables/table}/dynamic-component.d.ts +1 -1
- package/lib/components/tables/table/index.d.ts +1 -0
- package/lib/components/tables/table/public-api.d.ts +5 -0
- package/lib/components/{table → tables/table}/table/table.component.d.ts +6 -5
- package/lib/components/{table → tables/table}/table.module.d.ts +3 -3
- package/lib/core/services/index.d.ts +2 -0
- package/lib/shared/models/index.d.ts +1 -0
- package/lib/shared/models/types-helper.d.ts +1 -0
- package/package.json +3 -2
- package/public-api.d.ts +3 -6
- package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +0 -349
- package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +0 -51
- package/esm2015/lib/components/dynamic-table/public-api.js +0 -5
- package/esm2015/lib/components/dynamic-table/services/dynamic-table.service.js +0 -16
- package/esm2015/lib/components/table/dynamic-column/dynamic-column.component.js +0 -68
- package/esm2015/lib/components/table/dynamic-component.js +0 -59
- package/esm2015/lib/components/table/table/table.component.js +0 -300
- package/esm2015/lib/components/table/table.module.js +0 -69
- /package/lib/components/{dynamic-table → tables/dynamic-table}/directives/empty-state.directive.d.ts +0 -0
- /package/lib/components/{dynamic-table → tables/dynamic-table}/index.d.ts +0 -0
- /package/lib/components/{dynamic-table → tables/dynamic-table}/public-api.d.ts +0 -0
- /package/lib/components/{dynamic-table → tables/dynamic-table}/services/dynamic-table.service.d.ts +0 -0
- /package/lib/components/{table → tables/table}/page-sizes-list/page-sizes-list.component.d.ts +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { BaseComponent } from '../../../../../shared/components';
|
|
4
|
+
import { TableColumnConfig, TableSortConfig } from '../../models';
|
|
5
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
6
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class TableColumnsTogglerComponent extends BaseComponent implements OnInit, OnChanges, OnDestroy {
|
|
9
|
+
prefix: string;
|
|
10
|
+
sortEnabled: boolean;
|
|
11
|
+
frozenColumnsNames: string[];
|
|
12
|
+
set sortable(value: TableSortConfig);
|
|
13
|
+
enableSorting: boolean;
|
|
14
|
+
frozenColumns: TableColumnConfig[];
|
|
15
|
+
defaultColumns: TableColumnConfig[];
|
|
16
|
+
columnsSelection: SelectionModel<TableColumnConfig>;
|
|
17
|
+
private _cols;
|
|
18
|
+
private columnsChange$;
|
|
19
|
+
set columns(cols: TableColumnConfig[]);
|
|
20
|
+
get columns(): TableColumnConfig[];
|
|
21
|
+
columnsChanged: EventEmitter<TableColumnConfig[]>;
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
onCheckAllChange({ checked }: MatCheckboxChange): void;
|
|
26
|
+
toggleSorting(): void;
|
|
27
|
+
drop(event: CdkDragDrop<any[]>): void;
|
|
28
|
+
applySort(): void;
|
|
29
|
+
private _selectAll;
|
|
30
|
+
private _deselectAll;
|
|
31
|
+
private _filterByVisibility;
|
|
32
|
+
private _updateColumns;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnsTogglerComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableColumnsTogglerComponent, "table-columns-toggler", never, { "prefix": "prefix"; "sortable": "sortable"; "columns": "columns"; }, { "columnsChanged": "columnsChanged"; }, never, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { TableExportConfig, ExportType } from '../../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TableExportComponent {
|
|
5
|
+
private _exportType;
|
|
6
|
+
private _config;
|
|
7
|
+
set config(config: TableExportConfig);
|
|
8
|
+
get config(): TableExportConfig;
|
|
9
|
+
onExport: EventEmitter<"pdf" | "excel" | "docx">;
|
|
10
|
+
export(type: ExportType): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableExportComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableExportComponent, "ndf-table-export", never, { "config": "config"; }, { "onExport": "onExport"; }, never, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { DestroySubject } from '../../../../../shared/components';
|
|
4
|
+
import { GlobalSearchConfig } from '../../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TextSearchComponent extends DestroySubject implements OnInit {
|
|
7
|
+
internalValue: FormControl;
|
|
8
|
+
searchConfig: GlobalSearchConfig;
|
|
9
|
+
set search(val: string);
|
|
10
|
+
searchChange: EventEmitter<string>;
|
|
11
|
+
openModal: EventEmitter<void>;
|
|
12
|
+
clear: EventEmitter<void>;
|
|
13
|
+
get dialogConfig(): import("../../filters-panel").HtmlDialogConfig;
|
|
14
|
+
get sendMode(): "realTime" | "triggered";
|
|
15
|
+
get showSendButton(): boolean;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
onSearch(value?: string): void;
|
|
18
|
+
onReset(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextSearchComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextSearchComponent, "app-text-search", never, { "searchConfig": "searchConfig"; "search": "search"; }, { "searchChange": "searchChange"; "openModal": "openModal"; "clear": "clear"; }, never, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sizes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ndf-table/ndf-table.component';
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
2
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { AggregationResponse, FormQueryModel } from '../../filters-panel';
|
|
6
|
+
import { CustomCriteriaModel, ExportType, NdfTableConfig, SortTableItem, TableColumnConfig, TableSortOptions, TableViewMode } from '../../models';
|
|
7
|
+
import { FiltersMapperService, NdfTableService } from '../../services';
|
|
8
|
+
import { PageEvent } from '@angular/material/paginator/paginator';
|
|
9
|
+
import { DestroySubject } from '../../../../../shared/components';
|
|
10
|
+
import { NuxeoPagination } from '../../../../../shared/models';
|
|
11
|
+
import { DynamicTableService } from '../../../dynamic-table';
|
|
12
|
+
import { CustomToastrService } from '../../../../custom-toastr/services/custom-toastr.service';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export declare class NdfTableComponent extends DestroySubject {
|
|
15
|
+
private _filtersMapper;
|
|
16
|
+
private _dynamicTableService;
|
|
17
|
+
private _translateService;
|
|
18
|
+
private _ngTableService;
|
|
19
|
+
private _toastrService;
|
|
20
|
+
private _dialog;
|
|
21
|
+
private readonly _aggregationsSub;
|
|
22
|
+
private readonly _displayedColumnsSub;
|
|
23
|
+
private readonly _sortOptionSub;
|
|
24
|
+
private readonly _viewModeSub;
|
|
25
|
+
private readonly _textSearchSub;
|
|
26
|
+
private readonly _activatedCriteriaSub;
|
|
27
|
+
private readonly _customCriteriaSub;
|
|
28
|
+
readonly aggregations$: import("rxjs").Observable<Record<string, AggregationResponse>>;
|
|
29
|
+
readonly displayedColumns$: import("rxjs").Observable<TableColumnConfig[]>;
|
|
30
|
+
readonly sortOption$: import("rxjs").Observable<TableSortOptions>;
|
|
31
|
+
readonly viewMode$: import("rxjs").Observable<TableViewMode>;
|
|
32
|
+
readonly customFilters$: import("rxjs").Observable<{
|
|
33
|
+
params?: Record<string, any>;
|
|
34
|
+
payload?: {
|
|
35
|
+
predicateList: any[];
|
|
36
|
+
} & Record<string, any>;
|
|
37
|
+
}>;
|
|
38
|
+
readonly textSearch$: import("rxjs").Observable<string>;
|
|
39
|
+
readonly searchAndFilters$: import("rxjs").Observable<any>;
|
|
40
|
+
rows: Array<unknown>;
|
|
41
|
+
totalRecords: number;
|
|
42
|
+
autoCalculateHeight: boolean;
|
|
43
|
+
emptyMessage: string;
|
|
44
|
+
activeQuery: FormQueryModel;
|
|
45
|
+
set customCriteria(criteria: CustomCriteriaModel);
|
|
46
|
+
set searchTerm(value: string);
|
|
47
|
+
onRowSelected: EventEmitter<any>;
|
|
48
|
+
onRowIndexSelected: EventEmitter<any>;
|
|
49
|
+
actionOnRow: EventEmitter<any>;
|
|
50
|
+
onGettingData: EventEmitter<any>;
|
|
51
|
+
onMultiRowSelected: EventEmitter<any>;
|
|
52
|
+
onLoading: EventEmitter<any>;
|
|
53
|
+
onPage: EventEmitter<PageEvent>;
|
|
54
|
+
onInitialized: EventEmitter<NuxeoPagination<any>>;
|
|
55
|
+
onLoaded: EventEmitter<NuxeoPagination<any>>;
|
|
56
|
+
onQueryChange: EventEmitter<any>;
|
|
57
|
+
onSort: EventEmitter<TableSortOptions>;
|
|
58
|
+
actionsTableTemplate: TemplateRef<any>;
|
|
59
|
+
searchTableTemplate: TemplateRef<any>;
|
|
60
|
+
filterCustomTemplate: TemplateRef<any>;
|
|
61
|
+
private _tableConfigSub;
|
|
62
|
+
set config(config: NdfTableConfig);
|
|
63
|
+
get config(): NdfTableConfig;
|
|
64
|
+
get options(): import("../../models").NdfTableOptions;
|
|
65
|
+
get filtersConfig(): import("../../models").FiltersConfig;
|
|
66
|
+
get sortList(): SortTableItem[];
|
|
67
|
+
get columnsOptions(): {
|
|
68
|
+
toggle?: boolean;
|
|
69
|
+
sortable?: import("../../models").TableSortConfig;
|
|
70
|
+
};
|
|
71
|
+
get columnToggle(): boolean;
|
|
72
|
+
get tableMode(): import("../../models").TableModeConfig;
|
|
73
|
+
get panelConfig(): {
|
|
74
|
+
visible?: boolean;
|
|
75
|
+
toggleButton?: boolean;
|
|
76
|
+
};
|
|
77
|
+
get isPanelToggleAvailable(): boolean;
|
|
78
|
+
get textSearchConfig(): import("../../models").GlobalSearchConfig;
|
|
79
|
+
get filterReloadConfig(): import("../../models").FilterReloadConfig;
|
|
80
|
+
get exportTableConfig(): import("../../models").TableExportConfig;
|
|
81
|
+
readonly defaultSort: {
|
|
82
|
+
prop: string;
|
|
83
|
+
dir: string;
|
|
84
|
+
}[];
|
|
85
|
+
direction: Direction;
|
|
86
|
+
isPanelOpened: boolean;
|
|
87
|
+
readonly defaultPageSizes: {
|
|
88
|
+
label: string;
|
|
89
|
+
size: number;
|
|
90
|
+
}[];
|
|
91
|
+
private _isConfigChanged;
|
|
92
|
+
private _tableInitialized;
|
|
93
|
+
private _pageChanged;
|
|
94
|
+
private _activePage;
|
|
95
|
+
private _sortValue;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
*/
|
|
99
|
+
constructor(_filtersMapper: FiltersMapperService, _dynamicTableService: DynamicTableService, _translateService: TranslateService, _ngTableService: NdfTableService, _toastrService: CustomToastrService, _dialog: MatDialog);
|
|
100
|
+
togglePanel(): void;
|
|
101
|
+
onLoad(data: NuxeoPagination<any>): void;
|
|
102
|
+
onInitialize(data: NuxeoPagination<any>): void;
|
|
103
|
+
columnsChanged(columns: TableColumnConfig[]): void;
|
|
104
|
+
sortChanged(sort: SortTableItem): void;
|
|
105
|
+
modeChanged(mode: TableViewMode): void;
|
|
106
|
+
onSortChanged(sort: TableSortOptions): void;
|
|
107
|
+
exportTable(type: ExportType): void;
|
|
108
|
+
filterChanged(criteria: Record<string, any>): void;
|
|
109
|
+
onTextSearch(text: string): void;
|
|
110
|
+
onClearSearch(): void;
|
|
111
|
+
openSearchModal(): void;
|
|
112
|
+
onPageChanged(page: PageEvent): void;
|
|
113
|
+
private _filterByVisibility;
|
|
114
|
+
private _prepareSearch;
|
|
115
|
+
private _stringifyValues;
|
|
116
|
+
private _triggerCriteriaChanges;
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NdfTableComponent, never>;
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NdfTableComponent, "app-ndf-table", never, { "rows": "rows"; "totalRecords": "totalRecords"; "autoCalculateHeight": "autoCalculateHeight"; "emptyMessage": "emptyMessage"; "activeQuery": "activeQuery"; "customCriteria": "customCriteria"; "searchTerm": "searchTerm"; "config": "config"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "actionOnRow": "actionOnRow"; "onGettingData": "onGettingData"; "onMultiRowSelected": "onMultiRowSelected"; "onLoading": "onLoading"; "onPage": "onPage"; "onInitialized": "onInitialized"; "onLoaded": "onLoaded"; "onQueryChange": "onQueryChange"; "onSort": "onSort"; }, ["actionsTableTemplate", "searchTableTemplate", "filterCustomTemplate"], never>;
|
|
119
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const ACTIONS_TABLE_TEMPLATE: InjectionToken<ActionsTableTemplateDirective>;
|
|
4
|
+
export declare class ActionsTableTemplateDirective {
|
|
5
|
+
template: TemplateRef<any>;
|
|
6
|
+
constructor(template: TemplateRef<any>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsTableTemplateDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ActionsTableTemplateDirective, "[headerTableTemplate]", never, {}, {}, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const FILTER_CUSTOM_TEMPLATE: InjectionToken<FilterCustomTemplateDirective>;
|
|
4
|
+
export declare class FilterCustomTemplateDirective {
|
|
5
|
+
template: TemplateRef<any>;
|
|
6
|
+
constructor(template: TemplateRef<any>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterCustomTemplateDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterCustomTemplateDirective, "[filterCustomTemplate]", never, {}, {}, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, NgZone, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FluidHeightDirective implements AfterViewInit, OnDestroy {
|
|
5
|
+
private renderer;
|
|
6
|
+
private elementRef;
|
|
7
|
+
private ngZone;
|
|
8
|
+
minHeight: number;
|
|
9
|
+
topOffset: number;
|
|
10
|
+
subtractItems: string[];
|
|
11
|
+
decrease: number;
|
|
12
|
+
delay: number;
|
|
13
|
+
calculate: boolean;
|
|
14
|
+
private _inlineStyle;
|
|
15
|
+
get inlineStyle(): boolean;
|
|
16
|
+
set inlineStyle(value: boolean);
|
|
17
|
+
private _domElement;
|
|
18
|
+
private _animationId?;
|
|
19
|
+
private _resizeListener;
|
|
20
|
+
constructor(renderer: Renderer2, elementRef: ElementRef, ngZone: NgZone);
|
|
21
|
+
ngAfterViewInit(): void;
|
|
22
|
+
scheduleSetHeight(delay?: number): void;
|
|
23
|
+
private onResize;
|
|
24
|
+
private setHeight;
|
|
25
|
+
private _getSelectorHeight;
|
|
26
|
+
private _calcTopOffset;
|
|
27
|
+
static ngAcceptInputType_inlineStyle: BooleanInput;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FluidHeightDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FluidHeightDirective, "[ndfFluidHeight]", ["ndfFluidHeight"], { "minHeight": "minHeight"; "topOffset": "ndfFluidHeight"; "subtractItems": "subtractItems"; "decrease": "decrease"; "delay": "delay"; "calculate": "calculate"; "inlineStyle": "inlineStyle"; }, {}, never>;
|
|
31
|
+
}
|
|
32
|
+
export declare class FluidHeightModule {
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FluidHeightModule, never>;
|
|
34
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FluidHeightModule, [typeof FluidHeightDirective], never, [typeof FluidHeightDirective]>;
|
|
35
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FluidHeightModule>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const SEARCH_TABLE_TEMPLATE: InjectionToken<SearchTableTemplateDirective>;
|
|
4
|
+
export declare class SearchTableTemplateDirective {
|
|
5
|
+
template: TemplateRef<any>;
|
|
6
|
+
constructor(template: TemplateRef<any>);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchTableTemplateDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SearchTableTemplateDirective, "[searchTableTemplate]", never, {}, {}, never>;
|
|
9
|
+
}
|
package/lib/components/tables/ndf-table/filters-panel/base/base-aggregation-field.component.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Injector, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { BaseSelector } from '../../../../../shared/components';
|
|
4
|
+
import { BehaviorSubject } from 'rxjs';
|
|
5
|
+
import { AggregationFieldConfig, AggregationFieldType, AggregationResponse, FieldOptionsType, FieldValueObject, FilterOption, OptionsType } from '../models';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare abstract class BaseAggregationField<TType extends AggregationFieldType, TValue = any> extends BaseSelector<FilterOption[], TValue> {
|
|
8
|
+
protected injector: Injector;
|
|
9
|
+
private readonly _aggregationService;
|
|
10
|
+
searchText: string;
|
|
11
|
+
contentTemplate: TemplateRef<any> | undefined;
|
|
12
|
+
protected _isFieldDirty: boolean;
|
|
13
|
+
protected _sourceState: BehaviorSubject<FieldOptionsType>;
|
|
14
|
+
sourceState$: import("rxjs").Observable<FieldOptionsType>;
|
|
15
|
+
renderOptions$: import("rxjs").Observable<OptionsType<TType>>;
|
|
16
|
+
protected _optionsSub: BehaviorSubject<FilterOption[]>;
|
|
17
|
+
prefix: string;
|
|
18
|
+
set fieldConfig(val: AggregationFieldConfig);
|
|
19
|
+
get fieldConfig(): AggregationFieldConfig;
|
|
20
|
+
set aggregation(val: AggregationResponse);
|
|
21
|
+
get aggregation(): AggregationResponse;
|
|
22
|
+
get renderOptions(): OptionsType<TType>;
|
|
23
|
+
get language(): string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
constructor(injector: Injector);
|
|
28
|
+
validate(control: AbstractControl): ValidationErrors;
|
|
29
|
+
protected _isValueObject(): boolean;
|
|
30
|
+
protected _isSendAsQueryParams(): boolean;
|
|
31
|
+
protected _prepareValueObject(value: TValue, operator?: import("../models").ComparisonOperator, prefix?: string): FieldValueObject<TValue>;
|
|
32
|
+
private _updateOption;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseAggregationField<any, any>, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseAggregationField<any, any>, never, never, { "contentTemplate": "contentTemplate"; "prefix": "prefix"; "fieldConfig": "fieldConfig"; "aggregation": "aggregation"; }, {}, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
|
+
import { Injector } from '@angular/core';
|
|
3
|
+
import { BaseAggregationField } from '.';
|
|
4
|
+
import { FieldValueObject, SortModel } from '../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class AggregationBaseSelectionComponent<OptType extends 'checkbox' | 'radio' | 'switch'> extends BaseAggregationField<OptType> {
|
|
7
|
+
internalValue: any;
|
|
8
|
+
abstract selectionModel: SelectionModel<unknown>;
|
|
9
|
+
visibleItemsCount: number;
|
|
10
|
+
expandedCount: number;
|
|
11
|
+
sort: SortModel;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
constructor(injector: Injector);
|
|
16
|
+
writeValue(values: any[] | FieldValueObject): void;
|
|
17
|
+
updateValue(): void;
|
|
18
|
+
emitValue(value: string[]): void;
|
|
19
|
+
sortChange(event: SortModel): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AggregationBaseSelectionComponent<any>, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AggregationBaseSelectionComponent<any>, never, never, {}, {}, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { BaseCustomValueAccessor } from './base-value-accessor.component';
|
|
3
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
4
|
+
import { AggregationResponse, CustomFieldConfig, CustomFieldType, FieldValueObject, OptionsType } from '../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class BaseCustomField<FType extends CustomFieldType, T = any, R = any> extends BaseCustomValueAccessor<T, R> {
|
|
7
|
+
injector: Injector;
|
|
8
|
+
aggregations: Record<string, AggregationResponse>;
|
|
9
|
+
field: CustomFieldConfig;
|
|
10
|
+
protected _isFieldDirty: boolean;
|
|
11
|
+
get renderOptions(): OptionsType<FType>;
|
|
12
|
+
constructor(injector: Injector);
|
|
13
|
+
validate(control: AbstractControl): ValidationErrors;
|
|
14
|
+
protected _isValueObject(): boolean;
|
|
15
|
+
protected _isSendAsQueryParams(): boolean;
|
|
16
|
+
protected _prepareValueObject(value: R, operator?: import("../models").ComparisonOperator, prefix?: string): FieldValueObject<R>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseCustomField<any, any, any>, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseCustomField<any, any, any>, never, never, { "aggregations": "aggregations"; "field": "field"; }, {}, never>;
|
|
19
|
+
}
|
package/lib/components/tables/ndf-table/filters-panel/base/base-predicate-field.component.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
+
import { FieldValueObject, OptionsType, PredicateFieldConfig, PredicateFieldType } from '../models';
|
|
3
|
+
import { BaseCustomValueAccessor } from './base-value-accessor.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare abstract class BasePredicateField<FType extends PredicateFieldType, T = any, R = any> extends BaseCustomValueAccessor<T, R> {
|
|
6
|
+
field: PredicateFieldConfig;
|
|
7
|
+
protected _isFieldDirty: boolean;
|
|
8
|
+
get renderOptions(): OptionsType<FType>;
|
|
9
|
+
validate(control: AbstractControl): ValidationErrors;
|
|
10
|
+
protected _isValueObject(): boolean;
|
|
11
|
+
protected _isSendAsQueryParams(): boolean;
|
|
12
|
+
protected _prepareValueObject(value: R, operator?: import("../models").ComparisonOperator, prefix?: string): FieldValueObject<R>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BasePredicateField<any, any, any>, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BasePredicateField<any, any, any>, never, never, { "field": "field"; }, {}, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
+
import { BaseComponent } from '../../../../../shared/components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare abstract class BaseCustomValueAccessor<T, R> extends BaseComponent implements ControlValueAccessor, Validator {
|
|
6
|
+
injector: Injector;
|
|
7
|
+
abstract writeValue(obj: T): void;
|
|
8
|
+
abstract validate(control: AbstractControl): ValidationErrors;
|
|
9
|
+
constructor(injector: Injector);
|
|
10
|
+
onChange: (value: R) => void;
|
|
11
|
+
onTouched: () => void;
|
|
12
|
+
onValidationChange: any;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
registerOnChange(fn: any): void;
|
|
15
|
+
registerOnTouched(fn: any): void;
|
|
16
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
17
|
+
registerOnValidatorChange?(fn: () => void): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseCustomValueAccessor<any, any>, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseCustomValueAccessor<any, any>, never, never, { "disabled": "disabled"; }, {}, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
2
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
3
|
+
import { FormControl } from '@angular/forms';
|
|
4
|
+
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
5
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { AggregationFieldConfig, FilterOption, SearchConfig } from '../../../models';
|
|
8
|
+
import { FilterAutocompleteService } from './filter-autocomplete.service';
|
|
9
|
+
import { DestroySubject } from '../../../../../../../shared/components';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class FilterAutocompleteInputComponent extends DestroySubject implements OnInit {
|
|
12
|
+
private _filterService;
|
|
13
|
+
private cdr;
|
|
14
|
+
private _translate;
|
|
15
|
+
searchChange: EventEmitter<any>;
|
|
16
|
+
direction: Direction;
|
|
17
|
+
language: string;
|
|
18
|
+
private _selectionMade;
|
|
19
|
+
private _fieldConfig;
|
|
20
|
+
set fieldConfig(config: AggregationFieldConfig);
|
|
21
|
+
get fieldConfig(): AggregationFieldConfig;
|
|
22
|
+
searchConfig: SearchConfig['search'];
|
|
23
|
+
searchCtrl: FormControl;
|
|
24
|
+
options$: Observable<any>;
|
|
25
|
+
selectedOption: FilterOption;
|
|
26
|
+
private _isLoadingResultSub;
|
|
27
|
+
isLoadingResult$: Observable<boolean>;
|
|
28
|
+
constructor(_filterService: FilterAutocompleteService, cdr: ChangeDetectorRef, _translate: TranslateService);
|
|
29
|
+
displayFn: (option: FilterOption) => any;
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
onOptionSelected({ option: { value } }: MatAutocompleteSelectedEvent): void;
|
|
32
|
+
reset(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterAutocompleteInputComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterAutocompleteInputComponent, "filter-autocomplete-input", never, { "direction": "direction"; "language": "language"; "fieldConfig": "fieldConfig"; }, { "searchChange": "searchChange"; }, never, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { BaseService } from '../../../../../../../shared/services/base';
|
|
3
|
+
import { AggregationFieldConfig, EvaluatedString, SearchConfig } from '../../../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FilterAutocompleteService extends BaseService {
|
|
6
|
+
private injector;
|
|
7
|
+
private readonly _aggregationService;
|
|
8
|
+
constructor(injector: Injector);
|
|
9
|
+
customSearch(searchText: string, query: SearchConfig['search']['query'], fieldConfig: AggregationFieldConfig): import("rxjs").Observable<import("../../../models").FilterOption[]>;
|
|
10
|
+
replacePlaceholder(template: EvaluatedString, searchText: string): string;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterAutocompleteService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FilterAutocompleteService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FilterCollapseControlComponent {
|
|
4
|
+
minCount: number;
|
|
5
|
+
totalItems: number;
|
|
6
|
+
visibleCount: number;
|
|
7
|
+
visibleCountChange: EventEmitter<number>;
|
|
8
|
+
more(): void;
|
|
9
|
+
less(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterCollapseControlComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterCollapseControlComponent, "filter-collapse-control", never, { "minCount": "minCount"; "totalItems": "totalItems"; "visibleCount": "visibleCount"; }, { "visibleCountChange": "visibleCountChange"; }, never, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { BaseSelector } from '../../../../../../../shared/components';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FilterDateRangeComponent extends BaseSelector implements OnInit {
|
|
6
|
+
formControl: FormControl;
|
|
7
|
+
writeValue(obj: {
|
|
8
|
+
min: string;
|
|
9
|
+
max: string;
|
|
10
|
+
}): void;
|
|
11
|
+
validate(control: AbstractControl): ValidationErrors;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
private _prepareDateToEmit;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterDateRangeComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterDateRangeComponent, "filter-date-range", never, {}, {}, never, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FilterEmptyMessageComponent {
|
|
3
|
+
message: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterEmptyMessageComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterEmptyMessageComponent, "filter-empty-message", never, { "message": "message"; }, {}, never, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FilterOption } from '../../../models';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FilterOptionTextComponent {
|
|
4
|
+
option: FilterOption;
|
|
5
|
+
showCount: boolean;
|
|
6
|
+
language: 'ar' | 'en' | string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterOptionTextComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterOptionTextComponent, "filter-option-text", never, { "option": "option"; "showCount": "showCount"; "language": "language"; }, {}, never, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { SortModel } from '../../../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FilterOptionsSortComponent {
|
|
5
|
+
options: SortModel[];
|
|
6
|
+
sort: SortModel;
|
|
7
|
+
sortChange: EventEmitter<SortModel>;
|
|
8
|
+
onSortChange(sort: SortModel): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterOptionsSortComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterOptionsSortComponent, "filter-options-sort", never, { "options": "options"; "sort": "sort"; }, { "sortChange": "sortChange"; }, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FilterSearchInputComponent {
|
|
4
|
+
searchText: string;
|
|
5
|
+
searchTextChange: EventEmitter<string>;
|
|
6
|
+
constructor();
|
|
7
|
+
onChange(value: string): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterSearchInputComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterSearchInputComponent, "filter-search-input", never, { "searchText": "searchText"; }, { "searchTextChange": "searchTextChange"; }, never, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { HtmlDialogConfig, StrictOmit } from '../../../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HtmlDialogComponent {
|
|
5
|
+
data: StrictOmit<HtmlDialogConfig, 'options'>;
|
|
6
|
+
dialogRef: MatDialogRef<HtmlDialogComponent>;
|
|
7
|
+
constructor(data: StrictOmit<HtmlDialogConfig, 'options'>, dialogRef: MatDialogRef<HtmlDialogComponent>);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlDialogComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlDialogComponent, "html-dialog", never, {}, {}, never, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './field-header.component';
|
|
2
|
+
export * from './filter-autocomplete-input/filter-autocomplete-input.component';
|
|
3
|
+
export * from './filter-collapse-control/filter-collapse-control.component';
|
|
4
|
+
export * from './filter-date-range/filter-date-range.component';
|
|
5
|
+
export * from './filter-empty-message.component';
|
|
6
|
+
export * from './filter-option-text/filter-option-text.component';
|
|
7
|
+
export * from './filter-search-input/filter-search-input.component';
|
|
8
|
+
export * from './html-dialog/html-dialog.component';
|
|
9
|
+
export * from './filter-options-sort/filter-options-sort.component';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { BaseAggregationField } from '../../base';
|
|
5
|
+
import { FilterOption } from '../../models';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AggregationAutocompleteComponent extends BaseAggregationField<'autocomplete'> implements OnInit {
|
|
8
|
+
autocompleteTemplate: TemplateRef<any> | undefined;
|
|
9
|
+
internalValue: FormControl;
|
|
10
|
+
selectedValueSub: Subject<unknown>;
|
|
11
|
+
private _valueSub;
|
|
12
|
+
displayFn: (value: FilterOption | string) => any;
|
|
13
|
+
writeValue(obj: string): void;
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
private _initValue;
|
|
16
|
+
private _changeValueListener;
|
|
17
|
+
private _updateValueListener;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AggregationAutocompleteComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AggregationAutocompleteComponent, "app-aggregation-autocomplete", never, {}, {}, ["autocompleteTemplate"], never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { AggregationBaseSelectionComponent } from '../../base';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AggregationCheckboxComponent extends AggregationBaseSelectionComponent<'checkbox'> implements OnInit {
|
|
6
|
+
selectionModel: SelectionModel<any>;
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AggregationCheckboxComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AggregationCheckboxComponent, "app-aggregation-checkbox", never, {}, {}, never, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseAggregationField } from '../../base';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AggregationCustomComponent extends BaseAggregationField<'custom'> {
|
|
4
|
+
internalValue: any;
|
|
5
|
+
updateValue: (value: any) => void;
|
|
6
|
+
writeValue(obj: any): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AggregationCustomComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AggregationCustomComponent, "app-aggregation-custom", never, {}, {}, never, never>;
|
|
9
|
+
}
|