@elderbyte/ngx-starter 15.17.4 → 15.19.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/esm2020/lib/common/enums/elder-enum-translation.service.mjs +3 -3
- package/esm2020/lib/common/forms/elder-form-field-control-base.directive.mjs +3 -3
- package/esm2020/lib/common/forms/elder-from-field-base.mjs +3 -3
- package/esm2020/lib/common/forms/elder-from-field-customizable-base.mjs +3 -3
- package/esm2020/lib/common/forms/elder-from-field-entity-base.mjs +3 -3
- package/esm2020/lib/common/forms/elder-from-field-multi-entity-base.mjs +3 -3
- package/esm2020/lib/common/forms/form-field-base.component.mjs +3 -3
- package/esm2020/lib/common/forms/multi-model-base.component.mjs +3 -3
- package/esm2020/lib/common/forms/template-composite-control.mjs +3 -3
- package/esm2020/lib/common/forms/value-accessor-base.mjs +3 -3
- package/esm2020/lib/common/http/http-client-builder.service.mjs +3 -3
- package/esm2020/lib/common/http/http-client-pristine.mjs +3 -3
- package/esm2020/lib/common/http/transfer/data-transfer-factory.mjs +3 -3
- package/esm2020/lib/common/url/elder-router.service.mjs +3 -3
- package/esm2020/lib/common/url/elder-url-fragment-params.service.mjs +3 -3
- package/esm2020/lib/components/access-denied/elder-access-denied.component.mjs +3 -3
- package/esm2020/lib/components/access-denied/elder-access-denied.module.mjs +4 -4
- package/esm2020/lib/components/auditing/audited-entity/elder-audited-entity.component.mjs +3 -3
- package/esm2020/lib/components/auditing/elder-audit.module.mjs +4 -4
- package/esm2020/lib/components/badge/elder-badge/elder-badge.component.mjs +3 -3
- package/esm2020/lib/components/badge/elder-badge.directive.mjs +3 -3
- package/esm2020/lib/components/badge/elder-badge.module.mjs +4 -4
- package/esm2020/lib/components/button-group/elder-button-group/elder-button-group.component.mjs +3 -3
- package/esm2020/lib/components/button-group/elder-button-group.module.mjs +4 -4
- package/esm2020/lib/components/card-organizer/card-organizer/elder-card-organizer.component.mjs +3 -3
- package/esm2020/lib/components/card-organizer/card-organizer/elder-stack-card.directive.mjs +3 -3
- package/esm2020/lib/components/card-organizer/card-stack/elder-card-stack.component.mjs +3 -3
- package/esm2020/lib/components/card-organizer/elder-card-organizer.module.mjs +4 -4
- package/esm2020/lib/components/cards/elder-card/elder-card-header/elder-card-header.component.mjs +3 -3
- package/esm2020/lib/components/cards/elder-card/elder-card.component.mjs +18 -18
- package/esm2020/lib/components/cards/elder-card/elder-card.module.mjs +4 -4
- package/esm2020/lib/components/chips/elder-chip-label.directive.mjs +3 -3
- package/esm2020/lib/components/chips/elder-chips.module.mjs +4 -4
- package/esm2020/lib/components/connectivity/elder-connectivity.module.mjs +4 -4
- package/esm2020/lib/components/connectivity/elder-connectivity.service.mjs +3 -3
- package/esm2020/lib/components/connectivity/offline-indicator/elder-offline-indicator.component.mjs +3 -3
- package/esm2020/lib/components/containers/elder-containers.module.mjs +4 -4
- package/esm2020/lib/components/containers/elder-scroll-container/elder-scroll-container.component.mjs +3 -3
- package/esm2020/lib/components/csv/elder-csv-export-btn/elder-csv-export-btn.component.mjs +3 -3
- package/esm2020/lib/components/csv/elder-csv-stream-exporter-builder.service.mjs +3 -3
- package/esm2020/lib/components/csv/elder-csv.module.mjs +4 -4
- package/esm2020/lib/components/currency/elder-currency.module.mjs +4 -4
- package/esm2020/lib/components/currency/elder-currency.pipe.mjs +3 -3
- package/esm2020/lib/components/data-transfer/elder-data-transfer.module.mjs +4 -4
- package/esm2020/lib/components/data-transfer/elder-data-transfer.service.mjs +3 -3
- package/esm2020/lib/components/data-transfer/http-data-transfer/http-data-transfer.component.mjs +3 -3
- package/esm2020/lib/components/data-transfer/http-data-transfer-aggregate/http-data-transfer-aggregate.component.mjs +3 -3
- package/esm2020/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.mjs +3 -3
- package/esm2020/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.mjs +3 -3
- package/esm2020/lib/components/data-view/base/elder-data-view-base.mjs +3 -3
- package/esm2020/lib/components/data-view/common/data-context-state-indicator/data-context-state-indicator.component.mjs +3 -3
- package/esm2020/lib/components/data-view/common/elder-data-common.module.mjs +4 -4
- package/esm2020/lib/components/data-view/common/elder-data-toolbar/elder-data-toolbar.component.mjs +6 -6
- package/esm2020/lib/components/data-view/common/elder-single-sort/elder-single-sort.component.mjs +3 -3
- package/esm2020/lib/components/data-view/common/selection/data-context-selection.directive.mjs +3 -3
- package/esm2020/lib/components/data-view/common/selection/elder-selection-master-checkbox/elder-selection-master-checkbox.component.mjs +3 -3
- package/esm2020/lib/components/data-view/grid/elder-grid/elder-grid.component.mjs +9 -9
- package/esm2020/lib/components/data-view/grid/elder-grid.module.mjs +4 -4
- package/esm2020/lib/components/data-view/master-detail/elder-detail-dialog/elder-detail-dialog.component.mjs +8 -8
- package/esm2020/lib/components/data-view/master-detail/elder-detail.directive.mjs +10 -8
- package/esm2020/lib/components/data-view/master-detail/elder-master-activation.directive.mjs +28 -13
- package/esm2020/lib/components/data-view/master-detail/elder-master-detail-activation-event.mjs +12 -0
- package/esm2020/lib/components/data-view/master-detail/elder-master-detail-provider.mjs +7 -7
- package/esm2020/lib/components/data-view/master-detail/elder-master-detail.component.mjs +10 -10
- package/esm2020/lib/components/data-view/master-detail/elder-master-detail.module.mjs +7 -6
- package/esm2020/lib/components/data-view/master-detail/elder-master-detail.service.mjs +73 -0
- package/esm2020/lib/components/data-view/master-detail/elder-master.directive.mjs +3 -3
- package/esm2020/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.component.mjs +3 -3
- package/esm2020/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.module.mjs +4 -4
- package/esm2020/lib/components/data-view/table/activation/activation-event-source.mjs +7 -0
- package/esm2020/lib/components/data-view/table/activation/active-item-event.mjs +9 -0
- package/esm2020/lib/components/data-view/table/activation/elder-activation-context.mjs +2 -0
- package/esm2020/lib/components/data-view/table/activation/elder-delete-active.directive.mjs +6 -6
- package/esm2020/lib/components/data-view/table/activation/elder-table-activation.directive.mjs +29 -19
- package/esm2020/lib/components/data-view/table/activation/item-activation-options.mjs +7 -0
- package/esm2020/lib/components/data-view/table/activation/public_api.mjs +8 -0
- package/esm2020/lib/components/data-view/table/elder-number-cell.directive.mjs +3 -3
- package/esm2020/lib/components/data-view/table/elder-paginator-intl.mjs +3 -3
- package/esm2020/lib/components/data-view/table/elder-table/elder-table-toolbar.directive.mjs +3 -3
- package/esm2020/lib/components/data-view/table/elder-table/elder-table.component.mjs +3 -3
- package/esm2020/lib/components/data-view/table/elder-table-column.directive.mjs +3 -3
- package/esm2020/lib/components/data-view/table/elder-table-extension.directive.mjs +3 -3
- package/esm2020/lib/components/data-view/table/elder-table-root.directive.mjs +3 -3
- package/esm2020/lib/components/data-view/table/elder-table-row.directive.mjs +30 -17
- package/esm2020/lib/components/data-view/table/elder-table-sort.directive.mjs +3 -3
- package/esm2020/lib/components/data-view/table/elder-table.module.mjs +10 -12
- package/esm2020/lib/components/data-view/table/model/elder-table-model.mjs +3 -3
- package/esm2020/lib/components/dialogs/confirm-dialog/elder-confirm-dialog.component.mjs +3 -3
- package/esm2020/lib/components/dialogs/elder-dialog.module.mjs +4 -4
- package/esm2020/lib/components/dialogs/elder-dialog.service.mjs +3 -3
- package/esm2020/lib/components/dialogs/question-dialog/elder-question-dialog.component.mjs +3 -3
- package/esm2020/lib/components/dialogs/selection-dialog/elder-selection-dialog/elder-selection-dialog.component.mjs +3 -3
- package/esm2020/lib/components/dialogs/selection-dialog/elder-selection-dialog.directive.mjs +3 -3
- package/esm2020/lib/components/errors/elder-error.module.mjs +4 -4
- package/esm2020/lib/components/errors/exception-detail/elder-exception-detail.component.mjs +3 -3
- package/esm2020/lib/components/expand-toggle-button/elder-expand-toggle-button.component.mjs +3 -3
- package/esm2020/lib/components/expand-toggle-button/elder-expand-toggle-button.module.mjs +4 -4
- package/esm2020/lib/components/files/blob-viewer/elder-blob-viewer.component.mjs +3 -3
- package/esm2020/lib/components/files/drag-n-drop/elder-drop-zone/elder-drop-zone.component.mjs +3 -3
- package/esm2020/lib/components/files/drag-n-drop/global-drag-drop.service.mjs +3 -3
- package/esm2020/lib/components/files/elder-file-drop-zone.directive.mjs +3 -3
- package/esm2020/lib/components/files/elder-file-select.directive.mjs +3 -3
- package/esm2020/lib/components/files/elder-file.module.mjs +4 -4
- package/esm2020/lib/components/files/file-select/file-select.component.mjs +3 -3
- package/esm2020/lib/components/files/file-upload/file-upload.component.mjs +3 -3
- package/esm2020/lib/components/forms/clipboard/elder-clipboard.service.mjs +3 -3
- package/esm2020/lib/components/forms/directives/base/elder-class-hostbinding-base.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-clipboard-put.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-delayed-focus.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-form-field-dense.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-form-field-label.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-form-field-no-hint.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-form-field-no-spinner.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-forms-directives.module.mjs +4 -4
- package/esm2020/lib/components/forms/directives/elder-input-pattern.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-key-event.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-next-focusable.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-plug-parent-form.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-stop-event-propagation.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-tab-focus-trap.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-touched.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/elder-triple-state-checkbox.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/validation/elder-validation-error.directive.mjs +3 -3
- package/esm2020/lib/components/forms/directives/validation/strategies/common-validation-message-strategy.mjs +3 -3
- package/esm2020/lib/components/forms/directives/validation/strategies/dynamic-validation-message-strategy.mjs +3 -3
- package/esm2020/lib/components/forms/directives/validation/validation-message-renderer.service.mjs +3 -3
- package/esm2020/lib/components/forms/directives/validation/validators/elder-max.validator.mjs +3 -3
- package/esm2020/lib/components/forms/directives/validation/validators/elder-min.validator.mjs +3 -3
- package/esm2020/lib/components/forms/directives/validation/validators/elder-multiple-of.validator.mjs +3 -3
- package/esm2020/lib/components/forms/directives/validation/validators/elder-required-ignore-zero.validator.mjs +3 -3
- package/esm2020/lib/components/forms/elder-forms.module.mjs +4 -4
- package/esm2020/lib/components/forms/search/elder-search-context.directive.mjs +3 -3
- package/esm2020/lib/components/forms/search/elder-search-input.directive.mjs +3 -3
- package/esm2020/lib/components/forms/search/elder-search.module.mjs +4 -4
- package/esm2020/lib/components/forms/search/search-box/elder-search-box.component.mjs +3 -3
- package/esm2020/lib/components/forms/search/search-box/elder-search-panel.component.mjs +3 -3
- package/esm2020/lib/components/global-search/elder-global-search.component.mjs +3 -3
- package/esm2020/lib/components/global-search/elder-global-search.module.mjs +4 -4
- package/esm2020/lib/components/global-search/elder-global-search.service.mjs +3 -3
- package/esm2020/lib/components/graph/elder-progress-bar/elder-progress-bar.component.mjs +3 -3
- package/esm2020/lib/components/graph/elder-progress-bar/elder-progress-bar.module.mjs +4 -4
- package/esm2020/lib/components/headers/elder-header/elder-header.component.mjs +3 -3
- package/esm2020/lib/components/headers/elder-header.module.mjs +4 -4
- package/esm2020/lib/components/http-support/elder-http-client.service.mjs +3 -3
- package/esm2020/lib/components/i18n/entities/elder-i18n-entities.module.mjs +4 -4
- package/esm2020/lib/components/i18n/entities/elder-localized-input/elder-localized-input.component.mjs +3 -3
- package/esm2020/lib/components/i18n/entities/elder-localized-input-dialog/elder-localized-input-dialog.component.mjs +3 -3
- package/esm2020/lib/components/i18n/entities/elder-localized-input-dialog.service.mjs +3 -3
- package/esm2020/lib/components/i18n/entities/elder-localized-input-table/elder-localized-input-table.component.mjs +3 -3
- package/esm2020/lib/components/i18n/entities/elder-localized-text-column.directive.mjs +3 -3
- package/esm2020/lib/components/i18n/entities/elder-localized-texts.directive.mjs +3 -3
- package/esm2020/lib/components/i18n/entities/picker/i18n-pick-async.pipe.mjs +3 -3
- package/esm2020/lib/components/i18n/entities/picker/i18n-pick.pipe.mjs +3 -3
- package/esm2020/lib/components/i18n/entities/picker/localisation-picker.service.mjs +3 -3
- package/esm2020/lib/components/i18n/language/elder-language-interceptor.mjs +3 -3
- package/esm2020/lib/components/i18n/language/elder-language.module.mjs +4 -4
- package/esm2020/lib/components/i18n/language/elder-language.service.mjs +3 -3
- package/esm2020/lib/components/i18n/language/language-switcher/elder-language-switcher.component.mjs +3 -3
- package/esm2020/lib/components/i18n/locales/elder-locales-de-ch.module.mjs +4 -4
- package/esm2020/lib/components/iframes/data-view/data-view-iframe/data-view-iframe.component.mjs +3 -3
- package/esm2020/lib/components/iframes/data-view/data-view-iframe-adapter.directive.mjs +3 -3
- package/esm2020/lib/components/iframes/elder-iframe.module.mjs +4 -4
- package/esm2020/lib/components/iframes/iframe-close.directive.mjs +3 -3
- package/esm2020/lib/components/iframes/iframe-dialog/iframe-dialog.component.mjs +3 -3
- package/esm2020/lib/components/iframes/iframe-host/iframe-host.component.mjs +3 -3
- package/esm2020/lib/components/iframes/iframe-side-content/iframe-side-content.component.mjs +3 -3
- package/esm2020/lib/components/iframes/iframe.service.mjs +3 -3
- package/esm2020/lib/components/infinitescroll/elder-infinite-autocomplete.directive.mjs +3 -3
- package/esm2020/lib/components/infinitescroll/elder-infinite-scroll.directive.mjs +3 -3
- package/esm2020/lib/components/infinitescroll/elder-infinite-scroll.module.mjs +4 -4
- package/esm2020/lib/components/input/autocomplete/elder-autocomplete/elder-autocomplete.component.mjs +3 -3
- package/esm2020/lib/components/input/autocomplete/elder-autocomplete-many.directive.mjs +3 -3
- package/esm2020/lib/components/input/autocomplete/elder-autocomplete.directive.mjs +3 -3
- package/esm2020/lib/components/input/autocomplete/elder-autocomplete.module.mjs +4 -4
- package/esm2020/lib/components/labels/elder-labels.module.mjs +4 -4
- package/esm2020/lib/components/labels/labels-input/labels-input.component.mjs +3 -3
- package/esm2020/lib/components/measures/dimensions/dimensions-input/elder-dimensions-input.component.mjs +3 -3
- package/esm2020/lib/components/measures/dimensions/validation/elder-required-dimensions.validator.mjs +3 -3
- package/esm2020/lib/components/measures/directives/elder-unit-select.directive.mjs +3 -3
- package/esm2020/lib/components/measures/elder-measures.module.mjs +8 -8
- package/esm2020/lib/components/measures/elder-quantity-transform.pipe.mjs +3 -3
- package/esm2020/lib/components/measures/elder-quantity.pipe.mjs +3 -3
- package/esm2020/lib/components/measures/elder-unit.service.mjs +3 -3
- package/esm2020/lib/components/measures/quantity-input/quantity-form-field/elder-quantity-form-field.component.mjs +3 -3
- package/esm2020/lib/components/measures/quantity-input/quantity-input-control/elder-quantity-input-control.component.mjs +3 -3
- package/esm2020/lib/components/measures/quantity-input/validation/elder-quantity-range.validator.mjs +3 -3
- package/esm2020/lib/components/measures/quantity-input/validation/elder-required-quantity.validator.mjs +3 -3
- package/esm2020/lib/components/measures/util/elder-quantity.service.mjs +3 -3
- package/esm2020/lib/components/navigation/bread-crumbs/bread-crumbs/elder-bread-crumbs.component.mjs +3 -3
- package/esm2020/lib/components/navigation/bread-crumbs/elder-bread-crumbs.module.mjs +4 -4
- package/esm2020/lib/components/navigation/nav/elder-nav.module.mjs +4 -4
- package/esm2020/lib/components/navigation/nav/nav-group/elder-nav-group.component.mjs +3 -3
- package/esm2020/lib/components/navigation/nav/nav-link/elder-nav-link.component.mjs +3 -3
- package/esm2020/lib/components/navigation/nav/nav-list/elder-nav-list.component.mjs +3 -3
- package/esm2020/lib/components/navigation/toolbar/elder-toolbar-column.directive.mjs +3 -3
- package/esm2020/lib/components/navigation/toolbar/elder-toolbar.module.mjs +4 -4
- package/esm2020/lib/components/navigation/toolbar/elder-toolbar.service.mjs +3 -3
- package/esm2020/lib/components/navigation/toolbar/toolbar/elder-toolbar.component.mjs +3 -3
- package/esm2020/lib/components/navigation/toolbar/toolbar-title/elder-toolbar-title.component.mjs +3 -3
- package/esm2020/lib/components/navigation/toolbar/toolbar-title/elder-toolbar-title.service.mjs +3 -3
- package/esm2020/lib/components/overlays/elder-overlay-origin.directive.mjs +3 -3
- package/esm2020/lib/components/overlays/elder-overlay-trigger.directive.mjs +3 -3
- package/esm2020/lib/components/overlays/elder-overlay.component.mjs +3 -3
- package/esm2020/lib/components/overlays/elder-overlay.module.mjs +4 -4
- package/esm2020/lib/components/panels/card-panel/elder-card-panel.component.mjs +3 -3
- package/esm2020/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.mjs +3 -3
- package/esm2020/lib/components/panels/elder-panel.module.mjs +4 -4
- package/esm2020/lib/components/panels/flat/elder-panel.component.mjs +3 -3
- package/esm2020/lib/components/panels/toggle-panel/elder-toggle-panel-trigger.directive.mjs +3 -3
- package/esm2020/lib/components/panels/toggle-panel/elder-toggle-panel.component.mjs +9 -9
- package/esm2020/lib/components/scrollbar/elder-scrollbar.directive.mjs +3 -3
- package/esm2020/lib/components/scrollbar/elder-scrollbar.module.mjs +4 -4
- package/esm2020/lib/components/select/auto/elder-auto-select-first.directive.mjs +3 -3
- package/esm2020/lib/components/select/elder-select-base.mjs +3 -3
- package/esm2020/lib/components/select/elder-select-chip.directive.mjs +9 -9
- package/esm2020/lib/components/select/elder-select-on-tab.directive.mjs +3 -3
- package/esm2020/lib/components/select/elder-select-value.directive.mjs +3 -3
- package/esm2020/lib/components/select/elder-select.module.mjs +4 -4
- package/esm2020/lib/components/select/multi/elder-multi-select-base.mjs +3 -3
- package/esm2020/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.mjs +4 -4
- package/esm2020/lib/components/select/multi/elder-multi-select-form-field.mjs +3 -3
- package/esm2020/lib/components/select/popup/selection-model-popup-trigger-adapter.directive.mjs +3 -3
- package/esm2020/lib/components/select/popup/selection-model-popup.directive.mjs +3 -3
- package/esm2020/lib/components/select/popup/templated-selection-dialog/templated-selection-dialog.component.mjs +3 -3
- package/esm2020/lib/components/select/single/elder-clear-select.directive.mjs +3 -3
- package/esm2020/lib/components/select/single/elder-select/elder-select.component.mjs +3 -3
- package/esm2020/lib/components/select/single/elder-select-form-field.mjs +3 -3
- package/esm2020/lib/components/select-chip-list/chip-list-select/elder-chip-list-select.component.mjs +4 -4
- package/esm2020/lib/components/select-chip-list/elder-chip-list-select.module.mjs +4 -4
- package/esm2020/lib/components/shell/drawers/elder-route-outlet-drawer.service.mjs +3 -3
- package/esm2020/lib/components/shell/drawers/elder-router-outlet.service.mjs +3 -3
- package/esm2020/lib/components/shell/elder-shell-slot.directive.mjs +3 -3
- package/esm2020/lib/components/shell/elder-shell.module.mjs +4 -4
- package/esm2020/lib/components/shell/elder-shell.service.mjs +3 -3
- package/esm2020/lib/components/shell/header/elder-app-header/elder-app-header.component.mjs +3 -3
- package/esm2020/lib/components/shell/shell/elder-shell.component.mjs +12 -12
- package/esm2020/lib/components/shell/shell-navigation-toggle/elder-shell-navigation-toggle.component.mjs +3 -3
- package/esm2020/lib/components/tabs/elder-tab/elder-tab.directive.mjs +3 -3
- package/esm2020/lib/components/tabs/elder-tab-group-routing/elder-tab-group-routing.directive.mjs +3 -3
- package/esm2020/lib/components/tabs/elder-tab.module.mjs +4 -4
- package/esm2020/lib/components/theme/elder-theme-applier.directive.mjs +3 -3
- package/esm2020/lib/components/theme/elder-theme-preference.service.mjs +3 -3
- package/esm2020/lib/components/theme/elder-theme-toggle/elder-theme-toggle.component.mjs +3 -3
- package/esm2020/lib/components/theme/elder-theme.directive.mjs +3 -3
- package/esm2020/lib/components/theme/elder-theme.module.mjs +4 -4
- package/esm2020/lib/components/theme/elder-theme.service.mjs +3 -3
- package/esm2020/lib/components/time/date-adapters/custom-date-adapter.mjs +3 -3
- package/esm2020/lib/components/time/duration/elder-duration-input/elder-duration-input.component.mjs +3 -3
- package/esm2020/lib/components/time/elder-date-switcher/elder-date-switcher.component.mjs +3 -3
- package/esm2020/lib/components/time/elder-date-time-input/elder-date-time-input.component.mjs +3 -3
- package/esm2020/lib/components/time/elder-interval-input/elder-interval-input.component.mjs +3 -3
- package/esm2020/lib/components/time/elder-local-date-input/elder-local-date-input.component.mjs +3 -3
- package/esm2020/lib/components/time/elder-local-time-input/elder-local-time-input.component.mjs +3 -3
- package/esm2020/lib/components/time/elder-time.module.mjs +4 -4
- package/esm2020/lib/components/time/period/elder-period-input/elder-period-input.component.mjs +3 -3
- package/esm2020/lib/components/time/pipes/to-iso-date-string.pipe.mjs +3 -3
- package/esm2020/lib/components/toasts/elder-toast.module.mjs +4 -4
- package/esm2020/lib/components/toasts/elder-toast.service.mjs +3 -3
- package/esm2020/lib/components/toasts/standard-toast/standard-toast.component.mjs +3 -3
- package/esm2020/lib/components/url-fragment/elder-url-fragment.module.mjs +4 -4
- package/esm2020/lib/components/url-fragment/url-fragment-switcher/elder-url-fragment-switcher.component.mjs +3 -3
- package/esm2020/lib/components/viewers/elder-svg-viewer/elder-svg-viewer.component.mjs +3 -3
- package/esm2020/lib/components/viewers/elder-viewers.module.mjs +4 -4
- package/esm2020/lib/features/event-source/elder-event-source.service.mjs +3 -3
- package/esm2020/lib/features/kafent/access-token-provider.mjs +3 -3
- package/esm2020/lib/features/kafent/kafent-config.mjs +3 -3
- package/esm2020/lib/features/kafent/kafent-event-stream.mjs +3 -3
- package/esm2020/lib/features/kafent/kafent-event.service.mjs +3 -3
- package/esm2020/lib/features/kafent/kafent.module.mjs +4 -4
- package/esm2020/lib/features/kafent/sse/kafent-event-stream-sse.service.mjs +3 -3
- package/esm2020/lib/pipes/bytes.pipe.mjs +3 -3
- package/esm2020/lib/pipes/elder-pipes.module.mjs +10 -10
- package/esm2020/lib/pipes/elder-repeat.pipe.mjs +3 -3
- package/esm2020/lib/pipes/elder-round.pipe.mjs +3 -3
- package/esm2020/lib/pipes/elder-safe-url.pipe.mjs +3 -3
- package/esm2020/lib/pipes/elder-truncate.pipe.mjs +3 -3
- package/esm2020/lib/pipes/iso-duration.pipe.mjs +3 -3
- package/esm2020/lib/pipes/iso-interval-parse.pipe.mjs +3 -3
- package/esm2020/lib/pipes/iso-interval.pipe.mjs +3 -3
- package/esm2020/lib/pipes/time-ago.pipe.mjs +3 -3
- package/esm2020/lib/pipes/time-duration.pipe.mjs +3 -3
- package/esm2020/lib/pipes/weight.pipe.mjs +3 -3
- package/fesm2015/elderbyte-ngx-starter.mjs +1068 -1003
- package/fesm2015/elderbyte-ngx-starter.mjs.map +1 -1
- package/fesm2020/elderbyte-ngx-starter.mjs +1068 -1003
- package/fesm2020/elderbyte-ngx-starter.mjs.map +1 -1
- package/lib/components/data-view/master-detail/elder-detail-dialog/elder-detail-dialog.component.d.ts +2 -2
- package/lib/components/data-view/master-detail/elder-detail.directive.d.ts +2 -2
- package/lib/components/data-view/master-detail/elder-master-activation.directive.d.ts +11 -4
- package/lib/components/data-view/master-detail/elder-master-detail-activation-event.d.ts +8 -0
- package/lib/components/data-view/master-detail/elder-master-detail-provider.d.ts +5 -5
- package/lib/components/data-view/master-detail/elder-master-detail.component.d.ts +2 -2
- package/lib/components/data-view/master-detail/elder-master-detail.module.d.ts +2 -1
- package/lib/components/data-view/master-detail/{master-detail.service.d.ts → elder-master-detail.service.d.ts} +8 -7
- package/lib/components/data-view/table/activation/activation-event-source.d.ts +5 -0
- package/lib/components/data-view/table/activation/active-item-event.d.ts +8 -0
- package/lib/components/data-view/table/activation/elder-activation-context.d.ts +7 -0
- package/lib/components/data-view/table/activation/elder-table-activation.directive.d.ts +10 -5
- package/lib/components/data-view/table/activation/item-activation-options.d.ts +6 -0
- package/lib/components/data-view/table/activation/public_api.d.ts +7 -0
- package/lib/components/data-view/table/elder-table-row.directive.d.ts +5 -5
- package/lib/components/data-view/table/elder-table.module.d.ts +5 -7
- package/package.json +1 -1
- package/esm2020/lib/components/data-view/master-detail/master-detail.service.mjs +0 -70
- package/esm2020/lib/components/data-view/table/activation/elder-item-activator.mjs +0 -2
- package/lib/components/data-view/table/activation/elder-item-activator.d.ts +0 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnDestroy, TemplateRef } from '@angular/core';
|
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import {
|
|
4
|
+
import { ElderMasterDetailService } from '../elder-master-detail.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export interface IElderDetailDialogOptions<T = any> {
|
|
7
7
|
entity: T;
|
|
@@ -23,7 +23,7 @@ export declare class ElderDetailDialogComponent<T = any> implements OnDestroy {
|
|
|
23
23
|
* Constructor *
|
|
24
24
|
* *
|
|
25
25
|
**************************************************************************/
|
|
26
|
-
constructor(dialogRef: MatDialogRef<ElderDetailDialogComponent>, data: IElderDetailDialogOptions, masterDetailService:
|
|
26
|
+
constructor(dialogRef: MatDialogRef<ElderDetailDialogComponent>, data: IElderDetailDialogOptions, masterDetailService: ElderMasterDetailService<T>);
|
|
27
27
|
/***************************************************************************
|
|
28
28
|
* *
|
|
29
29
|
* Life Cycle *
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ElderMasterDetailService } from './elder-master-detail.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ElderDetailDirective<T> {
|
|
5
5
|
private masterDetailService;
|
|
@@ -17,7 +17,7 @@ export declare class ElderDetailDirective<T> {
|
|
|
17
17
|
* Constructor *
|
|
18
18
|
* *
|
|
19
19
|
**************************************************************************/
|
|
20
|
-
constructor(masterDetailService:
|
|
20
|
+
constructor(masterDetailService: ElderMasterDetailService<T>, templateRef: TemplateRef<any>, viewContainer: ViewContainerRef);
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderDetailDirective<any>, never>;
|
|
22
22
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ElderDetailDirective<any>, "[elderDataDetail]", never, {}, {}, never, never, false, never>;
|
|
23
23
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ElderMasterDetailService } from './elder-master-detail.service';
|
|
3
3
|
import { ElderToastService } from '../../toasts/elder-toast.service';
|
|
4
4
|
import { ElderTableActivationDirective } from '../table/activation/elder-table-activation.directive';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ElderMasterActivationDirective<T> implements OnInit {
|
|
6
|
+
export declare class ElderMasterActivationDirective<T> implements OnInit, OnDestroy {
|
|
7
7
|
private toastService;
|
|
8
8
|
private tableActivation;
|
|
9
9
|
private masterDetailService;
|
|
@@ -12,19 +12,26 @@ export declare class ElderMasterActivationDirective<T> implements OnInit {
|
|
|
12
12
|
* Fields *
|
|
13
13
|
* *
|
|
14
14
|
**************************************************************************/
|
|
15
|
+
private readonly destroy$;
|
|
15
16
|
private readonly log;
|
|
16
17
|
/***************************************************************************
|
|
17
18
|
* *
|
|
18
19
|
* Constructor *
|
|
19
20
|
* *
|
|
20
21
|
**************************************************************************/
|
|
21
|
-
constructor(toastService: ElderToastService, tableActivation: ElderTableActivationDirective<T>, masterDetailService:
|
|
22
|
+
constructor(toastService: ElderToastService, tableActivation: ElderTableActivationDirective<T>, masterDetailService: ElderMasterDetailService<T>);
|
|
22
23
|
/***************************************************************************
|
|
23
24
|
* *
|
|
24
25
|
* Life Cycle *
|
|
25
26
|
* *
|
|
26
27
|
**************************************************************************/
|
|
28
|
+
ngOnDestroy(): void;
|
|
27
29
|
ngOnInit(): void;
|
|
30
|
+
/***************************************************************************
|
|
31
|
+
* *
|
|
32
|
+
* Private Methods *
|
|
33
|
+
* *
|
|
34
|
+
**************************************************************************/
|
|
28
35
|
private onModeChange;
|
|
29
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderMasterActivationDirective<any>, never>;
|
|
30
37
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ElderMasterActivationDirective<any>, "[elderMasterActivation]", never, {}, {}, never, never, false, never>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActivationEventSource } from '../table/activation/activation-event-source';
|
|
2
|
+
export declare class ElderMasterDetailActivationEvent<T> {
|
|
3
|
+
item: T;
|
|
4
|
+
creating: boolean;
|
|
5
|
+
source: ActivationEventSource;
|
|
6
|
+
deactivate: boolean;
|
|
7
|
+
constructor(item: T, creating: boolean, source: ActivationEventSource);
|
|
8
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Provider } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
export declare function existingOrNewMasterDetailService(serviceProvider:
|
|
4
|
-
export declare function newMasterDetailService():
|
|
2
|
+
import { ElderMasterDetailService } from './elder-master-detail.service';
|
|
3
|
+
export declare function existingOrNewMasterDetailService(serviceProvider: ElderMasterDetailService<any> | null): ElderMasterDetailService<any>;
|
|
4
|
+
export declare function newMasterDetailService(): ElderMasterDetailService<any>;
|
|
5
5
|
export declare class ElderMasterDetailProvider<T> {
|
|
6
6
|
/**
|
|
7
|
-
* Uses the existing
|
|
8
|
-
* Otherwise, creates a new
|
|
7
|
+
* Uses the existing ElderMasterDetailService from a parent if available.
|
|
8
|
+
* Otherwise, creates a new ElderMasterDetailService and provides it.
|
|
9
9
|
*/
|
|
10
10
|
static readonly ExistingOrNewMasterDetailService: Provider;
|
|
11
11
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ElderMasterDetailService } from './elder-master-detail.service';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
5
5
|
import { ElderDetailDialogComponent } from './elder-detail-dialog/elder-detail-dialog.component';
|
|
@@ -26,7 +26,7 @@ export declare class ElderMasterDetailComponent<T> implements OnDestroy {
|
|
|
26
26
|
* Constructor *
|
|
27
27
|
* *
|
|
28
28
|
**************************************************************************/
|
|
29
|
-
constructor(masterDetailService:
|
|
29
|
+
constructor(masterDetailService: ElderMasterDetailService<T>, dialog: MatDialog, viewContainerRef: ViewContainerRef);
|
|
30
30
|
/***************************************************************************
|
|
31
31
|
* *
|
|
32
32
|
* Life Cycle *
|
|
@@ -25,7 +25,8 @@ export * from './elder-master.directive';
|
|
|
25
25
|
export * from './elder-detail.directive';
|
|
26
26
|
export * from './elder-master-activation.directive';
|
|
27
27
|
export * from './elder-master-detail-mode';
|
|
28
|
-
export * from './master-detail.service';
|
|
28
|
+
export * from './elder-master-detail.service';
|
|
29
|
+
export * from './elder-master-detail-activation-event';
|
|
29
30
|
export * from './elder-detail-dialog/elder-detail-dialog.component';
|
|
30
31
|
export * from './elder-master-detail.component';
|
|
31
32
|
export declare class ElderMasterDetailModule {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
3
3
|
import { ElderMasterDetailMode } from './elder-master-detail-mode';
|
|
4
|
+
import { ActiveItemEvent } from '../table/activation/active-item-event';
|
|
5
|
+
import { ElderMasterDetailActivationEvent } from './elder-master-detail-activation-event';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
7
|
+
export declare class ElderMasterDetailService<T> implements OnDestroy {
|
|
6
8
|
/***************************************************************************
|
|
7
9
|
* *
|
|
8
10
|
* Fields *
|
|
@@ -14,7 +16,7 @@ export declare class MasterDetailService<T> implements OnDestroy {
|
|
|
14
16
|
private readonly _itemActivationRequest$;
|
|
15
17
|
private readonly _activeItem$;
|
|
16
18
|
private readonly _creatingItem$;
|
|
17
|
-
private readonly
|
|
19
|
+
private readonly _activationEvent$;
|
|
18
20
|
/***************************************************************************
|
|
19
21
|
* *
|
|
20
22
|
* Constructor *
|
|
@@ -32,12 +34,11 @@ export declare class MasterDetailService<T> implements OnDestroy {
|
|
|
32
34
|
* Properties *
|
|
33
35
|
* *
|
|
34
36
|
**************************************************************************/
|
|
37
|
+
get activationEvent$(): Observable<ElderMasterDetailActivationEvent<T>>;
|
|
35
38
|
get itemActivationRequested(): Observable<T>;
|
|
36
|
-
|
|
37
|
-
get activeItem$(): Observable<T>;
|
|
38
|
-
onItemActivated(item: T): void;
|
|
39
|
+
onItemActivated(event: ActiveItemEvent<T>): void;
|
|
39
40
|
requestItemActivation(item: T): void;
|
|
40
41
|
activateCreatingItem(item: T): void;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
42
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ElderMasterDetailService<any>, never>;
|
|
43
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ElderMasterDetailService<any>>;
|
|
43
44
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActivationEventSource } from './activation-event-source';
|
|
2
|
+
export declare class ActiveItemEvent<T> {
|
|
3
|
+
readonly item: T;
|
|
4
|
+
readonly source: ActivationEventSource;
|
|
5
|
+
readonly focus: boolean;
|
|
6
|
+
readonly creating: boolean;
|
|
7
|
+
constructor(item: T, source: ActivationEventSource, focus: boolean, creating: boolean);
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ActiveItemEvent } from './active-item-event';
|
|
3
|
+
import { ItemActivationOptions } from './item-activation-options';
|
|
4
|
+
export interface ElderActivationContext<T> {
|
|
5
|
+
activate(item: T, options: ItemActivationOptions): void;
|
|
6
|
+
get activeItemEventChange(): Observable<ActiveItemEvent<T>>;
|
|
7
|
+
}
|
|
@@ -3,9 +3,11 @@ import { ElderTableRowDirective } from '../elder-table-row.directive';
|
|
|
3
3
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
4
|
import { ElderTableComponent } from '../elder-table/elder-table.component';
|
|
5
5
|
import { ElderTableActivationOptions } from './elder-table-activation-options';
|
|
6
|
-
import {
|
|
6
|
+
import { ItemActivationOptions } from './item-activation-options';
|
|
7
|
+
import { ActiveItemEvent } from './active-item-event';
|
|
8
|
+
import { ElderActivationContext } from './elder-activation-context';
|
|
7
9
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ElderTableActivationDirective<T> implements
|
|
10
|
+
export declare class ElderTableActivationDirective<T> implements ElderActivationContext<T>, AfterViewInit, OnDestroy {
|
|
9
11
|
private readonly elderTable;
|
|
10
12
|
/***************************************************************************
|
|
11
13
|
* *
|
|
@@ -15,6 +17,7 @@ export declare class ElderTableActivationDirective<T> implements ElderItemActiva
|
|
|
15
17
|
private readonly logger;
|
|
16
18
|
private readonly destroy$;
|
|
17
19
|
readonly activeItem$: BehaviorSubject<T>;
|
|
20
|
+
private readonly activeItemEvent$;
|
|
18
21
|
activationOptions: ElderTableActivationOptions;
|
|
19
22
|
private _data;
|
|
20
23
|
readonly rows$: BehaviorSubject<ElderTableRowDirective<T>[]>;
|
|
@@ -42,6 +45,7 @@ export declare class ElderTableActivationDirective<T> implements ElderItemActiva
|
|
|
42
45
|
* Properties *
|
|
43
46
|
* *
|
|
44
47
|
**************************************************************************/
|
|
48
|
+
get activeItemEventChange(): Observable<ActiveItemEvent<T>>;
|
|
45
49
|
get activeItemChange(): Observable<T>;
|
|
46
50
|
get activeItem(): T;
|
|
47
51
|
set activeItem(item: T);
|
|
@@ -50,8 +54,8 @@ export declare class ElderTableActivationDirective<T> implements ElderItemActiva
|
|
|
50
54
|
* Public API *
|
|
51
55
|
* *
|
|
52
56
|
**************************************************************************/
|
|
53
|
-
activate(item: T): void;
|
|
54
|
-
|
|
57
|
+
activate(item: T, options: ItemActivationOptions): void;
|
|
58
|
+
activateAndFocus(item: T): void;
|
|
55
59
|
isItemActive(item: T): boolean;
|
|
56
60
|
hasItemFocus(item: T): boolean;
|
|
57
61
|
nextCloseTo(active: T): T;
|
|
@@ -60,6 +64,7 @@ export declare class ElderTableActivationDirective<T> implements ElderItemActiva
|
|
|
60
64
|
* Private methods *
|
|
61
65
|
* *
|
|
62
66
|
**************************************************************************/
|
|
67
|
+
private updateActiveItem;
|
|
63
68
|
private updateRowsActivation;
|
|
64
69
|
private updateRowActivation;
|
|
65
70
|
private rowDataUpdated;
|
|
@@ -78,5 +83,5 @@ export declare class ElderTableActivationDirective<T> implements ElderItemActiva
|
|
|
78
83
|
private itemEqualsId;
|
|
79
84
|
private getId;
|
|
80
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderTableActivationDirective<any>, never>;
|
|
81
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ElderTableActivationDirective<any>, "elder-table[elderTableActivation]", ["elderTableActivation"], { "activationOptions": "elderTableActivation"; "activeItem": "activeItem"; }, { "activeItemChange": "activeItemChange"; }, never, never, false, never>;
|
|
86
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ElderTableActivationDirective<any>, "elder-table[elderTableActivation]", ["elderTableActivation"], { "activationOptions": "elderTableActivation"; "activeItem": "activeItem"; }, { "activeItemEventChange": "activeItemEventChange"; "activeItemChange": "activeItemChange"; }, never, never, false, never>;
|
|
82
87
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './activation-event-source';
|
|
2
|
+
export * from './active-item-event';
|
|
3
|
+
export * from './elder-activation-context';
|
|
4
|
+
export * from './elder-delete-active.directive';
|
|
5
|
+
export * from './elder-table-activation.directive';
|
|
6
|
+
export * from './elder-table-activation-options';
|
|
7
|
+
export * from './item-activation-options';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ElderActivationContext } from './activation/elder-activation-context';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ElderTableRowDirective<T> {
|
|
5
5
|
private readonly rowRef;
|
|
@@ -12,7 +12,7 @@ export declare class ElderTableRowDirective<T> {
|
|
|
12
12
|
private readonly logger;
|
|
13
13
|
private _activated;
|
|
14
14
|
private _model;
|
|
15
|
-
private
|
|
15
|
+
private readonly _activationDir$;
|
|
16
16
|
private readonly focused$;
|
|
17
17
|
/***************************************************************************
|
|
18
18
|
* *
|
|
@@ -27,6 +27,7 @@ export declare class ElderTableRowDirective<T> {
|
|
|
27
27
|
**************************************************************************/
|
|
28
28
|
onFocus(event: any): void;
|
|
29
29
|
onBlur(event: any): void;
|
|
30
|
+
onClick(): void;
|
|
30
31
|
/***************************************************************************
|
|
31
32
|
* *
|
|
32
33
|
* Host Bindings *
|
|
@@ -41,16 +42,15 @@ export declare class ElderTableRowDirective<T> {
|
|
|
41
42
|
**************************************************************************/
|
|
42
43
|
set model(model: T);
|
|
43
44
|
get model(): T;
|
|
44
|
-
get tableActivation(): ElderItemActivator<T>;
|
|
45
45
|
get hasFocus(): boolean;
|
|
46
46
|
/***************************************************************************
|
|
47
47
|
* *
|
|
48
48
|
* Public API *
|
|
49
49
|
* *
|
|
50
50
|
**************************************************************************/
|
|
51
|
-
bindTableActivation(
|
|
51
|
+
bindTableActivation(activationDir: ElderActivationContext<T>): void;
|
|
52
52
|
bringToView(): void;
|
|
53
|
-
|
|
53
|
+
focus(): void;
|
|
54
54
|
/***************************************************************************
|
|
55
55
|
* *
|
|
56
56
|
* Private methods *
|
|
@@ -30,19 +30,17 @@ import * as i28 from "../common/elder-data-common.module";
|
|
|
30
30
|
import * as i29 from "../../infinitescroll/elder-infinite-scroll.module";
|
|
31
31
|
import * as i30 from "../../forms/directives/elder-forms-directives.module";
|
|
32
32
|
import * as i31 from "@angular/material/card";
|
|
33
|
+
export * from './model/elder-table-model';
|
|
34
|
+
export * from './model/elder-table-model-provider';
|
|
35
|
+
export * from './model/elder-table-model-cdk-table-binding';
|
|
36
|
+
export * from './model/elder-table-model-query-group';
|
|
37
|
+
export * from './activation/public_api';
|
|
33
38
|
export * from './elder-number-cell.directive';
|
|
34
39
|
export * from './elder-table/elder-table.component';
|
|
35
40
|
export * from './elder-table-sort.directive';
|
|
36
41
|
export * from './elder-table/elder-table-toolbar.directive';
|
|
37
|
-
export * from './activation/elder-table-activation.directive';
|
|
38
|
-
export * from './activation/elder-delete-active.directive';
|
|
39
|
-
export * from './activation/elder-table-activation-options';
|
|
40
42
|
export * from './elder-table-extension.directive';
|
|
41
43
|
export * from './elder-table-root.directive';
|
|
42
|
-
export * from './model/elder-table-model';
|
|
43
|
-
export * from './model/elder-table-model-provider';
|
|
44
|
-
export * from './model/elder-table-model-cdk-table-binding';
|
|
45
|
-
export * from './model/elder-table-model-query-group';
|
|
46
44
|
export declare class ElderTableModule {
|
|
47
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElderTableModule, never>;
|
|
48
46
|
static ɵmod: i0.ɵɵNgModuleDeclaration<ElderTableModule, [typeof i1.ElderTableComponent, typeof i2.ElderTableToolbarDirective, typeof i3.ElderTableSortDirective, typeof i4.ElderNumberCellDirective, typeof i5.ElderTableActivationDirective, typeof i6.ElderTableRowDirective, typeof i7.ElderTableExtensionDirective, typeof i8.ElderTableColumnDirective, typeof i9.ElderTableRootDirective, typeof i10.ElderDeleteActiveDirective], [typeof i11.CommonModule, typeof i12.RouterModule, typeof i13.FormsModule, typeof i14.MatDividerModule, typeof i15.MatCheckboxModule, typeof i16.MatButtonModule, typeof i17.MatIconModule, typeof i18.MatBadgeModule, typeof i19.MatProgressBarModule, typeof i20.CdkTableModule, typeof i21.MatTableModule, typeof i22.MatPaginatorModule, typeof i23.MatSortModule, typeof i24.MatDialogModule, typeof i25.MatTooltipModule, typeof i26.MatMenuModule, typeof i27.TranslateModule, typeof i28.ElderDataCommonModule, typeof i29.ElderInfiniteScrollModule, typeof i30.ElderFormsDirectivesModule, typeof i31.MatCardModule], [typeof i1.ElderTableComponent, typeof i2.ElderTableToolbarDirective, typeof i28.ElderDataCommonModule, typeof i3.ElderTableSortDirective, typeof i4.ElderNumberCellDirective, typeof i5.ElderTableActivationDirective, typeof i7.ElderTableExtensionDirective, typeof i9.ElderTableRootDirective, typeof i10.ElderDeleteActiveDirective]>;
|
package/package.json
CHANGED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, merge, Subject } from 'rxjs';
|
|
3
|
-
import { LoggerFactory } from '@elderbyte/ts-logger';
|
|
4
|
-
import { takeUntil } from 'rxjs/operators';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class MasterDetailService {
|
|
7
|
-
/***************************************************************************
|
|
8
|
-
* *
|
|
9
|
-
* Constructor *
|
|
10
|
-
* *
|
|
11
|
-
**************************************************************************/
|
|
12
|
-
constructor() {
|
|
13
|
-
/***************************************************************************
|
|
14
|
-
* *
|
|
15
|
-
* Fields *
|
|
16
|
-
* *
|
|
17
|
-
**************************************************************************/
|
|
18
|
-
this.destroy$ = new Subject();
|
|
19
|
-
this.mode$ = new BehaviorSubject(null);
|
|
20
|
-
this.logger = LoggerFactory.getLogger(this.constructor.name);
|
|
21
|
-
this._itemActivationRequest$ = new Subject();
|
|
22
|
-
this._activeItem$ = new BehaviorSubject(null);
|
|
23
|
-
this._creatingItem$ = new BehaviorSubject(null);
|
|
24
|
-
this._activeOrCreating$ = new BehaviorSubject(null);
|
|
25
|
-
merge(this._creatingItem$, this._activeItem$)
|
|
26
|
-
.pipe(takeUntil(this.destroy$)).subscribe({
|
|
27
|
-
next: creatingOrActive => this._activeOrCreating$.next(creatingOrActive)
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
/***************************************************************************
|
|
31
|
-
* *
|
|
32
|
-
* Life Cycle *
|
|
33
|
-
* *
|
|
34
|
-
**************************************************************************/
|
|
35
|
-
ngOnDestroy() {
|
|
36
|
-
this.destroy$.next();
|
|
37
|
-
this.destroy$.complete();
|
|
38
|
-
}
|
|
39
|
-
/***************************************************************************
|
|
40
|
-
* *
|
|
41
|
-
* Properties *
|
|
42
|
-
* *
|
|
43
|
-
**************************************************************************/
|
|
44
|
-
get itemActivationRequested() {
|
|
45
|
-
return this._itemActivationRequest$.asObservable();
|
|
46
|
-
}
|
|
47
|
-
get activeOrCreatingItem$() {
|
|
48
|
-
return this._activeOrCreating$;
|
|
49
|
-
}
|
|
50
|
-
get activeItem$() {
|
|
51
|
-
return this._activeItem$;
|
|
52
|
-
}
|
|
53
|
-
onItemActivated(item) {
|
|
54
|
-
if (item !== this._activeItem$.getValue()) {
|
|
55
|
-
this._activeItem$.next(item);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
requestItemActivation(item) {
|
|
59
|
-
this._itemActivationRequest$.next(item);
|
|
60
|
-
}
|
|
61
|
-
activateCreatingItem(item) {
|
|
62
|
-
this._creatingItem$.next(item);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
MasterDetailService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: MasterDetailService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
66
|
-
MasterDetailService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: MasterDetailService });
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.0", ngImport: i0, type: MasterDetailService, decorators: [{
|
|
68
|
-
type: Injectable
|
|
69
|
-
}], ctorParameters: function () { return []; } });
|
|
70
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFzdGVyLWRldGFpbC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZWxkZXJieXRlL25neC1zdGFydGVyL3NyYy9saWIvY29tcG9uZW50cy9kYXRhLXZpZXcvbWFzdGVyLWRldGFpbC9tYXN0ZXItZ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hYmxlLCBJbnB1dCwgT25EZXN0cm95fSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7QmVoYXZpb3JTdWJqZWN0LCBtZXJnZSwgT2JzZXJ2YWJsZSwgU3ViamVjdH0gZnJvbSAncnhqcyc7XG5pbXBvcnQge0xvZ2dlckZhY3Rvcnl9IGZyb20gJ0BlbGRlcmJ5dGUvdHMtbG9nZ2VyJztcbmltcG9ydCB7dGFrZVVudGlsfSBmcm9tICdyeGpzL29wZXJhdG9ycyc7XG5pbXBvcnQge0VsZGVyTWFzdGVyRGV0YWlsTW9kZX0gZnJvbSAnLi9lbGRlci1tYXN0ZXItZGV0YWlsLW1vZGUnO1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgTWFzdGVyRGV0YWlsU2VydmljZTxUPiBpbXBsZW1lbnRzIE9uRGVzdHJveSB7XG5cbiAgLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqIEZpZWxkcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovXG5cbiAgcHJvdGVjdGVkIHJlYWRvbmx5IGRlc3Ryb3kkID0gbmV3IFN1YmplY3Q8dm9pZD4oKTtcblxuICBwdWJsaWMgcmVhZG9ubHkgbW9kZSQgPSBuZXcgQmVoYXZpb3JTdWJqZWN0PEVsZGVyTWFzdGVyRGV0YWlsTW9kZT4obnVsbCk7XG5cbiAgcHJpdmF0ZSByZWFkb25seSBsb2dnZXIgPSBMb2dnZXJGYWN0b3J5LmdldExvZ2dlcih0aGlzLmNvbnN0cnVjdG9yLm5hbWUpO1xuICBwcml2YXRlIHJlYWRvbmx5IF9pdGVtQWN0aXZhdGlvblJlcXVlc3QkID0gbmV3IFN1YmplY3Q8VD4oKTtcbiAgcHJpdmF0ZSByZWFkb25seSBfYWN0aXZlSXRlbSQgPSBuZXcgQmVoYXZpb3JTdWJqZWN0PFQ+KG51bGwpO1xuICBwcml2YXRlIHJlYWRvbmx5IF9jcmVhdGluZ0l0ZW0kID0gbmV3IEJlaGF2aW9yU3ViamVjdDxUPihudWxsKTtcbiAgcHJpdmF0ZSByZWFkb25seSBfYWN0aXZlT3JDcmVhdGluZyQgPSBuZXcgQmVoYXZpb3JTdWJqZWN0PFQ+KG51bGwpO1xuXG4gIC8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKiBDb25zdHJ1Y3RvciAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqL1xuXG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIG1lcmdlKHRoaXMuX2NyZWF0aW5nSXRlbSQsIHRoaXMuX2FjdGl2ZUl0ZW0kKVxuICAgIC5waXBlKFxuICAgICAgdGFrZVVudGlsKHRoaXMuZGVzdHJveSQpXG4gICAgKS5zdWJzY3JpYmUoe1xuICAgICAgbmV4dDogY3JlYXRpbmdPckFjdGl2ZSA9PiB0aGlzLl9hY3RpdmVPckNyZWF0aW5nJC5uZXh0KGNyZWF0aW5nT3JBY3RpdmUpXG4gICAgfSk7XG4gIH1cblxuICAvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogTGlmZSBDeWNsZSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi9cblxuICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy5kZXN0cm95JC5uZXh0KCk7XG4gICAgdGhpcy5kZXN0cm95JC5jb21wbGV0ZSgpO1xuICB9XG5cbiAgLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqIFByb3BlcnRpZXMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKioqKioqKioqKio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