@elderbyte/ngx-starter 18.8.2 → 18.10.0
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/enums/elder-enum-translation.service.mjs +3 -3
- package/esm2022/lib/common/forms/elder-form-field-control-base.directive.mjs +3 -3
- package/esm2022/lib/common/forms/elder-from-field-base.mjs +3 -3
- package/esm2022/lib/common/forms/elder-from-field-customizable-base.mjs +3 -3
- package/esm2022/lib/common/forms/elder-from-field-entity-base.mjs +3 -3
- package/esm2022/lib/common/forms/elder-from-field-multi-entity-base.mjs +3 -3
- package/esm2022/lib/common/forms/form-field-base.component.mjs +3 -3
- package/esm2022/lib/common/forms/multi-model-base.component.mjs +3 -3
- package/esm2022/lib/common/forms/template-composite-control.mjs +3 -3
- package/esm2022/lib/common/forms/value-accessor-base.mjs +3 -3
- package/esm2022/lib/common/http/http-client-builder.service.mjs +3 -3
- package/esm2022/lib/common/http/http-client-pristine.mjs +3 -3
- package/esm2022/lib/common/http/transfer/data-transfer-factory.mjs +3 -3
- package/esm2022/lib/common/time/public_api.mjs +3 -1
- package/esm2022/lib/common/time/temporal-plain-date-interval.mjs +34 -0
- package/esm2022/lib/common/time/temporal-util.mjs +187 -0
- package/esm2022/lib/common/url/elder-router.service.mjs +3 -3
- package/esm2022/lib/common/url/elder-url-fragment-params.service.mjs +3 -3
- package/esm2022/lib/components/access-denied/elder-access-denied.component.mjs +3 -3
- package/esm2022/lib/components/access-denied/elder-access-denied.module.mjs +4 -4
- package/esm2022/lib/components/auditing/audited-entity/elder-audited-entity.component.mjs +3 -3
- package/esm2022/lib/components/auditing/elder-audit.module.mjs +4 -4
- package/esm2022/lib/components/badge/elder-badge/elder-badge.component.mjs +9 -9
- package/esm2022/lib/components/badge/elder-badge.directive.mjs +3 -3
- package/esm2022/lib/components/badge/elder-badge.module.mjs +4 -4
- package/esm2022/lib/components/button-group/elder-button-group/elder-button-group.component.mjs +3 -3
- package/esm2022/lib/components/button-group/elder-button-group.module.mjs +4 -4
- package/esm2022/lib/components/card-organizer/card-organizer/elder-card-organizer.component.mjs +3 -3
- package/esm2022/lib/components/card-organizer/card-organizer/elder-stack-card.directive.mjs +3 -3
- package/esm2022/lib/components/card-organizer/card-stack/elder-card-stack.component.mjs +3 -3
- package/esm2022/lib/components/card-organizer/elder-card-organizer.module.mjs +4 -4
- package/esm2022/lib/components/cards/elder-card/elder-card-header/elder-card-header.component.mjs +3 -3
- package/esm2022/lib/components/cards/elder-card/elder-card.component.mjs +18 -18
- package/esm2022/lib/components/cards/elder-card/elder-card.module.mjs +4 -4
- package/esm2022/lib/components/chips/elder-chip-label.directive.mjs +3 -3
- package/esm2022/lib/components/chips/elder-chips.module.mjs +4 -4
- package/esm2022/lib/components/connectivity/elder-connectivity.module.mjs +4 -4
- package/esm2022/lib/components/connectivity/elder-connectivity.service.mjs +3 -3
- package/esm2022/lib/components/connectivity/offline-indicator/elder-offline-indicator.component.mjs +3 -3
- package/esm2022/lib/components/containers/elder-containers.module.mjs +4 -4
- package/esm2022/lib/components/containers/elder-scroll-container/elder-scroll-container.component.mjs +3 -3
- package/esm2022/lib/components/csv/elder-csv-export-btn/elder-csv-export-btn.component.mjs +3 -3
- package/esm2022/lib/components/csv/elder-csv-stream-exporter-builder.service.mjs +3 -3
- package/esm2022/lib/components/csv/elder-csv.module.mjs +4 -4
- package/esm2022/lib/components/currency/elder-currency.module.mjs +4 -4
- package/esm2022/lib/components/currency/elder-currency.pipe.mjs +3 -3
- package/esm2022/lib/components/data-transfer/elder-data-transfer.module.mjs +4 -4
- package/esm2022/lib/components/data-transfer/elder-data-transfer.service.mjs +3 -3
- package/esm2022/lib/components/data-transfer/http-data-transfer/http-data-transfer.component.mjs +3 -3
- package/esm2022/lib/components/data-transfer/http-data-transfer-aggregate/http-data-transfer-aggregate.component.mjs +3 -3
- package/esm2022/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.mjs +3 -3
- package/esm2022/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.mjs +3 -3
- package/esm2022/lib/components/data-view/base/elder-data-view-base.mjs +3 -3
- package/esm2022/lib/components/data-view/common/composite-sort/composite-sort-dc.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/common/composite-sort/elder-composite-sort/elder-composite-sort.component.mjs +3 -3
- package/esm2022/lib/components/data-view/common/data-context-state-indicator/data-context-state-indicator.component.mjs +3 -3
- package/esm2022/lib/components/data-view/common/elder-data-common.module.mjs +4 -4
- package/esm2022/lib/components/data-view/common/elder-data-toolbar/elder-data-toolbar.component.mjs +6 -6
- package/esm2022/lib/components/data-view/common/elder-single-sort/elder-single-sort.component.mjs +3 -3
- package/esm2022/lib/components/data-view/common/selection/data-context-selection.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/common/selection/elder-selection-master-checkbox/elder-selection-master-checkbox.component.mjs +3 -3
- package/esm2022/lib/components/data-view/grid/elder-grid/elder-grid.component.mjs +9 -9
- package/esm2022/lib/components/data-view/grid/elder-grid.module.mjs +4 -4
- package/esm2022/lib/components/data-view/master-detail/elder-detail-dialog/elder-detail-dialog.component.mjs +3 -3
- package/esm2022/lib/components/data-view/master-detail/elder-detail.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/master-detail/elder-master-activation.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/master-detail/elder-master-detail.component.mjs +3 -3
- package/esm2022/lib/components/data-view/master-detail/elder-master-detail.module.mjs +4 -4
- package/esm2022/lib/components/data-view/master-detail/elder-master-detail.service.mjs +3 -3
- package/esm2022/lib/components/data-view/master-detail/elder-master.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.component.mjs +3 -3
- package/esm2022/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.module.mjs +4 -4
- package/esm2022/lib/components/data-view/table/activation/elder-delete-active.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/table/activation/elder-table-activation.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/table/elder-center-cell.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/table/elder-number-cell.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/table/elder-paginator-intl.mjs +3 -3
- package/esm2022/lib/components/data-view/table/elder-table/elder-table-toolbar.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/table/elder-table/elder-table.component.mjs +3 -3
- package/esm2022/lib/components/data-view/table/elder-table-column.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/table/elder-table-extension.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/table/elder-table-root.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/table/elder-table-row.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/table/elder-table-sort.directive.mjs +3 -3
- package/esm2022/lib/components/data-view/table/elder-table.module.mjs +4 -4
- package/esm2022/lib/components/data-view/table/model/elder-table-model.mjs +3 -3
- package/esm2022/lib/components/dialogs/confirm-dialog/elder-confirm-dialog.component.mjs +3 -3
- package/esm2022/lib/components/dialogs/elder-dialog.module.mjs +4 -4
- package/esm2022/lib/components/dialogs/elder-dialog.service.mjs +3 -3
- package/esm2022/lib/components/dialogs/question-dialog/elder-question-dialog.component.mjs +3 -3
- package/esm2022/lib/components/dialogs/selection-dialog/elder-selection-dialog/elder-selection-dialog.component.mjs +3 -3
- package/esm2022/lib/components/dialogs/selection-dialog/elder-selection-dialog.directive.mjs +3 -3
- package/esm2022/lib/components/errors/elder-error.module.mjs +4 -4
- package/esm2022/lib/components/errors/exception-detail/elder-exception-detail.component.mjs +3 -3
- package/esm2022/lib/components/expand-toggle-button/elder-expand-toggle-button.component.mjs +3 -3
- package/esm2022/lib/components/expand-toggle-button/elder-expand-toggle-button.module.mjs +4 -4
- package/esm2022/lib/components/files/blob-viewer/elder-blob-viewer.component.mjs +3 -3
- package/esm2022/lib/components/files/drag-n-drop/elder-drop-zone/elder-drop-zone.component.mjs +3 -3
- package/esm2022/lib/components/files/drag-n-drop/global-drag-drop.service.mjs +3 -3
- package/esm2022/lib/components/files/elder-file-drop-zone.directive.mjs +3 -3
- package/esm2022/lib/components/files/elder-file-select.directive.mjs +3 -3
- package/esm2022/lib/components/files/elder-file.module.mjs +4 -4
- package/esm2022/lib/components/files/file-select/file-select.component.mjs +3 -3
- package/esm2022/lib/components/files/file-upload/file-upload.component.mjs +3 -3
- package/esm2022/lib/components/forms/clipboard/elder-clipboard.service.mjs +3 -3
- package/esm2022/lib/components/forms/directives/base/elder-class-hostbinding-base.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-clipboard-put.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-delayed-focus.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-form-field-dense.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-form-field-label.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-form-field-no-hint.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-form-field-no-spinner.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-forms-directives.module.mjs +4 -4
- package/esm2022/lib/components/forms/directives/elder-initial-value.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-input-pattern.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-key-event.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-next-focusable.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-plug-parent-form.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-stop-event-propagation.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-tab-focus-trap.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-touched.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/elder-triple-state-checkbox.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/validation/elder-validation-error.directive.mjs +3 -3
- package/esm2022/lib/components/forms/directives/validation/strategies/common-validation-message-strategy.mjs +3 -3
- package/esm2022/lib/components/forms/directives/validation/strategies/dynamic-validation-message-strategy.mjs +3 -3
- package/esm2022/lib/components/forms/directives/validation/validation-message-renderer.service.mjs +3 -3
- package/esm2022/lib/components/forms/directives/validation/validators/elder-max.validator.mjs +3 -3
- package/esm2022/lib/components/forms/directives/validation/validators/elder-min.validator.mjs +3 -3
- package/esm2022/lib/components/forms/directives/validation/validators/elder-multiple-of.validator.mjs +3 -3
- package/esm2022/lib/components/forms/directives/validation/validators/elder-required-ignore-zero.validator.mjs +3 -3
- package/esm2022/lib/components/forms/elder-forms.module.mjs +4 -4
- package/esm2022/lib/components/forms/search/domain/context/search-context.service.mjs +3 -3
- package/esm2022/lib/components/forms/search/domain/url/elder-search-url.directive.mjs +3 -3
- package/esm2022/lib/components/forms/search/domain/url/elder-search-url.service.mjs +3 -3
- package/esm2022/lib/components/forms/search/elder-search-context.directive.mjs +3 -3
- package/esm2022/lib/components/forms/search/elder-search-input.directive.mjs +3 -3
- package/esm2022/lib/components/forms/search/elder-search.module.mjs +4 -4
- package/esm2022/lib/components/forms/search/search-box/elder-search-box.component.mjs +27 -41
- package/esm2022/lib/components/forms/search/search-box/elder-search-panel.component.mjs +13 -6
- package/esm2022/lib/components/global-search/elder-global-search.component.mjs +3 -3
- package/esm2022/lib/components/global-search/elder-global-search.module.mjs +4 -4
- package/esm2022/lib/components/global-search/elder-global-search.service.mjs +3 -3
- package/esm2022/lib/components/graph/elder-progress-bar/elder-progress-bar.component.mjs +3 -3
- package/esm2022/lib/components/graph/elder-progress-bar/elder-progress-bar.module.mjs +4 -4
- package/esm2022/lib/components/headers/elder-header/elder-header.component.mjs +3 -3
- package/esm2022/lib/components/headers/elder-header.module.mjs +4 -4
- package/esm2022/lib/components/http-support/elder-http-client.service.mjs +3 -3
- package/esm2022/lib/components/i18n/entities/elder-i18n-entities.module.mjs +4 -4
- package/esm2022/lib/components/i18n/entities/elder-localized-input/elder-localized-input.component.mjs +3 -3
- package/esm2022/lib/components/i18n/entities/elder-localized-input-dialog/elder-localized-input-dialog.component.mjs +3 -3
- package/esm2022/lib/components/i18n/entities/elder-localized-input-dialog.service.mjs +3 -3
- package/esm2022/lib/components/i18n/entities/elder-localized-input-table/elder-localized-input-table.component.mjs +3 -3
- package/esm2022/lib/components/i18n/entities/elder-localized-text-column.directive.mjs +3 -3
- package/esm2022/lib/components/i18n/entities/elder-localized-texts.directive.mjs +3 -3
- package/esm2022/lib/components/i18n/entities/picker/i18n-pick-async.pipe.mjs +3 -3
- package/esm2022/lib/components/i18n/entities/picker/i18n-pick.pipe.mjs +3 -3
- package/esm2022/lib/components/i18n/entities/picker/localisation-picker.service.mjs +3 -3
- package/esm2022/lib/components/i18n/language/elder-language-interceptor.mjs +3 -3
- package/esm2022/lib/components/i18n/language/elder-language.module.mjs +4 -4
- package/esm2022/lib/components/i18n/language/elder-language.service.mjs +3 -3
- package/esm2022/lib/components/i18n/language/language-switcher/elder-language-switcher.component.mjs +3 -3
- package/esm2022/lib/components/i18n/locales/elder-locales-de-ch.module.mjs +4 -4
- package/esm2022/lib/components/iframes/data-view/data-view-iframe/data-view-iframe.component.mjs +3 -3
- package/esm2022/lib/components/iframes/data-view/data-view-iframe-adapter.directive.mjs +3 -3
- package/esm2022/lib/components/iframes/elder-iframe.module.mjs +4 -4
- package/esm2022/lib/components/iframes/iframe-close.directive.mjs +3 -3
- package/esm2022/lib/components/iframes/iframe-dialog/iframe-dialog.component.mjs +3 -3
- package/esm2022/lib/components/iframes/iframe-host/iframe-host.component.mjs +3 -3
- package/esm2022/lib/components/iframes/iframe-side-content/iframe-side-content.component.mjs +3 -3
- package/esm2022/lib/components/iframes/iframe.service.mjs +3 -3
- package/esm2022/lib/components/infinitescroll/elder-infinite-autocomplete.directive.mjs +3 -3
- package/esm2022/lib/components/infinitescroll/elder-infinite-scroll.directive.mjs +3 -3
- package/esm2022/lib/components/infinitescroll/elder-infinite-scroll.module.mjs +4 -4
- package/esm2022/lib/components/input/autocomplete/elder-autocomplete/elder-suggestion-panel.component.mjs +3 -3
- package/esm2022/lib/components/input/autocomplete/elder-autocomplete-many.directive.mjs +3 -3
- package/esm2022/lib/components/input/autocomplete/elder-autocomplete.directive.mjs +3 -3
- package/esm2022/lib/components/input/autocomplete/elder-autocomplete.module.mjs +4 -4
- package/esm2022/lib/components/labels/elder-labels.module.mjs +4 -4
- package/esm2022/lib/components/labels/labels-input/labels-input.component.mjs +3 -3
- package/esm2022/lib/components/measures/dimensions/dimensions-input/elder-dimensions-input.component.mjs +3 -3
- package/esm2022/lib/components/measures/dimensions/validation/elder-required-dimensions.validator.mjs +3 -3
- package/esm2022/lib/components/measures/directives/elder-unit-select.directive.mjs +3 -3
- package/esm2022/lib/components/measures/elder-measures.module.mjs +8 -8
- package/esm2022/lib/components/measures/elder-quantity-transform.pipe.mjs +3 -3
- package/esm2022/lib/components/measures/elder-quantity.pipe.mjs +3 -3
- package/esm2022/lib/components/measures/elder-unit.service.mjs +3 -3
- package/esm2022/lib/components/measures/quantity-input/quantity-form-field/elder-quantity-form-field.component.mjs +3 -3
- package/esm2022/lib/components/measures/quantity-input/quantity-input-control/elder-quantity-input-control.component.mjs +3 -3
- package/esm2022/lib/components/measures/quantity-input/validation/elder-quantity-range.validator.mjs +3 -3
- package/esm2022/lib/components/measures/quantity-input/validation/elder-required-quantity.validator.mjs +3 -3
- package/esm2022/lib/components/measures/util/elder-quantity.service.mjs +3 -3
- package/esm2022/lib/components/navigation/bread-crumbs/bread-crumbs/elder-bread-crumbs.component.mjs +3 -3
- package/esm2022/lib/components/navigation/bread-crumbs/elder-bread-crumbs.module.mjs +4 -4
- package/esm2022/lib/components/navigation/nav/elder-nav.module.mjs +4 -4
- package/esm2022/lib/components/navigation/nav/nav-group/elder-nav-group.component.mjs +3 -3
- package/esm2022/lib/components/navigation/nav/nav-link/elder-nav-link.component.mjs +3 -3
- package/esm2022/lib/components/navigation/nav/nav-list/elder-nav-list.component.mjs +3 -3
- package/esm2022/lib/components/navigation/toolbar/elder-toolbar-column.directive.mjs +3 -3
- package/esm2022/lib/components/navigation/toolbar/elder-toolbar.module.mjs +4 -4
- package/esm2022/lib/components/navigation/toolbar/elder-toolbar.service.mjs +3 -3
- package/esm2022/lib/components/navigation/toolbar/toolbar/elder-toolbar.component.mjs +3 -3
- package/esm2022/lib/components/navigation/toolbar/toolbar-title/elder-toolbar-title.component.mjs +3 -3
- package/esm2022/lib/components/navigation/toolbar/toolbar-title/elder-toolbar-title.service.mjs +3 -3
- package/esm2022/lib/components/overlays/elder-overlay-origin.directive.mjs +3 -3
- package/esm2022/lib/components/overlays/elder-overlay-ref.mjs +3 -3
- package/esm2022/lib/components/overlays/elder-overlay-trigger.directive.mjs +3 -3
- package/esm2022/lib/components/overlays/elder-overlay.component.mjs +3 -3
- package/esm2022/lib/components/overlays/elder-overlay.module.mjs +4 -4
- package/esm2022/lib/components/page/exit-guard/page-exit-guard.module.mjs +4 -4
- package/esm2022/lib/components/page/exit-guard/page-exit-guard.service.mjs +3 -3
- package/esm2022/lib/components/page/exit-guard/page-exit-lock/page-exit-lock.component.mjs +3 -3
- package/esm2022/lib/components/page/exit-guard/page-exit-lock-indicator/page-exit-lock-indicator.component.mjs +3 -3
- package/esm2022/lib/components/page/exit-guard/page-exit-lock-overview/page-exit-lock-overview.component.mjs +3 -3
- package/esm2022/lib/components/panels/card-panel/elder-card-panel.component.mjs +3 -3
- package/esm2022/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.mjs +3 -3
- package/esm2022/lib/components/panels/elder-panel.module.mjs +4 -4
- package/esm2022/lib/components/panels/flat/elder-panel.component.mjs +3 -3
- package/esm2022/lib/components/panels/toggle-panel/elder-toggle-panel-trigger.directive.mjs +3 -3
- package/esm2022/lib/components/panels/toggle-panel/elder-toggle-panel.component.mjs +9 -9
- package/esm2022/lib/components/scrollbar/elder-scrollbar.directive.mjs +3 -3
- package/esm2022/lib/components/scrollbar/elder-scrollbar.module.mjs +4 -4
- package/esm2022/lib/components/select/auto/elder-auto-select-first.directive.mjs +3 -3
- package/esm2022/lib/components/select/auto/elder-auto-select-first.service.mjs +3 -3
- package/esm2022/lib/components/select/auto/elder-auto-select-suggest-first.directive.mjs +3 -3
- package/esm2022/lib/components/select/elder-select-base.mjs +3 -3
- package/esm2022/lib/components/select/elder-select-chip.directive.mjs +9 -9
- package/esm2022/lib/components/select/elder-select-on-tab.directive.mjs +3 -3
- package/esm2022/lib/components/select/elder-select-value.directive.mjs +3 -3
- package/esm2022/lib/components/select/elder-select.module.mjs +4 -4
- package/esm2022/lib/components/select/filter/elder-chips-include-exclude.directive.mjs +3 -3
- package/esm2022/lib/components/select/filter/elder-filter-chip-template/elder-filter-chip-template.component.mjs +3 -3
- package/esm2022/lib/components/select/multi/elder-chip-select-option/elder-select-option.component.mjs +3 -3
- package/esm2022/lib/components/select/multi/elder-multi-select-base.mjs +3 -3
- package/esm2022/lib/components/select/multi/elder-multi-select-chip-options/elder-multi-select-chip-options.component.mjs +3 -3
- package/esm2022/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.mjs +3 -3
- package/esm2022/lib/components/select/multi/elder-multi-select-form-field.mjs +3 -3
- package/esm2022/lib/components/select/multi/elder-mutli-select-all-directive.mjs +3 -3
- package/esm2022/lib/components/select/multi/elder-search-include-exclude.directive.mjs +3 -3
- package/esm2022/lib/components/select/popup/selection-model-popup-trigger-adapter.directive.mjs +3 -3
- package/esm2022/lib/components/select/popup/selection-model-popup.directive.mjs +3 -3
- package/esm2022/lib/components/select/popup/templated-selection-dialog/templated-selection-dialog.component.mjs +3 -3
- package/esm2022/lib/components/select/single/elder-clear-select.directive.mjs +3 -3
- package/esm2022/lib/components/select/single/elder-select/elder-select.component.mjs +3 -3
- package/esm2022/lib/components/select/single/elder-select-form-field.mjs +3 -3
- package/esm2022/lib/components/select-chip-list/chip-list-select/elder-chip-list-select.component.mjs +3 -3
- package/esm2022/lib/components/select-chip-list/elder-chip-list-select.module.mjs +4 -4
- package/esm2022/lib/components/shell/drawers/elder-route-outlet-drawer.service.mjs +3 -3
- package/esm2022/lib/components/shell/drawers/elder-router-outlet.service.mjs +3 -3
- package/esm2022/lib/components/shell/elder-shell-slot.directive.mjs +3 -3
- package/esm2022/lib/components/shell/elder-shell.module.mjs +4 -4
- package/esm2022/lib/components/shell/elder-shell.service.mjs +3 -3
- package/esm2022/lib/components/shell/header/elder-app-header/elder-app-header.component.mjs +3 -3
- package/esm2022/lib/components/shell/shell/elder-shell.component.mjs +12 -12
- package/esm2022/lib/components/shell/shell-navigation-toggle/elder-shell-navigation-toggle.component.mjs +3 -3
- package/esm2022/lib/components/tabs/elder-tab/elder-tab.directive.mjs +3 -3
- package/esm2022/lib/components/tabs/elder-tab-group-routing/elder-tab-group-routing.directive.mjs +3 -3
- package/esm2022/lib/components/tabs/elder-tab.module.mjs +4 -4
- package/esm2022/lib/components/theme/elder-theme-applier.directive.mjs +3 -3
- package/esm2022/lib/components/theme/elder-theme-preference.service.mjs +3 -3
- package/esm2022/lib/components/theme/elder-theme-toggle/elder-theme-toggle.component.mjs +3 -3
- package/esm2022/lib/components/theme/elder-theme.directive.mjs +3 -3
- package/esm2022/lib/components/theme/elder-theme.module.mjs +4 -4
- package/esm2022/lib/components/theme/elder-theme.service.mjs +3 -3
- package/esm2022/lib/components/time/date-adapters/custom-date-adapter.mjs +3 -3
- package/esm2022/lib/components/time/duration/elder-duration-input/elder-duration-input.component.mjs +3 -3
- package/esm2022/lib/components/time/elder-date-switcher/elder-date-switcher.component.mjs +3 -3
- package/esm2022/lib/components/time/elder-date-time-input/elder-date-time-input.component.mjs +3 -3
- package/esm2022/lib/components/time/elder-interval-input/elder-interval-input.component.mjs +15 -6
- package/esm2022/lib/components/time/elder-interval-picker/elder-interval-picker-binding.directive.mjs +45 -0
- package/esm2022/lib/components/time/elder-interval-picker/elder-interval-picker-toggle/elder-interval-picker-toggle.component.mjs +203 -0
- package/esm2022/lib/components/time/elder-interval-picker/elder-interval-picker.component.mjs +269 -0
- package/esm2022/lib/components/time/elder-interval-picker/elder-interval-picker.service.mjs +703 -0
- package/esm2022/lib/components/time/elder-local-date-input/elder-local-date-input.component.mjs +3 -3
- package/esm2022/lib/components/time/elder-local-time-input/elder-local-time-input.component.mjs +3 -3
- package/esm2022/lib/components/time/elder-time.module.mjs +26 -6
- package/esm2022/lib/components/time/period/elder-period-input/elder-period-input.component.mjs +3 -3
- package/esm2022/lib/components/time/pipes/to-iso-date-string.pipe.mjs +3 -3
- package/esm2022/lib/components/toasts/elder-toast.module.mjs +4 -4
- package/esm2022/lib/components/toasts/elder-toast.service.mjs +3 -3
- package/esm2022/lib/components/toasts/standard-toast/standard-toast.component.mjs +3 -3
- package/esm2022/lib/components/url-fragment/elder-url-fragment.module.mjs +4 -4
- package/esm2022/lib/components/url-fragment/url-fragment-switcher/elder-url-fragment-switcher.component.mjs +3 -3
- package/esm2022/lib/components/viewers/elder-svg-viewer/elder-svg-viewer.component.mjs +3 -3
- package/esm2022/lib/components/viewers/elder-viewers.module.mjs +4 -4
- package/esm2022/lib/features/event-source/fetch/reactive-fetch-event-source.service.mjs +3 -3
- package/esm2022/lib/features/event-source/standard/elder-event-source.service.mjs +3 -3
- package/esm2022/lib/features/kafent/access-token-provider.mjs +3 -3
- package/esm2022/lib/features/kafent/kafent-config.mjs +3 -3
- package/esm2022/lib/features/kafent/kafent-event-stream.mjs +3 -3
- package/esm2022/lib/features/kafent/kafent-event.service.mjs +3 -3
- package/esm2022/lib/features/kafent/kafent.module.mjs +4 -4
- package/esm2022/lib/features/kafent/sse/kafent-event-stream-sse.service.mjs +3 -3
- package/esm2022/lib/pipes/bytes.pipe.mjs +3 -3
- package/esm2022/lib/pipes/elder-pipes.module.mjs +10 -10
- package/esm2022/lib/pipes/elder-repeat.pipe.mjs +3 -3
- package/esm2022/lib/pipes/elder-round.pipe.mjs +3 -3
- package/esm2022/lib/pipes/elder-safe-url.pipe.mjs +3 -3
- package/esm2022/lib/pipes/elder-truncate.pipe.mjs +3 -3
- package/esm2022/lib/pipes/iso-duration.pipe.mjs +3 -3
- package/esm2022/lib/pipes/iso-interval-parse.pipe.mjs +3 -3
- package/esm2022/lib/pipes/iso-interval.pipe.mjs +3 -3
- package/esm2022/lib/pipes/time-ago.pipe.mjs +3 -3
- package/esm2022/lib/pipes/time-duration.pipe.mjs +3 -3
- package/esm2022/lib/pipes/weight.pipe.mjs +3 -3
- package/fesm2022/elderbyte-ngx-starter.mjs +2809 -1403
- package/fesm2022/elderbyte-ngx-starter.mjs.map +1 -1
- package/lib/common/time/public_api.d.ts +2 -0
- package/lib/common/time/temporal-plain-date-interval.d.ts +15 -0
- package/lib/common/time/temporal-util.d.ts +34 -0
- package/lib/components/forms/search/search-box/elder-search-box.component.d.ts +9 -25
- package/lib/components/forms/search/search-box/elder-search-panel.component.d.ts +4 -0
- package/lib/components/time/elder-interval-input/elder-interval-input.component.d.ts +4 -1
- package/lib/components/time/elder-interval-picker/elder-interval-picker-binding.directive.d.ts +30 -0
- package/lib/components/time/elder-interval-picker/elder-interval-picker-toggle/elder-interval-picker-toggle.component.d.ts +48 -0
- package/lib/components/time/elder-interval-picker/elder-interval-picker.component.d.ts +73 -0
- package/lib/components/time/elder-interval-picker/elder-interval-picker.service.d.ts +130 -0
- package/lib/components/time/elder-time.module.d.ts +8 -2
- package/package.json +3 -2
- package/src/lib/components/time/elder-interval-picker/elder-interval-picker.component.scss +36 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Temporal } from '@js-temporal/polyfill';
|
|
2
|
+
export declare class TemporalPlainDateInterval {
|
|
3
|
+
start: Temporal.PlainDate;
|
|
4
|
+
end: Temporal.PlainDate;
|
|
5
|
+
constructor(start: Temporal.PlainDate, end: Temporal.PlainDate);
|
|
6
|
+
shiftDays(days: number): TemporalPlainDateInterval;
|
|
7
|
+
shiftMonths(months: number): TemporalPlainDateInterval;
|
|
8
|
+
shiftYears(years: number): TemporalPlainDateInterval;
|
|
9
|
+
toString(): string;
|
|
10
|
+
getDuration(): Temporal.Duration;
|
|
11
|
+
getDurationInDays(): number;
|
|
12
|
+
getDurationInWeeks(): number;
|
|
13
|
+
getDurationInMonths(): number;
|
|
14
|
+
getDurationInYears(): number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Temporal } from '@js-temporal/polyfill';
|
|
2
|
+
import { TemporalPlainDateInterval } from './temporal-plain-date-interval';
|
|
3
|
+
export declare class TemporalUtil {
|
|
4
|
+
static getJSDateFromPlainDateTime(date: Temporal.PlainDate | Temporal.PlainDateTime): Date;
|
|
5
|
+
static getPlainDateTimeFromJSDate(date: Date): Temporal.PlainDateTime;
|
|
6
|
+
static getPlainDateTimeFromPlainDateAndPlainTime(date: Temporal.PlainDate, time: Temporal.PlainTime): Temporal.PlainDateTime;
|
|
7
|
+
static isFirstDayOfWeek(date: Temporal.PlainDate | Temporal.PlainDateTime): boolean;
|
|
8
|
+
static getPlainDateFromJSDate(date: Date): Temporal.PlainDate;
|
|
9
|
+
static getPlainTimeFromJSDate(date: Date): Temporal.PlainTime;
|
|
10
|
+
static getPlainDateTimeFromString(dateString: string): Temporal.PlainDateTime;
|
|
11
|
+
static getHtmlTimeStringFromPlainTime(time: Temporal.PlainTime | Temporal.PlainDateTime): string;
|
|
12
|
+
static getQuarterForDate(date?: Temporal.PlainDate): number;
|
|
13
|
+
static getCurrentDay(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
14
|
+
static getYesterday(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
15
|
+
static getLastSevenDays(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
16
|
+
static getLastThirtyDays(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
17
|
+
static getCurrentWeek(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
18
|
+
static getCurrentMonth(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
19
|
+
static getCurrentQuarter(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
20
|
+
static getPreviousQuarter(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
21
|
+
static getCurrentYear(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
22
|
+
static getPreviousYear(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
23
|
+
static getNextYear(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
24
|
+
static getLast365Days(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
25
|
+
static getLast90Days(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
26
|
+
static getPreviousMonth(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
27
|
+
static getNextMonth(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
28
|
+
static getPreviousWeek(referenceDate?: Temporal.PlainDate): TemporalPlainDateInterval;
|
|
29
|
+
static getDateTodayLocalized(): Temporal.PlainDate;
|
|
30
|
+
static createTemporalLocalizedDateFromTimestamp(timestamp: number): Temporal.PlainDate;
|
|
31
|
+
static getHtmlDateString(date: Temporal.PlainDate | Temporal.PlainDateTime): string;
|
|
32
|
+
static getPlainDateFromHtmlDateString(dateString: string): Temporal.PlainDate;
|
|
33
|
+
static getPlainTimeFromHtmlTimeString(timeString: string): Temporal.PlainTime;
|
|
34
|
+
}
|
|
@@ -1,32 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { ElderSearchContextDirective } from '../elder-search-context.directive';
|
|
3
3
|
import { ElderSearchPanelComponent } from './elder-search-panel.component';
|
|
4
|
-
import {
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
5
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
6
6
|
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
7
|
+
import { ElderOverlayComponent } from '../../../overlays/elder-overlay.component';
|
|
7
8
|
import { SearchInputState } from '../domain/input/search-input-state';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class
|
|
10
|
-
hasOverlay: boolean;
|
|
11
|
-
constructor(hasOverlay: boolean);
|
|
12
|
-
}
|
|
13
|
-
export declare class ElderSearchBoxComponent implements OnDestroy, AfterContentInit {
|
|
10
|
+
export declare class ElderSearchBoxComponent {
|
|
14
11
|
readonly searchContextDirective: ElderSearchContextDirective;
|
|
15
12
|
/***************************************************************************
|
|
16
13
|
* *
|
|
17
14
|
* Fields *
|
|
18
15
|
* *
|
|
19
16
|
**************************************************************************/
|
|
20
|
-
private readonly
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
readonly overlayState$: BehaviorSubject<OverlayState>;
|
|
25
|
-
/***************************************************************************
|
|
26
|
-
* *
|
|
27
|
-
* Public API Fields *
|
|
28
|
-
* *
|
|
29
|
-
**************************************************************************/
|
|
17
|
+
private readonly log;
|
|
18
|
+
search: import("@angular/core").Signal<ElementRef<HTMLInputElement>>;
|
|
19
|
+
readonly overlayComponent: import("@angular/core").Signal<ElderOverlayComponent>;
|
|
20
|
+
readonly customSearchPanel: import("@angular/core").Signal<ElderSearchPanelComponent>;
|
|
30
21
|
/**
|
|
31
22
|
* Display the search panel immediately when the user enters the search box.
|
|
32
23
|
*/
|
|
@@ -46,13 +37,6 @@ export declare class ElderSearchBoxComponent implements OnDestroy, AfterContentI
|
|
|
46
37
|
* *
|
|
47
38
|
**************************************************************************/
|
|
48
39
|
constructor(searchContextDirective: ElderSearchContextDirective);
|
|
49
|
-
/***************************************************************************
|
|
50
|
-
* *
|
|
51
|
-
* Life Cycle *
|
|
52
|
-
* *
|
|
53
|
-
**************************************************************************/
|
|
54
|
-
ngAfterContentInit(): void;
|
|
55
|
-
ngOnDestroy(): void;
|
|
56
40
|
/***************************************************************************
|
|
57
41
|
* *
|
|
58
42
|
* Properties *
|
|
@@ -71,5 +55,5 @@ export declare class ElderSearchBoxComponent implements OnDestroy, AfterContentI
|
|
|
71
55
|
*/
|
|
72
56
|
clearSearch(event: any): void;
|
|
73
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderSearchBoxComponent, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElderSearchBoxComponent, "elder-search-box", ["elderSearchBox"], { "autoPanel": { "alias": "autoPanel"; "required": false; }; "name": { "alias": "name"; "required": false; }; "queryKey": { "alias": "queryKey"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, {}, ["
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderSearchBoxComponent, "elder-search-box", ["elderSearchBox"], { "autoPanel": { "alias": "autoPanel"; "required": false; }; "name": { "alias": "name"; "required": false; }; "queryKey": { "alias": "queryKey"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, {}, ["customSearchPanel"], ["elder-search-panel"], true, never>;
|
|
75
59
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import { ElderOverlayComponent } from '../../../overlays/elder-overlay.component';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
4
|
export declare class ElderSearchPanelComponent {
|
|
5
|
+
readonly overlay: import("@angular/core").WritableSignal<ElderOverlayComponent>;
|
|
6
|
+
readonly open$: Observable<boolean>;
|
|
3
7
|
constructor();
|
|
4
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderSearchPanelComponent, never>;
|
|
5
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<ElderSearchPanelComponent, "elder-search-panel", never, {}, {}, never, ["*"], true, never>;
|
|
@@ -40,6 +40,7 @@ export declare class ElderIntervalInputComponent extends ElderFormFieldControlBa
|
|
|
40
40
|
**************************************************************************/
|
|
41
41
|
private readonly logger;
|
|
42
42
|
private _mode;
|
|
43
|
+
private _isDefaultDatePickerDisabled;
|
|
43
44
|
zone: ZoneId;
|
|
44
45
|
readonly endTime$: Observable<LocalTime>;
|
|
45
46
|
readonly startLocalDate$: Observable<LocalDate>;
|
|
@@ -64,6 +65,8 @@ export declare class ElderIntervalInputComponent extends ElderFormFieldControlBa
|
|
|
64
65
|
get valueAsIsoStr(): boolean;
|
|
65
66
|
set mode(mode: IntervalInputMode);
|
|
66
67
|
get mode(): IntervalInputMode;
|
|
68
|
+
set isDefaultDatePickerDisabled(hide: BooleanInput);
|
|
69
|
+
get isDefaultDatePickerDisabled(): boolean;
|
|
67
70
|
get isoValueChange(): Observable<IsoIntervalStr | null>;
|
|
68
71
|
set isoValue(value: IsoIntervalStr | null);
|
|
69
72
|
get shouldLabelFloat(): boolean;
|
|
@@ -97,5 +100,5 @@ export declare class ElderIntervalInputComponent extends ElderFormFieldControlBa
|
|
|
97
100
|
private mapIgnoreErrorObservable;
|
|
98
101
|
private coerceValue;
|
|
99
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderIntervalInputComponent, [null, null, null, null, { optional: true; self: true; }, null, null]>;
|
|
100
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElderIntervalInputComponent, "elder-interval-input", never, { "zone": { "alias": "zone"; "required": false; }; "valueAsIsoStr": { "alias": "valueAsIsoStr"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "isoValue": { "alias": "isoValue"; "required": false; }; }, { "isoValueChange": "isoValueChange"; }, never, never, true, never>;
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderIntervalInputComponent, "elder-interval-input", never, { "zone": { "alias": "zone"; "required": false; }; "valueAsIsoStr": { "alias": "valueAsIsoStr"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "isDefaultDatePickerDisabled": { "alias": "isDefaultDatePickerDisabled"; "required": false; }; "isoValue": { "alias": "isoValue"; "required": false; }; }, { "isoValueChange": "isoValueChange"; }, never, never, true, never>;
|
|
101
104
|
}
|
package/lib/components/time/elder-interval-picker/elder-interval-picker-binding.directive.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ElderIntervalInputComponent } from '../../../components/time/elder-interval-input/elder-interval-input.component';
|
|
3
|
+
import { ElderIntervalPickerToggleComponent } from './elder-interval-picker-toggle/elder-interval-picker-toggle.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ElderIntervalPickerBindingDirective {
|
|
6
|
+
elementRef: ElementRef<HTMLElement>;
|
|
7
|
+
ref: ChangeDetectorRef;
|
|
8
|
+
viewContainerRef: ViewContainerRef;
|
|
9
|
+
/***************************************************************************
|
|
10
|
+
* *
|
|
11
|
+
* Fields *
|
|
12
|
+
* *
|
|
13
|
+
**************************************************************************/
|
|
14
|
+
intervalInputComponent: ElderIntervalInputComponent;
|
|
15
|
+
intervalPickerToggleComponent: ElderIntervalPickerToggleComponent;
|
|
16
|
+
/***************************************************************************
|
|
17
|
+
* *
|
|
18
|
+
* Constructor *
|
|
19
|
+
* *
|
|
20
|
+
**************************************************************************/
|
|
21
|
+
constructor(elementRef: ElementRef<HTMLElement>, ref: ChangeDetectorRef, viewContainerRef: ViewContainerRef);
|
|
22
|
+
/***************************************************************************
|
|
23
|
+
* *
|
|
24
|
+
* Life Cycle *
|
|
25
|
+
* *
|
|
26
|
+
**************************************************************************/
|
|
27
|
+
ngAfterContentInit(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderIntervalPickerBindingDirective, never>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ElderIntervalPickerBindingDirective, "[elderIntervalPickerBinding]", never, {}, {}, ["intervalInputComponent", "intervalPickerToggleComponent"], never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Subscription } from 'rxjs';
|
|
2
|
+
import { Interval } from '../../../../common/time/interval';
|
|
3
|
+
import { ElderIntervalInputComponent, IntervalInputMode } from '../../../../components/time/elder-interval-input/elder-interval-input.component';
|
|
4
|
+
import { ElderIntervalPickerComponent } from '../elder-interval-picker.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ElderIntervalPickerToggleComponent {
|
|
7
|
+
/***************************************************************************
|
|
8
|
+
* *
|
|
9
|
+
* Fields *
|
|
10
|
+
* *
|
|
11
|
+
**************************************************************************/
|
|
12
|
+
private readonly log;
|
|
13
|
+
connectedIntervalPicker: ElderIntervalPickerComponent;
|
|
14
|
+
intervalInputElement?: ElderIntervalInputComponent;
|
|
15
|
+
isEmittingOnChange: boolean;
|
|
16
|
+
showAnchor: boolean;
|
|
17
|
+
isAnchorReadOnly: boolean;
|
|
18
|
+
isDisabledInput: boolean;
|
|
19
|
+
isResultTextVisible: boolean;
|
|
20
|
+
isHelpTextsVisible: boolean;
|
|
21
|
+
isOverlayCenteredToScreen: boolean;
|
|
22
|
+
readonly inputAnchorDateTime: import("@angular/core").InputSignal<Date>;
|
|
23
|
+
inputInterval: Interval;
|
|
24
|
+
anchorDateTime: Date;
|
|
25
|
+
intervalInputMode: IntervalInputMode;
|
|
26
|
+
isButtonDisabled: boolean;
|
|
27
|
+
inputIntervalElSubscription: Subscription;
|
|
28
|
+
/***************************************************************************
|
|
29
|
+
* *
|
|
30
|
+
* Life Cycle *
|
|
31
|
+
* *
|
|
32
|
+
**************************************************************************/
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
ngOnDestroy(): void;
|
|
35
|
+
ngAfterViewInit(): void;
|
|
36
|
+
/***************************************************************************
|
|
37
|
+
* *
|
|
38
|
+
* Public API *
|
|
39
|
+
* *
|
|
40
|
+
**************************************************************************/
|
|
41
|
+
handleOverlayAttachedChange(attached: boolean): void;
|
|
42
|
+
updateIntervalInputElement(interval: Interval): void;
|
|
43
|
+
pullIntervalData(): void;
|
|
44
|
+
handleIntervalPickerDateChange(interval: Interval): void;
|
|
45
|
+
registerInputComponent(inputComponent: ElderIntervalInputComponent): void;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderIntervalPickerToggleComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderIntervalPickerToggleComponent, "elder-interval-picker-toggle", never, { "intervalInputElement": { "alias": "intervalInputElement"; "required": false; }; "isEmittingOnChange": { "alias": "isEmittingOnChange"; "required": false; }; "showAnchor": { "alias": "showAnchor"; "required": false; }; "isAnchorReadOnly": { "alias": "isAnchorReadOnly"; "required": false; }; "isDisabledInput": { "alias": "isDisabledInput"; "required": false; }; "isResultTextVisible": { "alias": "isResultTextVisible"; "required": false; }; "isHelpTextsVisible": { "alias": "isHelpTextsVisible"; "required": false; }; "isOverlayCenteredToScreen": { "alias": "isOverlayCenteredToScreen"; "required": false; }; "inputAnchorDateTime": { "alias": "inputAnchorDateTime"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatCalendar, MatCalendarCellClassFunction } from '@angular/material/datepicker';
|
|
3
|
+
import { Interval } from '../../../common/time/interval';
|
|
4
|
+
import { IntervalInputMode } from '../../../components/time/elder-interval-input/elder-interval-input.component';
|
|
5
|
+
import { ElderIntervalPickerService } from './elder-interval-picker.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ElderIntervalPickerComponent {
|
|
8
|
+
svc: ElderIntervalPickerService;
|
|
9
|
+
/***************************************************************************
|
|
10
|
+
* *
|
|
11
|
+
* Fields *
|
|
12
|
+
* *
|
|
13
|
+
**************************************************************************/
|
|
14
|
+
private readonly log;
|
|
15
|
+
readonly calendarAnchorDateCssClassFn: MatCalendarCellClassFunction<Date>;
|
|
16
|
+
calendarStart: MatCalendar<Date>;
|
|
17
|
+
calendarEnd: MatCalendar<Date>;
|
|
18
|
+
calendarStartElRef: ElementRef;
|
|
19
|
+
calendarEndElRef: ElementRef;
|
|
20
|
+
startDateInput: ElementRef;
|
|
21
|
+
endDateInput: ElementRef;
|
|
22
|
+
isEmittingOnChange: boolean;
|
|
23
|
+
intervalInputMode: IntervalInputMode;
|
|
24
|
+
showAnchor: boolean;
|
|
25
|
+
isAnchorReadOnly: boolean;
|
|
26
|
+
isResultTextVisible: boolean;
|
|
27
|
+
isHelpTextsVisible: boolean;
|
|
28
|
+
dateChange: EventEmitter<Interval>;
|
|
29
|
+
inputInterval: import("@angular/core").InputSignal<Interval>;
|
|
30
|
+
inputAnchorDateTime: import("@angular/core").InputSignal<Date>;
|
|
31
|
+
private calendarElFocusEventHandler;
|
|
32
|
+
/***************************************************************************
|
|
33
|
+
* *
|
|
34
|
+
* Constructor *
|
|
35
|
+
* *
|
|
36
|
+
**************************************************************************/
|
|
37
|
+
constructor(svc: ElderIntervalPickerService);
|
|
38
|
+
/***************************************************************************
|
|
39
|
+
* *
|
|
40
|
+
* Life Cycle *
|
|
41
|
+
* *
|
|
42
|
+
**************************************************************************/
|
|
43
|
+
ngOnInit(): void;
|
|
44
|
+
ngAfterViewInit(): void;
|
|
45
|
+
ngOnDestroy(): void;
|
|
46
|
+
/***************************************************************************
|
|
47
|
+
* *
|
|
48
|
+
* Public API *
|
|
49
|
+
* *
|
|
50
|
+
**************************************************************************/
|
|
51
|
+
setupDateInputCalendarFocusPrevention(): void;
|
|
52
|
+
clearStartDateTime(): void;
|
|
53
|
+
clearEndDateTime(): void;
|
|
54
|
+
clearStartAndEndDateTimes(): void;
|
|
55
|
+
handleStartCalendarChange(changedDate: Date): void;
|
|
56
|
+
handleEndCalendarChange(changedDate: Date): void;
|
|
57
|
+
/***************************************************************************
|
|
58
|
+
* *
|
|
59
|
+
* Private methods *
|
|
60
|
+
* *
|
|
61
|
+
**************************************************************************/
|
|
62
|
+
private removeEventListeners;
|
|
63
|
+
private calendarAnchorDateCssClassFnBody;
|
|
64
|
+
/***************************************************************************
|
|
65
|
+
* *
|
|
66
|
+
* Effects *
|
|
67
|
+
* *
|
|
68
|
+
**************************************************************************/
|
|
69
|
+
private readonly _updateMatCalendarElAnchorCssClassEffect;
|
|
70
|
+
private readonly _updateMatCalendarElSelectionEffect;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderIntervalPickerComponent, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElderIntervalPickerComponent, "elder-interval-picker", never, { "isEmittingOnChange": { "alias": "isEmittingOnChange"; "required": false; }; "intervalInputMode": { "alias": "intervalInputMode"; "required": false; }; "showAnchor": { "alias": "showAnchor"; "required": false; }; "isAnchorReadOnly": { "alias": "isAnchorReadOnly"; "required": false; }; "isResultTextVisible": { "alias": "isResultTextVisible"; "required": false; }; "isHelpTextsVisible": { "alias": "isHelpTextsVisible"; "required": false; }; "inputInterval": { "alias": "inputInterval"; "required": false; "isSignal": true; }; "inputAnchorDateTime": { "alias": "inputAnchorDateTime"; "required": false; "isSignal": true; }; }, { "dateChange": "dateChange"; }, never, never, true, never>;
|
|
73
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { EventEmitter, Signal } from '@angular/core';
|
|
2
|
+
import { DateRange } from '@angular/material/datepicker';
|
|
3
|
+
import { LocalDate } from '@js-joda/core';
|
|
4
|
+
import { Temporal } from '@js-temporal/polyfill';
|
|
5
|
+
import { Interval } from '../../../common/time/interval';
|
|
6
|
+
import { TemporalPlainDateInterval } from '../../../common/time/temporal-plain-date-interval';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
type calendarMode = 'days' | 'weeks' | 'months' | 'quarters' | 'years';
|
|
9
|
+
export declare class ElderIntervalPickerService {
|
|
10
|
+
/***************************************************************************
|
|
11
|
+
* *
|
|
12
|
+
* Fields *
|
|
13
|
+
* *
|
|
14
|
+
**************************************************************************/
|
|
15
|
+
private readonly log;
|
|
16
|
+
private _dateChangeEmitter;
|
|
17
|
+
readonly calendarMode: import("@angular/core").WritableSignal<calendarMode>;
|
|
18
|
+
readonly startDate: import("@angular/core").WritableSignal<Temporal.PlainDate>;
|
|
19
|
+
readonly endDate: import("@angular/core").WritableSignal<Temporal.PlainDate>;
|
|
20
|
+
readonly baseReferenceDate: import("@angular/core").WritableSignal<Temporal.PlainDate>;
|
|
21
|
+
readonly baseReferenceTime: import("@angular/core").WritableSignal<Temporal.PlainTime>;
|
|
22
|
+
readonly fixedAnchorDate: import("@angular/core").WritableSignal<Temporal.PlainDate>;
|
|
23
|
+
readonly fixedAnchorTime: import("@angular/core").WritableSignal<Temporal.PlainTime>;
|
|
24
|
+
readonly startTime: import("@angular/core").WritableSignal<Temporal.PlainTime>;
|
|
25
|
+
readonly endTime: import("@angular/core").WritableSignal<Temporal.PlainTime>;
|
|
26
|
+
private _inputInterval;
|
|
27
|
+
private _inputAnchorDateTime;
|
|
28
|
+
readonly isEmittingOnChange: import("@angular/core").WritableSignal<boolean>;
|
|
29
|
+
readonly isUpdatingIntervalOnAnchorChange: import("@angular/core").WritableSignal<boolean>;
|
|
30
|
+
readonly isFixedAnchorDateSet: Signal<boolean>;
|
|
31
|
+
readonly anchorDate: Signal<Temporal.PlainDate>;
|
|
32
|
+
readonly anchorTime: Signal<Temporal.PlainTime>;
|
|
33
|
+
readonly anchorDateTime: Signal<Temporal.PlainDateTime>;
|
|
34
|
+
readonly dateRange: Signal<TemporalPlainDateInterval>;
|
|
35
|
+
readonly dateRangeForCalendar: Signal<DateRange<Date>>;
|
|
36
|
+
readonly dateRangeInDays: Signal<number>;
|
|
37
|
+
readonly isStartAndEndDatesEmpty: Signal<boolean>;
|
|
38
|
+
readonly isStartAndEndDatesSet: Signal<boolean>;
|
|
39
|
+
readonly isRangeNotSet: Signal<boolean>;
|
|
40
|
+
readonly startDateTime: Signal<Temporal.PlainDateTime | Temporal.PlainDate>;
|
|
41
|
+
readonly endDateTime: Signal<Temporal.PlainDateTime | Temporal.PlainDate>;
|
|
42
|
+
readonly startDateAsJSDate: Signal<Date>;
|
|
43
|
+
readonly endDateAsJSDate: Signal<Date>;
|
|
44
|
+
readonly startDateTimeAsJSDate: Signal<Date>;
|
|
45
|
+
readonly endDateTimeAsJSDate: Signal<Date>;
|
|
46
|
+
readonly getCalendarWeek: Signal<number>;
|
|
47
|
+
readonly isFullCalenderWeekSelected: Signal<number | boolean>;
|
|
48
|
+
readonly viewIntervalMessage: Signal<string>;
|
|
49
|
+
readonly deltaAsTemporalDuration: Signal<Temporal.Duration>;
|
|
50
|
+
readonly deltaHumanReadable: Signal<string>;
|
|
51
|
+
readonly getStartTimeString: Signal<string>;
|
|
52
|
+
readonly getEndTimeString: Signal<string>;
|
|
53
|
+
readonly getAnchorTimeString: Signal<string>;
|
|
54
|
+
readonly getAnchorPointAsLocaleDate: Signal<LocalDate>;
|
|
55
|
+
readonly startDateHtmlString: Signal<string>;
|
|
56
|
+
readonly endDateHtmlString: Signal<string>;
|
|
57
|
+
readonly isStartTimeSetAndNotMidnight: Signal<boolean>;
|
|
58
|
+
readonly isEndTimeSetAndNotMidnight: Signal<boolean>;
|
|
59
|
+
readonly isFixedAnchorTimeSetAndNotMidnight: Signal<boolean>;
|
|
60
|
+
/***************************************************************************
|
|
61
|
+
* *
|
|
62
|
+
* Public API *
|
|
63
|
+
* *
|
|
64
|
+
**************************************************************************/
|
|
65
|
+
setStartDateFromHtmlString(htmlString: string): void;
|
|
66
|
+
setEndDateFromHtmlString(htmlString: string): void;
|
|
67
|
+
setupInputInterval(s: Signal<Interval>): void;
|
|
68
|
+
setupInputAnchorDateTime(s: Signal<Date>): void;
|
|
69
|
+
setupEventEmitter(e: EventEmitter<Interval>): void;
|
|
70
|
+
setStartTimeFromString(timeStr: string, formControl?: any): void;
|
|
71
|
+
setEndTimeFromString(timeStr: string, formControl?: any): void;
|
|
72
|
+
resetCalendarMode(): void;
|
|
73
|
+
pullInputInterval(): void;
|
|
74
|
+
pullInputAnchorDateTime(): void;
|
|
75
|
+
setDateTimesFromElderInterval(interval: Interval): void;
|
|
76
|
+
setAnchorDateTimeFromJsDate(dateTime: Date): void;
|
|
77
|
+
setFixedAnchorPointToStartDateTime(): void;
|
|
78
|
+
setFixedAnchorPointToEndDateTime(): void;
|
|
79
|
+
resetFixedAnchorPoint(): void;
|
|
80
|
+
setAnchorDateFromForm(dateArg: LocalDate): void;
|
|
81
|
+
clearStartDateTime(): void;
|
|
82
|
+
clearEndDateTime(): void;
|
|
83
|
+
clearStartTime(): void;
|
|
84
|
+
clearEndTime(): void;
|
|
85
|
+
resetFixedAnchorTime(): void;
|
|
86
|
+
setAnchorTimeFromForm(htmlString: string): void;
|
|
87
|
+
emitMainDates(): void;
|
|
88
|
+
shiftDay(days: number): void;
|
|
89
|
+
shiftMonth(months: number, staticMode?: boolean): void;
|
|
90
|
+
shiftYear(years: number, staticMode?: boolean): void;
|
|
91
|
+
shiftTime(amount: number, unit: 'hours' | 'minutes'): void;
|
|
92
|
+
smartShift(direction?: number): void;
|
|
93
|
+
selectLastHour(): void;
|
|
94
|
+
selectLast24Hours(): void;
|
|
95
|
+
selectLastFiveMinutes(): void;
|
|
96
|
+
selectCurrentDay(): void;
|
|
97
|
+
selectYesterday(): void;
|
|
98
|
+
selectCurrentWeek(): void;
|
|
99
|
+
selectPreviousWeek(): void;
|
|
100
|
+
selectLastSevenDays(): void;
|
|
101
|
+
selectCurrentMonth(): void;
|
|
102
|
+
selectPreviousMonth(): void;
|
|
103
|
+
selectLastThirtyDays(): void;
|
|
104
|
+
selectCurrentYear(): void;
|
|
105
|
+
selectPreviousYear(): void;
|
|
106
|
+
selectLast365Days(): void;
|
|
107
|
+
selectCurrentQuarter(): void;
|
|
108
|
+
selectPreviousQuarter(): void;
|
|
109
|
+
private shiftSelectionToAnchorDate;
|
|
110
|
+
private shiftSelectionToAnchorTime;
|
|
111
|
+
/***************************************************************************
|
|
112
|
+
* *
|
|
113
|
+
* Private methods *
|
|
114
|
+
* *
|
|
115
|
+
**************************************************************************/
|
|
116
|
+
private createElderInterval;
|
|
117
|
+
private setDatesFromRange;
|
|
118
|
+
private refreshBaseReferenceDateTime;
|
|
119
|
+
private resetTimeRange;
|
|
120
|
+
private shiftRangeEndToToday;
|
|
121
|
+
/***************************************************************************
|
|
122
|
+
* *
|
|
123
|
+
* Effects *
|
|
124
|
+
* *
|
|
125
|
+
**************************************************************************/
|
|
126
|
+
private readonly _autoEmitOnDateTimesChangeEffect;
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderIntervalPickerService, never>;
|
|
128
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ElderIntervalPickerService>;
|
|
129
|
+
}
|
|
130
|
+
export {};
|
|
@@ -16,7 +16,10 @@ import * as i14 from "./elder-local-time-input/elder-local-time-input.component"
|
|
|
16
16
|
import * as i15 from "./elder-local-date-input/elder-local-date-input.component";
|
|
17
17
|
import * as i16 from "./duration/elder-duration-input/elder-duration-input.component";
|
|
18
18
|
import * as i17 from "./period/elder-period-input/elder-period-input.component";
|
|
19
|
-
import * as i18 from "./
|
|
19
|
+
import * as i18 from "./elder-interval-picker/elder-interval-picker.component";
|
|
20
|
+
import * as i19 from "./elder-interval-picker/elder-interval-picker-toggle/elder-interval-picker-toggle.component";
|
|
21
|
+
import * as i20 from "./elder-interval-picker/elder-interval-picker-binding.directive";
|
|
22
|
+
import * as i21 from "./pipes/to-iso-date-string.pipe";
|
|
20
23
|
export { ElderDateSwitcherComponent } from './elder-date-switcher/elder-date-switcher.component';
|
|
21
24
|
export { ElderIntervalInputComponent } from './elder-interval-input/elder-interval-input.component';
|
|
22
25
|
export { ElderDateTimeInputComponent } from './elder-date-time-input/elder-date-time-input.component';
|
|
@@ -24,9 +27,12 @@ export { ElderLocalTimeInputComponent } from './elder-local-time-input/elder-loc
|
|
|
24
27
|
export { ElderLocalDateInputComponent } from './elder-local-date-input/elder-local-date-input.component';
|
|
25
28
|
export { ElderDurationInputComponent } from './duration/elder-duration-input/elder-duration-input.component';
|
|
26
29
|
export { ElderPeriodInputComponent } from './period/elder-period-input/elder-period-input.component';
|
|
30
|
+
export { ElderIntervalPickerComponent } from './elder-interval-picker/elder-interval-picker.component';
|
|
31
|
+
export { ElderIntervalPickerToggleComponent } from './elder-interval-picker/elder-interval-picker-toggle/elder-interval-picker-toggle.component';
|
|
32
|
+
export { ElderIntervalPickerBindingDirective } from './elder-interval-picker/elder-interval-picker-binding.directive';
|
|
27
33
|
export { ToIsoDateStringPipe } from './pipes/to-iso-date-string.pipe';
|
|
28
34
|
export declare class ElderTimeModule {
|
|
29
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderTimeModule, never>;
|
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderTimeModule, never, [typeof i1.CommonModule, typeof i2.MatNativeDateModule, typeof i3.FormsModule, typeof i4.MatInputModule, typeof i5.MatDatepickerModule, typeof i6.MatButtonModule, typeof i7.MatIconModule, typeof i8.MatTooltipModule, typeof i9.TranslateModule, typeof i10.ElderFormsDirectivesModule, typeof i11.ElderDateSwitcherComponent, typeof i12.ElderIntervalInputComponent, typeof i13.ElderDateTimeInputComponent, typeof i14.ElderLocalTimeInputComponent, typeof i15.ElderLocalDateInputComponent, typeof i16.ElderDurationInputComponent, typeof i17.ElderPeriodInputComponent, typeof i18.ToIsoDateStringPipe], [typeof i11.ElderDateSwitcherComponent, typeof i13.ElderDateTimeInputComponent, typeof i12.ElderIntervalInputComponent, typeof i14.ElderLocalTimeInputComponent, typeof i15.ElderLocalDateInputComponent, typeof i16.ElderDurationInputComponent, typeof i17.ElderPeriodInputComponent, typeof i18.ToIsoDateStringPipe]>;
|
|
36
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderTimeModule, never, [typeof i1.CommonModule, typeof i2.MatNativeDateModule, typeof i3.FormsModule, typeof i4.MatInputModule, typeof i5.MatDatepickerModule, typeof i6.MatButtonModule, typeof i7.MatIconModule, typeof i8.MatTooltipModule, typeof i9.TranslateModule, typeof i10.ElderFormsDirectivesModule, typeof i11.ElderDateSwitcherComponent, typeof i12.ElderIntervalInputComponent, typeof i13.ElderDateTimeInputComponent, typeof i14.ElderLocalTimeInputComponent, typeof i15.ElderLocalDateInputComponent, typeof i16.ElderDurationInputComponent, typeof i17.ElderPeriodInputComponent, typeof i18.ElderIntervalPickerComponent, typeof i19.ElderIntervalPickerToggleComponent, typeof i20.ElderIntervalPickerBindingDirective, typeof i21.ToIsoDateStringPipe], [typeof i11.ElderDateSwitcherComponent, typeof i13.ElderDateTimeInputComponent, typeof i12.ElderIntervalInputComponent, typeof i14.ElderLocalTimeInputComponent, typeof i15.ElderLocalDateInputComponent, typeof i16.ElderDurationInputComponent, typeof i17.ElderPeriodInputComponent, typeof i18.ElderIntervalPickerComponent, typeof i19.ElderIntervalPickerToggleComponent, typeof i20.ElderIntervalPickerBindingDirective, typeof i21.ToIsoDateStringPipe]>;
|
|
31
37
|
static ɵinj: i0.ɵɵInjectorDeclaration<ElderTimeModule>;
|
|
32
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elderbyte/ngx-starter",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.10.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/core": "^17.0.0 || ^18.0.0",
|
|
6
6
|
"@angular/common": "^17.0.0 || ^18.0.0",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"rxjs": "^6.5.3 || ^7.5.0",
|
|
10
10
|
"@elderbyte/ts-logger": "^0.1.0",
|
|
11
11
|
"@elderbyte/ngx-simple-webstorage": "^17.0.0 || ^18.0.0",
|
|
12
|
-
"@js-joda/core": "^5.5.3"
|
|
12
|
+
"@js-joda/core": "^5.5.3",
|
|
13
|
+
"@js-temporal/polyfill": "^0.4.4"
|
|
13
14
|
},
|
|
14
15
|
"exports": {
|
|
15
16
|
".": {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.interval-picker-component {
|
|
2
|
+
min-width: 840px; // necessary for main comnponent intial overlay sizing somehow
|
|
3
|
+
max-width: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.fixed-shifts-container {
|
|
7
|
+
max-width: 160px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Limit the width of the input fields
|
|
11
|
+
.input-control-container {
|
|
12
|
+
width: 192px;
|
|
13
|
+
max-width: 100%;
|
|
14
|
+
}
|
|
15
|
+
.input-control-container-short {
|
|
16
|
+
width: 140px;
|
|
17
|
+
max-width: 100%;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// prevent text in buttons from wrapping
|
|
21
|
+
.select-buttons-container button {
|
|
22
|
+
white-space: nowrap;
|
|
23
|
+
text-align: left;
|
|
24
|
+
justify-content: flex-start;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
::ng-deep
|
|
28
|
+
.interval-picker-component
|
|
29
|
+
.mat-calendar-body-cell.elder-custom-anchor-date
|
|
30
|
+
.mat-calendar-body-cell-content {
|
|
31
|
+
// custom styles for the material calendar to highlight the active anchor date.
|
|
32
|
+
// We only apply those styles encapsulated insde our component root class "interval-picker-component".
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
background-color: #ddeeff;
|
|
35
|
+
background-color: rgba(180, 210, 235, 0.75);
|
|
36
|
+
}
|