@elderbyte/ngx-starter 17.10.0 → 17.11.0-beta2
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/esm2022/lib/common/data/datasource/data-source-base.mjs +1 -1
- package/esm2022/lib/common/data/datasource/rest/rest-client.mjs +1 -1
- package/esm2022/lib/common/data/filters/filter-commons.mjs +23 -0
- package/esm2022/lib/common/data/filters/filter-value.mjs +2 -0
- package/esm2022/lib/common/enums/elder-enum-translation.service.mjs +4 -4
- package/esm2022/lib/common/format/curency-format-util.mjs +43 -0
- package/esm2022/lib/common/format/duration-format-util.mjs +44 -0
- package/esm2022/lib/common/format/iso-interval-format-util.mjs +109 -0
- package/esm2022/lib/common/format/public_api.mjs +4 -1
- package/esm2022/lib/common/forms/elder-form-field-control-base.directive.mjs +4 -4
- package/esm2022/lib/common/forms/elder-from-field-base.mjs +4 -4
- package/esm2022/lib/common/forms/elder-from-field-customizable-base.mjs +4 -4
- package/esm2022/lib/common/forms/elder-from-field-entity-base.mjs +4 -4
- package/esm2022/lib/common/forms/elder-from-field-multi-entity-base.mjs +4 -4
- package/esm2022/lib/common/forms/form-field-base.component.mjs +4 -4
- package/esm2022/lib/common/forms/multi-model-base.component.mjs +4 -4
- package/esm2022/lib/common/forms/template-composite-control.mjs +4 -4
- package/esm2022/lib/common/forms/value-accessor-base.mjs +4 -4
- package/esm2022/lib/common/http/http-client-builder.service.mjs +4 -4
- package/esm2022/lib/common/http/http-client-pristine.mjs +4 -4
- package/esm2022/lib/common/http/transfer/data-transfer-factory.mjs +4 -4
- package/esm2022/lib/common/url/elder-router.service.mjs +4 -4
- package/esm2022/lib/common/url/elder-url-fragment-params.service.mjs +4 -4
- package/esm2022/lib/components/access-denied/elder-access-denied.component.mjs +4 -4
- package/esm2022/lib/components/access-denied/elder-access-denied.module.mjs +5 -5
- package/esm2022/lib/components/auditing/audited-entity/elder-audited-entity.component.mjs +4 -4
- package/esm2022/lib/components/auditing/elder-audit.module.mjs +5 -5
- package/esm2022/lib/components/badge/elder-badge/elder-badge.component.mjs +10 -10
- package/esm2022/lib/components/badge/elder-badge.directive.mjs +44 -22
- package/esm2022/lib/components/badge/elder-badge.module.mjs +5 -5
- package/esm2022/lib/components/button-group/elder-button-group/elder-button-group.component.mjs +4 -4
- package/esm2022/lib/components/button-group/elder-button-group.module.mjs +5 -5
- package/esm2022/lib/components/card-organizer/card-organizer/elder-card-organizer.component.mjs +4 -4
- package/esm2022/lib/components/card-organizer/card-organizer/elder-stack-card.directive.mjs +4 -4
- package/esm2022/lib/components/card-organizer/card-stack/elder-card-stack.component.mjs +4 -4
- package/esm2022/lib/components/card-organizer/elder-card-organizer.module.mjs +5 -5
- package/esm2022/lib/components/cards/elder-card/elder-card-header/elder-card-header.component.mjs +4 -4
- package/esm2022/lib/components/cards/elder-card/elder-card.component.mjs +19 -19
- package/esm2022/lib/components/cards/elder-card/elder-card.module.mjs +5 -5
- package/esm2022/lib/components/chips/elder-chip-label.directive.mjs +4 -4
- package/esm2022/lib/components/chips/elder-chips.module.mjs +5 -5
- package/esm2022/lib/components/connectivity/elder-connectivity.module.mjs +5 -5
- package/esm2022/lib/components/connectivity/elder-connectivity.service.mjs +4 -4
- package/esm2022/lib/components/connectivity/offline-indicator/elder-offline-indicator.component.mjs +4 -4
- package/esm2022/lib/components/containers/elder-containers.module.mjs +5 -5
- package/esm2022/lib/components/containers/elder-scroll-container/elder-scroll-container.component.mjs +4 -4
- package/esm2022/lib/components/csv/elder-csv-export-btn/elder-csv-export-btn.component.mjs +4 -4
- package/esm2022/lib/components/csv/elder-csv-stream-exporter-builder.service.mjs +4 -4
- package/esm2022/lib/components/csv/elder-csv.module.mjs +5 -5
- package/esm2022/lib/components/currency/elder-currency.module.mjs +5 -5
- package/esm2022/lib/components/currency/elder-currency.pipe.mjs +16 -13
- package/esm2022/lib/components/data-transfer/elder-data-transfer.module.mjs +5 -5
- package/esm2022/lib/components/data-transfer/elder-data-transfer.service.mjs +4 -4
- package/esm2022/lib/components/data-transfer/http-data-transfer/http-data-transfer.component.mjs +4 -4
- package/esm2022/lib/components/data-transfer/http-data-transfer-aggregate/http-data-transfer-aggregate.component.mjs +4 -4
- package/esm2022/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.mjs +4 -4
- package/esm2022/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.mjs +4 -4
- package/esm2022/lib/components/data-view/base/elder-data-view-base.mjs +4 -4
- package/esm2022/lib/components/data-view/common/data-context-state-indicator/data-context-state-indicator.component.mjs +4 -4
- package/esm2022/lib/components/data-view/common/elder-data-common.module.mjs +5 -5
- package/esm2022/lib/components/data-view/common/elder-data-toolbar/elder-data-toolbar.component.mjs +7 -7
- package/esm2022/lib/components/data-view/common/elder-single-sort/elder-single-sort.component.mjs +4 -4
- package/esm2022/lib/components/data-view/common/selection/data-context-selection.directive.mjs +4 -4
- package/esm2022/lib/components/data-view/common/selection/elder-selection-master-checkbox/elder-selection-master-checkbox.component.mjs +4 -4
- package/esm2022/lib/components/data-view/grid/elder-grid/elder-grid.component.mjs +10 -10
- package/esm2022/lib/components/data-view/grid/elder-grid.module.mjs +5 -5
- package/esm2022/lib/components/data-view/master-detail/elder-detail-dialog/elder-detail-dialog.component.mjs +4 -4
- package/esm2022/lib/components/data-view/master-detail/elder-detail.directive.mjs +4 -4
- package/esm2022/lib/components/data-view/master-detail/elder-master-activation.directive.mjs +4 -4
- package/esm2022/lib/components/data-view/master-detail/elder-master-detail.component.mjs +4 -4
- package/esm2022/lib/components/data-view/master-detail/elder-master-detail.module.mjs +5 -5
- package/esm2022/lib/components/data-view/master-detail/elder-master-detail.service.mjs +4 -4
- package/esm2022/lib/components/data-view/master-detail/elder-master.directive.mjs +4 -4
- package/esm2022/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.component.mjs +4 -4
- package/esm2022/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.module.mjs +5 -5
- package/esm2022/lib/components/data-view/table/activation/elder-delete-active.directive.mjs +4 -4
- package/esm2022/lib/components/data-view/table/activation/elder-table-activation.directive.mjs +4 -4
- package/esm2022/lib/components/data-view/table/elder-number-cell.directive.mjs +4 -4
- package/esm2022/lib/components/data-view/table/elder-paginator-intl.mjs +4 -4
- package/esm2022/lib/components/data-view/table/elder-table/elder-table-toolbar.directive.mjs +4 -4
- package/esm2022/lib/components/data-view/table/elder-table/elder-table.component.mjs +4 -4
- package/esm2022/lib/components/data-view/table/elder-table-column.directive.mjs +4 -4
- package/esm2022/lib/components/data-view/table/elder-table-extension.directive.mjs +4 -4
- package/esm2022/lib/components/data-view/table/elder-table-root.directive.mjs +4 -4
- package/esm2022/lib/components/data-view/table/elder-table-row.directive.mjs +4 -4
- package/esm2022/lib/components/data-view/table/elder-table-sort.directive.mjs +4 -4
- package/esm2022/lib/components/data-view/table/elder-table.module.mjs +5 -5
- package/esm2022/lib/components/data-view/table/model/elder-table-model.mjs +4 -4
- package/esm2022/lib/components/dialogs/confirm-dialog/elder-confirm-dialog.component.mjs +4 -4
- package/esm2022/lib/components/dialogs/elder-dialog.module.mjs +5 -5
- package/esm2022/lib/components/dialogs/elder-dialog.service.mjs +4 -4
- package/esm2022/lib/components/dialogs/question-dialog/elder-question-dialog.component.mjs +4 -4
- package/esm2022/lib/components/dialogs/selection-dialog/elder-selection-dialog/elder-selection-dialog.component.mjs +4 -4
- package/esm2022/lib/components/dialogs/selection-dialog/elder-selection-dialog.directive.mjs +4 -4
- package/esm2022/lib/components/errors/elder-error.module.mjs +5 -5
- package/esm2022/lib/components/errors/exception-detail/elder-exception-detail.component.mjs +4 -4
- package/esm2022/lib/components/expand-toggle-button/elder-expand-toggle-button.component.mjs +4 -4
- package/esm2022/lib/components/expand-toggle-button/elder-expand-toggle-button.module.mjs +5 -5
- package/esm2022/lib/components/files/blob-viewer/elder-blob-viewer.component.mjs +4 -4
- package/esm2022/lib/components/files/drag-n-drop/elder-drop-zone/elder-drop-zone.component.mjs +4 -4
- package/esm2022/lib/components/files/drag-n-drop/global-drag-drop.service.mjs +4 -4
- package/esm2022/lib/components/files/elder-file-drop-zone.directive.mjs +4 -4
- package/esm2022/lib/components/files/elder-file-select.directive.mjs +4 -4
- package/esm2022/lib/components/files/elder-file.module.mjs +5 -5
- package/esm2022/lib/components/files/file-select/file-select.component.mjs +4 -4
- package/esm2022/lib/components/files/file-upload/file-upload.component.mjs +4 -4
- package/esm2022/lib/components/forms/clipboard/elder-clipboard.service.mjs +4 -4
- package/esm2022/lib/components/forms/directives/base/elder-class-hostbinding-base.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-clipboard-put.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-delayed-focus.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-form-field-dense.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-form-field-label.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-form-field-no-hint.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-form-field-no-spinner.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-forms-directives.module.mjs +5 -5
- package/esm2022/lib/components/forms/directives/elder-initial-value.directive.mjs +11 -8
- package/esm2022/lib/components/forms/directives/elder-input-pattern.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-key-event.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-next-focusable.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-plug-parent-form.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-stop-event-propagation.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-tab-focus-trap.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-touched.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-triple-state-checkbox.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/validation/elder-validation-error.directive.mjs +4 -4
- package/esm2022/lib/components/forms/directives/validation/strategies/common-validation-message-strategy.mjs +4 -4
- package/esm2022/lib/components/forms/directives/validation/strategies/dynamic-validation-message-strategy.mjs +4 -4
- package/esm2022/lib/components/forms/directives/validation/validation-message-renderer.service.mjs +4 -4
- package/esm2022/lib/components/forms/directives/validation/validators/elder-max.validator.mjs +4 -4
- package/esm2022/lib/components/forms/directives/validation/validators/elder-min.validator.mjs +4 -4
- package/esm2022/lib/components/forms/directives/validation/validators/elder-multiple-of.validator.mjs +4 -4
- package/esm2022/lib/components/forms/directives/validation/validators/elder-required-ignore-zero.validator.mjs +4 -4
- package/esm2022/lib/components/forms/elder-forms.module.mjs +5 -5
- package/esm2022/lib/components/forms/search/domain/context/search-context.service.mjs +4 -4
- package/esm2022/lib/components/forms/search/domain/input/input-value.mjs +2 -0
- package/esm2022/lib/components/forms/search/domain/input/search-input-state.mjs +15 -6
- package/esm2022/lib/components/forms/search/domain/input/search-input.mjs +1 -1
- package/esm2022/lib/components/forms/search/domain/url/elder-search-url.directive.mjs +4 -4
- package/esm2022/lib/components/forms/search/domain/url/elder-search-url.service.mjs +4 -4
- package/esm2022/lib/components/forms/search/elder-search-context.directive.mjs +39 -28
- package/esm2022/lib/components/forms/search/elder-search-input.directive.mjs +50 -17
- package/esm2022/lib/components/forms/search/elder-search.module.mjs +5 -5
- package/esm2022/lib/components/forms/search/filter/default-input-filter-converter.mjs +46 -0
- package/esm2022/lib/components/forms/search/filter/include-exclude-input-converter.mjs +165 -0
- package/esm2022/lib/components/forms/search/filter/input-filter-converter.mjs +2 -0
- package/esm2022/lib/components/forms/search/search-box/elder-search-box.component.mjs +4 -4
- package/esm2022/lib/components/forms/search/search-box/elder-search-panel.component.mjs +4 -4
- package/esm2022/lib/components/global-search/elder-global-search.component.mjs +4 -4
- package/esm2022/lib/components/global-search/elder-global-search.module.mjs +5 -5
- package/esm2022/lib/components/global-search/elder-global-search.service.mjs +4 -4
- package/esm2022/lib/components/graph/elder-progress-bar/elder-progress-bar.component.mjs +4 -4
- package/esm2022/lib/components/graph/elder-progress-bar/elder-progress-bar.module.mjs +5 -5
- package/esm2022/lib/components/headers/elder-header/elder-header.component.mjs +4 -4
- package/esm2022/lib/components/headers/elder-header.module.mjs +5 -5
- package/esm2022/lib/components/http-support/elder-http-client.service.mjs +4 -4
- package/esm2022/lib/components/i18n/entities/elder-i18n-entities.module.mjs +5 -5
- package/esm2022/lib/components/i18n/entities/elder-localized-input/elder-localized-input.component.mjs +4 -4
- package/esm2022/lib/components/i18n/entities/elder-localized-input-dialog/elder-localized-input-dialog.component.mjs +4 -4
- package/esm2022/lib/components/i18n/entities/elder-localized-input-dialog.service.mjs +4 -4
- package/esm2022/lib/components/i18n/entities/elder-localized-input-table/elder-localized-input-table.component.mjs +4 -4
- package/esm2022/lib/components/i18n/entities/elder-localized-text-column.directive.mjs +4 -4
- package/esm2022/lib/components/i18n/entities/elder-localized-texts.directive.mjs +4 -4
- package/esm2022/lib/components/i18n/entities/picker/i18n-pick-async.pipe.mjs +4 -4
- package/esm2022/lib/components/i18n/entities/picker/i18n-pick.pipe.mjs +4 -4
- package/esm2022/lib/components/i18n/entities/picker/localisation-picker.service.mjs +4 -4
- package/esm2022/lib/components/i18n/language/elder-language-interceptor.mjs +4 -4
- package/esm2022/lib/components/i18n/language/elder-language.module.mjs +5 -5
- package/esm2022/lib/components/i18n/language/elder-language.service.mjs +4 -4
- package/esm2022/lib/components/i18n/language/language-switcher/elder-language-switcher.component.mjs +4 -4
- package/esm2022/lib/components/i18n/locales/elder-locales-de-ch.module.mjs +5 -5
- package/esm2022/lib/components/iframes/data-view/data-view-iframe/data-view-iframe.component.mjs +4 -4
- package/esm2022/lib/components/iframes/data-view/data-view-iframe-adapter.directive.mjs +4 -4
- package/esm2022/lib/components/iframes/elder-iframe.module.mjs +5 -5
- package/esm2022/lib/components/iframes/iframe-close.directive.mjs +4 -4
- package/esm2022/lib/components/iframes/iframe-dialog/iframe-dialog.component.mjs +4 -4
- package/esm2022/lib/components/iframes/iframe-host/iframe-host.component.mjs +4 -4
- package/esm2022/lib/components/iframes/iframe-side-content/iframe-side-content.component.mjs +4 -4
- package/esm2022/lib/components/iframes/iframe.service.mjs +4 -4
- package/esm2022/lib/components/infinitescroll/elder-infinite-autocomplete.directive.mjs +4 -4
- package/esm2022/lib/components/infinitescroll/elder-infinite-scroll.directive.mjs +4 -4
- package/esm2022/lib/components/infinitescroll/elder-infinite-scroll.module.mjs +5 -5
- package/esm2022/lib/components/input/autocomplete/elder-autocomplete/elder-autocomplete-option-selected.mjs +1 -1
- package/esm2022/lib/components/input/autocomplete/elder-autocomplete/elder-suggestion-panel.component.mjs +231 -0
- package/esm2022/lib/components/input/autocomplete/elder-autocomplete-many.directive.mjs +4 -4
- package/esm2022/lib/components/input/autocomplete/elder-autocomplete.directive.mjs +7 -4
- package/esm2022/lib/components/input/autocomplete/elder-autocomplete.module.mjs +12 -12
- package/esm2022/lib/components/labels/elder-labels.module.mjs +5 -5
- package/esm2022/lib/components/labels/labels-input/labels-input.component.mjs +4 -4
- package/esm2022/lib/components/measures/dimensions/dimensions-input/elder-dimensions-input.component.mjs +4 -4
- package/esm2022/lib/components/measures/dimensions/validation/elder-required-dimensions.validator.mjs +4 -4
- package/esm2022/lib/components/measures/directives/elder-unit-select.directive.mjs +4 -4
- package/esm2022/lib/components/measures/elder-measures.module.mjs +9 -9
- package/esm2022/lib/components/measures/elder-quantity-transform.pipe.mjs +5 -16
- package/esm2022/lib/components/measures/elder-quantity.pipe.mjs +15 -46
- package/esm2022/lib/components/measures/elder-unit.service.mjs +4 -4
- package/esm2022/lib/components/measures/quantity-input/quantity-form-field/elder-quantity-form-field.component.mjs +4 -4
- package/esm2022/lib/components/measures/quantity-input/quantity-input-control/elder-quantity-input-control.component.mjs +8 -10
- package/esm2022/lib/components/measures/quantity-input/validation/elder-quantity-range.validator.mjs +4 -4
- package/esm2022/lib/components/measures/quantity-input/validation/elder-required-quantity.validator.mjs +4 -4
- package/esm2022/lib/components/measures/util/elder-quantity.service.mjs +70 -4
- package/esm2022/lib/components/navigation/bread-crumbs/bread-crumbs/elder-bread-crumbs.component.mjs +4 -4
- package/esm2022/lib/components/navigation/bread-crumbs/elder-bread-crumbs.module.mjs +5 -5
- package/esm2022/lib/components/navigation/nav/elder-nav.module.mjs +5 -5
- package/esm2022/lib/components/navigation/nav/nav-group/elder-nav-group.component.mjs +4 -4
- package/esm2022/lib/components/navigation/nav/nav-link/elder-nav-link.component.mjs +4 -4
- package/esm2022/lib/components/navigation/nav/nav-list/elder-nav-list.component.mjs +4 -4
- package/esm2022/lib/components/navigation/toolbar/elder-toolbar-column.directive.mjs +4 -4
- package/esm2022/lib/components/navigation/toolbar/elder-toolbar.module.mjs +5 -5
- package/esm2022/lib/components/navigation/toolbar/elder-toolbar.service.mjs +4 -4
- package/esm2022/lib/components/navigation/toolbar/toolbar/elder-toolbar.component.mjs +4 -4
- package/esm2022/lib/components/navigation/toolbar/toolbar-title/elder-toolbar-title.component.mjs +4 -4
- package/esm2022/lib/components/navigation/toolbar/toolbar-title/elder-toolbar-title.service.mjs +4 -4
- package/esm2022/lib/components/overlays/elder-overlay-origin.directive.mjs +4 -4
- package/esm2022/lib/components/overlays/elder-overlay-ref.mjs +4 -4
- package/esm2022/lib/components/overlays/elder-overlay-trigger.directive.mjs +4 -4
- package/esm2022/lib/components/overlays/elder-overlay.component.mjs +4 -4
- package/esm2022/lib/components/overlays/elder-overlay.module.mjs +5 -5
- package/esm2022/lib/components/panels/card-panel/elder-card-panel.component.mjs +4 -4
- package/esm2022/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.mjs +4 -4
- package/esm2022/lib/components/panels/elder-panel.module.mjs +5 -5
- package/esm2022/lib/components/panels/flat/elder-panel.component.mjs +4 -4
- package/esm2022/lib/components/panels/toggle-panel/elder-toggle-panel-trigger.directive.mjs +4 -4
- package/esm2022/lib/components/panels/toggle-panel/elder-toggle-panel.component.mjs +10 -10
- package/esm2022/lib/components/scrollbar/elder-scrollbar.directive.mjs +4 -4
- package/esm2022/lib/components/scrollbar/elder-scrollbar.module.mjs +5 -5
- package/esm2022/lib/components/select/auto/elder-auto-select-first.directive.mjs +27 -7
- package/esm2022/lib/components/select/auto/elder-auto-select-first.service.mjs +38 -0
- package/esm2022/lib/components/select/auto/elder-auto-select-suggest-first.directive.mjs +66 -0
- package/esm2022/lib/components/select/auto/elder-select-first-util.mjs +4 -14
- package/esm2022/lib/components/select/elder-select-base.mjs +9 -9
- package/esm2022/lib/components/select/elder-select-chip.directive.mjs +10 -10
- package/esm2022/lib/components/select/elder-select-on-tab.directive.mjs +4 -4
- package/esm2022/lib/components/select/elder-select-value.directive.mjs +4 -4
- package/esm2022/lib/components/select/elder-select.module.mjs +35 -10
- package/esm2022/lib/components/select/filter/elder-chip-filter-style-resolver.mjs +70 -0
- package/esm2022/lib/components/select/filter/elder-chips-filter.directive.mjs +174 -0
- package/esm2022/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.mjs +58 -0
- package/esm2022/lib/components/select/multi/elder-chip-select-option/elder-select-option.component.mjs +4 -4
- package/esm2022/lib/components/select/multi/elder-multi-select-base.mjs +4 -4
- package/esm2022/lib/components/select/multi/elder-multi-select-chip-options/elder-multi-select-chip-options.component.mjs +14 -7
- package/esm2022/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.mjs +10 -6
- package/esm2022/lib/components/select/multi/elder-multi-select-form-field.mjs +4 -4
- package/esm2022/lib/components/select/multi/elder-mutli-select-all-directive.mjs +4 -4
- package/esm2022/lib/components/select/multi/elder-search-include-exclude.directive.mjs +83 -0
- package/esm2022/lib/components/select/popup/selection-model-popup-trigger-adapter.directive.mjs +4 -4
- package/esm2022/lib/components/select/popup/selection-model-popup.directive.mjs +4 -4
- package/esm2022/lib/components/select/popup/templated-selection-dialog/templated-selection-dialog.component.mjs +4 -4
- package/esm2022/lib/components/select/single/elder-clear-select.directive.mjs +4 -4
- package/esm2022/lib/components/select/single/elder-select/elder-select.component.mjs +9 -14
- package/esm2022/lib/components/select/single/elder-select-form-field.mjs +4 -4
- package/esm2022/lib/components/select-chip-list/chip-list-select/elder-chip-list-select.component.mjs +4 -4
- package/esm2022/lib/components/select-chip-list/elder-chip-list-select.module.mjs +5 -5
- package/esm2022/lib/components/shell/drawers/elder-route-outlet-drawer.service.mjs +4 -4
- package/esm2022/lib/components/shell/drawers/elder-router-outlet.service.mjs +4 -4
- package/esm2022/lib/components/shell/elder-shell-slot.directive.mjs +4 -4
- package/esm2022/lib/components/shell/elder-shell.module.mjs +5 -5
- package/esm2022/lib/components/shell/elder-shell.service.mjs +4 -4
- package/esm2022/lib/components/shell/header/elder-app-header/elder-app-header.component.mjs +4 -4
- package/esm2022/lib/components/shell/shell/elder-shell.component.mjs +13 -13
- package/esm2022/lib/components/shell/shell-navigation-toggle/elder-shell-navigation-toggle.component.mjs +4 -4
- package/esm2022/lib/components/tabs/elder-tab/elder-tab.directive.mjs +4 -4
- package/esm2022/lib/components/tabs/elder-tab-group-routing/elder-tab-group-routing.directive.mjs +4 -4
- package/esm2022/lib/components/tabs/elder-tab.module.mjs +5 -5
- package/esm2022/lib/components/theme/elder-theme-applier.directive.mjs +4 -4
- package/esm2022/lib/components/theme/elder-theme-preference.service.mjs +4 -4
- package/esm2022/lib/components/theme/elder-theme-toggle/elder-theme-toggle.component.mjs +4 -4
- package/esm2022/lib/components/theme/elder-theme.directive.mjs +4 -4
- package/esm2022/lib/components/theme/elder-theme.module.mjs +5 -5
- package/esm2022/lib/components/theme/elder-theme.service.mjs +4 -4
- package/esm2022/lib/components/time/date-adapters/custom-date-adapter.mjs +4 -4
- package/esm2022/lib/components/time/duration/elder-duration-input/elder-duration-input.component.mjs +4 -4
- package/esm2022/lib/components/time/elder-date-switcher/elder-date-switcher.component.mjs +4 -4
- package/esm2022/lib/components/time/elder-date-time-input/elder-date-time-input.component.mjs +4 -4
- package/esm2022/lib/components/time/elder-interval-input/elder-interval-input.component.mjs +4 -4
- package/esm2022/lib/components/time/elder-local-date-input/elder-local-date-input.component.mjs +4 -4
- package/esm2022/lib/components/time/elder-local-time-input/elder-local-time-input.component.mjs +4 -4
- package/esm2022/lib/components/time/elder-time.module.mjs +5 -5
- package/esm2022/lib/components/time/period/elder-period-input/elder-period-input.component.mjs +4 -4
- package/esm2022/lib/components/time/pipes/to-iso-date-string.pipe.mjs +4 -4
- package/esm2022/lib/components/toasts/elder-toast.module.mjs +5 -5
- package/esm2022/lib/components/toasts/elder-toast.service.mjs +4 -4
- package/esm2022/lib/components/toasts/standard-toast/standard-toast.component.mjs +4 -4
- package/esm2022/lib/components/url-fragment/elder-url-fragment.module.mjs +5 -5
- package/esm2022/lib/components/url-fragment/url-fragment-switcher/elder-url-fragment-switcher.component.mjs +4 -4
- package/esm2022/lib/components/viewers/elder-svg-viewer/elder-svg-viewer.component.mjs +4 -4
- package/esm2022/lib/components/viewers/elder-viewers.module.mjs +5 -5
- package/esm2022/lib/features/event-source/fetch/reactive-fetch-event-source.service.mjs +4 -4
- package/esm2022/lib/features/event-source/standard/elder-event-source.service.mjs +4 -4
- package/esm2022/lib/features/kafent/access-token-provider.mjs +4 -4
- package/esm2022/lib/features/kafent/kafent-config.mjs +4 -4
- package/esm2022/lib/features/kafent/kafent-event-stream.mjs +4 -4
- package/esm2022/lib/features/kafent/kafent-event.service.mjs +4 -4
- package/esm2022/lib/features/kafent/kafent.module.mjs +5 -5
- package/esm2022/lib/features/kafent/sse/kafent-event-stream-sse.service.mjs +4 -4
- package/esm2022/lib/pipes/bytes.pipe.mjs +4 -4
- package/esm2022/lib/pipes/elder-pipes.module.mjs +11 -11
- package/esm2022/lib/pipes/elder-repeat.pipe.mjs +4 -4
- package/esm2022/lib/pipes/elder-round.pipe.mjs +4 -4
- package/esm2022/lib/pipes/elder-safe-url.pipe.mjs +4 -4
- package/esm2022/lib/pipes/elder-truncate.pipe.mjs +4 -4
- package/esm2022/lib/pipes/iso-duration.pipe.mjs +8 -26
- package/esm2022/lib/pipes/iso-interval-parse.pipe.mjs +4 -4
- package/esm2022/lib/pipes/iso-interval.pipe.mjs +24 -73
- package/esm2022/lib/pipes/time-ago.pipe.mjs +4 -4
- package/esm2022/lib/pipes/time-duration.pipe.mjs +4 -4
- package/esm2022/lib/pipes/weight.pipe.mjs +4 -4
- package/fesm2022/elderbyte-ngx-starter.mjs +8822 -7833
- package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
- package/lib/common/data/filters/filter-commons.d.ts +12 -0
- package/lib/common/data/filters/filter-value.d.ts +1 -0
- package/lib/common/format/curency-format-util.d.ts +24 -0
- package/lib/common/format/duration-format-util.d.ts +23 -0
- package/lib/common/format/iso-interval-format-util.d.ts +22 -0
- package/lib/common/format/public_api.d.ts +3 -0
- package/lib/components/badge/elder-badge.directive.d.ts +10 -1
- package/lib/components/currency/elder-currency.pipe.d.ts +7 -4
- package/lib/components/forms/directives/elder-initial-value.directive.d.ts +4 -2
- package/lib/components/forms/search/domain/input/input-value.d.ts +1 -0
- package/lib/components/forms/search/domain/input/search-input-state.d.ts +14 -4
- package/lib/components/forms/search/domain/input/search-input.d.ts +6 -1
- package/lib/components/forms/search/elder-search-context.directive.d.ts +7 -2
- package/lib/components/forms/search/elder-search-input.directive.d.ts +18 -7
- package/lib/components/forms/search/filter/default-input-filter-converter.d.ts +31 -0
- package/lib/components/forms/search/filter/include-exclude-input-converter.d.ts +78 -0
- package/lib/components/forms/search/filter/input-filter-converter.d.ts +16 -0
- package/lib/components/input/autocomplete/elder-autocomplete/elder-autocomplete-option-selected.d.ts +3 -3
- package/lib/components/input/autocomplete/elder-autocomplete/{elder-autocomplete.component.d.ts → elder-suggestion-panel.component.d.ts} +17 -6
- package/lib/components/input/autocomplete/elder-autocomplete-many.directive.d.ts +3 -3
- package/lib/components/input/autocomplete/elder-autocomplete.directive.d.ts +3 -3
- package/lib/components/input/autocomplete/elder-autocomplete.module.d.ts +3 -3
- package/lib/components/measures/elder-quantity.pipe.d.ts +4 -15
- package/lib/components/measures/quantity-input/quantity-input-control/elder-quantity-input-control.component.d.ts +2 -4
- package/lib/components/measures/util/elder-quantity.service.d.ts +12 -0
- package/lib/components/select/auto/elder-auto-select-first.directive.d.ts +9 -1
- package/lib/components/select/auto/elder-auto-select-first.service.d.ts +23 -0
- package/lib/components/select/auto/elder-auto-select-suggest-first.directive.d.ts +32 -0
- package/lib/components/select/auto/elder-select-first-util.d.ts +2 -2
- package/lib/components/select/elder-select-base.d.ts +1 -1
- package/lib/components/select/elder-select.module.d.ts +9 -1
- package/lib/components/select/filter/elder-chip-filter-style-resolver.d.ts +19 -0
- package/lib/components/select/filter/elder-chips-filter.directive.d.ts +68 -0
- package/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.d.ts +32 -0
- package/lib/components/select/multi/elder-multi-select-chip-options/elder-multi-select-chip-options.component.d.ts +5 -1
- package/lib/components/select/multi/elder-search-include-exclude.directive.d.ts +39 -0
- package/lib/components/select/single/elder-select/elder-select.component.d.ts +0 -1
- package/lib/pipes/iso-duration.pipe.d.ts +0 -3
- package/lib/pipes/iso-interval.pipe.d.ts +5 -12
- package/package.json +1 -1
- package/src/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.scss +95 -0
- package/src/lib/components/select/multi/elder-select-include-exclude-chip/elder-select-include-exclude-chip.component.scss +0 -0
- package/esm2022/lib/components/input/autocomplete/elder-autocomplete/elder-autocomplete.component.mjs +0 -186
- /package/src/lib/components/input/autocomplete/elder-autocomplete/{elder-autocomplete.component.scss → elder-suggestion-panel.component.scss} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
3
|
-
import {
|
|
3
|
+
import { ElderSuggestionPanelComponent } from './elder-autocomplete/elder-suggestion-panel.component';
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
5
|
import { Filter } from '../../../common/data/filters/filter';
|
|
6
6
|
import { IDataContext } from '../../../common/data/data-context/data-context';
|
|
@@ -46,8 +46,8 @@ export declare class ElderAutocompleteDirective implements OnInit, OnDestroy {
|
|
|
46
46
|
* Properties *
|
|
47
47
|
* *
|
|
48
48
|
**************************************************************************/
|
|
49
|
-
set autocomplete(auto:
|
|
50
|
-
get autocomplete():
|
|
49
|
+
set autocomplete(auto: ElderSuggestionPanelComponent);
|
|
50
|
+
get autocomplete(): ElderSuggestionPanelComponent;
|
|
51
51
|
get dataContext(): IDataContext<any>;
|
|
52
52
|
/***************************************************************************
|
|
53
53
|
* *
|
|
@@ -6,14 +6,14 @@ import * as i4 from "@angular/material/autocomplete";
|
|
|
6
6
|
import * as i5 from "../../infinitescroll/elder-infinite-scroll.module";
|
|
7
7
|
import * as i6 from "@angular/material/icon";
|
|
8
8
|
import * as i7 from "@angular/material/progress-bar";
|
|
9
|
-
import * as i8 from "./elder-autocomplete/elder-
|
|
9
|
+
import * as i8 from "./elder-autocomplete/elder-suggestion-panel.component";
|
|
10
10
|
import * as i9 from "./elder-autocomplete.directive";
|
|
11
11
|
import * as i10 from "./elder-autocomplete-many.directive";
|
|
12
|
-
export {
|
|
12
|
+
export { ElderSuggestionPanelComponent } from './elder-autocomplete/elder-suggestion-panel.component';
|
|
13
13
|
export { ElderAutocompleteManyDirective } from './elder-autocomplete-many.directive';
|
|
14
14
|
export { ElderAutocompleteDirective } from './elder-autocomplete.directive';
|
|
15
15
|
export declare class ElderAutocompleteModule {
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderAutocompleteModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderAutocompleteModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.MatInputModule, typeof i4.MatAutocompleteModule, typeof i5.ElderInfiniteScrollModule, typeof i6.MatIconModule, typeof i7.MatProgressBarModule, typeof i8.
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderAutocompleteModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.MatInputModule, typeof i4.MatAutocompleteModule, typeof i5.ElderInfiniteScrollModule, typeof i6.MatIconModule, typeof i7.MatProgressBarModule, typeof i8.ElderSuggestionPanelComponent, typeof i9.ElderAutocompleteDirective, typeof i10.ElderAutocompleteManyDirective], [typeof i8.ElderSuggestionPanelComponent, typeof i9.ElderAutocompleteDirective, typeof i10.ElderAutocompleteManyDirective]>;
|
|
18
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<ElderAutocompleteModule>;
|
|
19
19
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DecimalPipe } from '@angular/common';
|
|
3
2
|
import { Quantity } from './model/quantity';
|
|
4
3
|
import { Unit } from './model/unit';
|
|
5
|
-
import {
|
|
6
|
-
import { ElderUnitService } from './elder-unit.service';
|
|
4
|
+
import { ElderQuantityService } from './util/elder-quantity.service';
|
|
7
5
|
import * as i0 from "@angular/core";
|
|
8
6
|
export interface QuantityPipeOptions {
|
|
9
7
|
normalize?: boolean;
|
|
@@ -12,23 +10,14 @@ export interface QuantityPipeOptions {
|
|
|
12
10
|
hideUnit?: boolean;
|
|
13
11
|
}
|
|
14
12
|
export declare class ElderQuantityPipe implements PipeTransform {
|
|
15
|
-
private
|
|
16
|
-
private
|
|
17
|
-
private _decimalPipe;
|
|
18
|
-
/***************************************************************************
|
|
19
|
-
* *
|
|
20
|
-
* Fields *
|
|
21
|
-
* *
|
|
22
|
-
**************************************************************************/
|
|
23
|
-
private static readonly EMPTY_STRING;
|
|
24
|
-
private static readonly SPACE_STRING;
|
|
25
|
-
private static readonly DEFAULT_DIGITS;
|
|
13
|
+
private _locale;
|
|
14
|
+
private readonly quantityService;
|
|
26
15
|
/***************************************************************************
|
|
27
16
|
* *
|
|
28
17
|
* Constructor *
|
|
29
18
|
* *
|
|
30
19
|
**************************************************************************/
|
|
31
|
-
constructor(
|
|
20
|
+
constructor(_locale: string, quantityService: ElderQuantityService);
|
|
32
21
|
/***************************************************************************
|
|
33
22
|
* *
|
|
34
23
|
* Public API *
|
|
@@ -6,7 +6,6 @@ import { TranslateService } from '@ngx-translate/core';
|
|
|
6
6
|
import { NgControl } from '@angular/forms';
|
|
7
7
|
import { Observable } from 'rxjs';
|
|
8
8
|
import { ElderUnitService } from '../../elder-unit.service';
|
|
9
|
-
import { DecimalPipe } from '@angular/common';
|
|
10
9
|
import { MatInput } from '@angular/material/input';
|
|
11
10
|
import { Unit } from '../../model/unit';
|
|
12
11
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
@@ -14,7 +13,6 @@ import * as i0 from "@angular/core";
|
|
|
14
13
|
export declare class ElderQuantityInputControlComponent extends ElderFormFieldControlBase<Quantity> implements OnInit {
|
|
15
14
|
ngControl: NgControl;
|
|
16
15
|
private readonly unitService;
|
|
17
|
-
private readonly decimalPipe;
|
|
18
16
|
/***************************************************************************
|
|
19
17
|
* *
|
|
20
18
|
* Fields *
|
|
@@ -39,7 +37,7 @@ export declare class ElderQuantityInputControlComponent extends ElderFormFieldCo
|
|
|
39
37
|
* Constructor *
|
|
40
38
|
* *
|
|
41
39
|
**************************************************************************/
|
|
42
|
-
constructor(hostRef: ElementRef, zone: NgZone, focusMonitor: FocusMonitor, translateService: TranslateService, ngControl: NgControl, unitService: ElderUnitService
|
|
40
|
+
constructor(hostRef: ElementRef, zone: NgZone, focusMonitor: FocusMonitor, translateService: TranslateService, ngControl: NgControl, unitService: ElderUnitService);
|
|
43
41
|
/***************************************************************************
|
|
44
42
|
* *
|
|
45
43
|
* Life Cycle *
|
|
@@ -74,6 +72,6 @@ export declare class ElderQuantityInputControlComponent extends ElderFormFieldCo
|
|
|
74
72
|
* *
|
|
75
73
|
**************************************************************************/
|
|
76
74
|
protected valuesEquals(a: Quantity, b: Quantity): boolean;
|
|
77
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ElderQuantityInputControlComponent, [null, null, null, null, { optional: true; self: true; }, null
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderQuantityInputControlComponent, [null, null, null, null, { optional: true; self: true; }, null]>;
|
|
78
76
|
static ɵcmp: i0.ɵɵComponentDeclaration<ElderQuantityInputControlComponent, "elder-quantity-input", never, { "displayFormat": { "alias": "displayFormat"; "required": false; }; "quantityValue": { "alias": "quantityValue"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "hideUnit": { "alias": "hideUnit"; "required": false; }; }, { "quantityValueChange": "quantityValueChange"; "unitChange": "unitChange"; }, never, never, true, never>;
|
|
79
77
|
}
|
|
@@ -2,6 +2,7 @@ import { Unit } from '../model/unit';
|
|
|
2
2
|
import { Quantity } from '../model/quantity';
|
|
3
3
|
import { ElderUnitService } from '../elder-unit.service';
|
|
4
4
|
import { Dimensions } from '../model/dimensions';
|
|
5
|
+
import { QuantityPipeOptions } from '../elder-quantity.pipe';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ElderQuantityService {
|
|
7
8
|
private readonly unitService;
|
|
@@ -11,6 +12,9 @@ export declare class ElderQuantityService {
|
|
|
11
12
|
* *
|
|
12
13
|
**************************************************************************/
|
|
13
14
|
private readonly logger;
|
|
15
|
+
private static readonly EMPTY_STRING;
|
|
16
|
+
private static readonly SPACE_STRING;
|
|
17
|
+
private static readonly DEFAULT_DIGITS;
|
|
14
18
|
private readonly QUANTITY_CACHE_SIZE;
|
|
15
19
|
private readonly QUANTITY_CACHE;
|
|
16
20
|
/***************************************************************************
|
|
@@ -119,6 +123,8 @@ export declare class ElderQuantityService {
|
|
|
119
123
|
* @param quantity
|
|
120
124
|
*/
|
|
121
125
|
normalize(quantity: Quantity): Quantity;
|
|
126
|
+
transformQuantity(quantity: Quantity, normalize?: boolean, targetUnit?: Unit | string): Quantity;
|
|
127
|
+
formatQuantity(quantity: Quantity, locale: string, normalize?: boolean | QuantityPipeOptions, targetUnit?: Unit | string, digitsInfo?: string): string;
|
|
122
128
|
/***************************************************************************
|
|
123
129
|
* *
|
|
124
130
|
* Private Methods *
|
|
@@ -126,6 +132,12 @@ export declare class ElderQuantityService {
|
|
|
126
132
|
**************************************************************************/
|
|
127
133
|
private normalizeInternal;
|
|
128
134
|
private getQuantityIdentifier;
|
|
135
|
+
/**
|
|
136
|
+
* Adapted from @angular/common number_pipe.ts
|
|
137
|
+
*/
|
|
138
|
+
private strToNumber;
|
|
139
|
+
private static determineUserOptions;
|
|
140
|
+
private determineSuffix;
|
|
129
141
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderQuantityService, never>;
|
|
130
142
|
static ɵprov: i0.ɵɵInjectableDeclaration<ElderQuantityService>;
|
|
131
143
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { AfterViewInit } from '@angular/core';
|
|
2
2
|
import { ElderSelectComponent } from '../single/elder-select/elder-select.component';
|
|
3
|
+
import { ElderAutoSelectFirstService } from './elder-auto-select-first.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ElderAutoSelectFirstDirective<TEntity = any, TId = any> implements AfterViewInit {
|
|
5
6
|
readonly elderSelect: ElderSelectComponent<TEntity, TId, any>;
|
|
7
|
+
private readonly autoSelectFirstService;
|
|
6
8
|
/***************************************************************************
|
|
7
9
|
* *
|
|
8
10
|
* Fields *
|
|
@@ -15,7 +17,7 @@ export declare class ElderAutoSelectFirstDirective<TEntity = any, TId = any> imp
|
|
|
15
17
|
* Constructor *
|
|
16
18
|
* *
|
|
17
19
|
**************************************************************************/
|
|
18
|
-
constructor(elderSelect: ElderSelectComponent<TEntity, TId, any>);
|
|
20
|
+
constructor(elderSelect: ElderSelectComponent<TEntity, TId, any>, autoSelectFirstService: ElderAutoSelectFirstService<TEntity>);
|
|
19
21
|
/***************************************************************************
|
|
20
22
|
* *
|
|
21
23
|
* Life Cycle *
|
|
@@ -34,6 +36,12 @@ export declare class ElderAutoSelectFirstDirective<TEntity = any, TId = any> imp
|
|
|
34
36
|
set autoSelectFirstEnabled(val: boolean | string);
|
|
35
37
|
set enabled(val: boolean);
|
|
36
38
|
get enabled(): boolean;
|
|
39
|
+
/***************************************************************************
|
|
40
|
+
* *
|
|
41
|
+
* Public API *
|
|
42
|
+
* *
|
|
43
|
+
**************************************************************************/
|
|
44
|
+
forceReloadFirst(): void;
|
|
37
45
|
/***************************************************************************
|
|
38
46
|
* *
|
|
39
47
|
* Private methods *
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ElderAutoSelectFirstService<TEntity> {
|
|
4
|
+
private readonly _firstItem$;
|
|
5
|
+
private readonly _enabled$;
|
|
6
|
+
constructor();
|
|
7
|
+
/***************************************************************************
|
|
8
|
+
* *
|
|
9
|
+
* Public API *
|
|
10
|
+
* *
|
|
11
|
+
**************************************************************************/
|
|
12
|
+
suggestFirstItem(entity: TEntity): void;
|
|
13
|
+
/***************************************************************************
|
|
14
|
+
* *
|
|
15
|
+
* Properties *
|
|
16
|
+
* *
|
|
17
|
+
**************************************************************************/
|
|
18
|
+
set enabled(enabled: boolean);
|
|
19
|
+
get enabled$(): import("rxjs").Observable<boolean>;
|
|
20
|
+
get firstItem$(): BehaviorSubject<TEntity>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderAutoSelectFirstService<any>, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ElderAutoSelectFirstService<any>>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DestroyRef } from '@angular/core';
|
|
2
|
+
import { ElderSuggestionPanelComponent } from '../../input/autocomplete/elder-autocomplete/elder-suggestion-panel.component';
|
|
3
|
+
import { ElderAutoSelectFirstService } from './elder-auto-select-first.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ElderAutoSelectSuggestFirstDirective<TEntity = any, TId = any> {
|
|
6
|
+
readonly elderAutoComplete: ElderSuggestionPanelComponent<TEntity, TId>;
|
|
7
|
+
private readonly autoSelectFirstService;
|
|
8
|
+
private readonly destroyRef;
|
|
9
|
+
/***************************************************************************
|
|
10
|
+
* *
|
|
11
|
+
* Fields *
|
|
12
|
+
* *
|
|
13
|
+
**************************************************************************/
|
|
14
|
+
private readonly log;
|
|
15
|
+
/***************************************************************************
|
|
16
|
+
* *
|
|
17
|
+
* Constructor *
|
|
18
|
+
* *
|
|
19
|
+
**************************************************************************/
|
|
20
|
+
constructor(elderAutoComplete: ElderSuggestionPanelComponent<TEntity, TId>, autoSelectFirstService: ElderAutoSelectFirstService<TEntity>, destroyRef: DestroyRef);
|
|
21
|
+
/***************************************************************************
|
|
22
|
+
* *
|
|
23
|
+
* Private methods *
|
|
24
|
+
* *
|
|
25
|
+
**************************************************************************/
|
|
26
|
+
private subscribeToAutoSelectFirstService;
|
|
27
|
+
private suggestFirstItem;
|
|
28
|
+
private selectFirstItemInDataContext;
|
|
29
|
+
private firstItemInDataContextSoon;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderAutoSelectSuggestFirstDirective<any, any>, [null, { optional: true; }, null]>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ElderAutoSelectSuggestFirstDirective<any, any>, "[elderAutoSelectSuggestFirst]", never, {}, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
1
2
|
import { ElderSelectComponent } from '../single/elder-select/elder-select.component';
|
|
2
3
|
export declare class ElderSelectFirstUtil {
|
|
3
4
|
/***************************************************************************
|
|
@@ -11,12 +12,11 @@ export declare class ElderSelectFirstUtil {
|
|
|
11
12
|
* Public methods *
|
|
12
13
|
* *
|
|
13
14
|
**************************************************************************/
|
|
14
|
-
static trySelectFirst<TEntity, TId>(elderSelect: ElderSelectComponent<TEntity, TId, any>): void;
|
|
15
|
+
static trySelectFirst<TEntity, TId>(elderSelect: ElderSelectComponent<TEntity, TId, any>, oFirstItem: Observable<TEntity>): void;
|
|
15
16
|
/***************************************************************************
|
|
16
17
|
* *
|
|
17
18
|
* Private methods *
|
|
18
19
|
* *
|
|
19
20
|
**************************************************************************/
|
|
20
|
-
private static firstItemInDataContextSoon;
|
|
21
21
|
private static firstSuggestionItem;
|
|
22
22
|
}
|
|
@@ -126,6 +126,7 @@ export declare abstract class ElderSelectBase<TId, TEntity, TValue> extends Elde
|
|
|
126
126
|
get shouldLabelFloat(): boolean;
|
|
127
127
|
set templateOptions$(comps: ElderSelectOptionComponent<TEntity>[]);
|
|
128
128
|
get templateOptions$(): Observable<ElderSelectOptionComponent<TEntity>[]>;
|
|
129
|
+
getEntityId(entity: TEntity): TId;
|
|
129
130
|
/***************************************************************************
|
|
130
131
|
* *
|
|
131
132
|
* Abstract API *
|
|
@@ -140,7 +141,6 @@ export declare abstract class ElderSelectBase<TId, TEntity, TValue> extends Elde
|
|
|
140
141
|
* Internal API *
|
|
141
142
|
* *
|
|
142
143
|
**************************************************************************/
|
|
143
|
-
protected getEntityId(entity: TEntity): TId;
|
|
144
144
|
protected dataSourceOrThrow(): IDataSource<TEntity>;
|
|
145
145
|
protected isEqual(a: TEntity, b: TEntity): boolean;
|
|
146
146
|
protected isEmpty(a: TEntity): boolean;
|
|
@@ -35,6 +35,10 @@ import * as i33 from "./single/elder-clear-select.directive";
|
|
|
35
35
|
import * as i34 from "./multi/elder-multi-select-chip-options/elder-multi-select-chip-options.component";
|
|
36
36
|
import * as i35 from "./multi/elder-chip-select-option/elder-select-option.component";
|
|
37
37
|
import * as i36 from "./multi/elder-mutli-select-all-directive";
|
|
38
|
+
import * as i37 from "./auto/elder-auto-select-suggest-first.directive";
|
|
39
|
+
import * as i38 from "./filter/elder-chips-filter.directive";
|
|
40
|
+
import * as i39 from "./filter/elder-filter-chip-template/elder-filter-chip-template.component";
|
|
41
|
+
import * as i40 from "./multi/elder-search-include-exclude.directive";
|
|
38
42
|
export { ElderSelectValueDirective } from './elder-select-value.directive';
|
|
39
43
|
export * from './elder-select-chip.directive';
|
|
40
44
|
export { ElderSelectOnTabDirective } from './elder-select-on-tab.directive';
|
|
@@ -49,8 +53,12 @@ export { ElderSelectOptionComponent } from './multi/elder-chip-select-option/eld
|
|
|
49
53
|
export { ElderAutoSelectFirstDirective } from './auto/elder-auto-select-first.directive';
|
|
50
54
|
export { ElderClearSelectDirective } from './single/elder-clear-select.directive';
|
|
51
55
|
export { ElderMultiSelectAllInitialDirective } from './multi/elder-mutli-select-all-directive';
|
|
56
|
+
export { ElderAutoSelectSuggestFirstDirective } from './auto/elder-auto-select-suggest-first.directive';
|
|
57
|
+
export { ElderChipsFilterDirective } from './filter/elder-chips-filter.directive';
|
|
58
|
+
export { ElderFilterChipTemplate } from './filter/elder-filter-chip-template/elder-filter-chip-template.component';
|
|
59
|
+
export { ElderSearchIncludeExcludeDirective } from './multi/elder-search-include-exclude.directive';
|
|
52
60
|
export declare class ElderSelectModule {
|
|
53
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderSelectModule, never>;
|
|
54
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderSelectModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.MatFormFieldModule, typeof i4.MatIconModule, typeof i5.MatSelectModule, typeof i6.MatDialogModule, typeof i7.MatButtonModule, typeof i8.MatInputModule, typeof i9.MatAutocompleteModule, typeof i10.MatToolbarModule, typeof i11.MatProgressBarModule, typeof i12.MatProgressSpinnerModule, typeof i13.MatChipsModule, typeof i14.MatTooltipModule, typeof i15.CdkDropList, typeof i15.CdkDrag, typeof i16.TranslateModule, typeof i17.ElderFormsDirectivesModule, typeof i18.ElderTableModule, typeof i19.ElderInfiniteScrollModule, typeof i20.ElderAutocompleteModule, typeof i21.ElderPipesModule, typeof i22.ElderThemeModule, typeof i23.ElderChipsModule, typeof i1.AsyncPipe, typeof i1.AsyncPipe, typeof i24.ElderSelectComponent, typeof i25.ElderSelectValueDirective, typeof i26.TemplatedSelectionDialogComponent, typeof i27.SelectionModelPopupDirective, typeof i28.ElderSelectionPopupTriggerAdapterDirective, typeof i29.ElderSelectOnTabDirective, typeof i30.ElderMultiSelectChipsComponent, typeof i31.ElderSelectChipDirective, typeof i31.ElderSelectChipAvatarDirective, typeof i32.ElderAutoSelectFirstDirective, typeof i33.ElderClearSelectDirective, typeof i31.ElderSelectCustomInputDirective, typeof i34.ElderMultiSelectChipOptionsComponent, typeof i35.ElderSelectOptionComponent, typeof i36.ElderMultiSelectAllInitialDirective], [typeof i24.ElderSelectComponent, typeof i25.ElderSelectValueDirective, typeof i26.TemplatedSelectionDialogComponent, typeof i27.SelectionModelPopupDirective, typeof i28.ElderSelectionPopupTriggerAdapterDirective, typeof i30.ElderMultiSelectChipsComponent, typeof i31.ElderSelectChipDirective, typeof i31.ElderSelectChipAvatarDirective, typeof i32.ElderAutoSelectFirstDirective, typeof i33.ElderClearSelectDirective, typeof i31.ElderSelectCustomInputDirective, typeof i34.ElderMultiSelectChipOptionsComponent, typeof i35.ElderSelectOptionComponent, typeof i36.ElderMultiSelectAllInitialDirective]>;
|
|
62
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderSelectModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.MatFormFieldModule, typeof i4.MatIconModule, typeof i5.MatSelectModule, typeof i6.MatDialogModule, typeof i7.MatButtonModule, typeof i8.MatInputModule, typeof i9.MatAutocompleteModule, typeof i10.MatToolbarModule, typeof i11.MatProgressBarModule, typeof i12.MatProgressSpinnerModule, typeof i13.MatChipsModule, typeof i14.MatTooltipModule, typeof i15.CdkDropList, typeof i15.CdkDrag, typeof i16.TranslateModule, typeof i17.ElderFormsDirectivesModule, typeof i18.ElderTableModule, typeof i19.ElderInfiniteScrollModule, typeof i20.ElderAutocompleteModule, typeof i21.ElderPipesModule, typeof i22.ElderThemeModule, typeof i23.ElderChipsModule, typeof i1.AsyncPipe, typeof i1.AsyncPipe, typeof i24.ElderSelectComponent, typeof i25.ElderSelectValueDirective, typeof i26.TemplatedSelectionDialogComponent, typeof i27.SelectionModelPopupDirective, typeof i28.ElderSelectionPopupTriggerAdapterDirective, typeof i29.ElderSelectOnTabDirective, typeof i30.ElderMultiSelectChipsComponent, typeof i31.ElderSelectChipDirective, typeof i31.ElderSelectChipAvatarDirective, typeof i32.ElderAutoSelectFirstDirective, typeof i33.ElderClearSelectDirective, typeof i31.ElderSelectCustomInputDirective, typeof i34.ElderMultiSelectChipOptionsComponent, typeof i35.ElderSelectOptionComponent, typeof i36.ElderMultiSelectAllInitialDirective, typeof i37.ElderAutoSelectSuggestFirstDirective, typeof i38.ElderChipsFilterDirective, typeof i39.ElderFilterChipTemplate, typeof i40.ElderSearchIncludeExcludeDirective], [typeof i24.ElderSelectComponent, typeof i25.ElderSelectValueDirective, typeof i26.TemplatedSelectionDialogComponent, typeof i27.SelectionModelPopupDirective, typeof i28.ElderSelectionPopupTriggerAdapterDirective, typeof i30.ElderMultiSelectChipsComponent, typeof i31.ElderSelectChipDirective, typeof i31.ElderSelectChipAvatarDirective, typeof i32.ElderAutoSelectFirstDirective, typeof i33.ElderClearSelectDirective, typeof i31.ElderSelectCustomInputDirective, typeof i34.ElderMultiSelectChipOptionsComponent, typeof i35.ElderSelectOptionComponent, typeof i36.ElderMultiSelectAllInitialDirective, typeof i37.ElderAutoSelectSuggestFirstDirective, typeof i38.ElderChipsFilterDirective, typeof i39.ElderFilterChipTemplate, typeof i40.ElderSearchIncludeExcludeDirective]>;
|
|
55
63
|
static ɵinj: i0.ɵɵInjectorDeclaration<ElderSelectModule>;
|
|
56
64
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SelectChipSpec } from '../multi/elder-multi-select-chips/select-chip-spec';
|
|
2
|
+
import { ElderChipFilterEntity } from './elder-chips-filter.directive';
|
|
3
|
+
export default class ElderChipFilterStyleResolver {
|
|
4
|
+
/***************************************************************************
|
|
5
|
+
* *
|
|
6
|
+
* Fields *
|
|
7
|
+
* *
|
|
8
|
+
**************************************************************************/
|
|
9
|
+
private readonly neutralChipSpec;
|
|
10
|
+
private readonly includedChipSpec;
|
|
11
|
+
private readonly excludedChipSpec;
|
|
12
|
+
/***************************************************************************
|
|
13
|
+
* *
|
|
14
|
+
* Public API *
|
|
15
|
+
* *
|
|
16
|
+
**************************************************************************/
|
|
17
|
+
resolveChipSpec(filterEntity: ElderChipFilterEntity): SelectChipSpec;
|
|
18
|
+
resolveAvatar(filterEntity: ElderChipFilterEntity): string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { DestroyRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ElderMultiSelectChipsComponent } from '../multi/elder-multi-select-chips/elder-multi-select-chips.component';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ElderSearchInputDirective } from '../../forms/search/elder-search-input.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface ElderChipFilterEntity {
|
|
7
|
+
id: string;
|
|
8
|
+
selection: ElderChipFilterSelection;
|
|
9
|
+
}
|
|
10
|
+
export declare enum ElderChipFilterSelection {
|
|
11
|
+
NEUTRAL = "NEUTRAL",
|
|
12
|
+
INCLUDE = "INCLUDE",
|
|
13
|
+
EXCLUDE = "EXCLUDE"
|
|
14
|
+
}
|
|
15
|
+
export declare class ElderChipsFilterDirective<T = any> {
|
|
16
|
+
readonly elderMultiSelectChips: ElderMultiSelectChipsComponent;
|
|
17
|
+
readonly elderSearchInput: ElderSearchInputDirective;
|
|
18
|
+
readonly vcr: ViewContainerRef;
|
|
19
|
+
private readonly destroyRef;
|
|
20
|
+
/***************************************************************************
|
|
21
|
+
* *
|
|
22
|
+
* Fields *
|
|
23
|
+
* *
|
|
24
|
+
**************************************************************************/
|
|
25
|
+
private readonly log;
|
|
26
|
+
private readonly _selection$;
|
|
27
|
+
private readonly chipStyleResolver;
|
|
28
|
+
private readonly initialDone$;
|
|
29
|
+
private readonly _includeSuffix$;
|
|
30
|
+
private readonly _excludeSuffix$;
|
|
31
|
+
/***************************************************************************
|
|
32
|
+
* *
|
|
33
|
+
* Properties *
|
|
34
|
+
* *
|
|
35
|
+
**************************************************************************/
|
|
36
|
+
set includeSuffix(suffix: string);
|
|
37
|
+
set excludeSuffix(suffix: string);
|
|
38
|
+
/***************************************************************************
|
|
39
|
+
* *
|
|
40
|
+
* Constructor *
|
|
41
|
+
* *
|
|
42
|
+
**************************************************************************/
|
|
43
|
+
constructor(elderMultiSelectChips: ElderMultiSelectChipsComponent, elderSearchInput: ElderSearchInputDirective, vcr: ViewContainerRef, destroyRef: DestroyRef);
|
|
44
|
+
/***************************************************************************
|
|
45
|
+
* *
|
|
46
|
+
* Properties *
|
|
47
|
+
* *
|
|
48
|
+
**************************************************************************/
|
|
49
|
+
get selection(): ElderChipFilterEntity[];
|
|
50
|
+
get selection$(): Observable<ElderChipFilterEntity[]>;
|
|
51
|
+
set selection(listedEntityIds: ElderChipFilterEntity[]);
|
|
52
|
+
/***************************************************************************
|
|
53
|
+
* *
|
|
54
|
+
* Private methods *
|
|
55
|
+
* *
|
|
56
|
+
**************************************************************************/
|
|
57
|
+
private setupFilterChips;
|
|
58
|
+
private setupElderMultiSelectChipsListeners;
|
|
59
|
+
private resolveChipSpec;
|
|
60
|
+
private resolveAvatar;
|
|
61
|
+
private handleChipClick;
|
|
62
|
+
private cycleFilterEntitySelection;
|
|
63
|
+
private findFilterEntityByEntity;
|
|
64
|
+
private findFilterEntityById;
|
|
65
|
+
private updateChipEntities;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderChipsFilterDirective<any>, never>;
|
|
67
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ElderChipsFilterDirective<any>, "[elderChipsFilter]", never, { "includeSuffix": { "alias": "includeSuffix"; "required": false; }; "excludeSuffix": { "alias": "excludeSuffix"; "required": false; }; }, {}, never, never, true, never>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ElderFilterChipTemplate {
|
|
5
|
+
/***************************************************************************
|
|
6
|
+
* *
|
|
7
|
+
* Fields *
|
|
8
|
+
* *
|
|
9
|
+
**************************************************************************/
|
|
10
|
+
private _avatarRef$;
|
|
11
|
+
private _bodyRef$;
|
|
12
|
+
private _resolveAvatar$;
|
|
13
|
+
/***************************************************************************
|
|
14
|
+
* *
|
|
15
|
+
* Constructor *
|
|
16
|
+
* *
|
|
17
|
+
**************************************************************************/
|
|
18
|
+
constructor();
|
|
19
|
+
/***************************************************************************
|
|
20
|
+
* *
|
|
21
|
+
* Properties *
|
|
22
|
+
* *
|
|
23
|
+
**************************************************************************/
|
|
24
|
+
set avatarRef(avatarRef: TemplateRef<any>);
|
|
25
|
+
get avatarRef$(): Observable<TemplateRef<any>>;
|
|
26
|
+
set bodyRef(avatarRef: TemplateRef<any>);
|
|
27
|
+
get bodyRef$(): Observable<TemplateRef<any>>;
|
|
28
|
+
set resolveAvatar(fn: (id: string) => string);
|
|
29
|
+
get resolveAvatar$(): Observable<(id: string) => string>;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderFilterChipTemplate, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderFilterChipTemplate, "elder-filter-chip-template", never, {}, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -32,6 +32,10 @@ export declare class ElderMultiSelectChipOptionsComponent<TId = any, TEntity = a
|
|
|
32
32
|
defaultChipSpec: SelectOptionChipSpec;
|
|
33
33
|
_chipSpecFn$: BehaviorSubject<(e: TEntity) => SelectOptionChipSpec>;
|
|
34
34
|
stacked: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Page size. (Used for infinite scrolling chunks)
|
|
37
|
+
*/
|
|
38
|
+
pageSize: number;
|
|
35
39
|
private _multiple;
|
|
36
40
|
_listBox: MatChipListbox;
|
|
37
41
|
/***************************************************************************
|
|
@@ -92,6 +96,6 @@ export declare class ElderMultiSelectChipOptionsComponent<TId = any, TEntity = a
|
|
|
92
96
|
private extractEntitiesFromTemplateChips;
|
|
93
97
|
private buildEntitiesLabelMap;
|
|
94
98
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderMultiSelectChipOptionsComponent<any, any, any>, [null, null, null, null, null, null, { optional: true; self: true; }]>;
|
|
95
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElderMultiSelectChipOptionsComponent<any, any, any>, "elder-multi-select-chip-options", never, { "defaultChipSpec": { "alias": "defaultChipSpec"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "chipSpecFn": { "alias": "chipSpecFn"; "required": false; }; "chipTemplate": { "alias": "chipTemplate"; "required": false; }; "chipAvatarTemplate": { "alias": "chipAvatarTemplate"; "required": false; }; }, {}, ["chipTemplateQuery", "chipAvatarTemplateQuery"], ["*"], true, never>;
|
|
99
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderMultiSelectChipOptionsComponent<any, any, any>, "elder-multi-select-chip-options", never, { "defaultChipSpec": { "alias": "defaultChipSpec"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "chipSpecFn": { "alias": "chipSpecFn"; "required": false; }; "chipTemplate": { "alias": "chipTemplate"; "required": false; }; "chipAvatarTemplate": { "alias": "chipAvatarTemplate"; "required": false; }; }, {}, ["chipTemplateQuery", "chipAvatarTemplateQuery"], ["*"], true, never>;
|
|
96
100
|
}
|
|
97
101
|
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DestroyRef } from '@angular/core';
|
|
2
|
+
import { ElderSearchInputDirective } from '../../forms/search/elder-search-input.directive';
|
|
3
|
+
import { ElderChipsFilterDirective } from '../filter/elder-chips-filter.directive';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ElderSearchIncludeExcludeDirective {
|
|
6
|
+
private readonly elderSearchInput;
|
|
7
|
+
private readonly elderChipsFilter;
|
|
8
|
+
private destroyRef;
|
|
9
|
+
/***************************************************************************
|
|
10
|
+
* *
|
|
11
|
+
* Fields *
|
|
12
|
+
* *
|
|
13
|
+
**************************************************************************/
|
|
14
|
+
private readonly _includeSuffix$;
|
|
15
|
+
private readonly _excludeSuffix$;
|
|
16
|
+
/***************************************************************************
|
|
17
|
+
* *
|
|
18
|
+
* Properties *
|
|
19
|
+
* *
|
|
20
|
+
**************************************************************************/
|
|
21
|
+
set includeSuffix(suffix: string);
|
|
22
|
+
set excludeSuffix(suffix: string);
|
|
23
|
+
/***************************************************************************
|
|
24
|
+
* *
|
|
25
|
+
* Constructor *
|
|
26
|
+
* *
|
|
27
|
+
**************************************************************************/
|
|
28
|
+
constructor(elderSearchInput: ElderSearchInputDirective, elderChipsFilter: ElderChipsFilterDirective, destroyRef: DestroyRef);
|
|
29
|
+
/***************************************************************************
|
|
30
|
+
* *
|
|
31
|
+
* Private Methods *
|
|
32
|
+
* *
|
|
33
|
+
**************************************************************************/
|
|
34
|
+
private setupSearchQueryTransforms;
|
|
35
|
+
private setupConverter;
|
|
36
|
+
private transformSelectionToMap;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderSearchIncludeExcludeDirective, never>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ElderSearchIncludeExcludeDirective, "[elderSearchIncludeExclude]", never, { "includeSuffix": { "alias": "includeSuffix"; "required": false; }; "excludeSuffix": { "alias": "excludeSuffix"; "required": false; }; }, {}, never, never, true, never>;
|
|
39
|
+
}
|
|
@@ -119,7 +119,6 @@ export declare class ElderSelectComponent<TEntity = any, TId = any, TValue = TEn
|
|
|
119
119
|
onOptionSelected(optionSelected: ElderAutocompleteOptionSelected<TEntity, TId>): void;
|
|
120
120
|
openSelectionPopup(event: Event): void;
|
|
121
121
|
clear(event?: Event): void;
|
|
122
|
-
forceReloadFirst(): void;
|
|
123
122
|
updateValueByEntity(entity: TEntity): void;
|
|
124
123
|
focus(options?: FocusOptions): void;
|
|
125
124
|
blur(): void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import { Duration, Period } from '@js-joda/core';
|
|
3
|
-
import { ElderUnitService } from '../components/measures/elder-unit.service';
|
|
4
3
|
import { PeriodDuration } from '../common/time/period-duration';
|
|
5
4
|
import { IsoDurationStr } from '../components/time/duration/iso-duration-str';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
@@ -12,9 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
12
11
|
* all arguments except P are optional, decimal numbers allowed
|
|
13
12
|
*/
|
|
14
13
|
export declare class IsoDurationPipe implements PipeTransform {
|
|
15
|
-
private readonly unitService;
|
|
16
14
|
private readonly logger;
|
|
17
|
-
constructor(unitService: ElderUnitService);
|
|
18
15
|
/***************************************************************************
|
|
19
16
|
* *
|
|
20
17
|
* Public API *
|
|
@@ -8,8 +8,7 @@ export declare class IsoIntervalPipe implements PipeTransform {
|
|
|
8
8
|
* Fields *
|
|
9
9
|
* *
|
|
10
10
|
**************************************************************************/
|
|
11
|
-
private
|
|
12
|
-
private readonly datePipe;
|
|
11
|
+
private log;
|
|
13
12
|
/***************************************************************************
|
|
14
13
|
* *
|
|
15
14
|
* Constructor *
|
|
@@ -22,7 +21,9 @@ export declare class IsoIntervalPipe implements PipeTransform {
|
|
|
22
21
|
* *
|
|
23
22
|
**************************************************************************/
|
|
24
23
|
/**
|
|
25
|
-
* Transforms an Interval / ISO Interval to a human
|
|
24
|
+
* Transforms an Interval / ISO Interval to a human-readable display text.
|
|
25
|
+
*
|
|
26
|
+
* @return null in case of error
|
|
26
27
|
*
|
|
27
28
|
* @param value The interval value, either as iso string or interval object
|
|
28
29
|
* @param format The format of the start (and if not specified otherwise, the end)
|
|
@@ -30,15 +31,7 @@ export declare class IsoIntervalPipe implements PipeTransform {
|
|
|
30
31
|
* @param timezone
|
|
31
32
|
* @param locale
|
|
32
33
|
*/
|
|
33
|
-
transform(value: IsoIntervalStr | Interval, format?: string, formatEnd?: string, timezone?: string, locale?: string): string;
|
|
34
|
-
/***************************************************************************
|
|
35
|
-
* *
|
|
36
|
-
* Private methods *
|
|
37
|
-
* *
|
|
38
|
-
**************************************************************************/
|
|
39
|
-
private formatSubDay;
|
|
40
|
-
private formatInstant;
|
|
41
|
-
private format;
|
|
34
|
+
transform(value: IsoIntervalStr | Interval, format?: string, formatEnd?: string, timezone?: string, locale?: string): string | null;
|
|
42
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<IsoIntervalPipe, never>;
|
|
43
36
|
static ɵpipe: i0.ɵɵPipeDeclaration<IsoIntervalPipe, "isoInterval", true>;
|
|
44
37
|
}
|