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
|
@@ -6,7 +6,7 @@ import { EvaluatorsService } from '../../../directive/permissions/evaluators.ser
|
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
7
|
import { NuxeoService } from '../../../core/services/nuxeo/nuxeo.service';
|
|
8
8
|
import { GlobalAdminService } from '../../../shared-services/global-admin.service';
|
|
9
|
-
import { DynamicTableComponent } from '../../
|
|
9
|
+
import { DynamicTableComponent } from '../../tables';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
12
|
* Dynamic search component uses [Dynamic Table]{@link DynamicTableComponent} & [Dynamic Filter]{@link DynamicFilterComponent} internally,
|
|
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./dynamic-search/dynamic-search.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../card/card.module";
|
|
5
|
-
import * as i4 from "../dynamic-table/dynamic-table.module";
|
|
5
|
+
import * as i4 from "../tables/dynamic-table/dynamic-table.module";
|
|
6
6
|
import * as i5 from "../dynamic-filter/dynamic-filter.module";
|
|
7
7
|
import * as i6 from "../dynamic-form/dynamic-form.module";
|
|
8
8
|
import * as i7 from "@angular/forms";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { DateAdapter } from '@angular/material/core';
|
|
2
|
+
import { Moment } from 'moment-hijri';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HijriAdapterService extends DateAdapter<Moment> {
|
|
5
|
+
private _localeData;
|
|
6
|
+
constructor(matDateLocale: string);
|
|
7
|
+
setLocale(locale: string): void;
|
|
8
|
+
getYear(date: Moment): number;
|
|
9
|
+
getMonth(date: Moment): number;
|
|
10
|
+
getDate(date: Moment): number;
|
|
11
|
+
getDayOfWeek(date: Moment): number;
|
|
12
|
+
getMonthNames(style: 'long' | 'short' | 'narrow'): string[];
|
|
13
|
+
getDateNames(): string[];
|
|
14
|
+
getDayOfWeekNames(style: 'long' | 'short' | 'narrow'): string[];
|
|
15
|
+
getYearName(date: Moment): string;
|
|
16
|
+
getFirstDayOfWeek(): number;
|
|
17
|
+
getNumDaysInMonth(date: Moment): number;
|
|
18
|
+
clone(date: Moment): Moment;
|
|
19
|
+
createDate(year: number, month: number, date: number): Moment;
|
|
20
|
+
today(): Moment;
|
|
21
|
+
parse(value: any, parseFormat: string | string[]): Moment | null;
|
|
22
|
+
format(date: Moment, displayFormat: string): string;
|
|
23
|
+
addCalendarYears(date: Moment, years: number): Moment;
|
|
24
|
+
addCalendarMonths(date: Moment, months: number): Moment;
|
|
25
|
+
addCalendarDays(date: Moment, days: number): Moment;
|
|
26
|
+
toIso8601(date: Moment): string;
|
|
27
|
+
deserialize(value: any): Moment | null;
|
|
28
|
+
isDateInstance(obj: any): boolean;
|
|
29
|
+
isValid(date: Moment): boolean;
|
|
30
|
+
invalid(): Moment;
|
|
31
|
+
private _createMoment;
|
|
32
|
+
private _updateMomentLocales;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HijriAdapterService, [{ optional: true; }]>;
|
|
34
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HijriAdapterService>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { DateAdapter } from '@angular/material/core';
|
|
3
|
+
import { Moment } from 'moment';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface MatMomentDateAdapterOptions {
|
|
6
|
+
strict?: boolean;
|
|
7
|
+
useUtc?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/** InjectionToken for moment date adapter to configure options. */
|
|
10
|
+
export declare const MAT_MOMENT_DATE_ADAPTER_OPTIONS: InjectionToken<MatMomentDateAdapterOptions>;
|
|
11
|
+
/** @docs-private */
|
|
12
|
+
export declare function MAT_MOMENT_DATE_ADAPTER_OPTIONS_FACTORY(): MatMomentDateAdapterOptions;
|
|
13
|
+
export declare class CustomMomentDateAdapter extends DateAdapter<Moment> {
|
|
14
|
+
private _options?;
|
|
15
|
+
private _localeData;
|
|
16
|
+
constructor(dateLocale: string, _options?: MatMomentDateAdapterOptions);
|
|
17
|
+
setLocale(locale: string): void;
|
|
18
|
+
getYear(date: Moment): number;
|
|
19
|
+
getMonth(date: Moment): number;
|
|
20
|
+
getDate(date: Moment): number;
|
|
21
|
+
getDayOfWeek(date: Moment): number;
|
|
22
|
+
getMonthNames(style: 'long' | 'short' | 'narrow'): string[];
|
|
23
|
+
getDateNames(): string[];
|
|
24
|
+
getDayOfWeekNames(style: 'long' | 'short' | 'narrow'): string[];
|
|
25
|
+
getYearName(date: Moment): string;
|
|
26
|
+
getFirstDayOfWeek(): number;
|
|
27
|
+
getNumDaysInMonth(date: Moment): number;
|
|
28
|
+
clone(date: Moment): Moment;
|
|
29
|
+
createDate(year: number, month: number, date: number): Moment;
|
|
30
|
+
today(): Moment;
|
|
31
|
+
parse(value: any, parseFormat: string | string[]): Moment | null;
|
|
32
|
+
format(date: Moment, displayFormat: string): string;
|
|
33
|
+
addCalendarYears(date: Moment, years: number): Moment;
|
|
34
|
+
addCalendarMonths(date: Moment, months: number): Moment;
|
|
35
|
+
addCalendarDays(date: Moment, days: number): Moment;
|
|
36
|
+
toIso8601(date: Moment): string;
|
|
37
|
+
/**
|
|
38
|
+
* Returns the given value if given a valid Moment or null. Deserializes valid ISO 8601 strings
|
|
39
|
+
* (https://www.ietf.org/rfc/rfc3339.txt) and valid Date objects into valid Moments and empty
|
|
40
|
+
* string into null. Returns an invalid date for all other values.
|
|
41
|
+
*/
|
|
42
|
+
deserialize(value: any): Moment | null;
|
|
43
|
+
isDateInstance(obj: any): boolean;
|
|
44
|
+
isValid(date: Moment): boolean;
|
|
45
|
+
invalid(): Moment;
|
|
46
|
+
/** Creates a Moment instance while respecting the current UTC settings. */
|
|
47
|
+
private _createMoment;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMomentDateAdapter, [{ optional: true; }, { optional: true; }]>;
|
|
49
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CustomMomentDateAdapter>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, FormControl, ValidationErrors, Validator } from '@angular/forms';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { CalendarService, LocalizeState } from '../services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class BaseDateValueAccessor<T = any> implements ControlValueAccessor, Validator, OnDestroy, OnInit {
|
|
7
|
+
protected _injector: Injector;
|
|
8
|
+
protected _cdr: ChangeDetectorRef;
|
|
9
|
+
readonly calendarService: CalendarService;
|
|
10
|
+
readonly localState: LocalizeState;
|
|
11
|
+
constructor(_injector: Injector);
|
|
12
|
+
abstract writeValue(obj: T): void;
|
|
13
|
+
abstract validate(control: AbstractControl): ValidationErrors | null;
|
|
14
|
+
onChange: (value: T) => void;
|
|
15
|
+
onTouch: () => void;
|
|
16
|
+
onValidationChange: () => void;
|
|
17
|
+
formControl: FormControl;
|
|
18
|
+
destroy$: Subject<void>;
|
|
19
|
+
set value(val: T);
|
|
20
|
+
get value(): T;
|
|
21
|
+
private _value;
|
|
22
|
+
get required(): boolean;
|
|
23
|
+
set required(req: boolean);
|
|
24
|
+
private _required;
|
|
25
|
+
get disabled(): boolean;
|
|
26
|
+
set disabled(value: boolean);
|
|
27
|
+
set range(value: boolean);
|
|
28
|
+
get range(): boolean;
|
|
29
|
+
registerOnChange(fn: (_: T) => void): void;
|
|
30
|
+
registerOnTouched(fn: () => void): void;
|
|
31
|
+
registerOnValidatorChange?(fn: () => void): void;
|
|
32
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
ngOnDestroy(): void;
|
|
35
|
+
private _getControl;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseDateValueAccessor<any>, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseDateValueAccessor<any>, never, never, { "value": "value"; "required": "required"; "disabled": "disabled"; "range": "range"; }, {}, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './base-value-accessor';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import { DateAdapter } from '@angular/material/core';
|
|
3
|
+
import { MatDatepicker } from '@angular/material/datepicker';
|
|
4
|
+
import { BaseDateValueAccessor } from '../base';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class BaseDatePicker<T = any> extends BaseDateValueAccessor<T> {
|
|
7
|
+
protected _dataAdapter: DateAdapter<any>;
|
|
8
|
+
listenToStateChange(): void;
|
|
9
|
+
toggleRequired(control: FormControl | FormGroup, required: boolean): void;
|
|
10
|
+
openPicker(picker: MatDatepicker<any>): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseDatePicker<any>, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseDatePicker<any>, never, never, {}, {}, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { BaseDatePicker } from './base-datepicker';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputDateComponent extends BaseDatePicker<string> implements OnInit {
|
|
6
|
+
dateControl: FormControl;
|
|
7
|
+
writeValue(obj: string): void;
|
|
8
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
clearInput(event: Event): void;
|
|
11
|
+
yearSelected(date: string | Date): void;
|
|
12
|
+
monthSelected(date: string | Date): void;
|
|
13
|
+
private _setValue;
|
|
14
|
+
private _listenToDisabled;
|
|
15
|
+
private _listenToValueChange;
|
|
16
|
+
private _listenToValidators;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputDateComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputDateComponent, "input-date", never, {}, {}, never, ["*"]>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormGroup, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { DateValueObject } from '../models';
|
|
4
|
+
import { BaseDatePicker } from './base-datepicker';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class InputRangeDateComponent extends BaseDatePicker<DateValueObject | null> implements OnInit {
|
|
7
|
+
rangeControl: FormGroup;
|
|
8
|
+
writeValue(obj: DateValueObject): void;
|
|
9
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
clearInput(event: Event): void;
|
|
12
|
+
yearSelected(date: string | Date): void;
|
|
13
|
+
monthSelected(date: string | Date): void;
|
|
14
|
+
private _listenToValueChange;
|
|
15
|
+
private _listenToDisabledState;
|
|
16
|
+
private _createValidateObject;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputRangeDateComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputRangeDateComponent, "input-range-date", never, {}, {}, never, ["*"]>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DEFAULT_VIEW = "month";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { MatDateFormats } from '@angular/material/core';
|
|
2
|
+
export declare const GREGORIAN_FORMAT = "YYYY-MM-DD HH:mm:ss";
|
|
3
|
+
export declare const HIJRI_FORMAT = "iYYYY-iMM-iDD HH:mm:ss";
|
|
4
|
+
export declare const GREGORIAN_DATE_FORMATS: MatDateFormats;
|
|
5
|
+
export declare const HIJRI_DATE_FORMATS: MatDateFormats;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const HIJRI_DATE_ARABIC_NAMES: {
|
|
2
|
+
iMonths: string[];
|
|
3
|
+
iMonthsShort: string[];
|
|
4
|
+
months: string[];
|
|
5
|
+
monthsShort: string[];
|
|
6
|
+
};
|
|
7
|
+
export declare const HIJRI_DATE_ENGLISH_NAMES: {
|
|
8
|
+
iMonths: string[];
|
|
9
|
+
iMonthsShort: string[];
|
|
10
|
+
months: string[];
|
|
11
|
+
monthsShort: string[];
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { BaseDateValueAccessor } from '../base';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BaseDatePickerContainer extends BaseDateValueAccessor implements OnInit {
|
|
7
|
+
readonly translateService: TranslateService;
|
|
8
|
+
dateControl: FormControl;
|
|
9
|
+
writeValue(date: string): void;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
12
|
+
private _listenToValueChange;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseDatePickerContainer, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseDatePickerContainer, never, never, {}, {}, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BaseDatePickerContainer } from './datepicker-container';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NdfGregorianDatepickerComponent extends BaseDatePickerContainer implements OnInit {
|
|
5
|
+
private _dateAdapter;
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
private _updateLocalOnLanguageChange;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NdfGregorianDatepickerComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NdfGregorianDatepickerComponent, "ndf-gregorian-datepicker", never, {}, {}, never, ["*"]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { BaseDatePickerContainer } from './datepicker-container';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NdfHijriDatepickerComponent extends BaseDatePickerContainer implements OnInit {
|
|
5
|
+
private _dateAdapter;
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
private _updateLocalOnLanguageChange;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NdfHijriDatepickerComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NdfHijriDatepickerComponent, "ndf-hijri-datepicker", never, {}, {}, never, ["*"]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './adapters';
|
|
2
|
+
export * from './base';
|
|
3
|
+
export * from './components';
|
|
4
|
+
export * from './constants';
|
|
5
|
+
export * from './containers';
|
|
6
|
+
export * from './models';
|
|
7
|
+
export * from './ndf-datepicker.component';
|
|
8
|
+
export * from './ndf-datepicker.module';
|
|
9
|
+
export * from './services';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DATE_TYPE } from '../constants';
|
|
2
|
+
export interface LocalDataModel {
|
|
3
|
+
firstDayOfWeek: number;
|
|
4
|
+
longMonths: string[];
|
|
5
|
+
shortMonths: string[];
|
|
6
|
+
dates: string[];
|
|
7
|
+
longDaysOfWeek: string[];
|
|
8
|
+
shortDaysOfWeek: string[];
|
|
9
|
+
narrowDaysOfWeek: string[];
|
|
10
|
+
}
|
|
11
|
+
export declare type DateType = (typeof DATE_TYPE)[keyof typeof DATE_TYPE];
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { DateFilterFn } from '@angular/material/datepicker';
|
|
4
|
+
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
5
|
+
import { Moment } from 'moment-hijri';
|
|
6
|
+
import { BaseDateValueAccessor } from './base';
|
|
7
|
+
import { DateValueObject } from './models';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class NdfDatepickerComponent extends BaseDateValueAccessor implements OnInit {
|
|
10
|
+
label: string;
|
|
11
|
+
dateTypes: {
|
|
12
|
+
readonly Hijri: "hijri";
|
|
13
|
+
readonly Gregorian: "gregorian";
|
|
14
|
+
};
|
|
15
|
+
dateControl: FormControl;
|
|
16
|
+
set showActions(val: boolean);
|
|
17
|
+
set autoFill(val: boolean);
|
|
18
|
+
set panelClass(className: string);
|
|
19
|
+
set endDatePlaceholder(plh: string);
|
|
20
|
+
set startDatePlaceholder(plh: string);
|
|
21
|
+
set placeholder(plh: string);
|
|
22
|
+
set startView(view: 'month' | 'year' | 'multi-year');
|
|
23
|
+
set appearance(appearance: MatFormFieldAppearance);
|
|
24
|
+
set dateFilter(fn: DateFilterFn<any>);
|
|
25
|
+
set max(val: Date | string | null);
|
|
26
|
+
set min(val: Date | string | null);
|
|
27
|
+
set startAt(val: Date | string | null);
|
|
28
|
+
set updateLocalLang(val: boolean);
|
|
29
|
+
set hijriDisplayFormat(format: string);
|
|
30
|
+
set displayFormat(format: string);
|
|
31
|
+
yearSelected: EventEmitter<Moment>;
|
|
32
|
+
monthSelected: EventEmitter<Moment>;
|
|
33
|
+
writeValue(obj: string | DateValueObject): void;
|
|
34
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
private _listenToValueChange;
|
|
37
|
+
toggleCalendar(): void;
|
|
38
|
+
private _handleRangeValue;
|
|
39
|
+
private _handleSingleValue;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NdfDatepickerComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NdfDatepickerComponent, "ndf-datepicker", never, { "label": "label"; "showActions": "showActions"; "autoFill": "autoFill"; "panelClass": "panelClass"; "endDatePlaceholder": "endDatePlaceholder"; "startDatePlaceholder": "startDatePlaceholder"; "placeholder": "placeholder"; "startView": "startView"; "appearance": "appearance"; "dateFilter": "dateFilter"; "max": "max"; "min": "min"; "startAt": "startAt"; "updateLocalLang": "updateLocalLang"; "hijriDisplayFormat": "hijriDisplayFormat"; "displayFormat": "displayFormat"; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; }, never, never>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./ndf-datepicker.component";
|
|
3
|
+
import * as i2 from "./containers/ndf-hijri-datepicker.component";
|
|
4
|
+
import * as i3 from "./containers/ndf-gregorian-datepicker.component";
|
|
5
|
+
import * as i4 from "./components/input-range-date.component";
|
|
6
|
+
import * as i5 from "./components/input-date.component";
|
|
7
|
+
import * as i6 from "@angular/common";
|
|
8
|
+
import * as i7 from "@angular/material/datepicker";
|
|
9
|
+
import * as i8 from "@angular/material/form-field";
|
|
10
|
+
import * as i9 from "@angular/forms";
|
|
11
|
+
import * as i10 from "@angular/material/button";
|
|
12
|
+
import * as i11 from "@angular/material/input";
|
|
13
|
+
import * as i12 from "@angular/material/icon";
|
|
14
|
+
import * as i13 from "@angular/material/tooltip";
|
|
15
|
+
import * as i14 from "@ngx-translate/core";
|
|
16
|
+
export declare class NdfDatepickerModule {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NdfDatepickerModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NdfDatepickerModule, [typeof i1.NdfDatepickerComponent, typeof i2.NdfHijriDatepickerComponent, typeof i3.NdfGregorianDatepickerComponent, typeof i4.InputRangeDateComponent, typeof i5.InputDateComponent], [typeof i6.CommonModule, typeof i7.MatDatepickerModule, typeof i8.MatFormFieldModule, typeof i9.ReactiveFormsModule, typeof i10.MatButtonModule, typeof i11.MatInputModule, typeof i12.MatIconModule, typeof i13.MatTooltipModule, typeof i14.TranslateModule], [typeof i1.NdfDatepickerComponent, typeof i2.NdfHijriDatepickerComponent, typeof i3.NdfGregorianDatepickerComponent]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NdfDatepickerModule>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DateType, DateValueObject, LocalizeDateValue } from '../models';
|
|
2
|
+
import * as _moment from 'moment';
|
|
3
|
+
import { Moment } from 'moment';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CalendarService {
|
|
6
|
+
private _dateTypeSub;
|
|
7
|
+
dateType$: import("rxjs").Observable<DateType>;
|
|
8
|
+
private readonly _gregorianFormat;
|
|
9
|
+
private readonly _hijriFormat;
|
|
10
|
+
get dateType(): DateType;
|
|
11
|
+
get isHijri(): boolean;
|
|
12
|
+
get isGregorian(): boolean;
|
|
13
|
+
toggleCalendar(): void;
|
|
14
|
+
formatInputDate(date: string | Moment): string;
|
|
15
|
+
formatOutputDate(date: string | Moment): string;
|
|
16
|
+
formatRangeInputDate(date: DateValueObject): DateValueObject;
|
|
17
|
+
formatRangeOutputDate(date: DateValueObject): DateValueObject;
|
|
18
|
+
validateDate(value: any): boolean;
|
|
19
|
+
validateRangeDate(value: any): boolean;
|
|
20
|
+
prepareOutputValue(date: string | _moment.Moment): LocalizeDateValue<string> | null;
|
|
21
|
+
prepareRangeOutputValue(date: DateValueObject): LocalizeDateValue<DateValueObject> | null;
|
|
22
|
+
createMoment(value: string): any;
|
|
23
|
+
formatToGregorian(date: string | _moment.Moment): string;
|
|
24
|
+
formatToHijri(date: string | _moment.Moment): string;
|
|
25
|
+
formatToISOString(date: string | _moment.Moment): string;
|
|
26
|
+
createFullDateFromYear(year: number): any;
|
|
27
|
+
createFullDateFromMonth(month: number, year?: number): any;
|
|
28
|
+
private _validateGregorianDate;
|
|
29
|
+
private _validateHijriDate;
|
|
30
|
+
private _format;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarService, never>;
|
|
32
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CalendarService>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { DateFilterFn } from '@angular/material/datepicker';
|
|
3
|
+
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
4
|
+
import { BehaviorSubject, Subject } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LocalizeState {
|
|
7
|
+
readonly stateChange: Subject<void>;
|
|
8
|
+
appearance: MatFormFieldAppearance;
|
|
9
|
+
autoFill: boolean;
|
|
10
|
+
showActions: boolean;
|
|
11
|
+
range: boolean;
|
|
12
|
+
placeholder: string;
|
|
13
|
+
endDatePlaceholder: string;
|
|
14
|
+
startDatePlaceholder: string;
|
|
15
|
+
panelClass: string;
|
|
16
|
+
startView: 'month' | 'year' | 'multi-year';
|
|
17
|
+
max: string | Date | null;
|
|
18
|
+
min: string | Date | null;
|
|
19
|
+
startAt: string | Date | null;
|
|
20
|
+
dateFilter: DateFilterFn<any>;
|
|
21
|
+
updateLocalLang: boolean;
|
|
22
|
+
hijriDisplayFormat: string;
|
|
23
|
+
displayFormat: string;
|
|
24
|
+
readonly disabledState: BehaviorSubject<boolean>;
|
|
25
|
+
get disabled(): boolean;
|
|
26
|
+
readonly requiredState: BehaviorSubject<boolean>;
|
|
27
|
+
get required(): boolean;
|
|
28
|
+
readonly statusState: BehaviorSubject<string>;
|
|
29
|
+
get status(): string;
|
|
30
|
+
yearSelectedEmitter: EventEmitter<any>;
|
|
31
|
+
monthSelectedEmitter: EventEmitter<any>;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizeState, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocalizeState>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class NoDataFoundComponent {
|
|
3
|
+
message: string;
|
|
4
|
+
width: string;
|
|
5
|
+
height: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NoDataFoundComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NoDataFoundComponent, "app-no-data-found", never, { "message": "message"; "width": "width"; "height": "height"; }, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./no-data-found.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
export declare class NoDataModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NoDataModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NoDataModule, [typeof i1.NoDataFoundComponent], [typeof i2.CommonModule, typeof i3.TranslateModule], [typeof i1.NoDataFoundComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NoDataModule>;
|
|
9
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { SchemaModel } from '../../../core/models';
|
|
2
2
|
import { FILTER_DATES_TYPE } from '../constants';
|
|
3
|
-
export declare type TranslatedKey = string;
|
|
4
3
|
export declare type FilterDateType = (typeof FILTER_DATES_TYPE)[keyof typeof FILTER_DATES_TYPE];
|
|
5
4
|
export interface BaseNotificationEntry {
|
|
6
5
|
'entity-type': string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
|
-
import { AdapterService } from '
|
|
4
|
-
import { CallApiService } from '
|
|
3
|
+
import { AdapterService } from '../../../../core/adapters/adapter.service';
|
|
4
|
+
import { CallApiService } from '../../../../core/services/callApi/call-api.service';
|
|
5
5
|
import { DynamicTableService } from '../services/dynamic-table.service';
|
|
6
6
|
import { PageEvent } from '@angular/material/paginator/paginator';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -49,6 +49,10 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
|
|
|
49
49
|
onMultiRowSelected: EventEmitter<any>;
|
|
50
50
|
/** event t emit when start getting data and when finish */
|
|
51
51
|
onLoading: EventEmitter<any>;
|
|
52
|
+
sortChanged: EventEmitter<{
|
|
53
|
+
sortBy: string;
|
|
54
|
+
sortOrder: string;
|
|
55
|
+
}>;
|
|
52
56
|
/**
|
|
53
57
|
* @deprecated Use `onPage` instead.
|
|
54
58
|
* @see onPage
|
|
@@ -140,5 +144,5 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
|
|
|
140
144
|
paginationChange(event: any): void;
|
|
141
145
|
onChangePageSize(pageSize: number): void;
|
|
142
146
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
|
|
143
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "cts-dynamic-table", never, { "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "headers": "headers"; "fields": "fields"; "pageProvider": "pageProvider"; "pageSize": "pageSize"; "isLegacyMode": "isLegacyMode"; "showTotalRecord": "showTotalRecord"; "pageNumber": "pageNumber"; "sortingBy": "sortingBy"; "queryParam": "queryParam"; "customFilters": "customFilters"; "quickFilter": "quickFilter"; "report": "report"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "tableMode": "tableMode"; "componentName": "componentName"; "tableActions": "tableActions"; "defultSort": "defultSort"; "range": "range"; "isSearchPage": "isSearchPage"; "multiSelectRows": "multiSelectRows"; "customFirstRow": "customFirstRow"; "highlightSelectedCard": "highlightSelectedCard"; "showActionsAsMenu": "showActionsAsMenu"; "filterParams": "filterParams"; "skipAggregation": "skipAggregation"; "customUrl": "customUrl"; "format": "format"; "pageSizes": "pageSizes"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "actionOnRow": "actionOnRow"; "onGettingData": "onGettingData"; "onMultiRowSelected": "onMultiRowSelected"; "onLoading": "onLoading"; "onPageChange": "onPageChange"; "onPage": "onPage"; "onLoad": "onLoad"; "onInitialize": "onInitialize"; }, ["emptyTemplate"], never>;
|
|
147
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "cts-dynamic-table", never, { "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "headers": "headers"; "fields": "fields"; "pageProvider": "pageProvider"; "pageSize": "pageSize"; "isLegacyMode": "isLegacyMode"; "showTotalRecord": "showTotalRecord"; "pageNumber": "pageNumber"; "sortingBy": "sortingBy"; "queryParam": "queryParam"; "customFilters": "customFilters"; "quickFilter": "quickFilter"; "report": "report"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "tableMode": "tableMode"; "componentName": "componentName"; "tableActions": "tableActions"; "defultSort": "defultSort"; "range": "range"; "isSearchPage": "isSearchPage"; "multiSelectRows": "multiSelectRows"; "customFirstRow": "customFirstRow"; "highlightSelectedCard": "highlightSelectedCard"; "showActionsAsMenu": "showActionsAsMenu"; "filterParams": "filterParams"; "skipAggregation": "skipAggregation"; "customUrl": "customUrl"; "format": "format"; "pageSizes": "pageSizes"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "actionOnRow": "actionOnRow"; "onGettingData": "onGettingData"; "onMultiRowSelected": "onMultiRowSelected"; "onLoading": "onLoading"; "sortChanged": "sortChanged"; "onPageChange": "onPageChange"; "onPage": "onPage"; "onLoad": "onLoad"; "onInitialize": "onInitialize"; }, ["emptyTemplate"], never>;
|
|
144
148
|
}
|
|
@@ -3,10 +3,10 @@ import * as i1 from "./dynamic-table/dynamic-table.component";
|
|
|
3
3
|
import * as i2 from "./directives/empty-state.directive";
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
5
|
import * as i4 from "../table/table.module";
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
6
|
+
import * as i5 from "../../pagination/pagination.module";
|
|
7
|
+
import * as i6 from "../../../shared/libraryShared.module";
|
|
8
8
|
import * as i7 from "@ngx-translate/core";
|
|
9
|
-
import * as i8 from "
|
|
9
|
+
import * as i8 from "../../skeleton/skeleton.module";
|
|
10
10
|
import * as i9 from "@angular/material/progress-spinner";
|
|
11
11
|
/**
|
|
12
12
|
* @title
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './mode-toggler/mode-toggler.component';
|
|
2
|
+
export * from './sorting-list/sorting-list.component';
|
|
3
|
+
export * from './table-columns-toggler/table-columns-toggler.component';
|
|
4
|
+
export * from './table-export/table-export.component';
|
|
5
|
+
export * from './text-search/text-search.component';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MatButtonToggleChange } from '@angular/material/button-toggle';
|
|
3
|
+
import { TableModeList, TableViewMode } from '../../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ModeTogglerComponent implements OnInit {
|
|
6
|
+
modesList: TableModeList;
|
|
7
|
+
mode: TableViewMode;
|
|
8
|
+
modeChanged: EventEmitter<TableViewMode>;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
changeMode(event: MatButtonToggleChange): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModeTogglerComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModeTogglerComponent, "mode-toggler", never, { "modesList": "modesList"; "mode": "mode"; }, { "modeChanged": "modeChanged"; }, never, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { BaseComponent } from '../../../../../shared/components';
|
|
3
|
+
import { SortTableItem } from '../../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SortingListComponent extends BaseComponent implements OnInit {
|
|
6
|
+
sortList: SortTableItem[];
|
|
7
|
+
sortChanged: EventEmitter<SortTableItem>;
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
changeSort(item: SortTableItem): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortingListComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SortingListComponent, "table-sorting-list", never, { "sortList": "sortList"; }, { "sortChanged": "sortChanged"; }, never, never>;
|
|
12
|
+
}
|