@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-icon.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../projects/ui-common/icon/icon-btn/icon-btn.component.ts","../../../projects/ui-common/icon/icon-notification/icon-notification.component.ts","../../../projects/ui-common/icon/icon/icon.component.ts","../../../projects/ui-common/icon/icon.module.ts","../../../projects/ui-common/icon/utils/file-extension-icon.ts","../../../projects/ui-common/icon/utils/get-known-icon.ts","../../../projects/ui-common/icon/theseam-ui-common-icon.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || from);\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { BooleanInput } from '@angular/cdk/coercion'\nimport { Component, DoCheck, ElementRef, HostBinding, Input, OnInit, Renderer2 } from '@angular/core'\n\nimport { SizeProp } from '@fortawesome/fontawesome-svg-core'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport type { ThemeTypes } from '@theseam/ui-common/models'\n\nimport type { SeamIcon } from '../icon'\nimport type { TheSeamIconType } from '../icon/icon.component'\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: 'button[seamIconBtn]',\n template: `\n <seam-icon *ngIf=\"icon\"\n [grayscaleOnDisable]=\"grayscaleOnDisable\"\n [disabled]=\"disabled\"\n [iconClass]=\"iconClass\"\n [icon]=\"icon\"\n [size]=\"size\"\n [showDefaultOnError]=\"showDefaultOnError\"\n [iconType]=\"iconType\">\n </seam-icon>\n <ng-content select=\".sr-only,seam-icon-notification\"></ng-content>\n `,\n styles: [],\n // tslint:disable-next-line:use-host-property-decorator\n host: {\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.disabled]': 'disabled || null',\n },\n})\nexport class IconBtnComponent implements OnInit, DoCheck {\n static ngAcceptInputType_grayscaleOnDisable: BooleanInput\n static ngAcceptInputType_disabled: BooleanInput\n static ngAcceptInputType_showDefaultOnError: BooleanInput\n\n /** Toggles whether the img/icon will attempt to be grayscale when disabled is true. */\n @Input() @InputBoolean() grayscaleOnDisable: boolean = true\n\n /** Toggles the img/icon to grayscale if `grayscaleOnDisable` is true. */\n @Input() @InputBoolean() disabled: boolean = false\n\n /**\n * Placed on the `.seam-icon--fa` and `seam-icon--img` elements.\n */\n @Input() iconClass: string | undefined | null\n\n /**\n * The icon to display.\n *\n * If the input icon is a string an `img` element will be used with icon as `src`.\n * If the input is not a string it will be assumed to be a font-awesome IconProp object.\n */\n @Input() icon: SeamIcon | undefined | null\n\n /**\n * NOTE: Only works for fa-icon for now.\n */\n @Input() size: SizeProp | undefined | null\n\n /**\n * Toggles whether an image that has thrown the `onerror` event should show\n * the `defaultIcon` instead.\n */\n @Input() @InputBoolean() showDefaultOnError: boolean = false\n\n /**\n * Shown if icon is not set or if showDefaultOnError is true and img has thrown an error.\n *\n * NOTE: Not supported for icon-btn yet.\n */\n // @Input() defaultIcon: SeamIcon\n\n @Input() iconType: TheSeamIconType | undefined | null = 'image-fill'\n\n @HostBinding('class.p-0') _cssPadding0 = true\n\n @HostBinding('class.btn') _btn = true\n @HostBinding('class.text-nowrap') _textNoWrap = true\n\n @HostBinding('class.btn-default') get _btnDefault() { return this.isBtnTheme('default') }\n @HostBinding('class.btn-primary') get _btnPrimary() { return this.isBtnTheme('primary') }\n @HostBinding('class.btn-secondary') get _btnSecondary() { return this.isBtnTheme('secondary') }\n @HostBinding('class.btn-success') get _btnSuccess() { return this.isBtnTheme('success') }\n @HostBinding('class.btn-danger') get _btnDanger() { return this.isBtnTheme('danger') }\n @HostBinding('class.btn-warning') get _btnWarning() { return this.isBtnTheme('warning') }\n @HostBinding('class.btn-info') get _btnInfo() { return this.isBtnTheme('info') }\n @HostBinding('class.btn-light') get _btnLight() { return this.isBtnTheme('light') }\n @HostBinding('class.btn-dark') get _btnDark() { return this.isBtnTheme('dark') }\n @HostBinding('class.btn-lightgray') get _btnLightGray() { return this.isBtnTheme('lightgray') }\n\n @HostBinding('class.btn-sm') get _btnSizeSm() { return this.btnSize === 'sm' }\n @HostBinding('class.btn-lg') get _btnSizeLg() { return this.btnSize === 'lg' }\n\n @Input() btnTheme: ThemeTypes | undefined | null = 'default'\n @Input() badgeTheme: ThemeTypes | undefined | null = 'light'\n @Input() badgeText: string | undefined | null = ''\n\n @Input() btnSize: 'sm' | 'lg' | undefined | null\n\n @Input()\n get type(): string | undefined | null { return this._type }\n set type(value: string | undefined | null) {\n this._type = value\n }\n private _type: string | undefined | null\n\n @Input()\n get role(): string | undefined | null { return this._role }\n set role(value: string | undefined | null) {\n this._role = value\n }\n private _role: string | undefined | null\n\n constructor(\n private _elementRef: ElementRef<HTMLButtonElement | HTMLAnchorElement>,\n private _renderer: Renderer2\n ) { }\n\n ngOnInit() { }\n\n ngDoCheck() {\n if (this._isButton()) {\n this._renderer.setAttribute(this._elementRef.nativeElement, 'type', this._type || 'button')\n } else if (this._isAnchor()) {\n this._renderer.setAttribute(this._elementRef.nativeElement, 'role', this._role || 'button')\n }\n }\n\n public isBtnTheme(type: ThemeTypes): boolean {\n return this.btnTheme === type\n }\n\n protected _isButton() {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'button'\n }\n\n protected _isAnchor() {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'button'\n }\n\n}\n","import { animate, animation, keyframes, style, transition, trigger, useAnimation } from '@angular/animations'\nimport { BooleanInput } from '@angular/cdk/coercion'\nimport { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit } from '@angular/core'\n\nimport { SizeProp } from '@fortawesome/fontawesome-svg-core'\nimport { faCircle } from '@fortawesome/free-solid-svg-icons'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\n\nimport { SeamIcon } from '../icon'\nimport type { TheSeamIconType } from '../icon/icon.component'\n\nexport const pulseAnimation = animation([\n style({ transform: 'scale(1)' }),\n animate(\n '{{ timings }}',\n keyframes([\n style({ transform: 'scale(1)', offset: 0 }),\n style({ transform: 'scale({{ scale }})', offset: 0.5 }),\n style({ transform: 'scale(1)', offset: 1 })\n ])\n )\n])\n\n@Component({\n selector: 'seam-icon-notification',\n template: `\n <seam-icon *ngIf=\"icon && !hidden\" [@counterChange]=\"count\"\n [grayscaleOnDisable]=\"grayscaleOnDisable\"\n [disabled]=\"disabled\"\n [iconClass]=\"iconClass\"\n [icon]=\"icon\"\n [size]=\"size\"\n [showDefaultOnError]=\"showDefaultOnError\"\n [iconType]=\"iconType\">\n </seam-icon>\n <ng-content select=\".sr-only\"></ng-content>\n `,\n styles: [`\n :host {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n }\n\n seam-icon {\n position: absolute;\n top: 4px;\n right: 4px;\n width: 25% !important;\n height: 25% !important;\n min-width: 15px;\n min-height: 15px;\n }\n `],\n // tslint:disable-next-line:use-host-property-decorator\n host: {\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.disabled]': 'disabled || null',\n },\n animations: [\n trigger('counterChange', [\n transition(\n ':increment',\n useAnimation(pulseAnimation, {\n params: {\n timings: '400ms ease-in-out',\n scale: 1.2\n }\n })\n )\n ])\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class IconNotificationComponent implements OnInit {\n static ngAcceptInputType_hidden: BooleanInput\n static ngAcceptInputType_grayscaleOnDisable: BooleanInput\n static ngAcceptInputType_disabled: BooleanInput\n static ngAcceptInputType_showDefaultOnError: BooleanInput\n\n @Input() count: number | undefined | null\n\n @Input() @InputBoolean() hidden = false\n\n /** Toggles whether the img/icon will attempt to be grayscale when disabled is true. */\n @Input() @InputBoolean() grayscaleOnDisable = true\n\n /** Toggles the img/icon to grayscale if `grayscaleOnDisable` is true. */\n @Input() @InputBoolean() disabled = false\n\n /**\n * Placed on the `.seam-icon--fa` and `seam-icon--img` elements.\n */\n @Input() iconClass: string | undefined | null\n\n /**\n * The icon to display.\n *\n * If the input icon is a string an `img` element will be used with icon as `src`.\n * If the input is not a string it will be assumed to be a font-awesome IconProp object.\n */\n @Input() icon: SeamIcon | undefined | null = faCircle\n\n /**\n * Toggles whether an image that has thrown the `onerror` event should show\n * the `defaultIcon` instead.\n */\n @Input() @InputBoolean() showDefaultOnError = false\n\n /**\n * Shown if icon is not set or if showDefaultOnError is true and img has thrown an error.\n *\n * NOTE: Not supported for icon-notification yet.\n */\n // @Input() defaultIcon: SeamIcon\n\n /**\n * NOTE: Only works for fa-icon for now.\n */\n @Input() size: SizeProp | undefined | null\n\n @Input() iconType: TheSeamIconType | undefined | null = 'image-fill'\n\n constructor(\n private _elementRef: ElementRef<HTMLElement>\n ) { }\n\n ngOnInit() {\n if (this._elementRef && this._elementRef.nativeElement && this._elementRef.nativeElement.parentElement) {\n this._elementRef.nativeElement.parentElement.style.position = 'relative'\n }\n }\n\n // ngDoCheck() {}\n\n}\n","import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion'\nimport { Component, HostBinding, Input } from '@angular/core'\n\nimport { IconProp, SizeProp } from '@fortawesome/fontawesome-svg-core'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\n\nimport { SeamIcon } from '../icon'\n\n//\n// TODO: Ensure all inputs correctly update the state whenever changed, not just\n// on initial load.\n//\n\n// Browsers that do not support css grayscale filter.\nconst needToFix = /(MSIE 10)|(Trident.*rv:11\\.0)|( Edge\\/[\\d\\.]+$)/.test(navigator.userAgent)\n\nexport type TheSeamIconType = 'borderless-styled-square' | 'styled-square' | 'image-fill' | undefined\n\n@Component({\n selector: 'seam-icon',\n templateUrl: './icon.component.html',\n styleUrls: ['./icon.component.scss']\n})\nexport class IconComponent {\n static ngAcceptInputType_grayscaleOnDisable: BooleanInput\n static ngAcceptInputType_disabled: BooleanInput\n static ngAcceptInputType_showDefaultOnError: BooleanInput\n\n needToFix = needToFix\n\n /** Toggles whether the img/icon will attempt to be grayscale when disabled is true. */\n @Input() @InputBoolean() grayscaleOnDisable: boolean = true\n\n /** Toggles the img/icon to grayscale if `grayscaleOnDisable` is true. */\n @Input() @InputBoolean() disabled: boolean = false\n\n /**\n * Placed on the `.seam-icon--fa` and `seam-icon--img` elements.\n */\n @Input() iconClass: string | undefined | null\n\n /**\n * The icon to display.\n *\n * If the input icon is a string an `img` element will be used with icon as `src`.\n * If the input is not a string it will be assumed to be a font-awesome IconProp object.\n */\n @Input()\n get icon(): SeamIcon | undefined | null { return this._iconUrl || this._iconObj }\n set icon(value: SeamIcon | undefined | null) {\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 this._iconUrlBeforeError = undefined\n this._iconObjBeforeError = undefined\n\n if (!this._iconUrl && !this._iconObj) {\n this._iconUrl = this._defaultIconUrl\n this._iconObj = this._defaultIconObj\n }\n }\n\n public _iconUrl: string | undefined | null\n public _iconObj: IconProp | undefined | null\n\n private _iconUrlBeforeError: string | undefined | null\n private _iconObjBeforeError: IconProp | undefined | null\n\n /**\n * NOTE: Only works for fa-icon for now.\n */\n @Input() size: SizeProp | undefined | null\n\n /**\n * Toggles whether an image that has thrown the `onerror` event should show\n * the `defaultIcon` instead.\n */\n @Input()\n get showDefaultOnError(): boolean { return this._showDefaultOnError }\n set showDefaultOnError(value: boolean) {\n this._showDefaultOnError = coerceBooleanProperty(value)\n if (this._hasError) {\n if (this._iconUrlBeforeError || this._iconObjBeforeError) {\n this._iconUrl = this._iconUrlBeforeError\n this._iconObj = this._iconObjBeforeError\n this._iconUrlBeforeError = undefined\n this._iconObjBeforeError = undefined\n } else if (this._showDefaultOnError) {\n this._iconUrl = this._defaultIconUrl\n this._iconObj = this._defaultIconObj\n }\n }\n }\n private _showDefaultOnError = false\n\n /**\n * Shown if icon is not set or if showDefaultOnError is true and img has thrown an error.\n */\n @Input()\n get defaultIcon(): SeamIcon | undefined | null { return this._defaultIconUrl || this._defaultIconObj }\n set defaultIcon(value: SeamIcon | undefined | null) {\n if (typeof value === 'string') {\n this._defaultIconUrl = value\n this._defaultIconObj = undefined\n } else {\n this._defaultIconUrl = undefined\n this._defaultIconObj = value\n }\n\n if (!this._defaultIconUrl && !this._defaultIconObj) {\n this._iconUrl = this._iconUrlBeforeError\n this._iconObj = this._iconObjBeforeError\n }\n\n if (!this._iconUrl && !this._iconObj) {\n this._iconUrl = this._defaultIconUrl\n this._iconObj = this._defaultIconObj\n }\n }\n\n public _defaultIconUrl: string | undefined | null\n public _defaultIconObj: IconProp | undefined | null\n\n @Input() iconType: TheSeamIconType | undefined | null\n\n @HostBinding('attr.icon-type')\n get _iconTypeAttr() { return this.iconType }\n\n private _hasError = false\n\n public _imgError(event: ErrorEvent): void {\n this._hasError = true\n if (this._showDefaultOnError && (this._defaultIconUrl || this._defaultIconObj)) {\n this._iconUrlBeforeError = this._iconUrl\n this._iconObjBeforeError = this._iconObj\n this._iconUrl = this._defaultIconUrl\n this._iconObj = this._defaultIconObj\n }\n }\n\n @HostBinding('class.disabled')\n get _cssDisabled() { return this.disabled || null }\n\n @HostBinding('class.no-grayscale')\n get _cssNoGreyscale() { return !this.grayscaleOnDisable }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome'\n\nimport { IconBtnComponent } from './icon-btn/icon-btn.component'\nimport { IconNotificationComponent } from './icon-notification/icon-notification.component'\nimport { IconComponent } from './icon/icon.component'\n\n@NgModule({\n declarations: [\n IconComponent,\n IconBtnComponent,\n IconNotificationComponent\n ],\n imports: [\n CommonModule,\n FontAwesomeModule\n ],\n exports: [\n IconComponent,\n IconBtnComponent,\n IconNotificationComponent\n ]\n})\nexport class TheSeamIconModule { }\n","import {\n faFile,\n faFileAlt,\n faFileArchive,\n faFileExcel,\n faFileImage,\n faFilePdf,\n faFilePowerpoint,\n faFileWord\n} from '@fortawesome/free-regular-svg-icons'\n\nimport { SeamIcon } from '../icon'\n\nconst FILE_EXTENSION_ICONS: { [type: string]: SeamIcon } = {\n 'pdf': faFilePdf,\n 'doc': faFileWord,\n 'docx': faFileWord,\n 'xls': faFileExcel,\n 'xlsx': faFileExcel,\n 'gif': faFileImage,\n 'jpg': faFileImage,\n 'jpeg': faFileImage,\n 'png': faFileImage,\n 'zip': faFileArchive,\n 'ppt': faFilePowerpoint,\n 'pptx': faFilePowerpoint,\n 'txt': faFileAlt,\n 'json': faFileAlt\n}\n\nexport const DEFAULT_FILE_EXTENSION_ICON: SeamIcon = faFile\n\nexport function fileExtensionIcon(extension: string | null | undefined, defaultIfNotFound: boolean = true): SeamIcon | undefined {\n if (!extension) {\n return defaultIfNotFound ? DEFAULT_FILE_EXTENSION_ICON : undefined\n }\n\n let ext = extension\n if (ext.charAt(0) === '.') {\n ext = ext.substr(1)\n }\n\n const icon = FILE_EXTENSION_ICONS[ext]\n if (!icon && defaultIfNotFound) {\n return DEFAULT_FILE_EXTENSION_ICON\n }\n return icon\n}\n","import {\n faAddressCard,\n faBell,\n faBookmark,\n faCheckCircle,\n faClock,\n faComment,\n faEnvelope,\n faEnvelopeOpen,\n faFile,\n faFileAlt,\n faFileArchive,\n faFileAudio,\n faFileCode,\n faFileExcel,\n faFileImage,\n faFilePdf,\n faFilePowerpoint,\n faFileVideo,\n faFileWord,\n faFolder,\n faFolderOpen,\n faImage,\n faImages,\n faQuestionCircle,\n faSave,\n faStickyNote,\n faTimesCircle,\n faTrashAlt,\n faUser,\n faUserCircle\n} from '@fortawesome/free-regular-svg-icons'\nimport {\n faBan,\n faChartArea,\n faChartBar,\n faChartLine,\n faCheck,\n faCloudUploadAlt,\n faCog,\n faEdit,\n faExclamation,\n faExclamationCircle,\n faExclamationTriangle,\n faExternalLinkSquareAlt,\n faFileContract,\n faFileCsv,\n faFileDownload,\n faFileExport,\n faFileImport,\n faFileInvoice,\n faFileInvoiceDollar,\n faFileMedical,\n faFileMedicalAlt,\n faFilePrescription,\n faFileSignature,\n faFileUpload,\n faInbox,\n faInfoCircle,\n faLock,\n faLockOpen,\n faPrint,\n faReceipt,\n faReply,\n faShare,\n faSignature,\n faTimes,\n faTrash,\n faUserCheck,\n faUserEdit,\n faUserPlus,\n faUsers,\n faUserTimes\n} from '@fortawesome/free-solid-svg-icons'\n\nimport { SeamIcon } from '../icon'\n\n// TODO: Decide a good way to do this, so that we don't have to import full icon\n// libraries, but still provide icon choices to use from a string. One way could\n// be to define a dictionary of app icons that we can use that map a unique\n// string to an icon definition.\nconst knownIcons: { [key: string]: SeamIcon } = {\n 'faAddressCard': faAddressCard,\n 'faBan': faBan,\n 'faBell': faBell,\n 'faBookmark': faBookmark,\n 'faChartLine': faChartLine,\n 'faChartArea': faChartArea,\n 'faChartBar': faChartBar,\n 'faCheck': faCheck,\n 'faCheckCircle': faCheckCircle,\n 'faClock': faClock,\n 'faCloudUploadAlt': faCloudUploadAlt,\n 'faComment': faComment,\n 'faCog': faCog,\n 'faEdit': faEdit,\n 'faEnvelope': faEnvelope,\n 'faEnvelopeOpen': faEnvelopeOpen,\n 'faExclamation': faExclamation,\n 'faExclamationCircle': faExclamationCircle,\n 'faExclamationTriangle': faExclamationTriangle,\n 'faExternalLinkSquareAlt': faExternalLinkSquareAlt,\n 'faFile': faFile,\n 'faFileAlt': faFileAlt,\n 'faFileArchive': faFileArchive,\n 'faFileAudio': faFileAudio,\n 'faFileCode': faFileCode,\n 'faFileContract': faFileContract,\n 'faFileCsv': faFileCsv,\n 'faFileDownload': faFileDownload,\n 'faFileExcel': faFileExcel,\n 'faFileExport': faFileExport,\n 'faFileImage': faFileImage,\n 'faFileImport': faFileImport,\n 'faFileInvoice': faFileInvoice,\n 'faFileInvoiceDollar': faFileInvoiceDollar,\n 'faFileMedical': faFileMedical,\n 'faFileMedicalAlt': faFileMedicalAlt,\n 'faFilePdf': faFilePdf,\n 'faFilePowerpoint': faFilePowerpoint,\n 'faFilePrescription': faFilePrescription,\n 'faFileSignature': faFileSignature,\n 'faFileUpload': faFileUpload,\n 'faFileVideo': faFileVideo,\n 'faFileWord': faFileWord,\n 'faFolder': faFolder,\n 'faFolderOpen': faFolderOpen,\n 'faImage': faImage,\n 'faImages': faImages,\n 'faInbox': faInbox,\n 'faInfoCircle': faInfoCircle,\n 'faLock': faLock,\n 'faLockOpen': faLockOpen,\n 'faPrint': faPrint,\n 'faQuestionCircle': faQuestionCircle,\n 'faReceipt': faReceipt,\n 'faReply': faReply,\n 'faSave': faSave,\n 'faShare': faShare,\n 'faSignature': faSignature,\n 'faStickyNote': faStickyNote,\n 'faTimes': faTimes,\n 'faTimesCircle': faTimesCircle,\n 'faTrash': faTrash,\n 'faTrashAlt': faTrashAlt,\n 'faUser': faUser,\n 'faUserCheck': faUserCheck,\n 'faUserCircle': faUserCircle,\n 'faUserEdit': faUserEdit,\n 'faUserTimes': faUserTimes,\n 'faUsers': faUsers,\n 'faUserPlus': faUserPlus\n}\n\nexport function getKnownIcon(iconStr: string): SeamIcon | undefined {\n return knownIcons[iconStr]\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["Component","ElementRef","Renderer2","Input","HostBinding","InputBoolean","animation","style","animate","keyframes","faCircle","trigger","transition","useAnimation","ChangeDetectionStrategy","coerceBooleanProperty","NgModule","CommonModule","FontAwesomeModule","faFilePdf","faFileWord","faFileExcel","faFileImage","faFileArchive","faFilePowerpoint","faFileAlt","faFile","faAddressCard","faBan","faBell","faBookmark","faChartLine","faChartArea","faChartBar","faCheck","faCheckCircle","faClock","faCloudUploadAlt","faComment","faCog","faEdit","faEnvelope","faEnvelopeOpen","faExclamation","faExclamationCircle","faExclamationTriangle","faExternalLinkSquareAlt","faFileAudio","faFileCode","faFileContract","faFileCsv","faFileDownload","faFileExport","faFileImport","faFileInvoice","faFileInvoiceDollar","faFileMedical","faFileMedicalAlt","faFilePrescription","faFileSignature","faFileUpload","faFileVideo","faFolder","faFolderOpen","faImage","faImages","faInbox","faInfoCircle","faLock","faLockOpen","faPrint","faQuestionCircle","faReceipt","faReply","faSave","faShare","faSignature","faStickyNote","faTimes","faTimesCircle","faTrash","faTrashAlt","faUser","faUserCheck","faUserCircle","faUserEdit","faUserTimes","faUsers","faUserPlus"],"mappings":";;;;;;IAAA;;;;;;;;;;;;;;IAcA;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;gBAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC;oBAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACtG,OAAO,aAAa,CAAC,CAA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AEC,4BAAQ;QACpB,SAAS,EAAEC,yBAAO;QAClB,cAAc,EAAEC,8BAAY;QAC5B,QAAQ,EAAEC,wBAAM;QAChB,YAAY,EAAEC,4BAAU;QACxB,SAAS,EAAEC,yBAAO;QAClB,kBAAkB,EAAEC,oCAAgB;QACpC,WAAW,EAAEC,2BAAS;QACtB,SAAS,EAAEC,yBAAO;QAClB,QAAQ,EAAEC,0BAAM;QAChB,SAAS,EAAEC,yBAAO;QAClB,aAAa,EAAEC,6BAAW;QAC1B,cAAc,EAAEC,gCAAY;QAC5B,SAAS,EAAEC,yBAAO;QAClB,eAAe,EAAEC,iCAAa;QAC9B,SAAS,EAAEC,yBAAO;QAClB,YAAY,EAAEC,8BAAU;QACxB,QAAQ,EAAEC,0BAAM;QAChB,aAAa,EAAEC,6BAAW;QAC1B,cAAc,EAAEC,gCAAY;QAC5B,YAAY,EAAEC,4BAAU;QACxB,aAAa,EAAEC,6BAAW;QAC1B,SAAS,EAAEC,yBAAO;QAClB,YAAY,EAAEC,4BAAU;KACzB,CAAA;aAEe,YAAY,CAAC,OAAe;QAC1C,OAAO,UAAU,CAAC,OAAO,CAAC,CAAA;IAC5B;;IC5JA;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@angular/flex-layout'), require('rxjs/operators'), require('@angular/flex-layout/core')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@theseam/ui-common/layout', ['exports', '@angular/common', '@angular/core', '@angular/flex-layout', 'rxjs/operators', '@angular/flex-layout/core'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.theseam = global.theseam || {}, global.theseam['ui-common'] = global.theseam['ui-common'] || {}, global.theseam['ui-common'].layout = {}), global.ng.common, global.ng.core, global.ng.flexLayout, global.rxjs.operators, global.ng.flexLayout.core));
|
|
5
|
+
}(this, (function (exports, common, i0, flexLayout, operators, i1) { 'use strict';
|
|
6
|
+
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () {
|
|
17
|
+
return e[k];
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n['default'] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
28
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
29
|
+
|
|
30
|
+
var TheSeamLayoutModule = /** @class */ (function () {
|
|
31
|
+
function TheSeamLayoutModule() {
|
|
32
|
+
}
|
|
33
|
+
return TheSeamLayoutModule;
|
|
34
|
+
}());
|
|
35
|
+
TheSeamLayoutModule.decorators = [
|
|
36
|
+
{ type: i0.NgModule, args: [{
|
|
37
|
+
declarations: [],
|
|
38
|
+
imports: [
|
|
39
|
+
common.CommonModule,
|
|
40
|
+
flexLayout.FlexLayoutModule
|
|
41
|
+
],
|
|
42
|
+
exports: [
|
|
43
|
+
flexLayout.FlexLayoutModule
|
|
44
|
+
]
|
|
45
|
+
},] }
|
|
46
|
+
];
|
|
47
|
+
|
|
48
|
+
var mediaQueriesMap = {
|
|
49
|
+
'xs': 'screen and (max-width: 599px)',
|
|
50
|
+
'sm': 'screen and (min-width: 600px) and (max-width: 959px)',
|
|
51
|
+
'md': 'screen and (min-width: 960px) and (max-width: 1279px)',
|
|
52
|
+
'lg': 'screen and (min-width: 1280px) and (max-width: 1919px)',
|
|
53
|
+
'xl': 'screen and (min-width: 1920px) and (max-width: 5000px)',
|
|
54
|
+
'lt-sm': 'screen and (max-width: 599px)',
|
|
55
|
+
'lt-md': 'screen and (max-width: 959px)',
|
|
56
|
+
'lt-lg': 'screen and (max-width: 1279px)',
|
|
57
|
+
'lt-xl': 'screen and (max-width: 1919px)',
|
|
58
|
+
'gt-xs': 'screen and (min-width: 600px)',
|
|
59
|
+
'gt-sm': 'screen and (min-width: 960px)',
|
|
60
|
+
'gt-md': 'screen and (min-width: 1280px)',
|
|
61
|
+
'gt-lg': 'screen and (min-width: 1920px)'
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* TODO: Find out if the MediaObserver can return an immediate result on load
|
|
65
|
+
* accurately like the native matchMedia. If not switch to another that can or
|
|
66
|
+
* just implement it myself. I would rather use a well tested library for
|
|
67
|
+
* something like that, since it could have a lot of affect on performance.
|
|
68
|
+
*/
|
|
69
|
+
function isMediaQueryActive(query, fallback) {
|
|
70
|
+
if (window && window.matchMedia) {
|
|
71
|
+
var x = window.matchMedia(mediaQueriesMap[query]);
|
|
72
|
+
return x.matches;
|
|
73
|
+
}
|
|
74
|
+
return fallback.isActive(query);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Observable helper for observing a single breakpoint alias with
|
|
78
|
+
* `@angular/flex-layout` MediaObserver.
|
|
79
|
+
*/
|
|
80
|
+
function observeMediaQuery(mediaObserver, alias) {
|
|
81
|
+
// console.log(alias, mediaObserver.isActive(alias), isMediaQueryActive(alias, mediaObserver))
|
|
82
|
+
return mediaObserver.asObservable()
|
|
83
|
+
.pipe(operators.map(function (_) { return mediaObserver.isActive(alias); }),
|
|
84
|
+
// startWith(mediaObserver.isActive(alias)),
|
|
85
|
+
operators.startWith(isMediaQueryActive(alias, mediaObserver)), operators.distinctUntilChanged(), operators.shareReplay({ refCount: true, bufferSize: 1 }));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
var TheSeamLayoutService = /** @class */ (function () {
|
|
89
|
+
function TheSeamLayoutService(_media) {
|
|
90
|
+
this._media = _media;
|
|
91
|
+
this.isMobile$ = this.observe('lt-sm');
|
|
92
|
+
}
|
|
93
|
+
TheSeamLayoutService.prototype.observe = function (alias) {
|
|
94
|
+
return observeMediaQuery(this._media, alias);
|
|
95
|
+
};
|
|
96
|
+
return TheSeamLayoutService;
|
|
97
|
+
}());
|
|
98
|
+
TheSeamLayoutService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TheSeamLayoutService_Factory() { return new TheSeamLayoutService(i0__namespace.ɵɵinject(i1__namespace.MediaObserver)); }, token: TheSeamLayoutService, providedIn: "root" });
|
|
99
|
+
TheSeamLayoutService.decorators = [
|
|
100
|
+
{ type: i0.Injectable, args: [{
|
|
101
|
+
providedIn: 'root'
|
|
102
|
+
},] }
|
|
103
|
+
];
|
|
104
|
+
TheSeamLayoutService.ctorParameters = function () { return [
|
|
105
|
+
{ type: flexLayout.MediaObserver }
|
|
106
|
+
]; };
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Generated bundle index. Do not edit.
|
|
110
|
+
*/
|
|
111
|
+
|
|
112
|
+
exports.TheSeamLayoutModule = TheSeamLayoutModule;
|
|
113
|
+
exports.TheSeamLayoutService = TheSeamLayoutService;
|
|
114
|
+
exports.observeMediaQuery = observeMediaQuery;
|
|
115
|
+
|
|
116
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
117
|
+
|
|
118
|
+
})));
|
|
119
|
+
//# sourceMappingURL=theseam-ui-common-layout.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theseam-ui-common-layout.umd.js","sources":["../../../projects/ui-common/layout/layout.module.ts","../../../projects/ui-common/layout/observe-media-query.ts","../../../projects/ui-common/layout/layout.service.ts","../../../projects/ui-common/layout/theseam-ui-common-layout.ts"],"sourcesContent":["import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\nimport { FlexLayoutModule } from '@angular/flex-layout'\n\n@NgModule({\n declarations: [],\n imports: [\n CommonModule,\n FlexLayoutModule\n ],\n exports: [\n FlexLayoutModule\n ]\n})\nexport class TheSeamLayoutModule { }\n","import { MediaObserver } from '@angular/flex-layout'\nimport { Observable } from 'rxjs'\nimport { distinctUntilChanged, map, shareReplay, startWith, tap } from 'rxjs/operators'\n\nimport { MediaQueryAliases } from './breakpoint-aliases'\n\nconst mediaQueriesMap: { [breakpoint: string]: string } = {\n 'xs' : 'screen and (max-width: 599px)',\n 'sm' : 'screen and (min-width: 600px) and (max-width: 959px)',\n 'md' : 'screen and (min-width: 960px) and (max-width: 1279px)',\n 'lg' : 'screen and (min-width: 1280px) and (max-width: 1919px)',\n 'xl' : 'screen and (min-width: 1920px) and (max-width: 5000px)',\n 'lt-sm': 'screen and (max-width: 599px)',\n 'lt-md': 'screen and (max-width: 959px)',\n 'lt-lg': 'screen and (max-width: 1279px)',\n 'lt-xl': 'screen and (max-width: 1919px)',\n 'gt-xs': 'screen and (min-width: 600px)',\n 'gt-sm': 'screen and (min-width: 960px)',\n 'gt-md': 'screen and (min-width: 1280px)',\n 'gt-lg': 'screen and (min-width: 1920px)'\n}\n\n/**\n * TODO: Find out if the MediaObserver can return an immediate result on load\n * accurately like the native matchMedia. If not switch to another that can or\n * just implement it myself. I would rather use a well tested library for\n * something like that, since it could have a lot of affect on performance.\n */\nfunction isMediaQueryActive(query: string, fallback: MediaObserver) {\n if (window && window.matchMedia) {\n const x = window.matchMedia(mediaQueriesMap[query])\n return x.matches\n }\n return fallback.isActive(query)\n}\n\n/**\n * Observable helper for observing a single breakpoint alias with\n * `@angular/flex-layout` MediaObserver.\n */\nexport function observeMediaQuery(\n mediaObserver: MediaObserver,\n alias: MediaQueryAliases\n): Observable<boolean> {\n // console.log(alias, mediaObserver.isActive(alias), isMediaQueryActive(alias, mediaObserver))\n return mediaObserver.asObservable()\n .pipe(\n map(_ => mediaObserver.isActive(alias)),\n // startWith(mediaObserver.isActive(alias)),\n startWith(isMediaQueryActive(alias, mediaObserver)),\n distinctUntilChanged(),\n shareReplay({ refCount: true, bufferSize: 1 })\n )\n}\n","import { inject, Injectable, InjectionToken } from '@angular/core'\nimport { MediaObserver } from '@angular/flex-layout'\nimport { Observable } from 'rxjs'\n\nimport { MediaQueryAliases } from './breakpoint-aliases'\nimport { observeMediaQuery } from './observe-media-query'\n\n@Injectable({\n providedIn: 'root'\n})\nexport class TheSeamLayoutService {\n\n /**\n * Is app a mobile-like size.\n */\n public isMobile$: Observable<boolean>\n\n constructor(\n private _media: MediaObserver\n ) {\n this.isMobile$ = this.observe('lt-sm')\n }\n\n public observe(alias: MediaQueryAliases): Observable<boolean> {\n return observeMediaQuery(this._media, alias)\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["NgModule","CommonModule","FlexLayoutModule","map","startWith","distinctUntilChanged","shareReplay","Injectable","MediaObserver"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAcA;;;;;gBAVCA,WAAQ,SAAC;oBACR,YAAY,EAAE,EAAE;oBAChB,OAAO,EAAE;wBACPC,mBAAY;wBACZC,2BAAgB;qBACjB;oBACD,OAAO,EAAE;wBACPA,2BAAgB;qBACjB;iBACF;;;ICPD,IAAM,eAAe,GAAqC;QACxD,IAAI,EAAK,+BAA+B;QACxC,IAAI,EAAK,sDAAsD;QAC/D,IAAI,EAAK,uDAAuD;QAChE,IAAI,EAAK,wDAAwD;QACjE,IAAI,EAAK,wDAAwD;QACjE,OAAO,EAAE,+BAA+B;QACxC,OAAO,EAAE,+BAA+B;QACxC,OAAO,EAAE,gCAAgC;QACzC,OAAO,EAAE,gCAAgC;QACzC,OAAO,EAAE,+BAA+B;QACxC,OAAO,EAAE,+BAA+B;QACxC,OAAO,EAAE,gCAAgC;QACzC,OAAO,EAAE,gCAAgC;KAC1C,CAAA;IAED;;;;;;IAMA,SAAS,kBAAkB,CAAC,KAAa,EAAE,QAAuB;QAChE,IAAI,MAAM,IAAI,MAAM,CAAC,UAAU,EAAE;YAC/B,IAAM,CAAC,GAAG,MAAM,CAAC,UAAU,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAA;YACnD,OAAO,CAAC,CAAC,OAAO,CAAA;SACjB;QACD,OAAO,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;IACjC,CAAC;IAED;;;;aAIgB,iBAAiB,CAC/B,aAA4B,EAC5B,KAAwB;;QAGxB,OAAO,aAAa,CAAC,YAAY,EAAE;aAChC,IAAI,CACHC,aAAG,CAAC,UAAA,CAAC,IAAI,OAAA,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAA,CAAC;;QAEvCC,mBAAS,CAAC,kBAAkB,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC,EACnDC,8BAAoB,EAAE,EACtBC,qBAAW,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC,CAC/C,CAAA;IACL;;;QCpCE,8BACU,MAAqB;YAArB,WAAM,GAAN,MAAM,CAAe;YAE7B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;SACvC;QAEM,sCAAO,GAAP,UAAQ,KAAwB;YACrC,OAAO,iBAAiB,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;SAC7C;;;;;gBAlBFC,aAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;gBARQC,wBAAa;;;ICDtB;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/common'), require('@angular/core'), require('@marklb/ngx-loading'), require('rxjs'), require('rxjs/operators')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@theseam/ui-common/loading', ['exports', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/common', '@angular/core', '@marklb/ngx-loading', 'rxjs', 'rxjs/operators'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.theseam = global.theseam || {}, global.theseam['ui-common'] = global.theseam['ui-common'] || {}, global.theseam['ui-common'].loading = {}), global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.common, global.ng.core, global.ngxLoading, global.rxjs, global.rxjs.operators));
|
|
5
|
+
}(this, (function (exports, overlay, portal, common, core, ngxLoading, rxjs, operators) { 'use strict';
|
|
6
|
+
|
|
7
|
+
var defaultThemeConfig = {
|
|
8
|
+
animationType: ngxLoading.ngxLoadingAnimationTypes.threeBounce,
|
|
9
|
+
backdropBackgroundColour: 'rgba(0,0,0,0.3)',
|
|
10
|
+
backdropBorderRadius: '0px',
|
|
11
|
+
primaryColour: '#ffffff',
|
|
12
|
+
secondaryColour: '#ffffff',
|
|
13
|
+
tertiaryColour: '#ffffff'
|
|
14
|
+
};
|
|
15
|
+
var primaryThemeConfig = {
|
|
16
|
+
animationType: ngxLoading.ngxLoadingAnimationTypes.threeBounce,
|
|
17
|
+
backdropBackgroundColour: 'rgba(250,250,250,0.2)',
|
|
18
|
+
backdropBorderRadius: '0px',
|
|
19
|
+
primaryColour: 'rgba(53,126,189,0.7)',
|
|
20
|
+
secondaryColour: 'rgba(53,126,189,0.7)',
|
|
21
|
+
tertiaryColour: 'rgba(53,126,189,0.7)'
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
var LoadingComponent = /** @class */ (function () {
|
|
25
|
+
function LoadingComponent() {
|
|
26
|
+
this._theme = defaultThemeConfig;
|
|
27
|
+
}
|
|
28
|
+
Object.defineProperty(LoadingComponent.prototype, "theme", {
|
|
29
|
+
set: function (value) {
|
|
30
|
+
if (value === 'primary') {
|
|
31
|
+
this._theme = primaryThemeConfig;
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
this._theme = defaultThemeConfig;
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
enumerable: false,
|
|
38
|
+
configurable: true
|
|
39
|
+
});
|
|
40
|
+
LoadingComponent.prototype.ngOnInit = function () { };
|
|
41
|
+
return LoadingComponent;
|
|
42
|
+
}());
|
|
43
|
+
LoadingComponent.decorators = [
|
|
44
|
+
{ type: core.Component, args: [{
|
|
45
|
+
selector: 'seam-loading',
|
|
46
|
+
template: "<ngx-loading [show]=\"true\" [config]=\"_theme\"></ngx-loading>\n",
|
|
47
|
+
styles: [":host{display:block;position:absolute;top:0;right:0;bottom:0;left:0;z-index:9000}"]
|
|
48
|
+
},] }
|
|
49
|
+
];
|
|
50
|
+
LoadingComponent.ctorParameters = function () { return []; };
|
|
51
|
+
LoadingComponent.propDecorators = {
|
|
52
|
+
theme: [{ type: core.Input }]
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
var TheSeamLoadingOverlayService = /** @class */ (function () {
|
|
56
|
+
function TheSeamLoadingOverlayService(_overlay) {
|
|
57
|
+
this._overlay = _overlay;
|
|
58
|
+
this._enabled = false;
|
|
59
|
+
}
|
|
60
|
+
Object.defineProperty(TheSeamLoadingOverlayService.prototype, "enabled", {
|
|
61
|
+
get: function () {
|
|
62
|
+
return this._enabled;
|
|
63
|
+
},
|
|
64
|
+
enumerable: false,
|
|
65
|
+
configurable: true
|
|
66
|
+
});
|
|
67
|
+
TheSeamLoadingOverlayService.prototype.toggle = function (enabled) {
|
|
68
|
+
var enable = enabled === undefined ? !this.enabled : enabled;
|
|
69
|
+
if (enable && !this.enabled) {
|
|
70
|
+
this.enable();
|
|
71
|
+
}
|
|
72
|
+
else if (!enable && this.enabled) {
|
|
73
|
+
this.disable();
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
TheSeamLoadingOverlayService.prototype.enable = function () {
|
|
77
|
+
if (this.enabled) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
this._overlayRef = this._overlay.create({
|
|
81
|
+
hasBackdrop: false,
|
|
82
|
+
width: '100%',
|
|
83
|
+
height: '100%'
|
|
84
|
+
});
|
|
85
|
+
this._overlayRef.attach(new portal.ComponentPortal(LoadingComponent));
|
|
86
|
+
this._enabled = true;
|
|
87
|
+
};
|
|
88
|
+
TheSeamLoadingOverlayService.prototype.disable = function () {
|
|
89
|
+
var _a;
|
|
90
|
+
if (!this.enabled) {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
(_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.dispose();
|
|
94
|
+
this._enabled = false;
|
|
95
|
+
};
|
|
96
|
+
TheSeamLoadingOverlayService.prototype.while = function (source) {
|
|
97
|
+
var _this = this;
|
|
98
|
+
this.enable();
|
|
99
|
+
return source
|
|
100
|
+
.pipe(operators.tap(function () { return _this.disable(); }), operators.catchError(function (err) {
|
|
101
|
+
_this.disable();
|
|
102
|
+
return rxjs.throwError(err);
|
|
103
|
+
}), operators.finalize(function () { return _this.disable(); }));
|
|
104
|
+
};
|
|
105
|
+
return TheSeamLoadingOverlayService;
|
|
106
|
+
}());
|
|
107
|
+
TheSeamLoadingOverlayService.decorators = [
|
|
108
|
+
{ type: core.Injectable }
|
|
109
|
+
];
|
|
110
|
+
TheSeamLoadingOverlayService.ctorParameters = function () { return [
|
|
111
|
+
{ type: overlay.Overlay }
|
|
112
|
+
]; };
|
|
113
|
+
|
|
114
|
+
// NOTE: Named export used for this because of a function calling bug in the builder.
|
|
115
|
+
var loadingForRoot = ngxLoading.NgxLoadingModule.forRoot(defaultThemeConfig);
|
|
116
|
+
var TheSeamLoadingModule = /** @class */ (function () {
|
|
117
|
+
function TheSeamLoadingModule() {
|
|
118
|
+
}
|
|
119
|
+
return TheSeamLoadingModule;
|
|
120
|
+
}());
|
|
121
|
+
TheSeamLoadingModule.decorators = [
|
|
122
|
+
{ type: core.NgModule, args: [{
|
|
123
|
+
declarations: [LoadingComponent],
|
|
124
|
+
imports: [
|
|
125
|
+
common.CommonModule,
|
|
126
|
+
overlay.OverlayModule,
|
|
127
|
+
portal.PortalModule,
|
|
128
|
+
loadingForRoot
|
|
129
|
+
],
|
|
130
|
+
providers: [
|
|
131
|
+
TheSeamLoadingOverlayService
|
|
132
|
+
],
|
|
133
|
+
exports: [LoadingComponent],
|
|
134
|
+
entryComponents: [LoadingComponent]
|
|
135
|
+
},] }
|
|
136
|
+
];
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Generated bundle index. Do not edit.
|
|
140
|
+
*/
|
|
141
|
+
|
|
142
|
+
exports.LoadingComponent = LoadingComponent;
|
|
143
|
+
exports.TheSeamLoadingModule = TheSeamLoadingModule;
|
|
144
|
+
exports.TheSeamLoadingOverlayService = TheSeamLoadingOverlayService;
|
|
145
|
+
exports.defaultThemeConfig = defaultThemeConfig;
|
|
146
|
+
exports.loadingForRoot = loadingForRoot;
|
|
147
|
+
exports.primaryThemeConfig = primaryThemeConfig;
|
|
148
|
+
|
|
149
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
150
|
+
|
|
151
|
+
})));
|
|
152
|
+
//# sourceMappingURL=theseam-ui-common-loading.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theseam-ui-common-loading.umd.js","sources":["../../../projects/ui-common/loading/loading-themes.ts","../../../projects/ui-common/loading/loading/loading.component.ts","../../../projects/ui-common/loading/loading-overlay.service.ts","../../../projects/ui-common/loading/loading.module.ts","../../../projects/ui-common/loading/theseam-ui-common-loading.ts"],"sourcesContent":["import { ngxLoadingAnimationTypes, NgxLoadingConfig } from '@marklb/ngx-loading'\n\nexport const defaultThemeConfig: NgxLoadingConfig = {\n animationType: ngxLoadingAnimationTypes.threeBounce,\n backdropBackgroundColour: 'rgba(0,0,0,0.3)',\n backdropBorderRadius: '0px',\n primaryColour: '#ffffff',\n secondaryColour: '#ffffff',\n tertiaryColour: '#ffffff'\n}\n\nexport const primaryThemeConfig: NgxLoadingConfig = {\n animationType: ngxLoadingAnimationTypes.threeBounce,\n backdropBackgroundColour: 'rgba(250,250,250,0.2)',\n backdropBorderRadius: '0px',\n primaryColour: 'rgba(53,126,189,0.7)',\n secondaryColour: 'rgba(53,126,189,0.7)',\n tertiaryColour: 'rgba(53,126,189,0.7)'\n}\n","import { Component, Input, OnInit } from '@angular/core'\n\nimport { NgxLoadingConfig } from '@marklb/ngx-loading'\n\nimport { defaultThemeConfig, primaryThemeConfig } from '../loading-themes'\nimport type { TheSeamLoadingTheme } from '../loading.models'\n\n@Component({\n selector: 'seam-loading',\n templateUrl: './loading.component.html',\n styleUrls: ['./loading.component.scss']\n})\nexport class LoadingComponent implements OnInit {\n\n @Input()\n set theme(value: TheSeamLoadingTheme) {\n if (value === 'primary') {\n this._theme = primaryThemeConfig\n } else {\n this._theme = defaultThemeConfig\n }\n }\n _theme: NgxLoadingConfig = defaultThemeConfig\n\n constructor() { }\n\n ngOnInit() { }\n\n}\n","import { Overlay, OverlayRef } from '@angular/cdk/overlay'\nimport { ComponentPortal } from '@angular/cdk/portal'\nimport { Injectable } from '@angular/core'\nimport { Observable, throwError } from 'rxjs'\nimport { catchError, finalize, tap } from 'rxjs/operators'\n\nimport { LoadingComponent } from './loading/loading.component'\n\n@Injectable()\nexport class TheSeamLoadingOverlayService {\n\n private _enabled = false\n\n private _overlayRef?: OverlayRef\n\n constructor(\n private _overlay: Overlay\n ) { }\n\n get enabled(): boolean {\n return this._enabled\n }\n\n public toggle(enabled?: boolean) {\n const enable = enabled === undefined ? !this.enabled : enabled\n if (enable && !this.enabled) {\n this.enable()\n } else if (!enable && this.enabled) {\n this.disable()\n }\n }\n\n public enable() {\n if (this.enabled) { return }\n\n this._overlayRef = this._overlay.create({\n hasBackdrop: false,\n width: '100%',\n height: '100%'\n })\n this._overlayRef.attach(new ComponentPortal(LoadingComponent))\n\n this._enabled = true\n }\n\n public disable() {\n if (!this.enabled) { return }\n\n this._overlayRef?.dispose()\n\n this._enabled = false\n }\n\n public while<T = any>(source: Observable<T>): Observable<T> {\n this.enable()\n return source\n .pipe(\n tap(() => this.disable()),\n catchError(err => {\n this.disable()\n return throwError(err)\n }),\n finalize(() => this.disable())\n )\n }\n\n}\n","import { OverlayModule } from '@angular/cdk/overlay'\nimport { PortalModule } from '@angular/cdk/portal'\nimport { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { NgxLoadingModule } from '@marklb/ngx-loading'\n\nimport { TheSeamLoadingOverlayService } from './loading-overlay.service'\nimport { defaultThemeConfig } from './loading-themes'\nimport { LoadingComponent } from './loading/loading.component'\n\n// NOTE: Named export used for this because of a function calling bug in the builder.\nexport const loadingForRoot = NgxLoadingModule.forRoot(defaultThemeConfig)\n\n@NgModule({\n declarations: [LoadingComponent],\n imports: [\n CommonModule,\n OverlayModule,\n PortalModule,\n loadingForRoot\n ],\n providers: [\n TheSeamLoadingOverlayService\n ],\n exports: [LoadingComponent],\n entryComponents: [LoadingComponent]\n})\nexport class TheSeamLoadingModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ngxLoadingAnimationTypes","Component","Input","ComponentPortal","tap","catchError","throwError","finalize","Injectable","Overlay","NgxLoadingModule","NgModule","CommonModule","OverlayModule","PortalModule"],"mappings":";;;;;;QAEa,kBAAkB,GAAqB;QAClD,aAAa,EAAEA,mCAAwB,CAAC,WAAW;QACnD,wBAAwB,EAAE,iBAAiB;QAC3C,oBAAoB,EAAE,KAAK;QAC3B,aAAa,EAAE,SAAS;QACxB,eAAe,EAAE,SAAS;QAC1B,cAAc,EAAE,SAAS;MAC1B;QAEY,kBAAkB,GAAqB;QAClD,aAAa,EAAEA,mCAAwB,CAAC,WAAW;QACnD,wBAAwB,EAAE,uBAAuB;QACjD,oBAAoB,EAAE,KAAK;QAC3B,aAAa,EAAE,sBAAsB;QACrC,eAAe,EAAE,sBAAsB;QACvC,cAAc,EAAE,sBAAsB;;;;QCOtC;YAFA,WAAM,GAAqB,kBAAkB,CAAA;SAE5B;QAVjB,sBACI,mCAAK;iBADT,U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OAAM;aAAE;YAE7B,MAAA,IAAI,CAAC,WAAW,0CAAE,OAAO,EAAE,CAAA;YAE3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAA;SACtB;QAEM,4CAAK,GAAL,UAAe,MAAqB;YAApC,iBAWN;YAVC,IAAI,CAAC,MAAM,EAAE,CAAA;YACb,OAAO,MAAM;iBACV,IAAI,CACHC,aAAG,CAAC,cAAM,OAAA,KAAI,CAAC,OAAO,EAAE,GAAA,CAAC,EACzBC,oBAAU,CAAC,UAAA,GAAG;gBACZ,KAAI,CAAC,OAAO,EAAE,CAAA;gBACd,OAAOC,eAAU,CAAC,GAAG,CAAC,CAAA;aACvB,CAAC,EACFC,kBAAQ,CAAC,cAAM,OAAA,KAAI,CAAC,OAAO,EAAE,GAAA,CAAC,CAC/B,CAAA;SACJ;;;;gBAxDFC,eAAU;;;gBARFC,eAAO;;;ICWhB;QACa,cAAc,GAAGC,2BAAgB,CAAC,OAAO,CAAC,kBAAkB,EAAC;;QAgB1E;;;;;gBAdCC,aAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBAChC,OAAO,EAAE;wBACPC,mBAAY;wBACZC,qBAAa;wBACbC,mBAAY;wBACZ,cAAc;qBACf;oBACD,SAAS,EAAE;wBACT,4BAA4B;qBAC7B;oBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;oBAC3B,eAAe,EAAE,CAAC,gBAAgB,CAAC;iBACpC;;;IC3BD;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,1152 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations'), require('@angular/core'), require('@angular/cdk/a11y'), require('@angular/common'), require('rxjs'), require('@theseam/ui-common/core'), require('@angular/cdk/keycodes'), require('@angular/cdk/overlay'), require('@angular/cdk/platform'), require('@angular/cdk/portal'), require('@angular/cdk/coercion'), require('rxjs/operators'), require('@theseam/ui-common/icon')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@theseam/ui-common/menu', ['exports', '@angular/animations', '@angular/core', '@angular/cdk/a11y', '@angular/common', 'rxjs', '@theseam/ui-common/core', '@angular/cdk/keycodes', '@angular/cdk/overlay', '@angular/cdk/platform', '@angular/cdk/portal', '@angular/cdk/coercion', 'rxjs/operators', '@theseam/ui-common/icon'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.theseam = global.theseam || {}, global.theseam['ui-common'] = global.theseam['ui-common'] || {}, global.theseam['ui-common'].menu = {}), global.ng.animations, global.ng.core, global.ng.cdk.a11y, global.ng.common, global.rxjs, global.theseam['ui-common'].core, global.ng.cdk.keycodes, global.ng.cdk.overlay, global.ng.cdk.platform, global.ng.cdk.portal, global.ng.cdk.coercion, global.rxjs.operators, global.theseam['ui-common'].icon));
|
|
5
|
+
}(this, (function (exports, animations, core, a11y, common, rxjs, core$1, keycodes, overlay, platform, portal, coercion, operators, icon) { 'use strict';
|
|
6
|
+
|
|
7
|
+
var menuDropdownPanelSlideIn = animations.animation([
|
|
8
|
+
animations.style({
|
|
9
|
+
opacity: 0,
|
|
10
|
+
transform: 'translateY(-70%)'
|
|
11
|
+
}),
|
|
12
|
+
animations.group([
|
|
13
|
+
animations.animate('170ms linear', animations.style({ opacity: 1 })),
|
|
14
|
+
animations.animate('220ms ease', animations.style({ transform: 'translateY(0)' })),
|
|
15
|
+
])
|
|
16
|
+
]);
|
|
17
|
+
var menuDropdownPanelSlideOut = animations.animation([
|
|
18
|
+
animations.style({
|
|
19
|
+
opacity: 1,
|
|
20
|
+
transform: 'translateY(0)'
|
|
21
|
+
}),
|
|
22
|
+
animations.group([
|
|
23
|
+
animations.animate('170ms linear', animations.style({ opacity: 0 })),
|
|
24
|
+
animations.animate('220ms ease', animations.style({ transform: 'translateY(-70%)' })),
|
|
25
|
+
])
|
|
26
|
+
]);
|
|
27
|
+
var menuDropdownPanelExpandIn = animations.animation([
|
|
28
|
+
animations.style({
|
|
29
|
+
opacity: 0,
|
|
30
|
+
transform: 'scale(0.8)'
|
|
31
|
+
}),
|
|
32
|
+
animations.group([
|
|
33
|
+
animations.animate('100ms linear', animations.style({ opacity: 1 })),
|
|
34
|
+
animations.animate('120ms ease', animations.style({ transform: 'scale(1)' })),
|
|
35
|
+
])
|
|
36
|
+
]);
|
|
37
|
+
var menuDropdownPanelExpandOut = animations.animation([
|
|
38
|
+
animations.style({
|
|
39
|
+
opacity: 1,
|
|
40
|
+
transform: 'scale(1)'
|
|
41
|
+
}),
|
|
42
|
+
animations.group([
|
|
43
|
+
animations.animate('100ms linear', animations.style({ opacity: 0 })),
|
|
44
|
+
animations.animate('120ms ease', animations.style({ transform: 'scale(0.8)' })),
|
|
45
|
+
])
|
|
46
|
+
]);
|
|
47
|
+
var menuDropdownPanelFadeIn = animations.animation([
|
|
48
|
+
animations.style({ transform: 'translateY(-30px)', opacity: '0' }),
|
|
49
|
+
animations.animate('250ms', animations.style({ transform: 'translateY(0)', opacity: '1' }))
|
|
50
|
+
]);
|
|
51
|
+
var menuDropdownPanelFadeOut = animations.animation([
|
|
52
|
+
animations.style({ transform: 'translateY(0)', opacity: '1' }),
|
|
53
|
+
animations.animate('250ms', animations.style({ transform: 'translateY(-30px)', opacity: '0' }))
|
|
54
|
+
]);
|
|
55
|
+
var menuDropdownPanelIn = animations.animation([
|
|
56
|
+
animations.query('.seam-menu-container.seam-menu-anim--slide .dropdown-menu', animations.useAnimation(menuDropdownPanelSlideIn), { optional: true }),
|
|
57
|
+
animations.query('.seam-menu-container.seam-menu-anim--fade .dropdown-menu', animations.useAnimation(menuDropdownPanelFadeIn), { optional: true })
|
|
58
|
+
]);
|
|
59
|
+
var menuDropdownPanelOut = animations.animation([
|
|
60
|
+
animations.query('.seam-menu-container.seam-menu-anim--slide .dropdown-menu', animations.useAnimation(menuDropdownPanelSlideOut), { optional: true }),
|
|
61
|
+
animations.query('.seam-menu-container.seam-menu-anim--fade .dropdown-menu', animations.useAnimation(menuDropdownPanelFadeOut), { optional: true })
|
|
62
|
+
]);
|
|
63
|
+
|
|
64
|
+
var MenuDividerComponent = /** @class */ (function () {
|
|
65
|
+
function MenuDividerComponent() {
|
|
66
|
+
}
|
|
67
|
+
return MenuDividerComponent;
|
|
68
|
+
}());
|
|
69
|
+
MenuDividerComponent.decorators = [
|
|
70
|
+
{ type: core.Component, args: [{
|
|
71
|
+
selector: 'seam-menu-divider',
|
|
72
|
+
template: "",
|
|
73
|
+
// tslint:disable-next-line:use-host-property-decorator
|
|
74
|
+
host: {
|
|
75
|
+
'class': 'dropdown-divider d-block'
|
|
76
|
+
},
|
|
77
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush
|
|
78
|
+
},] }
|
|
79
|
+
];
|
|
80
|
+
|
|
81
|
+
/*! *****************************************************************************
|
|
82
|
+
Copyright (c) Microsoft Corporation.
|
|
83
|
+
|
|
84
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
85
|
+
purpose with or without fee is hereby granted.
|
|
86
|
+
|
|
87
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
88
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
89
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
90
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
91
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
92
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
93
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
94
|
+
***************************************************************************** */
|
|
95
|
+
/* global Reflect, Promise */
|
|
96
|
+
var extendStatics = function (d, b) {
|
|
97
|
+
extendStatics = Object.setPrototypeOf ||
|
|
98
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
99
|
+
function (d, b) { for (var p in b)
|
|
100
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
101
|
+
d[p] = b[p]; };
|
|
102
|
+
return extendStatics(d, b);
|
|
103
|
+
};
|
|
104
|
+
function __extends(d, b) {
|
|
105
|
+
if (typeof b !== "function" && b !== null)
|
|
106
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
107
|
+
extendStatics(d, b);
|
|
108
|
+
function __() { this.constructor = d; }
|
|
109
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
110
|
+
}
|
|
111
|
+
var __assign = function () {
|
|
112
|
+
__assign = Object.assign || function __assign(t) {
|
|
113
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
114
|
+
s = arguments[i];
|
|
115
|
+
for (var p in s)
|
|
116
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
117
|
+
t[p] = s[p];
|
|
118
|
+
}
|
|
119
|
+
return t;
|
|
120
|
+
};
|
|
121
|
+
return __assign.apply(this, arguments);
|
|
122
|
+
};
|
|
123
|
+
function __rest(s, e) {
|
|
124
|
+
var t = {};
|
|
125
|
+
for (var p in s)
|
|
126
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
127
|
+
t[p] = s[p];
|
|
128
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
129
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
130
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
131
|
+
t[p[i]] = s[p[i]];
|
|
132
|
+
}
|
|
133
|
+
return t;
|
|
134
|
+
}
|
|
135
|
+
function __decorate(decorators, target, key, desc) {
|
|
136
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
137
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
138
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
139
|
+
else
|
|
140
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
141
|
+
if (d = decorators[i])
|
|
142
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
143
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
144
|
+
}
|
|
145
|
+
function __param(paramIndex, decorator) {
|
|
146
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
147
|
+
}
|
|
148
|
+
function __metadata(metadataKey, metadataValue) {
|
|
149
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
150
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
151
|
+
}
|
|
152
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
153
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
154
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
155
|
+
function fulfilled(value) { try {
|
|
156
|
+
step(generator.next(value));
|
|
157
|
+
}
|
|
158
|
+
catch (e) {
|
|
159
|
+
reject(e);
|
|
160
|
+
} }
|
|
161
|
+
function rejected(value) { try {
|
|
162
|
+
step(generator["throw"](value));
|
|
163
|
+
}
|
|
164
|
+
catch (e) {
|
|
165
|
+
reject(e);
|
|
166
|
+
} }
|
|
167
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
168
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
function __generator(thisArg, body) {
|
|
172
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
173
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
174
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
175
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
176
|
+
function step(op) {
|
|
177
|
+
if (f)
|
|
178
|
+
throw new TypeError("Generator is already executing.");
|
|
179
|
+
while (_)
|
|
180
|
+
try {
|
|
181
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
182
|
+
return t;
|
|
183
|
+
if (y = 0, t)
|
|
184
|
+
op = [op[0] & 2, t.value];
|
|
185
|
+
switch (op[0]) {
|
|
186
|
+
case 0:
|
|
187
|
+
case 1:
|
|
188
|
+
t = op;
|
|
189
|
+
break;
|
|
190
|
+
case 4:
|
|
191
|
+
_.label++;
|
|
192
|
+
return { value: op[1], done: false };
|
|
193
|
+
case 5:
|
|
194
|
+
_.label++;
|
|
195
|
+
y = op[1];
|
|
196
|
+
op = [0];
|
|
197
|
+
continue;
|
|
198
|
+
case 7:
|
|
199
|
+
op = _.ops.pop();
|
|
200
|
+
_.trys.pop();
|
|
201
|
+
continue;
|
|
202
|
+
default:
|
|
203
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
204
|
+
_ = 0;
|
|
205
|
+
continue;
|
|
206
|
+
}
|
|
207
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
208
|
+
_.label = op[1];
|
|
209
|
+
break;
|
|
210
|
+
}
|
|
211
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
212
|
+
_.label = t[1];
|
|
213
|
+
t = op;
|
|
214
|
+
break;
|
|
215
|
+
}
|
|
216
|
+
if (t && _.label < t[2]) {
|
|
217
|
+
_.label = t[2];
|
|
218
|
+
_.ops.push(op);
|
|
219
|
+
break;
|
|
220
|
+
}
|
|
221
|
+
if (t[2])
|
|
222
|
+
_.ops.pop();
|
|
223
|
+
_.trys.pop();
|
|
224
|
+
continue;
|
|
225
|
+
}
|
|
226
|
+
op = body.call(thisArg, _);
|
|
227
|
+
}
|
|
228
|
+
catch (e) {
|
|
229
|
+
op = [6, e];
|
|
230
|
+
y = 0;
|
|
231
|
+
}
|
|
232
|
+
finally {
|
|
233
|
+
f = t = 0;
|
|
234
|
+
}
|
|
235
|
+
if (op[0] & 5)
|
|
236
|
+
throw op[1];
|
|
237
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
241
|
+
if (k2 === undefined)
|
|
242
|
+
k2 = k;
|
|
243
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
244
|
+
}) : (function (o, m, k, k2) {
|
|
245
|
+
if (k2 === undefined)
|
|
246
|
+
k2 = k;
|
|
247
|
+
o[k2] = m[k];
|
|
248
|
+
});
|
|
249
|
+
function __exportStar(m, o) {
|
|
250
|
+
for (var p in m)
|
|
251
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
252
|
+
__createBinding(o, m, p);
|
|
253
|
+
}
|
|
254
|
+
function __values(o) {
|
|
255
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
256
|
+
if (m)
|
|
257
|
+
return m.call(o);
|
|
258
|
+
if (o && typeof o.length === "number")
|
|
259
|
+
return {
|
|
260
|
+
next: function () {
|
|
261
|
+
if (o && i >= o.length)
|
|
262
|
+
o = void 0;
|
|
263
|
+
return { value: o && o[i++], done: !o };
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
267
|
+
}
|
|
268
|
+
function __read(o, n) {
|
|
269
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
270
|
+
if (!m)
|
|
271
|
+
return o;
|
|
272
|
+
var i = m.call(o), r, ar = [], e;
|
|
273
|
+
try {
|
|
274
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
275
|
+
ar.push(r.value);
|
|
276
|
+
}
|
|
277
|
+
catch (error) {
|
|
278
|
+
e = { error: error };
|
|
279
|
+
}
|
|
280
|
+
finally {
|
|
281
|
+
try {
|
|
282
|
+
if (r && !r.done && (m = i["return"]))
|
|
283
|
+
m.call(i);
|
|
284
|
+
}
|
|
285
|
+
finally {
|
|
286
|
+
if (e)
|
|
287
|
+
throw e.error;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
return ar;
|
|
291
|
+
}
|
|
292
|
+
/** @deprecated */
|
|
293
|
+
function __spread() {
|
|
294
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
295
|
+
ar = ar.concat(__read(arguments[i]));
|
|
296
|
+
return ar;
|
|
297
|
+
}
|
|
298
|
+
/** @deprecated */
|
|
299
|
+
function __spreadArrays() {
|
|
300
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
301
|
+
s += arguments[i].length;
|
|
302
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
303
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
304
|
+
r[k] = a[j];
|
|
305
|
+
return r;
|
|
306
|
+
}
|
|
307
|
+
function __spreadArray(to, from, pack) {
|
|
308
|
+
if (pack || arguments.length === 2)
|
|
309
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
310
|
+
if (ar || !(i in from)) {
|
|
311
|
+
if (!ar)
|
|
312
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
313
|
+
ar[i] = from[i];
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
return to.concat(ar || from);
|
|
317
|
+
}
|
|
318
|
+
function __await(v) {
|
|
319
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
320
|
+
}
|
|
321
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
322
|
+
if (!Symbol.asyncIterator)
|
|
323
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
324
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
325
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
326
|
+
function verb(n) { if (g[n])
|
|
327
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
328
|
+
function resume(n, v) { try {
|
|
329
|
+
step(g[n](v));
|
|
330
|
+
}
|
|
331
|
+
catch (e) {
|
|
332
|
+
settle(q[0][3], e);
|
|
333
|
+
} }
|
|
334
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
335
|
+
function fulfill(value) { resume("next", value); }
|
|
336
|
+
function reject(value) { resume("throw", value); }
|
|
337
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
338
|
+
resume(q[0][0], q[0][1]); }
|
|
339
|
+
}
|
|
340
|
+
function __asyncDelegator(o) {
|
|
341
|
+
var i, p;
|
|
342
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
343
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
344
|
+
}
|
|
345
|
+
function __asyncValues(o) {
|
|
346
|
+
if (!Symbol.asyncIterator)
|
|
347
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
348
|
+
var m = o[Symbol.asyncIterator], i;
|
|
349
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
350
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
351
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
352
|
+
}
|
|
353
|
+
function __makeTemplateObject(cooked, raw) {
|
|
354
|
+
if (Object.defineProperty) {
|
|
355
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
356
|
+
}
|
|
357
|
+
else {
|
|
358
|
+
cooked.raw = raw;
|
|
359
|
+
}
|
|
360
|
+
return cooked;
|
|
361
|
+
}
|
|
362
|
+
;
|
|
363
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
364
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
365
|
+
}) : function (o, v) {
|
|
366
|
+
o["default"] = v;
|
|
367
|
+
};
|
|
368
|
+
function __importStar(mod) {
|
|
369
|
+
if (mod && mod.__esModule)
|
|
370
|
+
return mod;
|
|
371
|
+
var result = {};
|
|
372
|
+
if (mod != null)
|
|
373
|
+
for (var k in mod)
|
|
374
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
375
|
+
__createBinding(result, mod, k);
|
|
376
|
+
__setModuleDefault(result, mod);
|
|
377
|
+
return result;
|
|
378
|
+
}
|
|
379
|
+
function __importDefault(mod) {
|
|
380
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
381
|
+
}
|
|
382
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
383
|
+
if (kind === "a" && !f)
|
|
384
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
385
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
386
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
387
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
388
|
+
}
|
|
389
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
390
|
+
if (kind === "m")
|
|
391
|
+
throw new TypeError("Private method is not writable");
|
|
392
|
+
if (kind === "a" && !f)
|
|
393
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
394
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
395
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
396
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Injection token used to provide the parent menu to menu-specific components.
|
|
401
|
+
*/
|
|
402
|
+
var THESEAM_MENU_PANEL = new core.InjectionToken('THESEAM_MENU_PANEL');
|
|
403
|
+
|
|
404
|
+
var TheSeamMenuItemBase = /** @class */ (function () {
|
|
405
|
+
function TheSeamMenuItemBase() {
|
|
406
|
+
}
|
|
407
|
+
return TheSeamMenuItemBase;
|
|
408
|
+
}());
|
|
409
|
+
var _seamMenuItemMixinBase = core$1.mixinDisabled(TheSeamMenuItemBase);
|
|
410
|
+
var MenuItemComponent = /** @class */ (function (_super) {
|
|
411
|
+
__extends(MenuItemComponent, _super);
|
|
412
|
+
function MenuItemComponent(_elementRef, document, _focusMonitor, _parentMenu) {
|
|
413
|
+
var _this = _super.call(this) || this;
|
|
414
|
+
_this._elementRef = _elementRef;
|
|
415
|
+
_this.document = document;
|
|
416
|
+
_this._focusMonitor = _focusMonitor;
|
|
417
|
+
_this._parentMenu = _parentMenu;
|
|
418
|
+
/** ARIA role for the menu item. */
|
|
419
|
+
_this.role = 'menuitem';
|
|
420
|
+
_this.badgeTheme = 'danger';
|
|
421
|
+
/** Stream that emits when the menu item is hovered. */
|
|
422
|
+
_this._hovered = new rxjs.Subject();
|
|
423
|
+
/** Whether the menu item is highlighted. */
|
|
424
|
+
_this._highlighted = false;
|
|
425
|
+
if (_focusMonitor) {
|
|
426
|
+
// Start monitoring the element so it gets the appropriate focused classes. We want
|
|
427
|
+
// to show the focus style for menu items only when the focus was not caused by a
|
|
428
|
+
// mouse or touch interaction.
|
|
429
|
+
_focusMonitor.monitor(_this._elementRef, false);
|
|
430
|
+
}
|
|
431
|
+
// console.log(this._parentMenu)
|
|
432
|
+
if (_parentMenu && _parentMenu.addItem) {
|
|
433
|
+
_parentMenu.addItem(_this);
|
|
434
|
+
}
|
|
435
|
+
return _this;
|
|
436
|
+
}
|
|
437
|
+
MenuItemComponent.prototype.ngOnInit = function () { };
|
|
438
|
+
MenuItemComponent.prototype.ngOnDestroy = function () {
|
|
439
|
+
if (this._focusMonitor) {
|
|
440
|
+
this._focusMonitor.stopMonitoring(this._elementRef);
|
|
441
|
+
}
|
|
442
|
+
if (this._parentMenu && this._parentMenu.removeItem) {
|
|
443
|
+
this._parentMenu.removeItem(this);
|
|
444
|
+
}
|
|
445
|
+
this._hovered.complete();
|
|
446
|
+
};
|
|
447
|
+
/** Focuses the menu item. */
|
|
448
|
+
MenuItemComponent.prototype.focus = function (origin) {
|
|
449
|
+
if (origin === void 0) { origin = 'program'; }
|
|
450
|
+
if (this._focusMonitor) {
|
|
451
|
+
this._focusMonitor.focusVia(this._getHostElement(), origin);
|
|
452
|
+
}
|
|
453
|
+
else {
|
|
454
|
+
this._getHostElement().focus();
|
|
455
|
+
}
|
|
456
|
+
};
|
|
457
|
+
/** Used to set the `tabindex`. */
|
|
458
|
+
MenuItemComponent.prototype._getTabIndex = function () {
|
|
459
|
+
return this.disabled ? '-1' : '0';
|
|
460
|
+
};
|
|
461
|
+
/** Returns the host DOM element. */
|
|
462
|
+
MenuItemComponent.prototype._getHostElement = function () {
|
|
463
|
+
return this._elementRef.nativeElement;
|
|
464
|
+
};
|
|
465
|
+
/** Prevents the default element actions if it is disabled. */
|
|
466
|
+
MenuItemComponent.prototype._checkDisabled = function (event) {
|
|
467
|
+
if (this.disabled) {
|
|
468
|
+
event.preventDefault();
|
|
469
|
+
event.stopPropagation();
|
|
470
|
+
}
|
|
471
|
+
};
|
|
472
|
+
/** Emits to the hover stream. */
|
|
473
|
+
MenuItemComponent.prototype._handleMouseEnter = function () {
|
|
474
|
+
this._hovered.next(this);
|
|
475
|
+
};
|
|
476
|
+
/** Gets the label to be used when determining whether the option should be focused. */
|
|
477
|
+
MenuItemComponent.prototype.getLabel = function () {
|
|
478
|
+
var element = this._elementRef.nativeElement;
|
|
479
|
+
var textNodeType = this.document ? this.document.TEXT_NODE : 3;
|
|
480
|
+
var output = '';
|
|
481
|
+
if (element.childNodes) {
|
|
482
|
+
var length = element.childNodes.length;
|
|
483
|
+
// Go through all the top-level text nodes and extract their text.
|
|
484
|
+
// We skip anything that's not a text node to prevent the text from
|
|
485
|
+
// being thrown off by something like an icon.
|
|
486
|
+
for (var i = 0; i < length; i++) {
|
|
487
|
+
if (element.childNodes[i].nodeType === textNodeType) {
|
|
488
|
+
output += element.childNodes[i].textContent;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
return output.trim();
|
|
493
|
+
};
|
|
494
|
+
return MenuItemComponent;
|
|
495
|
+
}(_seamMenuItemMixinBase));
|
|
496
|
+
MenuItemComponent.decorators = [
|
|
497
|
+
{ type: core.Component, args: [{
|
|
498
|
+
// tslint:disable-next-line:component-selector
|
|
499
|
+
selector: '[seamMenuItem]',
|
|
500
|
+
template: "<div class=\"d-flex flex-row\">\n <seam-icon *ngIf=\"icon\"\n style=\"width: 30px; height: 20px; flex: 0 0 auto;\"\n class=\"pr-2\"\n [icon]=\"icon\"\n [iconClass]=\"iconClass\"\n iconType=\"image-fill\">\n </seam-icon>\n <!-- <span class=\"text-nowrap\">\n <ng-content></ng-content>\n </span> -->\n <div class=\"text-truncate\">\n <ng-content></ng-content>\n </div>\n\n <div *ngIf=\"badgeText\">\n <span class=\"badge badge-pill{{ badgeTheme ? ' badge-' + badgeTheme : '' }} position-relative\"\n style=\"top: -8px\"\n >{{ badgeText }}</span>\n </div>\n</div>\n",
|
|
501
|
+
exportAs: 'seamMenuItem',
|
|
502
|
+
// tslint:disable-next-line:use-input-property-decorator
|
|
503
|
+
inputs: ['disabled'],
|
|
504
|
+
// tslint:disable-next-line:use-host-property-decorator
|
|
505
|
+
host: {
|
|
506
|
+
'[attr.role]': 'role',
|
|
507
|
+
'class': 'dropdown-item',
|
|
508
|
+
'[attr.tabindex]': '_getTabIndex()',
|
|
509
|
+
'[attr.aria-disabled]': 'disabled.toString()',
|
|
510
|
+
'[attr.disabled]': 'disabled || null',
|
|
511
|
+
},
|
|
512
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
513
|
+
styles: [""]
|
|
514
|
+
},] }
|
|
515
|
+
];
|
|
516
|
+
MenuItemComponent.ctorParameters = function () { return [
|
|
517
|
+
{ type: core.ElementRef },
|
|
518
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] },
|
|
519
|
+
{ type: a11y.FocusMonitor },
|
|
520
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [THESEAM_MENU_PANEL,] }, { type: core.Optional }] }
|
|
521
|
+
]; };
|
|
522
|
+
MenuItemComponent.propDecorators = {
|
|
523
|
+
role: [{ type: core.Input }],
|
|
524
|
+
icon: [{ type: core.Input }],
|
|
525
|
+
iconClass: [{ type: core.Input }],
|
|
526
|
+
badgeText: [{ type: core.Input }],
|
|
527
|
+
badgeTheme: [{ type: core.Input }],
|
|
528
|
+
_checkDisabled: [{ type: core.HostListener, args: ['click', ['$event'],] }],
|
|
529
|
+
_handleMouseEnter: [{ type: core.HostListener, args: ['mouseenter',] }]
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
/** Options for binding a passive event listener. */
|
|
533
|
+
var passiveEventListenerOptions = platform.normalizePassiveListenerOptions({ passive: true });
|
|
534
|
+
var MenuToggleDirective = /** @class */ (function () {
|
|
535
|
+
// @HostListener('document:mousedown', [ '$event' ])
|
|
536
|
+
// _onDocumentMouseDown(event: any) {
|
|
537
|
+
// console.log('outside click')
|
|
538
|
+
// }
|
|
539
|
+
function MenuToggleDirective(_elementRef, _viewContainerRef, _overlay, _focusMonitor) {
|
|
540
|
+
var _this = this;
|
|
541
|
+
this._elementRef = _elementRef;
|
|
542
|
+
this._viewContainerRef = _viewContainerRef;
|
|
543
|
+
this._overlay = _overlay;
|
|
544
|
+
this._focusMonitor = _focusMonitor;
|
|
545
|
+
this._active = false;
|
|
546
|
+
this._menuClosedSubscription = rxjs.Subscription.EMPTY;
|
|
547
|
+
this._closingActionsSubscription = rxjs.Subscription.EMPTY;
|
|
548
|
+
this.restoreFocus = true;
|
|
549
|
+
// Tracking input type is necessary so it's possible to only auto-focus
|
|
550
|
+
// the first item of the list when the menu is opened via the keyboard
|
|
551
|
+
this._openedBy = null;
|
|
552
|
+
this._positions = [
|
|
553
|
+
{
|
|
554
|
+
originX: 'end',
|
|
555
|
+
originY: 'bottom',
|
|
556
|
+
overlayX: 'end',
|
|
557
|
+
overlayY: 'top',
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
originX: 'start',
|
|
561
|
+
originY: 'bottom',
|
|
562
|
+
overlayX: 'start',
|
|
563
|
+
overlayY: 'top',
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
originX: 'end',
|
|
567
|
+
originY: 'top',
|
|
568
|
+
overlayX: 'end',
|
|
569
|
+
overlayY: 'bottom',
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
originX: 'start',
|
|
573
|
+
originY: 'top',
|
|
574
|
+
overlayX: 'start',
|
|
575
|
+
overlayY: 'bottom',
|
|
576
|
+
},
|
|
577
|
+
];
|
|
578
|
+
/**
|
|
579
|
+
* Handles touch start events on the trigger.
|
|
580
|
+
* Needs to be an arrow function so we can easily use addEventListener and removeEventListener.
|
|
581
|
+
*/
|
|
582
|
+
this._handleTouchStart = function () { return _this._openedBy = 'touch'; };
|
|
583
|
+
this._elementRef.nativeElement.addEventListener('touchstart', this._handleTouchStart, passiveEventListenerOptions);
|
|
584
|
+
}
|
|
585
|
+
Object.defineProperty(MenuToggleDirective.prototype, "positions", {
|
|
586
|
+
get: function () { return this._positions; },
|
|
587
|
+
set: function (val) {
|
|
588
|
+
var _a;
|
|
589
|
+
this._positions = val;
|
|
590
|
+
if (this.menuOpen()) {
|
|
591
|
+
(_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.updatePositionStrategy(this.getOverlayPosition(this._elementRef.nativeElement));
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
enumerable: false,
|
|
595
|
+
configurable: true
|
|
596
|
+
});
|
|
597
|
+
MenuToggleDirective.prototype._onMouseDown = function (event) {
|
|
598
|
+
if (!a11y.isFakeMousedownFromScreenReader(event)) {
|
|
599
|
+
// Since right or middle button clicks won't trigger the `click` event,
|
|
600
|
+
// we shouldn't consider the menu as opened by mouse in those cases.
|
|
601
|
+
this._openedBy = event.button === 0 ? 'mouse' : null;
|
|
602
|
+
// Since clicking on the trigger won't close the menu if it opens a sub-menu,
|
|
603
|
+
// we should prevent focus from moving onto it via click to avoid the
|
|
604
|
+
// highlight from lingering on the menu item.
|
|
605
|
+
// if (this.triggersSubmenu()) {
|
|
606
|
+
// event.preventDefault();
|
|
607
|
+
// }
|
|
608
|
+
}
|
|
609
|
+
};
|
|
610
|
+
MenuToggleDirective.prototype._onKeydown = function (event) {
|
|
611
|
+
var _a;
|
|
612
|
+
this._openedBy = null;
|
|
613
|
+
// tslint:disable-next-line:deprecation
|
|
614
|
+
var keyCode = event.keyCode;
|
|
615
|
+
if (keyCode === keycodes.UP_ARROW || keyCode === keycodes.DOWN_ARROW) {
|
|
616
|
+
if (this.menuOpen()) {
|
|
617
|
+
(_a = this.seamMenuToggle) === null || _a === void 0 ? void 0 : _a.focusFirstItem(this._openedBy || 'program');
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
};
|
|
621
|
+
MenuToggleDirective.prototype._onClick = function (event) {
|
|
622
|
+
this.toggle();
|
|
623
|
+
};
|
|
624
|
+
MenuToggleDirective.prototype._onDocumentKeydown = function (event) {
|
|
625
|
+
if (event.keyCode === keycodes.ESCAPE) {
|
|
626
|
+
this.closeMenu();
|
|
627
|
+
}
|
|
628
|
+
};
|
|
629
|
+
MenuToggleDirective.prototype.ngOnDestroy = function () {
|
|
630
|
+
this.closeMenu();
|
|
631
|
+
this._elementRef.nativeElement.removeEventListener('touchstart', this._handleTouchStart, passiveEventListenerOptions);
|
|
632
|
+
this._menuClosedSubscription.unsubscribe();
|
|
633
|
+
this._closingActionsSubscription.unsubscribe();
|
|
634
|
+
};
|
|
635
|
+
MenuToggleDirective.prototype.toggle = function () {
|
|
636
|
+
if (this._active) {
|
|
637
|
+
this.closeMenu();
|
|
638
|
+
}
|
|
639
|
+
else {
|
|
640
|
+
this.openMenu();
|
|
641
|
+
}
|
|
642
|
+
};
|
|
643
|
+
MenuToggleDirective.prototype.openMenu = function () {
|
|
644
|
+
var _this = this;
|
|
645
|
+
if (this._active || !this.seamMenuToggle) {
|
|
646
|
+
return;
|
|
647
|
+
}
|
|
648
|
+
this._active = true;
|
|
649
|
+
this._overlayRef = this._overlay.create({
|
|
650
|
+
hasBackdrop: true,
|
|
651
|
+
backdropClass: 'transparent',
|
|
652
|
+
positionStrategy: this.getOverlayPosition(this._elementRef.nativeElement),
|
|
653
|
+
});
|
|
654
|
+
var tpl = this.seamMenuToggle.templateRef;
|
|
655
|
+
if (!tpl) {
|
|
656
|
+
throw Error("Menu template not found.");
|
|
657
|
+
}
|
|
658
|
+
this._overlayRef.attach(new portal.TemplatePortal(tpl, this._viewContainerRef));
|
|
659
|
+
this._closingActionsSubscription = this._menuClosingActions().subscribe(function () { return _this.closeMenu(); });
|
|
660
|
+
this._initMenu();
|
|
661
|
+
this._menuClosedSubscription = this.seamMenuToggle.closed.subscribe(function (v) {
|
|
662
|
+
// console.log('closed', v)
|
|
663
|
+
_this.closeMenu();
|
|
664
|
+
});
|
|
665
|
+
// this._overlayRef.backdropClick().subscribe(v => {
|
|
666
|
+
// console.log('backdropClick', v)
|
|
667
|
+
// })
|
|
668
|
+
};
|
|
669
|
+
MenuToggleDirective.prototype.closeMenu = function () {
|
|
670
|
+
var _a, _b;
|
|
671
|
+
if (!this._active) {
|
|
672
|
+
return;
|
|
673
|
+
}
|
|
674
|
+
if ((_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.hasAttached()) {
|
|
675
|
+
(_b = this._overlayRef) === null || _b === void 0 ? void 0 : _b.detach();
|
|
676
|
+
}
|
|
677
|
+
this._resetMenu();
|
|
678
|
+
this._menuClosedSubscription.unsubscribe();
|
|
679
|
+
this._closingActionsSubscription.unsubscribe();
|
|
680
|
+
this._active = false;
|
|
681
|
+
};
|
|
682
|
+
MenuToggleDirective.prototype.menuOpen = function () {
|
|
683
|
+
var _a;
|
|
684
|
+
return (_a = (this._overlayRef && this._overlayRef.hasAttached())) !== null && _a !== void 0 ? _a : false;
|
|
685
|
+
};
|
|
686
|
+
MenuToggleDirective.prototype.getOverlayPosition = function (origin) {
|
|
687
|
+
var positionStrategy = this._overlay.position()
|
|
688
|
+
.flexibleConnectedTo(origin)
|
|
689
|
+
.withPositions(this.positions)
|
|
690
|
+
.withFlexibleDimensions(false)
|
|
691
|
+
.withPush(true);
|
|
692
|
+
return positionStrategy;
|
|
693
|
+
};
|
|
694
|
+
/**
|
|
695
|
+
* Focuses the menu trigger.
|
|
696
|
+
* @param origin Source of the menu trigger's focus.
|
|
697
|
+
*/
|
|
698
|
+
MenuToggleDirective.prototype.focus = function (origin) {
|
|
699
|
+
if (origin === void 0) { origin = 'program'; }
|
|
700
|
+
if (this._focusMonitor) {
|
|
701
|
+
this._focusMonitor.focusVia(this._elementRef, origin);
|
|
702
|
+
}
|
|
703
|
+
else {
|
|
704
|
+
this._elementRef.nativeElement.focus();
|
|
705
|
+
}
|
|
706
|
+
};
|
|
707
|
+
/**
|
|
708
|
+
* This method sets the menu state to open and focuses the first item if
|
|
709
|
+
* the menu was opened via the keyboard.
|
|
710
|
+
*/
|
|
711
|
+
MenuToggleDirective.prototype._initMenu = function () {
|
|
712
|
+
// this.seamMenuToggle.parentMenu = this.triggersSubmenu() ? this._parentMenu : undefined
|
|
713
|
+
// this.seamMenuToggle.direction = this.dir
|
|
714
|
+
// this._setMenuElevation()
|
|
715
|
+
// this._setIsMenuOpen(true)
|
|
716
|
+
// this.seamMenuToggle.focusFirstItem(this._openedBy || 'program')
|
|
717
|
+
};
|
|
718
|
+
/**
|
|
719
|
+
* This method resets the menu when it's closed, most importantly restoring
|
|
720
|
+
* focus to the menu trigger if the menu was opened via the keyboard.
|
|
721
|
+
*/
|
|
722
|
+
MenuToggleDirective.prototype._resetMenu = function () {
|
|
723
|
+
// this._setIsMenuOpen(false)
|
|
724
|
+
// We should reset focus if the user is navigating using a keyboard or
|
|
725
|
+
// if we have a top-level trigger which might cause focus to be lost
|
|
726
|
+
// when clicking on the backdrop.
|
|
727
|
+
if (this.restoreFocus) {
|
|
728
|
+
if (!this._openedBy) {
|
|
729
|
+
// Note that the focus style will show up both for `program` and
|
|
730
|
+
// `keyboard` so we don't have to specify which one it is.
|
|
731
|
+
this.focus();
|
|
732
|
+
}
|
|
733
|
+
// else if (!this.triggersSubmenu()) {
|
|
734
|
+
// this.focus(this._openedBy)
|
|
735
|
+
// }
|
|
736
|
+
}
|
|
737
|
+
this._openedBy = null;
|
|
738
|
+
};
|
|
739
|
+
/** Returns a stream that emits whenever an action that should close the menu occurs. */
|
|
740
|
+
MenuToggleDirective.prototype._menuClosingActions = function () {
|
|
741
|
+
var _a, _b, _c, _d;
|
|
742
|
+
var backdrop = (_b = (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.backdropClick()) !== null && _b !== void 0 ? _b : rxjs.of();
|
|
743
|
+
var detachments = (_d = (_c = this._overlayRef) === null || _c === void 0 ? void 0 : _c.detachments()) !== null && _d !== void 0 ? _d : rxjs.of();
|
|
744
|
+
// const parentClose = this._parentMenu ? this._parentMenu.closed : of()
|
|
745
|
+
var parentClose = rxjs.of();
|
|
746
|
+
// const hover = this._parentMenu ? this._parentMenu._hovered().pipe(
|
|
747
|
+
// filter(active => active !== this._menuItemInstance),
|
|
748
|
+
// filter(() => this._menuOpen)
|
|
749
|
+
// ) : of()
|
|
750
|
+
var hover = rxjs.of();
|
|
751
|
+
return rxjs.merge(backdrop, parentClose, hover, detachments);
|
|
752
|
+
};
|
|
753
|
+
return MenuToggleDirective;
|
|
754
|
+
}());
|
|
755
|
+
MenuToggleDirective.decorators = [
|
|
756
|
+
{ type: core.Directive, args: [{
|
|
757
|
+
selector: '[seamMenuToggle]',
|
|
758
|
+
// tslint:disable-next-line:use-host-property-decorator
|
|
759
|
+
host: {
|
|
760
|
+
'aria-haspopup': 'true',
|
|
761
|
+
'[attr.aria-expanded]': 'menuOpen() || null'
|
|
762
|
+
},
|
|
763
|
+
exportAs: 'seamMenuToggle'
|
|
764
|
+
},] }
|
|
765
|
+
];
|
|
766
|
+
MenuToggleDirective.ctorParameters = function () { return [
|
|
767
|
+
{ type: core.ElementRef },
|
|
768
|
+
{ type: core.ViewContainerRef },
|
|
769
|
+
{ type: overlay.Overlay },
|
|
770
|
+
{ type: a11y.FocusMonitor }
|
|
771
|
+
]; };
|
|
772
|
+
MenuToggleDirective.propDecorators = {
|
|
773
|
+
seamMenuToggle: [{ type: core.Input }],
|
|
774
|
+
positions: [{ type: core.Input }],
|
|
775
|
+
_onMouseDown: [{ type: core.HostListener, args: ['mousedown', ['$event'],] }],
|
|
776
|
+
_onKeydown: [{ type: core.HostListener, args: ['keydown', ['$event'],] }],
|
|
777
|
+
_onClick: [{ type: core.HostListener, args: ['click', ['$event'],] }],
|
|
778
|
+
_onDocumentKeydown: [{ type: core.HostListener, args: ['document:keydown', ['$event'],] }]
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
var LIB_MENU = {
|
|
782
|
+
provide: THESEAM_MENU_PANEL,
|
|
783
|
+
// tslint:disable-next-line:no-use-before-declare
|
|
784
|
+
useExisting: core.forwardRef(function () { return MenuComponent; })
|
|
785
|
+
};
|
|
786
|
+
var MenuComponent = /** @class */ (function () {
|
|
787
|
+
function MenuComponent() {
|
|
788
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
789
|
+
this._footer = new rxjs.BehaviorSubject(undefined);
|
|
790
|
+
this.hasFooter$ = this._footer.pipe(operators.map(function (v) { return v !== null && v !== undefined; }));
|
|
791
|
+
this._header = new rxjs.BehaviorSubject(undefined);
|
|
792
|
+
this.hasHeader$ = this._header.pipe(operators.map(function (v) { return v !== null && v !== undefined; }));
|
|
793
|
+
/** Menu items inside the current menu. */
|
|
794
|
+
this._items = [];
|
|
795
|
+
/** Emits whenever the amount of menu items changes. */
|
|
796
|
+
this._itemChanges = new rxjs.Subject();
|
|
797
|
+
/** Subscription to tab events on the menu panel */
|
|
798
|
+
this._tabSubscription = rxjs.Subscription.EMPTY;
|
|
799
|
+
this.closed = new core.EventEmitter();
|
|
800
|
+
this._baseWidth = new rxjs.BehaviorSubject(null);
|
|
801
|
+
this.animationType = 'slide';
|
|
802
|
+
this._menuWidth$ = this._baseWidth.pipe(operators.switchMap(function (baseWidth) {
|
|
803
|
+
if (baseWidth) {
|
|
804
|
+
return rxjs.fromEvent(window, 'resize').pipe(operators.startWith(undefined), operators.map(function () { return window.innerWidth < baseWidth ? window.innerWidth + "px" : baseWidth + "px"; }));
|
|
805
|
+
}
|
|
806
|
+
return rxjs.of(undefined);
|
|
807
|
+
}), operators.distinctUntilChanged(), operators.takeUntil(this._ngUnsubscribe));
|
|
808
|
+
}
|
|
809
|
+
Object.defineProperty(MenuComponent.prototype, "baseWidth", {
|
|
810
|
+
/**
|
|
811
|
+
* Defines a width for a menu that will scale down if the window innerWidth is
|
|
812
|
+
* smaller than the value.
|
|
813
|
+
*/
|
|
814
|
+
get: function () { return this._baseWidth.value; },
|
|
815
|
+
set: function (value) {
|
|
816
|
+
var _val = coercion.coerceNumberProperty(value, null);
|
|
817
|
+
if (_val !== this._baseWidth.value) {
|
|
818
|
+
this._baseWidth.next(_val);
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
enumerable: false,
|
|
822
|
+
configurable: true
|
|
823
|
+
});
|
|
824
|
+
MenuComponent.prototype.ngOnDestroy = function () {
|
|
825
|
+
this._tabSubscription.unsubscribe();
|
|
826
|
+
this.closed.complete();
|
|
827
|
+
this._ngUnsubscribe.next();
|
|
828
|
+
this._ngUnsubscribe.complete();
|
|
829
|
+
};
|
|
830
|
+
MenuComponent.prototype.ngAfterContentInit = function () {
|
|
831
|
+
var _this = this;
|
|
832
|
+
this._keyManager = new a11y.FocusKeyManager(this._items).withWrap().withTypeAhead();
|
|
833
|
+
this._tabSubscription = this._keyManager.tabOut.subscribe(function () { return _this.closed.emit('tab'); });
|
|
834
|
+
};
|
|
835
|
+
/** Stream that emits whenever the hovered menu item changes. */
|
|
836
|
+
MenuComponent.prototype._hovered = function () {
|
|
837
|
+
return this._itemChanges.pipe(operators.startWith(this._items), operators.switchMap(function (items) { return rxjs.merge.apply(void 0, __spreadArray([], __read(items.map(function (item) { return item._hovered; })))); }));
|
|
838
|
+
};
|
|
839
|
+
/** Handle a keyboard event from the menu, delegating to the appropriate action. */
|
|
840
|
+
MenuComponent.prototype._handleKeydown = function (event) {
|
|
841
|
+
// tslint:disable-next-line:deprecation
|
|
842
|
+
var keyCode = event.keyCode;
|
|
843
|
+
var manager = this._keyManager;
|
|
844
|
+
switch (keyCode) {
|
|
845
|
+
case keycodes.ESCAPE:
|
|
846
|
+
if (!keycodes.hasModifierKey(event)) {
|
|
847
|
+
event.preventDefault();
|
|
848
|
+
this.closed.emit('keydown');
|
|
849
|
+
}
|
|
850
|
+
break;
|
|
851
|
+
// case LEFT_ARROW:
|
|
852
|
+
// if (this.parentMenu && this.direction === 'ltr') {
|
|
853
|
+
// this.closed.emit('keydown')
|
|
854
|
+
// }
|
|
855
|
+
// break
|
|
856
|
+
// case RIGHT_ARROW:
|
|
857
|
+
// if (this.parentMenu && this.direction === 'rtl') {
|
|
858
|
+
// this.closed.emit('keydown')
|
|
859
|
+
// }
|
|
860
|
+
// break
|
|
861
|
+
case keycodes.HOME:
|
|
862
|
+
case keycodes.END:
|
|
863
|
+
if (!keycodes.hasModifierKey(event)) {
|
|
864
|
+
keyCode === keycodes.HOME ? manager === null || manager === void 0 ? void 0 : manager.setFirstItemActive() : manager === null || manager === void 0 ? void 0 : manager.setLastItemActive();
|
|
865
|
+
event.preventDefault();
|
|
866
|
+
}
|
|
867
|
+
break;
|
|
868
|
+
default:
|
|
869
|
+
if (keyCode === keycodes.UP_ARROW || keyCode === keycodes.DOWN_ARROW) {
|
|
870
|
+
manager === null || manager === void 0 ? void 0 : manager.setFocusOrigin('keyboard');
|
|
871
|
+
}
|
|
872
|
+
manager === null || manager === void 0 ? void 0 : manager.onKeydown(event);
|
|
873
|
+
}
|
|
874
|
+
};
|
|
875
|
+
/**
|
|
876
|
+
* Focus the first item in the menu.
|
|
877
|
+
* @param origin Action from which the focus originated. Used to set the correct styling.
|
|
878
|
+
*/
|
|
879
|
+
MenuComponent.prototype.focusFirstItem = function (origin) {
|
|
880
|
+
if (origin === void 0) { origin = 'program'; }
|
|
881
|
+
var _a;
|
|
882
|
+
(_a = this._keyManager) === null || _a === void 0 ? void 0 : _a.setFocusOrigin(origin).setFirstItemActive();
|
|
883
|
+
};
|
|
884
|
+
/**
|
|
885
|
+
* Resets the active item in the menu. This is used when the menu is opened, allowing
|
|
886
|
+
* the user to start from the first option when pressing the down arrow.
|
|
887
|
+
*/
|
|
888
|
+
MenuComponent.prototype.resetActiveItem = function () {
|
|
889
|
+
var _a;
|
|
890
|
+
(_a = this._keyManager) === null || _a === void 0 ? void 0 : _a.setActiveItem(-1);
|
|
891
|
+
};
|
|
892
|
+
/** Registers a menu item with the menu. */
|
|
893
|
+
MenuComponent.prototype.addItem = function (item) {
|
|
894
|
+
// We register the items through this method, rather than picking them up through
|
|
895
|
+
// `ContentChildren`, because we need the items to be picked up by their closest
|
|
896
|
+
// `seam-menu` ancestor. If we used `@ContentChildren(MenuItemComponent, {descendants: true})`,
|
|
897
|
+
// all descendant items will bleed into the top-level menu in the case where the consumer
|
|
898
|
+
// has `seam-menu` instances nested inside each other.
|
|
899
|
+
if (this._items.indexOf(item) === -1) {
|
|
900
|
+
this._items.push(item);
|
|
901
|
+
this._itemChanges.next(this._items);
|
|
902
|
+
}
|
|
903
|
+
};
|
|
904
|
+
/** Removes an item from the menu. */
|
|
905
|
+
MenuComponent.prototype.removeItem = function (item) {
|
|
906
|
+
var index = this._items.indexOf(item);
|
|
907
|
+
if (this._items.indexOf(item) > -1) {
|
|
908
|
+
this._items.splice(index, 1);
|
|
909
|
+
this._itemChanges.next(this._items);
|
|
910
|
+
}
|
|
911
|
+
};
|
|
912
|
+
/** Sets the footer component. */
|
|
913
|
+
MenuComponent.prototype.setFooter = function (footer) {
|
|
914
|
+
this._footer.next(footer);
|
|
915
|
+
};
|
|
916
|
+
/** Sets the header component. */
|
|
917
|
+
MenuComponent.prototype.setHeader = function (header) {
|
|
918
|
+
this._header.next(header);
|
|
919
|
+
};
|
|
920
|
+
MenuComponent.prototype._dropdownMenuClick = function (event) {
|
|
921
|
+
// This is needed, because some menu's will get stuck open if the component
|
|
922
|
+
// managing the menu is destroyed before the menu finishes its cleanup. I
|
|
923
|
+
// may look for a fix to that eventually.
|
|
924
|
+
this.closed.emit('click');
|
|
925
|
+
};
|
|
926
|
+
return MenuComponent;
|
|
927
|
+
}());
|
|
928
|
+
MenuComponent.decorators = [
|
|
929
|
+
{ type: core.Component, args: [{
|
|
930
|
+
selector: 'seam-menu',
|
|
931
|
+
template: "<ng-template>\n <div class=\"seam-menu-container\" @slideDown\n [class.seam-menu-anim--slide]=\"animationType==='slide'\"\n [class.seam-menu-anim--fade]=\"animationType==='fade'\">\n <div class=\"dropdown-menu show position-static{{ menuClass ? ' ' + menuClass : '' }}\"\n [style.width]=\"_menuWidth$ | async\"\n [class.pt-0]=\"hasHeader$ | async\"\n [class.pb-0]=\"hasFooter$ | async\"\n (keydown)=\"_handleKeydown($event)\"\n (click)=\"_dropdownMenuClick($event)\"\n tabindex=\"-1\"\n role=\"menu\"\n >\n <ng-content></ng-content>\n </div>\n </div>\n</ng-template>\n",
|
|
932
|
+
providers: [LIB_MENU],
|
|
933
|
+
animations: [
|
|
934
|
+
animations.trigger('slideDown', [
|
|
935
|
+
animations.transition(':enter', animations.useAnimation(menuDropdownPanelIn)),
|
|
936
|
+
animations.transition(':leave', animations.useAnimation(menuDropdownPanelOut)),
|
|
937
|
+
])
|
|
938
|
+
],
|
|
939
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
940
|
+
exportAs: 'seamMenu',
|
|
941
|
+
styles: [".seam-menu-container.seam-menu-anim--slide{overflow:hidden}.dropdown-menu.ng-animating,.seam-menu-container.ng-animating{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}"]
|
|
942
|
+
},] }
|
|
943
|
+
];
|
|
944
|
+
MenuComponent.ctorParameters = function () { return []; };
|
|
945
|
+
MenuComponent.propDecorators = {
|
|
946
|
+
templateRef: [{ type: core.ViewChild, args: [core.TemplateRef,] }],
|
|
947
|
+
closed: [{ type: core.Output }],
|
|
948
|
+
menuClass: [{ type: core.Input }],
|
|
949
|
+
baseWidth: [{ type: core.Input }],
|
|
950
|
+
animationType: [{ type: core.Input }]
|
|
951
|
+
};
|
|
952
|
+
|
|
953
|
+
// TODO: Split up the button and anchor classes.
|
|
954
|
+
var MenuFooterActionComponent = /** @class */ (function () {
|
|
955
|
+
function MenuFooterActionComponent(_elementRef) {
|
|
956
|
+
this._elementRef = _elementRef;
|
|
957
|
+
}
|
|
958
|
+
Object.defineProperty(MenuFooterActionComponent.prototype, "_attrType", {
|
|
959
|
+
get: function () { return this.type; },
|
|
960
|
+
enumerable: false,
|
|
961
|
+
configurable: true
|
|
962
|
+
});
|
|
963
|
+
Object.defineProperty(MenuFooterActionComponent.prototype, "type", {
|
|
964
|
+
/** ARIA type for the button. */
|
|
965
|
+
get: function () { return this._isButton() ? this._type || 'button' : undefined; },
|
|
966
|
+
set: function (value) {
|
|
967
|
+
this._type = value;
|
|
968
|
+
},
|
|
969
|
+
enumerable: false,
|
|
970
|
+
configurable: true
|
|
971
|
+
});
|
|
972
|
+
Object.defineProperty(MenuFooterActionComponent.prototype, "_classBtn", {
|
|
973
|
+
get: function () { return this._isButton(); },
|
|
974
|
+
enumerable: false,
|
|
975
|
+
configurable: true
|
|
976
|
+
});
|
|
977
|
+
Object.defineProperty(MenuFooterActionComponent.prototype, "_classBtnLink", {
|
|
978
|
+
get: function () { return this._isButton(); },
|
|
979
|
+
enumerable: false,
|
|
980
|
+
configurable: true
|
|
981
|
+
});
|
|
982
|
+
Object.defineProperty(MenuFooterActionComponent.prototype, "_stylePadding", {
|
|
983
|
+
get: function () { return this._isButton() && 0; },
|
|
984
|
+
enumerable: false,
|
|
985
|
+
configurable: true
|
|
986
|
+
});
|
|
987
|
+
Object.defineProperty(MenuFooterActionComponent.prototype, "_styleBorder", {
|
|
988
|
+
get: function () { return this._isButton() && 0; },
|
|
989
|
+
enumerable: false,
|
|
990
|
+
configurable: true
|
|
991
|
+
});
|
|
992
|
+
Object.defineProperty(MenuFooterActionComponent.prototype, "_styleDisplay", {
|
|
993
|
+
get: function () { return this._isButton() && 'inline'; },
|
|
994
|
+
enumerable: false,
|
|
995
|
+
configurable: true
|
|
996
|
+
});
|
|
997
|
+
/** Determines if the component host is a button. */
|
|
998
|
+
MenuFooterActionComponent.prototype._isButton = function () {
|
|
999
|
+
return this._elementRef.nativeElement.nodeName.toLowerCase() === 'button';
|
|
1000
|
+
};
|
|
1001
|
+
/** Determines if the component host is an anchor. */
|
|
1002
|
+
MenuFooterActionComponent.prototype._isAnchor = function () {
|
|
1003
|
+
return this._elementRef.nativeElement.nodeName.toLowerCase() === 'a';
|
|
1004
|
+
};
|
|
1005
|
+
return MenuFooterActionComponent;
|
|
1006
|
+
}());
|
|
1007
|
+
MenuFooterActionComponent.decorators = [
|
|
1008
|
+
{ type: core.Component, args: [{
|
|
1009
|
+
// tslint:disable-next-line:component-selector
|
|
1010
|
+
selector: 'button[seamMenuFooterAction],a[seamMenuFooterAction]',
|
|
1011
|
+
template: "<ng-content></ng-content>\n",
|
|
1012
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
1013
|
+
styles: [""]
|
|
1014
|
+
},] }
|
|
1015
|
+
];
|
|
1016
|
+
MenuFooterActionComponent.ctorParameters = function () { return [
|
|
1017
|
+
{ type: core.ElementRef }
|
|
1018
|
+
]; };
|
|
1019
|
+
MenuFooterActionComponent.propDecorators = {
|
|
1020
|
+
_attrType: [{ type: core.HostBinding, args: ['attr.type',] }],
|
|
1021
|
+
type: [{ type: core.Input }],
|
|
1022
|
+
_classBtn: [{ type: core.HostBinding, args: ['class.btn',] }],
|
|
1023
|
+
_classBtnLink: [{ type: core.HostBinding, args: ['class.btn-link',] }],
|
|
1024
|
+
_stylePadding: [{ type: core.HostBinding, args: ['style.padding.px',] }],
|
|
1025
|
+
_styleBorder: [{ type: core.HostBinding, args: ['style.border.px',] }],
|
|
1026
|
+
_styleDisplay: [{ type: core.HostBinding, args: ['style.display.px',] }]
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
var MenuFooterComponent = /** @class */ (function () {
|
|
1030
|
+
function MenuFooterComponent(_parentMenu) {
|
|
1031
|
+
this._parentMenu = _parentMenu;
|
|
1032
|
+
}
|
|
1033
|
+
MenuFooterComponent.prototype.ngOnInit = function () {
|
|
1034
|
+
if (this._parentMenu && this._parentMenu.setFooter) {
|
|
1035
|
+
this._parentMenu.setFooter(this);
|
|
1036
|
+
}
|
|
1037
|
+
};
|
|
1038
|
+
MenuFooterComponent.prototype.ngOnDestroy = function () {
|
|
1039
|
+
if (this._parentMenu && this._parentMenu.setFooter) {
|
|
1040
|
+
this._parentMenu.setFooter(undefined);
|
|
1041
|
+
}
|
|
1042
|
+
};
|
|
1043
|
+
return MenuFooterComponent;
|
|
1044
|
+
}());
|
|
1045
|
+
MenuFooterComponent.decorators = [
|
|
1046
|
+
{ type: core.Component, args: [{
|
|
1047
|
+
selector: 'seam-menu-footer',
|
|
1048
|
+
template: "<ng-content select=\"a[seamMenuFooterAction],button[seamMenuFooterAction]\"></ng-content>\n",
|
|
1049
|
+
host: {
|
|
1050
|
+
'class': 'd-flex flex-column text-center bg-light border-top rounded-bottom py-2'
|
|
1051
|
+
},
|
|
1052
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
1053
|
+
styles: [""]
|
|
1054
|
+
},] }
|
|
1055
|
+
];
|
|
1056
|
+
MenuFooterComponent.ctorParameters = function () { return [
|
|
1057
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [THESEAM_MENU_PANEL,] }, { type: core.Optional }] }
|
|
1058
|
+
]; };
|
|
1059
|
+
|
|
1060
|
+
var MenuHeaderComponent = /** @class */ (function () {
|
|
1061
|
+
function MenuHeaderComponent(_parentMenu) {
|
|
1062
|
+
this._parentMenu = _parentMenu;
|
|
1063
|
+
}
|
|
1064
|
+
MenuHeaderComponent.prototype.ngOnInit = function () {
|
|
1065
|
+
if (this._parentMenu && this._parentMenu.setHeader) {
|
|
1066
|
+
this._parentMenu.setHeader(this);
|
|
1067
|
+
}
|
|
1068
|
+
};
|
|
1069
|
+
MenuHeaderComponent.prototype.ngOnDestroy = function () {
|
|
1070
|
+
if (this._parentMenu && this._parentMenu.setHeader) {
|
|
1071
|
+
this._parentMenu.setHeader(undefined);
|
|
1072
|
+
}
|
|
1073
|
+
};
|
|
1074
|
+
return MenuHeaderComponent;
|
|
1075
|
+
}());
|
|
1076
|
+
MenuHeaderComponent.decorators = [
|
|
1077
|
+
{ type: core.Component, args: [{
|
|
1078
|
+
selector: 'seam-menu-header',
|
|
1079
|
+
template: "<ng-content></ng-content>\n",
|
|
1080
|
+
host: {
|
|
1081
|
+
'class': 'd-flex flex-column bg-light border-bottom rounded-top py-2 mb-2'
|
|
1082
|
+
},
|
|
1083
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
1084
|
+
styles: [""]
|
|
1085
|
+
},] }
|
|
1086
|
+
];
|
|
1087
|
+
MenuHeaderComponent.ctorParameters = function () { return [
|
|
1088
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [THESEAM_MENU_PANEL,] }, { type: core.Optional }] }
|
|
1089
|
+
]; };
|
|
1090
|
+
|
|
1091
|
+
var TheSeamMenuModule = /** @class */ (function () {
|
|
1092
|
+
function TheSeamMenuModule() {
|
|
1093
|
+
}
|
|
1094
|
+
return TheSeamMenuModule;
|
|
1095
|
+
}());
|
|
1096
|
+
TheSeamMenuModule.decorators = [
|
|
1097
|
+
{ type: core.NgModule, args: [{
|
|
1098
|
+
declarations: [
|
|
1099
|
+
MenuComponent,
|
|
1100
|
+
MenuToggleDirective,
|
|
1101
|
+
MenuItemComponent,
|
|
1102
|
+
MenuDividerComponent,
|
|
1103
|
+
MenuFooterComponent,
|
|
1104
|
+
MenuFooterActionComponent,
|
|
1105
|
+
MenuHeaderComponent,
|
|
1106
|
+
],
|
|
1107
|
+
imports: [
|
|
1108
|
+
common.CommonModule,
|
|
1109
|
+
overlay.OverlayModule,
|
|
1110
|
+
icon.TheSeamIconModule
|
|
1111
|
+
],
|
|
1112
|
+
exports: [
|
|
1113
|
+
MenuComponent,
|
|
1114
|
+
MenuToggleDirective,
|
|
1115
|
+
MenuItemComponent,
|
|
1116
|
+
MenuDividerComponent,
|
|
1117
|
+
icon.TheSeamIconModule,
|
|
1118
|
+
overlay.OverlayModule,
|
|
1119
|
+
MenuFooterComponent,
|
|
1120
|
+
MenuFooterActionComponent,
|
|
1121
|
+
MenuHeaderComponent
|
|
1122
|
+
]
|
|
1123
|
+
},] }
|
|
1124
|
+
];
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* Generated bundle index. Do not edit.
|
|
1128
|
+
*/
|
|
1129
|
+
|
|
1130
|
+
exports.LIB_MENU = LIB_MENU;
|
|
1131
|
+
exports.MenuComponent = MenuComponent;
|
|
1132
|
+
exports.MenuDividerComponent = MenuDividerComponent;
|
|
1133
|
+
exports.MenuFooterActionComponent = MenuFooterActionComponent;
|
|
1134
|
+
exports.MenuFooterComponent = MenuFooterComponent;
|
|
1135
|
+
exports.MenuHeaderComponent = MenuHeaderComponent;
|
|
1136
|
+
exports.MenuItemComponent = MenuItemComponent;
|
|
1137
|
+
exports.MenuToggleDirective = MenuToggleDirective;
|
|
1138
|
+
exports.THESEAM_MENU_PANEL = THESEAM_MENU_PANEL;
|
|
1139
|
+
exports.TheSeamMenuModule = TheSeamMenuModule;
|
|
1140
|
+
exports.menuDropdownPanelExpandIn = menuDropdownPanelExpandIn;
|
|
1141
|
+
exports.menuDropdownPanelExpandOut = menuDropdownPanelExpandOut;
|
|
1142
|
+
exports.menuDropdownPanelFadeIn = menuDropdownPanelFadeIn;
|
|
1143
|
+
exports.menuDropdownPanelFadeOut = menuDropdownPanelFadeOut;
|
|
1144
|
+
exports.menuDropdownPanelIn = menuDropdownPanelIn;
|
|
1145
|
+
exports.menuDropdownPanelOut = menuDropdownPanelOut;
|
|
1146
|
+
exports.menuDropdownPanelSlideIn = menuDropdownPanelSlideIn;
|
|
1147
|
+
exports.menuDropdownPanelSlideOut = menuDropdownPanelSlideOut;
|
|
1148
|
+
|
|
1149
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1150
|
+
|
|
1151
|
+
})));
|
|
1152
|
+
//# sourceMappingURL=theseam-ui-common-menu.umd.js.map
|