@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.js","sources":["../../../projects/ui-common/modal/modal-ref.ts","../../../projects/ui-common/modal/modal-utils.ts","../../../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","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"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BACnB,cAAc;;;oBAGd,YAAY;oBACZ,oBAAoB;oBACpB,mBAAmB;oBACnB,kBAAkB;oBAClB,oBAAoB;oBACpB,mBAAmB;iBACpB;gBACD,SAAS,EAAE;oBACT,KAAK;oBACL,sCAAsC;oBACtC,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,IAAU,EAAE;oBAC1C,EAAE,OAAO,EAAE,eAAe,EAAE,QAAQ,IAAyB,EAAE;oBAC/D,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,IAAa,EAAE;iBACjD;gBACD,eAAe,EAAE;oBACf,mBAAmB;oBACnB,uBAAuB;iBACxB;aACF;;;ACnFD;;;;;;"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Most of the status code packages seemed to be incomplete, so instead of
|
|
3
|
+
* importing a possibly incomplete package for the few status codes we currently
|
|
4
|
+
* would need, just add them to them as necessary.
|
|
5
|
+
*/
|
|
6
|
+
/** Http Status Codes Enum */
|
|
7
|
+
var HttpStatus;
|
|
8
|
+
(function (HttpStatus) {
|
|
9
|
+
HttpStatus[HttpStatus["Unauthorized"] = 401] = "Unauthorized";
|
|
10
|
+
HttpStatus[HttpStatus["Forbidden"] = 403] = "Forbidden";
|
|
11
|
+
HttpStatus[HttpStatus["NotFound"] = 404] = "NotFound";
|
|
12
|
+
HttpStatus[HttpStatus["RequestTimeout"] = 408] = "RequestTimeout";
|
|
13
|
+
HttpStatus[HttpStatus["UnprocessableEntity"] = 422] = "UnprocessableEntity";
|
|
14
|
+
HttpStatus[HttpStatus["InternalServerError"] = 500] = "InternalServerError";
|
|
15
|
+
HttpStatus[HttpStatus["NotImplemented"] = 501] = "NotImplemented";
|
|
16
|
+
HttpStatus[HttpStatus["BadGateway"] = 502] = "BadGateway";
|
|
17
|
+
HttpStatus[HttpStatus["ServiceUnavailable"] = 503] = "ServiceUnavailable";
|
|
18
|
+
HttpStatus[HttpStatus["GatewayTimeout"] = 502] = "GatewayTimeout";
|
|
19
|
+
})(HttpStatus || (HttpStatus = {}));
|
|
20
|
+
|
|
21
|
+
const ThemeNames = [
|
|
22
|
+
'default',
|
|
23
|
+
'primary',
|
|
24
|
+
'secondary',
|
|
25
|
+
'success',
|
|
26
|
+
'danger',
|
|
27
|
+
'warning',
|
|
28
|
+
'info',
|
|
29
|
+
'light',
|
|
30
|
+
'dark',
|
|
31
|
+
'lightgray',
|
|
32
|
+
'lightblue'
|
|
33
|
+
];
|
|
34
|
+
const OutlineThemeNames = [
|
|
35
|
+
'outline-primary',
|
|
36
|
+
'outline-secondary',
|
|
37
|
+
'outline-success',
|
|
38
|
+
'outline-danger',
|
|
39
|
+
'outline-warning',
|
|
40
|
+
'outline-info',
|
|
41
|
+
'outline-light',
|
|
42
|
+
'outline-dark',
|
|
43
|
+
'outline-lightgray',
|
|
44
|
+
'outline-lightblue'
|
|
45
|
+
];
|
|
46
|
+
|
|
47
|
+
// Redefining this, instead of importing from cdk, because the way the interface
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Generated bundle index. Do not edit.
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
export { HttpStatus, OutlineThemeNames, ThemeNames };
|
|
54
|
+
//# sourceMappingURL=theseam-ui-common-models.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theseam-ui-common-models.js","sources":["../../../projects/ui-common/models/http-status-codes.ts","../../../projects/ui-common/models/theme-names.ts","../../../projects/ui-common/models/component-type.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","// Redefining this, instead of importing from cdk, because the way the interface\n// is exported in the cdk causes problems with cli build in some situations.\n\n/** Interface that can be used to generically type a class. */\nexport type ComponentType<T> = new (...args: any[]) => T\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;;;;AAMA;IACY;AAAZ,WAAY,UAAU;IACpB,6DAAkB,CAAA;IAClB,uDAAe,CAAA;IACf,qDAAc,CAAA;IACd,iEAAoB,CAAA;IACpB,2EAAyB,CAAA;IACzB,2EAAyB,CAAA;IACzB,iEAAoB,CAAA;IACpB,yDAAgB,CAAA;IAChB,yEAAwB,CAAA;IACxB,iEAAoB,CAAA;AACtB,CAAC,EAXW,UAAU,KAAV,UAAU;;MCPT,UAAU,GAAa;IAClC,SAAS;IACT,SAAS;IACT,WAAW;IACX,SAAS;IACT,QAAQ;IACR,SAAS;IACT,MAAM;IACN,OAAO;IACP,MAAM;IACN,WAAW;IACX,WAAW;EACZ;MAEY,iBAAiB,GAAa;IACzC,iBAAiB;IACjB,mBAAmB;IACnB,iBAAiB;IACjB,gBAAgB;IAChB,iBAAiB;IACjB,cAAc;IACd,eAAe;IACf,cAAc;IACd,mBAAmB;IACnB,mBAAmB;;;ACxBrB;;ACAA;;;;;;"}
|
|
@@ -0,0 +1,476 @@
|
|
|
1
|
+
import { animation, query, style, group, animate, trigger, transition, useAnimation } from '@angular/animations';
|
|
2
|
+
import { coerceNumberProperty, coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
3
|
+
import { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';
|
|
4
|
+
import { Component, ChangeDetectionStrategy, ChangeDetectorRef, HostBinding, Input, HostListener, Directive, ElementRef, ViewContainerRef, NgModule } from '@angular/core';
|
|
5
|
+
import { Subject, BehaviorSubject, fromEvent, of, Subscription, merge } from 'rxjs';
|
|
6
|
+
import { distinctUntilChanged, switchMap, startWith, map, takeUntil } from 'rxjs/operators';
|
|
7
|
+
import { Overlay, OverlayModule } from '@angular/cdk/overlay';
|
|
8
|
+
import { ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
|
9
|
+
import { CommonModule } from '@angular/common';
|
|
10
|
+
import { isFakeMousedownFromScreenReader, FocusMonitor } from '@angular/cdk/a11y';
|
|
11
|
+
import { normalizePassiveListenerOptions } from '@angular/cdk/platform';
|
|
12
|
+
|
|
13
|
+
const popoverSlideIn = animation([
|
|
14
|
+
query(':self', [
|
|
15
|
+
style({
|
|
16
|
+
opacity: 0,
|
|
17
|
+
transform: 'translateY(-70%)'
|
|
18
|
+
}),
|
|
19
|
+
group([
|
|
20
|
+
animate('170ms linear', style({ opacity: 1 })),
|
|
21
|
+
animate('220ms ease', style({ transform: 'translateY(0)' })),
|
|
22
|
+
])
|
|
23
|
+
])
|
|
24
|
+
]);
|
|
25
|
+
const popoverSlideOut = animation([
|
|
26
|
+
query(':self', [
|
|
27
|
+
style({
|
|
28
|
+
opacity: 1,
|
|
29
|
+
transform: 'translateY(0)'
|
|
30
|
+
}),
|
|
31
|
+
group([
|
|
32
|
+
animate('170ms linear', style({ opacity: 0 })),
|
|
33
|
+
animate('220ms ease', style({ transform: 'translateY(-70%)' })),
|
|
34
|
+
])
|
|
35
|
+
])
|
|
36
|
+
]);
|
|
37
|
+
const popoverExpandIn = animation([
|
|
38
|
+
style({
|
|
39
|
+
opacity: 0,
|
|
40
|
+
transform: 'scale(0.8)'
|
|
41
|
+
}),
|
|
42
|
+
group([
|
|
43
|
+
animate('100ms linear', style({ opacity: 1 })),
|
|
44
|
+
animate('120ms ease', style({ transform: 'scale(1)' })),
|
|
45
|
+
])
|
|
46
|
+
]);
|
|
47
|
+
const popoverExpandOut = animation([
|
|
48
|
+
style({
|
|
49
|
+
opacity: 1,
|
|
50
|
+
transform: 'scale(1)'
|
|
51
|
+
}),
|
|
52
|
+
group([
|
|
53
|
+
animate('100ms linear', style({ opacity: 0 })),
|
|
54
|
+
animate('120ms ease', style({ transform: 'scale(0.8)' })),
|
|
55
|
+
])
|
|
56
|
+
]);
|
|
57
|
+
|
|
58
|
+
class PopoverComponent {
|
|
59
|
+
constructor(_changeDetectorRef) {
|
|
60
|
+
this._changeDetectorRef = _changeDetectorRef;
|
|
61
|
+
this._ngUnsubscribe = new Subject();
|
|
62
|
+
/** Duration of the enter animation. Has to be a valid CSS value (e.g. 100ms). */
|
|
63
|
+
this.enterAnimationDuration = '225ms';
|
|
64
|
+
/** Duration of the exit animation. Has to be a valid CSS value (e.g. 50ms). */
|
|
65
|
+
this.exitAnimationDuration = '225ms';
|
|
66
|
+
/** State of the dialog animation. */
|
|
67
|
+
this._state = 'enter';
|
|
68
|
+
/** A subject emitting before the dialog enters the view. */
|
|
69
|
+
this._beforeEnter = new Subject();
|
|
70
|
+
/** A subject emitting after the dialog enters the view. */
|
|
71
|
+
this._afterEnter = new Subject();
|
|
72
|
+
/** A subject emitting before the dialog exits the view. */
|
|
73
|
+
this._beforeExit = new Subject();
|
|
74
|
+
/** A subject emitting after the dialog exits the view. */
|
|
75
|
+
this._afterExit = new Subject();
|
|
76
|
+
/** Stream of animation `done` events. */
|
|
77
|
+
this._animationDone = new Subject();
|
|
78
|
+
this._baseWidth = new BehaviorSubject(600);
|
|
79
|
+
// We use a Subject with a distinctUntilChanged, rather than a callback attached to .done,
|
|
80
|
+
// because some browsers fire the done event twice and we don't want to emit duplicate events.
|
|
81
|
+
// See: https://github.com/angular/angular/issues/24084
|
|
82
|
+
this._animationDone.pipe(distinctUntilChanged((x, y) => {
|
|
83
|
+
return x.fromState === y.fromState && x.toState === y.toState;
|
|
84
|
+
})).subscribe(event => {
|
|
85
|
+
// Emit lifecycle events based on animation `done` callback.
|
|
86
|
+
if (event.toState === 'enter') {
|
|
87
|
+
this._afterEnter.next();
|
|
88
|
+
this._afterEnter.complete();
|
|
89
|
+
}
|
|
90
|
+
if (event.fromState === 'enter' && (event.toState === 'void' || event.toState === 'exit')) {
|
|
91
|
+
this._afterExit.next();
|
|
92
|
+
this._afterExit.complete();
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
// @HostBinding('attr.role') get _role() { return this._config.role }
|
|
97
|
+
get _role() { return 'dialog'; }
|
|
98
|
+
get _tabindex() { return -1; }
|
|
99
|
+
/**
|
|
100
|
+
* Defines a width for a popover that will scale down if the window innerWidth is
|
|
101
|
+
* smaller than the value.
|
|
102
|
+
*/
|
|
103
|
+
get baseWidth() { return this._baseWidth.value; }
|
|
104
|
+
set baseWidth(value) {
|
|
105
|
+
const _val = coerceNumberProperty(value, null);
|
|
106
|
+
if (_val !== this._baseWidth.value) {
|
|
107
|
+
this._baseWidth.next(_val);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
ngOnInit() {
|
|
111
|
+
// this._popoverWidth$ =
|
|
112
|
+
this._baseWidth.pipe(switchMap(baseWidth => {
|
|
113
|
+
if (baseWidth) {
|
|
114
|
+
return fromEvent(window, 'resize').pipe(startWith(undefined), map(() => window.innerWidth < baseWidth ? `${window.innerWidth}px` : `${baseWidth}px`));
|
|
115
|
+
}
|
|
116
|
+
return of(undefined);
|
|
117
|
+
}), takeUntil(this._ngUnsubscribe)).subscribe(w => {
|
|
118
|
+
this._popoverWidth = w;
|
|
119
|
+
this._changeDetectorRef.markForCheck();
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
ngOnDestroy() {
|
|
123
|
+
// this.closed.complete()
|
|
124
|
+
this._animationDone.complete();
|
|
125
|
+
this._ngUnsubscribe.next();
|
|
126
|
+
this._ngUnsubscribe.complete();
|
|
127
|
+
}
|
|
128
|
+
/** Starts the dialog exit animation. */
|
|
129
|
+
_startExiting() {
|
|
130
|
+
this._state = 'exit';
|
|
131
|
+
// Mark the container for check so it can react if the
|
|
132
|
+
// view container is using OnPush change detection.
|
|
133
|
+
this._changeDetectorRef.markForCheck();
|
|
134
|
+
}
|
|
135
|
+
/** Emit lifecycle events based on animation `start` callback. */
|
|
136
|
+
_onAnimationStart(event) {
|
|
137
|
+
if (event.toState === 'enter') {
|
|
138
|
+
this._beforeEnter.next();
|
|
139
|
+
this._beforeEnter.complete();
|
|
140
|
+
}
|
|
141
|
+
if (event.fromState === 'enter' && (event.toState === 'void' || event.toState === 'exit')) {
|
|
142
|
+
this._beforeExit.next();
|
|
143
|
+
this._beforeExit.complete();
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
/** Handle a keyboard event from the menu, delegating to the appropriate action. */
|
|
147
|
+
_handleKeydown(event) {
|
|
148
|
+
// tslint:disable-next-line:deprecation
|
|
149
|
+
const keyCode = event.keyCode;
|
|
150
|
+
switch (keyCode) {
|
|
151
|
+
case ESCAPE:
|
|
152
|
+
if (!hasModifierKey(event)) {
|
|
153
|
+
event.preventDefault();
|
|
154
|
+
// this.closed.emit('keydown')
|
|
155
|
+
this._startExiting();
|
|
156
|
+
}
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
PopoverComponent.decorators = [
|
|
162
|
+
{ type: Component, args: [{
|
|
163
|
+
selector: 'seam-popover',
|
|
164
|
+
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",
|
|
165
|
+
animations: [
|
|
166
|
+
trigger('slideDown', [
|
|
167
|
+
transition(':enter', useAnimation(popoverExpandIn)),
|
|
168
|
+
transition(':leave', useAnimation(popoverExpandOut)),
|
|
169
|
+
])
|
|
170
|
+
],
|
|
171
|
+
host: {
|
|
172
|
+
class: 'popover show m-2 position-static',
|
|
173
|
+
'[@slideDown]': `{
|
|
174
|
+
value: _state,
|
|
175
|
+
params: {
|
|
176
|
+
enterAnimationDuration: enterAnimationDuration,
|
|
177
|
+
exitAnimationDuration: exitAnimationDuration
|
|
178
|
+
}
|
|
179
|
+
}`,
|
|
180
|
+
'(@slideDown.start)': '_onAnimationStart($event)',
|
|
181
|
+
'(@slideDown.done)': '_animationDone.next($event)',
|
|
182
|
+
'[style.width]': '_popoverWidth'
|
|
183
|
+
},
|
|
184
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
185
|
+
styles: [":host{display:block;max-width:800px;min-width:100%}"]
|
|
186
|
+
},] }
|
|
187
|
+
];
|
|
188
|
+
PopoverComponent.ctorParameters = () => [
|
|
189
|
+
{ type: ChangeDetectorRef }
|
|
190
|
+
];
|
|
191
|
+
PopoverComponent.propDecorators = {
|
|
192
|
+
_role: [{ type: HostBinding, args: ['attr.role',] }],
|
|
193
|
+
_tabindex: [{ type: HostBinding, args: ['attr.tabindex',] }],
|
|
194
|
+
template: [{ type: Input }],
|
|
195
|
+
popoverClass: [{ type: Input }],
|
|
196
|
+
baseWidth: [{ type: Input }],
|
|
197
|
+
_handleKeydown: [{ type: HostListener, args: ['keydown', ['$event'],] }]
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
/** Options for binding a passive event listener. */
|
|
201
|
+
const passiveEventListenerOptions = normalizePassiveListenerOptions({ passive: true });
|
|
202
|
+
class TheSeamPopoverDirective {
|
|
203
|
+
constructor(_elementRef, _viewContainerRef, _overlay, _focusMonitor) {
|
|
204
|
+
this._elementRef = _elementRef;
|
|
205
|
+
this._viewContainerRef = _viewContainerRef;
|
|
206
|
+
this._overlay = _overlay;
|
|
207
|
+
this._focusMonitor = _focusMonitor;
|
|
208
|
+
this._ngUnsubscribe = new Subject();
|
|
209
|
+
this._seamPopoverBaseWidth = new BehaviorSubject(null);
|
|
210
|
+
this._seamPopoverDisabled = new BehaviorSubject(false);
|
|
211
|
+
// ngOnInit() {
|
|
212
|
+
// this._seamPopoverDisabled.pipe(
|
|
213
|
+
// switchMap(disabled => {
|
|
214
|
+
// if (disabled) {
|
|
215
|
+
// this.close()
|
|
216
|
+
// return of(undefined)
|
|
217
|
+
// }
|
|
218
|
+
// if (!(this._elementRef && this._elementRef.nativeElement)) {
|
|
219
|
+
// return of(undefined)
|
|
220
|
+
// }
|
|
221
|
+
// return fromEvent(this._elementRef.nativeElement, 'click')
|
|
222
|
+
// })
|
|
223
|
+
// ).subscribe()
|
|
224
|
+
// }
|
|
225
|
+
this._active = false;
|
|
226
|
+
this._closing = false;
|
|
227
|
+
this._popoverClosedSubscription = Subscription.EMPTY;
|
|
228
|
+
this._closingActionsSubscription = Subscription.EMPTY;
|
|
229
|
+
this.restoreFocus = true;
|
|
230
|
+
// Tracking input type is necessary so it's possible to only auto-focus
|
|
231
|
+
// the first item of the list when the menu is opened via the keyboard
|
|
232
|
+
this._openedBy = null;
|
|
233
|
+
/**
|
|
234
|
+
* Handles touch start events on the trigger.
|
|
235
|
+
* Needs to be an arrow function so we can easily use addEventListener and removeEventListener.
|
|
236
|
+
*/
|
|
237
|
+
this._handleTouchStart = () => this._openedBy = 'touch';
|
|
238
|
+
this._elementRef.nativeElement.addEventListener('touchstart', this._handleTouchStart, passiveEventListenerOptions);
|
|
239
|
+
this._seamPopoverBaseWidth
|
|
240
|
+
.pipe(takeUntil(this._ngUnsubscribe))
|
|
241
|
+
.subscribe(w => {
|
|
242
|
+
if (this._compRef && this._compRef.instance) {
|
|
243
|
+
this._compRef.instance.baseWidth = w;
|
|
244
|
+
this._compRef.changeDetectorRef.markForCheck();
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Defines a width for a popover that will scale down if the window innerWidth is
|
|
250
|
+
* smaller than the value.
|
|
251
|
+
*/
|
|
252
|
+
get seamPopoverBaseWidth() { return this._seamPopoverBaseWidth.value; }
|
|
253
|
+
set seamPopoverBaseWidth(value) {
|
|
254
|
+
const _val = coerceNumberProperty(value, null);
|
|
255
|
+
if (_val !== this._seamPopoverBaseWidth.value) {
|
|
256
|
+
this._seamPopoverBaseWidth.next(_val);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
get seamPopoverDisabled() { return this._seamPopoverDisabled.value; }
|
|
260
|
+
set seamPopoverDisabled(val) { this._seamPopoverDisabled.next(coerceBooleanProperty(val)); }
|
|
261
|
+
_onMouseDown(event) {
|
|
262
|
+
if (!isFakeMousedownFromScreenReader(event)) {
|
|
263
|
+
// Since right or middle button clicks won't trigger the `click` event,
|
|
264
|
+
// we shouldn't consider the menu as opened by mouse in those cases.
|
|
265
|
+
this._openedBy = event.button === 0 ? 'mouse' : null;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
_onClick(event) {
|
|
269
|
+
this.toggle();
|
|
270
|
+
}
|
|
271
|
+
_onDocumentKeydown(event) {
|
|
272
|
+
if (event.keyCode === ESCAPE) {
|
|
273
|
+
this.closePopover();
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
ngOnDestroy() {
|
|
277
|
+
this.closePopover();
|
|
278
|
+
this._elementRef.nativeElement.removeEventListener('touchstart', this._handleTouchStart, passiveEventListenerOptions);
|
|
279
|
+
this._popoverClosedSubscription.unsubscribe();
|
|
280
|
+
this._closingActionsSubscription.unsubscribe();
|
|
281
|
+
this._ngUnsubscribe.next();
|
|
282
|
+
this._ngUnsubscribe.complete();
|
|
283
|
+
}
|
|
284
|
+
toggle() {
|
|
285
|
+
if (this._active || this.seamPopoverDisabled) {
|
|
286
|
+
this.closePopover();
|
|
287
|
+
}
|
|
288
|
+
else {
|
|
289
|
+
this.openPopover();
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
openPopover() {
|
|
293
|
+
if (this._active || !this.seamPopover) {
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
this._active = true;
|
|
297
|
+
this._overlayRef = this._overlay.create({
|
|
298
|
+
hasBackdrop: true,
|
|
299
|
+
backdropClass: 'transparent',
|
|
300
|
+
positionStrategy: this.getOverlayPosition(this._elementRef.nativeElement),
|
|
301
|
+
});
|
|
302
|
+
this._compRef = this._overlayRef.attach(new ComponentPortal(PopoverComponent, this._viewContainerRef));
|
|
303
|
+
this._closingActionsSubscription = this._popoverClosingActions().subscribe(() => this.closePopover());
|
|
304
|
+
this._compRef.instance.template = this.seamPopover;
|
|
305
|
+
this._compRef.instance.baseWidth = this.seamPopoverBaseWidth;
|
|
306
|
+
this._compRef.changeDetectorRef.markForCheck();
|
|
307
|
+
this._popoverClosedSubscription = this._compRef.instance._afterExit.subscribe(v => {
|
|
308
|
+
var _a;
|
|
309
|
+
// console.log('closed', v)
|
|
310
|
+
if ((_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.hasAttached()) {
|
|
311
|
+
this._overlayRef.detach();
|
|
312
|
+
}
|
|
313
|
+
this._resetPopover();
|
|
314
|
+
this._popoverClosedSubscription.unsubscribe();
|
|
315
|
+
this._closingActionsSubscription.unsubscribe();
|
|
316
|
+
this._active = false;
|
|
317
|
+
this._closing = false;
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
closePopover() {
|
|
321
|
+
if (!this._active) {
|
|
322
|
+
return;
|
|
323
|
+
}
|
|
324
|
+
if (!this._closing) {
|
|
325
|
+
if (this._compRef && this._compRef.instance) {
|
|
326
|
+
this._closing = true;
|
|
327
|
+
this._compRef.instance._startExiting();
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
popoverOpen() {
|
|
332
|
+
var _a, _b;
|
|
333
|
+
return (_b = (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.hasAttached()) !== null && _b !== void 0 ? _b : false;
|
|
334
|
+
}
|
|
335
|
+
getOverlayPosition(origin) {
|
|
336
|
+
const positionStrategy = this._overlay.position()
|
|
337
|
+
.flexibleConnectedTo(origin)
|
|
338
|
+
.withPositions(this.getPositions())
|
|
339
|
+
.withFlexibleDimensions(false)
|
|
340
|
+
.withPush(true);
|
|
341
|
+
return positionStrategy;
|
|
342
|
+
}
|
|
343
|
+
getPositions() {
|
|
344
|
+
return [
|
|
345
|
+
{
|
|
346
|
+
originX: 'center',
|
|
347
|
+
originY: 'bottom',
|
|
348
|
+
overlayX: 'center',
|
|
349
|
+
overlayY: 'top'
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
originX: 'center',
|
|
353
|
+
originY: 'top',
|
|
354
|
+
overlayX: 'center',
|
|
355
|
+
overlayY: 'bottom'
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
originX: 'end',
|
|
359
|
+
originY: 'bottom',
|
|
360
|
+
overlayX: 'end',
|
|
361
|
+
overlayY: 'top',
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
originX: 'start',
|
|
365
|
+
originY: 'bottom',
|
|
366
|
+
overlayX: 'start',
|
|
367
|
+
overlayY: 'top',
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
originX: 'end',
|
|
371
|
+
originY: 'top',
|
|
372
|
+
overlayX: 'end',
|
|
373
|
+
overlayY: 'bottom',
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
originX: 'start',
|
|
377
|
+
originY: 'top',
|
|
378
|
+
overlayX: 'start',
|
|
379
|
+
overlayY: 'bottom',
|
|
380
|
+
},
|
|
381
|
+
];
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Focuses the popover trigger.
|
|
385
|
+
* @param origin Source of the popover trigger's focus.
|
|
386
|
+
*/
|
|
387
|
+
focus(origin = 'program') {
|
|
388
|
+
if (this._focusMonitor) {
|
|
389
|
+
this._focusMonitor.focusVia(this._elementRef, origin);
|
|
390
|
+
}
|
|
391
|
+
else {
|
|
392
|
+
this._elementRef.nativeElement.focus();
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* This method resets the popover when it's closed, most importantly restoring
|
|
397
|
+
* focus to the popover trigger if the popover was opened via the keyboard.
|
|
398
|
+
*/
|
|
399
|
+
_resetPopover() {
|
|
400
|
+
// We should reset focus if the user is navigating using a keyboard or
|
|
401
|
+
// if we have a top-level trigger which might cause focus to be lost
|
|
402
|
+
// when clicking on the backdrop.
|
|
403
|
+
if (this.restoreFocus) {
|
|
404
|
+
if (!this._openedBy) {
|
|
405
|
+
// Note that the focus style will show up both for `program` and
|
|
406
|
+
// `keyboard` so we don't have to specify which one it is.
|
|
407
|
+
this.focus();
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
this._openedBy = null;
|
|
411
|
+
}
|
|
412
|
+
/** Returns a stream that emits whenever an action that should close the popover occurs. */
|
|
413
|
+
_popoverClosingActions() {
|
|
414
|
+
var _a, _b, _c, _d;
|
|
415
|
+
const backdrop = (_b = (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.backdropClick()) !== null && _b !== void 0 ? _b : of();
|
|
416
|
+
const detachments = (_d = (_c = this._overlayRef) === null || _c === void 0 ? void 0 : _c.detachments()) !== null && _d !== void 0 ? _d : of();
|
|
417
|
+
const hover = of();
|
|
418
|
+
return merge(backdrop, hover, detachments);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
TheSeamPopoverDirective.decorators = [
|
|
422
|
+
{ type: Directive, args: [{
|
|
423
|
+
selector: '[seamPopover]',
|
|
424
|
+
// tslint:disable-next-line:use-host-property-decorator
|
|
425
|
+
host: {
|
|
426
|
+
'aria-haspopup': 'true',
|
|
427
|
+
'[attr.aria-expanded]': 'popoverOpen() || null'
|
|
428
|
+
},
|
|
429
|
+
exportAs: 'seamPopover'
|
|
430
|
+
},] }
|
|
431
|
+
];
|
|
432
|
+
TheSeamPopoverDirective.ctorParameters = () => [
|
|
433
|
+
{ type: ElementRef },
|
|
434
|
+
{ type: ViewContainerRef },
|
|
435
|
+
{ type: Overlay },
|
|
436
|
+
{ type: FocusMonitor }
|
|
437
|
+
];
|
|
438
|
+
TheSeamPopoverDirective.propDecorators = {
|
|
439
|
+
seamPopover: [{ type: Input }],
|
|
440
|
+
seamPopoverBaseWidth: [{ type: Input }],
|
|
441
|
+
seamPopoverDisabled: [{ type: Input }],
|
|
442
|
+
_onMouseDown: [{ type: HostListener, args: ['mousedown', ['$event'],] }],
|
|
443
|
+
_onClick: [{ type: HostListener, args: ['click', ['$event'],] }],
|
|
444
|
+
_onDocumentKeydown: [{ type: HostListener, args: ['document:keydown', ['$event'],] }]
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
class TheSeamPopoverModule {
|
|
448
|
+
}
|
|
449
|
+
TheSeamPopoverModule.decorators = [
|
|
450
|
+
{ type: NgModule, args: [{
|
|
451
|
+
declarations: [
|
|
452
|
+
PopoverComponent,
|
|
453
|
+
TheSeamPopoverDirective
|
|
454
|
+
],
|
|
455
|
+
imports: [
|
|
456
|
+
CommonModule,
|
|
457
|
+
OverlayModule,
|
|
458
|
+
PortalModule
|
|
459
|
+
],
|
|
460
|
+
entryComponents: [
|
|
461
|
+
PopoverComponent
|
|
462
|
+
],
|
|
463
|
+
exports: [
|
|
464
|
+
TheSeamPopoverDirective,
|
|
465
|
+
OverlayModule,
|
|
466
|
+
PortalModule
|
|
467
|
+
]
|
|
468
|
+
},] }
|
|
469
|
+
];
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* Generated bundle index. Do not edit.
|
|
473
|
+
*/
|
|
474
|
+
|
|
475
|
+
export { PopoverComponent, TheSeamPopoverDirective, TheSeamPopoverModule, popoverExpandIn, popoverExpandOut, popoverSlideIn, popoverSlideOut };
|
|
476
|
+
//# sourceMappingURL=theseam-ui-common-popover.js.map
|