@elderbyte/ngx-starter 14.10.0 → 14.11.1
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/.eslintrc.json +44 -0
- package/karma-ci.conf.js +46 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +15 -0
- package/ng-package.prod.json +14 -0
- package/package.json +8 -24
- package/src/lib/common/async/public_api.ts +3 -0
- package/src/lib/common/async/refreshing-entity.ts +128 -0
- package/src/lib/common/csv/csv-serializer.ts +82 -0
- package/src/lib/common/csv/csv-spec.ts +148 -0
- package/src/lib/common/csv/public_api.ts +3 -0
- package/src/lib/common/data/continuable-listing.ts +35 -0
- package/src/lib/common/data/data-context/data-context-active-page.ts +184 -0
- package/src/lib/common/data/data-context/data-context-auto-starter.ts +108 -0
- package/src/lib/common/data/data-context/data-context-base.ts +406 -0
- package/src/lib/common/data/data-context/data-context-builder.ts +354 -0
- package/src/lib/common/data/data-context/data-context-continuable-base.ts +100 -0
- package/src/lib/common/data/data-context/data-context-continuable-paged.ts +191 -0
- package/src/lib/common/data/data-context/data-context-continuable-token.ts +177 -0
- package/src/lib/common/data/data-context/data-context-life-cycle-binding.ts +59 -0
- package/src/lib/common/data/data-context/data-context-simple.ts +80 -0
- package/src/lib/common/data/data-context/data-context-source-auto-reloader.ts +21 -0
- package/src/lib/common/data/data-context/data-context-status.ts +56 -0
- package/src/lib/common/data/data-context/data-context.ts +204 -0
- package/src/lib/common/data/data-context/mat-table-data-context-binding.ts +209 -0
- package/src/lib/common/data/data-context/public_api.ts +19 -0
- package/src/lib/common/data/datasource/data-source-adapter.ts +96 -0
- package/src/lib/common/data/datasource/data-source-processor.ts +318 -0
- package/src/lib/common/data/datasource/data-source.ts +87 -0
- package/src/lib/common/data/datasource/entity-id-util.ts +11 -0
- package/src/lib/common/data/datasource/fetcher/delegate-data-source.ts +230 -0
- package/src/lib/common/data/datasource/local/local-list-data-source.ts +161 -0
- package/src/lib/common/data/datasource/local/local-paged-data-source.ts +129 -0
- package/src/lib/common/data/datasource/public_api.ts +14 -0
- package/src/lib/common/data/datasource/rest/public_api.ts +2 -0
- package/src/lib/common/data/datasource/rest/rest-client.ts +474 -0
- package/src/lib/common/data/entity-set-patch.ts +210 -0
- package/src/lib/common/data/field-comparator.ts +122 -0
- package/src/lib/common/data/filters/filter-context.spec.ts +150 -0
- package/src/lib/common/data/filters/filter-context.ts +163 -0
- package/src/lib/common/data/filters/filter.spec.ts +136 -0
- package/src/lib/common/data/filters/filter.ts +137 -0
- package/src/lib/common/data/http-params-builder.ts +138 -0
- package/src/lib/common/data/page.ts +92 -0
- package/src/lib/common/data/public_api.ts +12 -0
- package/src/lib/common/data/required-filter-evaluator.ts +122 -0
- package/src/lib/common/data/sort-context.ts +90 -0
- package/src/lib/common/data/sort.ts +16 -0
- package/src/lib/common/data/token-chunk-request.ts +10 -0
- package/src/lib/common/enums/elder-enum-translation.service.ts +116 -0
- package/src/lib/common/enums/public_api.ts +3 -0
- package/src/lib/common/errors/exception-detail.ts +6 -0
- package/{lib/common/errors/public_api.d.ts → src/lib/common/errors/public_api.ts} +0 -0
- package/src/lib/common/errors/standard-error-detail.ts +27 -0
- package/src/lib/common/format/bytes-format.ts +25 -0
- package/src/lib/common/format/bytes-per-second-format.ts +44 -0
- package/{lib/common/format/public_api.d.ts → src/lib/common/format/public_api.ts} +0 -0
- package/src/lib/common/forms/elder-entity-value-accessor.ts +70 -0
- package/src/lib/common/forms/elder-form-field-control-base.directive.ts +240 -0
- package/src/lib/common/forms/elder-from-field-base.ts +113 -0
- package/src/lib/common/forms/elder-from-field-entity-base.ts +63 -0
- package/src/lib/common/forms/elder-from-field-multi-entity-base.ts +86 -0
- package/src/lib/common/forms/elder-multi-entity-value-accessor.ts +84 -0
- package/src/lib/common/forms/form-field-base.component.ts +152 -0
- package/src/lib/common/forms/multi-model-base.component.ts +40 -0
- package/src/lib/common/forms/public_api.ts +12 -0
- package/src/lib/common/forms/template-composite-control.ts +158 -0
- package/src/lib/common/forms/value-accessor-base.ts +165 -0
- package/src/lib/common/forms/view-providers.ts +34 -0
- package/src/lib/common/http/http-client-builder.service.ts +55 -0
- package/src/lib/common/http/http-client-pristine.ts +15 -0
- package/src/lib/common/http/public_api.ts +5 -0
- package/src/lib/common/http/transfer/data-transfer-factory.ts +145 -0
- package/src/lib/common/http/transfer/data-transfer-progress-aggregate.ts +74 -0
- package/src/lib/common/http/transfer/data-transfer-progress.ts +18 -0
- package/src/lib/common/http/transfer/data-transfer-state.ts +129 -0
- package/src/lib/common/http/transfer/data-transfer-status.ts +28 -0
- package/src/lib/common/http/transfer/http-data-transfer.ts +276 -0
- package/src/lib/common/http/transfer/public_api.ts +9 -0
- package/src/lib/common/http/upload/file-upload-client.ts +74 -0
- package/src/lib/common/i18n/entity/impl/i18n-base.ts +9 -0
- package/src/lib/common/i18n/entity/impl/i18n-text.ts +25 -0
- package/src/lib/common/i18n/entity/language-tag.ts +19 -0
- package/src/lib/common/i18n/entity/locale.ts +20 -0
- package/src/lib/common/i18n/entity/localisation-picker.ts +51 -0
- package/src/lib/common/i18n/entity/localized.ts +11 -0
- package/src/lib/common/i18n/entity/public_api.ts +7 -0
- package/src/lib/common/i18n/public_api.ts +3 -0
- package/src/lib/common/json-map.ts +26 -0
- package/src/lib/common/objects.ts +46 -0
- package/src/lib/common/public_api.ts +20 -0
- package/src/lib/common/reactive-map.ts +113 -0
- package/{lib/common/selection/public_api.d.ts → src/lib/common/selection/public_api.ts} +0 -0
- package/src/lib/common/selection/selection-model.ts +274 -0
- package/src/lib/common/sets.ts +48 -0
- package/src/lib/common/suggestion-provider.ts +28 -0
- package/src/lib/common/templates/public_api.ts +1 -0
- package/src/lib/common/templates/template-slot-manager.ts +153 -0
- package/src/lib/common/time/date-util.ts +120 -0
- package/src/lib/common/time/interval.spec.ts +53 -0
- package/src/lib/common/time/interval.ts +539 -0
- package/src/lib/common/time/period-duration.ts +147 -0
- package/src/lib/common/time/public_api.ts +6 -0
- package/src/lib/common/time/time-util.ts +54 -0
- package/src/lib/common/url/elder-router.service.ts +55 -0
- package/src/lib/common/url/elder-url-fragment-params.service.ts +139 -0
- package/src/lib/common/url/public_api.ts +5 -0
- package/src/lib/common/url/url-query-params.ts +169 -0
- package/src/lib/common/utils/batcher.spec.ts +39 -0
- package/src/lib/common/utils/batcher.ts +55 -0
- package/src/lib/common/utils/collection-util.ts +125 -0
- package/src/lib/common/utils/filter-util.ts +67 -0
- package/src/lib/common/utils/next-number-util.ts +102 -0
- package/src/lib/common/utils/ng-zone-utils.ts +18 -0
- package/src/lib/common/utils/parse-util.ts +17 -0
- package/src/lib/common/utils/property-path-util.ts +29 -0
- package/{lib/common/utils/public_api.d.ts → src/lib/common/utils/public_api.ts} +0 -0
- package/src/lib/common/utils/query-list-binding.ts +105 -0
- package/src/lib/common/utils/sort-util.spec.ts +41 -0
- package/src/lib/common/utils/sort-util.ts +38 -0
- package/src/lib/common/utils/url-builder.spec.ts +83 -0
- package/src/lib/common/utils/url-builder.ts +363 -0
- package/src/lib/common/utils/uuid-util.ts +34 -0
- package/src/lib/common/utils/value-wrapper.ts +25 -0
- package/src/lib/components/access-denied/elder-access-denied.component.html +12 -0
- package/src/lib/components/access-denied/elder-access-denied.component.ts +16 -0
- package/src/lib/components/access-denied/elder-access-denied.module.ts +26 -0
- package/src/lib/components/auditing/audited-entity/elder-audited-entity.component.html +25 -0
- package/src/lib/components/auditing/audited-entity/elder-audited-entity.component.ts +42 -0
- package/src/lib/components/auditing/elder-audit.module.ts +32 -0
- package/src/lib/components/auditing/i-audited-entity.ts +17 -0
- package/src/lib/components/button-group/elder-button-group/elder-button-group.component.html +3 -0
- package/src/lib/components/button-group/elder-button-group/elder-button-group.component.ts +21 -0
- package/src/lib/components/button-group/elder-button-group.module.ts +25 -0
- package/src/lib/components/card-organizer/card-organizer/elder-card-organizer.component.html +28 -0
- package/src/lib/components/card-organizer/card-organizer/elder-card-organizer.component.ts +148 -0
- package/src/lib/components/card-organizer/card-organizer/elder-stack-card.directive.ts +9 -0
- package/src/lib/components/card-organizer/card-organizer-data.ts +124 -0
- package/src/lib/components/card-organizer/card-stack/elder-card-stack.component.html +72 -0
- package/src/lib/components/card-organizer/card-stack/elder-card-stack.component.ts +250 -0
- package/src/lib/components/card-organizer/card-stack.ts +231 -0
- package/src/lib/components/card-organizer/elder-card-organizer.module.ts +38 -0
- package/src/lib/components/cards/elder-card/elder-card-header/elder-card-header.component.css +5 -0
- package/src/lib/components/cards/elder-card/elder-card-header/elder-card-header.component.html +16 -0
- package/src/lib/components/cards/elder-card/elder-card-header/elder-card-header.component.ts +14 -0
- package/src/lib/components/cards/elder-card/elder-card.component.html +21 -0
- package/src/lib/components/cards/elder-card/elder-card.component.ts +141 -0
- package/src/lib/components/cards/elder-card/elder-card.module.ts +48 -0
- package/src/lib/components/connectivity/elder-connectivity.module.ts +38 -0
- package/src/lib/components/connectivity/elder-connectivity.service.ts +83 -0
- package/src/lib/components/connectivity/offline-indicator/elder-offline-indicator.component.html +11 -0
- package/src/lib/components/connectivity/offline-indicator/elder-offline-indicator.component.ts +51 -0
- package/src/lib/components/connectivity/public_api.ts +3 -0
- package/src/lib/components/containers/elder-containers.module.ts +20 -0
- package/src/lib/components/containers/elder-scroll-container/elder-scroll-container.component.html +13 -0
- package/src/lib/components/containers/elder-scroll-container/elder-scroll-container.component.ts +30 -0
- package/src/lib/components/containers/public_api.ts +3 -0
- package/src/lib/components/csv/elder-csv-export-btn/elder-csv-export-btn.component.html +5 -0
- package/src/lib/components/csv/elder-csv-export-btn/elder-csv-export-btn.component.ts +105 -0
- package/src/lib/components/csv/elder-csv-stream-exporter-builder.service.ts +56 -0
- package/src/lib/components/csv/elder-csv-stream-exporter-builder.ts +68 -0
- package/src/lib/components/csv/elder-csv-stream-exporter.ts +192 -0
- package/src/lib/components/csv/elder-csv.module.ts +27 -0
- package/src/lib/components/currency/elder-currency.module.ts +18 -0
- package/src/lib/components/currency/elder-currency.pipe.ts +44 -0
- package/src/lib/components/currency/elder-currency.service.ts +83 -0
- package/src/lib/components/currency/model/currency-code.ts +37 -0
- package/src/lib/components/currency/model/currency-unit-registry.ts +39 -0
- package/src/lib/components/currency/model/currency-unit.ts +18 -0
- package/src/lib/components/currency/model/currency.ts +22 -0
- package/src/lib/components/currency/public_api.ts +7 -0
- package/src/lib/components/data-transfer/elder-data-transfer.module.ts +53 -0
- package/src/lib/components/data-transfer/elder-data-transfer.service.ts +120 -0
- package/src/lib/components/data-transfer/http-data-transfer/http-data-transfer.component.html +47 -0
- package/src/lib/components/data-transfer/http-data-transfer/http-data-transfer.component.ts +82 -0
- package/src/lib/components/data-transfer/http-data-transfer-aggregate/http-data-transfer-aggregate.component.html +27 -0
- package/src/lib/components/data-transfer/http-data-transfer-aggregate/http-data-transfer-aggregate.component.ts +46 -0
- package/src/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.html +31 -0
- package/src/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.ts +61 -0
- package/src/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.html +24 -0
- package/src/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.ts +41 -0
- package/src/lib/components/data-view/base/data-view-options-provider-binding.ts +99 -0
- package/src/lib/components/data-view/base/elder-data-view-base.ts +322 -0
- package/src/lib/components/data-view/base/elder-data-view-options-provider.ts +55 -0
- package/src/lib/components/data-view/base/elder-data-view-options.ts +89 -0
- package/src/lib/components/data-view/base/elder-data-view.ts +14 -0
- package/src/lib/components/data-view/base/public_api.ts +5 -0
- package/src/lib/components/data-view/common/data-context-state-indicator/data-context-state-indicator.component.html +56 -0
- package/src/lib/components/data-view/common/data-context-state-indicator/data-context-state-indicator.component.ts +51 -0
- package/src/lib/components/data-view/common/elder-data-common.module.ts +63 -0
- package/src/lib/components/data-view/common/elder-data-toolbar/elder-data-toolbar.component.html +115 -0
- package/src/lib/components/data-view/common/elder-data-toolbar/elder-data-toolbar.component.ts +181 -0
- package/src/lib/components/data-view/common/elder-single-sort/elder-single-sort.component.html +25 -0
- package/src/lib/components/data-view/common/elder-single-sort/elder-single-sort.component.ts +99 -0
- package/src/lib/components/data-view/common/selection/data-context-selection.directive.ts +127 -0
- package/src/lib/components/data-view/common/selection/elder-selection-master-checkbox/elder-selection-master-checkbox.component.html +22 -0
- package/src/lib/components/data-view/common/selection/elder-selection-master-checkbox/elder-selection-master-checkbox.component.ts +53 -0
- package/src/lib/components/data-view/common/selection/master-selection-state.ts +10 -0
- package/src/lib/components/data-view/elder-data-view-interaction-mode.ts +26 -0
- package/src/lib/components/data-view/grid/elder-grid/elder-grid.component.html +160 -0
- package/src/lib/components/data-view/grid/elder-grid/elder-grid.component.ts +348 -0
- package/src/lib/components/data-view/grid/elder-grid.module.ts +57 -0
- package/src/lib/components/data-view/public_api.ts +5 -0
- package/src/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.component.css +0 -0
- package/src/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.component.html +3 -0
- package/src/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.component.ts +22 -0
- package/src/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.module.ts +51 -0
- package/src/lib/components/data-view/table/activation/elder-item-activator.ts +6 -0
- package/src/lib/components/data-view/table/activation/elder-table-activation-options.ts +19 -0
- package/src/lib/components/data-view/table/activation/elder-table-activation.directive.ts +308 -0
- package/src/lib/components/data-view/table/elder-number-cell.directive.ts +26 -0
- package/src/lib/components/data-view/table/elder-paginator-intl.ts +92 -0
- package/src/lib/components/data-view/table/elder-table/elder-table-toolbar.directive.ts +14 -0
- package/src/lib/components/data-view/table/elder-table/elder-table.component.html +103 -0
- package/src/lib/components/data-view/table/elder-table/elder-table.component.ts +388 -0
- package/src/lib/components/data-view/table/elder-table-column.directive.ts +29 -0
- package/src/lib/components/data-view/table/elder-table-extension.directive.ts +107 -0
- package/src/lib/components/data-view/table/elder-table-root.directive.ts +24 -0
- package/src/lib/components/data-view/table/elder-table-row.directive.ts +154 -0
- package/src/lib/components/data-view/table/elder-table-sort.directive.ts +16 -0
- package/src/lib/components/data-view/table/elder-table.module.ts +95 -0
- package/src/lib/components/data-view/table/model/elder-column-layout.ts +164 -0
- package/src/lib/components/data-view/table/model/elder-table-model-cdk-table-binding.ts +115 -0
- package/src/lib/components/data-view/table/model/elder-table-model-provider.ts +49 -0
- package/src/lib/components/data-view/table/model/elder-table-model-query-group.ts +153 -0
- package/src/lib/components/data-view/table/model/elder-table-model.ts +221 -0
- package/src/lib/components/dialogs/confirm-dialog/elder-confirm-dialog.component.html +23 -0
- package/src/lib/components/dialogs/confirm-dialog/elder-confirm-dialog.component.ts +34 -0
- package/src/lib/components/dialogs/elder-dialog-config.ts +21 -0
- package/src/lib/components/dialogs/elder-dialog.module.ts +65 -0
- package/src/lib/components/dialogs/elder-dialog.service.ts +198 -0
- package/src/lib/components/dialogs/question-dialog/elder-question-dialog.component.html +28 -0
- package/src/lib/components/dialogs/question-dialog/elder-question-dialog.component.ts +44 -0
- package/src/lib/components/dialogs/selection-dialog/elder-selection-dialog/elder-selection-dialog.component.html +31 -0
- package/src/lib/components/dialogs/selection-dialog/elder-selection-dialog/elder-selection-dialog.component.ts +55 -0
- package/src/lib/components/dialogs/selection-dialog/elder-selection-dialog.directive.ts +54 -0
- package/src/lib/components/errors/elder-error.module.ts +30 -0
- package/src/lib/components/errors/error-util.ts +107 -0
- package/src/lib/components/errors/exception-detail/elder-exception-detail.component.html +33 -0
- package/src/lib/components/errors/exception-detail/elder-exception-detail.component.ts +77 -0
- package/src/lib/components/expand-toggle-button/elder-expand-toggle-button.component.html +14 -0
- package/src/lib/components/expand-toggle-button/elder-expand-toggle-button.component.ts +57 -0
- package/src/lib/components/expand-toggle-button/elder-expand-toggle-button.module.ts +24 -0
- package/src/lib/components/files/blob-url.ts +13 -0
- package/src/lib/components/files/blob-viewer/elder-blob-viewer.component.html +62 -0
- package/src/lib/components/files/blob-viewer/elder-blob-viewer.component.ts +304 -0
- package/src/lib/components/files/elder-file-drop-zone.directive.ts +116 -0
- package/src/lib/components/files/elder-file-select.directive.ts +184 -0
- package/src/lib/components/files/elder-file.module.ts +50 -0
- package/src/lib/components/files/file-select/file-select.component.html +9 -0
- package/src/lib/components/files/file-select/file-select.component.ts +61 -0
- package/src/lib/components/files/file-upload/file-upload.component.html +36 -0
- package/src/lib/components/files/file-upload/file-upload.component.ts +81 -0
- package/src/lib/components/forms/clipboard/elder-clipboard.service.ts +57 -0
- package/src/lib/components/forms/directives/base/elder-class-hostbinding-base.ts +55 -0
- package/src/lib/components/forms/directives/elder-clipboard-put.directive.ts +44 -0
- package/src/lib/components/forms/directives/elder-delayed-focus.directive.ts +44 -0
- package/src/lib/components/forms/directives/elder-form-field-dense.directive.ts +31 -0
- package/src/lib/components/forms/directives/elder-form-field-label.directive.ts +92 -0
- package/src/lib/components/forms/directives/elder-form-field-no-hint.directive.ts +28 -0
- package/src/lib/components/forms/directives/elder-form-field-no-spinner.directive.ts +32 -0
- package/src/lib/components/forms/directives/elder-forms-directives.module.ts +115 -0
- package/src/lib/components/forms/directives/elder-input-pattern.directive.ts +76 -0
- package/src/lib/components/forms/directives/elder-key-event.directive.ts +126 -0
- package/src/lib/components/forms/directives/elder-max.directive.ts +38 -0
- package/src/lib/components/forms/directives/elder-min.directive.ts +38 -0
- package/src/lib/components/forms/directives/elder-next-focusable.directive.ts +101 -0
- package/src/lib/components/forms/directives/elder-plug-parent-form.directive.ts +28 -0
- package/src/lib/components/forms/directives/elder-stop-event-propagation.directive.ts +22 -0
- package/src/lib/components/forms/directives/elder-tab-focus-trap.directive.ts +188 -0
- package/src/lib/components/forms/directives/elder-touched.directive.ts +25 -0
- package/src/lib/components/forms/directives/elder-triple-state-checkbox.directive.ts +132 -0
- package/src/lib/components/forms/directives/validation/elder-multiple-of.validator.ts +59 -0
- package/src/lib/components/forms/directives/validation/elder-required-ignore-zero.validator.ts +80 -0
- package/src/lib/components/forms/elder-forms.module.ts +17 -0
- package/src/lib/components/forms/public_api.ts +3 -0
- package/src/lib/components/forms/search/elder-search-context.directive.ts +181 -0
- package/src/lib/components/forms/search/elder-search-input.directive.ts +244 -0
- package/src/lib/components/forms/search/elder-search.module.ts +49 -0
- package/src/lib/components/forms/search/model/search-input-state.ts +95 -0
- package/src/lib/components/forms/search/model/search-input.ts +30 -0
- package/src/lib/components/forms/search/model/simple-search-input.ts +69 -0
- package/src/lib/components/forms/search/search-box/elder-search-box.component.html +66 -0
- package/src/lib/components/forms/search/search-box/elder-search-box.component.ts +149 -0
- package/src/lib/components/forms/search/search-box/elder-search-panel.component.ts +10 -0
- package/src/lib/components/global-search/elder-global-search.component.html +54 -0
- package/src/lib/components/global-search/elder-global-search.component.ts +158 -0
- package/src/lib/components/global-search/elder-global-search.module.ts +28 -0
- package/src/lib/components/global-search/elder-global-search.service.ts +118 -0
- package/src/lib/components/graph/elder-progress-bar/elder-progress-bar.component.html +19 -0
- package/src/lib/components/graph/elder-progress-bar/elder-progress-bar.component.ts +112 -0
- package/src/lib/components/graph/elder-progress-bar/elder-progress-bar.module.ts +22 -0
- package/src/lib/components/graph/elder-progress-bar/sub-bar.ts +6 -0
- package/{lib/components/graph/public_api.d.ts → src/lib/components/graph/public_api.ts} +0 -0
- package/src/lib/components/headers/elder-header/elder-header.component.css +0 -0
- package/src/lib/components/headers/elder-header/elder-header.component.html +5 -0
- package/src/lib/components/headers/elder-header/elder-header.component.ts +38 -0
- package/src/lib/components/headers/elder-header.module.ts +29 -0
- package/src/lib/components/http-support/elder-http-client.service.ts +82 -0
- package/src/lib/components/http-support/public_api.ts +3 -0
- package/src/lib/components/i18n/entities/elder-i18n-entities.module.ts +76 -0
- package/src/lib/components/i18n/entities/elder-localized-input/elder-localized-input.component.html +41 -0
- package/src/lib/components/i18n/entities/elder-localized-input/elder-localized-input.component.ts +176 -0
- package/src/lib/components/i18n/entities/elder-localized-input-dialog/elder-localized-input-dialog.component.html +36 -0
- package/src/lib/components/i18n/entities/elder-localized-input-dialog/elder-localized-input-dialog.component.ts +33 -0
- package/src/lib/components/i18n/entities/elder-localized-input-dialog.service.ts +35 -0
- package/src/lib/components/i18n/entities/elder-localized-input-table/elder-localized-input-table.component.html +56 -0
- package/src/lib/components/i18n/entities/elder-localized-input-table/elder-localized-input-table.component.ts +200 -0
- package/src/lib/components/i18n/entities/elder-localized-text-column.directive.ts +34 -0
- package/src/lib/components/i18n/entities/elder-localized-texts.directive.ts +62 -0
- package/src/lib/components/i18n/entities/picker/i18n-pick-async.pipe.ts +49 -0
- package/src/lib/components/i18n/entities/picker/i18n-pick.pipe.ts +36 -0
- package/src/lib/components/i18n/entities/picker/localisation-picker.service.ts +104 -0
- package/src/lib/components/i18n/language/elder-language-config.ts +18 -0
- package/src/lib/components/i18n/language/elder-language-interceptor.ts +94 -0
- package/src/lib/components/i18n/language/elder-language.module.ts +60 -0
- package/src/lib/components/i18n/language/elder-language.service.ts +139 -0
- package/src/lib/components/i18n/language/language-switcher/elder-language-switcher.component.html +24 -0
- package/src/lib/components/i18n/language/language-switcher/elder-language-switcher.component.ts +71 -0
- package/src/lib/components/i18n/locales/elder-locales-de-ch.module.ts +46 -0
- package/{lib/components/i18n/public_api.d.ts → src/lib/components/i18n/public_api.ts} +0 -0
- package/src/lib/components/iframes/data-view/data-view-iframe/data-view-iframe.component.html +8 -0
- package/src/lib/components/iframes/data-view/data-view-iframe/data-view-iframe.component.ts +173 -0
- package/src/lib/components/iframes/data-view/data-view-iframe-adapter.directive.ts +150 -0
- package/src/lib/components/iframes/elder-iframe.module.ts +63 -0
- package/src/lib/components/iframes/iframe-close.directive.ts +49 -0
- package/src/lib/components/iframes/iframe-dialog/iframe-dialog.component.html +11 -0
- package/src/lib/components/iframes/iframe-dialog/iframe-dialog.component.ts +63 -0
- package/src/lib/components/iframes/iframe-host/iframe-host.component.html +43 -0
- package/src/lib/components/iframes/iframe-host/iframe-host.component.ts +172 -0
- package/src/lib/components/iframes/iframe-side-content/iframe-side-content.component.html +14 -0
- package/src/lib/components/iframes/iframe-side-content/iframe-side-content.component.ts +102 -0
- package/src/lib/components/iframes/iframe.service.ts +59 -0
- package/src/lib/components/iframes/typed-event-message.ts +66 -0
- package/src/lib/components/infinitescroll/elder-infinite-autocomplete.directive.ts +79 -0
- package/src/lib/components/infinitescroll/elder-infinite-scroll.directive.ts +187 -0
- package/src/lib/components/infinitescroll/elder-infinite-scroll.module.ts +32 -0
- package/src/lib/components/input/autocomplete/elder-autocomplete/elder-autocomplete-option-selected.ts +11 -0
- package/src/lib/components/input/autocomplete/elder-autocomplete/elder-autocomplete.component.html +66 -0
- package/src/lib/components/input/autocomplete/elder-autocomplete/elder-autocomplete.component.ts +233 -0
- package/src/lib/components/input/autocomplete/elder-autocomplete-many.directive.ts +244 -0
- package/src/lib/components/input/autocomplete/elder-autocomplete.directive.ts +145 -0
- package/src/lib/components/input/autocomplete/elder-autocomplete.module.ts +41 -0
- package/src/lib/components/input/autocomplete/many/word-position-finder.spec.ts +74 -0
- package/src/lib/components/input/autocomplete/many/word-position-finder.ts +76 -0
- package/src/lib/components/input/public_api.ts +3 -0
- package/src/lib/components/labels/elder-labels.module.ts +22 -0
- package/src/lib/components/labels/labels-input/labels-input.component.html +44 -0
- package/src/lib/components/labels/labels-input/labels-input.component.ts +255 -0
- package/src/lib/components/measures/dimensions-input/elder-dimensions-input.component.html +71 -0
- package/src/lib/components/measures/dimensions-input/elder-dimensions-input.component.ts +307 -0
- package/src/lib/components/measures/directives/elder-unit-select.directive.ts +70 -0
- package/src/lib/components/measures/elder-measures.module.ts +78 -0
- package/src/lib/components/measures/elder-quantity-transform.pipe.ts +46 -0
- package/src/lib/components/measures/elder-quantity.pipe.ts +102 -0
- package/src/lib/components/measures/elder-unit.service.ts +135 -0
- package/src/lib/components/measures/model/dimensions.ts +40 -0
- package/src/lib/components/measures/model/quantity.ts +19 -0
- package/src/lib/components/measures/model/unit-dimension.ts +16 -0
- package/src/lib/components/measures/model/unit-registry.ts +110 -0
- package/src/lib/components/measures/model/unit.ts +192 -0
- package/src/lib/components/measures/public_api.ts +9 -0
- package/src/lib/components/measures/quantity-input/elder-quantity-input.component.html +64 -0
- package/src/lib/components/measures/quantity-input/elder-quantity-input.component.ts +221 -0
- package/src/lib/components/measures/util/elder-quantity.service.ts +313 -0
- package/src/lib/components/navigation/bread-crumbs/bread-crumbs/elder-bread-crumbs.component.html +89 -0
- package/src/lib/components/navigation/bread-crumbs/bread-crumbs/elder-bread-crumbs.component.ts +221 -0
- package/src/lib/components/navigation/bread-crumbs/elder-bread-crumbs.module.ts +38 -0
- package/src/lib/components/navigation/bread-crumbs/path/path.ts +49 -0
- package/src/lib/components/navigation/nav/elder-nav.module.ts +36 -0
- package/src/lib/components/navigation/nav/nav-group/elder-nav-group.component.html +34 -0
- package/src/lib/components/navigation/nav/nav-group/elder-nav-group.component.ts +94 -0
- package/src/lib/components/navigation/nav/nav-link/elder-nav-link.component.html +89 -0
- package/src/lib/components/navigation/nav/nav-link/elder-nav-link.component.ts +78 -0
- package/src/lib/components/navigation/nav/nav-list/elder-nav-list.component.html +5 -0
- package/src/lib/components/navigation/nav/nav-list/elder-nav-list.component.ts +16 -0
- package/{lib/components/navigation/public_api.d.ts → src/lib/components/navigation/public_api.ts} +0 -0
- package/src/lib/components/navigation/toolbar/elder-toolbar-column.directive.ts +53 -0
- package/src/lib/components/navigation/toolbar/elder-toolbar.module.ts +52 -0
- package/src/lib/components/navigation/toolbar/elder-toolbar.service.ts +77 -0
- package/src/lib/components/navigation/toolbar/toolbar/elder-toolbar.component.html +50 -0
- package/src/lib/components/navigation/toolbar/toolbar/elder-toolbar.component.ts +78 -0
- package/src/lib/components/navigation/toolbar/toolbar-column-position.ts +20 -0
- package/src/lib/components/navigation/toolbar/toolbar-title/elder-toolbar-title.component.html +1 -0
- package/src/lib/components/navigation/toolbar/toolbar-title/elder-toolbar-title.component.ts +54 -0
- package/src/lib/components/navigation/toolbar/toolbar-title/elder-toolbar-title.service.ts +107 -0
- package/src/lib/components/overlays/elder-overlay-origin.directive.ts +45 -0
- package/src/lib/components/overlays/elder-overlay-trigger.directive.ts +71 -0
- package/src/lib/components/overlays/elder-overlay.component.ts +262 -0
- package/src/lib/components/overlays/elder-overlay.module.ts +29 -0
- package/src/lib/components/panels/card-panel/elder-card-panel.component.html +4 -0
- package/src/lib/components/panels/card-panel/elder-card-panel.component.ts +11 -0
- package/src/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.html +4 -0
- package/src/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.ts +11 -0
- package/src/lib/components/panels/elder-panel.module.ts +31 -0
- package/src/lib/components/panels/flat/elder-panel.component.html +2 -0
- package/src/lib/components/panels/flat/elder-panel.component.ts +30 -0
- package/{lib/components/public_api.d.ts → src/lib/components/public_api.ts} +0 -0
- package/src/lib/components/select/auto/elder-auto-select-first.directive.ts +87 -0
- package/src/lib/components/select/auto/elder-select-first-util.ts +98 -0
- package/src/lib/components/select/elder-select-base.ts +355 -0
- package/src/lib/components/select/elder-select-chip.directive.ts +32 -0
- package/src/lib/components/select/elder-select-on-tab.directive.ts +150 -0
- package/src/lib/components/select/elder-select-value.directive.ts +9 -0
- package/src/lib/components/select/elder-select.module.ts +94 -0
- package/src/lib/components/select/multi/elder-multi-select-base.ts +451 -0
- package/src/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.html +89 -0
- package/src/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.ts +316 -0
- package/src/lib/components/select/multi/elder-multi-select-form-field.ts +80 -0
- package/src/lib/components/select/popup/selection-model-popup-trigger-adapter.directive.ts +102 -0
- package/src/lib/components/select/popup/selection-model-popup.directive.ts +145 -0
- package/src/lib/components/select/popup/templated-selection-dialog/templated-selection-dialog.component.html +18 -0
- package/src/lib/components/select/popup/templated-selection-dialog/templated-selection-dialog.component.ts +56 -0
- package/src/lib/components/select/public_api.ts +5 -0
- package/src/lib/components/select/single/elder-clear-select.directive.ts +64 -0
- package/src/lib/components/select/single/elder-select/elder-select.component.html +91 -0
- package/src/lib/components/select/single/elder-select/elder-select.component.ts +530 -0
- package/src/lib/components/select/single/elder-select-form-field.ts +57 -0
- package/src/lib/components/select-chip-list/chip-list-select/elder-chip-list-select.component.html +13 -0
- package/src/lib/components/select-chip-list/chip-list-select/elder-chip-list-select.component.ts +169 -0
- package/src/lib/components/select-chip-list/elder-chip-list-select.module.ts +31 -0
- package/src/lib/components/select-list/elder-select-list.module.ts +27 -0
- package/src/lib/components/select-list/select-list/elder-select-list.component.html +5 -0
- package/src/lib/components/select-list/select-list/elder-select-list.component.ts +91 -0
- package/src/lib/components/select-list/select-list-item/elder-select-list-item.component.html +32 -0
- package/src/lib/components/select-list/select-list-item/elder-select-list-item.component.ts +135 -0
- package/src/lib/components/shell/drawers/drawer-outlet-binding.ts +73 -0
- package/src/lib/components/shell/drawers/elder-route-outlet-drawer.service.ts +137 -0
- package/src/lib/components/shell/drawers/elder-router-outlet.service.ts +145 -0
- package/src/lib/components/shell/elder-shell-slot.directive.ts +61 -0
- package/src/lib/components/shell/elder-shell.module.ts +69 -0
- package/src/lib/components/shell/elder-shell.service.ts +176 -0
- package/src/lib/components/shell/header/elder-app-header/elder-app-header.component.html +25 -0
- package/src/lib/components/shell/header/elder-app-header/elder-app-header.component.ts +89 -0
- package/src/lib/components/shell/shell/elder-shell.component.html +86 -0
- package/src/lib/components/shell/shell/elder-shell.component.ts +243 -0
- package/src/lib/components/shell/shell-content-slot.ts +8 -0
- package/src/lib/components/shell/shell-navigation-toggle/elder-shell-navigation-toggle.component.html +4 -0
- package/src/lib/components/shell/shell-navigation-toggle/elder-shell-navigation-toggle.component.ts +153 -0
- package/src/lib/components/tabs/elder-tab/elder-tab.directive.ts +31 -0
- package/src/lib/components/tabs/elder-tab-group-routing/elder-tab-group-routing.directive.ts +320 -0
- package/src/lib/components/tabs/elder-tab.module.ts +27 -0
- package/src/lib/components/theme/elder-theme-applier.directive.ts +73 -0
- package/src/lib/components/theme/elder-theme-preference.service.ts +79 -0
- package/src/lib/components/theme/elder-theme-toggle/elder-theme-toggle.component.html +9 -0
- package/src/lib/components/theme/elder-theme-toggle/elder-theme-toggle.component.ts +86 -0
- package/src/lib/components/theme/elder-theme.directive.ts +65 -0
- package/src/lib/components/theme/elder-theme.module.ts +52 -0
- package/src/lib/components/theme/elder-theme.service.ts +151 -0
- package/src/lib/components/theme/known-elder-themes.ts +17 -0
- package/{lib/components/theme/public_api.d.ts → src/lib/components/theme/public_api.ts} +0 -0
- package/src/lib/components/theme/theme-spec.ts +32 -0
- package/src/lib/components/time/date-adapters/custom-date-adapter.ts +34 -0
- package/src/lib/components/time/duration/duration-bucket.ts +143 -0
- package/src/lib/components/time/duration/duration-format.ts +346 -0
- package/src/lib/components/time/duration/elder-duration-input/elder-duration-input.component.html +51 -0
- package/src/lib/components/time/duration/elder-duration-input/elder-duration-input.component.ts +132 -0
- package/src/lib/components/time/duration/iso-duration-str.ts +5 -0
- package/src/lib/components/time/elder-date-switcher/elder-date-switcher.component.html +29 -0
- package/src/lib/components/time/elder-date-switcher/elder-date-switcher.component.ts +120 -0
- package/src/lib/components/time/elder-date-time-input/elder-date-time-input.component.html +16 -0
- package/src/lib/components/time/elder-date-time-input/elder-date-time-input.component.ts +93 -0
- package/src/lib/components/time/elder-interval-input/elder-interval-input.component.html +92 -0
- package/src/lib/components/time/elder-interval-input/elder-interval-input.component.ts +222 -0
- package/src/lib/components/time/elder-local-date-input/elder-local-date-input.component.html +41 -0
- package/src/lib/components/time/elder-local-date-input/elder-local-date-input.component.ts +213 -0
- package/src/lib/components/time/elder-local-time-input/elder-local-time-input.component.html +19 -0
- package/src/lib/components/time/elder-local-time-input/elder-local-time-input.component.ts +98 -0
- package/src/lib/components/time/elder-time.module.ts +95 -0
- package/src/lib/components/time/period/elder-period-input/elder-period-input.component.html +40 -0
- package/src/lib/components/time/period/elder-period-input/elder-period-input.component.ts +148 -0
- package/src/lib/components/time/period/period-bucket.ts +51 -0
- package/src/lib/components/time/period/period-format.ts +127 -0
- package/src/lib/components/time/public_api.ts +8 -0
- package/src/lib/components/toasts/elder-toast.module.ts +22 -0
- package/src/lib/components/toasts/elder-toast.service.ts +244 -0
- package/src/lib/components/toasts/standard-toast/standard-toast.component.html +34 -0
- package/src/lib/components/toasts/standard-toast/standard-toast.component.ts +80 -0
- package/src/lib/components/toasts/toast-type.ts +5 -0
- package/src/lib/components/toasts/toast.ts +12 -0
- package/src/lib/components/url-fragment/elder-url-fragment.module.ts +36 -0
- package/src/lib/components/url-fragment/elder-url-fragment.ts +10 -0
- package/src/lib/components/url-fragment/url-fragment-switcher/elder-url-fragment-switcher.component.html +25 -0
- package/src/lib/components/url-fragment/url-fragment-switcher/elder-url-fragment-switcher.component.ts +107 -0
- package/src/lib/components/viewers/elder-svg-viewer/elder-svg-viewer.component.html +1 -0
- package/src/lib/components/viewers/elder-svg-viewer/elder-svg-viewer.component.ts +81 -0
- package/src/lib/components/viewers/elder-viewers.module.ts +18 -0
- package/src/lib/features/event-source/elder-event-source.service.ts +71 -0
- package/src/lib/features/event-source/public_api.ts +3 -0
- package/src/lib/features/event-source/reactive-event-source.ts +252 -0
- package/src/lib/features/kafent/access-token-provider.ts +21 -0
- package/src/lib/features/kafent/kafent-config.ts +42 -0
- package/src/lib/features/kafent/kafent-event-stream.ts +48 -0
- package/src/lib/features/kafent/kafent-event.service.ts +128 -0
- package/src/lib/features/kafent/kafent-event.ts +14 -0
- package/src/lib/features/kafent/kafent-live-event-request.ts +75 -0
- package/src/lib/features/kafent/kafent.module.ts +61 -0
- package/src/lib/features/kafent/sse/kafent-event-stream-sse.service.ts +167 -0
- package/src/lib/features/kafent/sse/kafent-topic-sse.ts +145 -0
- package/src/lib/features/public_api.ts +4 -0
- package/src/lib/i18n/elder-composite-translation-loader.ts +14 -0
- package/src/lib/i18n/elder-starter-translation-loader.ts +20 -0
- package/src/lib/pipes/bytes.pipe.ts +18 -0
- package/src/lib/pipes/elder-pipes.module.ts +51 -0
- package/src/lib/pipes/elder-repeat.pipe.ts +16 -0
- package/src/lib/pipes/elder-round.pipe.ts +37 -0
- package/src/lib/pipes/elder-safe-url.pipe.ts +12 -0
- package/src/lib/pipes/elder-truncate.pipe.ts +45 -0
- package/src/lib/pipes/iso-duration.pipe.ts +64 -0
- package/src/lib/pipes/iso-interval-parse.pipe.ts +61 -0
- package/src/lib/pipes/iso-interval.pipe.ts +146 -0
- package/src/lib/pipes/public_api.ts +3 -0
- package/src/lib/pipes/time-ago.pipe.ts +88 -0
- package/src/lib/pipes/time-duration.pipe.ts +81 -0
- package/src/lib/pipes/weight.pipe.ts +45 -0
- package/src/public_api.ts +8 -0
- package/src/test.ts +28 -0
- package/tsconfig.lib.json +33 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2020/elderbyte-ngx-starter.mjs +0 -5
- package/esm2020/lib/common/async/public_api.mjs +0 -2
- package/esm2020/lib/common/async/refreshing-entity.mjs +0 -86
- package/esm2020/lib/common/csv/csv-serializer.mjs +0 -55
- package/esm2020/lib/common/csv/csv-spec.mjs +0 -99
- package/esm2020/lib/common/csv/public_api.mjs +0 -3
- package/esm2020/lib/common/data/continuable-listing.mjs +0 -10
- package/esm2020/lib/common/data/data-context/data-context-active-page.mjs +0 -130
- package/esm2020/lib/common/data/data-context/data-context-auto-starter.mjs +0 -74
- package/esm2020/lib/common/data/data-context/data-context-base.mjs +0 -283
- package/esm2020/lib/common/data/data-context/data-context-builder.mjs +0 -246
- package/esm2020/lib/common/data/data-context/data-context-continuable-base.mjs +0 -69
- package/esm2020/lib/common/data/data-context/data-context-continuable-paged.mjs +0 -143
- package/esm2020/lib/common/data/data-context/data-context-continuable-token.mjs +0 -136
- package/esm2020/lib/common/data/data-context/data-context-life-cycle-binding.mjs +0 -30
- package/esm2020/lib/common/data/data-context/data-context-simple.mjs +0 -59
- package/esm2020/lib/common/data/data-context/data-context-source-auto-reloader.mjs +0 -12
- package/esm2020/lib/common/data/data-context/data-context-status.mjs +0 -46
- package/esm2020/lib/common/data/data-context/data-context.mjs +0 -30
- package/esm2020/lib/common/data/data-context/mat-table-data-context-binding.mjs +0 -139
- package/esm2020/lib/common/data/data-context/public_api.mjs +0 -14
- package/esm2020/lib/common/data/datasource/data-source-adapter.mjs +0 -55
- package/esm2020/lib/common/data/datasource/data-source-processor.mjs +0 -199
- package/esm2020/lib/common/data/datasource/data-source.mjs +0 -23
- package/esm2020/lib/common/data/datasource/entity-id-util.mjs +0 -11
- package/esm2020/lib/common/data/datasource/fetcher/delegate-data-source.mjs +0 -127
- package/esm2020/lib/common/data/datasource/local/local-list-data-source.mjs +0 -102
- package/esm2020/lib/common/data/datasource/local/local-paged-data-source.mjs +0 -73
- package/esm2020/lib/common/data/datasource/public_api.mjs +0 -8
- package/esm2020/lib/common/data/datasource/rest/public_api.mjs +0 -2
- package/esm2020/lib/common/data/datasource/rest/rest-client.mjs +0 -294
- package/esm2020/lib/common/data/entity-set-patch.mjs +0 -164
- package/esm2020/lib/common/data/field-comparator.mjs +0 -99
- package/esm2020/lib/common/data/filters/filter-context.mjs +0 -141
- package/esm2020/lib/common/data/filters/filter.mjs +0 -109
- package/esm2020/lib/common/data/http-params-builder.mjs +0 -110
- package/esm2020/lib/common/data/page.mjs +0 -58
- package/esm2020/lib/common/data/public_api.mjs +0 -12
- package/esm2020/lib/common/data/required-filter-evaluator.mjs +0 -70
- package/esm2020/lib/common/data/sort-context.mjs +0 -75
- package/esm2020/lib/common/data/sort.mjs +0 -11
- package/esm2020/lib/common/data/token-chunk-request.mjs +0 -8
- package/esm2020/lib/common/enums/elder-enum-translation.service.mjs +0 -81
- package/esm2020/lib/common/enums/public_api.mjs +0 -2
- package/esm2020/lib/common/errors/exception-detail.mjs +0 -2
- package/esm2020/lib/common/errors/public_api.mjs +0 -3
- package/esm2020/lib/common/errors/standard-error-detail.mjs +0 -2
- package/esm2020/lib/common/format/bytes-format.mjs +0 -22
- package/esm2020/lib/common/format/bytes-per-second-format.mjs +0 -41
- package/esm2020/lib/common/format/public_api.mjs +0 -3
- package/esm2020/lib/common/forms/elder-entity-value-accessor.mjs +0 -22
- package/esm2020/lib/common/forms/elder-form-field-control-base.directive.mjs +0 -178
- package/esm2020/lib/common/forms/elder-from-field-base.mjs +0 -94
- package/esm2020/lib/common/forms/elder-from-field-entity-base.mjs +0 -39
- package/esm2020/lib/common/forms/elder-from-field-multi-entity-base.mjs +0 -47
- package/esm2020/lib/common/forms/elder-multi-entity-value-accessor.mjs +0 -22
- package/esm2020/lib/common/forms/form-field-base.component.mjs +0 -106
- package/esm2020/lib/common/forms/multi-model-base.component.mjs +0 -32
- package/esm2020/lib/common/forms/public_api.mjs +0 -12
- package/esm2020/lib/common/forms/template-composite-control.mjs +0 -133
- package/esm2020/lib/common/forms/value-accessor-base.mjs +0 -146
- package/esm2020/lib/common/forms/view-providers.mjs +0 -30
- package/esm2020/lib/common/http/http-client-builder.service.mjs +0 -14
- package/esm2020/lib/common/http/http-client-pristine.mjs +0 -21
- package/esm2020/lib/common/http/public_api.mjs +0 -5
- package/esm2020/lib/common/http/transfer/data-transfer-factory.mjs +0 -95
- package/esm2020/lib/common/http/transfer/data-transfer-progress-aggregate.mjs +0 -49
- package/esm2020/lib/common/http/transfer/data-transfer-progress.mjs +0 -17
- package/esm2020/lib/common/http/transfer/data-transfer-state.mjs +0 -82
- package/esm2020/lib/common/http/transfer/data-transfer-status.mjs +0 -24
- package/esm2020/lib/common/http/transfer/http-data-transfer.mjs +0 -180
- package/esm2020/lib/common/http/transfer/public_api.mjs +0 -7
- package/esm2020/lib/common/http/upload/file-upload-client.mjs +0 -42
- package/esm2020/lib/common/i18n/entity/impl/i18n-base.mjs +0 -6
- package/esm2020/lib/common/i18n/entity/impl/i18n-text.mjs +0 -16
- package/esm2020/lib/common/i18n/entity/language-tag.mjs +0 -12
- package/esm2020/lib/common/i18n/entity/locale.mjs +0 -12
- package/esm2020/lib/common/i18n/entity/localisation-picker.mjs +0 -30
- package/esm2020/lib/common/i18n/entity/localized.mjs +0 -2
- package/esm2020/lib/common/i18n/entity/public_api.mjs +0 -6
- package/esm2020/lib/common/i18n/public_api.mjs +0 -2
- package/esm2020/lib/common/json-map.mjs +0 -18
- package/esm2020/lib/common/objects.mjs +0 -41
- package/esm2020/lib/common/public_api.mjs +0 -19
- package/esm2020/lib/common/reactive-map.mjs +0 -69
- package/esm2020/lib/common/selection/public_api.mjs +0 -2
- package/esm2020/lib/common/selection/selection-model.mjs +0 -212
- package/esm2020/lib/common/sets.mjs +0 -44
- package/esm2020/lib/common/suggestion-provider.mjs +0 -12
- package/esm2020/lib/common/templates/template-slot-manager.mjs +0 -135
- package/esm2020/lib/common/time/date-util.mjs +0 -93
- package/esm2020/lib/common/time/interval.mjs +0 -419
- package/esm2020/lib/common/time/period-duration.mjs +0 -130
- package/esm2020/lib/common/time/public_api.mjs +0 -5
- package/esm2020/lib/common/time/time-util.mjs +0 -41
- package/esm2020/lib/common/url/elder-router.service.mjs +0 -54
- package/esm2020/lib/common/url/elder-url-fragment-params.service.mjs +0 -119
- package/esm2020/lib/common/url/public_api.mjs +0 -4
- package/esm2020/lib/common/url/url-query-params.mjs +0 -133
- package/esm2020/lib/common/utils/batcher.mjs +0 -35
- package/esm2020/lib/common/utils/collection-util.mjs +0 -109
- package/esm2020/lib/common/utils/filter-util.mjs +0 -52
- package/esm2020/lib/common/utils/next-number-util.mjs +0 -88
- package/esm2020/lib/common/utils/ng-zone-utils.mjs +0 -16
- package/esm2020/lib/common/utils/parse-util.mjs +0 -16
- package/esm2020/lib/common/utils/property-path-util.mjs +0 -28
- package/esm2020/lib/common/utils/public_api.mjs +0 -12
- package/esm2020/lib/common/utils/query-list-binding.mjs +0 -67
- package/esm2020/lib/common/utils/sort-util.mjs +0 -30
- package/esm2020/lib/common/utils/url-builder.mjs +0 -275
- package/esm2020/lib/common/utils/uuid-util.mjs +0 -29
- package/esm2020/lib/common/utils/value-wrapper.mjs +0 -19
- package/esm2020/lib/components/access-denied/elder-access-denied.component.mjs +0 -17
- package/esm2020/lib/components/access-denied/elder-access-denied.module.mjs +0 -34
- package/esm2020/lib/components/auditing/audited-entity/elder-audited-entity.component.mjs +0 -43
- package/esm2020/lib/components/auditing/elder-audit.module.mjs +0 -46
- package/esm2020/lib/components/auditing/i-audited-entity.mjs +0 -3
- package/esm2020/lib/components/button-group/elder-button-group/elder-button-group.component.mjs +0 -16
- package/esm2020/lib/components/button-group/elder-button-group.module.mjs +0 -39
- package/esm2020/lib/components/card-organizer/card-organizer/elder-card-organizer.component.mjs +0 -124
- package/esm2020/lib/components/card-organizer/card-organizer/elder-stack-card.directive.mjs +0 -15
- package/esm2020/lib/components/card-organizer/card-organizer-data.mjs +0 -93
- package/esm2020/lib/components/card-organizer/card-stack/elder-card-stack.component.mjs +0 -206
- package/esm2020/lib/components/card-organizer/card-stack.mjs +0 -176
- package/esm2020/lib/components/card-organizer/elder-card-organizer.module.mjs +0 -50
- package/esm2020/lib/components/cards/elder-card/elder-card-header/elder-card-header.component.mjs +0 -19
- package/esm2020/lib/components/cards/elder-card/elder-card.component.mjs +0 -158
- package/esm2020/lib/components/cards/elder-card/elder-card.module.mjs +0 -66
- package/esm2020/lib/components/connectivity/elder-connectivity.module.mjs +0 -57
- package/esm2020/lib/components/connectivity/elder-connectivity.service.mjs +0 -63
- package/esm2020/lib/components/connectivity/offline-indicator/elder-offline-indicator.component.mjs +0 -46
- package/esm2020/lib/components/connectivity/public_api.mjs +0 -3
- package/esm2020/lib/components/containers/elder-containers.module.mjs +0 -29
- package/esm2020/lib/components/containers/elder-scroll-container/elder-scroll-container.component.mjs +0 -25
- package/esm2020/lib/components/containers/public_api.mjs +0 -2
- package/esm2020/lib/components/csv/elder-csv-export-btn/elder-csv-export-btn.component.mjs +0 -77
- package/esm2020/lib/components/csv/elder-csv-stream-exporter-builder.mjs +0 -40
- package/esm2020/lib/components/csv/elder-csv-stream-exporter-builder.service.mjs +0 -38
- package/esm2020/lib/components/csv/elder-csv-stream-exporter.mjs +0 -114
- package/esm2020/lib/components/csv/elder-csv.module.mjs +0 -37
- package/esm2020/lib/components/currency/elder-currency.module.mjs +0 -24
- package/esm2020/lib/components/currency/elder-currency.pipe.mjs +0 -33
- package/esm2020/lib/components/currency/model/currency-code.mjs +0 -38
- package/esm2020/lib/components/currency/model/currency-unit-registry.mjs +0 -30
- package/esm2020/lib/components/currency/model/currency-unit.mjs +0 -10
- package/esm2020/lib/components/currency/model/currency.mjs +0 -15
- package/esm2020/lib/components/currency/public_api.mjs +0 -7
- package/esm2020/lib/components/data-transfer/elder-data-transfer.module.mjs +0 -76
- package/esm2020/lib/components/data-transfer/elder-data-transfer.service.mjs +0 -89
- package/esm2020/lib/components/data-transfer/http-data-transfer/http-data-transfer.component.mjs +0 -68
- package/esm2020/lib/components/data-transfer/http-data-transfer-aggregate/http-data-transfer-aggregate.component.mjs +0 -35
- package/esm2020/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.mjs +0 -48
- package/esm2020/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.mjs +0 -33
- package/esm2020/lib/components/data-view/base/data-view-options-provider-binding.mjs +0 -67
- package/esm2020/lib/components/data-view/base/elder-data-view-base.mjs +0 -259
- package/esm2020/lib/components/data-view/base/elder-data-view-options-provider.mjs +0 -44
- package/esm2020/lib/components/data-view/base/elder-data-view-options.mjs +0 -45
- package/esm2020/lib/components/data-view/base/elder-data-view.mjs +0 -3
- package/esm2020/lib/components/data-view/base/public_api.mjs +0 -6
- package/esm2020/lib/components/data-view/common/data-context-state-indicator/data-context-state-indicator.component.mjs +0 -46
- package/esm2020/lib/components/data-view/common/elder-data-common.module.mjs +0 -90
- package/esm2020/lib/components/data-view/common/elder-data-toolbar/elder-data-toolbar.component.mjs +0 -150
- package/esm2020/lib/components/data-view/common/elder-single-sort/elder-single-sort.component.mjs +0 -90
- package/esm2020/lib/components/data-view/common/selection/data-context-selection.directive.mjs +0 -98
- package/esm2020/lib/components/data-view/common/selection/elder-selection-master-checkbox/elder-selection-master-checkbox.component.mjs +0 -38
- package/esm2020/lib/components/data-view/common/selection/master-selection-state.mjs +0 -10
- package/esm2020/lib/components/data-view/elder-data-view-interaction-mode.mjs +0 -2
- package/esm2020/lib/components/data-view/grid/elder-grid/elder-grid.component.mjs +0 -293
- package/esm2020/lib/components/data-view/grid/elder-grid.module.mjs +0 -85
- package/esm2020/lib/components/data-view/public_api.mjs +0 -6
- package/esm2020/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.component.mjs +0 -19
- package/esm2020/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.module.mjs +0 -79
- package/esm2020/lib/components/data-view/table/activation/elder-item-activator.mjs +0 -2
- package/esm2020/lib/components/data-view/table/activation/elder-table-activation-options.mjs +0 -2
- package/esm2020/lib/components/data-view/table/activation/elder-table-activation.directive.mjs +0 -261
- package/esm2020/lib/components/data-view/table/elder-number-cell.directive.mjs +0 -29
- package/esm2020/lib/components/data-view/table/elder-paginator-intl.mjs +0 -72
- package/esm2020/lib/components/data-view/table/elder-table/elder-table-toolbar.directive.mjs +0 -18
- package/esm2020/lib/components/data-view/table/elder-table/elder-table.component.mjs +0 -322
- package/esm2020/lib/components/data-view/table/elder-table-column.directive.mjs +0 -17
- package/esm2020/lib/components/data-view/table/elder-table-extension.directive.mjs +0 -96
- package/esm2020/lib/components/data-view/table/elder-table-root.directive.mjs +0 -29
- package/esm2020/lib/components/data-view/table/elder-table-row.directive.mjs +0 -136
- package/esm2020/lib/components/data-view/table/elder-table-sort.directive.mjs +0 -20
- package/esm2020/lib/components/data-view/table/elder-table.module.mjs +0 -142
- package/esm2020/lib/components/data-view/table/model/elder-column-layout.mjs +0 -110
- package/esm2020/lib/components/data-view/table/model/elder-table-model-cdk-table-binding.mjs +0 -81
- package/esm2020/lib/components/data-view/table/model/elder-table-model-provider.mjs +0 -40
- package/esm2020/lib/components/data-view/table/model/elder-table-model-query-group.mjs +0 -87
- package/esm2020/lib/components/data-view/table/model/elder-table-model.mjs +0 -165
- package/esm2020/lib/components/dialogs/confirm-dialog/elder-confirm-dialog.component.mjs +0 -23
- package/esm2020/lib/components/dialogs/elder-dialog-config.mjs +0 -3
- package/esm2020/lib/components/dialogs/elder-dialog.module.mjs +0 -83
- package/esm2020/lib/components/dialogs/elder-dialog.service.mjs +0 -161
- package/esm2020/lib/components/dialogs/question-dialog/elder-question-dialog.component.mjs +0 -41
- package/esm2020/lib/components/dialogs/selection-dialog/elder-selection-dialog/elder-selection-dialog.component.mjs +0 -44
- package/esm2020/lib/components/dialogs/selection-dialog/elder-selection-dialog.directive.mjs +0 -46
- package/esm2020/lib/components/errors/elder-error.module.mjs +0 -45
- package/esm2020/lib/components/errors/error-util.mjs +0 -94
- package/esm2020/lib/components/errors/exception-detail/elder-exception-detail.component.mjs +0 -67
- package/esm2020/lib/components/expand-toggle-button/elder-expand-toggle-button.component.mjs +0 -56
- package/esm2020/lib/components/expand-toggle-button/elder-expand-toggle-button.module.mjs +0 -28
- package/esm2020/lib/components/files/blob-url.mjs +0 -10
- package/esm2020/lib/components/files/blob-viewer/elder-blob-viewer.component.mjs +0 -226
- package/esm2020/lib/components/files/elder-file-drop-zone.directive.mjs +0 -109
- package/esm2020/lib/components/files/elder-file-select.directive.mjs +0 -143
- package/esm2020/lib/components/files/elder-file.module.mjs +0 -68
- package/esm2020/lib/components/files/file-select/file-select.component.mjs +0 -55
- package/esm2020/lib/components/files/file-upload/file-upload.component.mjs +0 -75
- package/esm2020/lib/components/forms/clipboard/elder-clipboard.service.mjs +0 -51
- package/esm2020/lib/components/forms/directives/base/elder-class-hostbinding-base.mjs +0 -34
- package/esm2020/lib/components/forms/directives/elder-clipboard-put.directive.mjs +0 -35
- package/esm2020/lib/components/forms/directives/elder-delayed-focus.directive.mjs +0 -42
- package/esm2020/lib/components/forms/directives/elder-form-field-dense.directive.mjs +0 -34
- package/esm2020/lib/components/forms/directives/elder-form-field-label.directive.mjs +0 -82
- package/esm2020/lib/components/forms/directives/elder-form-field-no-hint.directive.mjs +0 -34
- package/esm2020/lib/components/forms/directives/elder-form-field-no-spinner.directive.mjs +0 -34
- package/esm2020/lib/components/forms/directives/elder-forms-directives.module.mjs +0 -159
- package/esm2020/lib/components/forms/directives/elder-input-pattern.directive.mjs +0 -77
- package/esm2020/lib/components/forms/directives/elder-key-event.directive.mjs +0 -111
- package/esm2020/lib/components/forms/directives/elder-max.directive.mjs +0 -39
- package/esm2020/lib/components/forms/directives/elder-min.directive.mjs +0 -39
- package/esm2020/lib/components/forms/directives/elder-next-focusable.directive.mjs +0 -101
- package/esm2020/lib/components/forms/directives/elder-plug-parent-form.directive.mjs +0 -36
- package/esm2020/lib/components/forms/directives/elder-stop-event-propagation.directive.mjs +0 -29
- package/esm2020/lib/components/forms/directives/elder-tab-focus-trap.directive.mjs +0 -157
- package/esm2020/lib/components/forms/directives/elder-touched.directive.mjs +0 -27
- package/esm2020/lib/components/forms/directives/elder-triple-state-checkbox.directive.mjs +0 -120
- package/esm2020/lib/components/forms/directives/validation/elder-multiple-of.validator.mjs +0 -57
- package/esm2020/lib/components/forms/directives/validation/elder-required-ignore-zero.validator.mjs +0 -68
- package/esm2020/lib/components/forms/elder-forms.module.mjs +0 -22
- package/esm2020/lib/components/forms/public_api.mjs +0 -2
- package/esm2020/lib/components/forms/search/elder-search-context.directive.mjs +0 -146
- package/esm2020/lib/components/forms/search/elder-search-input.directive.mjs +0 -185
- package/esm2020/lib/components/forms/search/elder-search.module.mjs +0 -67
- package/esm2020/lib/components/forms/search/model/search-input-state.mjs +0 -78
- package/esm2020/lib/components/forms/search/model/search-input.mjs +0 -2
- package/esm2020/lib/components/forms/search/search-box/elder-search-box.component.mjs +0 -124
- package/esm2020/lib/components/forms/search/search-box/elder-search-panel.component.mjs +0 -16
- package/esm2020/lib/components/global-search/elder-global-search.component.mjs +0 -127
- package/esm2020/lib/components/global-search/elder-global-search.module.mjs +0 -33
- package/esm2020/lib/components/global-search/elder-global-search.service.mjs +0 -93
- package/esm2020/lib/components/graph/elder-progress-bar/elder-progress-bar.component.mjs +0 -98
- package/esm2020/lib/components/graph/elder-progress-bar/elder-progress-bar.module.mjs +0 -30
- package/esm2020/lib/components/graph/elder-progress-bar/sub-bar.mjs +0 -7
- package/esm2020/lib/components/graph/public_api.mjs +0 -2
- package/esm2020/lib/components/headers/elder-header/elder-header.component.mjs +0 -29
- package/esm2020/lib/components/headers/elder-header.module.mjs +0 -44
- package/esm2020/lib/components/http-support/elder-http-client.service.mjs +0 -68
- package/esm2020/lib/components/http-support/public_api.mjs +0 -2
- package/esm2020/lib/components/i18n/entities/elder-i18n-entities.module.mjs +0 -123
- package/esm2020/lib/components/i18n/entities/elder-localized-input/elder-localized-input.component.mjs +0 -136
- package/esm2020/lib/components/i18n/entities/elder-localized-input-dialog/elder-localized-input-dialog.component.mjs +0 -29
- package/esm2020/lib/components/i18n/entities/elder-localized-input-dialog.service.mjs +0 -30
- package/esm2020/lib/components/i18n/entities/elder-localized-input-table/elder-localized-input-table.component.mjs +0 -152
- package/esm2020/lib/components/i18n/entities/elder-localized-text-column.directive.mjs +0 -28
- package/esm2020/lib/components/i18n/entities/elder-localized-texts.directive.mjs +0 -56
- package/esm2020/lib/components/i18n/entities/picker/i18n-pick-async.pipe.mjs +0 -39
- package/esm2020/lib/components/i18n/entities/picker/i18n-pick.pipe.mjs +0 -30
- package/esm2020/lib/components/i18n/entities/picker/localisation-picker.service.mjs +0 -74
- package/esm2020/lib/components/i18n/language/elder-language-config.mjs +0 -3
- package/esm2020/lib/components/i18n/language/elder-language-interceptor.mjs +0 -69
- package/esm2020/lib/components/i18n/language/elder-language.module.mjs +0 -76
- package/esm2020/lib/components/i18n/language/elder-language.service.mjs +0 -121
- package/esm2020/lib/components/i18n/language/language-switcher/elder-language-switcher.component.mjs +0 -66
- package/esm2020/lib/components/i18n/locales/elder-locales-de-ch.module.mjs +0 -53
- package/esm2020/lib/components/i18n/public_api.mjs +0 -4
- package/esm2020/lib/components/iframes/data-view/data-view-iframe/data-view-iframe.component.mjs +0 -128
- package/esm2020/lib/components/iframes/data-view/data-view-iframe-adapter.directive.mjs +0 -136
- package/esm2020/lib/components/iframes/elder-iframe.module.mjs +0 -99
- package/esm2020/lib/components/iframes/iframe-close.directive.mjs +0 -41
- package/esm2020/lib/components/iframes/iframe-dialog/iframe-dialog.component.mjs +0 -52
- package/esm2020/lib/components/iframes/iframe-host/iframe-host.component.mjs +0 -127
- package/esm2020/lib/components/iframes/iframe-side-content/iframe-side-content.component.mjs +0 -79
- package/esm2020/lib/components/iframes/iframe.service.mjs +0 -48
- package/esm2020/lib/components/iframes/typed-event-message.mjs +0 -42
- package/esm2020/lib/components/infinitescroll/elder-infinite-autocomplete.directive.mjs +0 -61
- package/esm2020/lib/components/infinitescroll/elder-infinite-scroll.directive.mjs +0 -157
- package/esm2020/lib/components/infinitescroll/elder-infinite-scroll.module.mjs +0 -40
- package/esm2020/lib/components/input/autocomplete/elder-autocomplete/elder-autocomplete-option-selected.mjs +0 -9
- package/esm2020/lib/components/input/autocomplete/elder-autocomplete/elder-autocomplete.component.mjs +0 -187
- package/esm2020/lib/components/input/autocomplete/elder-autocomplete-many.directive.mjs +0 -197
- package/esm2020/lib/components/input/autocomplete/elder-autocomplete.directive.mjs +0 -114
- package/esm2020/lib/components/input/autocomplete/elder-autocomplete.module.mjs +0 -62
- package/esm2020/lib/components/input/autocomplete/many/word-position-finder.mjs +0 -58
- package/esm2020/lib/components/input/public_api.mjs +0 -2
- package/esm2020/lib/components/labels/elder-labels.module.mjs +0 -30
- package/esm2020/lib/components/labels/labels-input/labels-input.component.mjs +0 -230
- package/esm2020/lib/components/measures/dimensions-input/elder-dimensions-input.component.mjs +0 -240
- package/esm2020/lib/components/measures/directives/elder-unit-select.directive.mjs +0 -64
- package/esm2020/lib/components/measures/elder-measures.module.mjs +0 -120
- package/esm2020/lib/components/measures/elder-quantity-transform.pipe.mjs +0 -41
- package/esm2020/lib/components/measures/elder-quantity.pipe.mjs +0 -73
- package/esm2020/lib/components/measures/elder-unit.service.mjs +0 -115
- package/esm2020/lib/components/measures/model/dimensions.mjs +0 -17
- package/esm2020/lib/components/measures/model/quantity.mjs +0 -12
- package/esm2020/lib/components/measures/model/unit-dimension.mjs +0 -14
- package/esm2020/lib/components/measures/model/unit-registry.mjs +0 -81
- package/esm2020/lib/components/measures/model/unit.mjs +0 -143
- package/esm2020/lib/components/measures/public_api.mjs +0 -8
- package/esm2020/lib/components/measures/quantity-input/elder-quantity-input.component.mjs +0 -190
- package/esm2020/lib/components/measures/util/elder-quantity.service.mjs +0 -237
- package/esm2020/lib/components/navigation/bread-crumbs/bread-crumbs/elder-bread-crumbs.component.mjs +0 -165
- package/esm2020/lib/components/navigation/bread-crumbs/elder-bread-crumbs.module.mjs +0 -56
- package/esm2020/lib/components/navigation/bread-crumbs/path/path.mjs +0 -37
- package/esm2020/lib/components/navigation/nav/elder-nav.module.mjs +0 -52
- package/esm2020/lib/components/navigation/nav/nav-group/elder-nav-group.component.mjs +0 -94
- package/esm2020/lib/components/navigation/nav/nav-link/elder-nav-link.component.mjs +0 -65
- package/esm2020/lib/components/navigation/nav/nav-list/elder-nav-list.component.mjs +0 -14
- package/esm2020/lib/components/navigation/public_api.mjs +0 -4
- package/esm2020/lib/components/navigation/toolbar/elder-toolbar-column.directive.mjs +0 -46
- package/esm2020/lib/components/navigation/toolbar/elder-toolbar.module.mjs +0 -77
- package/esm2020/lib/components/navigation/toolbar/elder-toolbar.service.mjs +0 -68
- package/esm2020/lib/components/navigation/toolbar/toolbar/elder-toolbar.component.mjs +0 -67
- package/esm2020/lib/components/navigation/toolbar/toolbar-column-position.mjs +0 -2
- package/esm2020/lib/components/navigation/toolbar/toolbar-title/elder-toolbar-title.component.mjs +0 -39
- package/esm2020/lib/components/navigation/toolbar/toolbar-title/elder-toolbar-title.service.mjs +0 -85
- package/esm2020/lib/components/overlays/elder-overlay-origin.directive.mjs +0 -43
- package/esm2020/lib/components/overlays/elder-overlay-trigger.directive.mjs +0 -72
- package/esm2020/lib/components/overlays/elder-overlay.component.mjs +0 -204
- package/esm2020/lib/components/overlays/elder-overlay.module.mjs +0 -41
- package/esm2020/lib/components/panels/card-panel/elder-card-panel.component.mjs +0 -13
- package/esm2020/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.mjs +0 -13
- package/esm2020/lib/components/panels/elder-panel.module.mjs +0 -42
- package/esm2020/lib/components/panels/flat/elder-panel.component.mjs +0 -26
- package/esm2020/lib/components/public_api.mjs +0 -40
- package/esm2020/lib/components/select/auto/elder-auto-select-first.directive.mjs +0 -77
- package/esm2020/lib/components/select/auto/elder-select-first-util.mjs +0 -62
- package/esm2020/lib/components/select/elder-select-base.mjs +0 -284
- package/esm2020/lib/components/select/elder-select-chip.directive.mjs +0 -45
- package/esm2020/lib/components/select/elder-select-on-tab.directive.mjs +0 -133
- package/esm2020/lib/components/select/elder-select-value.directive.mjs +0 -15
- package/esm2020/lib/components/select/elder-select.module.mjs +0 -134
- package/esm2020/lib/components/select/multi/elder-multi-select-base.mjs +0 -356
- package/esm2020/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.mjs +0 -238
- package/esm2020/lib/components/select/multi/elder-multi-select-form-field.mjs +0 -67
- package/esm2020/lib/components/select/popup/selection-model-popup-trigger-adapter.directive.mjs +0 -86
- package/esm2020/lib/components/select/popup/selection-model-popup.directive.mjs +0 -126
- package/esm2020/lib/components/select/popup/templated-selection-dialog/templated-selection-dialog.component.mjs +0 -48
- package/esm2020/lib/components/select/public_api.mjs +0 -6
- package/esm2020/lib/components/select/single/elder-clear-select.directive.mjs +0 -57
- package/esm2020/lib/components/select/single/elder-select/elder-select.component.mjs +0 -443
- package/esm2020/lib/components/select/single/elder-select-form-field.mjs +0 -45
- package/esm2020/lib/components/select-chip-list/chip-list-select/elder-chip-list-select.component.mjs +0 -154
- package/esm2020/lib/components/select-chip-list/elder-chip-list-select.module.mjs +0 -49
- package/esm2020/lib/components/select-list/elder-select-list.module.mjs +0 -37
- package/esm2020/lib/components/select-list/select-list/elder-select-list.component.mjs +0 -76
- package/esm2020/lib/components/select-list/select-list-item/elder-select-list-item.component.mjs +0 -119
- package/esm2020/lib/components/shell/drawers/drawer-outlet-binding.mjs +0 -60
- package/esm2020/lib/components/shell/drawers/elder-route-outlet-drawer.service.mjs +0 -117
- package/esm2020/lib/components/shell/drawers/elder-router-outlet.service.mjs +0 -128
- package/esm2020/lib/components/shell/elder-shell-slot.directive.mjs +0 -46
- package/esm2020/lib/components/shell/elder-shell.module.mjs +0 -91
- package/esm2020/lib/components/shell/elder-shell.service.mjs +0 -145
- package/esm2020/lib/components/shell/header/elder-app-header/elder-app-header.component.mjs +0 -74
- package/esm2020/lib/components/shell/shell/elder-shell.component.mjs +0 -207
- package/esm2020/lib/components/shell/shell-content-slot.mjs +0 -2
- package/esm2020/lib/components/shell/shell-navigation-toggle/elder-shell-navigation-toggle.component.mjs +0 -137
- package/esm2020/lib/components/tabs/elder-tab/elder-tab.directive.mjs +0 -25
- package/esm2020/lib/components/tabs/elder-tab-group-routing/elder-tab-group-routing.directive.mjs +0 -256
- package/esm2020/lib/components/tabs/elder-tab.module.mjs +0 -36
- package/esm2020/lib/components/theme/elder-theme-applier.directive.mjs +0 -62
- package/esm2020/lib/components/theme/elder-theme-preference.service.mjs +0 -74
- package/esm2020/lib/components/theme/elder-theme-toggle/elder-theme-toggle.component.mjs +0 -72
- package/esm2020/lib/components/theme/elder-theme.directive.mjs +0 -61
- package/esm2020/lib/components/theme/elder-theme.module.mjs +0 -74
- package/esm2020/lib/components/theme/elder-theme.service.mjs +0 -123
- package/esm2020/lib/components/theme/known-elder-themes.mjs +0 -6
- package/esm2020/lib/components/theme/public_api.mjs +0 -2
- package/esm2020/lib/components/theme/theme-spec.mjs +0 -15
- package/esm2020/lib/components/time/date-adapters/custom-date-adapter.mjs +0 -23
- package/esm2020/lib/components/time/duration/duration-bucket.mjs +0 -67
- package/esm2020/lib/components/time/duration/duration-format.mjs +0 -271
- package/esm2020/lib/components/time/duration/elder-duration-input/elder-duration-input.component.mjs +0 -110
- package/esm2020/lib/components/time/duration/iso-duration-str.mjs +0 -2
- package/esm2020/lib/components/time/elder-date-switcher/elder-date-switcher.component.mjs +0 -101
- package/esm2020/lib/components/time/elder-date-time-input/elder-date-time-input.component.mjs +0 -80
- package/esm2020/lib/components/time/elder-interval-input/elder-interval-input.component.mjs +0 -127
- package/esm2020/lib/components/time/elder-local-date-input/elder-local-date-input.component.mjs +0 -190
- package/esm2020/lib/components/time/elder-local-time-input/elder-local-time-input.component.mjs +0 -85
- package/esm2020/lib/components/time/elder-time.module.mjs +0 -143
- package/esm2020/lib/components/time/period/elder-period-input/elder-period-input.component.mjs +0 -120
- package/esm2020/lib/components/time/period/period-bucket.mjs +0 -31
- package/esm2020/lib/components/time/period/period-format.mjs +0 -89
- package/esm2020/lib/components/time/public_api.mjs +0 -8
- package/esm2020/lib/components/toasts/elder-toast.module.mjs +0 -23
- package/esm2020/lib/components/toasts/elder-toast.service.mjs +0 -197
- package/esm2020/lib/components/toasts/standard-toast/standard-toast.component.mjs +0 -74
- package/esm2020/lib/components/toasts/toast-type.mjs +0 -7
- package/esm2020/lib/components/toasts/toast.mjs +0 -2
- package/esm2020/lib/components/url-fragment/elder-url-fragment.mjs +0 -9
- package/esm2020/lib/components/url-fragment/elder-url-fragment.module.mjs +0 -58
- package/esm2020/lib/components/url-fragment/url-fragment-switcher/elder-url-fragment-switcher.component.mjs +0 -85
- package/esm2020/lib/components/viewers/elder-svg-viewer/elder-svg-viewer.component.mjs +0 -65
- package/esm2020/lib/components/viewers/elder-viewers.module.mjs +0 -25
- package/esm2020/lib/features/event-source/elder-event-source.service.mjs +0 -56
- package/esm2020/lib/features/event-source/public_api.mjs +0 -3
- package/esm2020/lib/features/event-source/reactive-event-source.mjs +0 -198
- package/esm2020/lib/features/kafent/access-token-provider.mjs +0 -20
- package/esm2020/lib/features/kafent/kafent-config.mjs +0 -24
- package/esm2020/lib/features/kafent/kafent-event-stream.mjs +0 -25
- package/esm2020/lib/features/kafent/kafent-event.mjs +0 -3
- package/esm2020/lib/features/kafent/kafent-event.service.mjs +0 -107
- package/esm2020/lib/features/kafent/kafent-live-event-request.mjs +0 -2
- package/esm2020/lib/features/kafent/kafent.module.mjs +0 -61
- package/esm2020/lib/features/kafent/sse/kafent-event-stream-sse.service.mjs +0 -128
- package/esm2020/lib/features/kafent/sse/kafent-topic-sse.mjs +0 -98
- package/esm2020/lib/features/public_api.mjs +0 -3
- package/esm2020/lib/pipes/bytes.pipe.mjs +0 -24
- package/esm2020/lib/pipes/elder-pipes.module.mjs +0 -67
- package/esm2020/lib/pipes/elder-repeat.pipe.mjs +0 -21
- package/esm2020/lib/pipes/elder-round.pipe.mjs +0 -35
- package/esm2020/lib/pipes/elder-safe-url.pipe.mjs +0 -20
- package/esm2020/lib/pipes/elder-truncate.pipe.mjs +0 -40
- package/esm2020/lib/pipes/iso-duration.pipe.mjs +0 -58
- package/esm2020/lib/pipes/iso-interval-parse.pipe.mjs +0 -49
- package/esm2020/lib/pipes/iso-interval.pipe.mjs +0 -109
- package/esm2020/lib/pipes/public_api.mjs +0 -2
- package/esm2020/lib/pipes/time-ago.pipe.mjs +0 -104
- package/esm2020/lib/pipes/time-duration.pipe.mjs +0 -98
- package/esm2020/lib/pipes/weight.pipe.mjs +0 -56
- package/esm2020/public_api.mjs +0 -8
- package/fesm2015/elderbyte-ngx-starter.mjs +0 -27541
- package/fesm2015/elderbyte-ngx-starter.mjs.map +0 -1
- package/fesm2020/elderbyte-ngx-starter.mjs +0 -27428
- package/fesm2020/elderbyte-ngx-starter.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/common/async/public_api.d.ts +0 -1
- package/lib/common/async/refreshing-entity.d.ts +0 -55
- package/lib/common/csv/csv-serializer.d.ts +0 -33
- package/lib/common/csv/csv-spec.d.ts +0 -71
- package/lib/common/csv/public_api.d.ts +0 -2
- package/lib/common/data/continuable-listing.d.ts +0 -28
- package/lib/common/data/data-context/data-context-active-page.d.ts +0 -75
- package/lib/common/data/data-context/data-context-auto-starter.d.ts +0 -41
- package/lib/common/data/data-context/data-context-base.d.ts +0 -149
- package/lib/common/data/data-context/data-context-builder.d.ts +0 -142
- package/lib/common/data/data-context/data-context-continuable-base.d.ts +0 -43
- package/lib/common/data/data-context/data-context-continuable-paged.d.ts +0 -58
- package/lib/common/data/data-context/data-context-continuable-token.d.ts +0 -48
- package/lib/common/data/data-context/data-context-life-cycle-binding.d.ts +0 -33
- package/lib/common/data/data-context/data-context-simple.d.ts +0 -30
- package/lib/common/data/data-context/data-context-source-auto-reloader.d.ts +0 -8
- package/lib/common/data/data-context/data-context-status.d.ts +0 -30
- package/lib/common/data/data-context/data-context.d.ts +0 -154
- package/lib/common/data/data-context/mat-table-data-context-binding.d.ts +0 -60
- package/lib/common/data/data-context/public_api.d.ts +0 -13
- package/lib/common/data/datasource/data-source-adapter.d.ts +0 -39
- package/lib/common/data/datasource/data-source-processor.d.ts +0 -106
- package/lib/common/data/datasource/data-source.d.ts +0 -58
- package/lib/common/data/datasource/entity-id-util.d.ts +0 -3
- package/lib/common/data/datasource/fetcher/delegate-data-source.d.ts +0 -84
- package/lib/common/data/datasource/local/local-list-data-source.d.ts +0 -61
- package/lib/common/data/datasource/local/local-paged-data-source.d.ts +0 -49
- package/lib/common/data/datasource/public_api.d.ts +0 -7
- package/lib/common/data/datasource/rest/public_api.d.ts +0 -1
- package/lib/common/data/datasource/rest/rest-client.d.ts +0 -162
- package/lib/common/data/entity-set-patch.d.ts +0 -74
- package/lib/common/data/field-comparator.d.ts +0 -43
- package/lib/common/data/filters/filter-context.d.ts +0 -63
- package/lib/common/data/filters/filter.d.ts +0 -52
- package/lib/common/data/http-params-builder.d.ts +0 -45
- package/lib/common/data/page.d.ts +0 -41
- package/lib/common/data/public_api.d.ts +0 -11
- package/lib/common/data/required-filter-evaluator.d.ts +0 -46
- package/lib/common/data/sort-context.d.ts +0 -42
- package/lib/common/data/sort.d.ts +0 -8
- package/lib/common/data/token-chunk-request.d.ts +0 -8
- package/lib/common/enums/elder-enum-translation.service.d.ts +0 -52
- package/lib/common/enums/public_api.d.ts +0 -1
- package/lib/common/errors/exception-detail.d.ts +0 -5
- package/lib/common/errors/standard-error-detail.d.ts +0 -22
- package/lib/common/format/bytes-format.d.ts +0 -4
- package/lib/common/format/bytes-per-second-format.d.ts +0 -5
- package/lib/common/forms/elder-entity-value-accessor.d.ts +0 -42
- package/lib/common/forms/elder-form-field-control-base.directive.d.ts +0 -103
- package/lib/common/forms/elder-from-field-base.d.ts +0 -52
- package/lib/common/forms/elder-from-field-entity-base.d.ts +0 -31
- package/lib/common/forms/elder-from-field-multi-entity-base.d.ts +0 -35
- package/lib/common/forms/elder-multi-entity-value-accessor.d.ts +0 -52
- package/lib/common/forms/form-field-base.component.d.ts +0 -74
- package/lib/common/forms/multi-model-base.component.d.ts +0 -23
- package/lib/common/forms/public_api.d.ts +0 -11
- package/lib/common/forms/template-composite-control.d.ts +0 -64
- package/lib/common/forms/value-accessor-base.d.ts +0 -98
- package/lib/common/forms/view-providers.d.ts +0 -23
- package/lib/common/http/http-client-builder.service.d.ts +0 -6
- package/lib/common/http/http-client-pristine.d.ts +0 -10
- package/lib/common/http/public_api.d.ts +0 -4
- package/lib/common/http/transfer/data-transfer-factory.d.ts +0 -70
- package/lib/common/http/transfer/data-transfer-progress-aggregate.d.ts +0 -27
- package/lib/common/http/transfer/data-transfer-progress.d.ts +0 -13
- package/lib/common/http/transfer/data-transfer-state.d.ts +0 -52
- package/lib/common/http/transfer/data-transfer-status.d.ts +0 -22
- package/lib/common/http/transfer/http-data-transfer.d.ts +0 -96
- package/lib/common/http/transfer/public_api.d.ts +0 -6
- package/lib/common/http/upload/file-upload-client.d.ts +0 -38
- package/lib/common/i18n/entity/impl/i18n-base.d.ts +0 -6
- package/lib/common/i18n/entity/impl/i18n-text.d.ts +0 -11
- package/lib/common/i18n/entity/language-tag.d.ts +0 -15
- package/lib/common/i18n/entity/locale.d.ts +0 -8
- package/lib/common/i18n/entity/localisation-picker.d.ts +0 -14
- package/lib/common/i18n/entity/localized.d.ts +0 -10
- package/lib/common/i18n/entity/public_api.d.ts +0 -5
- package/lib/common/i18n/public_api.d.ts +0 -1
- package/lib/common/json-map.d.ts +0 -7
- package/lib/common/objects.d.ts +0 -19
- package/lib/common/public_api.d.ts +0 -18
- package/lib/common/reactive-map.d.ts +0 -40
- package/lib/common/selection/selection-model.d.ts +0 -82
- package/lib/common/sets.d.ts +0 -20
- package/lib/common/suggestion-provider.d.ts +0 -13
- package/lib/common/templates/template-slot-manager.d.ts +0 -70
- package/lib/common/time/date-util.d.ts +0 -54
- package/lib/common/time/interval.d.ts +0 -287
- package/lib/common/time/period-duration.d.ts +0 -84
- package/lib/common/time/public_api.d.ts +0 -4
- package/lib/common/time/time-util.d.ts +0 -15
- package/lib/common/url/elder-router.service.d.ts +0 -36
- package/lib/common/url/elder-url-fragment-params.service.d.ts +0 -62
- package/lib/common/url/public_api.d.ts +0 -3
- package/lib/common/url/url-query-params.d.ts +0 -96
- package/lib/common/utils/batcher.d.ts +0 -14
- package/lib/common/utils/collection-util.d.ts +0 -35
- package/lib/common/utils/filter-util.d.ts +0 -7
- package/lib/common/utils/next-number-util.d.ts +0 -39
- package/lib/common/utils/ng-zone-utils.d.ts +0 -7
- package/lib/common/utils/parse-util.d.ts +0 -8
- package/lib/common/utils/property-path-util.d.ts +0 -8
- package/lib/common/utils/query-list-binding.d.ts +0 -57
- package/lib/common/utils/sort-util.d.ts +0 -10
- package/lib/common/utils/url-builder.d.ts +0 -160
- package/lib/common/utils/uuid-util.d.ts +0 -18
- package/lib/common/utils/value-wrapper.d.ts +0 -15
- package/lib/components/access-denied/elder-access-denied.component.d.ts +0 -8
- package/lib/components/access-denied/elder-access-denied.module.d.ts +0 -12
- package/lib/components/auditing/audited-entity/elder-audited-entity.component.d.ts +0 -21
- package/lib/components/auditing/elder-audit.module.d.ts +0 -15
- package/lib/components/auditing/i-audited-entity.d.ts +0 -13
- package/lib/components/button-group/elder-button-group/elder-button-group.component.d.ts +0 -8
- package/lib/components/button-group/elder-button-group.module.d.ts +0 -13
- package/lib/components/card-organizer/card-organizer/elder-card-organizer.component.d.ts +0 -64
- package/lib/components/card-organizer/card-organizer/elder-stack-card.directive.d.ts +0 -9
- package/lib/components/card-organizer/card-organizer-data.d.ts +0 -57
- package/lib/components/card-organizer/card-stack/elder-card-stack.component.d.ts +0 -89
- package/lib/components/card-organizer/card-stack.d.ts +0 -146
- package/lib/components/card-organizer/elder-card-organizer.module.d.ts +0 -23
- package/lib/components/cards/elder-card/elder-card-header/elder-card-header.component.d.ts +0 -6
- package/lib/components/cards/elder-card/elder-card.component.d.ts +0 -68
- package/lib/components/cards/elder-card/elder-card.module.d.ts +0 -14
- package/lib/components/connectivity/elder-connectivity.module.d.ts +0 -15
- package/lib/components/connectivity/elder-connectivity.service.d.ts +0 -36
- package/lib/components/connectivity/offline-indicator/elder-offline-indicator.component.d.ts +0 -33
- package/lib/components/connectivity/public_api.d.ts +0 -2
- package/lib/components/containers/elder-containers.module.d.ts +0 -10
- package/lib/components/containers/elder-scroll-container/elder-scroll-container.component.d.ts +0 -12
- package/lib/components/containers/public_api.d.ts +0 -1
- package/lib/components/csv/elder-csv-export-btn/elder-csv-export-btn.component.d.ts +0 -51
- package/lib/components/csv/elder-csv-stream-exporter-builder.d.ts +0 -35
- package/lib/components/csv/elder-csv-stream-exporter-builder.service.d.ts +0 -28
- package/lib/components/csv/elder-csv-stream-exporter.d.ts +0 -58
- package/lib/components/csv/elder-csv.module.d.ts +0 -14
- package/lib/components/currency/elder-currency.module.d.ts +0 -8
- package/lib/components/currency/elder-currency.pipe.d.ts +0 -21
- package/lib/components/currency/model/currency-code.d.ts +0 -36
- package/lib/components/currency/model/currency-unit-registry.d.ts +0 -23
- package/lib/components/currency/model/currency-unit.d.ts +0 -7
- package/lib/components/currency/model/currency.d.ts +0 -10
- package/lib/components/currency/public_api.d.ts +0 -6
- package/lib/components/data-transfer/elder-data-transfer.module.d.ts +0 -27
- package/lib/components/data-transfer/elder-data-transfer.service.d.ts +0 -55
- package/lib/components/data-transfer/http-data-transfer/http-data-transfer.component.d.ts +0 -30
- package/lib/components/data-transfer/http-data-transfer-aggregate/http-data-transfer-aggregate.component.d.ts +0 -29
- package/lib/components/data-transfer/http-data-transfer-indicator/http-data-transfer-indicator.component.d.ts +0 -31
- package/lib/components/data-transfer/http-data-transfer-overview/http-data-transfer-overview.component.d.ts +0 -28
- package/lib/components/data-view/base/data-view-options-provider-binding.d.ts +0 -39
- package/lib/components/data-view/base/elder-data-view-base.d.ts +0 -129
- package/lib/components/data-view/base/elder-data-view-options-provider.d.ts +0 -38
- package/lib/components/data-view/base/elder-data-view-options.d.ts +0 -34
- package/lib/components/data-view/base/elder-data-view.d.ts +0 -7
- package/lib/components/data-view/base/public_api.d.ts +0 -5
- package/lib/components/data-view/common/data-context-state-indicator/data-context-state-indicator.component.d.ts +0 -32
- package/lib/components/data-view/common/elder-data-common.module.d.ts +0 -30
- package/lib/components/data-view/common/elder-data-toolbar/elder-data-toolbar.component.d.ts +0 -66
- package/lib/components/data-view/common/elder-single-sort/elder-single-sort.component.d.ts +0 -45
- package/lib/components/data-view/common/selection/data-context-selection.directive.d.ts +0 -48
- package/lib/components/data-view/common/selection/elder-selection-master-checkbox/elder-selection-master-checkbox.component.d.ts +0 -26
- package/lib/components/data-view/common/selection/master-selection-state.d.ts +0 -8
- package/lib/components/data-view/elder-data-view-interaction-mode.d.ts +0 -21
- package/lib/components/data-view/grid/elder-grid/elder-grid.component.d.ts +0 -112
- package/lib/components/data-view/grid/elder-grid.module.d.ts +0 -25
- package/lib/components/data-view/public_api.d.ts +0 -5
- package/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.component.d.ts +0 -9
- package/lib/components/data-view/simple/elder-simple-selection-view/elder-simple-selection-view.module.d.ts +0 -29
- package/lib/components/data-view/table/activation/elder-item-activator.d.ts +0 -3
- package/lib/components/data-view/table/activation/elder-table-activation-options.d.ts +0 -16
- package/lib/components/data-view/table/activation/elder-table-activation.directive.d.ts +0 -78
- package/lib/components/data-view/table/elder-number-cell.directive.d.ts +0 -12
- package/lib/components/data-view/table/elder-paginator-intl.d.ts +0 -38
- package/lib/components/data-view/table/elder-table/elder-table-toolbar.directive.d.ts +0 -12
- package/lib/components/data-view/table/elder-table/elder-table.component.d.ts +0 -129
- package/lib/components/data-view/table/elder-table-column.directive.d.ts +0 -9
- package/lib/components/data-view/table/elder-table-extension.directive.d.ts +0 -53
- package/lib/components/data-view/table/elder-table-root.directive.d.ts +0 -15
- package/lib/components/data-view/table/elder-table-row.directive.d.ts +0 -63
- package/lib/components/data-view/table/elder-table-sort.directive.d.ts +0 -11
- package/lib/components/data-view/table/elder-table.module.d.ts +0 -48
- package/lib/components/data-view/table/model/elder-column-layout.d.ts +0 -44
- package/lib/components/data-view/table/model/elder-table-model-cdk-table-binding.d.ts +0 -44
- package/lib/components/data-view/table/model/elder-table-model-provider.d.ts +0 -25
- package/lib/components/data-view/table/model/elder-table-model-query-group.d.ts +0 -53
- package/lib/components/data-view/table/model/elder-table-model.d.ts +0 -83
- package/lib/components/dialogs/confirm-dialog/elder-confirm-dialog.component.d.ts +0 -22
- package/lib/components/dialogs/elder-dialog-config.d.ts +0 -16
- package/lib/components/dialogs/elder-dialog.module.d.ts +0 -36
- package/lib/components/dialogs/elder-dialog.service.d.ts +0 -71
- package/lib/components/dialogs/question-dialog/elder-question-dialog.component.d.ts +0 -22
- package/lib/components/dialogs/selection-dialog/elder-selection-dialog/elder-selection-dialog.component.d.ts +0 -29
- package/lib/components/dialogs/selection-dialog/elder-selection-dialog.directive.d.ts +0 -24
- package/lib/components/errors/elder-error.module.d.ts +0 -17
- package/lib/components/errors/error-util.d.ts +0 -23
- package/lib/components/errors/exception-detail/elder-exception-detail.component.d.ts +0 -42
- package/lib/components/expand-toggle-button/elder-expand-toggle-button.component.d.ts +0 -33
- package/lib/components/expand-toggle-button/elder-expand-toggle-button.module.d.ts +0 -12
- package/lib/components/files/blob-url.d.ts +0 -6
- package/lib/components/files/blob-viewer/elder-blob-viewer.component.d.ts +0 -107
- package/lib/components/files/elder-file-drop-zone.directive.d.ts +0 -45
- package/lib/components/files/elder-file-select.directive.d.ts +0 -66
- package/lib/components/files/elder-file.module.d.ts +0 -24
- package/lib/components/files/file-select/file-select.component.d.ts +0 -34
- package/lib/components/files/file-upload/file-upload.component.d.ts +0 -45
- package/lib/components/forms/clipboard/elder-clipboard.service.d.ts +0 -26
- package/lib/components/forms/directives/base/elder-class-hostbinding-base.d.ts +0 -32
- package/lib/components/forms/directives/elder-clipboard-put.directive.d.ts +0 -22
- package/lib/components/forms/directives/elder-delayed-focus.directive.d.ts +0 -21
- package/lib/components/forms/directives/elder-form-field-dense.directive.d.ts +0 -19
- package/lib/components/forms/directives/elder-form-field-label.directive.d.ts +0 -58
- package/lib/components/forms/directives/elder-form-field-no-hint.directive.d.ts +0 -19
- package/lib/components/forms/directives/elder-form-field-no-spinner.directive.d.ts +0 -19
- package/lib/components/forms/directives/elder-forms-directives.module.d.ts +0 -68
- package/lib/components/forms/directives/elder-input-pattern.directive.d.ts +0 -41
- package/lib/components/forms/directives/elder-key-event.directive.d.ts +0 -58
- package/lib/components/forms/directives/elder-max.directive.d.ts +0 -11
- package/lib/components/forms/directives/elder-min.directive.d.ts +0 -11
- package/lib/components/forms/directives/elder-next-focusable.directive.d.ts +0 -48
- package/lib/components/forms/directives/elder-plug-parent-form.directive.d.ts +0 -13
- package/lib/components/forms/directives/elder-stop-event-propagation.directive.d.ts +0 -16
- package/lib/components/forms/directives/elder-tab-focus-trap.directive.d.ts +0 -63
- package/lib/components/forms/directives/elder-touched.directive.d.ts +0 -14
- package/lib/components/forms/directives/elder-triple-state-checkbox.directive.d.ts +0 -51
- package/lib/components/forms/directives/validation/elder-multiple-of.validator.d.ts +0 -20
- package/lib/components/forms/directives/validation/elder-required-ignore-zero.validator.d.ts +0 -33
- package/lib/components/forms/elder-forms.module.d.ts +0 -12
- package/lib/components/forms/public_api.d.ts +0 -1
- package/lib/components/forms/search/elder-search-context.directive.d.ts +0 -79
- package/lib/components/forms/search/elder-search-input.directive.d.ts +0 -85
- package/lib/components/forms/search/elder-search.module.d.ts +0 -26
- package/lib/components/forms/search/model/search-input-state.d.ts +0 -67
- package/lib/components/forms/search/model/search-input.d.ts +0 -21
- package/lib/components/forms/search/search-box/elder-search-box.component.d.ts +0 -72
- package/lib/components/forms/search/search-box/elder-search-panel.component.d.ts +0 -6
- package/lib/components/global-search/elder-global-search.component.d.ts +0 -39
- package/lib/components/global-search/elder-global-search.module.d.ts +0 -19
- package/lib/components/global-search/elder-global-search.service.d.ts +0 -54
- package/lib/components/graph/elder-progress-bar/elder-progress-bar.component.d.ts +0 -54
- package/lib/components/graph/elder-progress-bar/elder-progress-bar.module.d.ts +0 -11
- package/lib/components/graph/elder-progress-bar/sub-bar.d.ts +0 -5
- package/lib/components/headers/elder-header/elder-header.component.d.ts +0 -25
- package/lib/components/headers/elder-header.module.d.ts +0 -12
- package/lib/components/http-support/elder-http-client.service.d.ts +0 -48
- package/lib/components/http-support/public_api.d.ts +0 -1
- package/lib/components/i18n/entities/elder-i18n-entities.module.d.ts +0 -38
- package/lib/components/i18n/entities/elder-localized-input/elder-localized-input.component.d.ts +0 -62
- package/lib/components/i18n/entities/elder-localized-input-dialog/elder-localized-input-dialog.component.d.ts +0 -22
- package/lib/components/i18n/entities/elder-localized-input-dialog.service.d.ts +0 -13
- package/lib/components/i18n/entities/elder-localized-input-table/elder-localized-input-table.component.d.ts +0 -67
- package/lib/components/i18n/entities/elder-localized-text-column.directive.d.ts +0 -17
- package/lib/components/i18n/entities/elder-localized-texts.directive.d.ts +0 -37
- package/lib/components/i18n/entities/picker/i18n-pick-async.pipe.d.ts +0 -23
- package/lib/components/i18n/entities/picker/i18n-pick.pipe.d.ts +0 -22
- package/lib/components/i18n/entities/picker/localisation-picker.service.d.ts +0 -44
- package/lib/components/i18n/language/elder-language-config.d.ts +0 -14
- package/lib/components/i18n/language/elder-language-interceptor.d.ts +0 -41
- package/lib/components/i18n/language/elder-language.module.d.ts +0 -27
- package/lib/components/i18n/language/elder-language.service.d.ts +0 -77
- package/lib/components/i18n/language/language-switcher/elder-language-switcher.component.d.ts +0 -37
- package/lib/components/i18n/locales/elder-locales-de-ch.module.d.ts +0 -10
- package/lib/components/iframes/data-view/data-view-iframe/data-view-iframe.component.d.ts +0 -68
- package/lib/components/iframes/data-view/data-view-iframe-adapter.directive.d.ts +0 -62
- package/lib/components/iframes/elder-iframe.module.d.ts +0 -28
- package/lib/components/iframes/iframe-close.directive.d.ts +0 -24
- package/lib/components/iframes/iframe-dialog/iframe-dialog.component.d.ts +0 -36
- package/lib/components/iframes/iframe-host/iframe-host.component.d.ts +0 -92
- package/lib/components/iframes/iframe-side-content/iframe-side-content.component.d.ts +0 -48
- package/lib/components/iframes/iframe.service.d.ts +0 -25
- package/lib/components/iframes/typed-event-message.d.ts +0 -26
- package/lib/components/infinitescroll/elder-infinite-autocomplete.directive.d.ts +0 -30
- package/lib/components/infinitescroll/elder-infinite-scroll.directive.d.ts +0 -63
- package/lib/components/infinitescroll/elder-infinite-scroll.module.d.ts +0 -19
- package/lib/components/input/autocomplete/elder-autocomplete/elder-autocomplete-option-selected.d.ts +0 -8
- package/lib/components/input/autocomplete/elder-autocomplete/elder-autocomplete.component.d.ts +0 -87
- package/lib/components/input/autocomplete/elder-autocomplete-many.directive.d.ts +0 -78
- package/lib/components/input/autocomplete/elder-autocomplete.directive.d.ts +0 -60
- package/lib/components/input/autocomplete/elder-autocomplete.module.d.ts +0 -20
- package/lib/components/input/autocomplete/many/word-position-finder.d.ts +0 -15
- package/lib/components/input/public_api.d.ts +0 -1
- package/lib/components/labels/elder-labels.module.d.ts +0 -15
- package/lib/components/labels/labels-input/labels-input.component.d.ts +0 -91
- package/lib/components/measures/dimensions-input/elder-dimensions-input.component.d.ts +0 -111
- package/lib/components/measures/directives/elder-unit-select.directive.d.ts +0 -30
- package/lib/components/measures/elder-measures.module.d.ts +0 -33
- package/lib/components/measures/elder-quantity-transform.pipe.d.ts +0 -22
- package/lib/components/measures/elder-quantity.pipe.d.ts +0 -40
- package/lib/components/measures/elder-unit.service.d.ts +0 -39
- package/lib/components/measures/model/dimensions.d.ts +0 -11
- package/lib/components/measures/model/quantity.d.ts +0 -7
- package/lib/components/measures/model/unit-dimension.d.ts +0 -12
- package/lib/components/measures/model/unit-registry.d.ts +0 -46
- package/lib/components/measures/model/unit.d.ts +0 -111
- package/lib/components/measures/public_api.d.ts +0 -7
- package/lib/components/measures/quantity-input/elder-quantity-input.component.d.ts +0 -94
- package/lib/components/measures/util/elder-quantity.service.d.ts +0 -116
- package/lib/components/navigation/bread-crumbs/bread-crumbs/elder-bread-crumbs.component.d.ts +0 -69
- package/lib/components/navigation/bread-crumbs/elder-bread-crumbs.module.d.ts +0 -19
- package/lib/components/navigation/bread-crumbs/path/path.d.ts +0 -31
- package/lib/components/navigation/nav/elder-nav.module.d.ts +0 -19
- package/lib/components/navigation/nav/nav-group/elder-nav-group.component.d.ts +0 -45
- package/lib/components/navigation/nav/nav-link/elder-nav-link.component.d.ts +0 -27
- package/lib/components/navigation/nav/nav-list/elder-nav-list.component.d.ts +0 -8
- package/lib/components/navigation/toolbar/elder-toolbar-column.directive.d.ts +0 -34
- package/lib/components/navigation/toolbar/elder-toolbar.module.d.ts +0 -24
- package/lib/components/navigation/toolbar/elder-toolbar.service.d.ts +0 -46
- package/lib/components/navigation/toolbar/toolbar/elder-toolbar.component.d.ts +0 -42
- package/lib/components/navigation/toolbar/toolbar-column-position.d.ts +0 -9
- package/lib/components/navigation/toolbar/toolbar-title/elder-toolbar-title.component.d.ts +0 -30
- package/lib/components/navigation/toolbar/toolbar-title/elder-toolbar-title.service.d.ts +0 -47
- package/lib/components/overlays/elder-overlay-origin.directive.d.ts +0 -28
- package/lib/components/overlays/elder-overlay-trigger.directive.d.ts +0 -36
- package/lib/components/overlays/elder-overlay.component.d.ts +0 -88
- package/lib/components/overlays/elder-overlay.module.d.ts +0 -14
- package/lib/components/panels/card-panel/elder-card-panel.component.d.ts +0 -6
- package/lib/components/panels/elder-dialog-panel/elder-dialog-panel.component.d.ts +0 -6
- package/lib/components/panels/elder-panel.module.d.ts +0 -15
- package/lib/components/panels/flat/elder-panel.component.d.ts +0 -15
- package/lib/components/select/auto/elder-auto-select-first.directive.d.ts +0 -45
- package/lib/components/select/auto/elder-select-first-util.d.ts +0 -22
- package/lib/components/select/elder-select-base.d.ts +0 -149
- package/lib/components/select/elder-select-chip.directive.d.ts +0 -23
- package/lib/components/select/elder-select-on-tab.directive.d.ts +0 -55
- package/lib/components/select/elder-select-value.directive.d.ts +0 -9
- package/lib/components/select/elder-select.module.d.ts +0 -49
- package/lib/components/select/multi/elder-multi-select-base.d.ts +0 -120
- package/lib/components/select/multi/elder-multi-select-chips/elder-multi-select-chips.component.d.ts +0 -105
- package/lib/components/select/multi/elder-multi-select-form-field.d.ts +0 -34
- package/lib/components/select/popup/selection-model-popup-trigger-adapter.directive.d.ts +0 -42
- package/lib/components/select/popup/selection-model-popup.directive.d.ts +0 -49
- package/lib/components/select/popup/templated-selection-dialog/templated-selection-dialog.component.d.ts +0 -32
- package/lib/components/select/public_api.d.ts +0 -5
- package/lib/components/select/single/elder-clear-select.directive.d.ts +0 -34
- package/lib/components/select/single/elder-select/elder-select.component.d.ts +0 -155
- package/lib/components/select/single/elder-select-form-field.d.ts +0 -30
- package/lib/components/select-chip-list/chip-list-select/elder-chip-list-select.component.d.ts +0 -78
- package/lib/components/select-chip-list/elder-chip-list-select.module.d.ts +0 -13
- package/lib/components/select-list/elder-select-list.module.d.ts +0 -16
- package/lib/components/select-list/select-list/elder-select-list.component.d.ts +0 -53
- package/lib/components/select-list/select-list-item/elder-select-list-item.component.d.ts +0 -57
- package/lib/components/shell/drawers/drawer-outlet-binding.d.ts +0 -36
- package/lib/components/shell/drawers/elder-route-outlet-drawer.service.d.ts +0 -55
- package/lib/components/shell/drawers/elder-router-outlet.service.d.ts +0 -64
- package/lib/components/shell/elder-shell-slot.directive.d.ts +0 -34
- package/lib/components/shell/elder-shell.module.d.ts +0 -31
- package/lib/components/shell/elder-shell.service.d.ts +0 -98
- package/lib/components/shell/header/elder-app-header/elder-app-header.component.d.ts +0 -43
- package/lib/components/shell/shell/elder-shell.component.d.ts +0 -99
- package/lib/components/shell/shell-content-slot.d.ts +0 -4
- package/lib/components/shell/shell-navigation-toggle/elder-shell-navigation-toggle.component.d.ts +0 -66
- package/lib/components/tabs/elder-tab/elder-tab.directive.d.ts +0 -19
- package/lib/components/tabs/elder-tab-group-routing/elder-tab-group-routing.directive.d.ts +0 -100
- package/lib/components/tabs/elder-tab.module.d.ts +0 -13
- package/lib/components/theme/elder-theme-applier.directive.d.ts +0 -36
- package/lib/components/theme/elder-theme-preference.service.d.ts +0 -35
- package/lib/components/theme/elder-theme-toggle/elder-theme-toggle.component.d.ts +0 -37
- package/lib/components/theme/elder-theme.directive.d.ts +0 -38
- package/lib/components/theme/elder-theme.module.d.ts +0 -22
- package/lib/components/theme/elder-theme.service.d.ts +0 -51
- package/lib/components/theme/known-elder-themes.d.ts +0 -5
- package/lib/components/theme/theme-spec.d.ts +0 -18
- package/lib/components/time/date-adapters/custom-date-adapter.d.ts +0 -12
- package/lib/components/time/duration/duration-bucket.d.ts +0 -37
- package/lib/components/time/duration/duration-format.d.ts +0 -62
- package/lib/components/time/duration/elder-duration-input/elder-duration-input.component.d.ts +0 -58
- package/lib/components/time/duration/iso-duration-str.d.ts +0 -5
- package/lib/components/time/elder-date-switcher/elder-date-switcher.component.d.ts +0 -60
- package/lib/components/time/elder-date-time-input/elder-date-time-input.component.d.ts +0 -42
- package/lib/components/time/elder-interval-input/elder-interval-input.component.d.ts +0 -84
- package/lib/components/time/elder-local-date-input/elder-local-date-input.component.d.ts +0 -78
- package/lib/components/time/elder-local-time-input/elder-local-time-input.component.d.ts +0 -47
- package/lib/components/time/elder-time.module.d.ts +0 -39
- package/lib/components/time/period/elder-period-input/elder-period-input.component.d.ts +0 -71
- package/lib/components/time/period/period-bucket.d.ts +0 -21
- package/lib/components/time/period/period-format.d.ts +0 -43
- package/lib/components/time/public_api.d.ts +0 -7
- package/lib/components/toasts/elder-toast.module.d.ts +0 -13
- package/lib/components/toasts/elder-toast.service.d.ts +0 -96
- package/lib/components/toasts/standard-toast/standard-toast.component.d.ts +0 -38
- package/lib/components/toasts/toast-type.d.ts +0 -5
- package/lib/components/toasts/toast.d.ts +0 -7
- package/lib/components/url-fragment/elder-url-fragment.d.ts +0 -7
- package/lib/components/url-fragment/elder-url-fragment.module.d.ts +0 -18
- package/lib/components/url-fragment/url-fragment-switcher/elder-url-fragment-switcher.component.d.ts +0 -38
- package/lib/components/viewers/elder-svg-viewer/elder-svg-viewer.component.d.ts +0 -41
- package/lib/components/viewers/elder-viewers.module.d.ts +0 -9
- package/lib/features/event-source/elder-event-source.service.d.ts +0 -43
- package/lib/features/event-source/public_api.d.ts +0 -2
- package/lib/features/event-source/reactive-event-source.d.ts +0 -97
- package/lib/features/kafent/access-token-provider.d.ts +0 -12
- package/lib/features/kafent/kafent-config.d.ts +0 -32
- package/lib/features/kafent/kafent-event-stream.d.ts +0 -28
- package/lib/features/kafent/kafent-event.d.ts +0 -11
- package/lib/features/kafent/kafent-event.service.d.ts +0 -77
- package/lib/features/kafent/kafent-live-event-request.d.ts +0 -58
- package/lib/features/kafent/kafent.module.d.ts +0 -30
- package/lib/features/kafent/sse/kafent-event-stream-sse.service.d.ts +0 -56
- package/lib/features/kafent/sse/kafent-topic-sse.d.ts +0 -70
- package/lib/features/public_api.d.ts +0 -2
- package/lib/pipes/bytes.pipe.d.ts +0 -7
- package/lib/pipes/elder-pipes.module.d.ts +0 -46
- package/lib/pipes/elder-repeat.pipe.d.ts +0 -7
- package/lib/pipes/elder-round.pipe.d.ts +0 -23
- package/lib/pipes/elder-safe-url.pipe.d.ts +0 -10
- package/lib/pipes/elder-truncate.pipe.d.ts +0 -17
- package/lib/pipes/iso-duration.pipe.d.ts +0 -26
- package/lib/pipes/iso-interval-parse.pipe.d.ts +0 -30
- package/lib/pipes/iso-interval.pipe.d.ts +0 -43
- package/lib/pipes/public_api.d.ts +0 -1
- package/lib/pipes/time-ago.pipe.d.ts +0 -18
- package/lib/pipes/time-duration.pipe.d.ts +0 -13
- package/lib/pipes/weight.pipe.d.ts +0 -7
- package/public_api.d.ts +0 -4
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
import { Duration, Period } from '@js-joda/core';
|
|
2
|
-
import { DurationBucket } from './duration-bucket';
|
|
3
|
-
import { PeriodDuration } from '../../../common/time/period-duration';
|
|
4
|
-
/**
|
|
5
|
-
* yyyy:MM:dd hh:mm:ss
|
|
6
|
-
*/
|
|
7
|
-
export class DurationFormat {
|
|
8
|
-
/***************************************************************************
|
|
9
|
-
* *
|
|
10
|
-
* Constructor *
|
|
11
|
-
* *
|
|
12
|
-
**************************************************************************/
|
|
13
|
-
constructor(formatStr, nanos, seconds, minutes, hours, days, months, years) {
|
|
14
|
-
this.formatStr = formatStr;
|
|
15
|
-
this.nanos = nanos;
|
|
16
|
-
this.seconds = seconds;
|
|
17
|
-
this.minutes = minutes;
|
|
18
|
-
this.hours = hours;
|
|
19
|
-
this.days = days;
|
|
20
|
-
this.months = months;
|
|
21
|
-
this.years = years;
|
|
22
|
-
}
|
|
23
|
-
static parse(format) {
|
|
24
|
-
if (format) {
|
|
25
|
-
if (format === DurationFormat.FORMAT_DYNAMIC) {
|
|
26
|
-
return DurationFormat.DYNAMIC;
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
return new DurationFormat(format, format.includes('nn'), format.includes('ss'), format.includes('mm'), format.includes('hh'), format.includes('dd'), format.includes('MM'), format.includes('yyyy'));
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
return DurationFormat.DEFAULT;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
/***************************************************************************
|
|
37
|
-
* *
|
|
38
|
-
* Public API *
|
|
39
|
-
* *
|
|
40
|
-
**************************************************************************/
|
|
41
|
-
bucket(periodDuration) {
|
|
42
|
-
if (!periodDuration) {
|
|
43
|
-
periodDuration = PeriodDuration.ofDuration(Duration.ZERO);
|
|
44
|
-
}
|
|
45
|
-
let period = periodDuration.period ?? Period.ZERO;
|
|
46
|
-
let duration = periodDuration.duration ?? Duration.ZERO;
|
|
47
|
-
let actualYears = null;
|
|
48
|
-
let actualMonths = null;
|
|
49
|
-
let actualDays = null;
|
|
50
|
-
let actualHours = null;
|
|
51
|
-
let actualMinutes = null;
|
|
52
|
-
let actualSeconds = null;
|
|
53
|
-
let actualNanos = null;
|
|
54
|
-
if (this.years) {
|
|
55
|
-
actualYears = period.years();
|
|
56
|
-
period = period.minusYears(actualYears);
|
|
57
|
-
if (this.yearsIsLast()) {
|
|
58
|
-
actualYears += this.remainderToYears(period, duration);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
if (this.months) {
|
|
62
|
-
actualMonths = period.months();
|
|
63
|
-
period = period.minusMonths(actualMonths);
|
|
64
|
-
if (this.monthsIsLast()) {
|
|
65
|
-
actualMonths += this.remainderToMonths(period, duration);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
if (this.days) {
|
|
69
|
-
const pdays = period.days();
|
|
70
|
-
const dDays = duration.toDays();
|
|
71
|
-
actualDays = pdays + dDays;
|
|
72
|
-
duration = duration.minusDays(dDays);
|
|
73
|
-
if (this.daysIsLast()) {
|
|
74
|
-
actualDays += this.remainderToDays(duration);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
duration = duration.plusDays(period.days()); // Transfer from Period to duration
|
|
79
|
-
}
|
|
80
|
-
if (this.hours) {
|
|
81
|
-
actualHours = duration.toHours();
|
|
82
|
-
duration = duration.minusHours(actualHours);
|
|
83
|
-
if (this.hoursIsLast()) {
|
|
84
|
-
actualHours += this.remainderToHours(duration);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
if (this.minutes) {
|
|
88
|
-
actualMinutes = duration.toMinutes();
|
|
89
|
-
duration = duration.minusMinutes(actualMinutes);
|
|
90
|
-
if (this.minutesIsLast()) {
|
|
91
|
-
actualMinutes += this.remainderToMinutes(duration);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
if (this.seconds) {
|
|
95
|
-
actualSeconds = duration.seconds();
|
|
96
|
-
duration = duration.minusSeconds(actualSeconds);
|
|
97
|
-
if (this.secondsIsLast()) {
|
|
98
|
-
actualSeconds += this.remainderToSeconds(duration);
|
|
99
|
-
duration = Duration.ZERO;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
if (this.nanos) {
|
|
103
|
-
actualNanos = duration.toNanos();
|
|
104
|
-
}
|
|
105
|
-
return new DurationBucket(actualNanos, actualSeconds, actualMinutes, actualHours, actualDays, actualMonths, actualYears);
|
|
106
|
-
}
|
|
107
|
-
format(duration) {
|
|
108
|
-
return this.formatDynamic(duration);
|
|
109
|
-
}
|
|
110
|
-
/***************************************************************************
|
|
111
|
-
* *
|
|
112
|
-
* Private methods *
|
|
113
|
-
* *
|
|
114
|
-
**************************************************************************/
|
|
115
|
-
secondsIsLast() {
|
|
116
|
-
return !this.nanos;
|
|
117
|
-
}
|
|
118
|
-
minutesIsLast() {
|
|
119
|
-
return this.secondsIsLast() && !this.seconds;
|
|
120
|
-
}
|
|
121
|
-
hoursIsLast() {
|
|
122
|
-
return this.minutesIsLast() && !this.minutes;
|
|
123
|
-
}
|
|
124
|
-
daysIsLast() {
|
|
125
|
-
return this.hoursIsLast() && !this.hours;
|
|
126
|
-
}
|
|
127
|
-
monthsIsLast() {
|
|
128
|
-
return this.daysIsLast() && !this.days;
|
|
129
|
-
}
|
|
130
|
-
yearsIsLast() {
|
|
131
|
-
return this.monthsIsLast() && !this.months;
|
|
132
|
-
}
|
|
133
|
-
remainderToSeconds(duration) {
|
|
134
|
-
let seconds = 0;
|
|
135
|
-
const nanos = duration?.toNanos();
|
|
136
|
-
if (nanos) {
|
|
137
|
-
seconds += nanos / 1000000000;
|
|
138
|
-
}
|
|
139
|
-
return seconds;
|
|
140
|
-
}
|
|
141
|
-
remainderToMinutes(duration) {
|
|
142
|
-
let minutes = 0;
|
|
143
|
-
const seconds = duration?.seconds();
|
|
144
|
-
if (seconds) {
|
|
145
|
-
minutes += seconds / 60;
|
|
146
|
-
duration = duration.minusSeconds(seconds);
|
|
147
|
-
}
|
|
148
|
-
minutes += this.remainderToSeconds(duration) / 60;
|
|
149
|
-
return minutes;
|
|
150
|
-
}
|
|
151
|
-
remainderToHours(duration) {
|
|
152
|
-
let hours = 0;
|
|
153
|
-
const minutes = duration?.toMinutes();
|
|
154
|
-
if (minutes) {
|
|
155
|
-
hours += minutes / 60;
|
|
156
|
-
duration = duration.minusMinutes(minutes);
|
|
157
|
-
}
|
|
158
|
-
hours += this.remainderToMinutes(duration) / 60;
|
|
159
|
-
return hours;
|
|
160
|
-
}
|
|
161
|
-
remainderToDays(duration) {
|
|
162
|
-
let days = 0;
|
|
163
|
-
const hours = duration?.toMinutes();
|
|
164
|
-
if (hours) {
|
|
165
|
-
days += hours / 24;
|
|
166
|
-
duration = duration.minusHours(hours);
|
|
167
|
-
}
|
|
168
|
-
days += this.remainderToHours(duration) / 24;
|
|
169
|
-
return days;
|
|
170
|
-
}
|
|
171
|
-
remainderToMonths(period, duration) {
|
|
172
|
-
let months = 0;
|
|
173
|
-
const pDays = period?.days();
|
|
174
|
-
if (pDays) {
|
|
175
|
-
months += pDays / 30; // Approximation
|
|
176
|
-
}
|
|
177
|
-
const dDays = duration?.toDays();
|
|
178
|
-
if (dDays) {
|
|
179
|
-
months += dDays / 30; // Approximation
|
|
180
|
-
duration = duration.minusDays(dDays);
|
|
181
|
-
}
|
|
182
|
-
months += this.remainderToDays(duration) / 30; // Approximation
|
|
183
|
-
return months;
|
|
184
|
-
}
|
|
185
|
-
remainderToYears(period, duration) {
|
|
186
|
-
let years = 0;
|
|
187
|
-
const months = period?.months();
|
|
188
|
-
if (months) {
|
|
189
|
-
years += months / 12;
|
|
190
|
-
period = period.minusMonths(months);
|
|
191
|
-
}
|
|
192
|
-
years += this.remainderToMonths(period, duration) / 12;
|
|
193
|
-
return years;
|
|
194
|
-
}
|
|
195
|
-
formatDynamic(duration) {
|
|
196
|
-
const bucket = this.bucket(duration);
|
|
197
|
-
const time = this.formatTime(bucket);
|
|
198
|
-
const period = this.formatPeriod(bucket);
|
|
199
|
-
if (period && time) {
|
|
200
|
-
return period + ' and ' + time;
|
|
201
|
-
}
|
|
202
|
-
else if (period) {
|
|
203
|
-
return period;
|
|
204
|
-
}
|
|
205
|
-
else if (time) {
|
|
206
|
-
return time;
|
|
207
|
-
}
|
|
208
|
-
else {
|
|
209
|
-
return '-';
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
formatPeriod(bucket) {
|
|
213
|
-
const parts = [];
|
|
214
|
-
if (bucket.years) {
|
|
215
|
-
parts.push(this.ceilAndFormatNumber(bucket.years) + 'yr');
|
|
216
|
-
}
|
|
217
|
-
if (bucket.months) {
|
|
218
|
-
parts.push(this.ceilAndFormatNumber(bucket.months) + 'mo');
|
|
219
|
-
}
|
|
220
|
-
if (bucket.days) {
|
|
221
|
-
parts.push(this.ceilAndFormatNumber(bucket.days) + 'd');
|
|
222
|
-
}
|
|
223
|
-
return parts.join(', ');
|
|
224
|
-
}
|
|
225
|
-
formatTime(bucket) {
|
|
226
|
-
const parts = [];
|
|
227
|
-
if (bucket.hours) {
|
|
228
|
-
parts.push(this.ceilAndFormatNumber(bucket.hours) + 'h');
|
|
229
|
-
}
|
|
230
|
-
if (bucket.minutes) {
|
|
231
|
-
parts.push(this.ceilAndFormatNumber(bucket.minutes) + 'min');
|
|
232
|
-
}
|
|
233
|
-
if (bucket.seconds) {
|
|
234
|
-
parts.push(this.ceilAndFormatNumber(bucket.seconds) + 'sec');
|
|
235
|
-
}
|
|
236
|
-
if (bucket.nanos) {
|
|
237
|
-
parts.push(this.formatNanos(bucket.nanos));
|
|
238
|
-
}
|
|
239
|
-
return parts.join(' ');
|
|
240
|
-
}
|
|
241
|
-
ceilAndFormatNumber(number) {
|
|
242
|
-
return Math.ceil(number * 10) / 10;
|
|
243
|
-
}
|
|
244
|
-
formatNanos(nanoseconds) {
|
|
245
|
-
const microseconds = nanoseconds / 1000;
|
|
246
|
-
const milliseconds = microseconds / 1000;
|
|
247
|
-
if (nanoseconds <= 999) {
|
|
248
|
-
return this.formatNumber(nanoseconds, 0) + ' ns';
|
|
249
|
-
}
|
|
250
|
-
else if (microseconds <= 999) {
|
|
251
|
-
return this.formatNumber(microseconds, 0) + ' µs';
|
|
252
|
-
}
|
|
253
|
-
else if (milliseconds <= 999) {
|
|
254
|
-
return this.formatNumber(milliseconds, 0) + ' ms';
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
formatNumber(value, precision) {
|
|
258
|
-
return +value.toFixed(precision);
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
/***************************************************************************
|
|
262
|
-
* *
|
|
263
|
-
* Static Builder *
|
|
264
|
-
* *
|
|
265
|
-
**************************************************************************/
|
|
266
|
-
DurationFormat.FORMAT_DYNAMIC = 'dynamic';
|
|
267
|
-
DurationFormat.FORMAT_HH_MM_SS = 'hh:mm:ss';
|
|
268
|
-
DurationFormat.FORMAT_HH_MM = 'hh:mm';
|
|
269
|
-
DurationFormat.DYNAMIC = new DurationFormat(DurationFormat.FORMAT_DYNAMIC, true, true, true, true, true, true, true);
|
|
270
|
-
DurationFormat.DEFAULT = DurationFormat.DYNAMIC;
|
|
271
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHVyYXRpb24tZm9ybWF0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZWxkZXJieXRlL25neC1zdGFydGVyL3NyYy9saWIvY29tcG9uZW50cy90aW1lL2R1cmF0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M7QUFDN0IsMkJBQVksR0FBRyxPQUFPLENBQUM7QUFFaEMsc0JBQU8sR0FBRyxJQUFJLGNBQWMsQ0FDeEMsY0FBYyxDQUFDLGNBQWMsRUFBRSxJQUFJLEVBQUUsSUFBSSxFQUFFLElBQUksRUFBRSxJQUFJLEVBQUUsSUFBSSxFQUFFLElBQUksRUFBRSxJQUFJLENBQ3hFLENBQUM7QUFFWSxzQkFBTyxHQUFHLGNBQWMsQ0FBQyxPQUFPLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0R1cmF0aW9uLCBQZXJpb2R9IGZyb20gJ0Bqcy1qb2RhL2NvcmUnO1xuaW1wb3J0IHtEdXJhdGlvbkJ1Y2tldH0gZnJvbSAnLi9kdXJhdGlvbi1idWNrZXQnO1xuaW1wb3J0IHtQZXJpb2REdXJhdGlvbn0gZnJvbSAnLi4vLi4vLi4vY29tbW9uL3RpbWUvcGVyaW9kLWR1cmF0aW9uJztcblxuLyoqXG4gKiB5eXl5Ok1NOmRkIGhoOm1tOnNzXG4gKi9cbmV4cG9ydCBjbGFzcyBEdXJhdGlvbkZvcm1hdCB7XG5cbiAgLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqIFN0YXRpYyBCdWlsZGVyICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovXG5cbiAgcHVibGljIHN0YXRpY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xuICAgICAgfVxuICAgIH0gZWxzZSB7XG4gICAgICByZXR1cm4gRHVyYXRpb25Gb3JtYXQuREVGQVVMVDtcbiAgICB9XG4gIH1cblxuICAvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogQ29uc3RydWN0b3IgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi9cblxuICBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgcmVhZG9ubHkgZm9ybWF0U3RyOiBzdHJpbmcsXG4gICAgcHVibGljIHJlYWRvbmx5IG5hbm9zOiBib29sZWFuLFxuICAgIHB1YmxpYyByZWFkb25seSBzZWNvbmRzOiBib29sZWFuLFxuICAgIHB1YmxpYyByZWFkb25seSBtaW51dGVzOiBib29sZWFuLFxuICAgIHB1YmxpYyByZWFkb25seSBob3VyczogYm9vbGVhbixcbiAgICBwdWJsaWMgcmVhZG9ubHkgZGF5czogYm9vbGVhbixcbiAgICBwdWJsaWMgcmVhZG9ubHkgbW9udGhzOiBib29sZWFuLFxuICAgIHB1YmxpYyByZWFkb25seSB5ZWFyczogYm9vbGVhbixcbiAgKSB7XG4gIH1cblxuICAvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogUHVibGljIEFQSSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi9cblxuICBwdWJsaWMgYnVja2V0KHBlcmlvZER1cmF0aW9uOiBQZXJpb2REdXJhdGlvbik6IER1cmF0aW9uQnVja2V0IHtcblxuICAgIGlmICghcGVyaW9kRHVyYXRpb24pIHtcbiAgICAgIHBlcmlvZER1cmF0aW9uID0gUGVyaW9kRHVyYXRpb24ub2ZEdXJhdGlvbihEdXJhdGlvbi5aRVJPKTtcbiAgICB9XG5cbiAgICBsZXQgcGVyaW9kID0gcGVyaW9kRHVyYXRpb24ucGVyaW9kID8/IFBlcmlvZC5aRVJPO1xuICAgIGxldCBkdXJhdGlvbiA9IHBlcmlvZER1cmF0aW9uLmR1cmF0aW9uID8/IER1cmF0aW9uLlpFUk87XG5cbiAgICBsZXQgYWN0dWFsWWVhcnM6IG51bWJlciA9IG51bGw7XG4gICAgbGV0IGFjdHVhbE1vbnRoczogbnVtYmVyID0gbnVsbDtcbiAgICBsZXQgYWN0dWFsRGF5czogbnVtYmVyID0gbnVsbDtcbiAgICBsZXQgYWN0dWFsSG91cnM6IG51bWJlciA9IG51bGw7XG4gICAgbGV0IGFjdHVhbE1pbnV0ZXM6IG51bWJlciA9IG51bGw7XG4gICAgbGV0IGFjdHVhbFNlY29uZHM6IG51bWJlciA9IG51bGw7XG4gICAgbGV0IGFjdHVhbE5hbm9zOiBudW1iZXIgPSBudWxsO1xuXG4gICAgaWYgKHRoaXMueWVhcnMpIHtcbiAgICAgIGFjdHVhbFllYX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VhbE5hbm9zLFxuICAgICAgYWN0dWFsU2Vjb25kcyxcbiAgICAgIGFjdHVhbE1pbnV0ZXMsXG4gICAgICBhY3R1YWxIb3VycyxcbiAgICAgIGFjdHVhbERheXMsXG4gICAgICBhY3R1YWxNb250aHMsXG4gICAgICBhY3R1YWxZZWFyc1xuICAgICk7XG4gIH1cblxuICBwdWJsaWMgZm9ybWF0KGR1cmF0aW9uOiBQZXJpb2REdXJhdGlvbik6IHN0cmluZyB7XG4gICAgcmV0dXJuIHRoaXMuZm9ybWF0RHluYW1pYyhkdXJhdGlvbik7XG4gIH1cblxuICAvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogUHJpdmF0ZSBtZXRob2RzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi9cblxuICBwcml2YXRlIHNlY29uZHNJc0xhc3QoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuICF0aGlzLm5hbm9zO1xuICB9XG5cbiAgcHJpdmF0ZSBtaW51dGVzSXNMYXN0KCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLnNlY29uZHNJc0xhc3QoKSAmJiAhdGhpcy5zZWNvbmRzO1xuICB9XG5cbiAgcHJpdmF0ZSBob3Vyc0lzTGFzdCgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5taW51dGVzSXNMYXN0KCkgJiYgIXRo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VjaXNpb246IG51bWJlcik6IG51bWJlciB7XG4gICAgcmV0dXJuICt2YWx1ZS50b0ZpeGVkKHByZWNpc2lvbik7XG4gIH1cblxufVxuIl19
|
package/esm2020/lib/components/time/duration/elder-duration-input/elder-duration-input.component.mjs
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, Input, Output } from '@angular/core';
|
|
2
|
-
import { FormFieldBaseComponent } from '../../../../common/forms/form-field-base.component';
|
|
3
|
-
import { Duration, Period } from '@js-joda/core';
|
|
4
|
-
import { buildFormIntegrationProviders } from '../../../../common/forms/template-composite-control';
|
|
5
|
-
import { ViewProviders } from '../../../../common/forms/view-providers';
|
|
6
|
-
import { LoggerFactory } from '@elderbyte/ts-logger';
|
|
7
|
-
import { map } from 'rxjs/operators';
|
|
8
|
-
import { BehaviorSubject, combineLatest } from 'rxjs';
|
|
9
|
-
import { DurationFormat } from '../duration-format';
|
|
10
|
-
import { PeriodDuration } from '../../../../common/time/period-duration';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "@angular/common";
|
|
13
|
-
import * as i2 from "@angular/flex-layout/flex";
|
|
14
|
-
import * as i3 from "@angular/forms";
|
|
15
|
-
import * as i4 from "@angular/material/form-field";
|
|
16
|
-
import * as i5 from "@angular/material/input";
|
|
17
|
-
import * as i6 from "../../../forms/directives/elder-form-field-no-spinner.directive";
|
|
18
|
-
class DurationInputContext {
|
|
19
|
-
constructor(bucket, format) {
|
|
20
|
-
this.bucket = bucket;
|
|
21
|
-
this.format = format;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export class ElderDurationInputComponent extends FormFieldBaseComponent {
|
|
25
|
-
/***************************************************************************
|
|
26
|
-
* *
|
|
27
|
-
* Constructor *
|
|
28
|
-
* *
|
|
29
|
-
**************************************************************************/
|
|
30
|
-
constructor() {
|
|
31
|
-
super();
|
|
32
|
-
/***************************************************************************
|
|
33
|
-
* *
|
|
34
|
-
* Fields *
|
|
35
|
-
* *
|
|
36
|
-
**************************************************************************/
|
|
37
|
-
this.logger = LoggerFactory.getLogger(this.constructor.name);
|
|
38
|
-
this.durationFormat$ = new BehaviorSubject(DurationFormat.DEFAULT);
|
|
39
|
-
this.durationContext$ = combineLatest([this.value$, this.durationFormat$]).pipe(map(([duration, format]) => {
|
|
40
|
-
return new DurationInputContext(format.bucket(PeriodDuration.ofDuration(duration)), format);
|
|
41
|
-
}));
|
|
42
|
-
}
|
|
43
|
-
/***************************************************************************
|
|
44
|
-
* *
|
|
45
|
-
* Life Cycle *
|
|
46
|
-
* *
|
|
47
|
-
**************************************************************************/
|
|
48
|
-
ngOnInit() {
|
|
49
|
-
}
|
|
50
|
-
/***************************************************************************
|
|
51
|
-
* *
|
|
52
|
-
* Properties *
|
|
53
|
-
* *
|
|
54
|
-
**************************************************************************/
|
|
55
|
-
get isoValueChange() {
|
|
56
|
-
return this.valueChange.pipe(map(duration => duration ? duration.toJSON() : null));
|
|
57
|
-
}
|
|
58
|
-
set isoValue(value) {
|
|
59
|
-
if (value) {
|
|
60
|
-
const pd = PeriodDuration.parse(value);
|
|
61
|
-
const duration = pd.duration ?? Duration.ZERO;
|
|
62
|
-
const period = pd.period ?? Period.ZERO;
|
|
63
|
-
this.value = duration.plusDays(period.days());
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
this.value = null;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* yyyy:MM:dd hh:mm:ss
|
|
71
|
-
* @param durationFormat
|
|
72
|
-
*/
|
|
73
|
-
set format(durationFormat) {
|
|
74
|
-
this.durationFormat = DurationFormat.parse(durationFormat);
|
|
75
|
-
}
|
|
76
|
-
set durationFormat(format) {
|
|
77
|
-
this.durationFormat$.next(format);
|
|
78
|
-
}
|
|
79
|
-
/***************************************************************************
|
|
80
|
-
* *
|
|
81
|
-
* Public API *
|
|
82
|
-
* *
|
|
83
|
-
**************************************************************************/
|
|
84
|
-
round(value) {
|
|
85
|
-
return Math.round(value);
|
|
86
|
-
}
|
|
87
|
-
onBucketChanged(bucket) {
|
|
88
|
-
this.value = bucket.toDuration();
|
|
89
|
-
}
|
|
90
|
-
valuesEquals(a, b) {
|
|
91
|
-
return (a && b)
|
|
92
|
-
? a.equals(b)
|
|
93
|
-
: a === b;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
ElderDurationInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: ElderDurationInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
97
|
-
ElderDurationInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: ElderDurationInputComponent, selector: "elder-duration-input", inputs: { isoValue: "isoValue", format: "format", durationFormat: "durationFormat" }, outputs: { isoValueChange: "isoValueChange" }, providers: buildFormIntegrationProviders(ElderDurationInputComponent), usesInheritance: true, ngImport: i0, template: "<div fxLayout=\"row\" fxFlex=\"none\" *ngIf=\"durationContext$ | async as durationCtx\">\n\n <mat-form-field class=\"duration-field\" *ngIf=\"durationCtx.format.days\">\n <input matInput elderNoSpinner\n [name]=\"name + '-inner-days'\"\n type=\"number\" class=\"duration-input\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [ngModel]=\"round(durationCtx?.bucket?.days)\"\n (ngModelChange)=\"onBucketChanged(durationCtx.bucket.withDays($event))\">\n <span matSuffix class=\"suffix\">d</span>\n </mat-form-field>\n\n <mat-form-field class=\"duration-field\" *ngIf=\"durationCtx.format.hours\">\n <input matInput elderNoSpinner\n [name]=\"name + '-inner-hours'\"\n type=\"number\" class=\"duration-input\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [ngModel]=\"round(durationCtx?.bucket?.hours)\"\n (ngModelChange)=\"onBucketChanged(durationCtx.bucket.withHours($event))\">\n <span matSuffix class=\"suffix\">h</span>\n </mat-form-field>\n\n <mat-form-field class=\"duration-field\" *ngIf=\"durationCtx.format.minutes\">\n <input matInput elderNoSpinner\n [name]=\"name + '-inner-minutes'\"\n type=\"number\" class=\"duration-input\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [ngModel]=\"round(durationCtx?.bucket?.minutes)\"\n (ngModelChange)=\"onBucketChanged(durationCtx.bucket.withMinutes($event))\">\n <span matSuffix class=\"suffix\">min</span>\n </mat-form-field>\n\n <mat-form-field class=\"duration-field\" *ngIf=\"durationCtx.format.seconds\">\n <input matInput elderNoSpinner\n [name]=\"name + '-inner-seconds'\"\n type=\"number\" class=\"duration-input\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [ngModel]=\"round(durationCtx?.bucket?.seconds)\"\n (ngModelChange)=\"onBucketChanged(durationCtx.bucket.withSeconds($event))\">\n <span matSuffix class=\"suffix\">sec</span>\n </mat-form-field>\n\n</div>\n", styles: [".duration-field{width:50px}.suffix{margin-left:4px;opacity:.7;font-size:12px}.duration-input{text-align:right}input.duration-input::-webkit-outer-spin-button,input.duration-input::-webkit-inner-spin-button{display:none}input.duration-input{-moz-appearance:textfield}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix]" }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i6.ElderFormFieldNoSpinnerDirective, selector: "input[elderNoSpinner]", inputs: ["elderNoSpinner"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], viewProviders: [ViewProviders.ParentControlContainer], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: ElderDurationInputComponent, decorators: [{
|
|
99
|
-
type: Component,
|
|
100
|
-
args: [{ selector: 'elder-duration-input', changeDetection: ChangeDetectionStrategy.OnPush, providers: buildFormIntegrationProviders(ElderDurationInputComponent), viewProviders: [ViewProviders.ParentControlContainer], template: "<div fxLayout=\"row\" fxFlex=\"none\" *ngIf=\"durationContext$ | async as durationCtx\">\n\n <mat-form-field class=\"duration-field\" *ngIf=\"durationCtx.format.days\">\n <input matInput elderNoSpinner\n [name]=\"name + '-inner-days'\"\n type=\"number\" class=\"duration-input\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [ngModel]=\"round(durationCtx?.bucket?.days)\"\n (ngModelChange)=\"onBucketChanged(durationCtx.bucket.withDays($event))\">\n <span matSuffix class=\"suffix\">d</span>\n </mat-form-field>\n\n <mat-form-field class=\"duration-field\" *ngIf=\"durationCtx.format.hours\">\n <input matInput elderNoSpinner\n [name]=\"name + '-inner-hours'\"\n type=\"number\" class=\"duration-input\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [ngModel]=\"round(durationCtx?.bucket?.hours)\"\n (ngModelChange)=\"onBucketChanged(durationCtx.bucket.withHours($event))\">\n <span matSuffix class=\"suffix\">h</span>\n </mat-form-field>\n\n <mat-form-field class=\"duration-field\" *ngIf=\"durationCtx.format.minutes\">\n <input matInput elderNoSpinner\n [name]=\"name + '-inner-minutes'\"\n type=\"number\" class=\"duration-input\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [ngModel]=\"round(durationCtx?.bucket?.minutes)\"\n (ngModelChange)=\"onBucketChanged(durationCtx.bucket.withMinutes($event))\">\n <span matSuffix class=\"suffix\">min</span>\n </mat-form-field>\n\n <mat-form-field class=\"duration-field\" *ngIf=\"durationCtx.format.seconds\">\n <input matInput elderNoSpinner\n [name]=\"name + '-inner-seconds'\"\n type=\"number\" class=\"duration-input\"\n [required]=\"required\"\n [readonly]=\"readonly\"\n [disabled]=\"disabled\"\n [ngModel]=\"round(durationCtx?.bucket?.seconds)\"\n (ngModelChange)=\"onBucketChanged(durationCtx.bucket.withSeconds($event))\">\n <span matSuffix class=\"suffix\">sec</span>\n </mat-form-field>\n\n</div>\n", styles: [".duration-field{width:50px}.suffix{margin-left:4px;opacity:.7;font-size:12px}.duration-input{text-align:right}input.duration-input::-webkit-outer-spin-button,input.duration-input::-webkit-inner-spin-button{display:none}input.duration-input{-moz-appearance:textfield}\n"] }]
|
|
101
|
-
}], ctorParameters: function () { return []; }, propDecorators: { isoValueChange: [{
|
|
102
|
-
type: Output
|
|
103
|
-
}], isoValue: [{
|
|
104
|
-
type: Input
|
|
105
|
-
}], format: [{
|
|
106
|
-
type: Input
|
|
107
|
-
}], durationFormat: [{
|
|
108
|
-
type: Input
|
|
109
|
-
}] } });
|
|
110
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxkZXItZHVyYXRpb24taW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZWxkZXJieXRlL25neC1zdGFydGVyL3NyYy9saWIvY29tcG9uZW50cy90aW1lL2R1cmF0aW9uL2VsZGVyLWR1cmF0aW9uLWlucHV0L2VsZGVyLWR1cmF0aW9uLWlucHV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VsZ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JvbENvbnRhaW5lcl1cbn0pXG5leHBvcnQgY2xhc3MgRWxkZXJEdXJhdGlvbklucHV0Q29tcG9uZW50IGV4dGVuZHMgRm9ybUZpZWxkQmFzZUNvbXBvbmVudDxEdXJhdGlvbj4gaW1wbGVtZW50cyBPbkluaXQge1xuXG5cbiAgLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqIEZpZWxkcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovXG5cbiAgcHJpdmF0ZSByZWFkb25seSBsb2dnZXIgPSBMb2dnZXJGYWN0b3J5LmdldExvZ2dlcih0aGlzLmNvbnN0cnVjdG9yLm5hbWUpO1xuXG4gIHB1YmxpYyByZWFkb25seSBkdXJhdGlvbkZvcm1hdCQgPSBuZXcgQmVoYXZpb3JTdWJqZWN0PER1cmF0aW9uRm9ybWF0PihEdXJhdGlvbkZvcm1hdC5ERUZBVUxUKTtcbiAgcHVibGljIHJlYWRvbmx5IGR1cmF0aW9uQ29udGV4dCQ6IE9ic2VydmFibGU8RHVyYXRpb25JbnB1dENvbnRleHQ+O1xuXG4gIC8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKiBDb25zdHJ1Y3RvciAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqL1xuXG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKCk7XG4gICAgdGhpcy5kdXJhdGlvbkNvbnRleHQkID0gY29tYmluZUxhdGVzdChbdGhpcy52YWx1ZSQsIHRoaXMuZHVyYXRpb25Gb3JtYXQkXSkucGlwZShcbiAgICAgIG1hcChcbiAgICAgICAgKFtkdXJhdGlvbiwgZm9ybWF0XSkgPT4ge1xuICAgICAgICAgIHJldHVybiBuZXcgRHVyYXRpb25JbnB1dENvbnRleHQoXG4gICAgICAgICAgICBmb3JtYXQuYnVja2V0KFBlcmlvZER1cmF0aW9uLm9mRHVyYXRpb24oZHVyYXRpb24pKSxcbiAgICAgICAgICAgIGZvcm1hdFxuICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgIClcbiAgICApO1xuICB9XG5cbiAgLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqIExpZmUgQ3ljbGUgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovXG5cbiAgcHVibGljIG5nT25Jbml0KCk6IHZvaWQge1xuICB9XG5cbiAgLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqIFByb3BlcnRpZXMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovXG5cbiAgQE91dHB1dCgpXG4gIHB1YmxpYyBnZXQgaXNvVmFsdWVDaGFuZ2UoKTogT2JzZXJ2YWJsZTxzdHJpbmcgfCBudWxsPiB7XG4gICAgcmV0dXJuIHRoaXMudmFsdWVDaGFuZ2UucGlwZShcbiAgICAgIG1hcChkdXJhdGlvbiA9PiBkdXJhdGlvbiA/IGR1cmF0aW9uLnRvSlNPTigpIDogbnVsbClcbiAgICApO1xuICB9XG5cbiAgQElucHV0KClcbiAgcHVibGljIHNldCBpc29WYWx1ZSh2YWx1ZTogc3RyaW5nIHwgbnVsbCkge1xuICAgIGlmICh2YWx1ZSkge1xuICAgICAgY29uc3QgcGQgPSBQZXJpb2REdXJhdGlvbi5wYXJzZSh2YWx1ZSk7XG4gICAgICBjb25zdCBkdXJhdGlvbiA9IHBkLmR1cmF0aW9uID8/IER1cmF0aW9uLlpFUk87XG4gICAgICBjb25zdCBwZXJpb2QgPSBwZC5wZXJpb2QgPz8gUGVyaW9kLlpFUk87XG4gICAgICB0aGlzLnZhbHVlID0gZHVyYXRpb24ucGx1c0RheXMocGVyaW9kLmRheXMoKSk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRoaXMudmFsdWUgPSBudWxsO1xuICAgIH1cbiAgfVxuXG4gIC8qKlxuICAgKiB5eXl5Ok1NOmRkIGhoOm1tOnNzXG4gICAqIEBwYXJhbSBkdXJhdGlvbkZvcm1hdFxuICAgKi9cbiAgQElucHV0KClcbiAgcHVibGljIHNldCBmb3JtYXQoZHVyYXRpb25Gb3JtYXQ6IHN0cmluZykge1xuICAgIHRoaXMuZHVyYXRpb25Gb3JtYXQgPSBEdXJhdGlvbkZvcm1hdC5wYXJzZShkdXJhdGlvbkZvcm1hdCk7XG4gIH1cblxuICBASW5wdXQoKVxuICBwdWJsaWMgc2V0IGR1cmF0aW9uRm9ybWF0KGZvcm1hdDogRHVyYXRpb25Gb3JtYXQpIHtcbiAgICB0aGlzLmR1cmF0aW9uRm9ybWF0JC5uZXh0KGZvcm1hdCk7XG4gIH1cblxuICAvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogUHVibGljIEFQSSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi9cblxuICBwdWJsaWMgcm91bmQodmFsdWU6IG51bWJlcik6IG51bWJlciB7XG4gICAgcmV0dXJuI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DxzcGFuIG1hdFN1ZmZpeCBjbGFzcz1cInN1ZmZpeFwiPnNlYzwvc3Bhbj5cbiAgPC9tYXQtZm9ybS1maWVsZD5cblxuPC9kaXY+XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXNvLWR1cmF0aW9uLXN0ci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VsZGVyYnl0ZS9uZ3gtc3RhcnRlci9zcmMvbGliL2NvbXBvbmVudHMvdGltZS9kdXJhdGlvbi9pc28tZHVyYXRpb24tc3RyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFJlcHJlc2VudHMgYSByYXcgSVNPIGR1cmF0aW9uIGZvcm1hdHRlZCBzdHJpbmcgc3VjaCBhcyAnUDIzRFQyM0gnXG4gKiBBIHBhcnNlZCBkdXJhdGlvbiBpcyByZXByZXNlbnRlZCBieSBhIGpvZGEgRHVyYXRpb24gY2xhc3MuXG4gKi9cbmV4cG9ydCB0eXBlIElzb0R1cmF0aW9uU3RyID0gc3RyaW5nO1xuIl19
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input, Output } from '@angular/core';
|
|
2
|
-
import { LoggerFactory } from '@elderbyte/ts-logger';
|
|
3
|
-
import { FormFieldBaseComponent } from '../../../common/forms/form-field-base.component';
|
|
4
|
-
import { LocalDate } from '@js-joda/core';
|
|
5
|
-
import { buildFormIntegrationProviders } from '../../../common/forms/template-composite-control';
|
|
6
|
-
import { ViewProviders } from '../../../common/forms/view-providers';
|
|
7
|
-
import { TimeUtil } from '../../../common/time/time-util';
|
|
8
|
-
import { map } from 'rxjs/operators';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "@angular/flex-layout/flex";
|
|
11
|
-
import * as i2 from "@angular/forms";
|
|
12
|
-
import * as i3 from "@angular/material/button";
|
|
13
|
-
import * as i4 from "@angular/material/icon";
|
|
14
|
-
import * as i5 from "@angular/material/tooltip";
|
|
15
|
-
import * as i6 from "../elder-local-date-input/elder-local-date-input.component";
|
|
16
|
-
import * as i7 from "@angular/common";
|
|
17
|
-
export class ElderDateSwitcherComponent extends FormFieldBaseComponent {
|
|
18
|
-
/***************************************************************************
|
|
19
|
-
* *
|
|
20
|
-
* Constructor *
|
|
21
|
-
* *
|
|
22
|
-
**************************************************************************/
|
|
23
|
-
constructor() {
|
|
24
|
-
super();
|
|
25
|
-
/***************************************************************************
|
|
26
|
-
* *
|
|
27
|
-
* Fields *
|
|
28
|
-
* *
|
|
29
|
-
**************************************************************************/
|
|
30
|
-
this.logger = LoggerFactory.getLogger(this.constructor.name);
|
|
31
|
-
/** If true, date picker functionality is enabled. */
|
|
32
|
-
this.datePickerEnabled = true;
|
|
33
|
-
/** If true, touch optimized mode of date picker is enabled. */
|
|
34
|
-
this.datePickerTouchUi = false;
|
|
35
|
-
this.updateValue(LocalDate.now());
|
|
36
|
-
}
|
|
37
|
-
/***************************************************************************
|
|
38
|
-
* *
|
|
39
|
-
* Life Cycle *
|
|
40
|
-
* *
|
|
41
|
-
**************************************************************************/
|
|
42
|
-
ngOnInit() { }
|
|
43
|
-
/***************************************************************************
|
|
44
|
-
* *
|
|
45
|
-
* Properties *
|
|
46
|
-
* *
|
|
47
|
-
**************************************************************************/
|
|
48
|
-
/**
|
|
49
|
-
* Emits date upon internal date change.
|
|
50
|
-
* @deprecated Migrate your code to use LocalDate
|
|
51
|
-
*/
|
|
52
|
-
get dateChange() {
|
|
53
|
-
return this.valueChange.pipe(map(localDate => localDate ? TimeUtil.localDateToDate(localDate) : null));
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @param date
|
|
57
|
-
* @deprecated Migrate your code to use LocalDate
|
|
58
|
-
*/
|
|
59
|
-
set date(date) {
|
|
60
|
-
this.value = date ? TimeUtil.dateToLocalDate(date) : null;
|
|
61
|
-
}
|
|
62
|
-
/***************************************************************************
|
|
63
|
-
* *
|
|
64
|
-
* Public API *
|
|
65
|
-
* *
|
|
66
|
-
**************************************************************************/
|
|
67
|
-
previousDay() {
|
|
68
|
-
this.updateValue(this.value.minusDays(1));
|
|
69
|
-
}
|
|
70
|
-
nextDay() {
|
|
71
|
-
this.updateValue(this.value.plusDays(1));
|
|
72
|
-
}
|
|
73
|
-
today() {
|
|
74
|
-
this.updateValue(LocalDate.now());
|
|
75
|
-
}
|
|
76
|
-
/***************************************************************************
|
|
77
|
-
* *
|
|
78
|
-
* Private Methods *
|
|
79
|
-
* *
|
|
80
|
-
**************************************************************************/
|
|
81
|
-
valuesEquals(a, b) {
|
|
82
|
-
return (a && b)
|
|
83
|
-
? a.equals(b)
|
|
84
|
-
: a === b;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
ElderDateSwitcherComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: ElderDateSwitcherComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
88
|
-
ElderDateSwitcherComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: ElderDateSwitcherComponent, selector: "elder-date-switcher, ebs-date-switcher", inputs: { datePickerEnabled: "datePickerEnabled", datePickerTouchUi: "datePickerTouchUi", date: "date" }, outputs: { dateChange: "dateChange" }, providers: buildFormIntegrationProviders(ElderDateSwitcherComponent), usesInheritance: true, ngImport: i0, template: "\n\n<form #frm=\"ngForm\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\">\n\n <button mat-icon-button type=\"button\" (click)=\"previousDay()\">\n <mat-icon>keyboard_arrow_left</mat-icon>\n </button>\n\n\n <elder-local-date-input\n name=\"date\" #dateInput\n [value]=\"value$ | async\"\n (valueChange)=\"updateValue($event)\"\n [datePickerEnabled]=\"false\"\n [datePickerTouchUi]=\"datePickerTouchUi\"\n [readonly]=\"true\" style=\"cursor: pointer\"\n (click)=\"dateInput.openDatePicker()\"\n ></elder-local-date-input>\n\n\n <button mat-icon-button type=\"button\" (click)=\"nextDay()\">\n <mat-icon>keyboard_arrow_right</mat-icon>\n </button>\n\n <button mat-icon-button type=\"button\" (click)=\"today()\" matTooltip=\"Today\">\n <mat-icon>event</mat-icon>\n </button>\n\n</form>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i6.ElderLocalDateInputComponent, selector: "elder-local-date-input", inputs: ["zone", "datePickerEnabled", "datePickerTouchUi", "allowNull", "isoValue", "dateValue", "isoDateValue"], outputs: ["blur", "valueUpdatedBlur", "isoValueChange", "dateValueChange", "isoDateValueChange"] }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }], viewProviders: [ViewProviders.ParentControlContainer], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: ElderDateSwitcherComponent, decorators: [{
|
|
90
|
-
type: Component,
|
|
91
|
-
args: [{ selector: 'elder-date-switcher, ebs-date-switcher', changeDetection: ChangeDetectionStrategy.OnPush, providers: buildFormIntegrationProviders(ElderDateSwitcherComponent), viewProviders: [ViewProviders.ParentControlContainer], template: "\n\n<form #frm=\"ngForm\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"10px\">\n\n <button mat-icon-button type=\"button\" (click)=\"previousDay()\">\n <mat-icon>keyboard_arrow_left</mat-icon>\n </button>\n\n\n <elder-local-date-input\n name=\"date\" #dateInput\n [value]=\"value$ | async\"\n (valueChange)=\"updateValue($event)\"\n [datePickerEnabled]=\"false\"\n [datePickerTouchUi]=\"datePickerTouchUi\"\n [readonly]=\"true\" style=\"cursor: pointer\"\n (click)=\"dateInput.openDatePicker()\"\n ></elder-local-date-input>\n\n\n <button mat-icon-button type=\"button\" (click)=\"nextDay()\">\n <mat-icon>keyboard_arrow_right</mat-icon>\n </button>\n\n <button mat-icon-button type=\"button\" (click)=\"today()\" matTooltip=\"Today\">\n <mat-icon>event</mat-icon>\n </button>\n\n</form>\n" }]
|
|
92
|
-
}], ctorParameters: function () { return []; }, propDecorators: { datePickerEnabled: [{
|
|
93
|
-
type: Input
|
|
94
|
-
}], datePickerTouchUi: [{
|
|
95
|
-
type: Input
|
|
96
|
-
}], dateChange: [{
|
|
97
|
-
type: Output
|
|
98
|
-
}], date: [{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zOiBbJy4vZWxkZXItZGF0ZS1zd2l0Y2hlci5jb21wb25lbnQuc2NzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbiAgcHJvdmlkZXJzOiBidWlsZEZvcm1JbnRlZ3JhdGlvblByb3ZpZGVycyhFbGRlckRhdGVTd2l0Y2hlckNvbXBvbmVudCksXG4gIHZpZXdQcm92aWRlcnM6IFtWaWV3UHJvdmlkZXJzLlBhcmVudENvbnRyb2xDb250YWluZXJdXG59KVxuZXhwb3J0IGNsYXNzIEVsZGVyRGF0ZVN3aXRjaGVyQ29tcG9uZW50IGV4dGVuZHMgRm9ybUZpZWxkQmFzZUNvbXBvbmVudDxMb2NhbERhdGU+IGltcGxlbWVudHMgT25Jbml0IHtcblxuICAvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogRmllbGRzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi9cblxuICBwcml2YXRlIHJlYWRvbmx5IGxvZ2dlciA9IExvZ2dlckZhY3RvcnkuZ2V0TG9nZ2VyKHRoaXMuY29uc3RydWN0b3IubmFtZSk7XG5cbiAgLyoqIElmIHRydWUsIGRhdGUgcGlja2VyIGZ1bmN0aW9uYWxpdHkgaXMgZW5hYmxlZC4gKi9cbiAgQElucHV0KClcbiAgcHVibGljIGRhdGVQaWNrZXJFbmFibGVkID0gdHJ1ZTtcblxuICAvKiogSWYgdHJ1ZSwgdG91Y2ggb3B0aW1pemVkIG1vZGUgb2YgZGF0ZSBwaWNrZXIgaXMgZW5hYmxlZC4gKi9cbiAgQElucHV0KClcbiAgcHVibGljIGRhdGVQaWNrZXJUb3VjaFVpID0gZmFsc2U7XG5cbiAgLyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqIENvbnN0cnVjdG9yICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovXG5cbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoKTtcbiAgICB0aGlzLnVwZGF0ZVZhbHVlKExvY2FsRGF0ZS5ub3coKSk7XG4gIH1cblxuICAvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogTGlmZSBDeWNsZSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi9cblxuICBwdWJsaWMgbmdPbkluaXQoKTogdm9pZCB7fVxuXG4gIC8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKiBQcm9wZXJ0aWVzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqL1xuXG4gIC8qKlxuICAgKiBFbWl0cyBkYXRlIHVwb24gaW50ZXJuYWwgZGF0ZSBjaGFuZ2UuXG4gICAqIEBkZXByZWNhdGVkIE1pZ3JhdGUgeW91ciBjb2RlIHRvIHVzZSBMb2NhbERhdGVcbiAgICovXG4gIEBPdXRwdXQoKVxuICBwdWJsaWMgZ2V0IGRhdGVDaGFuZ2UoKTogT2JzZXJ2YWJsZTxEYXRlPiB7XG4gICAgcmV0dXJuIHRoaXMudmFsdWVDaGFuZ2UucGlwZShcbiAgICAgIG1hcChsb2NhbERhdGUgPT4gbG9jYWxEYXRlID8gVGltZVV0aWwubG9jYWxEYXRlVG9EYXRlKGxvY2FsRGF0ZSkgOiBudWxsKVxuICAgICk7XG4gIH1cblxuICAvKipcbiAgICogQHBhcmFtIGRhdGVcbiAgICogQGRlcHJlY2F0ZWQgTWlncmF0ZSB5b3VyIGNvZGUgdG8gdXNlIExvY2FsRGF0ZVxuICAgKi9cbiAgQElucHV0KClcbiAgcHVibGljIHNldCBkYXRlKGRhdGU6IERhdGUpIHtcbiAgICB0aGlzLnZhbHVlID0gZGF0ZSA/IFRpbWVVdGlsLmRhdGVUb0xvY2FsRGF0ZShkYXRlKSA6IG51bGw7XG4gIH1cblxuICAvKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICogUHVibGljIEFQSSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi9cblxuICBwdWJsaWMgcHJldmlvdXNEYXkoKTogdm9pZCB7XG4gICAgdGhpcy51cGRhdGVWYWx1ZShcbiAgICAgIHRoaXMudmFsdWUubWludXNEYXlzKDEpXG4gICAgKTtcbiAgfVxuXG4gIHB1YmxpYyBuZXh0RGF5KCk6IHZvaWQge1xuICAgIHRoaXMudXBkYXRlVmFsdWUoXG4gICAgICB0aGlzLnZhbHVlLnBsdXNEYXlzKDEpXG4gICAgKTtcbiAgfVxuXG4gIHB1YmxpYyB0b2RheSgpOiB2b2lkIHtcbiAgICB0aGlzLnVwZGF0ZVZhbHVlKFxuICAgICAgTG9jYWxEYXRlLm5vdygpXG4gICAgKTtcbiAgfVxuXG4gIC8qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKlxuICAgKiBQcml2YXRlIE1ldGhvZHMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICpcbiAgICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqL1xuXG4gIHByb3RlY3RlZCB2YWx1ZXNFcXVhbHMoYTogTG9jYWxEYXRlLCBiOiBMb2NhbERhdGUpOiBib29sZWFuIHtcbiAgICByZXR1cm4gKGEgJiYgYilcbiAgICAgID8gYS5lcXVhbHMoYilcbiAgICAgIDogYSA9PT0gYjtcbiAgfVxuXG5cbn1cbiIsIlxuXG48Zm9ybSAjZnJtPVwibmdGb3JtXCIgZnhMYXlvdXQ9XCJyb3dcIiBmeExheW91dEFsaWduPVwic3RhcnQgY2VudGVyXCIgZnhMYXlvdXRHYXA9XCIxMHB4XCI+XG5cbiAgPGJ1dHRvbiBtYXQtaWNvbi1idXR0b24gdHlwZT1cImJ1dHRvblwiIChjbGljayk9XCJwcmV2aW91c0RheSgpXCI+XG4gICAgPG1hdC1pY29uPmtleWJvYXJkX2Fycm93X2xlZnQ8L21hdC1pY29uPlxuICA8L2J1dHRvbj5cblxuXG4gIDxlbGRlci1sb2NhbC1kYXRlLWlucHV0XG4gICAgbmFtZT1cImRhdGVcIiAjZGF0ZUlucHV0XG4gICAgW3ZhbHVlXT1cInZhbHVlJCB8IGFzeW5jXCJcbiAgICAodmFsdWVDaGFuZ2UpPVwidXBkYXRlVmFsdWUoJGV2ZW50KVwiXG4gICAgW2RhdGVQaWNrZXJFbmFibGVkXT1cImZhbHNlXCJcbiAgICBbZGF0ZVBpY2tlclRvdWNoVWldP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