@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-scrollbar.umd.js","sources":["../../../projects/ui-common/scrollbar/overlay-scrollbars-config.ts","../../../projects/ui-common/scrollbar/overlay-scrollbars.service.ts","../../../projects/ui-common/scrollbar/overlay-scrollbar.directive.ts","../../../projects/ui-common/scrollbar/scrollbar.module.ts","../../../projects/ui-common/scrollbar/theseam-ui-common-scrollbar.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core'\n\nimport { IOverlayScrollbarsConfig } from './overlay-scrollbars-config-model'\n\nexport const _OverlayScrollbarDefaults: IOverlayScrollbarsConfig = {\n className: 'os-theme-dark os-theme-no-hover',\n sizeAutoCapable: false,\n paddingAbsolute: true,\n autoUpdate: true\n}\n\nexport function mergeOverlayScrollbarsConfigs(a: IOverlayScrollbarsConfig, b: IOverlayScrollbarsConfig) {\n return { ...a, ...b }\n}\n\n/** Injection token that can be used to specify overlayscrollbars options. */\nexport const LIB_OVERLAY_SCROLLBARS_CONFIG = new InjectionToken<IOverlayScrollbarsConfig>('seamOverlayScrollbarsConfig')\n","import { Platform } from '@angular/cdk/platform'\nimport { forwardRef, inject, Injectable, InjectionToken, Injector, INJECTOR, NgZone } from '@angular/core'\nimport { fromEvent, Subscription } from 'rxjs'\n\nimport OverlayScrollbars from 'overlayscrollbars'\n\nimport { LIB_OVERLAY_SCROLLBARS_CONFIG } from './overlay-scrollbars-config'\nimport { IOverlayScrollbarsConfig } from './overlay-scrollbars-config-model'\n\n@Injectable({\n providedIn: 'root'\n})\nexport class OverlayScrollbarsService {\n\n private _inputEventSubscription = Subscription.EMPTY\n\n constructor(\n private _ngZone: NgZone,\n private injector: Injector,\n private _platform: Platform\n ) { }\n\n public initializeInstance(element: HTMLElement, options?: IOverlayScrollbarsConfig): void {\n if (!this.isInstanceEnabled(element) &&\n // The 'overlayscrollbars' library is causing an issue on iOS. Since iOS\n // already has native overlay scrollbars it shouldn't really effect the\n // app layout.\n !(this._isTextarea(element) && this._platform.IOS)\n ) {\n this._ngZone.runOutsideAngular(() => {\n OverlayScrollbars(element, this._applyConfigDefaults(options))\n\n if (this._isTextarea(element)) {\n // TODO: Make this more accurate. Right now this is just relying on\n // the fact that timing out for 100ms is usually enough time to wait\n // for update to correctly calculate.\n // NOTE: This may be fixed in a newer version to not need this hack.\n fromEvent(element, 'change').subscribe(_ => {\n this._ngZone.run(() => {\n setTimeout(() => {\n if (this.isInstanceEnabled(element)) {\n this.getInstance(element).update()\n }\n }, 100)\n })\n })\n }\n })\n }\n }\n\n public destroyInstance(element: HTMLElement): void {\n if (this.isInstanceEnabled(element)) {\n this._ngZone.runOutsideAngular(() => {\n this.getInstance(element).destroy()\n if (this._inputEventSubscription && !this._inputEventSubscription.closed) {\n this._inputEventSubscription.unsubscribe()\n }\n })\n }\n }\n\n public getInstance(element: HTMLElement): OverlayScrollbars {\n return OverlayScrollbars(element) as OverlayScrollbars\n }\n\n public isInstanceEnabled(element: HTMLElement): boolean {\n return !!this.getInstance(element)\n }\n\n public setOptions(element: HTMLElement, options: IOverlayScrollbarsConfig): boolean {\n if (!this.isInstanceEnabled(element)) { return false }\n\n this.getInstance(element).options(this._applyConfigDefaults(options))\n\n return true\n }\n\n public getOptions(element: HTMLElement): IOverlayScrollbarsConfig {\n return this.getInstance(element).options()\n }\n\n private _applyConfigDefaults(config?: IOverlayScrollbarsConfig): IOverlayScrollbarsConfig {\n const _config: IOverlayScrollbarsConfig = this.injector.get(LIB_OVERLAY_SCROLLBARS_CONFIG)\n return {..._config, ...config}\n }\n\n /** Determines if the component host is a textarea. */\n protected _isTextarea(element: HTMLElement) {\n return element.nodeName.toLowerCase() === 'textarea'\n }\n\n}\n","import { coerceBooleanProperty } from '@angular/cdk/coercion'\nimport { AfterViewInit, Directive, ElementRef, Input, OnDestroy, OnInit } from '@angular/core'\n\nimport OverlayScrollbars from 'overlayscrollbars'\n\nimport { OverlayScrollbarsService } from './overlay-scrollbars.service'\n\nimport type { IOverlayScrollbarsConfig } from './overlay-scrollbars-config-model'\n\n@Directive({\n selector: '[seamOverlayScrollbar]',\n exportAs: 'seamOverlayScrollbar'\n})\nexport class OverlayScrollbarDirective implements OnInit, AfterViewInit, OnDestroy {\n static ngAcceptInputType_seamOverlayScrollbar: IOverlayScrollbarsConfig | undefined | null | ''\n\n private _disabled = false\n\n @Input()\n set seamOverlayScrollbar(value: IOverlayScrollbarsConfig | undefined | null) { this.options = value }\n\n @Input()\n get overlayScrollbarEnabled(): boolean {\n return this._scrollbars.isInstanceEnabled(this._ref.nativeElement)\n }\n set overlayScrollbarEnabled(value: boolean) {\n this._disabled = !coerceBooleanProperty(value)\n if (!this._disabled) {\n this._scrollbars.initializeInstance(this._ref.nativeElement)\n } else {\n this._scrollbars.destroyInstance(this._ref.nativeElement)\n }\n }\n\n set options(value: IOverlayScrollbarsConfig | undefined | null) {\n this._options = value || {}\n this._scrollbars.setOptions(this._ref.nativeElement, this._options)\n }\n get options() {\n if (this._scrollbars.isInstanceEnabled(this._ref.nativeElement)) {\n return this._scrollbars.getOptions(this._ref.nativeElement)\n }\n return this._options\n }\n private _options: IOverlayScrollbarsConfig = {}\n\n constructor(\n private _ref: ElementRef,\n private _scrollbars: OverlayScrollbarsService\n ) { }\n\n ngOnInit() { }\n\n ngAfterViewInit() {\n if (!this._disabled) {\n this._scrollbars.initializeInstance(this._ref.nativeElement, this._options)\n }\n }\n\n ngOnDestroy() {\n this._scrollbars.destroyInstance(this._ref.nativeElement)\n }\n\n get instance(): OverlayScrollbars {\n return this._scrollbars.getInstance(this._ref.nativeElement)\n }\n\n}\n","import { PlatformModule } from '@angular/cdk/platform'\nimport { NgModule } from '@angular/core'\n\nimport { OverlayScrollbarDirective } from './overlay-scrollbar.directive'\nimport { LIB_OVERLAY_SCROLLBARS_CONFIG, _OverlayScrollbarDefaults } from './overlay-scrollbars-config'\n\n@NgModule({\n declarations: [\n OverlayScrollbarDirective\n ],\n imports: [\n PlatformModule\n ],\n providers: [\n { provide: LIB_OVERLAY_SCROLLBARS_CONFIG, useValue: _OverlayScrollbarDefaults }\n ],\n exports: [\n OverlayScrollbarDirective\n ]\n})\nexport class TheSeamScrollbarModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["InjectionToken","Subscription","OverlayScrollbars","fromEvent","Injectable","NgZone","Injector","Platform","coerceBooleanProperty","Directive","ElementRef","Input","NgModule","PlatformModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAIa,yBAAyB,GAA6B;QACjE,SAAS,EAAE,iCAAiC;QAC5C,eAAe,EAAE,KAAK;QACtB,eAAe,EAAE,IAAI;QACrB,UAAU,EAAE,IAAI;MACjB;aAEe,6BAA6B,CAAC,CAA2B,EAAE,CAA2B;QACpG,uCAAY,CAAC,GAAK,CAAC,EAAE;IACvB,CAAC;IAED;QACa,6BAA6B,GAAG,IAAIA,iBAAc,CAA2B,6BAA6B;;;QCArH,kCACU,OAAe,EACf,QAAkB,EAClB,SAAmB;YAFnB,YAAO,GAAP,OAAO,CAAQ;YACf,aAAQ,GAAR,QAAQ,CAAU;YAClB,cAAS,GAAT,SAAS,CAAU;YALrB,4BAAuB,GAAGC,iBAAY,CAAC,KAAK,CAAA;SAM/C;QAEE,qDAAkB,GAAlB,UAAmB,OAAoB,EAAE,OAAkC;YAA3E,iBA2BN;YA1BC,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC;;;;gBAIlC,EAAE,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAClD;gBACA,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC;oBAC7BC,qCAAiB,CAAC,OAAO,EAAE,KAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAA;oBAE9D,IAAI,KAAI,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE;;;;;wBAK7BC,cAAS,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,UAAA,CAAC;4BACtC,KAAI,CAAC,OAAO,CAAC,GAAG,CAAC;gCACf,UAAU,CAAC;oCACT,IAAI,KAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE;wCACnC,KAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;qCACnC;iCACF,EAAE,GAAG,CAAC,CAAA;6BACR,CAAC,CAAA;yBACH,CAAC,CAAA;qBACH;iBACF,CAAC,CAAA;aACH;SACF;QAEM,kDAAe,GAAf,UAAgB,OAAoB;YAApC,iBASN;YARC,IAAI,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE;gBACnC,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC;oBAC7B,KAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,CAAA;oBACnC,IAAI,KAAI,CAAC,uBAAuB,IAAI,CAAC,KAAI,CAAC,uBAAuB,CAAC,MAAM,EAAE;wBACxE,KAAI,CAAC,uBAAuB,CAAC,WAAW,EAAE,CAAA;qBAC3C;iBACF,CAAC,CAAA;aACH;SACF;QAEM,8CAAW,GAAX,UAAY,OAAoB;YACrC,OAAOD,qCAAiB,CAAC,OAAO,CAAsB,CAAA;SACvD;QAEM,oDAAiB,GAAjB,UAAkB,OAAoB;YAC3C,OAAO,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAA;SACnC;QAEM,6CAAU,GAAV,UAAW,OAAoB,EAAE,OAAiC;YACvE,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE;gBAAE,OAAO,KAAK,CAAA;aAAE;YAEtD,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAA;YAErE,OAAO,IAAI,CAAA;SACZ;QAEM,6CAAU,GAAV,UAAW,OAAoB;YACpC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,CAAA;SAC3C;QAEO,uDAAoB,GAApB,UAAqB,MAAiC;YAC5D,IAAM,OAAO,GAA6B,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAA;YAC1F,uCAAW,OAAO,GAAK,MAAM,EAAC;SAC/B;;QAGS,8CAAW,GAAX,UAAY,OAAoB;YACxC,OAAO,OAAO,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,UAAU,CAAA;SACrD;;;;;gBAjFFE,aAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;gBAV4EC,SAAM;gBAA1BC,WAAQ;gBADxDC,WAAQ;;;;QC8Cf,mCACU,IAAgB,EAChB,WAAqC;YADrC,SAAI,GAAJ,IAAI,CAAY;YAChB,gBAAW,GAAX,WAAW,CAA0B;YAhCvC,cAAS,GAAG,KAAK,CAAA;YA4BjB,aAAQ,GAA6B,EAAE,CAAA;SAK1C;QA/BL,sBACI,2DAAoB;iBADxB,UACyB,KAAkD,IAAI,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA,EAAE;;;WAAA;QAErG,sBACI,8DAAuB;iBAD3B;gBAEE,OAAO,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;aACnE;iBACD,UAA4B,KAAc;gBACxC,IAAI,CAAC,SAAS,GAAG,CAACC,8BAAqB,CAAC,KAAK,CAAC,CAAA;gBAC9C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;oBACnB,IAAI,CAAC,WAAW,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;iBAC7D;qBAAM;oBACL,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;iBAC1D;aACF;;;WARA;QAUD,sBAAI,8CAAO;iBAIX;gBACE,IAAI,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE;oBAC/D,OAAO,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;iBAC5D;gBACD,OAAO,IAAI,CAAC,QAAQ,CAAA;aACrB;iBATD,UAAY,KAAkD;gBAC5D,IAAI,CAAC,QAAQ,GAAG,KAAK,IAAI,EAAE,CAAA;gBAC3B,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;aACpE;;;WAAA;QAcD,4CAAQ,GAAR,eAAc;QAEd,mDAAe,GAAf;YACE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;gBACnB,IAAI,CAAC,WAAW,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;aAC5E;SACF;QAED,+CAAW,GAAX;YACE,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;SAC1D;QAED,sBAAI,+CAAQ;iBAAZ;gBACE,OAAO,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;aAC7D;;;WAAA;;;;gBAxDFC,YAAS,SAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,QAAQ,EAAE,sBAAsB;iBACjC;;;gBAXkCC,aAAU;gBAIpC,wBAAwB;;;uCAa9BC,QAAK;0CAGLA,QAAK;;;aCPgD,yBAAyB;;QAMjF;;;;;gBAdCC,WAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,yBAAyB;qBAC1B;oBACD,OAAO,EAAE;wBACPC,iBAAc;qBACf;oBACD,SAAS,EAAE;wBACT,EAAE,OAAO,EAAE,6BAA6B,EAAE,QAAQ,IAA2B,EAAE;qBAChF;oBACD,OAAO,EAAE;wBACP,yBAAyB;qBAC1B;iBACF;;;ICnBD;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@theseam/ui-common/utils'), require('@angular/router'), require('webfontloader')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@theseam/ui-common/services', ['exports', '@angular/core', 'rxjs', 'rxjs/operators', '@theseam/ui-common/utils', '@angular/router', 'webfontloader'], 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'].services = {}), global.ng.core, global.rxjs, global.rxjs.operators, global.theseam['ui-common'].utils, global.ng.router, global.WebFont));
|
|
5
|
+
}(this, (function (exports, i0, rxjs, operators, utils, i1, WebFont) { 'use strict';
|
|
6
|
+
|
|
7
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
+
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () {
|
|
19
|
+
return e[k];
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
n['default'] = e;
|
|
26
|
+
return Object.freeze(n);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
30
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
31
|
+
var WebFont__default = /*#__PURE__*/_interopDefaultLegacy(WebFont);
|
|
32
|
+
|
|
33
|
+
var LoadedAssetRef = /** @class */ (function () {
|
|
34
|
+
function LoadedAssetRef(nativeElement, path, content) {
|
|
35
|
+
this.nativeElement = nativeElement;
|
|
36
|
+
this.path = path;
|
|
37
|
+
this.content = content;
|
|
38
|
+
}
|
|
39
|
+
LoadedAssetRef.prototype.destroy = function () {
|
|
40
|
+
var _a;
|
|
41
|
+
(_a = this.nativeElement.parentElement) === null || _a === void 0 ? void 0 : _a.removeChild(this.nativeElement);
|
|
42
|
+
};
|
|
43
|
+
return LoadedAssetRef;
|
|
44
|
+
}());
|
|
45
|
+
var AssetLoaderService = /** @class */ (function () {
|
|
46
|
+
function AssetLoaderService() {
|
|
47
|
+
}
|
|
48
|
+
AssetLoaderService.prototype.loadStyleSheet = function (path) {
|
|
49
|
+
return rxjs.defer(function () { return utils.loadStyleSheet(path); }).pipe(operators.map(function (v) { return new LoadedAssetRef(v, path); }));
|
|
50
|
+
};
|
|
51
|
+
AssetLoaderService.prototype.loadStyle = function (content) {
|
|
52
|
+
return rxjs.defer(function () { return utils.loadStyle(content); }).pipe(operators.map(function (v) { return new LoadedAssetRef(v, undefined, content); }));
|
|
53
|
+
};
|
|
54
|
+
return AssetLoaderService;
|
|
55
|
+
}());
|
|
56
|
+
AssetLoaderService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function AssetLoaderService_Factory() { return new AssetLoaderService(); }, token: AssetLoaderService, providedIn: "root" });
|
|
57
|
+
AssetLoaderService.decorators = [
|
|
58
|
+
{ type: i0.Injectable, args: [{
|
|
59
|
+
providedIn: 'root'
|
|
60
|
+
},] }
|
|
61
|
+
];
|
|
62
|
+
AssetLoaderService.ctorParameters = function () { return []; };
|
|
63
|
+
|
|
64
|
+
var RouterHelpersService = /** @class */ (function () {
|
|
65
|
+
function RouterHelpersService(_router) {
|
|
66
|
+
this._router = _router;
|
|
67
|
+
}
|
|
68
|
+
RouterHelpersService.prototype.isActive = function (url, exact) {
|
|
69
|
+
var _this = this;
|
|
70
|
+
var opts = exact
|
|
71
|
+
? { paths: 'exact', queryParams: 'exact', fragment: 'ignored', matrixParams: 'ignored' }
|
|
72
|
+
: { paths: 'subset', queryParams: 'subset', fragment: 'ignored', matrixParams: 'ignored' };
|
|
73
|
+
return this._router.events.pipe(operators.filter(function (event) { return event instanceof i1.NavigationEnd; }), operators.map(function (event) { return _this._router.isActive(url, opts); }), operators.startWith(this._router.isActive(url, opts)));
|
|
74
|
+
};
|
|
75
|
+
return RouterHelpersService;
|
|
76
|
+
}());
|
|
77
|
+
RouterHelpersService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function RouterHelpersService_Factory() { return new RouterHelpersService(i0__namespace.ɵɵinject(i1__namespace.Router)); }, token: RouterHelpersService, providedIn: "root" });
|
|
78
|
+
RouterHelpersService.decorators = [
|
|
79
|
+
{ type: i0.Injectable, args: [{
|
|
80
|
+
providedIn: 'root'
|
|
81
|
+
},] }
|
|
82
|
+
];
|
|
83
|
+
RouterHelpersService.ctorParameters = function () { return [
|
|
84
|
+
{ type: i1.Router }
|
|
85
|
+
]; };
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Service to help loading fonts.
|
|
89
|
+
*
|
|
90
|
+
* Currently this is just a wrapper for the parts of webfontloader that we need.
|
|
91
|
+
* Eventually this should be generic enough that we can switch loaders without
|
|
92
|
+
* config differences being confusing.
|
|
93
|
+
*/
|
|
94
|
+
var TheSeamFontLoaderService = /** @class */ (function () {
|
|
95
|
+
function TheSeamFontLoaderService() {
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Since this method is just a wrapper for webfontloader right now it accepts
|
|
99
|
+
* anything webfontloader's config accepts, so the event callbacks can still
|
|
100
|
+
* be used, but you should us the emitted objects instead. If we decide to
|
|
101
|
+
* support other font loaders then the event callbacks will most likely be
|
|
102
|
+
* removed.
|
|
103
|
+
*
|
|
104
|
+
* NOTE: If you need to use the events callbacks for some reason, this
|
|
105
|
+
* method's returned observable will still need to be subscribed to, because
|
|
106
|
+
* it doesn't start till subscribed to.
|
|
107
|
+
*/
|
|
108
|
+
TheSeamFontLoaderService.prototype.load = function (config) {
|
|
109
|
+
return new rxjs.Observable(function (subscriber) {
|
|
110
|
+
WebFont__default['default'].load(Object.assign(Object.assign({}, config), {
|
|
111
|
+
/** This event is triggered when all fonts have been requested. */
|
|
112
|
+
loading: function () {
|
|
113
|
+
if (utils.hasProperty(config, 'loading')) {
|
|
114
|
+
config.loading();
|
|
115
|
+
}
|
|
116
|
+
subscriber.next({ type: 'loading' });
|
|
117
|
+
},
|
|
118
|
+
/** This event is triggered when the fonts have rendered. */
|
|
119
|
+
active: function () {
|
|
120
|
+
if (utils.hasProperty(config, 'active')) {
|
|
121
|
+
config.active();
|
|
122
|
+
}
|
|
123
|
+
subscriber.next({ type: 'active' });
|
|
124
|
+
},
|
|
125
|
+
/** This event is triggered when the browser does not support linked fonts or if none of the fonts could be loaded. */
|
|
126
|
+
inactive: function () {
|
|
127
|
+
if (utils.hasProperty(config, 'inactive')) {
|
|
128
|
+
config.inactive();
|
|
129
|
+
}
|
|
130
|
+
subscriber.next({ type: 'inactive' });
|
|
131
|
+
},
|
|
132
|
+
/** This event is triggered once for each font that's loaded. */
|
|
133
|
+
fontloading: function (familyName, fvd) {
|
|
134
|
+
if (utils.hasProperty(config, 'fontloading')) {
|
|
135
|
+
config.fontloading(familyName, fvd);
|
|
136
|
+
}
|
|
137
|
+
subscriber.next({ type: 'fontloading', familyName: familyName, fvd: fvd });
|
|
138
|
+
},
|
|
139
|
+
/** This event is triggered once for each font that renders. */
|
|
140
|
+
fontactive: function (familyName, fvd) {
|
|
141
|
+
if (utils.hasProperty(config, 'fontactive')) {
|
|
142
|
+
config.fontactive(familyName, fvd);
|
|
143
|
+
}
|
|
144
|
+
subscriber.next({ type: 'fontactive', familyName: familyName, fvd: fvd });
|
|
145
|
+
},
|
|
146
|
+
/** This event is triggered if the font can't be loaded. */
|
|
147
|
+
fontinactive: function (familyName, fvd) {
|
|
148
|
+
if (utils.hasProperty(config, 'fontinactive')) {
|
|
149
|
+
config.fontinactive(familyName, fvd);
|
|
150
|
+
}
|
|
151
|
+
subscriber.next({ type: 'fontinactive', familyName: familyName, fvd: fvd });
|
|
152
|
+
}
|
|
153
|
+
}));
|
|
154
|
+
});
|
|
155
|
+
};
|
|
156
|
+
return TheSeamFontLoaderService;
|
|
157
|
+
}());
|
|
158
|
+
TheSeamFontLoaderService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TheSeamFontLoaderService_Factory() { return new TheSeamFontLoaderService(); }, token: TheSeamFontLoaderService, providedIn: "root" });
|
|
159
|
+
TheSeamFontLoaderService.decorators = [
|
|
160
|
+
{ type: i0.Injectable, args: [{
|
|
161
|
+
providedIn: 'root'
|
|
162
|
+
},] }
|
|
163
|
+
];
|
|
164
|
+
TheSeamFontLoaderService.ctorParameters = function () { return []; };
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Generated bundle index. Do not edit.
|
|
168
|
+
*/
|
|
169
|
+
|
|
170
|
+
exports.AssetLoaderService = AssetLoaderService;
|
|
171
|
+
exports.LoadedAssetRef = LoadedAssetRef;
|
|
172
|
+
exports.RouterHelpersService = RouterHelpersService;
|
|
173
|
+
exports.TheSeamFontLoaderService = TheSeamFontLoaderService;
|
|
174
|
+
|
|
175
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
176
|
+
|
|
177
|
+
})));
|
|
178
|
+
//# sourceMappingURL=theseam-ui-common-services.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theseam-ui-common-services.umd.js","sources":["../../../projects/ui-common/services/asset-loader.service.ts","../../../projects/ui-common/services/router-helpers.service.ts","../../../projects/ui-common/services/font-loader.service.ts","../../../projects/ui-common/services/theseam-ui-common-services.ts"],"sourcesContent":["import { Injectable } from '@angular/core'\nimport { defer, Observable } from 'rxjs'\nimport { map } from 'rxjs/operators'\n\nimport { loadStyle, loadStyleSheet } from '@theseam/ui-common/utils'\n\nexport class LoadedAssetRef<T extends HTMLLinkElement | HTMLScriptElement | HTMLStyleElement> {\n\n constructor(\n public readonly nativeElement: T,\n public readonly path?: string,\n public readonly content?: string\n ) {\n\n }\n\n public destroy(): void {\n this.nativeElement.parentElement?.removeChild(this.nativeElement)\n }\n\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class AssetLoaderService {\n\n constructor() { }\n\n public loadStyleSheet(path: string): Observable<LoadedAssetRef<HTMLLinkElement>> {\n return defer(() => loadStyleSheet(path)).pipe(map(v => new LoadedAssetRef(v, path)))\n }\n\n public loadStyle(content: string): Observable<LoadedAssetRef<HTMLStyleElement>> {\n return defer(() => loadStyle(content)).pipe(map(v => new LoadedAssetRef(v, undefined, content)))\n }\n\n}\n","import { Injectable } from '@angular/core'\nimport { IsActiveMatchOptions, NavigationEnd, Router, UrlTree } from '@angular/router'\nimport { Observable } from 'rxjs'\nimport { filter, map, startWith } from 'rxjs/operators'\n\n@Injectable({\n providedIn: 'root'\n})\nexport class RouterHelpersService {\n\n constructor(\n private _router: Router\n ) { }\n\n public isActive(url: string | UrlTree, exact: boolean): Observable<boolean> {\n const opts: IsActiveMatchOptions = exact\n ? { paths: 'exact', queryParams: 'exact', fragment: 'ignored', matrixParams: 'ignored' }\n : { paths: 'subset', queryParams: 'subset', fragment: 'ignored', matrixParams: 'ignored' }\n\n return this._router.events.pipe(\n filter(event => event instanceof NavigationEnd),\n map(event => this._router.isActive(url, opts)),\n startWith(this._router.isActive(url, opts))\n )\n }\n}\n","import { Injectable } from '@angular/core'\n\nimport { Observable, Subscriber } from 'rxjs'\nimport WebFont from 'webfontloader'\n\nimport { hasProperty } from '@theseam/ui-common/utils'\n\nexport type TheSeamFontEvents =\n { type: 'loading' } |\n { type: 'active' } |\n { type: 'inactive' } |\n { type: 'fontloading', familyName: string, fvd: string } |\n { type: 'fontactive', familyName: string, fvd: string } |\n { type: 'fontinactive', familyName: string, fvd: string }\n\n/**\n * Service to help loading fonts.\n *\n * Currently this is just a wrapper for the parts of webfontloader that we need.\n * Eventually this should be generic enough that we can switch loaders without\n * config differences being confusing.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class TheSeamFontLoaderService {\n\n constructor() { }\n\n /**\n * Since this method is just a wrapper for webfontloader right now it accepts\n * anything webfontloader's config accepts, so the event callbacks can still\n * be used, but you should us the emitted objects instead. If we decide to\n * support other font loaders then the event callbacks will most likely be\n * removed.\n *\n * NOTE: If you need to use the events callbacks for some reason, this\n * method's returned observable will still need to be subscribed to, because\n * it doesn't start till subscribed to.\n */\n public load(config: WebFont.Config): Observable<TheSeamFontEvents> {\n return new Observable((subscriber: Subscriber<TheSeamFontEvents>) => {\n WebFont.load({\n ...config,\n /** This event is triggered when all fonts have been requested. */\n loading: () => {\n if (hasProperty(config, 'loading')) {\n config.loading()\n }\n subscriber.next({ type: 'loading' })\n },\n /** This event is triggered when the fonts have rendered. */\n active: () => {\n if (hasProperty(config, 'active')) {\n config.active()\n }\n subscriber.next({ type: 'active' })\n },\n /** This event is triggered when the browser does not support linked fonts or if none of the fonts could be loaded. */\n inactive: () => {\n if (hasProperty(config, 'inactive')) {\n config.inactive()\n }\n subscriber.next({ type: 'inactive' })\n },\n /** This event is triggered once for each font that's loaded. */\n fontloading: (familyName: string, fvd: string) => {\n if (hasProperty(config, 'fontloading')) {\n config.fontloading(familyName, fvd)\n }\n subscriber.next({ type: 'fontloading', familyName, fvd })\n },\n /** This event is triggered once for each font that renders. */\n fontactive: (familyName: string, fvd: string) => {\n if (hasProperty(config, 'fontactive')) {\n config.fontactive(familyName, fvd)\n }\n subscriber.next({ type: 'fontactive', familyName, fvd })\n },\n /** This event is triggered if the font can't be loaded. */\n fontinactive: (familyName: string, fvd: string) => {\n if (hasProperty(config, 'fontinactive')) {\n config.fontinactive(familyName, fvd)\n }\n subscriber.next({ type: 'fontinactive', familyName, fvd })\n },\n })\n })\n }\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["defer","loadStyleSheet","map","loadStyle","Injectable","filter","NavigationEnd","startWith","Router","Observable","WebFont","hasProperty"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAQE,wBACkB,aAAgB,EAChB,IAAa,EACb,OAAgB;YAFhB,kBAAa,GAAb,aAAa,CAAG;YAChB,SAAI,GAAJ,IAAI,CAAS;YACb,YAAO,GAAP,OAAO,CAAS;SAGjC;QAEM,gCAAO,GAAP;;YACL,MAAA,IAAI,CAAC,aAAa,CAAC,aAAa,0CAAE,WAAW,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;SAClE;6BAEF;KAAA,IAAA;;QAOC;SAAiB;QAEV,2CAAc,GAAd,UAAe,IAAY;YAChC,OAAOA,UAAK,CAAC,cAAM,OAAAC,oBAAc,CAAC,IAAI,CAAC,GAAA,CAAC,CAAC,IAAI,CAACC,aAAG,CAAC,UAAA,CAAC,IAAI,OAAA,IAAI,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,GAAA,CAAC,CAAC,CAAA;SACrF;QAEM,sCAAS,GAAT,UAAU,OAAe;YAC9B,OAAOF,UAAK,CAAC,cAAM,OAAAG,eAAS,CAAC,OAAO,CAAC,GAAA,CAAC,CAAC,IAAI,CAACD,aAAG,CAAC,UAAA,CAAC,IAAI,OAAA,IAAI,cAAc,CAAC,CAAC,EAAE,SAAS,EAAE,OAAO,CAAC,GAAA,CAAC,CAAC,CAAA;SACjG;;;;;gBAbFE,aAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;;;QCdC,8BACU,OAAe;YAAf,YAAO,GAAP,OAAO,CAAQ;SACpB;QAEE,uCAAQ,GAAR,UAAS,GAAqB,EAAE,KAAc;YAA9C,iBAUN;YATC,IAAM,IAAI,GAAyB,KAAK;kBACpC,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;kBACtF,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAA;YAE5F,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAC7BC,gBAAM,CAAC,UAAA,KAAK,IAAI,OAAA,KAAK,YAAYC,gBAAa,GAAA,CAAC,EAC/CJ,aAAG,CAAC,UAAA,KAAK,IAAI,OAAA,KAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,GAAA,CAAC,EAC9CK,mBAAS,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,CAC5C,CAAA;SACF;;;;;gBAnBFH,aAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;gBAN6CI,SAAM;;;ICcpD;;;;;;;;QAYE;SAAiB;;;;;;;;;;;;QAaV,uCAAI,GAAJ,UAAK,MAAsB;YAChC,OAAO,IAAIC,eAAU,CAAC,UAAC,UAAyC;gBAC9DC,2BAAO,CAAC,IAAI,iCACP,MAAM;;oBAET,OAAO,EAAE;wBACP,IAAIC,iBAAW,CAAC,MAAM,EAAE,SAAS,CAAC,EAAE;4BAClC,MAAM,CAAC,OAAO,EAAE,CAAA;yBACjB;wBACD,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAA;qBACrC;;oBAED,MAAM,EAAE;wBACN,IAAIA,iBAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,EAAE;4BACjC,MAAM,CAAC,MAAM,EAAE,CAAA;yBAChB;wBACD,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAA;qBACpC;;oBAED,QAAQ,EAAE;wBACR,IAAIA,iBAAW,CAAC,MAAM,EAAE,UAAU,CAAC,EAAE;4BACnC,MAAM,CAAC,QAAQ,EAAE,CAAA;yBAClB;wBACD,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAA;qBACtC;;oBAED,WAAW,EAAE,UAAC,UAAkB,EAAE,GAAW;wBAC3C,IAAIA,iBAAW,CAAC,MAAM,EAAE,aAAa,CAAC,EAAE;4BACtC,MAAM,CAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,CAAA;yBACpC;wBACD,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,YAAA,EAAE,GAAG,KAAA,EAAE,CAAC,CAAA;qBAC1D;;oBAED,UAAU,EAAE,UAAC,UAAkB,EAAE,GAAW;wBAC1C,IAAIA,iBAAW,CAAC,MAAM,EAAE,YAAY,CAAC,EAAE;4BACrC,MAAM,CAAC,UAAU,CAAC,UAAU,EAAE,GAAG,CAAC,CAAA;yBACnC;wBACD,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,UAAU,YAAA,EAAE,GAAG,KAAA,EAAE,CAAC,CAAA;qBACzD;;oBAED,YAAY,EAAE,UAAC,UAAkB,EAAE,GAAW;wBAC5C,IAAIA,iBAAW,CAAC,MAAM,EAAE,cAAc,CAAC,EAAE;4BACvC,MAAM,CAAC,YAAY,CAAC,UAAU,EAAE,GAAG,CAAC,CAAA;yBACrC;wBACD,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,YAAA,EAAE,GAAG,KAAA,EAAE,CAAC,CAAA;qBAC3D;mBACD,CAAA;aACH,CAAC,CAAA;SACH;;;;;gBAlEFP,aAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;;ICxBD;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,1115 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/coercion'), require('@angular/core'), require('@fortawesome/free-regular-svg-icons'), require('@theseam/ui-common/modal'), require('@angular/forms'), require('css-element-queries'), require('rxjs'), require('rxjs/operators'), require('@ng-select/ng-select'), require('ngx-quill'), require('@theseam/ui-common/utils'), require('@angular/common'), require('@fortawesome/angular-fontawesome'), require('@theseam/ui-common/loading'), require('@theseam/ui-common/scrollbar')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@theseam/ui-common/shared', ['exports', '@angular/cdk/coercion', '@angular/core', '@fortawesome/free-regular-svg-icons', '@theseam/ui-common/modal', '@angular/forms', 'css-element-queries', 'rxjs', 'rxjs/operators', '@ng-select/ng-select', 'ngx-quill', '@theseam/ui-common/utils', '@angular/common', '@fortawesome/angular-fontawesome', '@theseam/ui-common/loading', '@theseam/ui-common/scrollbar'], 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'].shared = {}), global.ng.cdk.coercion, global.ng.core, global.freeRegularSvgIcons, global.theseam['ui-common'].modal, global.ng.forms, global.cssElementQueries, global.rxjs, global.rxjs.operators, global.ngSelect, global.ngxQuill, global.theseam['ui-common'].utils, global.ng.common, global.angularFontawesome, global.theseam['ui-common'].loading, global.theseam['ui-common'].scrollbar));
|
|
5
|
+
}(this, (function (exports, coercion, core, freeRegularSvgIcons, modal, forms, cssElementQueries, rxjs, operators, ngSelect, ngxQuill, utils, common, angularFontawesome, loading, scrollbar) { 'use strict';
|
|
6
|
+
|
|
7
|
+
var PasswordInputRevealComponent = /** @class */ (function () {
|
|
8
|
+
function PasswordInputRevealComponent() {
|
|
9
|
+
this.faEye = freeRegularSvgIcons.faEye;
|
|
10
|
+
this.faEyeSlash = freeRegularSvgIcons.faEyeSlash;
|
|
11
|
+
this._passwordVisible = false;
|
|
12
|
+
}
|
|
13
|
+
Object.defineProperty(PasswordInputRevealComponent.prototype, "inputRef", {
|
|
14
|
+
get: function () { return this._passwordInput; },
|
|
15
|
+
set: function (value) {
|
|
16
|
+
this._passwordInput = value;
|
|
17
|
+
this.updateRevealState();
|
|
18
|
+
if (this._passwordInput) {
|
|
19
|
+
this._passwordInput.style.paddingRight = '40px';
|
|
20
|
+
this._passwordInput.classList.add('no-native-eye');
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
enumerable: false,
|
|
24
|
+
configurable: true
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(PasswordInputRevealComponent.prototype, "passwordVisible", {
|
|
27
|
+
get: function () { return this._passwordVisible; },
|
|
28
|
+
set: function (value) {
|
|
29
|
+
this._passwordVisible = coercion.coerceBooleanProperty(value);
|
|
30
|
+
this.updateRevealState();
|
|
31
|
+
},
|
|
32
|
+
enumerable: false,
|
|
33
|
+
configurable: true
|
|
34
|
+
});
|
|
35
|
+
PasswordInputRevealComponent.prototype.updateRevealState = function () {
|
|
36
|
+
if (this._passwordInput) {
|
|
37
|
+
this._passwordInput.type = this.passwordVisible ? 'text' : 'password';
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
PasswordInputRevealComponent.prototype.revealPassword = function () {
|
|
41
|
+
this.passwordVisible = !this.passwordVisible;
|
|
42
|
+
};
|
|
43
|
+
return PasswordInputRevealComponent;
|
|
44
|
+
}());
|
|
45
|
+
PasswordInputRevealComponent.decorators = [
|
|
46
|
+
{ type: core.Component, args: [{
|
|
47
|
+
selector: 'seam-password-input-reveal',
|
|
48
|
+
template: "\n <fa-icon [icon]=\"passwordVisible ? faEyeSlash : faEye\" class=\"password-reveal-icon\" (click)=\"revealPassword()\"></fa-icon>\n ",
|
|
49
|
+
styles: ["\n :host {\n display: flex;\n align-items: center;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n width: 30px;\n transform: translateZ(0);\n z-index: 50;\n }\n\n :host fa-icon {\n opacity: 1;\n color: #bababa;\n margin-top: 3px;\n cursor: pointer;\n }\n\n :host fa-icon ::ng-deep {\n .svg-inline--fa {\n vertical-align: middle;\n }\n }\n "]
|
|
50
|
+
},] }
|
|
51
|
+
];
|
|
52
|
+
PasswordInputRevealComponent.propDecorators = {
|
|
53
|
+
inputRef: [{ type: core.Input }],
|
|
54
|
+
passwordVisible: [{ type: core.Input }]
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
var AutoFocusDirective = /** @class */ (function () {
|
|
58
|
+
function AutoFocusDirective(_elementRef, _modal, _modalRef) {
|
|
59
|
+
this._elementRef = _elementRef;
|
|
60
|
+
this._modal = _modal;
|
|
61
|
+
this._modalRef = _modalRef;
|
|
62
|
+
this._focus = true;
|
|
63
|
+
this.modalRef = _modalRef;
|
|
64
|
+
}
|
|
65
|
+
AutoFocusDirective.prototype.ngOnInit = function () {
|
|
66
|
+
var _this = this;
|
|
67
|
+
if (!this.modalRef) {
|
|
68
|
+
// When this directive is included in a dialog via TemplateRef (rather than being
|
|
69
|
+
// in a Component), the DialogRef isn't available via injection because embedded
|
|
70
|
+
// views cannot be given a custom injector. Instead, we look up the DialogRef by
|
|
71
|
+
// ID. This must occur in `onInit`, as the ID binding for the dialog container won't
|
|
72
|
+
// be resolved at constructor time.
|
|
73
|
+
this.modalRef = modal.getClosestModal(this._elementRef, this._modal.openDialogs);
|
|
74
|
+
}
|
|
75
|
+
if (!this.modalRef) {
|
|
76
|
+
if (this._focus) {
|
|
77
|
+
setTimeout(function () { _this.focus(); });
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
this.modalRef.afterOpened().subscribe(function () {
|
|
82
|
+
setTimeout(function () { _this.focus(); });
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
Object.defineProperty(AutoFocusDirective.prototype, "seamAutoFocus", {
|
|
87
|
+
set: function (condition) {
|
|
88
|
+
this._focus = coercion.coerceBooleanProperty(condition) !== false;
|
|
89
|
+
},
|
|
90
|
+
enumerable: false,
|
|
91
|
+
configurable: true
|
|
92
|
+
});
|
|
93
|
+
AutoFocusDirective.prototype.focus = function () {
|
|
94
|
+
this._elementRef.nativeElement.focus();
|
|
95
|
+
};
|
|
96
|
+
return AutoFocusDirective;
|
|
97
|
+
}());
|
|
98
|
+
AutoFocusDirective.decorators = [
|
|
99
|
+
{ type: core.Directive, args: [{
|
|
100
|
+
selector: '[seamAutoFocus]',
|
|
101
|
+
exportAs: 'seamAutoFocus'
|
|
102
|
+
},] }
|
|
103
|
+
];
|
|
104
|
+
AutoFocusDirective.ctorParameters = function () { return [
|
|
105
|
+
{ type: core.ElementRef },
|
|
106
|
+
{ type: modal.Modal },
|
|
107
|
+
{ type: modal.ModalRef, decorators: [{ type: core.Optional }] }
|
|
108
|
+
]; };
|
|
109
|
+
AutoFocusDirective.propDecorators = {
|
|
110
|
+
seamAutoFocus: [{ type: core.Input }]
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
var ClickOutsideDirective = /** @class */ (function () {
|
|
114
|
+
function ClickOutsideDirective(elementRef) {
|
|
115
|
+
this.elementRef = elementRef;
|
|
116
|
+
this._active = true;
|
|
117
|
+
this.seamClickOutside = new core.EventEmitter();
|
|
118
|
+
}
|
|
119
|
+
Object.defineProperty(ClickOutsideDirective.prototype, "seamClickOutsideActive", {
|
|
120
|
+
get: function () {
|
|
121
|
+
return this._active;
|
|
122
|
+
},
|
|
123
|
+
set: function (value) {
|
|
124
|
+
var _this = this;
|
|
125
|
+
if (this._active === value) {
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
if (value) {
|
|
129
|
+
// `setTimeout` is used to avoid the click event triggering when the value
|
|
130
|
+
// changes if the value was changed with a click.
|
|
131
|
+
setTimeout(function () { _this._active = value; });
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
this._active = value;
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
enumerable: false,
|
|
138
|
+
configurable: true
|
|
139
|
+
});
|
|
140
|
+
// NOTE: This should probably be changed from a `HostListener` to allow the
|
|
141
|
+
// subscription to be unsubscribed.
|
|
142
|
+
ClickOutsideDirective.prototype.onDocumentClick = function (event) {
|
|
143
|
+
if (this._active) {
|
|
144
|
+
var targetElement = event.target;
|
|
145
|
+
// Check if the click was outside the element
|
|
146
|
+
if (targetElement && !this.elementRef.nativeElement.contains(targetElement)) {
|
|
147
|
+
this.seamClickOutside.emit(event);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
return ClickOutsideDirective;
|
|
152
|
+
}());
|
|
153
|
+
ClickOutsideDirective.decorators = [
|
|
154
|
+
{ type: core.Directive, args: [{
|
|
155
|
+
selector: '[seamClickOutside]'
|
|
156
|
+
},] }
|
|
157
|
+
];
|
|
158
|
+
ClickOutsideDirective.ctorParameters = function () { return [
|
|
159
|
+
{ type: core.ElementRef }
|
|
160
|
+
]; };
|
|
161
|
+
ClickOutsideDirective.propDecorators = {
|
|
162
|
+
seamClickOutsideActive: [{ type: core.Input }],
|
|
163
|
+
seamClickOutside: [{ type: core.Output }],
|
|
164
|
+
onDocumentClick: [{ type: core.HostListener, args: ['document:click', ['$event'],] }]
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
// Source: https://netbasal.com/disabling-form-controls-when-working-with-reactive-forms-in-angular-549dd7b42110
|
|
168
|
+
var DisableControlDirective = /** @class */ (function () {
|
|
169
|
+
function DisableControlDirective(ngControl) {
|
|
170
|
+
this.ngControl = ngControl;
|
|
171
|
+
}
|
|
172
|
+
Object.defineProperty(DisableControlDirective.prototype, "seamDisableControl", {
|
|
173
|
+
set: function (condition) {
|
|
174
|
+
var action = condition ? 'disable' : 'enable';
|
|
175
|
+
var control = this.ngControl.control;
|
|
176
|
+
if (control) {
|
|
177
|
+
control[action]();
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
enumerable: false,
|
|
181
|
+
configurable: true
|
|
182
|
+
});
|
|
183
|
+
return DisableControlDirective;
|
|
184
|
+
}());
|
|
185
|
+
DisableControlDirective.decorators = [
|
|
186
|
+
{ type: core.Directive, args: [{
|
|
187
|
+
selector: '[seamDisableControl]'
|
|
188
|
+
},] }
|
|
189
|
+
];
|
|
190
|
+
DisableControlDirective.ctorParameters = function () { return [
|
|
191
|
+
{ type: forms.NgControl }
|
|
192
|
+
]; };
|
|
193
|
+
DisableControlDirective.propDecorators = {
|
|
194
|
+
seamDisableControl: [{ type: core.Input }]
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
var ElemResizedDirective = /** @class */ (function () {
|
|
198
|
+
function ElemResizedDirective(elementRef) {
|
|
199
|
+
this.elementRef = elementRef;
|
|
200
|
+
this.seamElemResized = new core.EventEmitter();
|
|
201
|
+
}
|
|
202
|
+
ElemResizedDirective.prototype.ngAfterViewInit = function () {
|
|
203
|
+
var _this = this;
|
|
204
|
+
this.sensor = new cssElementQueries.ResizeSensor(this.elementRef.nativeElement, function (event) {
|
|
205
|
+
_this.seamElemResized.emit({ element: _this.elementRef.nativeElement, size: event });
|
|
206
|
+
});
|
|
207
|
+
};
|
|
208
|
+
ElemResizedDirective.prototype.ngOnDestroy = function () {
|
|
209
|
+
var _a;
|
|
210
|
+
(_a = this.sensor) === null || _a === void 0 ? void 0 : _a.detach();
|
|
211
|
+
};
|
|
212
|
+
return ElemResizedDirective;
|
|
213
|
+
}());
|
|
214
|
+
ElemResizedDirective.decorators = [
|
|
215
|
+
{ type: core.Directive, args: [{
|
|
216
|
+
selector: '[seamElemResized]'
|
|
217
|
+
},] }
|
|
218
|
+
];
|
|
219
|
+
ElemResizedDirective.ctorParameters = function () { return [
|
|
220
|
+
{ type: core.ElementRef }
|
|
221
|
+
]; };
|
|
222
|
+
ElemResizedDirective.propDecorators = {
|
|
223
|
+
seamElemResized: [{ type: core.Output }]
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
/*! *****************************************************************************
|
|
227
|
+
Copyright (c) Microsoft Corporation.
|
|
228
|
+
|
|
229
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
230
|
+
purpose with or without fee is hereby granted.
|
|
231
|
+
|
|
232
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
233
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
234
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
235
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
236
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
237
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
238
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
239
|
+
***************************************************************************** */
|
|
240
|
+
/* global Reflect, Promise */
|
|
241
|
+
var extendStatics = function (d, b) {
|
|
242
|
+
extendStatics = Object.setPrototypeOf ||
|
|
243
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
244
|
+
function (d, b) { for (var p in b)
|
|
245
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
246
|
+
d[p] = b[p]; };
|
|
247
|
+
return extendStatics(d, b);
|
|
248
|
+
};
|
|
249
|
+
function __extends(d, b) {
|
|
250
|
+
if (typeof b !== "function" && b !== null)
|
|
251
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
252
|
+
extendStatics(d, b);
|
|
253
|
+
function __() { this.constructor = d; }
|
|
254
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
255
|
+
}
|
|
256
|
+
var __assign = function () {
|
|
257
|
+
__assign = Object.assign || function __assign(t) {
|
|
258
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
259
|
+
s = arguments[i];
|
|
260
|
+
for (var p in s)
|
|
261
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
262
|
+
t[p] = s[p];
|
|
263
|
+
}
|
|
264
|
+
return t;
|
|
265
|
+
};
|
|
266
|
+
return __assign.apply(this, arguments);
|
|
267
|
+
};
|
|
268
|
+
function __rest(s, e) {
|
|
269
|
+
var t = {};
|
|
270
|
+
for (var p in s)
|
|
271
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
272
|
+
t[p] = s[p];
|
|
273
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
274
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
275
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
276
|
+
t[p[i]] = s[p[i]];
|
|
277
|
+
}
|
|
278
|
+
return t;
|
|
279
|
+
}
|
|
280
|
+
function __decorate(decorators, target, key, desc) {
|
|
281
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
282
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
283
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
284
|
+
else
|
|
285
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
286
|
+
if (d = decorators[i])
|
|
287
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
288
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
289
|
+
}
|
|
290
|
+
function __param(paramIndex, decorator) {
|
|
291
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
292
|
+
}
|
|
293
|
+
function __metadata(metadataKey, metadataValue) {
|
|
294
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
295
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
296
|
+
}
|
|
297
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
298
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
299
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
300
|
+
function fulfilled(value) { try {
|
|
301
|
+
step(generator.next(value));
|
|
302
|
+
}
|
|
303
|
+
catch (e) {
|
|
304
|
+
reject(e);
|
|
305
|
+
} }
|
|
306
|
+
function rejected(value) { try {
|
|
307
|
+
step(generator["throw"](value));
|
|
308
|
+
}
|
|
309
|
+
catch (e) {
|
|
310
|
+
reject(e);
|
|
311
|
+
} }
|
|
312
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
313
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
function __generator(thisArg, body) {
|
|
317
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
318
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
319
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
320
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
321
|
+
function step(op) {
|
|
322
|
+
if (f)
|
|
323
|
+
throw new TypeError("Generator is already executing.");
|
|
324
|
+
while (_)
|
|
325
|
+
try {
|
|
326
|
+
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)
|
|
327
|
+
return t;
|
|
328
|
+
if (y = 0, t)
|
|
329
|
+
op = [op[0] & 2, t.value];
|
|
330
|
+
switch (op[0]) {
|
|
331
|
+
case 0:
|
|
332
|
+
case 1:
|
|
333
|
+
t = op;
|
|
334
|
+
break;
|
|
335
|
+
case 4:
|
|
336
|
+
_.label++;
|
|
337
|
+
return { value: op[1], done: false };
|
|
338
|
+
case 5:
|
|
339
|
+
_.label++;
|
|
340
|
+
y = op[1];
|
|
341
|
+
op = [0];
|
|
342
|
+
continue;
|
|
343
|
+
case 7:
|
|
344
|
+
op = _.ops.pop();
|
|
345
|
+
_.trys.pop();
|
|
346
|
+
continue;
|
|
347
|
+
default:
|
|
348
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
349
|
+
_ = 0;
|
|
350
|
+
continue;
|
|
351
|
+
}
|
|
352
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
353
|
+
_.label = op[1];
|
|
354
|
+
break;
|
|
355
|
+
}
|
|
356
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
357
|
+
_.label = t[1];
|
|
358
|
+
t = op;
|
|
359
|
+
break;
|
|
360
|
+
}
|
|
361
|
+
if (t && _.label < t[2]) {
|
|
362
|
+
_.label = t[2];
|
|
363
|
+
_.ops.push(op);
|
|
364
|
+
break;
|
|
365
|
+
}
|
|
366
|
+
if (t[2])
|
|
367
|
+
_.ops.pop();
|
|
368
|
+
_.trys.pop();
|
|
369
|
+
continue;
|
|
370
|
+
}
|
|
371
|
+
op = body.call(thisArg, _);
|
|
372
|
+
}
|
|
373
|
+
catch (e) {
|
|
374
|
+
op = [6, e];
|
|
375
|
+
y = 0;
|
|
376
|
+
}
|
|
377
|
+
finally {
|
|
378
|
+
f = t = 0;
|
|
379
|
+
}
|
|
380
|
+
if (op[0] & 5)
|
|
381
|
+
throw op[1];
|
|
382
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
386
|
+
if (k2 === undefined)
|
|
387
|
+
k2 = k;
|
|
388
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
389
|
+
}) : (function (o, m, k, k2) {
|
|
390
|
+
if (k2 === undefined)
|
|
391
|
+
k2 = k;
|
|
392
|
+
o[k2] = m[k];
|
|
393
|
+
});
|
|
394
|
+
function __exportStar(m, o) {
|
|
395
|
+
for (var p in m)
|
|
396
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
397
|
+
__createBinding(o, m, p);
|
|
398
|
+
}
|
|
399
|
+
function __values(o) {
|
|
400
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
401
|
+
if (m)
|
|
402
|
+
return m.call(o);
|
|
403
|
+
if (o && typeof o.length === "number")
|
|
404
|
+
return {
|
|
405
|
+
next: function () {
|
|
406
|
+
if (o && i >= o.length)
|
|
407
|
+
o = void 0;
|
|
408
|
+
return { value: o && o[i++], done: !o };
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
412
|
+
}
|
|
413
|
+
function __read(o, n) {
|
|
414
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
415
|
+
if (!m)
|
|
416
|
+
return o;
|
|
417
|
+
var i = m.call(o), r, ar = [], e;
|
|
418
|
+
try {
|
|
419
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
420
|
+
ar.push(r.value);
|
|
421
|
+
}
|
|
422
|
+
catch (error) {
|
|
423
|
+
e = { error: error };
|
|
424
|
+
}
|
|
425
|
+
finally {
|
|
426
|
+
try {
|
|
427
|
+
if (r && !r.done && (m = i["return"]))
|
|
428
|
+
m.call(i);
|
|
429
|
+
}
|
|
430
|
+
finally {
|
|
431
|
+
if (e)
|
|
432
|
+
throw e.error;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
return ar;
|
|
436
|
+
}
|
|
437
|
+
/** @deprecated */
|
|
438
|
+
function __spread() {
|
|
439
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
440
|
+
ar = ar.concat(__read(arguments[i]));
|
|
441
|
+
return ar;
|
|
442
|
+
}
|
|
443
|
+
/** @deprecated */
|
|
444
|
+
function __spreadArrays() {
|
|
445
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
446
|
+
s += arguments[i].length;
|
|
447
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
448
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
449
|
+
r[k] = a[j];
|
|
450
|
+
return r;
|
|
451
|
+
}
|
|
452
|
+
function __spreadArray(to, from, pack) {
|
|
453
|
+
if (pack || arguments.length === 2)
|
|
454
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
455
|
+
if (ar || !(i in from)) {
|
|
456
|
+
if (!ar)
|
|
457
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
458
|
+
ar[i] = from[i];
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
return to.concat(ar || from);
|
|
462
|
+
}
|
|
463
|
+
function __await(v) {
|
|
464
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
465
|
+
}
|
|
466
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
467
|
+
if (!Symbol.asyncIterator)
|
|
468
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
469
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
470
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
471
|
+
function verb(n) { if (g[n])
|
|
472
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
473
|
+
function resume(n, v) { try {
|
|
474
|
+
step(g[n](v));
|
|
475
|
+
}
|
|
476
|
+
catch (e) {
|
|
477
|
+
settle(q[0][3], e);
|
|
478
|
+
} }
|
|
479
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
480
|
+
function fulfill(value) { resume("next", value); }
|
|
481
|
+
function reject(value) { resume("throw", value); }
|
|
482
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
483
|
+
resume(q[0][0], q[0][1]); }
|
|
484
|
+
}
|
|
485
|
+
function __asyncDelegator(o) {
|
|
486
|
+
var i, p;
|
|
487
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
488
|
+
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; }
|
|
489
|
+
}
|
|
490
|
+
function __asyncValues(o) {
|
|
491
|
+
if (!Symbol.asyncIterator)
|
|
492
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
493
|
+
var m = o[Symbol.asyncIterator], i;
|
|
494
|
+
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);
|
|
495
|
+
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); }); }; }
|
|
496
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
497
|
+
}
|
|
498
|
+
function __makeTemplateObject(cooked, raw) {
|
|
499
|
+
if (Object.defineProperty) {
|
|
500
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
501
|
+
}
|
|
502
|
+
else {
|
|
503
|
+
cooked.raw = raw;
|
|
504
|
+
}
|
|
505
|
+
return cooked;
|
|
506
|
+
}
|
|
507
|
+
;
|
|
508
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
509
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
510
|
+
}) : function (o, v) {
|
|
511
|
+
o["default"] = v;
|
|
512
|
+
};
|
|
513
|
+
function __importStar(mod) {
|
|
514
|
+
if (mod && mod.__esModule)
|
|
515
|
+
return mod;
|
|
516
|
+
var result = {};
|
|
517
|
+
if (mod != null)
|
|
518
|
+
for (var k in mod)
|
|
519
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
520
|
+
__createBinding(result, mod, k);
|
|
521
|
+
__setModuleDefault(result, mod);
|
|
522
|
+
return result;
|
|
523
|
+
}
|
|
524
|
+
function __importDefault(mod) {
|
|
525
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
526
|
+
}
|
|
527
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
528
|
+
if (kind === "a" && !f)
|
|
529
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
530
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
531
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
532
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
533
|
+
}
|
|
534
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
535
|
+
if (kind === "m")
|
|
536
|
+
throw new TypeError("Private method is not writable");
|
|
537
|
+
if (kind === "a" && !f)
|
|
538
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
539
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
540
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
541
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Don't use this directive unless there is a reason not to use css `:hover`,
|
|
546
|
+
* because the accuracy of detecting the hover is not as good. If an element is
|
|
547
|
+
* moved while the mouse is idle the hover class will remain until the mouse
|
|
548
|
+
* enters and leaves again.
|
|
549
|
+
*
|
|
550
|
+
* I have tried multiple ways of detecting the mouse no longer hovering, but all
|
|
551
|
+
* have introduced a slight performance issue that just builds for each element
|
|
552
|
+
* containing this directive.
|
|
553
|
+
*/
|
|
554
|
+
var HoverClassToggleDirective = /** @class */ (function () {
|
|
555
|
+
function HoverClassToggleDirective(_element) {
|
|
556
|
+
this._element = _element;
|
|
557
|
+
this._hovered = false;
|
|
558
|
+
this._defaultClasses = [];
|
|
559
|
+
this._hoverClasses = [];
|
|
560
|
+
}
|
|
561
|
+
HoverClassToggleDirective.prototype.onMouseOver = function ($event) {
|
|
562
|
+
this._setHovered(true);
|
|
563
|
+
};
|
|
564
|
+
HoverClassToggleDirective.prototype.onMouseOut = function ($event) {
|
|
565
|
+
this._setHovered(false);
|
|
566
|
+
};
|
|
567
|
+
HoverClassToggleDirective.prototype.onPointerOver = function ($event) {
|
|
568
|
+
this._setHovered(true);
|
|
569
|
+
};
|
|
570
|
+
HoverClassToggleDirective.prototype.onPointerOut = function ($event) {
|
|
571
|
+
this._setHovered(false);
|
|
572
|
+
};
|
|
573
|
+
Object.defineProperty(HoverClassToggleDirective.prototype, "seamHoverClassToggle", {
|
|
574
|
+
set: function (value) {
|
|
575
|
+
var _this = this;
|
|
576
|
+
if (value) {
|
|
577
|
+
if (value.default) {
|
|
578
|
+
this._defaultClasses = value.default.split(' ').filter(function (c) { return c.length > 0; });
|
|
579
|
+
}
|
|
580
|
+
if (value.hover) {
|
|
581
|
+
this._hoverClasses = value.hover.split(' ').filter(function (c) { return c.length > 0; });
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
this._hoverClasses = this._hoverClasses.filter(function (v) { return !_this._defaultClasses.find(function (_v) { return _v === v; }); });
|
|
585
|
+
this._update();
|
|
586
|
+
},
|
|
587
|
+
enumerable: false,
|
|
588
|
+
configurable: true
|
|
589
|
+
});
|
|
590
|
+
HoverClassToggleDirective.prototype._update = function () {
|
|
591
|
+
var e_1, _a, e_2, _b;
|
|
592
|
+
try {
|
|
593
|
+
for (var _c = __values(this._defaultClasses), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
594
|
+
var c = _d.value;
|
|
595
|
+
this._hovered ? this._removeClass(c) : this._addClass(c);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
599
|
+
finally {
|
|
600
|
+
try {
|
|
601
|
+
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
|
602
|
+
}
|
|
603
|
+
finally { if (e_1) throw e_1.error; }
|
|
604
|
+
}
|
|
605
|
+
try {
|
|
606
|
+
for (var _e = __values(this._hoverClasses), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
607
|
+
var c = _f.value;
|
|
608
|
+
this._hovered ? this._addClass(c) : this._removeClass(c);
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
612
|
+
finally {
|
|
613
|
+
try {
|
|
614
|
+
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
|
615
|
+
}
|
|
616
|
+
finally { if (e_2) throw e_2.error; }
|
|
617
|
+
}
|
|
618
|
+
};
|
|
619
|
+
HoverClassToggleDirective.prototype._setHovered = function (hovered) {
|
|
620
|
+
var doUpdate = this._hovered !== hovered;
|
|
621
|
+
this._hovered = hovered;
|
|
622
|
+
if (doUpdate) {
|
|
623
|
+
this._update();
|
|
624
|
+
}
|
|
625
|
+
};
|
|
626
|
+
HoverClassToggleDirective.prototype._addClass = function (c) {
|
|
627
|
+
this._element.nativeElement.classList.add(c);
|
|
628
|
+
};
|
|
629
|
+
HoverClassToggleDirective.prototype._removeClass = function (c) {
|
|
630
|
+
this._element.nativeElement.classList.remove(c);
|
|
631
|
+
};
|
|
632
|
+
return HoverClassToggleDirective;
|
|
633
|
+
}());
|
|
634
|
+
HoverClassToggleDirective.decorators = [
|
|
635
|
+
{ type: core.Directive, args: [{
|
|
636
|
+
selector: '[seamHoverClassToggle]'
|
|
637
|
+
},] }
|
|
638
|
+
];
|
|
639
|
+
HoverClassToggleDirective.ctorParameters = function () { return [
|
|
640
|
+
{ type: core.ElementRef }
|
|
641
|
+
]; };
|
|
642
|
+
HoverClassToggleDirective.propDecorators = {
|
|
643
|
+
onMouseOver: [{ type: core.HostListener, args: ['mouseover', ['$event'],] }],
|
|
644
|
+
onMouseOut: [{ type: core.HostListener, args: ['mouseout', ['$event'],] }],
|
|
645
|
+
onPointerOver: [{ type: core.HostListener, args: ['pointerover', ['$event'],] }],
|
|
646
|
+
onPointerOut: [{ type: core.HostListener, args: ['pointerout', ['$event'],] }],
|
|
647
|
+
seamHoverClassToggle: [{ type: core.Input }]
|
|
648
|
+
};
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Don't use this directive unless there is a reason not to use css `:hover`,
|
|
652
|
+
* because the accuracy of detecting the hover is not as good. If an element is
|
|
653
|
+
* moved while the mouse is idle the hover class will remain until the mouse
|
|
654
|
+
* enters and leaves again.
|
|
655
|
+
*
|
|
656
|
+
* I have tried multiple ways of detecting the mouse no longer hovering, but all
|
|
657
|
+
* have introduced a slight performance issue that just builds for each element
|
|
658
|
+
* containing this directive.
|
|
659
|
+
*/
|
|
660
|
+
var HoverClassDirective = /** @class */ (function () {
|
|
661
|
+
function HoverClassDirective(_element) {
|
|
662
|
+
this._element = _element;
|
|
663
|
+
this._hovered = false;
|
|
664
|
+
this._classes = [];
|
|
665
|
+
}
|
|
666
|
+
HoverClassDirective.prototype.onMouseOver = function ($event) {
|
|
667
|
+
this._setHovered(true);
|
|
668
|
+
};
|
|
669
|
+
HoverClassDirective.prototype.onMouseOut = function ($event) {
|
|
670
|
+
this._setHovered(false);
|
|
671
|
+
};
|
|
672
|
+
HoverClassDirective.prototype.onPointerOver = function ($event) {
|
|
673
|
+
this._setHovered(true);
|
|
674
|
+
};
|
|
675
|
+
HoverClassDirective.prototype.onPointerOut = function ($event) {
|
|
676
|
+
this._setHovered(false);
|
|
677
|
+
};
|
|
678
|
+
Object.defineProperty(HoverClassDirective.prototype, "seamHoverClass", {
|
|
679
|
+
set: function (classList) {
|
|
680
|
+
var e_1, _a;
|
|
681
|
+
var newClasses = classList.split(' ').filter(function (c) { return c.length > 0; });
|
|
682
|
+
try {
|
|
683
|
+
for (var _b = __values(this._classes), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
684
|
+
var c = _c.value;
|
|
685
|
+
if (newClasses.indexOf(c) !== 0) {
|
|
686
|
+
this._removeClass(c);
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
691
|
+
finally {
|
|
692
|
+
try {
|
|
693
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
694
|
+
}
|
|
695
|
+
finally { if (e_1) throw e_1.error; }
|
|
696
|
+
}
|
|
697
|
+
this._classes = newClasses;
|
|
698
|
+
this._update();
|
|
699
|
+
},
|
|
700
|
+
enumerable: false,
|
|
701
|
+
configurable: true
|
|
702
|
+
});
|
|
703
|
+
HoverClassDirective.prototype._update = function () {
|
|
704
|
+
var e_2, _a;
|
|
705
|
+
try {
|
|
706
|
+
for (var _b = __values(this._classes), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
707
|
+
var c = _c.value;
|
|
708
|
+
this._hovered ? this._addClass(c) : this._removeClass(c);
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
712
|
+
finally {
|
|
713
|
+
try {
|
|
714
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
715
|
+
}
|
|
716
|
+
finally { if (e_2) throw e_2.error; }
|
|
717
|
+
}
|
|
718
|
+
};
|
|
719
|
+
HoverClassDirective.prototype._setHovered = function (hovered) {
|
|
720
|
+
var doUpdate = this._hovered !== hovered;
|
|
721
|
+
this._hovered = hovered;
|
|
722
|
+
if (doUpdate) {
|
|
723
|
+
this._update();
|
|
724
|
+
}
|
|
725
|
+
};
|
|
726
|
+
HoverClassDirective.prototype._addClass = function (c) {
|
|
727
|
+
this._element.nativeElement.classList.add(c);
|
|
728
|
+
};
|
|
729
|
+
HoverClassDirective.prototype._removeClass = function (c) {
|
|
730
|
+
this._element.nativeElement.classList.remove(c);
|
|
731
|
+
};
|
|
732
|
+
return HoverClassDirective;
|
|
733
|
+
}());
|
|
734
|
+
HoverClassDirective.decorators = [
|
|
735
|
+
{ type: core.Directive, args: [{
|
|
736
|
+
selector: '[seamHoverClass]'
|
|
737
|
+
},] }
|
|
738
|
+
];
|
|
739
|
+
HoverClassDirective.ctorParameters = function () { return [
|
|
740
|
+
{ type: core.ElementRef }
|
|
741
|
+
]; };
|
|
742
|
+
HoverClassDirective.propDecorators = {
|
|
743
|
+
onMouseOver: [{ type: core.HostListener, args: ['mouseover', ['$event'],] }],
|
|
744
|
+
onMouseOut: [{ type: core.HostListener, args: ['mouseout', ['$event'],] }],
|
|
745
|
+
onPointerOver: [{ type: core.HostListener, args: ['pointerover', ['$event'],] }],
|
|
746
|
+
onPointerOut: [{ type: core.HostListener, args: ['pointerout', ['$event'],] }],
|
|
747
|
+
seamHoverClass: [{ type: core.Input }]
|
|
748
|
+
};
|
|
749
|
+
|
|
750
|
+
var NgSelectExtraDirective = /** @class */ (function () {
|
|
751
|
+
function NgSelectExtraDirective(elementRef, _ngZone, ngSelect, ngControl) {
|
|
752
|
+
var _this = this;
|
|
753
|
+
this.elementRef = elementRef;
|
|
754
|
+
this._ngZone = _ngZone;
|
|
755
|
+
this.ngSelect = ngSelect;
|
|
756
|
+
this.ngControl = ngControl;
|
|
757
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
758
|
+
this._markedItem = null;
|
|
759
|
+
this._checkMarked = false;
|
|
760
|
+
this._keyPressWorkaroundSub = null;
|
|
761
|
+
this._resizedEvent = new core.EventEmitter();
|
|
762
|
+
this._onScroll = function (event) {
|
|
763
|
+
if (_this.ngSelect && _this.ngSelect.isOpen) {
|
|
764
|
+
var isScrollingInScrollHost = event.target.className.indexOf('ng-dropdown-panel-items') !== -1;
|
|
765
|
+
var isInSensor = event.target.className.indexOf('resize-sensor-shrink') !== -1 ||
|
|
766
|
+
event.target.className.indexOf('os-resize-observer-host') !== -1;
|
|
767
|
+
if (isScrollingInScrollHost || isInSensor) {
|
|
768
|
+
return;
|
|
769
|
+
}
|
|
770
|
+
_this.ngSelect.close();
|
|
771
|
+
}
|
|
772
|
+
};
|
|
773
|
+
}
|
|
774
|
+
Object.defineProperty(NgSelectExtraDirective.prototype, "_tabIndex", {
|
|
775
|
+
/**
|
|
776
|
+
* Set the tab index to `-1` to allow the root element of the ng-select
|
|
777
|
+
* component to receive `focus` event from javascript, but not get focused by
|
|
778
|
+
* keyboard navigation.
|
|
779
|
+
*/
|
|
780
|
+
get: function () { return this.ngSelect.disabled ? undefined : -1; },
|
|
781
|
+
enumerable: false,
|
|
782
|
+
configurable: true
|
|
783
|
+
});
|
|
784
|
+
/**
|
|
785
|
+
* Listening for focus event on root of component to allow javascript
|
|
786
|
+
* `focus()` function to trigger the components focus.
|
|
787
|
+
*/
|
|
788
|
+
NgSelectExtraDirective.prototype.onFocus = function ($event) {
|
|
789
|
+
var target = $event.target;
|
|
790
|
+
if (target === this.elementRef.nativeElement && !this.ngSelect.disabled) {
|
|
791
|
+
this.ngSelect.focus();
|
|
792
|
+
}
|
|
793
|
+
// ng-select has an input `labelForId` that sets the autocomplete attribute
|
|
794
|
+
// in ngOnInit. I am not positive that it is wrong by doing that, but this
|
|
795
|
+
// hack makes it set the attributes again on focus, because that gives the
|
|
796
|
+
// result I was expecting, since we don't manually set the `labelForId`
|
|
797
|
+
// input.
|
|
798
|
+
var _ngSelect = this.ngSelect;
|
|
799
|
+
_ngSelect._setInputAttributes();
|
|
800
|
+
};
|
|
801
|
+
Object.defineProperty(NgSelectExtraDirective.prototype, "_isInvalid", {
|
|
802
|
+
get: function () {
|
|
803
|
+
return this.ngControl ? this.ngControl.invalid && (this.ngControl.dirty || this.ngControl.touched) : false;
|
|
804
|
+
},
|
|
805
|
+
enumerable: false,
|
|
806
|
+
configurable: true
|
|
807
|
+
});
|
|
808
|
+
Object.defineProperty(NgSelectExtraDirective.prototype, "_isEmptyStringValue", {
|
|
809
|
+
get: function () {
|
|
810
|
+
return this.ngControl ? this.ngControl.value === '' ? true : false : false;
|
|
811
|
+
},
|
|
812
|
+
enumerable: false,
|
|
813
|
+
configurable: true
|
|
814
|
+
});
|
|
815
|
+
NgSelectExtraDirective.prototype.ngOnInit = function () {
|
|
816
|
+
var _this = this;
|
|
817
|
+
this.ngSelect.focusEvent
|
|
818
|
+
.subscribe(function (v) { return _this._enableKeyPressWorkaround(); });
|
|
819
|
+
this.ngSelect.blurEvent
|
|
820
|
+
.subscribe(function (v) { return _this._disableKeyPressWorkaround(); });
|
|
821
|
+
window.addEventListener('scroll', this._onScroll, true);
|
|
822
|
+
// When the input is allowed to change its height the position doesn't update itself.
|
|
823
|
+
// this._resizedEvent.pipe(
|
|
824
|
+
// auditTime(30)
|
|
825
|
+
// ).subscribe(event => {
|
|
826
|
+
// if (this.elementRef && this.elementRef.nativeElement) {
|
|
827
|
+
// if (this.elementRef.nativeElement.classList.contains('ng-select-value-grow-h')) {
|
|
828
|
+
// if (this.ngSelect.isOpen && this.ngSelect.dropdownPanel) {
|
|
829
|
+
// this.ngSelect.dropdownPanel.updateDropdownPosition()
|
|
830
|
+
// }
|
|
831
|
+
// } else {
|
|
832
|
+
// this.elementRef.nativeElement.classList.remove('ng-select-value-grow-h')
|
|
833
|
+
// }
|
|
834
|
+
// }
|
|
835
|
+
// })
|
|
836
|
+
// this._patch_ngSelect_open()
|
|
837
|
+
};
|
|
838
|
+
NgSelectExtraDirective.prototype.ngOnDestroy = function () {
|
|
839
|
+
var _a;
|
|
840
|
+
(_a = this._resizeSensor) === null || _a === void 0 ? void 0 : _a.detach();
|
|
841
|
+
window.removeEventListener('scroll', this._onScroll, true);
|
|
842
|
+
this._ngUnsubscribe.next();
|
|
843
|
+
this._ngUnsubscribe.complete();
|
|
844
|
+
};
|
|
845
|
+
NgSelectExtraDirective.prototype.ngAfterViewChecked = function () {
|
|
846
|
+
var _this = this;
|
|
847
|
+
if (this.ngSelect.dropdownPanel) {
|
|
848
|
+
if (this._checkMarked) {
|
|
849
|
+
if (this.ngSelect.dropdownPanel && this._markedItem !== null) {
|
|
850
|
+
if (this._markedItem.index !== this.ngSelect.dropdownPanel.markedItem.index) {
|
|
851
|
+
this.ngSelect.dropdownPanel.scrollTo(this.ngSelect.dropdownPanel.markedItem);
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
this._checkMarked = false;
|
|
857
|
+
this._resizeSensor = new cssElementQueries.ResizeSensor(this.elementRef.nativeElement, function (event) {
|
|
858
|
+
_this._resizedEvent.emit({ element: _this.elementRef.nativeElement, size: event });
|
|
859
|
+
});
|
|
860
|
+
};
|
|
861
|
+
/**
|
|
862
|
+
* Temp fix for: https://github.com/ng-select/ng-select/issues/1122
|
|
863
|
+
*/
|
|
864
|
+
// private _patch_ngSelect_open() {
|
|
865
|
+
// const original = this.ngSelect.open
|
|
866
|
+
// const _self = this
|
|
867
|
+
// this.ngSelect.open = function() {
|
|
868
|
+
// original.apply(this, arguments)
|
|
869
|
+
// _self._patch_ngSelectDropdownPanel_updateDropdownPosition()
|
|
870
|
+
// }
|
|
871
|
+
// }
|
|
872
|
+
/** Should ONLY be called by `_patch_ngSelect_open`. */
|
|
873
|
+
// private _patch_ngSelectDropdownPanel_updateDropdownPosition() {
|
|
874
|
+
// if (!this.ngSelect.dropdownPanel) { return }
|
|
875
|
+
// const drop: any = this.ngSelect.dropdownPanel
|
|
876
|
+
// // Only needed once, to update the position before the timeout in
|
|
877
|
+
// // `updateDropdownPosition()`. So, using this variable to check if I already called
|
|
878
|
+
// // `_updateAppendedDropdownPosition()`.
|
|
879
|
+
// if (!drop.__libPatched) {
|
|
880
|
+
// drop.__libPatched = 'patched'
|
|
881
|
+
// const original = drop.updateDropdownPosition
|
|
882
|
+
// const _self = this
|
|
883
|
+
// drop.updateDropdownPosition = function() {
|
|
884
|
+
// original.apply(this, arguments)
|
|
885
|
+
// if (!!_self.ngSelect.appendTo) {
|
|
886
|
+
// drop._updateAppendedDropdownPosition()
|
|
887
|
+
// }
|
|
888
|
+
// }
|
|
889
|
+
// }
|
|
890
|
+
// }
|
|
891
|
+
NgSelectExtraDirective.prototype._enableKeyPressWorkaround = function () {
|
|
892
|
+
var _this = this;
|
|
893
|
+
if (this._keyPressWorkaroundSub) {
|
|
894
|
+
return;
|
|
895
|
+
}
|
|
896
|
+
var _ngSelect = this.ngSelect;
|
|
897
|
+
this._keyPressWorkaroundSub = _ngSelect._keyPress$
|
|
898
|
+
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
899
|
+
.pipe(operators.filter(function () { return !_this.ngSelect.searchable; }))
|
|
900
|
+
.subscribe(function () {
|
|
901
|
+
_this._ngZone.runOutsideAngular(function () {
|
|
902
|
+
window.requestAnimationFrame(function () {
|
|
903
|
+
if (_this.ngSelect.dropdownPanel) {
|
|
904
|
+
_this._markedItem = _this.ngSelect.dropdownPanel.markedItem;
|
|
905
|
+
}
|
|
906
|
+
_this._checkMarked = true;
|
|
907
|
+
});
|
|
908
|
+
});
|
|
909
|
+
});
|
|
910
|
+
};
|
|
911
|
+
NgSelectExtraDirective.prototype._disableKeyPressWorkaround = function () {
|
|
912
|
+
if (this._keyPressWorkaroundSub) {
|
|
913
|
+
this._keyPressWorkaroundSub.unsubscribe();
|
|
914
|
+
this._keyPressWorkaroundSub = null;
|
|
915
|
+
}
|
|
916
|
+
};
|
|
917
|
+
return NgSelectExtraDirective;
|
|
918
|
+
}());
|
|
919
|
+
NgSelectExtraDirective.decorators = [
|
|
920
|
+
{ type: core.Directive, args: [{
|
|
921
|
+
// tslint:disable-next-line:directive-selector
|
|
922
|
+
selector: 'ng-select'
|
|
923
|
+
},] }
|
|
924
|
+
];
|
|
925
|
+
NgSelectExtraDirective.ctorParameters = function () { return [
|
|
926
|
+
{ type: core.ElementRef },
|
|
927
|
+
{ type: core.NgZone },
|
|
928
|
+
{ type: ngSelect.NgSelectComponent },
|
|
929
|
+
{ type: forms.NgControl, decorators: [{ type: core.Optional }, { type: core.Self }] }
|
|
930
|
+
]; };
|
|
931
|
+
NgSelectExtraDirective.propDecorators = {
|
|
932
|
+
_tabIndex: [{ type: core.HostBinding, args: ['attr.tabIndex',] }],
|
|
933
|
+
onFocus: [{ type: core.HostListener, args: ['focus', ['$event'],] }],
|
|
934
|
+
_isInvalid: [{ type: core.HostBinding, args: ['class.is-invalid',] }],
|
|
935
|
+
_isEmptyStringValue: [{ type: core.HostBinding, args: ['class.ng-empty-string-value',] }]
|
|
936
|
+
};
|
|
937
|
+
|
|
938
|
+
var NgxQuillExtraDirective = /** @class */ (function () {
|
|
939
|
+
function NgxQuillExtraDirective(_elementRef, _quillEditor) {
|
|
940
|
+
this._elementRef = _elementRef;
|
|
941
|
+
this._quillEditor = _quillEditor;
|
|
942
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
943
|
+
this._tabIndex = -1;
|
|
944
|
+
}
|
|
945
|
+
Object.defineProperty(NgxQuillExtraDirective.prototype, "tabIndex", {
|
|
946
|
+
get: function () { return this._tabIndex; },
|
|
947
|
+
/**
|
|
948
|
+
* Set the tab index to `-1` to allow the root element of the
|
|
949
|
+
* component to receive `focus` event from javascript, but not get focused by
|
|
950
|
+
* keyboard navigation.
|
|
951
|
+
*/
|
|
952
|
+
set: function (value) { this._tabIndex = coercion.coerceNumberProperty(value); },
|
|
953
|
+
enumerable: false,
|
|
954
|
+
configurable: true
|
|
955
|
+
});
|
|
956
|
+
Object.defineProperty(NgxQuillExtraDirective.prototype, "_attrTabIndex", {
|
|
957
|
+
get: function () { return this._quillEditor.disabled ? -1 : (this.tabIndex || 0); },
|
|
958
|
+
enumerable: false,
|
|
959
|
+
configurable: true
|
|
960
|
+
});
|
|
961
|
+
NgxQuillExtraDirective.prototype.ngOnDestroy = function () {
|
|
962
|
+
this._ngUnsubscribe.next();
|
|
963
|
+
this._ngUnsubscribe.complete();
|
|
964
|
+
};
|
|
965
|
+
NgxQuillExtraDirective.prototype.ngAfterViewInit = function () {
|
|
966
|
+
var _this = this;
|
|
967
|
+
var parent = this._getParentElementForLabelFocusIssue();
|
|
968
|
+
if (parent) {
|
|
969
|
+
// NOTE: This is a hack to avoid an issue letting a label with "for"
|
|
970
|
+
// attribute focus the control.
|
|
971
|
+
rxjs.fromEvent(parent, 'click').pipe(operators.takeUntil(this._ngUnsubscribe), operators.filter(function (e) { var _a; return ((_a = e.target) === null || _a === void 0 ? void 0 : _a.getAttribute('for')) === _this._elementRef.nativeElement.id; }), operators.tap(function () { return _this._quillEditor.quillEditor.focus(); })).subscribe();
|
|
972
|
+
}
|
|
973
|
+
};
|
|
974
|
+
NgxQuillExtraDirective.prototype._getParentElementForLabelFocusIssue = function () {
|
|
975
|
+
var findElem = function (elem) {
|
|
976
|
+
if (elem.nodeName.toLowerCase() === 'seam-form-field') {
|
|
977
|
+
return elem;
|
|
978
|
+
}
|
|
979
|
+
if (elem.parentElement) {
|
|
980
|
+
return findElem(elem.parentElement);
|
|
981
|
+
}
|
|
982
|
+
return elem;
|
|
983
|
+
};
|
|
984
|
+
return findElem(this._elementRef.nativeElement);
|
|
985
|
+
};
|
|
986
|
+
return NgxQuillExtraDirective;
|
|
987
|
+
}());
|
|
988
|
+
NgxQuillExtraDirective.decorators = [
|
|
989
|
+
{ type: core.Directive, args: [{
|
|
990
|
+
// tslint:disable-next-line:directive-selector
|
|
991
|
+
selector: 'quill-editor'
|
|
992
|
+
},] }
|
|
993
|
+
];
|
|
994
|
+
NgxQuillExtraDirective.ctorParameters = function () { return [
|
|
995
|
+
{ type: core.ElementRef },
|
|
996
|
+
{ type: ngxQuill.QuillEditorComponent }
|
|
997
|
+
]; };
|
|
998
|
+
NgxQuillExtraDirective.propDecorators = {
|
|
999
|
+
tabIndex: [{ type: core.Input }],
|
|
1000
|
+
_attrTabIndex: [{ type: core.HostBinding, args: ['attr.tabindex',] }]
|
|
1001
|
+
};
|
|
1002
|
+
|
|
1003
|
+
var MaskCharsPipe = /** @class */ (function () {
|
|
1004
|
+
function MaskCharsPipe() {
|
|
1005
|
+
}
|
|
1006
|
+
MaskCharsPipe.prototype.transform = function (value, replacementChar, ignoreCount, ignoreFrom) {
|
|
1007
|
+
if (replacementChar === void 0) { replacementChar = '*'; }
|
|
1008
|
+
if (ignoreCount === void 0) { ignoreCount = 0; }
|
|
1009
|
+
if (ignoreFrom === void 0) { ignoreFrom = 'right'; }
|
|
1010
|
+
if (ignoreFrom === 'right') {
|
|
1011
|
+
var s = value || '';
|
|
1012
|
+
return utils.padStart(s.substring(s.length - ignoreCount, s.length), s.length, replacementChar);
|
|
1013
|
+
}
|
|
1014
|
+
else if (ignoreFrom === 'left') {
|
|
1015
|
+
var s = value || '';
|
|
1016
|
+
return utils.padEnd(s.substring(0, ignoreCount), s.length, replacementChar);
|
|
1017
|
+
}
|
|
1018
|
+
return value;
|
|
1019
|
+
};
|
|
1020
|
+
return MaskCharsPipe;
|
|
1021
|
+
}());
|
|
1022
|
+
MaskCharsPipe.decorators = [
|
|
1023
|
+
{ type: core.Pipe, args: [{
|
|
1024
|
+
name: 'maskChars'
|
|
1025
|
+
},] }
|
|
1026
|
+
];
|
|
1027
|
+
|
|
1028
|
+
var TruncatePipe = /** @class */ (function () {
|
|
1029
|
+
function TruncatePipe() {
|
|
1030
|
+
}
|
|
1031
|
+
TruncatePipe.prototype.transform = function (value, length, appendEllipsis) {
|
|
1032
|
+
if (length === void 0) { length = 30; }
|
|
1033
|
+
if (appendEllipsis === void 0) { appendEllipsis = true; }
|
|
1034
|
+
var val = value;
|
|
1035
|
+
if (value && typeof value === 'string' && value.length > length) {
|
|
1036
|
+
val = value.substr(0, length);
|
|
1037
|
+
if (appendEllipsis) {
|
|
1038
|
+
val += '...';
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
return val;
|
|
1042
|
+
};
|
|
1043
|
+
return TruncatePipe;
|
|
1044
|
+
}());
|
|
1045
|
+
TruncatePipe.decorators = [
|
|
1046
|
+
{ type: core.Pipe, args: [{
|
|
1047
|
+
name: 'truncate'
|
|
1048
|
+
},] }
|
|
1049
|
+
];
|
|
1050
|
+
|
|
1051
|
+
var TheSeamSharedModule = /** @class */ (function () {
|
|
1052
|
+
function TheSeamSharedModule() {
|
|
1053
|
+
}
|
|
1054
|
+
return TheSeamSharedModule;
|
|
1055
|
+
}());
|
|
1056
|
+
TheSeamSharedModule.decorators = [
|
|
1057
|
+
{ type: core.NgModule, args: [{
|
|
1058
|
+
imports: [
|
|
1059
|
+
common.CommonModule,
|
|
1060
|
+
angularFontawesome.FontAwesomeModule,
|
|
1061
|
+
modal.TheSeamModalModule,
|
|
1062
|
+
loading.TheSeamLoadingModule
|
|
1063
|
+
],
|
|
1064
|
+
declarations: [
|
|
1065
|
+
AutoFocusDirective,
|
|
1066
|
+
ElemResizedDirective,
|
|
1067
|
+
PasswordInputRevealComponent,
|
|
1068
|
+
NgSelectExtraDirective,
|
|
1069
|
+
HoverClassDirective,
|
|
1070
|
+
HoverClassToggleDirective,
|
|
1071
|
+
ClickOutsideDirective,
|
|
1072
|
+
DisableControlDirective,
|
|
1073
|
+
MaskCharsPipe,
|
|
1074
|
+
TruncatePipe,
|
|
1075
|
+
NgxQuillExtraDirective
|
|
1076
|
+
],
|
|
1077
|
+
exports: [
|
|
1078
|
+
AutoFocusDirective,
|
|
1079
|
+
ElemResizedDirective,
|
|
1080
|
+
PasswordInputRevealComponent,
|
|
1081
|
+
NgSelectExtraDirective,
|
|
1082
|
+
HoverClassDirective,
|
|
1083
|
+
HoverClassToggleDirective,
|
|
1084
|
+
ClickOutsideDirective,
|
|
1085
|
+
DisableControlDirective,
|
|
1086
|
+
MaskCharsPipe,
|
|
1087
|
+
TruncatePipe,
|
|
1088
|
+
NgxQuillExtraDirective,
|
|
1089
|
+
// Exporting scrollbars here for backwards compatibility for now.
|
|
1090
|
+
scrollbar.TheSeamScrollbarModule
|
|
1091
|
+
]
|
|
1092
|
+
},] }
|
|
1093
|
+
];
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* Generated bundle index. Do not edit.
|
|
1097
|
+
*/
|
|
1098
|
+
|
|
1099
|
+
exports.AutoFocusDirective = AutoFocusDirective;
|
|
1100
|
+
exports.ClickOutsideDirective = ClickOutsideDirective;
|
|
1101
|
+
exports.DisableControlDirective = DisableControlDirective;
|
|
1102
|
+
exports.ElemResizedDirective = ElemResizedDirective;
|
|
1103
|
+
exports.HoverClassDirective = HoverClassDirective;
|
|
1104
|
+
exports.HoverClassToggleDirective = HoverClassToggleDirective;
|
|
1105
|
+
exports.MaskCharsPipe = MaskCharsPipe;
|
|
1106
|
+
exports.NgSelectExtraDirective = NgSelectExtraDirective;
|
|
1107
|
+
exports.NgxQuillExtraDirective = NgxQuillExtraDirective;
|
|
1108
|
+
exports.PasswordInputRevealComponent = PasswordInputRevealComponent;
|
|
1109
|
+
exports.TheSeamSharedModule = TheSeamSharedModule;
|
|
1110
|
+
exports.TruncatePipe = TruncatePipe;
|
|
1111
|
+
|
|
1112
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1113
|
+
|
|
1114
|
+
})));
|
|
1115
|
+
//# sourceMappingURL=theseam-ui-common-shared.umd.js.map
|