@theseam/ui-common 0.2.9
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/asset-reader/asset-reader-helper.service.d.ts +7 -0
- package/asset-reader/asset-reader.module.d.ts +2 -0
- package/asset-reader/encrypted-asset-link.directive.d.ts +23 -0
- package/asset-reader/encrypted-asset-reader.d.ts +24 -0
- package/asset-reader/package.json +11 -0
- package/asset-reader/public-api.d.ts +4 -0
- package/asset-reader/theseam-ui-common-asset-reader.d.ts +4 -0
- package/asset-reader/theseam-ui-common-asset-reader.metadata.json +1 -0
- package/assets/.gitkeep +0 -0
- package/assets/vendor/intl-tel-input/css/intlTelInput.min.css +1 -0
- package/assets/vendor/intl-tel-input/img/flags.png +0 -0
- package/assets/vendor/intl-tel-input/img/flags@2x.png +0 -0
- package/assets/vendor/intl-tel-input/js/utils.js +501 -0
- package/breadcrumbs/breadcrumb.d.ts +11 -0
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.d.ts +10 -0
- package/breadcrumbs/breadcrumbs-resolver.d.ts +5 -0
- package/breadcrumbs/breadcrumbs.module.d.ts +2 -0
- package/breadcrumbs/breadcrumbs.service.d.ts +20 -0
- package/breadcrumbs/package.json +11 -0
- package/breadcrumbs/public-api.d.ts +5 -0
- package/breadcrumbs/theseam-ui-common-breadcrumbs.d.ts +4 -0
- package/breadcrumbs/theseam-ui-common-breadcrumbs.metadata.json +1 -0
- package/bundles/theseam-ui-common-asset-reader.umd.js +533 -0
- package/bundles/theseam-ui-common-asset-reader.umd.js.map +1 -0
- package/bundles/theseam-ui-common-breadcrumbs.umd.js +587 -0
- package/bundles/theseam-ui-common-breadcrumbs.umd.js.map +1 -0
- package/bundles/theseam-ui-common-buttons.umd.js +719 -0
- package/bundles/theseam-ui-common-buttons.umd.js.map +1 -0
- package/bundles/theseam-ui-common-card.umd.js +480 -0
- package/bundles/theseam-ui-common-card.umd.js.map +1 -0
- package/bundles/theseam-ui-common-checkbox.umd.js +650 -0
- package/bundles/theseam-ui-common-checkbox.umd.js.map +1 -0
- package/bundles/theseam-ui-common-confirm-dialog.umd.js +491 -0
- package/bundles/theseam-ui-common-confirm-dialog.umd.js.map +1 -0
- package/bundles/theseam-ui-common-core.umd.js +604 -0
- package/bundles/theseam-ui-common-core.umd.js.map +1 -0
- package/bundles/theseam-ui-common-data-exporter.umd.js +96 -0
- package/bundles/theseam-ui-common-data-exporter.umd.js.map +1 -0
- package/bundles/theseam-ui-common-data-filters.umd.js +888 -0
- package/bundles/theseam-ui-common-data-filters.umd.js.map +1 -0
- package/bundles/theseam-ui-common-datatable-dynamic.umd.js +1499 -0
- package/bundles/theseam-ui-common-datatable-dynamic.umd.js.map +1 -0
- package/bundles/theseam-ui-common-datatable.umd.js +2247 -0
- package/bundles/theseam-ui-common-datatable.umd.js.map +1 -0
- package/bundles/theseam-ui-common-dynamic-component-loader.umd.js +180 -0
- package/bundles/theseam-ui-common-dynamic-component-loader.umd.js.map +1 -0
- package/bundles/theseam-ui-common-dynamic.umd.js +1253 -0
- package/bundles/theseam-ui-common-dynamic.umd.js.map +1 -0
- package/bundles/theseam-ui-common-footer-bar.umd.js +49 -0
- package/bundles/theseam-ui-common-footer-bar.umd.js.map +1 -0
- package/bundles/theseam-ui-common-form-field-error.umd.js +884 -0
- package/bundles/theseam-ui-common-form-field-error.umd.js.map +1 -0
- package/bundles/theseam-ui-common-form-field.umd.js +914 -0
- package/bundles/theseam-ui-common-form-field.umd.js.map +1 -0
- package/bundles/theseam-ui-common-framework.umd.js +3344 -0
- package/bundles/theseam-ui-common-framework.umd.js.map +1 -0
- package/bundles/theseam-ui-common-graphql.umd.js +357 -0
- package/bundles/theseam-ui-common-graphql.umd.js.map +1 -0
- package/bundles/theseam-ui-common-icon.umd.js +890 -0
- package/bundles/theseam-ui-common-icon.umd.js.map +1 -0
- package/bundles/theseam-ui-common-layout.umd.js +119 -0
- package/bundles/theseam-ui-common-layout.umd.js.map +1 -0
- package/bundles/theseam-ui-common-loading.umd.js +152 -0
- package/bundles/theseam-ui-common-loading.umd.js.map +1 -0
- package/bundles/theseam-ui-common-menu.umd.js +1152 -0
- package/bundles/theseam-ui-common-menu.umd.js.map +1 -0
- package/bundles/theseam-ui-common-modal.umd.js +1669 -0
- package/bundles/theseam-ui-common-modal.umd.js.map +1 -0
- package/bundles/theseam-ui-common-models.umd.js +63 -0
- package/bundles/theseam-ui-common-models.umd.js.map +1 -0
- package/bundles/theseam-ui-common-popover.umd.js +504 -0
- package/bundles/theseam-ui-common-popover.umd.js.map +1 -0
- package/bundles/theseam-ui-common-progress.umd.js +420 -0
- package/bundles/theseam-ui-common-progress.umd.js.map +1 -0
- package/bundles/theseam-ui-common-scrollbar.umd.js +240 -0
- package/bundles/theseam-ui-common-scrollbar.umd.js.map +1 -0
- package/bundles/theseam-ui-common-services.umd.js +178 -0
- package/bundles/theseam-ui-common-services.umd.js.map +1 -0
- package/bundles/theseam-ui-common-shared.umd.js +1115 -0
- package/bundles/theseam-ui-common-shared.umd.js.map +1 -0
- package/bundles/theseam-ui-common-storage.umd.js +178 -0
- package/bundles/theseam-ui-common-storage.umd.js.map +1 -0
- package/bundles/theseam-ui-common-story-helpers.umd.js +795 -0
- package/bundles/theseam-ui-common-story-helpers.umd.js.map +1 -0
- package/bundles/theseam-ui-common-tabbed.umd.js +628 -0
- package/bundles/theseam-ui-common-tabbed.umd.js.map +1 -0
- package/bundles/theseam-ui-common-table-cell-type.umd.js +222 -0
- package/bundles/theseam-ui-common-table-cell-type.umd.js.map +1 -0
- package/bundles/theseam-ui-common-table-cell-types.umd.js +1174 -0
- package/bundles/theseam-ui-common-table-cell-types.umd.js.map +1 -0
- package/bundles/theseam-ui-common-table.umd.js +475 -0
- package/bundles/theseam-ui-common-table.umd.js.map +1 -0
- package/bundles/theseam-ui-common-tel-input.umd.js +1055 -0
- package/bundles/theseam-ui-common-tel-input.umd.js.map +1 -0
- package/bundles/theseam-ui-common-test-helpers.umd.js +94 -0
- package/bundles/theseam-ui-common-test-helpers.umd.js.map +1 -0
- package/bundles/theseam-ui-common-tiled-select.umd.js +849 -0
- package/bundles/theseam-ui-common-tiled-select.umd.js.map +1 -0
- package/bundles/theseam-ui-common-toggle-edit.umd.js +893 -0
- package/bundles/theseam-ui-common-toggle-edit.umd.js.map +1 -0
- package/bundles/theseam-ui-common-toggle-group.umd.js +629 -0
- package/bundles/theseam-ui-common-toggle-group.umd.js.map +1 -0
- package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js +136 -0
- package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js.map +1 -0
- package/bundles/theseam-ui-common-utils.umd.js +1245 -0
- package/bundles/theseam-ui-common-utils.umd.js.map +1 -0
- package/bundles/theseam-ui-common-validators.umd.js +105 -0
- package/bundles/theseam-ui-common-validators.umd.js.map +1 -0
- package/bundles/theseam-ui-common-viewers.umd.js +699 -0
- package/bundles/theseam-ui-common-viewers.umd.js.map +1 -0
- package/bundles/theseam-ui-common-widget.umd.js +1710 -0
- package/bundles/theseam-ui-common-widget.umd.js.map +1 -0
- package/bundles/theseam-ui-common.umd.js +54 -0
- package/bundles/theseam-ui-common.umd.js.map +1 -0
- package/buttons/badge-button/badge-button.component.d.ts +18 -0
- package/buttons/button/button.component.d.ts +28 -0
- package/buttons/buttons.module.d.ts +2 -0
- package/buttons/package.json +11 -0
- package/buttons/progress-circle-button/progress-circle-button.component.d.ts +19 -0
- package/buttons/public-api.d.ts +5 -0
- package/buttons/theseam-ui-common-buttons.d.ts +4 -0
- package/buttons/theseam-ui-common-buttons.metadata.json +1 -0
- package/buttons/toggle-button/toggle-button.component.d.ts +26 -0
- package/card/card-action/card-action.component.d.ts +9 -0
- package/card/card-body/card-body.component.d.ts +12 -0
- package/card/card-footer/card-footer.component.d.ts +5 -0
- package/card/card-header/card-header.component.d.ts +7 -0
- package/card/card.component.d.ts +6 -0
- package/card/card.module.d.ts +2 -0
- package/card/package.json +11 -0
- package/card/public-api.d.ts +6 -0
- package/card/theseam-ui-common-card.d.ts +4 -0
- package/card/theseam-ui-common-card.metadata.json +1 -0
- package/checkbox/checkbox.component.d.ts +140 -0
- package/checkbox/checkbox.module.d.ts +2 -0
- package/checkbox/package.json +11 -0
- package/checkbox/public-api.d.ts +2 -0
- package/checkbox/theseam-ui-common-checkbox.d.ts +4 -0
- package/checkbox/theseam-ui-common-checkbox.metadata.json +1 -0
- package/confirm-dialog/confirm-click.directive.d.ts +24 -0
- package/confirm-dialog/confirm-dialog.component.d.ts +6 -0
- package/confirm-dialog/confirm-dialog.module.d.ts +2 -0
- package/confirm-dialog/confirm-dialog.service.d.ts +11 -0
- package/confirm-dialog/package.json +11 -0
- package/confirm-dialog/public-api.d.ts +4 -0
- package/confirm-dialog/theseam-ui-common-confirm-dialog.d.ts +4 -0
- package/confirm-dialog/theseam-ui-common-confirm-dialog.metadata.json +1 -0
- package/core/common-behaviors/active.d.ts +8 -0
- package/core/common-behaviors/constructor.d.ts +9 -0
- package/core/common-behaviors/disabled.d.ts +17 -0
- package/core/common-behaviors/element-ref.d.ts +4 -0
- package/core/common-behaviors/index.d.ts +9 -0
- package/core/common-behaviors/initialized.d.ts +30 -0
- package/core/common-behaviors/renderer2.d.ts +4 -0
- package/core/common-behaviors/size.d.ts +9 -0
- package/core/common-behaviors/tabindex.d.ts +18 -0
- package/core/common-behaviors/theme.d.ts +10 -0
- package/core/input-decorators/index.d.ts +2 -0
- package/core/input-decorators/input-boolean.decorator.d.ts +12 -0
- package/core/input-decorators/input-number.decorator.d.ts +12 -0
- package/core/package.json +11 -0
- package/core/public-api.d.ts +2 -0
- package/core/theseam-ui-common-core.d.ts +4 -0
- package/core/theseam-ui-common-core.metadata.json +1 -0
- package/data-exporter/data-exporter.d.ts +30 -0
- package/data-exporter/data-exporter.module.d.ts +2 -0
- package/data-exporter/exporters/csv-exporter.d.ts +8 -0
- package/data-exporter/exporters/xlsx-exporter.d.ts +8 -0
- package/data-exporter/package.json +11 -0
- package/data-exporter/public-api.d.ts +4 -0
- package/data-exporter/theseam-ui-common-data-exporter.d.ts +4 -0
- package/data-exporter/theseam-ui-common-data-exporter.metadata.json +1 -0
- package/data-filters/data-filter-container.d.ts +8 -0
- package/data-filters/data-filter-def.d.ts +10 -0
- package/data-filters/data-filter.d.ts +49 -0
- package/data-filters/data-filters.module.d.ts +2 -0
- package/data-filters/filters/data-filter-search/data-filter-search.component.d.ts +36 -0
- package/data-filters/filters/data-filter-search/search-filter-options.d.ts +2 -0
- package/data-filters/filters/data-filter-text/data-filter-text.component.d.ts +34 -0
- package/data-filters/filters/data-filter-text/text-filter-options.d.ts +25 -0
- package/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.d.ts +43 -0
- package/data-filters/package.json +11 -0
- package/data-filters/public-api.d.ts +9 -0
- package/data-filters/theseam-ui-common-data-filters.d.ts +4 -0
- package/data-filters/theseam-ui-common-data-filters.metadata.json +1 -0
- package/datatable/datatable/datatable.component.d.ts +195 -0
- package/datatable/datatable-action-menu/datatable-action-menu.component.d.ts +15 -0
- package/datatable/datatable-action-menu-item/datatable-action-menu-item.component.d.ts +28 -0
- package/datatable/datatable-column/datatable-column.component.d.ts +41 -0
- package/datatable/datatable-column-preferences/datatable-column-preferences.component.d.ts +14 -0
- package/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.d.ts +6 -0
- package/datatable/datatable-export-button/datatable-export-button.component.d.ts +24 -0
- package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +17 -0
- package/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.d.ts +5 -0
- package/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.d.ts +5 -0
- package/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.d.ts +5 -0
- package/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.d.ts +5 -0
- package/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.d.ts +10 -0
- package/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.d.ts +5 -0
- package/datatable/datatable-row-detail/datatable-row-detail.directive.d.ts +37 -0
- package/datatable/datatable.module.d.ts +2 -0
- package/datatable/directives/datatable-action-menu-item.directive.d.ts +35 -0
- package/datatable/directives/datatable-action-menu-toggle.directive.d.ts +27 -0
- package/datatable/directives/datatable-cell-tpl.directive.d.ts +5 -0
- package/datatable/directives/datatable-filter.directive.d.ts +6 -0
- package/datatable/directives/datatable-row-action-item.directive.d.ts +5 -0
- package/datatable/models/datatable-accessor.d.ts +19 -0
- package/datatable/models/datatable-data-source.d.ts +14 -0
- package/datatable/models/datatable-gql-data-source.d.ts +7 -0
- package/datatable/models/menubar-item-data.d.ts +3 -0
- package/datatable/models/page-info.d.ts +6 -0
- package/datatable/models/preferences-accessor.d.ts +15 -0
- package/datatable/models/preferences.d.ts +9 -0
- package/datatable/models/sort-event.d.ts +4 -0
- package/datatable/models/sort-item.d.ts +4 -0
- package/datatable/models/table-column.d.ts +14 -0
- package/datatable/package.json +11 -0
- package/datatable/public-api.d.ts +38 -0
- package/datatable/services/datatable-column-changes.service.d.ts +6 -0
- package/datatable/services/datatable-preferences.service.d.ts +19 -0
- package/datatable/services/datatable-scrollbar-helper.service.d.ts +19 -0
- package/datatable/theseam-ui-common-datatable.d.ts +5 -0
- package/datatable/theseam-ui-common-datatable.metadata.json +1 -0
- package/datatable/tokens/datatable-accessor.d.ts +3 -0
- package/datatable/tokens/datatable-preferences-accessor.d.ts +3 -0
- package/datatable/tokens/menubar-item-data.d.ts +3 -0
- package/datatable/utils/with-stored-column-info.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.d.ts +32 -0
- package/datatable-dynamic/datatable-dynamic-def.d.ts +71 -0
- package/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.d.ts +15 -0
- package/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.d.ts +61 -0
- package/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.d.ts +16 -0
- package/datatable-dynamic/datatable-dynamic-menu-bar-token.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic.component.d.ts +89 -0
- package/datatable-dynamic/datatable-dynamic.module.d.ts +2 -0
- package/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.d.ts +73 -0
- package/datatable-dynamic/dynamic-datatable-def.service.d.ts +59 -0
- package/datatable-dynamic/dynamic-datatable-row-actions.service.d.ts +16 -0
- package/datatable-dynamic/models/dynamic-datatable-action-menu-record.d.ts +17 -0
- package/datatable-dynamic/models/dynamic-datatable-filter-menu-item.d.ts +7 -0
- package/datatable-dynamic/models/dynamic-datatable-menu-bar.d.ts +63 -0
- package/datatable-dynamic/models/dynamic-datatable-row-action-context.d.ts +5 -0
- package/datatable-dynamic/models/dynamic-datatable-row-action.d.ts +17 -0
- package/datatable-dynamic/models/index.d.ts +5 -0
- package/datatable-dynamic/package.json +11 -0
- package/datatable-dynamic/public-api.d.ts +13 -0
- package/datatable-dynamic/theseam-ui-common-datatable-dynamic.d.ts +4 -0
- package/datatable-dynamic/theseam-ui-common-datatable-dynamic.metadata.json +1 -0
- package/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.d.ts +2 -0
- package/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.d.ts +2 -0
- package/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.d.ts +2 -0
- package/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.d.ts +2 -0
- package/datatable-dynamic/utils/index.d.ts +4 -0
- package/dynamic/action/api/dynamic-action-api-def.d.ts +35 -0
- package/dynamic/action/api/dynamic-action-api-errors.d.ts +1 -0
- package/dynamic/action/api/dynamic-action-api.d.ts +3 -0
- package/dynamic/action/api/dynamic-action-api.service.d.ts +30 -0
- package/dynamic/action/dynamic-action-helper.service.d.ts +36 -0
- package/dynamic/action/index.d.ts +10 -0
- package/dynamic/action/link/dynamic-action-link-def.d.ts +58 -0
- package/dynamic/action/link/dynamic-action-link.d.ts +3 -0
- package/dynamic/action/link/dynamic-action-link.service.d.ts +14 -0
- package/dynamic/action/modal/dynamic-action-modal-def.d.ts +10 -0
- package/dynamic/action/modal/dynamic-action-modal.d.ts +3 -0
- package/dynamic/action/modal/dynamic-action-modal.service.d.ts +29 -0
- package/dynamic/dynamic-value-helper.service.d.ts +34 -0
- package/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.d.ts +16 -0
- package/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.d.ts +8 -0
- package/dynamic/evaluators/exporters-data-evaluator/index.d.ts +2 -0
- package/dynamic/evaluators/index.d.ts +2 -0
- package/dynamic/evaluators/jexl-evaluator/index.d.ts +2 -0
- package/dynamic/evaluators/jexl-evaluator/jexl-evaluator.d.ts +9 -0
- package/dynamic/evaluators/jexl-evaluator/jexl-value.d.ts +11 -0
- package/dynamic/models/dynamic-action-confirm-def.d.ts +10 -0
- package/dynamic/models/dynamic-action-context.d.ts +2 -0
- package/dynamic/models/dynamic-action-def.d.ts +9 -0
- package/dynamic/models/dynamic-action-ui-anchor-def.d.ts +39 -0
- package/dynamic/models/dynamic-action-ui-button-def.d.ts +13 -0
- package/dynamic/models/dynamic-action-ui-def.d.ts +37 -0
- package/dynamic/models/dynamic-action.d.ts +11 -0
- package/dynamic/models/dynamic-value-base-type.d.ts +4 -0
- package/dynamic/models/dynamic-value-evaluatable-type.d.ts +2 -0
- package/dynamic/models/dynamic-value-evaluator.d.ts +6 -0
- package/dynamic/models/dynamic-value-primitive.d.ts +1 -0
- package/dynamic/models/dynamic-value-type.d.ts +4 -0
- package/dynamic/models/dynamic-value.d.ts +3 -0
- package/dynamic/models/index.d.ts +13 -0
- package/dynamic/package.json +11 -0
- package/dynamic/public-api.d.ts +6 -0
- package/dynamic/theseam-ui-common-dynamic.d.ts +4 -0
- package/dynamic/theseam-ui-common-dynamic.metadata.json +1 -0
- package/dynamic/tokens/api-config.d.ts +30 -0
- package/dynamic/tokens/dynamic-action.d.ts +3 -0
- package/dynamic/tokens/dynamic-data.d.ts +2 -0
- package/dynamic/tokens/dynamic-value-evaluator.d.ts +3 -0
- package/dynamic/tokens/index.d.ts +4 -0
- package/dynamic/utils/index.d.ts +1 -0
- package/dynamic/utils/is-action-type.d.ts +2 -0
- package/dynamic-component-loader/dynamic-component-loader.module.d.ts +7 -0
- package/dynamic-component-loader/dynamic-component-loader.service.d.ts +15 -0
- package/dynamic-component-loader/dynamic-component-manifest.d.ts +9 -0
- package/dynamic-component-loader/dynamic-component-tokens.d.ts +4 -0
- package/dynamic-component-loader/package.json +11 -0
- package/dynamic-component-loader/public-api.d.ts +4 -0
- package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.d.ts +4 -0
- package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.metadata.json +1 -0
- package/esm2015/asset-reader/asset-reader-helper.service.js +68 -0
- package/esm2015/asset-reader/asset-reader.module.js +15 -0
- package/esm2015/asset-reader/encrypted-asset-link.directive.js +69 -0
- package/esm2015/asset-reader/encrypted-asset-reader.js +20 -0
- package/esm2015/asset-reader/public-api.js +5 -0
- package/esm2015/asset-reader/theseam-ui-common-asset-reader.js +5 -0
- package/esm2015/breadcrumbs/breadcrumb.js +2 -0
- package/esm2015/breadcrumbs/breadcrumbs/breadcrumbs.component.js +21 -0
- package/esm2015/breadcrumbs/breadcrumbs-resolver.js +2 -0
- package/esm2015/breadcrumbs/breadcrumbs.module.js +21 -0
- package/esm2015/breadcrumbs/breadcrumbs.service.js +158 -0
- package/esm2015/breadcrumbs/public-api.js +6 -0
- package/esm2015/breadcrumbs/theseam-ui-common-breadcrumbs.js +5 -0
- package/esm2015/buttons/badge-button/badge-button.component.js +79 -0
- package/esm2015/buttons/button/button.component.js +111 -0
- package/esm2015/buttons/buttons.module.js +34 -0
- package/esm2015/buttons/progress-circle-button/progress-circle-button.component.js +60 -0
- package/esm2015/buttons/public-api.js +6 -0
- package/esm2015/buttons/theseam-ui-common-buttons.js +5 -0
- package/esm2015/buttons/toggle-button/toggle-button.component.js +88 -0
- package/esm2015/card/card-action/card-action.component.js +27 -0
- package/esm2015/card/card-body/card-body.component.js +32 -0
- package/esm2015/card/card-footer/card-footer.component.js +15 -0
- package/esm2015/card/card-header/card-header.component.js +22 -0
- package/esm2015/card/card.component.js +20 -0
- package/esm2015/card/card.module.js +33 -0
- package/esm2015/card/public-api.js +7 -0
- package/esm2015/card/theseam-ui-common-card.js +5 -0
- package/esm2015/checkbox/checkbox.component.js +276 -0
- package/esm2015/checkbox/checkbox.module.js +21 -0
- package/esm2015/checkbox/public-api.js +3 -0
- package/esm2015/checkbox/theseam-ui-common-checkbox.js +5 -0
- package/esm2015/confirm-dialog/confirm-click.directive.js +62 -0
- package/esm2015/confirm-dialog/confirm-dialog.component.js +20 -0
- package/esm2015/confirm-dialog/confirm-dialog.module.js +35 -0
- package/esm2015/confirm-dialog/confirm-dialog.service.js +38 -0
- package/esm2015/confirm-dialog/public-api.js +5 -0
- package/esm2015/confirm-dialog/theseam-ui-common-confirm-dialog.js +5 -0
- package/esm2015/core/common-behaviors/active.js +13 -0
- package/esm2015/core/common-behaviors/constructor.js +9 -0
- package/esm2015/core/common-behaviors/disabled.js +20 -0
- package/esm2015/core/common-behaviors/element-ref.js +2 -0
- package/esm2015/core/common-behaviors/index.js +10 -0
- package/esm2015/core/common-behaviors/initialized.js +62 -0
- package/esm2015/core/common-behaviors/renderer2.js +2 -0
- package/esm2015/core/common-behaviors/size.js +24 -0
- package/esm2015/core/common-behaviors/tabindex.js +22 -0
- package/esm2015/core/common-behaviors/theme.js +24 -0
- package/esm2015/core/input-decorators/index.js +3 -0
- package/esm2015/core/input-decorators/input-boolean.decorator.js +27 -0
- package/esm2015/core/input-decorators/input-number.decorator.js +27 -0
- package/esm2015/core/public-api.js +3 -0
- package/esm2015/core/theseam-ui-common-core.js +5 -0
- package/esm2015/data-exporter/data-exporter.js +7 -0
- package/esm2015/data-exporter/data-exporter.module.js +17 -0
- package/esm2015/data-exporter/exporters/csv-exporter.js +32 -0
- package/esm2015/data-exporter/exporters/xlsx-exporter.js +30 -0
- package/esm2015/data-exporter/public-api.js +5 -0
- package/esm2015/data-exporter/theseam-ui-common-data-exporter.js +5 -0
- package/esm2015/data-filters/data-filter-container.js +3 -0
- package/esm2015/data-filters/data-filter-def.js +3 -0
- package/esm2015/data-filters/data-filter.js +22 -0
- package/esm2015/data-filters/data-filters.module.js +50 -0
- package/esm2015/data-filters/filters/data-filter-search/data-filter-search.component.js +110 -0
- package/esm2015/data-filters/filters/data-filter-search/search-filter-options.js +2 -0
- package/esm2015/data-filters/filters/data-filter-text/data-filter-text.component.js +138 -0
- package/esm2015/data-filters/filters/data-filter-text/text-filter-options.js +2 -0
- package/esm2015/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.js +151 -0
- package/esm2015/data-filters/public-api.js +10 -0
- package/esm2015/data-filters/theseam-ui-common-data-filters.js +5 -0
- package/esm2015/datatable/datatable/datatable.component.js +584 -0
- package/esm2015/datatable/datatable-action-menu/datatable-action-menu.component.js +101 -0
- package/esm2015/datatable/datatable-action-menu-item/datatable-action-menu-item.component.js +30 -0
- package/esm2015/datatable/datatable-column/datatable-column.component.js +83 -0
- package/esm2015/datatable/datatable-column-preferences/datatable-column-preferences.component.js +46 -0
- package/esm2015/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.js +18 -0
- package/esm2015/datatable/datatable-export-button/datatable-export-button.component.js +98 -0
- package/esm2015/datatable/datatable-menu-bar/datatable-menu-bar.component.js +55 -0
- package/esm2015/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.js +16 -0
- package/esm2015/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.js +16 -0
- package/esm2015/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.js +16 -0
- package/esm2015/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.js +16 -0
- package/esm2015/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.js +32 -0
- package/esm2015/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.js +15 -0
- package/esm2015/datatable/datatable-row-detail/datatable-row-detail.directive.js +69 -0
- package/esm2015/datatable/datatable.module.js +120 -0
- package/esm2015/datatable/directives/datatable-action-menu-item.directive.js +46 -0
- package/esm2015/datatable/directives/datatable-action-menu-toggle.directive.js +128 -0
- package/esm2015/datatable/directives/datatable-cell-tpl.directive.js +15 -0
- package/esm2015/datatable/directives/datatable-filter.directive.js +21 -0
- package/esm2015/datatable/directives/datatable-row-action-item.directive.js +15 -0
- package/esm2015/datatable/models/datatable-accessor.js +2 -0
- package/esm2015/datatable/models/datatable-data-source.js +42 -0
- package/esm2015/datatable/models/datatable-gql-data-source.js +15 -0
- package/esm2015/datatable/models/menubar-item-data.js +2 -0
- package/esm2015/datatable/models/page-info.js +2 -0
- package/esm2015/datatable/models/preferences-accessor.js +2 -0
- package/esm2015/datatable/models/preferences.js +2 -0
- package/esm2015/datatable/models/sort-event.js +2 -0
- package/esm2015/datatable/models/sort-item.js +2 -0
- package/esm2015/datatable/models/table-column.js +2 -0
- package/esm2015/datatable/public-api.js +39 -0
- package/esm2015/datatable/services/datatable-column-changes.service.js +17 -0
- package/esm2015/datatable/services/datatable-preferences.service.js +113 -0
- package/esm2015/datatable/services/datatable-scrollbar-helper.service.js +51 -0
- package/esm2015/datatable/theseam-ui-common-datatable.js +6 -0
- package/esm2015/datatable/tokens/datatable-accessor.js +3 -0
- package/esm2015/datatable/tokens/datatable-preferences-accessor.js +3 -0
- package/esm2015/datatable/tokens/menubar-item-data.js +3 -0
- package/esm2015/datatable/utils/with-stored-column-info.js +20 -0
- package/esm2015/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.js +119 -0
- package/esm2015/datatable-dynamic/datatable-dynamic-def.js +2 -0
- package/esm2015/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.js +53 -0
- package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.js +160 -0
- package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.js +2 -0
- package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-token.js +3 -0
- package/esm2015/datatable-dynamic/datatable-dynamic.component.js +75 -0
- package/esm2015/datatable-dynamic/datatable-dynamic.module.js +49 -0
- package/esm2015/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.js +408 -0
- package/esm2015/datatable-dynamic/dynamic-datatable-def.service.js +84 -0
- package/esm2015/datatable-dynamic/dynamic-datatable-row-actions.service.js +47 -0
- package/esm2015/datatable-dynamic/models/dynamic-datatable-action-menu-record.js +2 -0
- package/esm2015/datatable-dynamic/models/dynamic-datatable-filter-menu-item.js +2 -0
- package/esm2015/datatable-dynamic/models/dynamic-datatable-menu-bar.js +2 -0
- package/esm2015/datatable-dynamic/models/dynamic-datatable-row-action-context.js +2 -0
- package/esm2015/datatable-dynamic/models/dynamic-datatable-row-action.js +2 -0
- package/esm2015/datatable-dynamic/models/index.js +6 -0
- package/esm2015/datatable-dynamic/public-api.js +14 -0
- package/esm2015/datatable-dynamic/theseam-ui-common-datatable-dynamic.js +5 -0
- package/esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.js +8 -0
- package/esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.js +13 -0
- package/esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.js +6 -0
- package/esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.js +6 -0
- package/esm2015/datatable-dynamic/utils/index.js +5 -0
- package/esm2015/dynamic/action/api/dynamic-action-api-def.js +2 -0
- package/esm2015/dynamic/action/api/dynamic-action-api-errors.js +4 -0
- package/esm2015/dynamic/action/api/dynamic-action-api.js +2 -0
- package/esm2015/dynamic/action/api/dynamic-action-api.service.js +215 -0
- package/esm2015/dynamic/action/dynamic-action-helper.service.js +163 -0
- package/esm2015/dynamic/action/index.js +11 -0
- package/esm2015/dynamic/action/link/dynamic-action-link-def.js +2 -0
- package/esm2015/dynamic/action/link/dynamic-action-link.js +2 -0
- package/esm2015/dynamic/action/link/dynamic-action-link.service.js +50 -0
- package/esm2015/dynamic/action/modal/dynamic-action-modal-def.js +2 -0
- package/esm2015/dynamic/action/modal/dynamic-action-modal.js +2 -0
- package/esm2015/dynamic/action/modal/dynamic-action-modal.service.js +92 -0
- package/esm2015/dynamic/dynamic-value-helper.service.js +101 -0
- package/esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.js +33 -0
- package/esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.js +2 -0
- package/esm2015/dynamic/evaluators/exporters-data-evaluator/index.js +3 -0
- package/esm2015/dynamic/evaluators/index.js +3 -0
- package/esm2015/dynamic/evaluators/jexl-evaluator/index.js +3 -0
- package/esm2015/dynamic/evaluators/jexl-evaluator/jexl-evaluator.js +29 -0
- package/esm2015/dynamic/evaluators/jexl-evaluator/jexl-value.js +2 -0
- package/esm2015/dynamic/models/dynamic-action-confirm-def.js +2 -0
- package/esm2015/dynamic/models/dynamic-action-context.js +2 -0
- package/esm2015/dynamic/models/dynamic-action-def.js +3 -0
- package/esm2015/dynamic/models/dynamic-action-ui-anchor-def.js +2 -0
- package/esm2015/dynamic/models/dynamic-action-ui-button-def.js +2 -0
- package/esm2015/dynamic/models/dynamic-action-ui-def.js +2 -0
- package/esm2015/dynamic/models/dynamic-action.js +2 -0
- package/esm2015/dynamic/models/dynamic-value-base-type.js +2 -0
- package/esm2015/dynamic/models/dynamic-value-evaluatable-type.js +2 -0
- package/esm2015/dynamic/models/dynamic-value-evaluator.js +2 -0
- package/esm2015/dynamic/models/dynamic-value-primitive.js +2 -0
- package/esm2015/dynamic/models/dynamic-value-type.js +2 -0
- package/esm2015/dynamic/models/dynamic-value.js +2 -0
- package/esm2015/dynamic/models/index.js +14 -0
- package/esm2015/dynamic/public-api.js +7 -0
- package/esm2015/dynamic/theseam-ui-common-dynamic.js +5 -0
- package/esm2015/dynamic/tokens/api-config.js +29 -0
- package/esm2015/dynamic/tokens/dynamic-action.js +3 -0
- package/esm2015/dynamic/tokens/dynamic-data.js +3 -0
- package/esm2015/dynamic/tokens/dynamic-value-evaluator.js +3 -0
- package/esm2015/dynamic/tokens/index.js +5 -0
- package/esm2015/dynamic/utils/index.js +2 -0
- package/esm2015/dynamic/utils/is-action-type.js +4 -0
- package/esm2015/dynamic-component-loader/dynamic-component-loader.module.js +47 -0
- package/esm2015/dynamic-component-loader/dynamic-component-loader.service.js +91 -0
- package/esm2015/dynamic-component-loader/dynamic-component-manifest.js +2 -0
- package/esm2015/dynamic-component-loader/dynamic-component-tokens.js +5 -0
- package/esm2015/dynamic-component-loader/public-api.js +5 -0
- package/esm2015/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.js +5 -0
- package/esm2015/footer-bar/footer-bar/footer-bar.component.js +16 -0
- package/esm2015/footer-bar/footer-bar.module.js +15 -0
- package/esm2015/footer-bar/public-api.js +3 -0
- package/esm2015/footer-bar/theseam-ui-common-footer-bar.js +5 -0
- package/esm2015/form-field/form-field-error.directive.js +28 -0
- package/esm2015/form-field/form-field-help-text.directive.js +15 -0
- package/esm2015/form-field/form-field-label-tpl.directive.js +15 -0
- package/esm2015/form-field/form-field-required-indicator.component.js +38 -0
- package/esm2015/form-field/form-field.component.js +193 -0
- package/esm2015/form-field/form-field.module.js +40 -0
- package/esm2015/form-field/input.directive.js +195 -0
- package/esm2015/form-field/public-api.js +8 -0
- package/esm2015/form-field/theseam-ui-common-form-field.js +5 -0
- package/esm2015/form-field-error/form-field-error/form-field-error.component.js +27 -0
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.js +25 -0
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item.directive.js +18 -0
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list.component.js +370 -0
- package/esm2015/form-field-error/form-field-error.module.js +28 -0
- package/esm2015/form-field-error/public-api.js +6 -0
- package/esm2015/form-field-error/theseam-ui-common-form-field-error.js +5 -0
- package/esm2015/framework/base-layout/base-layout-action.js +2 -0
- package/esm2015/framework/base-layout/base-layout-nav.js +2 -0
- package/esm2015/framework/base-layout/base-layout-ref.js +2 -0
- package/esm2015/framework/base-layout/base-layout-tokens.js +3 -0
- package/esm2015/framework/base-layout/base-layout.component.js +117 -0
- package/esm2015/framework/base-layout/base-layout.module.js +45 -0
- package/esm2015/framework/base-layout/directives/base-layout-content-footer.directive.js +15 -0
- package/esm2015/framework/base-layout/directives/base-layout-content-header.directive.js +15 -0
- package/esm2015/framework/base-layout/directives/base-layout-content.directive.js +15 -0
- package/esm2015/framework/base-layout/directives/base-layout-nav-toggle.directive.js +37 -0
- package/esm2015/framework/base-layout/directives/base-layout-side-bar.directive.js +15 -0
- package/esm2015/framework/base-layout/directives/base-layout-top-bar.directive.js +15 -0
- package/esm2015/framework/base-layout/index.js +13 -0
- package/esm2015/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.js +19 -0
- package/esm2015/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.js +25 -0
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.js +121 -0
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-item.js +2 -0
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.js +3 -0
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.js +2 -0
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.js +173 -0
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.component.js +176 -0
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.service.js +165 -0
- package/esm2015/framework/dashboard/dashboard.component.js +25 -0
- package/esm2015/framework/dashboard/dashboard.module.js +39 -0
- package/esm2015/framework/dashboard/index.js +12 -0
- package/esm2015/framework/dynamic-router/dynamic-route-def.js +2 -0
- package/esm2015/framework/dynamic-router/dynamic-router.module.js +21 -0
- package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.js +256 -0
- package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.js +114 -0
- package/esm2015/framework/dynamic-router/index.js +6 -0
- package/esm2015/framework/dynamic-router/resolvers/hierarchy-level.resolver.js +26 -0
- package/esm2015/framework/public-api.js +7 -0
- package/esm2015/framework/schema-form/index.js +4 -0
- package/esm2015/framework/schema-form/schema-form-framework.component.js +16 -0
- package/esm2015/framework/schema-form/schema-form-framework.js +27 -0
- package/esm2015/framework/schema-form/schema-form.module.js +35 -0
- package/esm2015/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.js +41 -0
- package/esm2015/framework/schema-form-controls/schema-form-controls.module.js +50 -0
- package/esm2015/framework/schema-form-controls/schema-form-input/schema-form-input.component.js +34 -0
- package/esm2015/framework/schema-form-controls/schema-form-number/schema-form-number.component.js +40 -0
- package/esm2015/framework/schema-form-controls/schema-form-select/schema-form-select.component.js +36 -0
- package/esm2015/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.js +46 -0
- package/esm2015/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.js +142 -0
- package/esm2015/framework/side-nav/index.js +7 -0
- package/esm2015/framework/side-nav/side-nav-item/side-nav-item.component.js +151 -0
- package/esm2015/framework/side-nav/side-nav-toggle/side-nav-toggle.component.js +36 -0
- package/esm2015/framework/side-nav/side-nav-utils.js +81 -0
- package/esm2015/framework/side-nav/side-nav.component.js +195 -0
- package/esm2015/framework/side-nav/side-nav.models.js +2 -0
- package/esm2015/framework/side-nav/side-nav.module.js +37 -0
- package/esm2015/framework/side-nav/side-nav.service.js +174 -0
- package/esm2015/framework/theseam-ui-common-framework.js +13 -0
- package/esm2015/framework/top-bar/index.js +8 -0
- package/esm2015/framework/top-bar/top-bar-item.directive.js +15 -0
- package/esm2015/framework/top-bar/top-bar-menu-btn-detail.directive.js +15 -0
- package/esm2015/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.js +53 -0
- package/esm2015/framework/top-bar/top-bar-menu.directive.js +16 -0
- package/esm2015/framework/top-bar/top-bar-title/top-bar-title.component.js +19 -0
- package/esm2015/framework/top-bar/top-bar.component.js +82 -0
- package/esm2015/framework/top-bar/top-bar.module.js +46 -0
- package/esm2015/graphql/models/direction.js +8 -0
- package/esm2015/graphql/models/hint-definition.js +2 -0
- package/esm2015/graphql/models/hint-transform-operation.js +2 -0
- package/esm2015/graphql/models/hint-transformer.js +2 -0
- package/esm2015/graphql/models/hints-kind.js +9 -0
- package/esm2015/graphql/models/hints-token.js +2 -0
- package/esm2015/graphql/models/index.js +9 -0
- package/esm2015/graphql/models/query-processing-config.js +2 -0
- package/esm2015/graphql/models/variable.js +7 -0
- package/esm2015/graphql/public-api.js +2 -0
- package/esm2015/graphql/theseam-ui-common-graphql.js +5 -0
- package/esm2015/graphql/utils/contains-variable.js +14 -0
- package/esm2015/graphql/utils/gql-var.js +4 -0
- package/esm2015/graphql/utils/hints-tokens-containing-hint.js +4 -0
- package/esm2015/graphql/utils/index.js +11 -0
- package/esm2015/graphql/utils/inline-variables.js +50 -0
- package/esm2015/graphql/utils/parse-comments.js +24 -0
- package/esm2015/graphql/utils/parse-hints.js +116 -0
- package/esm2015/graphql/utils/remove-variable-definition.js +14 -0
- package/esm2015/graphql/utils/remove-variable-definitions-not-defined.js +19 -0
- package/esm2015/graphql/utils/remove-variable.js +22 -0
- package/esm2015/graphql/utils/to-gql.js +40 -0
- package/esm2015/icon/icon/icon.component.js +125 -0
- package/esm2015/icon/icon-btn/icon-btn.component.js +136 -0
- package/esm2015/icon/icon-notification/icon-notification.component.js +120 -0
- package/esm2015/icon/icon.js +2 -0
- package/esm2015/icon/icon.module.js +27 -0
- package/esm2015/icon/public-api.js +7 -0
- package/esm2015/icon/theseam-ui-common-icon.js +5 -0
- package/esm2015/icon/utils/file-extension-icon.js +33 -0
- package/esm2015/icon/utils/get-known-icon.js +82 -0
- package/esm2015/icon/utils/index.js +3 -0
- package/esm2015/layout/breakpoint-aliases.js +11 -0
- package/esm2015/layout/layout.module.js +18 -0
- package/esm2015/layout/layout.service.js +24 -0
- package/esm2015/layout/observe-media-query.js +41 -0
- package/esm2015/layout/public-api.js +5 -0
- package/esm2015/layout/theseam-ui-common-layout.js +5 -0
- package/esm2015/loading/loading/loading.component.js +28 -0
- package/esm2015/loading/loading-overlay.service.js +59 -0
- package/esm2015/loading/loading-themes.js +18 -0
- package/esm2015/loading/loading.models.js +2 -0
- package/esm2015/loading/loading.module.js +29 -0
- package/esm2015/loading/public-api.js +6 -0
- package/esm2015/loading/theseam-ui-common-loading.js +5 -0
- package/esm2015/menu/menu-animations.js +58 -0
- package/esm2015/menu/menu-divider.component.js +15 -0
- package/esm2015/menu/menu-footer/menu-footer.component.js +32 -0
- package/esm2015/menu/menu-footer-action/menu-footer-action.component.js +48 -0
- package/esm2015/menu/menu-header/menu-header.component.js +32 -0
- package/esm2015/menu/menu-item.component.js +127 -0
- package/esm2015/menu/menu-panel-token.js +6 -0
- package/esm2015/menu/menu-panel.js +2 -0
- package/esm2015/menu/menu-toggle.directive.js +248 -0
- package/esm2015/menu/menu.component.js +174 -0
- package/esm2015/menu/menu.module.js +43 -0
- package/esm2015/menu/public-api.js +12 -0
- package/esm2015/menu/theseam-ui-common-menu.js +5 -0
- package/esm2015/modal/directives/modal-close.directive.js +63 -0
- package/esm2015/modal/directives/modal-footer-tpl.directive.js +15 -0
- package/esm2015/modal/directives/modal-header-icon-tpl.directive.js +15 -0
- package/esm2015/modal/directives/modal-header-title-tpl.directive.js +15 -0
- package/esm2015/modal/directives/modal-title.directive.js +19 -0
- package/esm2015/modal/directives/modal.directive.js +25 -0
- package/esm2015/modal/modal/modal.component.js +149 -0
- package/esm2015/modal/modal-body/modal-body.component.js +22 -0
- package/esm2015/modal/modal-config.js +47 -0
- package/esm2015/modal/modal-container/modal-container.component.js +217 -0
- package/esm2015/modal/modal-footer/modal-footer.component.js +20 -0
- package/esm2015/modal/modal-header/modal-header.component.js +26 -0
- package/esm2015/modal/modal-injectors.js +23 -0
- package/esm2015/modal/modal-ref.js +126 -0
- package/esm2015/modal/modal-utils.js +14 -0
- package/esm2015/modal/modal.models.js +3 -0
- package/esm2015/modal/modal.module.js +83 -0
- package/esm2015/modal/modal.service.js +343 -0
- package/esm2015/modal/public-api.js +20 -0
- package/esm2015/modal/route-modal/route-modal.component.js +68 -0
- package/esm2015/modal/theseam-ui-common-modal.js +5 -0
- package/esm2015/models/component-type.js +4 -0
- package/esm2015/models/http-status-codes.js +20 -0
- package/esm2015/models/public-api.js +8 -0
- package/esm2015/models/size-prefixes.js +2 -0
- package/esm2015/models/size-types.js +2 -0
- package/esm2015/models/theme-names.js +26 -0
- package/esm2015/models/theme-prefixes.js +2 -0
- package/esm2015/models/theme-types.js +2 -0
- package/esm2015/models/theseam-ui-common-models.js +5 -0
- package/esm2015/popover/popover/popover.component.js +149 -0
- package/esm2015/popover/popover-animations.js +46 -0
- package/esm2015/popover/popover.directive.js +257 -0
- package/esm2015/popover/popover.module.js +30 -0
- package/esm2015/popover/public-api.js +5 -0
- package/esm2015/popover/theseam-ui-common-popover.js +5 -0
- package/esm2015/progress/progress-circle/progress-circle.component.js +63 -0
- package/esm2015/progress/progress.module.js +19 -0
- package/esm2015/progress/public-api.js +3 -0
- package/esm2015/progress/theseam-ui-common-progress.js +5 -0
- package/esm2015/public_api.js +43 -0
- package/esm2015/scrollbar/overlay-scrollbar.directive.js +61 -0
- package/esm2015/scrollbar/overlay-scrollbars-config-model.js +2 -0
- package/esm2015/scrollbar/overlay-scrollbars-config.js +13 -0
- package/esm2015/scrollbar/overlay-scrollbars.service.js +87 -0
- package/esm2015/scrollbar/public-api.js +6 -0
- package/esm2015/scrollbar/scrollbar.module.js +25 -0
- package/esm2015/scrollbar/theseam-ui-common-scrollbar.js +5 -0
- package/esm2015/services/asset-loader.service.js +33 -0
- package/esm2015/services/font-loader.service.js +81 -0
- package/esm2015/services/public-api.js +4 -0
- package/esm2015/services/router-helpers.service.js +26 -0
- package/esm2015/services/theseam-ui-common-services.js +5 -0
- package/esm2015/shared/components/index.js +2 -0
- package/esm2015/shared/components/password-input-reveal/password-input-reveal.component.js +71 -0
- package/esm2015/shared/directives/auto-focus.directive.js +53 -0
- package/esm2015/shared/directives/click-outside.directive.js +49 -0
- package/esm2015/shared/directives/disable-control.directive.js +27 -0
- package/esm2015/shared/directives/elem-resized.directive.js +29 -0
- package/esm2015/shared/directives/hover-class-toggle.directive.js +80 -0
- package/esm2015/shared/directives/hover-class.directive.js +74 -0
- package/esm2015/shared/directives/index.js +9 -0
- package/esm2015/shared/directives/ng-select-extra.directive.js +177 -0
- package/esm2015/shared/directives/ngx-quill-extra.directive.js +60 -0
- package/esm2015/shared/pipes/index.js +3 -0
- package/esm2015/shared/pipes/mask-chars.pipe.js +21 -0
- package/esm2015/shared/pipes/truncate.pipe.js +19 -0
- package/esm2015/shared/public-api.js +5 -0
- package/esm2015/shared/shared.module.js +58 -0
- package/esm2015/shared/theseam-ui-common-shared.js +5 -0
- package/esm2015/storage/local-storage.service.js +77 -0
- package/esm2015/storage/localstorage-memory.js +64 -0
- package/esm2015/storage/public-api.js +2 -0
- package/esm2015/storage/theseam-ui-common-storage.js +5 -0
- package/esm2015/story-helpers/arg-type-helpers.js +34 -0
- package/esm2015/story-helpers/args-to-tpl.js +76 -0
- package/esm2015/story-helpers/initial-route-factory.js +4 -0
- package/esm2015/story-helpers/initial-route.service.js +27 -0
- package/esm2015/story-helpers/on-story-bootstrapped-exec.js +64 -0
- package/esm2015/story-helpers/on-story-bootstrapped-trigger.js +38 -0
- package/esm2015/story-helpers/public-api.js +15 -0
- package/esm2015/story-helpers/route-button.js +12 -0
- package/esm2015/story-helpers/routes-arg-type.js +18 -0
- package/esm2015/story-helpers/story-empty-with-route.component.js +7 -0
- package/esm2015/story-helpers/story-empty.component.js +7 -0
- package/esm2015/story-helpers/story-helper-components.module.js +29 -0
- package/esm2015/story-helpers/story-initial-route.js +24 -0
- package/esm2015/story-helpers/story-modal-container.component.js +77 -0
- package/esm2015/story-helpers/story-toastr.service.js +33 -0
- package/esm2015/story-helpers/theseam-ui-common-story-helpers.js +5 -0
- package/esm2015/tabbed/directives/tabbed-tab-content.directive.js +14 -0
- package/esm2015/tabbed/directives/tabbed-tab.directive.js +36 -0
- package/esm2015/tabbed/public-api.js +8 -0
- package/esm2015/tabbed/tabbed-content/tabbed-content.component.js +17 -0
- package/esm2015/tabbed/tabbed-item/tabbed-item.component.js +30 -0
- package/esm2015/tabbed/tabbed.component.js +111 -0
- package/esm2015/tabbed/tabbed.module.js +36 -0
- package/esm2015/tabbed/tabbed.service.js +28 -0
- package/esm2015/tabbed/theseam-ui-common-tabbed.js +5 -0
- package/esm2015/table/public-api.js +3 -0
- package/esm2015/table/table/table.component.js +90 -0
- package/esm2015/table/table.module.js +23 -0
- package/esm2015/table/theseam-ui-common-table.js +5 -0
- package/esm2015/table-cell-type/public-api.js +12 -0
- package/esm2015/table-cell-type/services/table-cell-types-helpers.service.js +70 -0
- package/esm2015/table-cell-type/table-cell-type-action.js +2 -0
- package/esm2015/table-cell-type/table-cell-type-column.js +2 -0
- package/esm2015/table-cell-type/table-cell-type-config.js +2 -0
- package/esm2015/table-cell-type/table-cell-type-export-props.js +2 -0
- package/esm2015/table-cell-type/table-cell-type-manifest-provider.js +2 -0
- package/esm2015/table-cell-type/table-cell-type-models.js +2 -0
- package/esm2015/table-cell-type/table-cell-type-name.js +2 -0
- package/esm2015/table-cell-type/table-cell-type-selector.component.js +94 -0
- package/esm2015/table-cell-type/table-cell-type-tokens.js +4 -0
- package/esm2015/table-cell-type/table-cell-type.module.js +23 -0
- package/esm2015/table-cell-type/theseam-ui-common-table-cell-type.js +5 -0
- package/esm2015/table-cell-types/public-api.js +16 -0
- package/esm2015/table-cell-types/table-cell-type-date/table-cell-type-date-config.js +2 -0
- package/esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.component.js +55 -0
- package/esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.js +2 -0
- package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js +2 -0
- package/esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.js +2 -0
- package/esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.js +166 -0
- package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js +2 -0
- package/esm2015/table-cell-types/table-cell-type-manifests.js +91 -0
- package/esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.js +2 -0
- package/esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.js +66 -0
- package/esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.js +2 -0
- package/esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.js +160 -0
- package/esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.js +2 -0
- package/esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.js +78 -0
- package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string-config.js +2 -0
- package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string.component.js +150 -0
- package/esm2015/table-cell-types/table-cell-types.module.js +71 -0
- package/esm2015/table-cell-types/theseam-ui-common-table-cell-types.js +5 -0
- package/esm2015/tel-input/intl-tel-input.js +55 -0
- package/esm2015/tel-input/models/index.js +3 -0
- package/esm2015/tel-input/models/tel-input-country-data.js +2 -0
- package/esm2015/tel-input/models/tel-input-number-format-name.js +8 -0
- package/esm2015/tel-input/phone-number.pipe.js +51 -0
- package/esm2015/tel-input/public-api.js +10 -0
- package/esm2015/tel-input/tel-input/tel-input.component.js +167 -0
- package/esm2015/tel-input/tel-input-constants.js +18 -0
- package/esm2015/tel-input/tel-input-validator.js +27 -0
- package/esm2015/tel-input/tel-input.directive.js +164 -0
- package/esm2015/tel-input/tel-input.module.js +29 -0
- package/esm2015/tel-input/theseam-ui-common-tel-input.js +5 -0
- package/esm2015/tel-input/utils/add-country-code.js +23 -0
- package/esm2015/tel-input/utils/coerce-phone-number-format.js +22 -0
- package/esm2015/tel-input/utils/get-country-code.js +9 -0
- package/esm2015/tel-input/utils/get-dial-code.js +45 -0
- package/esm2015/tel-input/utils/get-global-intl-tel-input-globals.js +4 -0
- package/esm2015/tel-input/utils/get-global-intl-tel-input-utils.js +4 -0
- package/esm2015/tel-input/utils/get-intl-tel-input-utils.js +17 -0
- package/esm2015/tel-input/utils/get-validation-error-message.js +12 -0
- package/esm2015/tel-input/utils/index.js +10 -0
- package/esm2015/tel-input/utils/process-country-codes.js +49 -0
- package/esm2015/test-helpers/public-api.js +2 -0
- package/esm2015/test-helpers/theseam-ui-common-test-helpers.js +5 -0
- package/esm2015/test-helpers/tick-helper.js +74 -0
- package/esm2015/theseam-ui-common.js +5 -0
- package/esm2015/tiled-select/components/tiled-select/tiled-select.component.js +197 -0
- package/esm2015/tiled-select/components/tiled-select-tile/tiled-select-tile.component.js +125 -0
- package/esm2015/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.js +54 -0
- package/esm2015/tiled-select/directives/tiled-select-tile-icon-tpl.directive.js +16 -0
- package/esm2015/tiled-select/directives/tiled-select-tile-label-tpl.directive.js +15 -0
- package/esm2015/tiled-select/directives/tiled-select-tile-overlay.directive.js +19 -0
- package/esm2015/tiled-select/public-api.js +9 -0
- package/esm2015/tiled-select/theseam-ui-common-tiled-select.js +5 -0
- package/esm2015/tiled-select/tiled-select.models.js +2 -0
- package/esm2015/tiled-select/tiled-select.module.js +35 -0
- package/esm2015/toggle-edit/models/can-toggle-edit.js +2 -0
- package/esm2015/toggle-edit/models/index.js +3 -0
- package/esm2015/toggle-edit/models/toggle-edit-ref.js +2 -0
- package/esm2015/toggle-edit/public-api.js +7 -0
- package/esm2015/toggle-edit/theseam-ui-common-toggle-edit.js +5 -0
- package/esm2015/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.js +15 -0
- package/esm2015/toggle-edit/toggle-edit-display-tpl.directive.js +15 -0
- package/esm2015/toggle-edit/toggle-edit-keyboard-listener.service.js +56 -0
- package/esm2015/toggle-edit/toggle-edit.component.js +403 -0
- package/esm2015/toggle-edit/toggle-edit.module.js +40 -0
- package/esm2015/toggle-group/public-api.js +4 -0
- package/esm2015/toggle-group/theseam-ui-common-toggle-group.js +5 -0
- package/esm2015/toggle-group/toggle-group-option.directive.js +44 -0
- package/esm2015/toggle-group/toggle-group.directive.js +192 -0
- package/esm2015/toggle-group/toggle-group.module.js +24 -0
- package/esm2015/unsaved-changes-dialog/public-api.js +5 -0
- package/esm2015/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.js +5 -0
- package/esm2015/unsaved-changes-dialog/unsaved-changes-can-deactivate.js +27 -0
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.component.js +20 -0
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.guard.js +35 -0
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.module.js +12 -0
- package/esm2015/utils/calc-percentage.js +4 -0
- package/esm2015/utils/cdk/get-closest-widget-cdk-drag.js +18 -0
- package/esm2015/utils/create-padding.js +17 -0
- package/esm2015/utils/file-utils.js +68 -0
- package/esm2015/utils/form/get-control-name.js +31 -0
- package/esm2015/utils/form/get-control-path.js +37 -0
- package/esm2015/utils/form/has-required-control.js +50 -0
- package/esm2015/utils/form/is-empty-input-value.js +6 -0
- package/esm2015/utils/form/observe-control-is-different.js +18 -0
- package/esm2015/utils/form/observe-control-status.js +17 -0
- package/esm2015/utils/form/observe-control-valid.js +30 -0
- package/esm2015/utils/form/observe-control-value-change.js +10 -0
- package/esm2015/utils/form/observe-control-value.js +11 -0
- package/esm2015/utils/form/wait-on-non-pending-status.js +18 -0
- package/esm2015/utils/fractional-digits-count.js +19 -0
- package/esm2015/utils/get-attribute.js +7 -0
- package/esm2015/utils/has-attribute.js +7 -0
- package/esm2015/utils/has-property.js +7 -0
- package/esm2015/utils/input-masks.js +2 -0
- package/esm2015/utils/is-absolute-url.js +17 -0
- package/esm2015/utils/is-null-or-undefined.js +4 -0
- package/esm2015/utils/is-numeric.js +4 -0
- package/esm2015/utils/load-style-sheet.js +14 -0
- package/esm2015/utils/load-style.js +13 -0
- package/esm2015/utils/not-null-or-undefined.js +4 -0
- package/esm2015/utils/obj-utils.js +27 -0
- package/esm2015/utils/observe-query-list.js +5 -0
- package/esm2015/utils/operators/index.js +3 -0
- package/esm2015/utils/operators/map-each.js +6 -0
- package/esm2015/utils/operators/tap-first.js +14 -0
- package/esm2015/utils/pad-end.js +9 -0
- package/esm2015/utils/pad-start.js +9 -0
- package/esm2015/utils/polling-ticker.js +121 -0
- package/esm2015/utils/public-api.js +38 -0
- package/esm2015/utils/refreshable.js +65 -0
- package/esm2015/utils/router/index.js +7 -0
- package/esm2015/utils/router/is-empty-url-route.js +4 -0
- package/esm2015/utils/router/leaf-child-route.js +8 -0
- package/esm2015/utils/router/operators/activated-routes-with-data-property.js +11 -0
- package/esm2015/utils/router/route-snapshot-path-full.js +5 -0
- package/esm2015/utils/router/route-snapshot-path-relative.js +4 -0
- package/esm2015/utils/router/will-have-data-prop.js +10 -0
- package/esm2015/utils/subscriber-count.js +19 -0
- package/esm2015/utils/theseam-ui-common-utils.js +5 -0
- package/esm2015/utils/toggle-attribute.js +35 -0
- package/esm2015/utils/wait-on-condition-async.js +33 -0
- package/esm2015/utils/wrap-into-observable.js +8 -0
- package/esm2015/validators/decimal.validator.js +25 -0
- package/esm2015/validators/email-exists.validator.js +18 -0
- package/esm2015/validators/integer.validator.js +25 -0
- package/esm2015/validators/phone-length.validator.js +8 -0
- package/esm2015/validators/public-api.js +6 -0
- package/esm2015/validators/tax-id.validator.js +13 -0
- package/esm2015/validators/theseam-ui-common-validators.js +5 -0
- package/esm2015/viewers/pdf-viewer/index.js +4 -0
- package/esm2015/viewers/pdf-viewer/pdf-page/pdf-page.component.js +134 -0
- package/esm2015/viewers/pdf-viewer/pdf-renderer.service.js +27 -0
- package/esm2015/viewers/pdf-viewer/pdf-viewer.component.js +149 -0
- package/esm2015/viewers/pdf-viewer/pdf-viewer.module.js +24 -0
- package/esm2015/viewers/public-api.js +2 -0
- package/esm2015/viewers/theseam-ui-common-viewers.js +5 -0
- package/esm2015/widget/directives/widget-drag-handle.directive.js +146 -0
- package/esm2015/widget/directives/widget-icon-tpl.directive.js +15 -0
- package/esm2015/widget/directives/widget-title-tpl.directive.js +15 -0
- package/esm2015/widget/public-api.js +38 -0
- package/esm2015/widget/theseam-ui-common-widget.js +5 -0
- package/esm2015/widget/widget/widget.component.js +121 -0
- package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.component.js +16 -0
- package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.module.js +22 -0
- package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.component.js +16 -0
- package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.module.js +19 -0
- package/esm2015/widget/widget-content-components/widget-description/widget-description.component.js +12 -0
- package/esm2015/widget/widget-content-components/widget-description/widget-description.module.js +19 -0
- package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.component.js +39 -0
- package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.module.js +19 -0
- package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.component.js +16 -0
- package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.module.js +19 -0
- package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.component.js +16 -0
- package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.module.js +19 -0
- package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.component.js +31 -0
- package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.module.js +19 -0
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.js +16 -0
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.js +162 -0
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.component.js +19 -0
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.module.js +31 -0
- package/esm2015/widget/widget-content-components/widget-table/widget-table.component.js +35 -0
- package/esm2015/widget/widget-content-components/widget-table/widget-table.module.js +23 -0
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.js +19 -0
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.js +43 -0
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.js +16 -0
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.js +16 -0
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile.component.js +108 -0
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile.module.js +33 -0
- package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.component.js +15 -0
- package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.module.js +21 -0
- package/esm2015/widget/widget-footer/widget-footer.component.js +16 -0
- package/esm2015/widget/widget-registry.models.js +2 -0
- package/esm2015/widget/widget-registry.service.js +56 -0
- package/esm2015/widget/widget-token.js +3 -0
- package/esm2015/widget/widget.module.js +70 -0
- package/fesm2015/theseam-ui-common-asset-reader.js +173 -0
- package/fesm2015/theseam-ui-common-asset-reader.js.map +1 -0
- package/fesm2015/theseam-ui-common-breadcrumbs.js +202 -0
- package/fesm2015/theseam-ui-common-breadcrumbs.js.map +1 -0
- package/fesm2015/theseam-ui-common-buttons.js +362 -0
- package/fesm2015/theseam-ui-common-buttons.js.map +1 -0
- package/fesm2015/theseam-ui-common-card.js +145 -0
- package/fesm2015/theseam-ui-common-card.js.map +1 -0
- package/fesm2015/theseam-ui-common-checkbox.js +302 -0
- package/fesm2015/theseam-ui-common-checkbox.js.map +1 -0
- package/fesm2015/theseam-ui-common-confirm-dialog.js +153 -0
- package/fesm2015/theseam-ui-common-confirm-dialog.js.map +1 -0
- package/fesm2015/theseam-ui-common-core.js +231 -0
- package/fesm2015/theseam-ui-common-core.js.map +1 -0
- package/fesm2015/theseam-ui-common-data-exporter.js +81 -0
- package/fesm2015/theseam-ui-common-data-exporter.js.map +1 -0
- package/fesm2015/theseam-ui-common-data-filters.js +452 -0
- package/fesm2015/theseam-ui-common-data-filters.js.map +1 -0
- package/fesm2015/theseam-ui-common-datatable-dynamic.js +991 -0
- package/fesm2015/theseam-ui-common-datatable-dynamic.js.map +1 -0
- package/fesm2015/theseam-ui-common-datatable.js +1714 -0
- package/fesm2015/theseam-ui-common-datatable.js.map +1 -0
- package/fesm2015/theseam-ui-common-dynamic-component-loader.js +143 -0
- package/fesm2015/theseam-ui-common-dynamic-component-loader.js.map +1 -0
- package/fesm2015/theseam-ui-common-dynamic.js +699 -0
- package/fesm2015/theseam-ui-common-dynamic.js.map +1 -0
- package/fesm2015/theseam-ui-common-footer-bar.js +36 -0
- package/fesm2015/theseam-ui-common-footer-bar.js.map +1 -0
- package/fesm2015/theseam-ui-common-form-field-error.js +464 -0
- package/fesm2015/theseam-ui-common-form-field-error.js.map +1 -0
- package/fesm2015/theseam-ui-common-form-field.js +506 -0
- package/fesm2015/theseam-ui-common-form-field.js.map +1 -0
- package/fesm2015/theseam-ui-common-framework.js +2650 -0
- package/fesm2015/theseam-ui-common-framework.js.map +1 -0
- package/fesm2015/theseam-ui-common-graphql.js +331 -0
- package/fesm2015/theseam-ui-common-graphql.js.map +1 -0
- package/fesm2015/theseam-ui-common-icon.js +518 -0
- package/fesm2015/theseam-ui-common-icon.js.map +1 -0
- package/fesm2015/theseam-ui-common-layout.js +89 -0
- package/fesm2015/theseam-ui-common-layout.js.map +1 -0
- package/fesm2015/theseam-ui-common-loading.js +131 -0
- package/fesm2015/theseam-ui-common-loading.js.map +1 -0
- package/fesm2015/theseam-ui-common-menu.js +762 -0
- package/fesm2015/theseam-ui-common-menu.js.map +1 -0
- package/fesm2015/theseam-ui-common-modal.js +1234 -0
- package/fesm2015/theseam-ui-common-modal.js.map +1 -0
- package/fesm2015/theseam-ui-common-models.js +54 -0
- package/fesm2015/theseam-ui-common-models.js.map +1 -0
- package/fesm2015/theseam-ui-common-popover.js +476 -0
- package/fesm2015/theseam-ui-common-popover.js.map +1 -0
- package/fesm2015/theseam-ui-common-progress.js +87 -0
- package/fesm2015/theseam-ui-common-progress.js.map +1 -0
- package/fesm2015/theseam-ui-common-scrollbar.js +184 -0
- package/fesm2015/theseam-ui-common-scrollbar.js.map +1 -0
- package/fesm2015/theseam-ui-common-services.js +140 -0
- package/fesm2015/theseam-ui-common-services.js.map +1 -0
- package/fesm2015/theseam-ui-common-shared.js +696 -0
- package/fesm2015/theseam-ui-common-shared.js.map +1 -0
- package/fesm2015/theseam-ui-common-storage.js +147 -0
- package/fesm2015/theseam-ui-common-storage.js.map +1 -0
- package/fesm2015/theseam-ui-common-story-helpers.js +441 -0
- package/fesm2015/theseam-ui-common-story-helpers.js.map +1 -0
- package/fesm2015/theseam-ui-common-tabbed.js +262 -0
- package/fesm2015/theseam-ui-common-tabbed.js.map +1 -0
- package/fesm2015/theseam-ui-common-table-cell-type.js +191 -0
- package/fesm2015/theseam-ui-common-table-cell-type.js.map +1 -0
- package/fesm2015/theseam-ui-common-table-cell-types.js +799 -0
- package/fesm2015/theseam-ui-common-table-cell-types.js.map +1 -0
- package/fesm2015/theseam-ui-common-table.js +118 -0
- package/fesm2015/theseam-ui-common-table.js.map +1 -0
- package/fesm2015/theseam-ui-common-tel-input.js +681 -0
- package/fesm2015/theseam-ui-common-tel-input.js.map +1 -0
- package/fesm2015/theseam-ui-common-test-helpers.js +81 -0
- package/fesm2015/theseam-ui-common-test-helpers.js.map +1 -0
- package/fesm2015/theseam-ui-common-tiled-select.js +448 -0
- package/fesm2015/theseam-ui-common-tiled-select.js.map +1 -0
- package/fesm2015/theseam-ui-common-toggle-edit.js +521 -0
- package/fesm2015/theseam-ui-common-toggle-edit.js.map +1 -0
- package/fesm2015/theseam-ui-common-toggle-group.js +260 -0
- package/fesm2015/theseam-ui-common-toggle-group.js.map +1 -0
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js +97 -0
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js.map +1 -0
- package/fesm2015/theseam-ui-common-utils.js +797 -0
- package/fesm2015/theseam-ui-common-utils.js.map +1 -0
- package/fesm2015/theseam-ui-common-validators.js +94 -0
- package/fesm2015/theseam-ui-common-validators.js.map +1 -0
- package/fesm2015/theseam-ui-common-viewers.js +328 -0
- package/fesm2015/theseam-ui-common-viewers.js.map +1 -0
- package/fesm2015/theseam-ui-common-widget.js +1187 -0
- package/fesm2015/theseam-ui-common-widget.js.map +1 -0
- package/fesm2015/theseam-ui-common.js +47 -0
- package/fesm2015/theseam-ui-common.js.map +1 -0
- package/footer-bar/footer-bar/footer-bar.component.d.ts +5 -0
- package/footer-bar/footer-bar.module.d.ts +2 -0
- package/footer-bar/package.json +11 -0
- package/footer-bar/public-api.d.ts +2 -0
- package/footer-bar/theseam-ui-common-footer-bar.d.ts +4 -0
- package/footer-bar/theseam-ui-common-footer-bar.metadata.json +1 -0
- package/form-field/form-field-error.directive.d.ts +12 -0
- package/form-field/form-field-help-text.directive.d.ts +5 -0
- package/form-field/form-field-label-tpl.directive.d.ts +5 -0
- package/form-field/form-field-required-indicator.component.d.ts +9 -0
- package/form-field/form-field.component.d.ts +114 -0
- package/form-field/form-field.module.d.ts +2 -0
- package/form-field/input.directive.d.ts +72 -0
- package/form-field/package.json +11 -0
- package/form-field/public-api.d.ts +7 -0
- package/form-field/theseam-ui-common-form-field.d.ts +4 -0
- package/form-field/theseam-ui-common-form-field.metadata.json +1 -0
- package/form-field-error/form-field-error/form-field-error.component.d.ts +8 -0
- package/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.d.ts +9 -0
- package/form-field-error/form-field-error-list/form-field-error-list-item.directive.d.ts +6 -0
- package/form-field-error/form-field-error-list/form-field-error-list.component.d.ts +63 -0
- package/form-field-error/form-field-error.module.d.ts +2 -0
- package/form-field-error/package.json +11 -0
- package/form-field-error/public-api.d.ts +5 -0
- package/form-field-error/theseam-ui-common-form-field-error.d.ts +4 -0
- package/form-field-error/theseam-ui-common-form-field-error.metadata.json +1 -0
- package/framework/base-layout/_base-layout-theme.scss +3 -0
- package/framework/base-layout/base-layout-action.d.ts +31 -0
- package/framework/base-layout/base-layout-nav.d.ts +18 -0
- package/framework/base-layout/base-layout-ref.d.ts +14 -0
- package/framework/base-layout/base-layout-tokens.d.ts +3 -0
- package/framework/base-layout/base-layout.component.d.ts +43 -0
- package/framework/base-layout/base-layout.component.scss +81 -0
- package/framework/base-layout/base-layout.module.d.ts +2 -0
- package/framework/base-layout/directives/base-layout-content-footer.directive.d.ts +6 -0
- package/framework/base-layout/directives/base-layout-content-header.directive.d.ts +6 -0
- package/framework/base-layout/directives/base-layout-content.directive.d.ts +6 -0
- package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +14 -0
- package/framework/base-layout/directives/base-layout-side-bar.directive.d.ts +6 -0
- package/framework/base-layout/directives/base-layout-top-bar.directive.d.ts +6 -0
- package/framework/base-layout/index.d.ts +12 -0
- package/framework/base-layout/styles/_utilities.scss +3 -0
- package/framework/base-layout/styles/_variables.scss +9 -0
- package/framework/dashboard/_dashboard-theme.scss +3 -0
- package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.d.ts +8 -0
- package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.scss +0 -0
- package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.d.ts +11 -0
- package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.scss +0 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.d.ts +47 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-item.d.ts +43 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.d.ts +15 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.d.ts +27 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.d.ts +58 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.scss +48 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.service.d.ts +34 -0
- package/framework/dashboard/dashboard.component.d.ts +8 -0
- package/framework/dashboard/dashboard.component.scss +0 -0
- package/framework/dashboard/dashboard.module.d.ts +2 -0
- package/framework/dashboard/index.d.ts +11 -0
- package/framework/dashboard/styles/_utilities.scss +3 -0
- package/framework/dashboard/styles/_variables.scss +2 -0
- package/framework/dynamic-router/dynamic-route-def.d.ts +8 -0
- package/framework/dynamic-router/dynamic-router.module.d.ts +2 -0
- package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.d.ts +5 -0
- package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.d.ts +23 -0
- package/framework/dynamic-router/index.d.ts +5 -0
- package/framework/dynamic-router/resolvers/hierarchy-level.resolver.d.ts +7 -0
- package/framework/package.json +11 -0
- package/framework/public-api.d.ts +6 -0
- package/framework/schema-form/index.d.ts +3 -0
- package/framework/schema-form/schema-form-framework.component.d.ts +5 -0
- package/framework/schema-form/schema-form-framework.d.ts +18 -0
- package/framework/schema-form/schema-form.module.d.ts +2 -0
- package/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.d.ts +21 -0
- package/framework/schema-form-controls/schema-form-controls.module.d.ts +2 -0
- package/framework/schema-form-controls/schema-form-input/schema-form-input.component.d.ts +19 -0
- package/framework/schema-form-controls/schema-form-number/schema-form-number.component.d.ts +22 -0
- package/framework/schema-form-controls/schema-form-select/schema-form-select.component.d.ts +20 -0
- package/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.d.ts +18 -0
- package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +34 -0
- package/framework/side-nav/_side-nav-theme.scss +5 -0
- package/framework/side-nav/index.d.ts +6 -0
- package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +65 -0
- package/framework/side-nav/side-nav-item/side-nav-item.component.scss +158 -0
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +11 -0
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.scss +32 -0
- package/framework/side-nav/side-nav-utils.d.ts +18 -0
- package/framework/side-nav/side-nav.component.d.ts +40 -0
- package/framework/side-nav/side-nav.component.scss +47 -0
- package/framework/side-nav/side-nav.models.d.ts +64 -0
- package/framework/side-nav/side-nav.module.d.ts +2 -0
- package/framework/side-nav/side-nav.service.d.ts +21 -0
- package/framework/side-nav/styles/_themes/light/_variables.scss +29 -0
- package/framework/side-nav/styles/_themes/primary/_variables.scss +31 -0
- package/framework/side-nav/styles/_utilities.scss +3 -0
- package/framework/side-nav/styles/_variables.scss +2 -0
- package/framework/theseam-ui-common-framework.d.ts +12 -0
- package/framework/theseam-ui-common-framework.metadata.json +1 -0
- package/framework/top-bar/index.d.ts +7 -0
- package/framework/top-bar/top-bar-item.directive.d.ts +5 -0
- package/framework/top-bar/top-bar-menu-btn-detail.directive.d.ts +5 -0
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +20 -0
- package/framework/top-bar/top-bar-menu.directive.d.ts +5 -0
- package/framework/top-bar/top-bar-title/top-bar-title.component.d.ts +7 -0
- package/framework/top-bar/top-bar.component.d.ts +59 -0
- package/framework/top-bar/top-bar.module.d.ts +2 -0
- package/graphql/models/direction.d.ts +6 -0
- package/graphql/models/hint-definition.d.ts +7 -0
- package/graphql/models/hint-transform-operation.d.ts +5 -0
- package/graphql/models/hint-transformer.d.ts +3 -0
- package/graphql/models/hints-kind.d.ts +7 -0
- package/graphql/models/hints-token.d.ts +7 -0
- package/graphql/models/index.d.ts +8 -0
- package/graphql/models/query-processing-config.d.ts +9 -0
- package/graphql/models/variable.d.ts +5 -0
- package/graphql/package.json +11 -0
- package/graphql/public-api.d.ts +1 -0
- package/graphql/theseam-ui-common-graphql.d.ts +4 -0
- package/graphql/theseam-ui-common-graphql.metadata.json +1 -0
- package/graphql/utils/contains-variable.d.ts +2 -0
- package/graphql/utils/gql-var.d.ts +3 -0
- package/graphql/utils/hints-tokens-containing-hint.d.ts +2 -0
- package/graphql/utils/index.d.ts +10 -0
- package/graphql/utils/inline-variables.d.ts +2 -0
- package/graphql/utils/parse-comments.d.ts +2 -0
- package/graphql/utils/parse-hints.d.ts +17 -0
- package/graphql/utils/remove-variable-definition.d.ts +2 -0
- package/graphql/utils/remove-variable-definitions-not-defined.d.ts +3 -0
- package/graphql/utils/remove-variable.d.ts +2 -0
- package/graphql/utils/to-gql.d.ts +1 -0
- package/icon/icon/icon.component.d.ts +54 -0
- package/icon/icon-btn/icon-btn.component.d.ts +74 -0
- package/icon/icon-notification/icon-notification.component.d.ts +47 -0
- package/icon/icon.d.ts +2 -0
- package/icon/icon.module.d.ts +2 -0
- package/icon/package.json +11 -0
- package/icon/public-api.d.ts +6 -0
- package/icon/theseam-ui-common-icon.d.ts +4 -0
- package/icon/theseam-ui-common-icon.metadata.json +1 -0
- package/icon/utils/file-extension-icon.d.ts +3 -0
- package/icon/utils/get-known-icon.d.ts +2 -0
- package/icon/utils/index.d.ts +2 -0
- package/layout/breakpoint-aliases.d.ts +20 -0
- package/layout/layout.module.d.ts +2 -0
- package/layout/layout.service.d.ts +12 -0
- package/layout/observe-media-query.d.ts +8 -0
- package/layout/package.json +11 -0
- package/layout/public-api.d.ts +4 -0
- package/layout/theseam-ui-common-layout.d.ts +4 -0
- package/layout/theseam-ui-common-layout.metadata.json +1 -0
- package/loading/loading/loading.component.d.ts +9 -0
- package/loading/loading-overlay.service.d.ts +13 -0
- package/loading/loading-themes.d.ts +3 -0
- package/loading/loading.models.d.ts +1 -0
- package/loading/loading.module.d.ts +4 -0
- package/loading/package.json +11 -0
- package/loading/public-api.d.ts +5 -0
- package/loading/theseam-ui-common-loading.d.ts +4 -0
- package/loading/theseam-ui-common-loading.metadata.json +1 -0
- package/menu/menu-animations.d.ts +8 -0
- package/menu/menu-divider.component.d.ts +2 -0
- package/menu/menu-footer/menu-footer.component.d.ts +9 -0
- package/menu/menu-footer-action/menu-footer-action.component.d.ts +19 -0
- package/menu/menu-header/menu-header.component.d.ts +9 -0
- package/menu/menu-item.component.d.ts +41 -0
- package/menu/menu-panel-token.d.ts +6 -0
- package/menu/menu-panel.d.ts +20 -0
- package/menu/menu-toggle.directive.d.ts +53 -0
- package/menu/menu.component.d.ts +62 -0
- package/menu/menu.module.d.ts +2 -0
- package/menu/package.json +11 -0
- package/menu/public-api.d.ts +11 -0
- package/menu/theseam-ui-common-menu.d.ts +4 -0
- package/menu/theseam-ui-common-menu.metadata.json +1 -0
- package/modal/directives/modal-close.directive.d.ts +20 -0
- package/modal/directives/modal-footer-tpl.directive.d.ts +5 -0
- package/modal/directives/modal-header-icon-tpl.directive.d.ts +5 -0
- package/modal/directives/modal-header-title-tpl.directive.d.ts +5 -0
- package/modal/directives/modal-title.directive.d.ts +6 -0
- package/modal/directives/modal.directive.d.ts +8 -0
- package/modal/modal/modal.component.d.ts +56 -0
- package/modal/modal-body/modal-body.component.d.ts +7 -0
- package/modal/modal-config.d.ts +93 -0
- package/modal/modal-container/modal-container.component.d.ts +77 -0
- package/modal/modal-footer/modal-footer.component.d.ts +6 -0
- package/modal/modal-header/modal-header.component.d.ts +11 -0
- package/modal/modal-injectors.d.ts +23 -0
- package/modal/modal-ref.d.ts +50 -0
- package/modal/modal-utils.d.ts +8 -0
- package/modal/modal.models.d.ts +24 -0
- package/modal/modal.module.d.ts +2 -0
- package/modal/modal.service.d.ts +95 -0
- package/modal/package.json +11 -0
- package/modal/public-api.d.ts +19 -0
- package/modal/route-modal/route-modal.component.d.ts +16 -0
- package/modal/theseam-ui-common-modal.d.ts +4 -0
- package/modal/theseam-ui-common-modal.metadata.json +1 -0
- package/models/component-type.d.ts +2 -0
- package/models/http-status-codes.d.ts +18 -0
- package/models/package.json +11 -0
- package/models/public-api.d.ts +7 -0
- package/models/size-prefixes.d.ts +1 -0
- package/models/size-types.d.ts +1 -0
- package/models/theme-names.d.ts +2 -0
- package/models/theme-prefixes.d.ts +1 -0
- package/models/theme-types.d.ts +2 -0
- package/models/theseam-ui-common-models.d.ts +4 -0
- package/models/theseam-ui-common-models.metadata.json +1 -0
- package/package.json +61 -0
- package/popover/package.json +11 -0
- package/popover/popover/popover.component.d.ts +44 -0
- package/popover/popover-animations.d.ts +4 -0
- package/popover/popover.directive.d.ts +57 -0
- package/popover/popover.module.d.ts +2 -0
- package/popover/public-api.d.ts +4 -0
- package/popover/theseam-ui-common-popover.d.ts +4 -0
- package/popover/theseam-ui-common-popover.metadata.json +1 -0
- package/progress/package.json +11 -0
- package/progress/progress-circle/_progress-circle-theme.scss +3 -0
- package/progress/progress-circle/progress-circle.component.d.ts +27 -0
- package/progress/progress-circle/progress-circle.component.scss +105 -0
- package/progress/progress-circle/styles/_utilities.scss +3 -0
- package/progress/progress-circle/styles/_variables.scss +8 -0
- package/progress/progress.module.d.ts +2 -0
- package/progress/public-api.d.ts +2 -0
- package/progress/theseam-ui-common-progress.d.ts +4 -0
- package/progress/theseam-ui-common-progress.metadata.json +1 -0
- package/public_api.d.ts +2 -0
- package/scrollbar/overlay-scrollbar.directive.d.ts +21 -0
- package/scrollbar/overlay-scrollbars-config-model.d.ts +2 -0
- package/scrollbar/overlay-scrollbars-config.d.ts +51 -0
- package/scrollbar/overlay-scrollbars.service.d.ts +20 -0
- package/scrollbar/package.json +11 -0
- package/scrollbar/public-api.d.ts +5 -0
- package/scrollbar/scrollbar.module.d.ts +2 -0
- package/scrollbar/theseam-ui-common-scrollbar.d.ts +4 -0
- package/scrollbar/theseam-ui-common-scrollbar.metadata.json +1 -0
- package/services/asset-loader.service.d.ts +13 -0
- package/services/font-loader.service.d.ts +43 -0
- package/services/package.json +11 -0
- package/services/public-api.d.ts +3 -0
- package/services/router-helpers.service.d.ts +7 -0
- package/services/theseam-ui-common-services.d.ts +4 -0
- package/services/theseam-ui-common-services.metadata.json +1 -0
- package/shared/components/index.d.ts +1 -0
- package/shared/components/password-input-reveal/password-input-reveal.component.d.ts +14 -0
- package/shared/directives/auto-focus.directive.d.ts +15 -0
- package/shared/directives/click-outside.directive.d.ts +10 -0
- package/shared/directives/disable-control.directive.d.ts +6 -0
- package/shared/directives/elem-resized.directive.d.ts +17 -0
- package/shared/directives/hover-class-toggle.directive.d.ts +33 -0
- package/shared/directives/hover-class.directive.d.ts +28 -0
- package/shared/directives/index.d.ts +8 -0
- package/shared/directives/ng-select-extra.directive.d.ts +39 -0
- package/shared/directives/ngx-quill-extra.directive.d.ts +20 -0
- package/shared/package.json +11 -0
- package/shared/pipes/index.d.ts +2 -0
- package/shared/pipes/mask-chars.pipe.d.ts +4 -0
- package/shared/pipes/truncate.pipe.d.ts +4 -0
- package/shared/public-api.d.ts +4 -0
- package/shared/shared.module.d.ts +2 -0
- package/shared/theseam-ui-common-shared.d.ts +4 -0
- package/shared/theseam-ui-common-shared.metadata.json +1 -0
- package/storage/local-storage.service.d.ts +28 -0
- package/storage/localstorage-memory.d.ts +37 -0
- package/storage/package.json +11 -0
- package/storage/public-api.d.ts +1 -0
- package/storage/theseam-ui-common-storage.d.ts +4 -0
- package/storage/theseam-ui-common-storage.metadata.json +1 -0
- package/story-helpers/arg-type-helpers.d.ts +5 -0
- package/story-helpers/args-to-tpl.d.ts +24 -0
- package/story-helpers/initial-route-factory.d.ts +2 -0
- package/story-helpers/initial-route.service.d.ts +7 -0
- package/story-helpers/on-story-bootstrapped-exec.d.ts +29 -0
- package/story-helpers/on-story-bootstrapped-trigger.d.ts +23 -0
- package/story-helpers/package.json +11 -0
- package/story-helpers/public-api.d.ts +14 -0
- package/story-helpers/route-button.d.ts +5 -0
- package/story-helpers/routes-arg-type.d.ts +2 -0
- package/story-helpers/story-empty-with-route.component.d.ts +2 -0
- package/story-helpers/story-empty.component.d.ts +2 -0
- package/story-helpers/story-helper-components.module.d.ts +2 -0
- package/story-helpers/story-initial-route.d.ts +4 -0
- package/story-helpers/story-modal-container.component.d.ts +20 -0
- package/story-helpers/story-toastr.service.d.ts +30 -0
- package/story-helpers/theseam-ui-common-story-helpers.d.ts +4 -0
- package/story-helpers/theseam-ui-common-story-helpers.metadata.json +1 -0
- package/styles/_storybook-fixes.scss +7 -0
- package/styles/_variables.scss +0 -0
- package/styles/bootstrap/_bootstrap.scss +45 -0
- package/styles/bootstrap/_bs-styles.scss +105 -0
- package/styles/bootstrap/_bs-utilities.scss +5 -0
- package/styles/bootstrap/_bs-variables.scss +141 -0
- package/styles/common/_forms.scss +15 -0
- package/styles/common/_global.scss +9 -0
- package/styles/common/_hacks.scss +14 -0
- package/styles/common/_table.scss +124 -0
- package/styles/common/_text.scss +1 -0
- package/styles/theme.scss +19 -0
- package/styles/utilities.scss +14 -0
- package/styles/vendor/_vendor.scss +3 -0
- package/styles/vendor/ng-select/_ng-select-bs4.scss +445 -0
- package/styles/vendor/ngx-datatable/_ngx-datatable.scss +108 -0
- package/styles/vendor/quill/_quill.scss +26 -0
- package/tabbed/directives/tabbed-tab-content.directive.d.ts +4 -0
- package/tabbed/directives/tabbed-tab.directive.d.ts +9 -0
- package/tabbed/package.json +11 -0
- package/tabbed/public-api.d.ts +7 -0
- package/tabbed/tabbed-content/tabbed-content.component.d.ts +7 -0
- package/tabbed/tabbed-item/tabbed-item.component.d.ts +14 -0
- package/tabbed/tabbed.component.d.ts +36 -0
- package/tabbed/tabbed.module.d.ts +2 -0
- package/tabbed/tabbed.service.d.ts +8 -0
- package/tabbed/theseam-ui-common-tabbed.d.ts +4 -0
- package/tabbed/theseam-ui-common-tabbed.metadata.json +1 -0
- package/table/package.json +11 -0
- package/table/public-api.d.ts +2 -0
- package/table/table/table.component.d.ts +43 -0
- package/table/table.module.d.ts +2 -0
- package/table/theseam-ui-common-table.d.ts +4 -0
- package/table/theseam-ui-common-table.metadata.json +1 -0
- package/table-cell-type/package.json +11 -0
- package/table-cell-type/public-api.d.ts +11 -0
- package/table-cell-type/services/table-cell-types-helpers.service.d.ts +15 -0
- package/table-cell-type/table-cell-type-action.d.ts +13 -0
- package/table-cell-type/table-cell-type-column.d.ts +12 -0
- package/table-cell-type/table-cell-type-config.d.ts +12 -0
- package/table-cell-type/table-cell-type-export-props.d.ts +15 -0
- package/table-cell-type/table-cell-type-manifest-provider.d.ts +7 -0
- package/table-cell-type/table-cell-type-models.d.ts +39 -0
- package/table-cell-type/table-cell-type-name.d.ts +1 -0
- package/table-cell-type/table-cell-type-selector.component.d.ts +25 -0
- package/table-cell-type/table-cell-type-tokens.d.ts +4 -0
- package/table-cell-type/table-cell-type.module.d.ts +2 -0
- package/table-cell-type/theseam-ui-common-table-cell-type.d.ts +4 -0
- package/table-cell-type/theseam-ui-common-table-cell-type.metadata.json +1 -0
- package/table-cell-types/package.json +11 -0
- package/table-cell-types/public-api.d.ts +15 -0
- package/table-cell-types/table-cell-type-date/table-cell-type-date-config.d.ts +9 -0
- package/table-cell-types/table-cell-type-date/table-cell-type-date.component.d.ts +12 -0
- package/table-cell-types/table-cell-type-date/table-cell-type-date.d.ts +3 -0
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +3 -0
- package/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.d.ts +34 -0
- package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +53 -0
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +3 -0
- package/table-cell-types/table-cell-type-manifests.d.ts +10 -0
- package/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.d.ts +13 -0
- package/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.d.ts +17 -0
- package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.d.ts +29 -0
- package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.d.ts +48 -0
- package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.d.ts +49 -0
- package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.d.ts +21 -0
- package/table-cell-types/table-cell-type-string/table-cell-type-string-config.d.ts +10 -0
- package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +45 -0
- package/table-cell-types/table-cell-types.module.d.ts +2 -0
- package/table-cell-types/theseam-ui-common-table-cell-types.d.ts +6 -0
- package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +1 -0
- package/tel-input/intl-tel-input.d.ts +300 -0
- package/tel-input/models/index.d.ts +2 -0
- package/tel-input/models/tel-input-country-data.d.ts +9 -0
- package/tel-input/models/tel-input-number-format-name.d.ts +4 -0
- package/tel-input/package.json +11 -0
- package/tel-input/phone-number.pipe.d.ts +11 -0
- package/tel-input/public-api.d.ts +9 -0
- package/tel-input/tel-input/tel-input.component.d.ts +83 -0
- package/tel-input/tel-input-constants.d.ts +4 -0
- package/tel-input/tel-input-validator.d.ts +7 -0
- package/tel-input/tel-input.directive.d.ts +28 -0
- package/tel-input/tel-input.module.d.ts +2 -0
- package/tel-input/theseam-ui-common-tel-input.d.ts +4 -0
- package/tel-input/theseam-ui-common-tel-input.metadata.json +1 -0
- package/tel-input/utils/add-country-code.d.ts +7 -0
- package/tel-input/utils/coerce-phone-number-format.d.ts +7 -0
- package/tel-input/utils/get-country-code.d.ts +2 -0
- package/tel-input/utils/get-dial-code.d.ts +9 -0
- package/tel-input/utils/get-global-intl-tel-input-globals.d.ts +2 -0
- package/tel-input/utils/get-global-intl-tel-input-utils.d.ts +2 -0
- package/tel-input/utils/get-intl-tel-input-utils.d.ts +2 -0
- package/tel-input/utils/get-validation-error-message.d.ts +5 -0
- package/tel-input/utils/index.d.ts +9 -0
- package/tel-input/utils/process-country-codes.d.ts +8 -0
- package/test-helpers/package.json +11 -0
- package/test-helpers/public-api.d.ts +1 -0
- package/test-helpers/theseam-ui-common-test-helpers.d.ts +4 -0
- package/test-helpers/theseam-ui-common-test-helpers.metadata.json +1 -0
- package/test-helpers/tick-helper.d.ts +70 -0
- package/theseam-ui-common.d.ts +4 -0
- package/theseam-ui-common.metadata.json +1 -0
- package/tiled-select/components/tiled-select/tiled-select.component.d.ts +50 -0
- package/tiled-select/components/tiled-select-tile/tiled-select-tile.component.d.ts +41 -0
- package/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.d.ts +26 -0
- package/tiled-select/directives/tiled-select-tile-icon-tpl.directive.d.ts +5 -0
- package/tiled-select/directives/tiled-select-tile-label-tpl.directive.d.ts +5 -0
- package/tiled-select/directives/tiled-select-tile-overlay.directive.d.ts +7 -0
- package/tiled-select/package.json +11 -0
- package/tiled-select/public-api.d.ts +8 -0
- package/tiled-select/theseam-ui-common-tiled-select.d.ts +4 -0
- package/tiled-select/theseam-ui-common-tiled-select.metadata.json +1 -0
- package/tiled-select/tiled-select.models.d.ts +11 -0
- package/tiled-select/tiled-select.module.d.ts +2 -0
- package/toggle-edit/models/can-toggle-edit.d.ts +7 -0
- package/toggle-edit/models/index.d.ts +2 -0
- package/toggle-edit/models/toggle-edit-ref.d.ts +30 -0
- package/toggle-edit/package.json +11 -0
- package/toggle-edit/public-api.d.ts +6 -0
- package/toggle-edit/theseam-ui-common-toggle-edit.d.ts +4 -0
- package/toggle-edit/theseam-ui-common-toggle-edit.metadata.json +1 -0
- package/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.d.ts +5 -0
- package/toggle-edit/toggle-edit-display-tpl.directive.d.ts +5 -0
- package/toggle-edit/toggle-edit-keyboard-listener.service.d.ts +14 -0
- package/toggle-edit/toggle-edit.component.d.ts +90 -0
- package/toggle-edit/toggle-edit.module.d.ts +2 -0
- package/toggle-group/package.json +11 -0
- package/toggle-group/public-api.d.ts +3 -0
- package/toggle-group/theseam-ui-common-toggle-group.d.ts +4 -0
- package/toggle-group/theseam-ui-common-toggle-group.metadata.json +1 -0
- package/toggle-group/toggle-group-option.directive.d.ts +15 -0
- package/toggle-group/toggle-group.directive.d.ts +36 -0
- package/toggle-group/toggle-group.module.d.ts +2 -0
- package/unsaved-changes-dialog/package.json +11 -0
- package/unsaved-changes-dialog/public-api.d.ts +4 -0
- package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.d.ts +4 -0
- package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.metadata.json +1 -0
- package/unsaved-changes-dialog/unsaved-changes-can-deactivate.d.ts +4 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +5 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.guard.d.ts +8 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.module.d.ts +2 -0
- package/utils/calc-percentage.d.ts +1 -0
- package/utils/cdk/get-closest-widget-cdk-drag.d.ts +8 -0
- package/utils/create-padding.d.ts +1 -0
- package/utils/file-utils.d.ts +12 -0
- package/utils/form/get-control-name.d.ts +22 -0
- package/utils/form/get-control-path.d.ts +27 -0
- package/utils/form/has-required-control.d.ts +31 -0
- package/utils/form/is-empty-input-value.d.ts +1 -0
- package/utils/form/observe-control-is-different.d.ts +13 -0
- package/utils/form/observe-control-status.d.ts +7 -0
- package/utils/form/observe-control-valid.d.ts +14 -0
- package/utils/form/observe-control-value-change.d.ts +9 -0
- package/utils/form/observe-control-value.d.ts +6 -0
- package/utils/form/wait-on-non-pending-status.d.ts +12 -0
- package/utils/fractional-digits-count.d.ts +8 -0
- package/utils/get-attribute.d.ts +4 -0
- package/utils/has-attribute.d.ts +4 -0
- package/utils/has-property.d.ts +1 -0
- package/utils/input-masks.d.ts +1 -0
- package/utils/is-absolute-url.d.ts +1 -0
- package/utils/is-null-or-undefined.d.ts +1 -0
- package/utils/is-numeric.d.ts +1 -0
- package/utils/load-style-sheet.d.ts +1 -0
- package/utils/load-style.d.ts +1 -0
- package/utils/not-null-or-undefined.d.ts +1 -0
- package/utils/obj-utils.d.ts +8 -0
- package/utils/observe-query-list.d.ts +3 -0
- package/utils/operators/index.d.ts +2 -0
- package/utils/operators/map-each.d.ts +2 -0
- package/utils/operators/tap-first.d.ts +5 -0
- package/utils/package.json +11 -0
- package/utils/pad-end.d.ts +1 -0
- package/utils/pad-start.d.ts +1 -0
- package/utils/polling-ticker.d.ts +13 -0
- package/utils/public-api.d.ts +37 -0
- package/utils/refreshable.d.ts +20 -0
- package/utils/router/index.d.ts +6 -0
- package/utils/router/is-empty-url-route.d.ts +2 -0
- package/utils/router/leaf-child-route.d.ts +2 -0
- package/utils/router/operators/activated-routes-with-data-property.d.ts +7 -0
- package/utils/router/route-snapshot-path-full.d.ts +2 -0
- package/utils/router/route-snapshot-path-relative.d.ts +2 -0
- package/utils/router/will-have-data-prop.d.ts +2 -0
- package/utils/subscriber-count.d.ts +1 -0
- package/utils/theseam-ui-common-utils.d.ts +4 -0
- package/utils/theseam-ui-common-utils.metadata.json +1 -0
- package/utils/toggle-attribute.d.ts +16 -0
- package/utils/wait-on-condition-async.d.ts +1 -0
- package/utils/wrap-into-observable.d.ts +2 -0
- package/validators/decimal.validator.d.ts +9 -0
- package/validators/email-exists.validator.d.ts +10 -0
- package/validators/integer.validator.d.ts +9 -0
- package/validators/package.json +11 -0
- package/validators/phone-length.validator.d.ts +7 -0
- package/validators/public-api.d.ts +5 -0
- package/validators/tax-id.validator.d.ts +11 -0
- package/validators/theseam-ui-common-validators.d.ts +4 -0
- package/validators/theseam-ui-common-validators.metadata.json +1 -0
- package/viewers/package.json +11 -0
- package/viewers/pdf-viewer/index.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-page/pdf-page.component.d.ts +39 -0
- package/viewers/pdf-viewer/pdf-renderer.service.d.ts +6 -0
- package/viewers/pdf-viewer/pdf-viewer.component.d.ts +59 -0
- package/viewers/pdf-viewer/pdf-viewer.module.d.ts +2 -0
- package/viewers/public-api.d.ts +1 -0
- package/viewers/theseam-ui-common-viewers.d.ts +4 -0
- package/viewers/theseam-ui-common-viewers.metadata.json +1 -0
- package/widget/_widget-theme.scss +15 -0
- package/widget/directives/widget-drag-handle.directive.d.ts +53 -0
- package/widget/directives/widget-icon-tpl.directive.d.ts +5 -0
- package/widget/directives/widget-title-tpl.directive.d.ts +5 -0
- package/widget/package.json +11 -0
- package/widget/public-api.d.ts +37 -0
- package/widget/styles/_utilities.scss +3 -0
- package/widget/styles/_variables.scss +27 -0
- package/widget/theseam-ui-common-widget.d.ts +4 -0
- package/widget/theseam-ui-common-widget.metadata.json +1 -0
- package/widget/widget/widget.component.d.ts +78 -0
- package/widget/widget/widget.component.scss +107 -0
- package/widget/widget-content-components/widget-button-group/widget-button-group.component.d.ts +5 -0
- package/widget/widget-content-components/widget-button-group/widget-button-group.component.scss +3 -0
- package/widget/widget-content-components/widget-button-group/widget-button-group.module.d.ts +2 -0
- package/widget/widget-content-components/widget-content-header/widget-content-header.component.d.ts +5 -0
- package/widget/widget-content-components/widget-content-header/widget-content-header.component.scss +6 -0
- package/widget/widget-content-components/widget-content-header/widget-content-header.module.d.ts +2 -0
- package/widget/widget-content-components/widget-description/widget-description.component.d.ts +2 -0
- package/widget/widget-content-components/widget-description/widget-description.component.scss +0 -0
- package/widget/widget-content-components/widget-description/widget-description.module.d.ts +2 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.d.ts +15 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.scss +9 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.module.d.ts +2 -0
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.d.ts +5 -0
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.scss +8 -0
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.module.d.ts +2 -0
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.d.ts +5 -0
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.scss +7 -0
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.module.d.ts +2 -0
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.d.ts +12 -0
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.scss +5 -0
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.module.d.ts +2 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.d.ts +5 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.d.ts +57 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.scss +0 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.component.d.ts +5 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.component.scss +0 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.module.d.ts +2 -0
- package/widget/widget-content-components/widget-table/widget-table.component.d.ts +14 -0
- package/widget/widget-content-components/widget-table/widget-table.component.scss +0 -0
- package/widget/widget-content-components/widget-table/widget-table.module.d.ts +2 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.d.ts +5 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.scss +0 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.d.ts +15 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.scss +5 -0
- package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.d.ts +5 -0
- package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.scss +14 -0
- package/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.d.ts +5 -0
- package/widget/widget-content-components/widget-tile/widget-tile.component.d.ts +44 -0
- package/widget/widget-content-components/widget-tile/widget-tile.component.scss +70 -0
- package/widget/widget-content-components/widget-tile/widget-tile.module.d.ts +2 -0
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.d.ts +5 -0
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.scss +6 -0
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.module.d.ts +2 -0
- package/widget/widget-footer/widget-footer.component.d.ts +5 -0
- package/widget/widget-footer/widget-footer.component.scss +16 -0
- package/widget/widget-registry.models.d.ts +20 -0
- package/widget/widget-registry.service.d.ts +16 -0
- package/widget/widget-token.d.ts +3 -0
- package/widget/widget.module.d.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theseam-ui-common-modal.umd.js","sources":["../../../projects/ui-common/modal/modal-ref.ts","../../../projects/ui-common/modal/modal-utils.ts","../../../node_modules/tslib/tslib.es6.js","../../../projects/ui-common/modal/modal-config.ts","../../../projects/ui-common/modal/modal-injectors.ts","../../../projects/ui-common/modal/modal.service.ts","../../../projects/ui-common/modal/directives/modal-close.directive.ts","../../../projects/ui-common/modal/directives/modal-footer-tpl.directive.ts","../../../projects/ui-common/modal/directives/modal-header-icon-tpl.directive.ts","../../../projects/ui-common/modal/directives/modal-header-title-tpl.directive.ts","../../../projects/ui-common/modal/directives/modal-title.directive.ts","../../../projects/ui-common/modal/directives/modal.directive.ts","../../../projects/ui-common/modal/modal-body/modal-body.component.ts","../../../projects/ui-common/modal/modal-container/modal-container.component.ts","../../../projects/ui-common/modal/modal-footer/modal-footer.component.ts","../../../projects/ui-common/modal/modal-header/modal-header.component.ts","../../../projects/ui-common/modal/modal.models.ts","../../../projects/ui-common/modal/modal/modal.component.ts","../../../projects/ui-common/modal/route-modal/route-modal.component.ts","../../../projects/ui-common/modal/modal.module.ts","../../../projects/ui-common/modal/theseam-ui-common-modal.ts"],"sourcesContent":["import { ESCAPE } from '@angular/cdk/keycodes'\nimport { GlobalPositionStrategy, OverlayRef, OverlaySizeConfig } from '@angular/cdk/overlay'\nimport { Observable } from 'rxjs'\nimport { filter, map } from 'rxjs/operators'\n\nimport { IModalPosition } from './modal-config'\nimport { ModalContainerComponent } from './modal-container/modal-container.component'\n\n/** Unique id for the created dialog. */\nlet uniqueId = 0\n\n/**\n * Reference to a dialog opened via the Dialog service.\n */\nexport class ModalRef<T, R = any> {\n /** The instance of the component in the dialog. */\n componentInstance: T | null = null\n\n /** Whether the user is allowed to close the dialog. */\n disableClose: boolean | undefined\n\n /** Result to be passed to afterClosed. */\n private _result: R | undefined\n\n constructor(\n public _overlayRef: OverlayRef,\n protected _containerInstance: ModalContainerComponent,\n readonly id: string = `seam-modal-${uniqueId++}`) {\n // Pass the id along to the container.\n _containerInstance._id = id\n\n const _bootstrapBackdropClickListener = () => {\n if (!this.disableClose) {\n this.close()\n }\n }\n\n // If the dialog has a backdrop, handle clicks from the backdrop.\n if (_containerInstance._config.hasBackdrop) {\n _overlayRef.backdropClick().subscribe(() => {\n if (!this.disableClose) {\n this.close()\n }\n })\n\n // NOTE: For current bootstrap style modal\n _overlayRef.overlayElement.addEventListener('click', _bootstrapBackdropClickListener)\n }\n\n this.beforeClosed().subscribe(() => {\n this._overlayRef.detachBackdrop()\n })\n\n this.afterClosed().subscribe(() => {\n if (this._containerInstance._config.hasBackdrop) {\n this._overlayRef.overlayElement.removeEventListener('click', _bootstrapBackdropClickListener)\n }\n this._overlayRef.detach()\n this._overlayRef.dispose()\n this.componentInstance = null\n })\n\n // Close when escape keydown event occurs\n _overlayRef.keydownEvents()\n // tslint:disable-next-line:deprecation\n .pipe(filter(event => event.keyCode === ESCAPE && !this.disableClose))\n .subscribe(() => this.close())\n }\n\n /** Gets an observable that emits when the overlay's backdrop has been clicked. */\n backdropClick(): Observable<MouseEvent> {\n return this._overlayRef.backdropClick()\n }\n\n /**\n * Close the dialog.\n * @param dialogResult Optional result to return to the dialog opener.\n */\n close(dialogResult?: R): void {\n this._result = dialogResult\n this._containerInstance._startExiting()\n }\n\n /**\n * Updates the dialog's position.\n * @param position New dialog position.\n */\n updatePosition(position?: IModalPosition): this {\n const strategy = this._getPositionStrategy()\n\n if (position && (position.left || position.right)) {\n position.left ? strategy.left(position.left) : strategy.right(position.right)\n } else {\n strategy.centerHorizontally()\n }\n\n if (position && (position.top || position.bottom)) {\n position.top ? strategy.top(position.top) : strategy.bottom(position.bottom)\n } else {\n strategy.centerVertically()\n }\n\n this._overlayRef.updatePosition()\n\n return this\n }\n\n /**\n * Gets an observable that emits when keydown events are targeted on the overlay.\n */\n keydownEvents(): Observable<KeyboardEvent> {\n return this._overlayRef.keydownEvents()\n }\n\n /**\n * Updates the dialog's width and height, defined, min and max.\n * @param size New size for the overlay.\n */\n updateSize(size: OverlaySizeConfig): this {\n if (size.width) {\n // tslint:disable-next-line:deprecation\n this._getPositionStrategy().width(size.width.toString())\n }\n if (size.height) {\n // tslint:disable-next-line:deprecation\n this._getPositionStrategy().height(size.height.toString())\n }\n this._overlayRef.updateSize(size)\n this._overlayRef.updatePosition()\n return this\n }\n\n /** Fetches the position strategy object from the overlay ref. */\n private _getPositionStrategy(): GlobalPositionStrategy {\n return this._overlayRef.getConfig().positionStrategy as GlobalPositionStrategy\n }\n\n /** Gets an observable that emits when dialog begins opening. */\n beforeOpened(): Observable<void> {\n return this._containerInstance._beforeEnter.asObservable()\n }\n\n /** Gets an observable that emits when dialog is finished opening. */\n afterOpened(): Observable<void> {\n return this._containerInstance._afterEnter.asObservable()\n }\n\n /** Gets an observable that emits when dialog begins closing. */\n beforeClosed(): Observable<R | undefined> {\n return this._containerInstance._beforeExit.pipe(map(() => this._result))\n }\n\n /** Gets an observable that emits when dialog is finished closing. */\n afterClosed(): Observable<R | undefined> {\n return this._containerInstance._afterExit.pipe(map(() => this._result))\n }\n}\n","import { ElementRef } from '@angular/core'\nimport { ModalRef } from './modal-ref'\n\n/**\n * Finds the closest MatDialogRef to an element by looking at the DOM.\n * @param element Element relative to which to look for a dialog.\n * @param openDialogs References to the currently-open dialogs.\n */\nexport function getClosestModal(element: ElementRef<HTMLElement>, openDialogs: ModalRef<any>[]) {\n let parent: HTMLElement | null = element.nativeElement.parentElement\n\n while (parent && !parent.classList.contains('seam-modal-container')) {\n parent = parent.parentElement\n }\n\n const parentId = parent ? parent.id : null\n return parentId ? openDialogs.find(dialog => dialog.id === parentId) : null\n}\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || from);\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { Direction } from '@angular/cdk/bidi'\nimport { ComponentType } from '@angular/cdk/overlay'\nimport { InjectionToken, ViewContainerRef } from '@angular/core'\n\nimport { ModalContainerComponent } from './modal-container/modal-container.component'\n\n/** Valid ARIA roles for a dialog element. */\nexport type DialogRole = 'dialog' | 'alertdialog'\n\n/** Possible overrides for a dialog's position. */\nexport interface IModalPosition {\n top?: string\n bottom?: string\n left?: string\n right?: string\n}\n\n// tslint:disable:no-inferrable-types\nexport class ModalConfig<D = any> {\n /** Component to use as the container for the dialog. */\n containerComponent?: ComponentType<ModalContainerComponent>\n\n /**\n * Where the attached component should live in Angular's *logical* component tree.\n * This affects what is available for injection and the change detection order for the\n * component instantiated inside of the dialog. This does not affect where the dialog\n * content will be rendered.\n */\n viewContainerRef?: ViewContainerRef\n\n /** The id of the dialog. */\n id?: string\n\n /** The ARIA role of the dialog. */\n role?: DialogRole = 'dialog'\n\n /** Custom class(es) for the overlay panel. */\n panelClass?: string | string[] = ''\n\n /** Whether the dialog has a background. */\n hasBackdrop?: boolean = true\n\n /** Custom class(es) for the backdrop. */\n backdropClass?: string | undefined = ''\n\n /** Whether the dialog can be closed by user interaction. */\n disableClose?: boolean = false\n\n /** The width of the dialog. */\n width?: string = '100%'\n\n /** The height of the dialog. */\n height?: string = ''\n\n /** The minimum width of the dialog. */\n minWidth?: string | number = ''\n\n /** The minimum height of the dialog. */\n minHeight?: string | number = ''\n\n /** The maximum width of the dialog. */\n maxWidth?: string | number = ''\n\n /** The maximum height of the dialog. */\n maxHeight?: string | number = ''\n\n /** The position of the dialog. */\n position?: IModalPosition\n\n /** Data to be injected into the dialog content. */\n data?: D | null = null\n\n /** The layout direction for the dialog content. */\n direction?: Direction\n\n /** ID of the element that describes the dialog. */\n ariaDescribedBy?: string | null = null\n\n /** Aria label to assign to the dialog element */\n ariaLabel?: string | null = null\n\n /** Whether the dialog should focus the first focusable element on open. */\n autoFocus?: boolean = true\n\n /** Duration of the enter animation. Has to be a valid CSS value (e.g. 100ms). */\n enterAnimationDuration?: string = '225ms'\n\n /** Duration of the exit animation. Has to be a valid CSS value (e.g. 50ms). */\n exitAnimationDuration?: string = '225ms'\n\n /** Bootstrap modal sizes */\n modalSize?: 'sm' | 'lg' | 'xl'\n}\n// tslint:enable:no-inferrable-types\n\nexport function mergeModalConfigs(a: ModalConfig, b: ModalConfig) {\n return { ...a, ...b }\n}\n\n\n/** Injection token that can be used to specify modal options. */\nexport const LIB_MODAL_CONFIG = new InjectionToken<ModalConfig>('seamModalConfig')\n","import {\n ComponentType,\n Overlay,\n ScrollStrategy,\n} from '@angular/cdk/overlay'\nimport { InjectionToken } from '@angular/core'\n\nimport { ModalConfig } from './modal-config'\nimport { ModalContainerComponent } from './modal-container/modal-container.component'\nimport { ModalRef } from './modal-ref'\n\n/** Injection token for the Dialog's ScrollStrategy. */\nexport const MODAL_SCROLL_STRATEGY =\n new InjectionToken<() => ScrollStrategy>('ModalScrollStrategy')\n\n/** Injection token for the Dialog's Data. */\nexport const MODAL_DATA = new InjectionToken<any>('ModalData')\n\n/** Injection token for the DialogRef constructor. */\nexport const MODAL_REF = new InjectionToken<ModalRef<any>>('ModalRef')\n\n/** Injection token for the DialogConfig. */\nexport const MODAL_CONFIG = new InjectionToken<ModalConfig>('ModalConfig')\n\n/** Injection token for the Dialog's DialogContainer component. */\nexport const MODAL_CONTAINER =\n new InjectionToken<ComponentType<ModalContainerComponent>>('ModalContainer')\n\n/** @docs-private */\nexport function THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay):\n () => ScrollStrategy {\n return () => overlay.scrollStrategies.block()\n}\n\n/** @docs-private */\nexport const THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER = {\n provide: MODAL_SCROLL_STRATEGY,\n deps: [ Overlay ],\n useFactory: THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER_FACTORY,\n}\n","import { Directionality } from '@angular/cdk/bidi'\nimport {\n ComponentType,\n Overlay,\n OverlayConfig,\n OverlayRef,\n ScrollStrategy,\n} from '@angular/cdk/overlay'\nimport { ComponentPortal, PortalInjector, TemplatePortal } from '@angular/cdk/portal'\nimport { Location } from '@angular/common'\nimport {\n ComponentFactoryResolver,\n ComponentRef,\n Inject,\n Injectable,\n Injector,\n OnDestroy,\n Optional,\n SkipSelf,\n TemplateRef,\n Type\n} from '@angular/core'\nimport { defer, Observable, of, of as observableOf, Subject } from 'rxjs'\nimport { startWith, switchMap } from 'rxjs/operators'\n\nimport { TheSeamDynamicComponentLoader } from '@theseam/ui-common/dynamic-component-loader'\nimport { OverlayScrollbarsService } from '@theseam/ui-common/scrollbar'\n\nimport { ModalConfig } from './modal-config'\nimport { ModalContainerComponent } from './modal-container/modal-container.component'\nimport {\n MODAL_CONFIG,\n MODAL_CONTAINER,\n MODAL_DATA,\n MODAL_REF,\n MODAL_SCROLL_STRATEGY,\n} from './modal-injectors'\nimport { ModalRef } from './modal-ref'\n\n\n/**\n * Service to open modal dialogs.\n */\n@Injectable()\nexport class Modal implements OnDestroy {\n private _scrollStrategy: () => ScrollStrategy\n\n /** Stream that emits when all dialogs are closed. */\n get _afterAllClosed(): Observable<void> {\n return this._parentDialog ? this._parentDialog.afterAllClosed : this._afterAllClosedBase\n }\n _afterAllClosedBase = new Subject<void>()\n\n afterAllClosed: Observable<void> = defer(() => this.openDialogs.length ?\n this._afterAllClosed : this._afterAllClosed.pipe(startWith(undefined)))\n\n /** Stream that emits when a dialog is opened. */\n get afterOpened(): Subject<ModalRef<any>> {\n return this._parentDialog ? this._parentDialog.afterOpened : this._afterOpened\n }\n _afterOpened: Subject<ModalRef<any>> = new Subject()\n\n /** Stream that emits when a dialog is opened. */\n get openDialogs(): ModalRef<any>[] {\n return this._parentDialog ? this._parentDialog.openDialogs : this._openDialogs\n }\n _openDialogs: ModalRef<any>[] = []\n\n constructor(\n private overlay: Overlay,\n private injector: Injector,\n @Inject(MODAL_REF) private dialogRefConstructor: Type<ModalRef<any>>,\n @Inject(MODAL_SCROLL_STRATEGY) scrollStrategy: any,\n @Optional() @SkipSelf() private _parentDialog: Modal,\n @Optional() location: Location,\n private _scrollbars: OverlayScrollbarsService,\n private _dynamicComponentLoaderModule: TheSeamDynamicComponentLoader\n ) {\n\n // Close all of the dialogs when the user goes forwards/backwards in history or when the\n // location hash changes. Note that this usually doesn't include clicking on links (unless\n // the user is using the `HashLocationStrategy`).\n if (!_parentDialog && location) {\n location.subscribe(() => this.closeAll())\n }\n\n this._scrollStrategy = scrollStrategy\n }\n\n /** Gets an open dialog by id. */\n getById(id: string): ModalRef<any> | undefined {\n return this._openDialogs.find(ref => ref.id === id)\n }\n\n /** Closes all open dialogs. */\n closeAll(): void {\n this.openDialogs.forEach(ref => ref.close())\n }\n\n /** Opens a dialog from a component. */\n openFromComponent<T, D = any>(\n component: ComponentType<T>,\n config?: ModalConfig<D>,\n // NOTE: Should only be needed with the current implementation of `TheSeamDynamicComponentLoader`.\n componentFactoryResolver?: ComponentFactoryResolver | null | undefined\n ): ModalRef<T, D> {\n config = this._applyConfigDefaults(config)\n\n if (config.id && this.getById(config.id)) {\n throw Error(`Modal with id \"${config.id}\" exists already. The modal id must be unique.`)\n }\n\n const overlayRef = this._createOverlay(config)\n const dialogContainer = this._attachDialogContainer(overlayRef, config)\n const dialogRef = this._attachDialogContentForComponent(component, dialogContainer,\n overlayRef, config, componentFactoryResolver)\n\n this.registerDialogRef(dialogRef)\n return dialogRef\n }\n\n /** Opens a dialog from a template. */\n openFromTemplate<T>(template: TemplateRef<T>, config?: ModalConfig): ModalRef<any> {\n config = this._applyConfigDefaults(config)\n\n if (config.id && this.getById(config.id)) {\n throw Error(`Modal with id \"${config.id}\" exists already. The modal id must be unique.`)\n }\n\n const overlayRef = this._createOverlay(config)\n const dialogContainer = this._attachDialogContainer(overlayRef, config)\n const dialogRef = this._attachDialogContentForTemplate(template, dialogContainer,\n overlayRef, config)\n\n this.registerDialogRef(dialogRef)\n return dialogRef\n }\n\n /** Opens a dialog from a lazy-loaded component. */\n openFromLazyComponent<T, D = any>(\n componentId: string,\n config?: ModalConfig<D>\n ): Observable<ModalRef<T, D>> {\n config = this._applyConfigDefaults(config)\n\n if (config.id && this.getById(config.id)) {\n throw Error(`Modal with id \"${config.id}\" exists already. The modal id must be unique.`)\n }\n\n return this._dynamicComponentLoaderModule\n .getComponentFactory<{}>(componentId)\n .pipe(\n switchMap(componentFactory => {\n const modalRef = this.openFromComponent(\n componentFactory.componentType,\n config,\n (<any /* ComponentFactoryBoundToModule */>componentFactory).ngModule.componentFactoryResolver\n )\n return of(modalRef)\n })\n )\n }\n\n ngOnDestroy() {\n // Only close all the dialogs at this level.\n this._openDialogs.forEach(ref => ref.close())\n }\n\n /**\n * Forwards emitting events for when dialogs are opened and all dialogs are closed.\n */\n private registerDialogRef(dialogRef: ModalRef<any>): void {\n this.openDialogs.push(dialogRef)\n\n let cleanupScroll: (() => void) | undefined\n const dialogBeforeOpenSub = dialogRef.beforeOpened().subscribe(() => {\n cleanupScroll = this._registerDialogRefScrollEvents(dialogRef)\n dialogBeforeOpenSub.unsubscribe()\n })\n\n const dialogBeforeCloseSub = dialogRef.beforeClosed().subscribe(() => {\n // TODO: Do I need to destroy the instance? I feel like I should, but the\n // way I have this implemented currently causes the native scrollbar to\n // appear before the element is removed from the DOM.\n // this._scrollbars.destroyInstance(dialogRef._overlayRef.overlayElement)\n if (cleanupScroll) {\n cleanupScroll()\n }\n\n dialogBeforeCloseSub.unsubscribe()\n })\n\n const dialogOpenSub = dialogRef.afterOpened().subscribe(() => {\n this.afterOpened.next(dialogRef)\n dialogOpenSub.unsubscribe()\n })\n\n const dialogCloseSub = dialogRef.afterClosed().subscribe(() => {\n // this._scrollbars.destroyInstance(dialogRef._overlayRef.overlayElement)\n const dialogIndex = this._openDialogs.indexOf(dialogRef)\n\n if (dialogIndex > -1) {\n this._openDialogs.splice(dialogIndex, 1)\n }\n\n if (!this._openDialogs.length) {\n this._afterAllClosedBase.next()\n dialogCloseSub.unsubscribe()\n }\n })\n }\n\n // TODO: Cleanup. This was rushed together fast and became an unefficient mess.\n private _registerDialogRefScrollEvents(dialogRef: ModalRef<any>): () => void {\n const _scrollbarMouseDownListener = () => {\n if (dialogRef) { dialogRef.disableClose = true }\n }\n const _scrollbarMouseUpListener = () => {\n setTimeout(() => { if (dialogRef) { dialogRef.disableClose = false } })\n }\n\n let verticalHandleElement: HTMLElement | undefined\n let horizontalHandleElement: HTMLElement | undefined\n this._scrollbars.initializeInstance(dialogRef._overlayRef.overlayElement, {\n callbacks: {\n onInitialized: () => {\n // console.log('onInitialized')\n setTimeout(() => {\n const instance = this._scrollbars.getInstance(dialogRef._overlayRef.overlayElement)\n if (instance) {\n verticalHandleElement = instance.getElements().scrollbarVertical.handle\n if (verticalHandleElement) {\n verticalHandleElement.addEventListener('mousedown', _scrollbarMouseDownListener)\n verticalHandleElement.addEventListener('touchstart', _scrollbarMouseDownListener)\n }\n horizontalHandleElement = instance.getElements().scrollbarHorizontal.handle\n if (horizontalHandleElement) {\n horizontalHandleElement.addEventListener('mousedown', _scrollbarMouseDownListener)\n horizontalHandleElement.addEventListener('touchstart', _scrollbarMouseDownListener)\n }\n if (verticalHandleElement || horizontalHandleElement) {\n document.addEventListener('mouseup', _scrollbarMouseUpListener)\n document.addEventListener('touchend', _scrollbarMouseUpListener)\n document.addEventListener('touchcancel', _scrollbarMouseUpListener)\n }\n }\n })\n },\n onDestroyed: () => {\n // console.log('onDestroyed')\n // // const instance = this._scrollbars.getInstance(dialogRef._overlayRef.overlayElement)\n // // const scrollElem = instance.getElements().scrollbarVertical.handle\n // if (verticalHandleElement) {\n // verticalHandleElement.removeEventListener('mousedown', _scrollbarMouseDownListener)\n // verticalHandleElement.removeEventListener('touchstart', _scrollbarMouseDownListener)\n // }\n // if (horizontalHandleElement) {\n // horizontalHandleElement.removeEventListener('mousedown', _scrollbarMouseDownListener)\n // horizontalHandleElement.removeEventListener('touchstart', _scrollbarMouseDownListener)\n // }\n // if (verticalHandleElement || horizontalHandleElement) {\n // document.removeEventListener('mouseup', _scrollbarMouseUpListener)\n // document.removeEventListener('touchend', _scrollbarMouseUpListener)\n // document.removeEventListener('touchcancel', _scrollbarMouseUpListener)\n // }\n }\n }\n })\n\n // Cleans up the registered events.\n return () => {\n // console.log('scrollevents cleanup')\n // const instance = this._scrollbars.getInstance(dialogRef._overlayRef.overlayElement)\n // const scrollElem = instance.getElements().scrollbarVertical.handle\n if (verticalHandleElement) {\n verticalHandleElement.removeEventListener('mousedown', _scrollbarMouseDownListener)\n verticalHandleElement.removeEventListener('touchstart', _scrollbarMouseDownListener)\n }\n if (horizontalHandleElement) {\n horizontalHandleElement.removeEventListener('mousedown', _scrollbarMouseDownListener)\n horizontalHandleElement.removeEventListener('touchstart', _scrollbarMouseDownListener)\n }\n if (verticalHandleElement || horizontalHandleElement) {\n document.removeEventListener('mouseup', _scrollbarMouseUpListener)\n document.removeEventListener('touchend', _scrollbarMouseUpListener)\n document.removeEventListener('touchcancel', _scrollbarMouseUpListener)\n }\n }\n }\n\n /**\n * Creates an overlay config from a dialog config.\n * @param config The dialog configuration.\n * @returns The overlay configuration.\n */\n protected _createOverlay(config: ModalConfig): OverlayRef {\n let panelClass = (config.panelClass || [])\n if (typeof panelClass === 'string') {\n panelClass = [ panelClass ]\n }\n panelClass = [ ...panelClass, 'modal', 'd-block', 'overflow-auto' ]\n\n const overlayConfig = new OverlayConfig({\n positionStrategy: this.overlay.position().global(),\n scrollStrategy: this._scrollStrategy(),\n panelClass: panelClass,\n hasBackdrop: config.hasBackdrop,\n direction: config.direction,\n minWidth: config.minWidth,\n minHeight: config.minHeight,\n maxWidth: config.maxWidth,\n maxHeight: config.maxHeight\n })\n\n if (config.backdropClass) {\n overlayConfig.backdropClass = config.backdropClass\n }\n return this.overlay.create(overlayConfig)\n }\n\n /**\n * Attaches an MatDialogContainer to a dialog's already-created overlay.\n * @param overlay Reference to the dialog's underlying overlay.\n * @param config The dialog configuration.\n * @returns A promise resolving to a ComponentRef for the attached container.\n */\n protected _attachDialogContainer(overlay: OverlayRef, config: ModalConfig): ModalContainerComponent {\n const container = config.containerComponent || this.injector.get(MODAL_CONTAINER)\n const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector\n const injector = new PortalInjector(userInjector || this.injector, new WeakMap([\n [ModalConfig, config]\n ]))\n const containerPortal = new ComponentPortal(container, config.viewContainerRef, injector)\n const containerRef = <ComponentRef<ModalContainerComponent>>overlay.attach(containerPortal)\n containerRef.instance._config = config\n\n return containerRef.instance\n }\n\n\n /**\n * Attaches the user-provided component to the already-created MatDialogContainer.\n * @param componentOrTemplateRef The type of component being loaded into the dialog,\n * or a TemplateRef to instantiate as the content.\n * @param dialogContainer Reference to the wrapping MatDialogContainer.\n * @param overlayRef Reference to the overlay in which the dialog resides.\n * @param config The dialog configuration.\n * @returns A promise resolving to the MatDialogRef that should be returned to the user.\n */\n protected _attachDialogContentForComponent<T>(\n componentOrTemplateRef: ComponentType<T>,\n dialogContainer: ModalContainerComponent,\n overlayRef: OverlayRef,\n config: ModalConfig,\n componentFactoryResolver?: ComponentFactoryResolver | null | undefined): ModalRef<any> {\n\n // Create a reference to the dialog we're creating in order to give the user a handle\n // to modify and close it.\n const dialogRef = new this.dialogRefConstructor(overlayRef, dialogContainer, config.id)\n const injector = this._createInjector<T>(config, dialogRef, dialogContainer)\n const contentRef = dialogContainer.attachComponentPortal(\n new ComponentPortal(componentOrTemplateRef, undefined, injector, componentFactoryResolver))\n\n dialogRef.componentInstance = contentRef.instance\n dialogRef.disableClose = config.disableClose\n\n dialogRef.updateSize({width: config.width, height: config.height})\n .updatePosition(config.position)\n\n return dialogRef\n }\n\n /**\n * Attaches the user-provided component to the already-created MatDialogContainer.\n * @param componentOrTemplateRef The type of component being loaded into the dialog,\n * or a TemplateRef to instantiate as the content.\n * @param dialogContainer Reference to the wrapping MatDialogContainer.\n * @param overlayRef Reference to the overlay in which the dialog resides.\n * @param config The dialog configuration.\n * @returns A promise resolving to the MatDialogRef that should be returned to the user.\n */\n protected _attachDialogContentForTemplate<T>(\n componentOrTemplateRef: TemplateRef<T>,\n dialogContainer: ModalContainerComponent,\n overlayRef: OverlayRef,\n config: ModalConfig): ModalRef<any> {\n\n // Create a reference to the dialog we're creating in order to give the user a handle\n // to modify and close it.\n const dialogRef = new this.dialogRefConstructor(overlayRef, dialogContainer, config.id)\n\n dialogContainer.attachTemplatePortal(\n new TemplatePortal<T>(componentOrTemplateRef, <any>null,\n <any>{$implicit: config.data, dialogRef}))\n dialogRef.updateSize({width: config.width, height: config.height})\n .updatePosition(config.position)\n\n return dialogRef\n }\n\n\n /**\n * Creates a custom injector to be used inside the dialog. This allows a component loaded inside\n * of a dialog to close itself and, optionally, to return a value.\n * @param config Config object that is used to construct the dialog.\n * @param dialogRef Reference to the dialog.\n * @param container Dialog container element that wraps all of the contents.\n * @returns The custom injector that can be used inside the dialog.\n */\n private _createInjector<T>(\n config: ModalConfig,\n dialogRef: ModalRef<T>,\n dialogContainer: ModalContainerComponent): PortalInjector {\n\n const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector\n const injectionTokens = new WeakMap<any, any>([\n [this.injector.get(MODAL_REF), dialogRef],\n [this.injector.get(MODAL_CONTAINER), dialogContainer],\n [MODAL_DATA, config.data]\n ])\n\n if (config.direction &&\n (!userInjector || !userInjector.get<Directionality | null>(Directionality, null))) {\n injectionTokens.set(Directionality, {\n value: config.direction,\n change: observableOf()\n })\n }\n\n return new PortalInjector(userInjector || this.injector, injectionTokens)\n }\n\n /**\n * Expands the provided configuration object to include the default values for properties which\n * are undefined.\n */\n private _applyConfigDefaults(config?: ModalConfig): ModalConfig {\n const dialogConfig = (<unknown>this.injector.get(MODAL_CONFIG)) as typeof ModalConfig\n return {...new dialogConfig(), ...config}\n }\n}\n","import { Directive, ElementRef, HostBinding, HostListener, Input, OnInit, Optional } from '@angular/core'\n\nimport { ModalRef } from '../modal-ref'\nimport { getClosestModal } from '../modal-utils'\nimport { Modal } from '../modal.service'\n\n@Directive({\n selector: 'button[seamModalClose]',\n exportAs: 'seamModalClose'\n})\nexport class ModalCloseDirective implements OnInit {\n\n public modalRef: ModalRef<any> | undefined | null\n\n // @HostBinding('class.close') _closeCss = true\n\n @HostBinding('attr.type')\n get _attrType() { return this.type }\n\n @Input() type = 'button'\n\n @HostBinding('attr.aria-label')\n get _attrAriaLabel() { return this.ariaLabel || null }\n\n /** Screenreader label for the button. */\n @Input('aria-label') ariaLabel: string | undefined | null\n\n @Input() seamModalClose: any\n\n // NOTE: This will most likely be temporary.\n @Input() seamModalNext: any\n @Input() seamModalNextConfig: any\n\n @HostListener('click')\n _onClick() {\n if (this.modalRef) {\n if (this.seamModalNext) {\n this.modalRef.afterClosed().subscribe(() => {\n if (typeof this.seamModalNext === 'string') {\n this._modal.openFromLazyComponent(this.seamModalNext, this.seamModalNextConfig).subscribe()\n } else {\n this._modal.openFromComponent(this.seamModalNext, this.seamModalNextConfig)\n }\n })\n }\n this.modalRef.close(this.seamModalClose)\n }\n }\n\n constructor(\n private _elementRef: ElementRef<HTMLElement>,\n private _modal: Modal,\n @Optional() private _modalRef?: ModalRef<any>\n ) {\n this.modalRef = _modalRef\n }\n\n ngOnInit() {\n if (!this.modalRef) {\n // When this directive is included in a dialog via TemplateRef (rather than being\n // in a Component), the DialogRef isn't available via injection because embedded\n // views cannot be given a custom injector. Instead, we look up the DialogRef by\n // ID. This must occur in `onInit`, as the ID binding for the dialog container won't\n // be resolved at constructor time.\n this.modalRef = getClosestModal(this._elementRef, this._modal.openDialogs)\n }\n }\n\n}\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamModalFooterTpl]'\n})\nexport class ModalFooterTplDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamModalHeaderIconTpl]'\n})\nexport class ModalHeaderIconTplDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamModalHeaderTitleTpl]'\n})\nexport class ModalHeaderTitleTplDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { Directive, ElementRef, HostBinding, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamModalTitle]'\n})\nexport class ModalTitleDirective {\n\n @HostBinding('class.modal-title') _modalTitleCss = true\n\n constructor(\n private _elementRef: ElementRef<HTMLElement>\n ) { }\n\n}\n","import { Directive, TemplateRef } from '@angular/core'\n\nimport { ModalRef } from '../modal-ref'\nimport { Modal } from '../modal.service'\n\n// TODO: Make this work for current modal usage.\n\n@Directive({\n selector: '[seamModal]',\n exportAs: 'seamModal'\n})\nexport class ModalDirective {\n\n constructor(\n public template: TemplateRef<HTMLElement>,\n public modal: Modal\n ) { }\n\n open(): void {\n // console.log('[ModalDirective] open')\n const ref = this.modal.openFromTemplate(this.template)\n ref.backdropClick().subscribe(e => console.log('backdropClick', e))\n }\n\n}\n","import { Component, HostBinding, OnInit } from '@angular/core'\n\n@Component({\n selector: 'seam-modal-body',\n templateUrl: './modal-body.component.html',\n styleUrls: ['./modal-body.component.scss']\n})\nexport class ModalBodyComponent implements OnInit {\n\n @HostBinding('class.modal-body') _modalBodyCss = true\n @HostBinding('class.p-3') _paddingCss = true\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { animate, AnimationEvent, state, style, transition, trigger } from '@angular/animations'\nimport { FocusTrapFactory } from '@angular/cdk/a11y'\nimport { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal'\nimport { DOCUMENT } from '@angular/common'\nimport {\n ChangeDetectorRef,\n Component,\n ComponentRef,\n ElementRef,\n EmbeddedViewRef,\n HostBinding,\n HostListener,\n Inject,\n OnDestroy,\n Optional,\n ViewChild\n} from '@angular/core'\nimport { Subject } from 'rxjs'\nimport { distinctUntilChanged } from 'rxjs/operators'\n\nimport { ModalConfig } from '../modal-config'\n\nexport function throwDialogContentAlreadyAttachedError() {\n throw Error('Attempting to attach dialog content after content is already attached')\n}\n\n/**\n * Internal component that wraps user-provided dialog content.\n * @docs-private\n */\n@Component({\n selector: 'seam-modal-container',\n templateUrl: './modal-container.component.html',\n styleUrls: ['./modal-container.component.scss'],\n animations: [\n trigger('dialog', [\n state('enter', style({opacity: 1})),\n state('exit, void', style({opacity: 0})),\n transition('* => enter', animate('{{enterAnimationDuration}}')),\n transition('* => exit, * => void', animate('{{exitAnimationDuration}}')),\n ])\n ],\n // tslint:disable:use-host-property-decorator\n host: {\n '[@dialog]': `{\n value: _state,\n params: {\n enterAnimationDuration: _config.enterAnimationDuration,\n exitAnimationDuration: _config.exitAnimationDuration\n }\n }`,\n '(@dialog.start)': '_onAnimationStart($event)',\n '(@dialog.done)': '_animationDone.next($event)',\n },\n // tslint:enable:use-host-property-decorator\n})\nexport class ModalContainerComponent extends BasePortalOutlet implements OnDestroy {\n\n @HostBinding('attr.id') get _idAttr() { return this._id }\n\n // @HostBinding is used in the class as it is expected to be extended. Since @Component decorator\n // metadata is not inherited by child classes, instead the host binding data is defined in a way\n // that can be inherited.\n // tslint:disable:no-host-decorator-in-concrete\n @HostBinding('attr.aria-label') get _ariaLabel() { return this._config.ariaLabel || null }\n\n @HostBinding('attr.aria-describedby')\n get _ariaDescribedBy() { return this._config.ariaDescribedBy }\n\n @HostBinding('attr.role') get _role() { return this._config.role }\n\n // @HostBinding('attr.tabindex') get _tabindex() { return -1 }\n\n @HostBinding('class.seam-modal-container') _seamModalContainer = true\n\n _id: string | undefined | null\n\n constructor(\n private _elementRef: ElementRef<HTMLElement>,\n private _focusTrapFactory: FocusTrapFactory,\n private _changeDetectorRef: ChangeDetectorRef,\n @Optional() @Inject(DOCUMENT) private _document: any,\n /** The dialog configuration. */\n public _config: ModalConfig) {\n super()\n\n // We use a Subject with a distinctUntilChanged, rather than a callback attached to .done,\n // because some browsers fire the done event twice and we don't want to emit duplicate events.\n // See: https://github.com/angular/angular/issues/24084\n this._animationDone.pipe(distinctUntilChanged((x, y) => {\n return x.fromState === y.fromState && x.toState === y.toState\n })).subscribe(event => {\n // Emit lifecycle events based on animation `done` callback.\n if (event.toState === 'enter') {\n this._autoFocusFirstTabbableElement()\n this._afterEnter.next()\n this._afterEnter.complete()\n }\n\n if (event.fromState === 'enter' && (event.toState === 'void' || event.toState === 'exit')) {\n this._returnFocusAfterDialog()\n this._afterExit.next()\n this._afterExit.complete()\n }\n })\n }\n\n /** State of the dialog animation. */\n _state: 'void' | 'enter' | 'exit' = 'enter'\n\n /** Element that was focused before the dialog was opened. Save this to restore upon close. */\n private _elementFocusedBeforeDialogWasOpened: HTMLElement | null = null\n\n /** The class that traps and manages focus within the dialog. */\n private _focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement, false)\n // tslint:disable:no-host-decorator-in-concrete\n\n @HostBinding('class.modal-dialog') _modalDialog = true\n @HostBinding('class.modal-dialog-centered') _modalDialogCentered = true\n\n @HostBinding('class.modal-sm') get _modalDialogSm() { return this._config.modalSize === 'sm' }\n @HostBinding('class.modal-lg') get _modalDialogLg() { return this._config.modalSize === 'lg' }\n @HostBinding('class.modal-xl') get _modalDialogXl() { return this._config.modalSize === 'xl' }\n\n /** The portal host inside of this container into which the dialog content will be loaded. */\n @ViewChild(CdkPortalOutlet /*, { static: true }*/, { static: true }) _portalHost?: CdkPortalOutlet\n\n /** A subject emitting before the dialog enters the view. */\n _beforeEnter: Subject<void> = new Subject()\n\n /** A subject emitting after the dialog enters the view. */\n _afterEnter: Subject<void> = new Subject()\n\n /** A subject emitting before the dialog exits the view. */\n _beforeExit: Subject<void> = new Subject()\n\n /** A subject emitting after the dialog exits the view. */\n _afterExit: Subject<void> = new Subject()\n\n /** Stream of animation `done` events. */\n _animationDone = new Subject<AnimationEvent>()\n\n // NOTE: For current bootstrap style modal\n @HostListener('click', [ '$event' ])\n _onClick(event: UIEvent) {\n event.stopPropagation()\n }\n\n /** Destroy focus trap to place focus back to the element focused before the dialog opened. */\n ngOnDestroy() {\n this._focusTrap.destroy()\n this._animationDone.complete()\n }\n\n /**\n * Attach a ComponentPortal as content to this dialog container.\n * @param portal Portal to be attached as the dialog content.\n */\n attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T> {\n if (!this._portalHost) {\n throw Error(`_portalHost not found.`)\n }\n\n if (this._portalHost.hasAttached()) {\n throwDialogContentAlreadyAttachedError()\n }\n\n this._savePreviouslyFocusedElement()\n return this._portalHost.attachComponentPortal(portal)\n }\n\n /**\n * Attach a TemplatePortal as content to this dialog container.\n * @param portal Portal to be attached as the dialog content.\n */\n attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C> {\n if (!this._portalHost) {\n throw Error(`_portalHost not found.`)\n }\n\n if (this._portalHost.hasAttached()) {\n throwDialogContentAlreadyAttachedError()\n }\n\n this._savePreviouslyFocusedElement()\n return this._portalHost.attachTemplatePortal(portal)\n }\n\n /** Emit lifecycle events based on animation `start` callback. */\n _onAnimationStart(event: AnimationEvent) {\n if (event.toState === 'enter') {\n this._beforeEnter.next()\n this._beforeEnter.complete()\n }\n if (event.fromState === 'enter' && (event.toState === 'void' || event.toState === 'exit')) {\n this._beforeExit.next()\n this._beforeExit.complete()\n }\n }\n\n /** Starts the dialog exit animation. */\n _startExiting(): void {\n this._state = 'exit'\n\n // Mark the container for check so it can react if the\n // view container is using OnPush change detection.\n this._changeDetectorRef.markForCheck()\n }\n\n /** Saves a reference to the element that was focused before the dialog was opened. */\n private _savePreviouslyFocusedElement() {\n if (this._document) {\n this._elementFocusedBeforeDialogWasOpened = this._document.activeElement as HTMLElement\n\n // Move focus onto the dialog immediately in order to prevent the user from accidentally\n // opening multiple dialogs at the same time. Needs to be async, because the element\n // may not be focusable immediately.\n Promise.resolve().then(() => this._elementRef.nativeElement.focus())\n }\n }\n\n /**\n * Autofocus the first tabbable element inside of the dialog, if there is not a tabbable element,\n * focus the dialog instead.\n */\n private _autoFocusFirstTabbableElement() {\n // If were to attempt to focus immediately, then the content of the dialog would not yet be\n // ready in instances where change detection has to run first. To deal with this, we simply\n // wait for the microtask queue to be empty.\n if (this._config.autoFocus) {\n this._focusTrap.focusInitialElementWhenReady().then(hasMovedFocus => {\n // If we didn't find any focusable elements inside the dialog, focus the\n // container so the user can't tab into other elements behind it.\n if (!hasMovedFocus) {\n this._elementRef.nativeElement.focus()\n }\n })\n }\n }\n\n /** Returns the focus to the element focused before the dialog was open. */\n private _returnFocusAfterDialog() {\n const toFocus = this._elementFocusedBeforeDialogWasOpened\n // We need the extra check, because IE can set the `activeElement` to null in some cases.\n if (toFocus && typeof toFocus.focus === 'function') {\n toFocus.focus()\n }\n }\n\n}\n","import { Component, HostBinding, OnInit } from '@angular/core'\n\n@Component({\n selector: 'seam-modal-footer',\n templateUrl: './modal-footer.component.html',\n styleUrls: ['./modal-footer.component.scss']\n})\nexport class ModalFooterComponent implements OnInit {\n\n @HostBinding('class.modal-footer') _modalFooterCss = true\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { Component, ContentChild, HostBinding, Input, OnInit } from '@angular/core'\n\nimport { ModalCloseDirective } from '../directives/modal-close.directive'\nimport { ModalTitleDirective } from '../directives/modal-title.directive'\n\n@Component({\n selector: 'seam-modal-header',\n templateUrl: './modal-header.component.html',\n styleUrls: ['./modal-header.component.scss']\n})\nexport class ModalHeaderComponent implements OnInit {\n\n @HostBinding('class.modal-header') _modalHeaderCss = true\n\n @Input() hasCloseBtn = true\n\n @ContentChild(ModalTitleDirective, { static: true }) _titleDirective?: ModalTitleDirective\n @ContentChild(ModalCloseDirective, { static: true }) _closeDirective?: ModalCloseDirective\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { OverlayRef } from '@angular/cdk/overlay'\nimport { EventEmitter, InjectionToken } from '@angular/core'\nimport { FormGroup } from '@angular/forms'\n\nexport interface IModalContainer {\n\n /**\n * Modal will close if a key is pressed with any of these key codes.\n *\n * default: [ 27 ] // 27 = ESCAPE\n */\n closeOnKeyPressed: number[]\n\n /** Emits when the modal has closed. */\n modalClosed: EventEmitter<void>\n\n /** Reference to the cdk OverlayRef. */\n _overlayRef?: OverlayRef\n\n /** Makes the modal container a form with this formGroup. */\n form: FormGroup | undefined | null\n\n /** Emit the `(ngSubmit)` event. NOTE: Only if `form` is defined. */\n formSubmit: EventEmitter<void>\n\n /** Opens the modal. */\n open(): void\n\n /** Closes the modal. */\n close(): void\n\n}\n\nexport const THESEAM_MODAL_CONTAINER = new InjectionToken<IModalContainer>('seamModalContainer')\n","import { BooleanInput } from '@angular/cdk/coercion'\nimport { ESCAPE } from '@angular/cdk/keycodes'\nimport { Overlay, OverlayRef } from '@angular/cdk/overlay'\nimport { ComponentPortal, TemplatePortal } from '@angular/cdk/portal'\nimport {\n AfterViewInit, Component, ContentChild, EventEmitter, forwardRef, Input,\n isDevMode, OnDestroy, OnInit, Output, TemplateRef, ViewChild, ViewContainerRef\n} from '@angular/core'\nimport { FormGroup } from '@angular/forms'\nimport { ActivatedRoute } from '@angular/router'\nimport { filter } from 'rxjs/operators'\n\nimport { IconProp } from '@fortawesome/fontawesome-svg-core'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport { SeamIcon } from '@theseam/ui-common/icon'\n\nimport { ModalFooterTplDirective } from '../directives/modal-footer-tpl.directive'\nimport { ModalHeaderIconTplDirective } from '../directives/modal-header-icon-tpl.directive'\nimport { ModalHeaderTitleTplDirective } from '../directives/modal-header-title-tpl.directive'\nimport { IModalContainer, THESEAM_MODAL_CONTAINER } from '../modal.models'\n\nexport const LIB_MODAL: any = {\n provide: THESEAM_MODAL_CONTAINER,\n // tslint:disable-next-line:no-use-before-declare\n useExisting: forwardRef(() => ModalComponent),\n multi: true,\n}\n\n@Component({\n selector: 'seam-modal',\n templateUrl: './modal.component.html',\n styleUrls: ['./modal.component.scss'],\n providers: [ LIB_MODAL ]\n})\nexport class ModalComponent implements OnInit, OnDestroy, AfterViewInit, IModalContainer {\n static ngAcceptInputType_showCloseBtn: BooleanInput\n\n @Input()\n set closeOnKeyPressed(value: number[]) { this._closeOnKeyPressed = Array.isArray(value) ? value : [] }\n get closeOnKeyPressed(): number[] { return this._closeOnKeyPressed }\n private _closeOnKeyPressed: number[] = [ ESCAPE ]\n\n @Input() @InputBoolean() showCloseBtn: boolean = true\n\n @Input() titleText: string | undefined | null\n\n @Input()\n get icon(): SeamIcon | undefined { return this._iconUrl || this._iconObj }\n set icon(value: SeamIcon | undefined) {\n if (typeof value === 'string') {\n this._iconUrl = value\n this._iconObj = undefined\n } else {\n this._iconUrl = undefined\n this._iconObj = value\n }\n }\n\n public _iconUrl: string | undefined\n public _iconObj: IconProp | undefined\n\n @Input()\n get iconTpl(): TemplateRef<HTMLElement> | undefined {\n return this._iconTpl || (this._queryIconTpl && this._queryIconTpl.template)\n }\n set iconTpl(value: TemplateRef<HTMLElement> | undefined) {\n this._iconTpl = value\n }\n private _iconTpl?: TemplateRef<HTMLElement>\n\n @Input()\n get titleTpl(): TemplateRef<HTMLElement> | undefined {\n return this._titleTpl || (this._queryTitleTpl && this._queryTitleTpl.template)\n }\n set titleTpl(value: TemplateRef<HTMLElement> | undefined) {\n this._titleTpl = value\n }\n private _titleTpl?: TemplateRef<HTMLElement>\n\n @Input()\n get footerTpl(): TemplateRef<HTMLElement> | undefined {\n return this._footerTpl || (this._queryFooterTpl && this._queryFooterTpl.template)\n }\n set footerTpl(value: TemplateRef<HTMLElement> | undefined) {\n this._footerTpl = value\n }\n private _footerTpl?: TemplateRef<HTMLElement>\n\n @Output() modalClosed = new EventEmitter<void>()\n\n _overlayRef?: OverlayRef\n\n @Output() overlayDetached = new EventEmitter<void>()\n\n @ContentChild(ModalHeaderIconTplDirective, { static: true }) _queryIconTpl?: ModalHeaderIconTplDirective\n @ContentChild(ModalHeaderTitleTplDirective, { static: true }) _queryTitleTpl?: ModalHeaderTitleTplDirective\n @ContentChild(ModalFooterTplDirective, { static: true }) _queryFooterTpl?: ModalFooterTplDirective\n\n @ViewChild('modalTpl', { static: true }) _modalTpl?: TemplateRef<HTMLElement>\n\n /** Makes the modal container a form with this formGroup. */\n @Input() form: FormGroup | undefined | null\n\n /** Emit the `(ngSubmit)` event. NOTE: Only if `form` is defined. */\n @Output() formSubmit = new EventEmitter<void>()\n\n constructor(\n private _viewContainerRef: ViewContainerRef,\n private _overlay: Overlay,\n private _route: ActivatedRoute\n ) {\n if (isDevMode()) {\n // tslint:disable-next-line:max-line-length\n console.warn('seamModal has some issues with its design. Use the Modal service for now, because seamModal will have breaking changes or be removed soon.')\n }\n }\n\n ngOnInit() { }\n\n ngOnDestroy() {\n this.close()\n }\n\n ngAfterViewInit() {\n if (this.isRouteModal()) {\n this.open()\n }\n }\n\n public open(portal?: TemplatePortal | ComponentPortal<{}>) {\n if (this._overlayRef && this._overlayRef.hasAttached()) { return }\n\n const positionStrategy = this._overlay.position()\n .global()\n .centerHorizontally()\n .centerVertically()\n\n this._overlayRef = this._overlay.create({\n hasBackdrop: true,\n positionStrategy: positionStrategy\n })\n\n this._overlayRef.detachments().subscribe(_ => this.overlayDetached.emit())\n\n this._overlayRef.backdropClick().subscribe(_ => this.close())\n\n this._overlayRef.keydownEvents()\n // tslint:disable-next-line:deprecation\n .pipe(filter(e => e.keyCode === ESCAPE))\n .subscribe(_ => this.close())\n\n let portalToAttach = portal\n if (!portalToAttach) {\n if (!this._modalTpl) {\n throw new Error(`_modalTpl not found.`)\n }\n portalToAttach = new TemplatePortal(this._modalTpl, this._viewContainerRef)\n }\n\n this._overlayRef.attach(portalToAttach)\n }\n\n public close() {\n if (!this._overlayRef || !this._overlayRef.hasAttached()) { return }\n\n this._overlayRef.detach()\n\n this.modalClosed.emit()\n }\n\n _onSubmit() {\n this.formSubmit.emit()\n }\n\n public isRouteModal() {\n return this._route.outlet === 'modal'\n }\n\n}\n","import { AfterViewInit, Component, OnDestroy, OnInit, ViewChild } from '@angular/core'\nimport { ActivatedRoute, ActivatedRouteSnapshot, Router } from '@angular/router'\n\n// import { ModalComponent } from '../modal/modal.component'\nimport { Subject } from 'rxjs'\nimport { takeUntil } from 'rxjs/operators'\nimport { Modal } from '../modal.service'\n\n@Component({\n selector: 'seam-route-modal',\n templateUrl: './route-modal.component.html',\n styleUrls: ['./route-modal.component.scss']\n})\nexport class RouteModalComponent implements OnInit, OnDestroy, AfterViewInit {\n\n private readonly _ngUnsubscribe = new Subject()\n\n // @ViewChild(ModalComponent, { static: true }) _modal: ModalComponent\n\n constructor(\n private _route: ActivatedRoute,\n private _router: Router,\n private _modal: Modal\n ) { }\n\n ngOnInit() {\n this._route.data\n .pipe(\n takeUntil(this._ngUnsubscribe)\n )\n .subscribe(data => {\n // console.log('data', data)\n if (data.routeComponent) {\n // console.log(this._route.snapshot)\n const modalRef = this._modal.openFromComponent(data.routeComponent, {\n modalSize: 'lg',\n data\n })\n modalRef.afterClosed().subscribe(() => {\n const parent = this.getOutletParent()\n this._router.navigate(\n [{ outlets: { modal: null, primary: ['.'] } }],\n // { relativeTo: this._route.parent }\n { relativeTo: parent }\n )\n })\n }\n })\n }\n\n ngOnDestroy() {\n this._ngUnsubscribe.next()\n this._ngUnsubscribe.complete()\n }\n\n ngAfterViewInit() { }\n\n getOutletParent() {\n let route: ActivatedRoute | null = this._route\n while (route && route.outlet !== 'modal') { route = route.parent }\n return route ? route.parent : route\n }\n\n public _onDetached() {\n if (this.isRouteModal()) {\n this._router.navigate(\n [{ outlets: { modal: null, primary: ['.'] } }],\n { relativeTo: this._route.parent }\n )\n }\n }\n\n public isRouteModal() {\n return this._route.outlet === 'modal'\n }\n\n}\n","import { A11yModule } from '@angular/cdk/a11y'\nimport { OverlayModule } from '@angular/cdk/overlay'\nimport { PortalModule } from '@angular/cdk/portal'\nimport { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\nimport { ReactiveFormsModule } from '@angular/forms'\nimport { RouterModule } from '@angular/router'\n\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome'\n\nimport { ModalCloseDirective } from './directives/modal-close.directive'\nimport { ModalFooterTplDirective } from './directives/modal-footer-tpl.directive'\nimport { ModalHeaderIconTplDirective } from './directives/modal-header-icon-tpl.directive'\nimport { ModalHeaderTitleTplDirective } from './directives/modal-header-title-tpl.directive'\nimport { ModalTitleDirective } from './directives/modal-title.directive'\nimport { ModalDirective } from './directives/modal.directive'\nimport { ModalBodyComponent } from './modal-body/modal-body.component'\nimport { ModalConfig } from './modal-config'\nimport { ModalContainerComponent } from './modal-container/modal-container.component'\nimport { ModalFooterComponent } from './modal-footer/modal-footer.component'\nimport { ModalHeaderComponent } from './modal-header/modal-header.component'\nimport {\n MODAL_CONFIG,\n MODAL_CONTAINER,\n MODAL_REF,\n THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER\n} from './modal-injectors'\nimport { ModalRef } from './modal-ref'\nimport { Modal } from './modal.service'\nimport { ModalComponent } from './modal/modal.component'\nimport { RouteModalComponent } from './route-modal/route-modal.component'\n\n@NgModule({\n declarations: [\n ModalComponent,\n ModalFooterTplDirective,\n ModalHeaderIconTplDirective,\n ModalHeaderTitleTplDirective,\n RouteModalComponent,\n ModalDirective,\n ModalContainerComponent,\n ModalHeaderComponent,\n ModalTitleDirective,\n ModalBodyComponent,\n ModalFooterComponent,\n ModalCloseDirective\n ],\n imports: [\n CommonModule,\n OverlayModule,\n FontAwesomeModule,\n RouterModule,\n ReactiveFormsModule,\n PortalModule,\n A11yModule,\n ],\n exports: [\n ModalComponent,\n ModalFooterTplDirective,\n ModalHeaderIconTplDirective,\n ModalHeaderTitleTplDirective,\n RouteModalComponent,\n ModalDirective,\n // Re-export the PortalModule so that people extending the `CdkDialogContainer`\n // don't have to remember to import it or be faced with an unhelpful error.\n PortalModule,\n ModalHeaderComponent,\n ModalTitleDirective,\n ModalBodyComponent,\n ModalFooterComponent,\n ModalCloseDirective\n ],\n providers: [\n Modal,\n THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER,\n { provide: MODAL_REF, useValue: ModalRef },\n { provide: MODAL_CONTAINER, useValue: ModalContainerComponent },\n { provide: MODAL_CONFIG, useValue: ModalConfig },\n ],\n entryComponents: [\n RouteModalComponent,\n ModalContainerComponent\n ],\n})\nexport class TheSeamModalModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["filter","ESCAPE","map","InjectionToken","Overlay","Subject","defer","startWith","switchMap","of","OverlayConfig","PortalInjector","ComponentPortal","TemplatePortal","Directionality","observableOf","Injectable","Injector","Type","Inject","Optional","SkipSelf","Location","OverlayScrollbarsService","TheSeamDynamicComponentLoader","Directive","ElementRef","HostBinding","Input","HostListener","TemplateRef","Component","distinctUntilChanged","BasePortalOutlet","trigger","state","style","transition","animate","FocusTrapFactory","ChangeDetectorRef","DOCUMENT","ViewChild","CdkPortalOutlet","ContentChild","forwardRef","EventEmitter","isDevMode","portal","ViewContainerRef","ActivatedRoute","Output","InputBoolean","takeUntil","Router","NgModule","CommonModule","OverlayModule","FontAwesomeModule","RouterModule","ReactiveFormsModule","PortalModule","A11yModule"],"mappings":";;;;;;IAQA;IACA,IAAI,QAAQ,GAAG,CAAC,CA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AQ,OACF,uBAAuB,OAC1B,WAAW;;QAOlD;;;;;gBApDCC,aAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,cAAc;wBACd,uBAAuB;wBACvB,2BAA2B;wBAC3B,4BAA4B;wBAC5B,mBAAmB;wBACnB,cAAc;wBACd,uBAAuB;wBACvB,oBAAoB;wBACpB,mBAAmB;wBACnB,kBAAkB;wBAClB,oBAAoB;wBACpB,mBAAmB;qBACpB;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,qBAAa;wBACbC,oCAAiB;wBACjBC,mBAAY;wBACZC,yBAAmB;wBACnBC,mBAAY;wBACZC,eAAU;qBACX;oBACD,OAAO,EAAE;wBACP,cAAc;wBACd,uBAAuB;wBACvB,2BAA2B;wBAC3B,4BAA4B;wBAC5B,mBAAmB;wBACnB,cAAc;;;wBAGdD,mBAAY;wBACZ,oBAAoB;wBACpB,mBAAmB;wBACnB,kBAAkB;wBAClB,oBAAoB;wBACpB,mBAAmB;qBACpB;oBACD,SAAS,EAAE;wBACT,KAAK;wBACL,sCAAsC;wBACtC,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,IAAU,EAAE;wBAC1C,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,IAAyB,EAAE;wBAC/D,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,IAAa,EAAE;qBACjD;oBACD,eAAe,EAAE;wBACf,mBAAmB;wBACnB,uBAAuB;qBACxB;iBACF;;;ICnFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@theseam/ui-common/models', ['exports'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.theseam = global.theseam || {}, global.theseam['ui-common'] = global.theseam['ui-common'] || {}, global.theseam['ui-common'].models = {})));
|
|
5
|
+
}(this, (function (exports) { 'use strict';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Most of the status code packages seemed to be incomplete, so instead of
|
|
9
|
+
* importing a possibly incomplete package for the few status codes we currently
|
|
10
|
+
* would need, just add them to them as necessary.
|
|
11
|
+
*/
|
|
12
|
+
/** Http Status Codes Enum */
|
|
13
|
+
exports.HttpStatus = void 0;
|
|
14
|
+
(function (HttpStatus) {
|
|
15
|
+
HttpStatus[HttpStatus["Unauthorized"] = 401] = "Unauthorized";
|
|
16
|
+
HttpStatus[HttpStatus["Forbidden"] = 403] = "Forbidden";
|
|
17
|
+
HttpStatus[HttpStatus["NotFound"] = 404] = "NotFound";
|
|
18
|
+
HttpStatus[HttpStatus["RequestTimeout"] = 408] = "RequestTimeout";
|
|
19
|
+
HttpStatus[HttpStatus["UnprocessableEntity"] = 422] = "UnprocessableEntity";
|
|
20
|
+
HttpStatus[HttpStatus["InternalServerError"] = 500] = "InternalServerError";
|
|
21
|
+
HttpStatus[HttpStatus["NotImplemented"] = 501] = "NotImplemented";
|
|
22
|
+
HttpStatus[HttpStatus["BadGateway"] = 502] = "BadGateway";
|
|
23
|
+
HttpStatus[HttpStatus["ServiceUnavailable"] = 503] = "ServiceUnavailable";
|
|
24
|
+
HttpStatus[HttpStatus["GatewayTimeout"] = 502] = "GatewayTimeout";
|
|
25
|
+
})(exports.HttpStatus || (exports.HttpStatus = {}));
|
|
26
|
+
|
|
27
|
+
var ThemeNames = [
|
|
28
|
+
'default',
|
|
29
|
+
'primary',
|
|
30
|
+
'secondary',
|
|
31
|
+
'success',
|
|
32
|
+
'danger',
|
|
33
|
+
'warning',
|
|
34
|
+
'info',
|
|
35
|
+
'light',
|
|
36
|
+
'dark',
|
|
37
|
+
'lightgray',
|
|
38
|
+
'lightblue'
|
|
39
|
+
];
|
|
40
|
+
var OutlineThemeNames = [
|
|
41
|
+
'outline-primary',
|
|
42
|
+
'outline-secondary',
|
|
43
|
+
'outline-success',
|
|
44
|
+
'outline-danger',
|
|
45
|
+
'outline-warning',
|
|
46
|
+
'outline-info',
|
|
47
|
+
'outline-light',
|
|
48
|
+
'outline-dark',
|
|
49
|
+
'outline-lightgray',
|
|
50
|
+
'outline-lightblue'
|
|
51
|
+
];
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Generated bundle index. Do not edit.
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
exports.OutlineThemeNames = OutlineThemeNames;
|
|
58
|
+
exports.ThemeNames = ThemeNames;
|
|
59
|
+
|
|
60
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
61
|
+
|
|
62
|
+
})));
|
|
63
|
+
//# sourceMappingURL=theseam-ui-common-models.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theseam-ui-common-models.umd.js","sources":["../../../projects/ui-common/models/http-status-codes.ts","../../../projects/ui-common/models/theme-names.ts","../../../projects/ui-common/models/theseam-ui-common-models.ts"],"sourcesContent":["/**\n * Most of the status code packages seemed to be incomplete, so instead of\n * importing a possibly incomplete package for the few status codes we currently\n * would need, just add them to them as necessary.\n */\n\n/** Http Status Codes Enum */\nexport enum HttpStatus {\n Unauthorized = 401,\n Forbidden = 403,\n NotFound = 404,\n RequestTimeout = 408,\n UnprocessableEntity = 422,\n InternalServerError = 500,\n NotImplemented = 501,\n BadGateway = 502,\n ServiceUnavailable = 503,\n GatewayTimeout = 502\n}\n","export const ThemeNames: string[] = [\n 'default',\n 'primary',\n 'secondary',\n 'success',\n 'danger',\n 'warning',\n 'info',\n 'light',\n 'dark',\n 'lightgray',\n 'lightblue'\n]\n\nexport const OutlineThemeNames: string[] = [\n 'outline-primary',\n 'outline-secondary',\n 'outline-success',\n 'outline-danger',\n 'outline-warning',\n 'outline-info',\n 'outline-light',\n 'outline-dark',\n 'outline-lightgray',\n 'outline-lightblue'\n]\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["HttpStatus"],"mappings":";;;;;;IAAA;;;;;IAMA;AACYA;IAAZ,WAAY,UAAU;QACpB,6DAAkB,CAAA;QAClB,uDAAe,CAAA;QACf,qDAAc,CAAA;QACd,iEAAoB,CAAA;QACpB,2EAAyB,CAAA;QACzB,2EAAyB,CAAA;QACzB,iEAAoB,CAAA;QACpB,yDAAgB,CAAA;QAChB,yEAAwB,CAAA;QACxB,iEAAoB,CAAA;IACtB,CAAC,EAXWA,kBAAU,KAAVA,kBAAU;;QCPT,UAAU,GAAa;QAClC,SAAS;QACT,SAAS;QACT,WAAW;QACX,SAAS;QACT,QAAQ;QACR,SAAS;QACT,MAAM;QACN,OAAO;QACP,MAAM;QACN,WAAW;QACX,WAAW;MACZ;QAEY,iBAAiB,GAAa;QACzC,iBAAiB;QACjB,mBAAmB;QACnB,iBAAiB;QACjB,gBAAgB;QAChB,iBAAiB;QACjB,cAAc;QACd,eAAe;QACf,cAAc;QACd,mBAAmB;QACnB,mBAAmB;;;ICxBrB;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,504 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations'), require('@angular/cdk/coercion'), require('@angular/cdk/keycodes'), require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/common'), require('@angular/cdk/a11y'), require('@angular/cdk/platform')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@theseam/ui-common/popover', ['exports', '@angular/animations', '@angular/cdk/coercion', '@angular/cdk/keycodes', '@angular/core', 'rxjs', 'rxjs/operators', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/common', '@angular/cdk/a11y', '@angular/cdk/platform'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.theseam = global.theseam || {}, global.theseam['ui-common'] = global.theseam['ui-common'] || {}, global.theseam['ui-common'].popover = {}), global.ng.animations, global.ng.cdk.coercion, global.ng.cdk.keycodes, global.ng.core, global.rxjs, global.rxjs.operators, global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.common, global.ng.cdk.a11y, global.ng.cdk.platform));
|
|
5
|
+
}(this, (function (exports, animations, coercion, keycodes, core, rxjs, operators, overlay, portal, common, a11y, platform) { 'use strict';
|
|
6
|
+
|
|
7
|
+
var popoverSlideIn = animations.animation([
|
|
8
|
+
animations.query(':self', [
|
|
9
|
+
animations.style({
|
|
10
|
+
opacity: 0,
|
|
11
|
+
transform: 'translateY(-70%)'
|
|
12
|
+
}),
|
|
13
|
+
animations.group([
|
|
14
|
+
animations.animate('170ms linear', animations.style({ opacity: 1 })),
|
|
15
|
+
animations.animate('220ms ease', animations.style({ transform: 'translateY(0)' })),
|
|
16
|
+
])
|
|
17
|
+
])
|
|
18
|
+
]);
|
|
19
|
+
var popoverSlideOut = animations.animation([
|
|
20
|
+
animations.query(':self', [
|
|
21
|
+
animations.style({
|
|
22
|
+
opacity: 1,
|
|
23
|
+
transform: 'translateY(0)'
|
|
24
|
+
}),
|
|
25
|
+
animations.group([
|
|
26
|
+
animations.animate('170ms linear', animations.style({ opacity: 0 })),
|
|
27
|
+
animations.animate('220ms ease', animations.style({ transform: 'translateY(-70%)' })),
|
|
28
|
+
])
|
|
29
|
+
])
|
|
30
|
+
]);
|
|
31
|
+
var popoverExpandIn = animations.animation([
|
|
32
|
+
animations.style({
|
|
33
|
+
opacity: 0,
|
|
34
|
+
transform: 'scale(0.8)'
|
|
35
|
+
}),
|
|
36
|
+
animations.group([
|
|
37
|
+
animations.animate('100ms linear', animations.style({ opacity: 1 })),
|
|
38
|
+
animations.animate('120ms ease', animations.style({ transform: 'scale(1)' })),
|
|
39
|
+
])
|
|
40
|
+
]);
|
|
41
|
+
var popoverExpandOut = animations.animation([
|
|
42
|
+
animations.style({
|
|
43
|
+
opacity: 1,
|
|
44
|
+
transform: 'scale(1)'
|
|
45
|
+
}),
|
|
46
|
+
animations.group([
|
|
47
|
+
animations.animate('100ms linear', animations.style({ opacity: 0 })),
|
|
48
|
+
animations.animate('120ms ease', animations.style({ transform: 'scale(0.8)' })),
|
|
49
|
+
])
|
|
50
|
+
]);
|
|
51
|
+
|
|
52
|
+
var PopoverComponent = /** @class */ (function () {
|
|
53
|
+
function PopoverComponent(_changeDetectorRef) {
|
|
54
|
+
var _this = this;
|
|
55
|
+
this._changeDetectorRef = _changeDetectorRef;
|
|
56
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
57
|
+
/** Duration of the enter animation. Has to be a valid CSS value (e.g. 100ms). */
|
|
58
|
+
this.enterAnimationDuration = '225ms';
|
|
59
|
+
/** Duration of the exit animation. Has to be a valid CSS value (e.g. 50ms). */
|
|
60
|
+
this.exitAnimationDuration = '225ms';
|
|
61
|
+
/** State of the dialog animation. */
|
|
62
|
+
this._state = 'enter';
|
|
63
|
+
/** A subject emitting before the dialog enters the view. */
|
|
64
|
+
this._beforeEnter = new rxjs.Subject();
|
|
65
|
+
/** A subject emitting after the dialog enters the view. */
|
|
66
|
+
this._afterEnter = new rxjs.Subject();
|
|
67
|
+
/** A subject emitting before the dialog exits the view. */
|
|
68
|
+
this._beforeExit = new rxjs.Subject();
|
|
69
|
+
/** A subject emitting after the dialog exits the view. */
|
|
70
|
+
this._afterExit = new rxjs.Subject();
|
|
71
|
+
/** Stream of animation `done` events. */
|
|
72
|
+
this._animationDone = new rxjs.Subject();
|
|
73
|
+
this._baseWidth = new rxjs.BehaviorSubject(600);
|
|
74
|
+
// We use a Subject with a distinctUntilChanged, rather than a callback attached to .done,
|
|
75
|
+
// because some browsers fire the done event twice and we don't want to emit duplicate events.
|
|
76
|
+
// See: https://github.com/angular/angular/issues/24084
|
|
77
|
+
this._animationDone.pipe(operators.distinctUntilChanged(function (x, y) {
|
|
78
|
+
return x.fromState === y.fromState && x.toState === y.toState;
|
|
79
|
+
})).subscribe(function (event) {
|
|
80
|
+
// Emit lifecycle events based on animation `done` callback.
|
|
81
|
+
if (event.toState === 'enter') {
|
|
82
|
+
_this._afterEnter.next();
|
|
83
|
+
_this._afterEnter.complete();
|
|
84
|
+
}
|
|
85
|
+
if (event.fromState === 'enter' && (event.toState === 'void' || event.toState === 'exit')) {
|
|
86
|
+
_this._afterExit.next();
|
|
87
|
+
_this._afterExit.complete();
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
Object.defineProperty(PopoverComponent.prototype, "_role", {
|
|
92
|
+
// @HostBinding('attr.role') get _role() { return this._config.role }
|
|
93
|
+
get: function () { return 'dialog'; },
|
|
94
|
+
enumerable: false,
|
|
95
|
+
configurable: true
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(PopoverComponent.prototype, "_tabindex", {
|
|
98
|
+
get: function () { return -1; },
|
|
99
|
+
enumerable: false,
|
|
100
|
+
configurable: true
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(PopoverComponent.prototype, "baseWidth", {
|
|
103
|
+
/**
|
|
104
|
+
* Defines a width for a popover that will scale down if the window innerWidth is
|
|
105
|
+
* smaller than the value.
|
|
106
|
+
*/
|
|
107
|
+
get: function () { return this._baseWidth.value; },
|
|
108
|
+
set: function (value) {
|
|
109
|
+
var _val = coercion.coerceNumberProperty(value, null);
|
|
110
|
+
if (_val !== this._baseWidth.value) {
|
|
111
|
+
this._baseWidth.next(_val);
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
enumerable: false,
|
|
115
|
+
configurable: true
|
|
116
|
+
});
|
|
117
|
+
PopoverComponent.prototype.ngOnInit = function () {
|
|
118
|
+
var _this = this;
|
|
119
|
+
// this._popoverWidth$ =
|
|
120
|
+
this._baseWidth.pipe(operators.switchMap(function (baseWidth) {
|
|
121
|
+
if (baseWidth) {
|
|
122
|
+
return rxjs.fromEvent(window, 'resize').pipe(operators.startWith(undefined), operators.map(function () { return window.innerWidth < baseWidth ? window.innerWidth + "px" : baseWidth + "px"; }));
|
|
123
|
+
}
|
|
124
|
+
return rxjs.of(undefined);
|
|
125
|
+
}), operators.takeUntil(this._ngUnsubscribe)).subscribe(function (w) {
|
|
126
|
+
_this._popoverWidth = w;
|
|
127
|
+
_this._changeDetectorRef.markForCheck();
|
|
128
|
+
});
|
|
129
|
+
};
|
|
130
|
+
PopoverComponent.prototype.ngOnDestroy = function () {
|
|
131
|
+
// this.closed.complete()
|
|
132
|
+
this._animationDone.complete();
|
|
133
|
+
this._ngUnsubscribe.next();
|
|
134
|
+
this._ngUnsubscribe.complete();
|
|
135
|
+
};
|
|
136
|
+
/** Starts the dialog exit animation. */
|
|
137
|
+
PopoverComponent.prototype._startExiting = function () {
|
|
138
|
+
this._state = 'exit';
|
|
139
|
+
// Mark the container for check so it can react if the
|
|
140
|
+
// view container is using OnPush change detection.
|
|
141
|
+
this._changeDetectorRef.markForCheck();
|
|
142
|
+
};
|
|
143
|
+
/** Emit lifecycle events based on animation `start` callback. */
|
|
144
|
+
PopoverComponent.prototype._onAnimationStart = function (event) {
|
|
145
|
+
if (event.toState === 'enter') {
|
|
146
|
+
this._beforeEnter.next();
|
|
147
|
+
this._beforeEnter.complete();
|
|
148
|
+
}
|
|
149
|
+
if (event.fromState === 'enter' && (event.toState === 'void' || event.toState === 'exit')) {
|
|
150
|
+
this._beforeExit.next();
|
|
151
|
+
this._beforeExit.complete();
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
/** Handle a keyboard event from the menu, delegating to the appropriate action. */
|
|
155
|
+
PopoverComponent.prototype._handleKeydown = function (event) {
|
|
156
|
+
// tslint:disable-next-line:deprecation
|
|
157
|
+
var keyCode = event.keyCode;
|
|
158
|
+
switch (keyCode) {
|
|
159
|
+
case keycodes.ESCAPE:
|
|
160
|
+
if (!keycodes.hasModifierKey(event)) {
|
|
161
|
+
event.preventDefault();
|
|
162
|
+
// this.closed.emit('keydown')
|
|
163
|
+
this._startExiting();
|
|
164
|
+
}
|
|
165
|
+
break;
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
return PopoverComponent;
|
|
169
|
+
}());
|
|
170
|
+
PopoverComponent.decorators = [
|
|
171
|
+
{ type: core.Component, args: [{
|
|
172
|
+
selector: 'seam-popover',
|
|
173
|
+
template: "<div class=\"popover-body\">\n <ng-container *ngIf=\"template; else noTemplate\">\n <ng-template [ngTemplateOutlet]=\"template\"></ng-template>\n </ng-container>\n\n <ng-template #noTemplate>\n Example\n <!-- <ng-content></ng-content> -->\n </ng-template>\n</div>\n",
|
|
174
|
+
animations: [
|
|
175
|
+
animations.trigger('slideDown', [
|
|
176
|
+
animations.transition(':enter', animations.useAnimation(popoverExpandIn)),
|
|
177
|
+
animations.transition(':leave', animations.useAnimation(popoverExpandOut)),
|
|
178
|
+
])
|
|
179
|
+
],
|
|
180
|
+
host: {
|
|
181
|
+
class: 'popover show m-2 position-static',
|
|
182
|
+
'[@slideDown]': "{\n value: _state,\n params: {\n enterAnimationDuration: enterAnimationDuration,\n exitAnimationDuration: exitAnimationDuration\n }\n }",
|
|
183
|
+
'(@slideDown.start)': '_onAnimationStart($event)',
|
|
184
|
+
'(@slideDown.done)': '_animationDone.next($event)',
|
|
185
|
+
'[style.width]': '_popoverWidth'
|
|
186
|
+
},
|
|
187
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
188
|
+
styles: [":host{display:block;max-width:800px;min-width:100%}"]
|
|
189
|
+
},] }
|
|
190
|
+
];
|
|
191
|
+
PopoverComponent.ctorParameters = function () { return [
|
|
192
|
+
{ type: core.ChangeDetectorRef }
|
|
193
|
+
]; };
|
|
194
|
+
PopoverComponent.propDecorators = {
|
|
195
|
+
_role: [{ type: core.HostBinding, args: ['attr.role',] }],
|
|
196
|
+
_tabindex: [{ type: core.HostBinding, args: ['attr.tabindex',] }],
|
|
197
|
+
template: [{ type: core.Input }],
|
|
198
|
+
popoverClass: [{ type: core.Input }],
|
|
199
|
+
baseWidth: [{ type: core.Input }],
|
|
200
|
+
_handleKeydown: [{ type: core.HostListener, args: ['keydown', ['$event'],] }]
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
/** Options for binding a passive event listener. */
|
|
204
|
+
var passiveEventListenerOptions = platform.normalizePassiveListenerOptions({ passive: true });
|
|
205
|
+
var TheSeamPopoverDirective = /** @class */ (function () {
|
|
206
|
+
function TheSeamPopoverDirective(_elementRef, _viewContainerRef, _overlay, _focusMonitor) {
|
|
207
|
+
var _this = this;
|
|
208
|
+
this._elementRef = _elementRef;
|
|
209
|
+
this._viewContainerRef = _viewContainerRef;
|
|
210
|
+
this._overlay = _overlay;
|
|
211
|
+
this._focusMonitor = _focusMonitor;
|
|
212
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
213
|
+
this._seamPopoverBaseWidth = new rxjs.BehaviorSubject(null);
|
|
214
|
+
this._seamPopoverDisabled = new rxjs.BehaviorSubject(false);
|
|
215
|
+
// ngOnInit() {
|
|
216
|
+
// this._seamPopoverDisabled.pipe(
|
|
217
|
+
// switchMap(disabled => {
|
|
218
|
+
// if (disabled) {
|
|
219
|
+
// this.close()
|
|
220
|
+
// return of(undefined)
|
|
221
|
+
// }
|
|
222
|
+
// if (!(this._elementRef && this._elementRef.nativeElement)) {
|
|
223
|
+
// return of(undefined)
|
|
224
|
+
// }
|
|
225
|
+
// return fromEvent(this._elementRef.nativeElement, 'click')
|
|
226
|
+
// })
|
|
227
|
+
// ).subscribe()
|
|
228
|
+
// }
|
|
229
|
+
this._active = false;
|
|
230
|
+
this._closing = false;
|
|
231
|
+
this._popoverClosedSubscription = rxjs.Subscription.EMPTY;
|
|
232
|
+
this._closingActionsSubscription = rxjs.Subscription.EMPTY;
|
|
233
|
+
this.restoreFocus = true;
|
|
234
|
+
// Tracking input type is necessary so it's possible to only auto-focus
|
|
235
|
+
// the first item of the list when the menu is opened via the keyboard
|
|
236
|
+
this._openedBy = null;
|
|
237
|
+
/**
|
|
238
|
+
* Handles touch start events on the trigger.
|
|
239
|
+
* Needs to be an arrow function so we can easily use addEventListener and removeEventListener.
|
|
240
|
+
*/
|
|
241
|
+
this._handleTouchStart = function () { return _this._openedBy = 'touch'; };
|
|
242
|
+
this._elementRef.nativeElement.addEventListener('touchstart', this._handleTouchStart, passiveEventListenerOptions);
|
|
243
|
+
this._seamPopoverBaseWidth
|
|
244
|
+
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
245
|
+
.subscribe(function (w) {
|
|
246
|
+
if (_this._compRef && _this._compRef.instance) {
|
|
247
|
+
_this._compRef.instance.baseWidth = w;
|
|
248
|
+
_this._compRef.changeDetectorRef.markForCheck();
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
Object.defineProperty(TheSeamPopoverDirective.prototype, "seamPopoverBaseWidth", {
|
|
253
|
+
/**
|
|
254
|
+
* Defines a width for a popover that will scale down if the window innerWidth is
|
|
255
|
+
* smaller than the value.
|
|
256
|
+
*/
|
|
257
|
+
get: function () { return this._seamPopoverBaseWidth.value; },
|
|
258
|
+
set: function (value) {
|
|
259
|
+
var _val = coercion.coerceNumberProperty(value, null);
|
|
260
|
+
if (_val !== this._seamPopoverBaseWidth.value) {
|
|
261
|
+
this._seamPopoverBaseWidth.next(_val);
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
enumerable: false,
|
|
265
|
+
configurable: true
|
|
266
|
+
});
|
|
267
|
+
Object.defineProperty(TheSeamPopoverDirective.prototype, "seamPopoverDisabled", {
|
|
268
|
+
get: function () { return this._seamPopoverDisabled.value; },
|
|
269
|
+
set: function (val) { this._seamPopoverDisabled.next(coercion.coerceBooleanProperty(val)); },
|
|
270
|
+
enumerable: false,
|
|
271
|
+
configurable: true
|
|
272
|
+
});
|
|
273
|
+
TheSeamPopoverDirective.prototype._onMouseDown = function (event) {
|
|
274
|
+
if (!a11y.isFakeMousedownFromScreenReader(event)) {
|
|
275
|
+
// Since right or middle button clicks won't trigger the `click` event,
|
|
276
|
+
// we shouldn't consider the menu as opened by mouse in those cases.
|
|
277
|
+
this._openedBy = event.button === 0 ? 'mouse' : null;
|
|
278
|
+
}
|
|
279
|
+
};
|
|
280
|
+
TheSeamPopoverDirective.prototype._onClick = function (event) {
|
|
281
|
+
this.toggle();
|
|
282
|
+
};
|
|
283
|
+
TheSeamPopoverDirective.prototype._onDocumentKeydown = function (event) {
|
|
284
|
+
if (event.keyCode === keycodes.ESCAPE) {
|
|
285
|
+
this.closePopover();
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
TheSeamPopoverDirective.prototype.ngOnDestroy = function () {
|
|
289
|
+
this.closePopover();
|
|
290
|
+
this._elementRef.nativeElement.removeEventListener('touchstart', this._handleTouchStart, passiveEventListenerOptions);
|
|
291
|
+
this._popoverClosedSubscription.unsubscribe();
|
|
292
|
+
this._closingActionsSubscription.unsubscribe();
|
|
293
|
+
this._ngUnsubscribe.next();
|
|
294
|
+
this._ngUnsubscribe.complete();
|
|
295
|
+
};
|
|
296
|
+
TheSeamPopoverDirective.prototype.toggle = function () {
|
|
297
|
+
if (this._active || this.seamPopoverDisabled) {
|
|
298
|
+
this.closePopover();
|
|
299
|
+
}
|
|
300
|
+
else {
|
|
301
|
+
this.openPopover();
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
TheSeamPopoverDirective.prototype.openPopover = function () {
|
|
305
|
+
var _this = this;
|
|
306
|
+
if (this._active || !this.seamPopover) {
|
|
307
|
+
return;
|
|
308
|
+
}
|
|
309
|
+
this._active = true;
|
|
310
|
+
this._overlayRef = this._overlay.create({
|
|
311
|
+
hasBackdrop: true,
|
|
312
|
+
backdropClass: 'transparent',
|
|
313
|
+
positionStrategy: this.getOverlayPosition(this._elementRef.nativeElement),
|
|
314
|
+
});
|
|
315
|
+
this._compRef = this._overlayRef.attach(new portal.ComponentPortal(PopoverComponent, this._viewContainerRef));
|
|
316
|
+
this._closingActionsSubscription = this._popoverClosingActions().subscribe(function () { return _this.closePopover(); });
|
|
317
|
+
this._compRef.instance.template = this.seamPopover;
|
|
318
|
+
this._compRef.instance.baseWidth = this.seamPopoverBaseWidth;
|
|
319
|
+
this._compRef.changeDetectorRef.markForCheck();
|
|
320
|
+
this._popoverClosedSubscription = this._compRef.instance._afterExit.subscribe(function (v) {
|
|
321
|
+
var _a;
|
|
322
|
+
// console.log('closed', v)
|
|
323
|
+
if ((_a = _this._overlayRef) === null || _a === void 0 ? void 0 : _a.hasAttached()) {
|
|
324
|
+
_this._overlayRef.detach();
|
|
325
|
+
}
|
|
326
|
+
_this._resetPopover();
|
|
327
|
+
_this._popoverClosedSubscription.unsubscribe();
|
|
328
|
+
_this._closingActionsSubscription.unsubscribe();
|
|
329
|
+
_this._active = false;
|
|
330
|
+
_this._closing = false;
|
|
331
|
+
});
|
|
332
|
+
};
|
|
333
|
+
TheSeamPopoverDirective.prototype.closePopover = function () {
|
|
334
|
+
if (!this._active) {
|
|
335
|
+
return;
|
|
336
|
+
}
|
|
337
|
+
if (!this._closing) {
|
|
338
|
+
if (this._compRef && this._compRef.instance) {
|
|
339
|
+
this._closing = true;
|
|
340
|
+
this._compRef.instance._startExiting();
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
};
|
|
344
|
+
TheSeamPopoverDirective.prototype.popoverOpen = function () {
|
|
345
|
+
var _a, _b;
|
|
346
|
+
return (_b = (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.hasAttached()) !== null && _b !== void 0 ? _b : false;
|
|
347
|
+
};
|
|
348
|
+
TheSeamPopoverDirective.prototype.getOverlayPosition = function (origin) {
|
|
349
|
+
var positionStrategy = this._overlay.position()
|
|
350
|
+
.flexibleConnectedTo(origin)
|
|
351
|
+
.withPositions(this.getPositions())
|
|
352
|
+
.withFlexibleDimensions(false)
|
|
353
|
+
.withPush(true);
|
|
354
|
+
return positionStrategy;
|
|
355
|
+
};
|
|
356
|
+
TheSeamPopoverDirective.prototype.getPositions = function () {
|
|
357
|
+
return [
|
|
358
|
+
{
|
|
359
|
+
originX: 'center',
|
|
360
|
+
originY: 'bottom',
|
|
361
|
+
overlayX: 'center',
|
|
362
|
+
overlayY: 'top'
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
originX: 'center',
|
|
366
|
+
originY: 'top',
|
|
367
|
+
overlayX: 'center',
|
|
368
|
+
overlayY: 'bottom'
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
originX: 'end',
|
|
372
|
+
originY: 'bottom',
|
|
373
|
+
overlayX: 'end',
|
|
374
|
+
overlayY: 'top',
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
originX: 'start',
|
|
378
|
+
originY: 'bottom',
|
|
379
|
+
overlayX: 'start',
|
|
380
|
+
overlayY: 'top',
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
originX: 'end',
|
|
384
|
+
originY: 'top',
|
|
385
|
+
overlayX: 'end',
|
|
386
|
+
overlayY: 'bottom',
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
originX: 'start',
|
|
390
|
+
originY: 'top',
|
|
391
|
+
overlayX: 'start',
|
|
392
|
+
overlayY: 'bottom',
|
|
393
|
+
},
|
|
394
|
+
];
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* Focuses the popover trigger.
|
|
398
|
+
* @param origin Source of the popover trigger's focus.
|
|
399
|
+
*/
|
|
400
|
+
TheSeamPopoverDirective.prototype.focus = function (origin) {
|
|
401
|
+
if (origin === void 0) { origin = 'program'; }
|
|
402
|
+
if (this._focusMonitor) {
|
|
403
|
+
this._focusMonitor.focusVia(this._elementRef, origin);
|
|
404
|
+
}
|
|
405
|
+
else {
|
|
406
|
+
this._elementRef.nativeElement.focus();
|
|
407
|
+
}
|
|
408
|
+
};
|
|
409
|
+
/**
|
|
410
|
+
* This method resets the popover when it's closed, most importantly restoring
|
|
411
|
+
* focus to the popover trigger if the popover was opened via the keyboard.
|
|
412
|
+
*/
|
|
413
|
+
TheSeamPopoverDirective.prototype._resetPopover = function () {
|
|
414
|
+
// We should reset focus if the user is navigating using a keyboard or
|
|
415
|
+
// if we have a top-level trigger which might cause focus to be lost
|
|
416
|
+
// when clicking on the backdrop.
|
|
417
|
+
if (this.restoreFocus) {
|
|
418
|
+
if (!this._openedBy) {
|
|
419
|
+
// Note that the focus style will show up both for `program` and
|
|
420
|
+
// `keyboard` so we don't have to specify which one it is.
|
|
421
|
+
this.focus();
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
this._openedBy = null;
|
|
425
|
+
};
|
|
426
|
+
/** Returns a stream that emits whenever an action that should close the popover occurs. */
|
|
427
|
+
TheSeamPopoverDirective.prototype._popoverClosingActions = function () {
|
|
428
|
+
var _a, _b, _c, _d;
|
|
429
|
+
var backdrop = (_b = (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.backdropClick()) !== null && _b !== void 0 ? _b : rxjs.of();
|
|
430
|
+
var detachments = (_d = (_c = this._overlayRef) === null || _c === void 0 ? void 0 : _c.detachments()) !== null && _d !== void 0 ? _d : rxjs.of();
|
|
431
|
+
var hover = rxjs.of();
|
|
432
|
+
return rxjs.merge(backdrop, hover, detachments);
|
|
433
|
+
};
|
|
434
|
+
return TheSeamPopoverDirective;
|
|
435
|
+
}());
|
|
436
|
+
TheSeamPopoverDirective.decorators = [
|
|
437
|
+
{ type: core.Directive, args: [{
|
|
438
|
+
selector: '[seamPopover]',
|
|
439
|
+
// tslint:disable-next-line:use-host-property-decorator
|
|
440
|
+
host: {
|
|
441
|
+
'aria-haspopup': 'true',
|
|
442
|
+
'[attr.aria-expanded]': 'popoverOpen() || null'
|
|
443
|
+
},
|
|
444
|
+
exportAs: 'seamPopover'
|
|
445
|
+
},] }
|
|
446
|
+
];
|
|
447
|
+
TheSeamPopoverDirective.ctorParameters = function () { return [
|
|
448
|
+
{ type: core.ElementRef },
|
|
449
|
+
{ type: core.ViewContainerRef },
|
|
450
|
+
{ type: overlay.Overlay },
|
|
451
|
+
{ type: a11y.FocusMonitor }
|
|
452
|
+
]; };
|
|
453
|
+
TheSeamPopoverDirective.propDecorators = {
|
|
454
|
+
seamPopover: [{ type: core.Input }],
|
|
455
|
+
seamPopoverBaseWidth: [{ type: core.Input }],
|
|
456
|
+
seamPopoverDisabled: [{ type: core.Input }],
|
|
457
|
+
_onMouseDown: [{ type: core.HostListener, args: ['mousedown', ['$event'],] }],
|
|
458
|
+
_onClick: [{ type: core.HostListener, args: ['click', ['$event'],] }],
|
|
459
|
+
_onDocumentKeydown: [{ type: core.HostListener, args: ['document:keydown', ['$event'],] }]
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
var TheSeamPopoverModule = /** @class */ (function () {
|
|
463
|
+
function TheSeamPopoverModule() {
|
|
464
|
+
}
|
|
465
|
+
return TheSeamPopoverModule;
|
|
466
|
+
}());
|
|
467
|
+
TheSeamPopoverModule.decorators = [
|
|
468
|
+
{ type: core.NgModule, args: [{
|
|
469
|
+
declarations: [
|
|
470
|
+
PopoverComponent,
|
|
471
|
+
TheSeamPopoverDirective
|
|
472
|
+
],
|
|
473
|
+
imports: [
|
|
474
|
+
common.CommonModule,
|
|
475
|
+
overlay.OverlayModule,
|
|
476
|
+
portal.PortalModule
|
|
477
|
+
],
|
|
478
|
+
entryComponents: [
|
|
479
|
+
PopoverComponent
|
|
480
|
+
],
|
|
481
|
+
exports: [
|
|
482
|
+
TheSeamPopoverDirective,
|
|
483
|
+
overlay.OverlayModule,
|
|
484
|
+
portal.PortalModule
|
|
485
|
+
]
|
|
486
|
+
},] }
|
|
487
|
+
];
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Generated bundle index. Do not edit.
|
|
491
|
+
*/
|
|
492
|
+
|
|
493
|
+
exports.PopoverComponent = PopoverComponent;
|
|
494
|
+
exports.TheSeamPopoverDirective = TheSeamPopoverDirective;
|
|
495
|
+
exports.TheSeamPopoverModule = TheSeamPopoverModule;
|
|
496
|
+
exports.popoverExpandIn = popoverExpandIn;
|
|
497
|
+
exports.popoverExpandOut = popoverExpandOut;
|
|
498
|
+
exports.popoverSlideIn = popoverSlideIn;
|
|
499
|
+
exports.popoverSlideOut = popoverSlideOut;
|
|
500
|
+
|
|
501
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
502
|
+
|
|
503
|
+
})));
|
|
504
|
+
//# sourceMappingURL=theseam-ui-common-popover.umd.js.map
|