@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-viewers.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../projects/ui-common/viewers/pdf-viewer/pdf-page/pdf-page.component.ts","../../../projects/ui-common/viewers/pdf-viewer/pdf-renderer.service.ts","../../../projects/ui-common/viewers/pdf-viewer/pdf-viewer.component.ts","../../../projects/ui-common/viewers/pdf-viewer/pdf-viewer.module.ts","../../../projects/ui-common/viewers/theseam-ui-common-viewers.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || from);\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { BooleanInput } from '@angular/cdk/coercion'\nimport { AfterViewInit, Component, ElementRef, HostBinding, Input, OnDestroy, ViewChild } from '@angular/core'\nimport { from, Observable, Subject } from 'rxjs'\nimport { auditTime, switchMap, takeUntil } from 'rxjs/operators'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport { waitOnConditionAsync } from '@theseam/ui-common/utils'\n\n@Component({\n selector: 'seam-pdf-page',\n template: `\n <div #pdfContainer\n (seamElemResized)=\"onResized()\">\n <canvas #pdfCanvas></canvas>\n </div>\n `,\n styles: [`\n :host { display: block; }\n canvas { display: block; }\n `]\n})\nexport class TheSeamPdfPageComponent implements OnDestroy, AfterViewInit {\n static ngAcceptInputType_shadow: BooleanInput\n static ngAcceptInputType_responsive: BooleanInput\n\n private readonly _ngUnsubscribe = new Subject()\n\n @Input()\n public get page() { return this._page }\n public set page(value) {\n this._page = value\n setTimeout(() => { this.render() })\n }\n private _page: any\n\n @Input() @InputBoolean() shadow: boolean = false\n\n @HostBinding('class.shadow') get _shadow() { return this.shadow }\n\n @ViewChild('pdfContainer', { static: true }) pdfContainer?: ElementRef<HTMLDivElement>\n @ViewChild('pdfCanvas', { static: true }) pdfCanvas?: ElementRef<HTMLCanvasElement>\n\n /**\n * Canvas will responsively scale and rerender if scaled more than\n * `renderUpdateThreshold` pixels.\n */\n @Input() @InputBoolean() responsive = false\n\n /**\n * The canvas will be rerendered if the canvas size changes by this many\n * pixels from the last render.\n *\n * To make the canvas responsive using only the initial size for its render\n * set the threshold to `-1`. You can still trigger a rerender by calling the\n * `render()` method.\n *\n * NOTE: Only used when `responsive` is `true`.\n */\n @Input() renderUpdateThreshold = 100\n\n public rendering = false\n\n private _renderRequestSubject = new Subject<void>()\n\n private _render$: Observable<void>\n\n constructor() {\n this._render$ = this._renderRequestSubject.pipe(\n takeUntil(this._ngUnsubscribe),\n auditTime(500),\n switchMap(_ => from(waitOnConditionAsync(() => this.rendering === false, 30 * 1000))),\n switchMap(_ => from(this._render()))\n )\n }\n\n ngOnDestroy() {\n this._ngUnsubscribe.next()\n this._ngUnsubscribe.complete()\n }\n\n ngAfterViewInit() {\n this._render$.subscribe()\n this.render()\n }\n\n public render() {\n this._renderRequestSubject.next()\n }\n\n private async _render() {\n if (!this.pdfContainer || !this.pdfCanvas) {\n return\n }\n\n try {\n const w = this.pdfContainer.nativeElement.clientWidth\n const desiredWidth = w\n const viewport = this.page.getViewport({ scale: 1 })\n const scale = desiredWidth / viewport.width\n const scaledViewport = this.page.getViewport({ scale })\n\n // Prepare canvas using PDF page dimensions\n const canvas: HTMLCanvasElement = this.pdfCanvas.nativeElement\n const context = canvas.getContext('2d')\n canvas.height = scaledViewport.height\n canvas.width = scaledViewport.width\n canvas.style.height = `${scaledViewport.height}px`\n canvas.style.width = `${scaledViewport.width}px`\n\n // Render PDF page into canvas context\n const renderContext = {\n canvasContext: context,\n viewport: scaledViewport\n }\n\n const renderTask = await this.page.render(renderContext).promise\n\n // TODO: Allow canceling instead of only waiting\n // await renderTask.cancel()\n this.rendering = false\n if (this.responsive) {\n canvas.style.width = '100%'\n canvas.style.height = '100%'\n }\n } catch (err) {\n // PDF loading error\n console.error(err)\n }\n }\n\n onResized() {\n if (!this.responsive || this.renderUpdateThreshold === -1) { return }\n\n if (!this.pdfContainer || !this.pdfCanvas) {\n return\n }\n\n const containerRect = this.pdfContainer.nativeElement.getBoundingClientRect()\n const pdfWidth = this.pdfCanvas.nativeElement.width\n const pdfHeight = this.pdfCanvas.nativeElement.height\n const wDiff = Math.abs(containerRect.width - pdfWidth)\n const hDiff = Math.abs(containerRect.height - pdfHeight)\n if (wDiff > this.renderUpdateThreshold || hDiff > this.renderUpdateThreshold) {\n this.render()\n }\n\n }\n\n}\n","import { Injectable } from '@angular/core'\nimport { from, Observable } from 'rxjs'\nimport { shareReplay, switchMap, tap } from 'rxjs/operators'\n\nimport { wrapIntoObservable } from '@theseam/ui-common/utils'\n\n@Injectable({\n providedIn: 'root'\n})\nexport class PdfRendererService {\n\n private readonly _pdfjs$: Observable<any>\n\n constructor() {\n const pdfjsImport = wrapIntoObservable(import('pdfjs-dist/legacy/build/pdf'))\n this._pdfjs$ = pdfjsImport.pipe(\n tap((pdfJs: any) => {\n if (!pdfJs.GlobalWorkerOptions.workerSrc) {\n // tslint:disable-next-line:max-line-length\n pdfJs.GlobalWorkerOptions.workerSrc = `https://cdnjs.cloudflare.com/ajax/libs/pdf.js/${ (pdfJs as any).version }/pdf.worker.min.js`\n }\n }),\n shareReplay({ bufferSize: 1, refCount: true })\n )\n }\n\n public getDocument(url: string): Observable<any> {\n return from(fetch(url)).pipe(\n switchMap(v => this._pdfjs$.pipe(\n switchMap(pdfjs => pdfjs.getDocument(v).promise)\n ))\n )\n }\n}\n","import { BooleanInput, coerceArray, coerceNumberProperty } from '@angular/cdk/coercion'\nimport { Component, Input } from '@angular/core'\nimport { BehaviorSubject, from, Observable, of, ReplaySubject } from 'rxjs'\nimport { map, shareReplay, switchMap, tap } from 'rxjs/operators'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport { wrapIntoObservable } from '@theseam/ui-common/utils'\n\nimport { PdfRendererService } from './pdf-renderer.service'\n\n@Component({\n selector: 'seam-pdf-viewer',\n template: `\n <ng-container *ngFor=\"let page of pages$ | async\">\n <seam-pdf-page\n class=\"mb-2\"\n [page]=\"page | async\"\n [responsive]=\"responsive\"\n [shadow]=\"shadow\"\n [renderUpdateThreshold]=\"renderUpdateThreshold\">\n </seam-pdf-page>\n </ng-container>\n `,\n styles: [`:host { display: block; }`]\n})\nexport class TheSeamPdfViewerComponent {\n static ngAcceptInputType_shadow: BooleanInput\n static ngAcceptInputType_responsive: BooleanInput\n\n @Input()\n get pdfUrl(): string | undefined | null { return this._pdfUrl }\n set pdfUrl(value: string | undefined | null) {\n this._pdfUrl = value\n this._documentSubject.next(value)\n }\n private _pdfUrl: string | undefined | null\n\n @Input() @InputBoolean() shadow = false\n\n /**\n * Canvas will responsively scale and rerender if scaled more than\n * `renderUpdateThreshold` pixels.\n */\n @Input() @InputBoolean() responsive = false\n\n /**\n * The canvas will be rerendered if the canvas size changes by this many\n * pixels from the last render.\n *\n * To make the canvas responsive using only the initial size for its render\n * set the threshold to `-1`. You can still trigger a rerender by calling the\n * `render()` method.\n *\n * NOTE: Only used when `responsive` is `true`.\n */\n @Input()\n set renderUpdateThreshold(value: number) { this._renderUpdateThreshold = coerceNumberProperty(value) }\n get renderUpdateThreshold(): number { return this._renderUpdateThreshold }\n private _renderUpdateThreshold: number = 100\n\n /**\n * Range of pages to render.\n *\n * Example(page 1 to page 3):\n * [pageRange]=\"[1,3]\"\n */\n @Input()\n get pageRange(): number[] { return this._pageRange }\n set pageRange(value: number[]) {\n this._pageRange = value\n\n if (!this._pageRange) {\n this._pageNumbersSubject.next(undefined)\n }\n\n try {\n const range = coerceArray(this._pageRange)\n if (range.length !== 2) {\n throw new Error('[pdf-viewer] Invalid Page Range. Range array must have two numbers only.')\n }\n if (range[0] > range[1]) {\n throw new Error('[pdf-viewer] Invalid Page Range. Start of the range must be less than or equal to the end.')\n }\n\n const nums: number[] = []\n for (let i = range[0]; i <= range[1]; i++) {\n nums.push(i)\n }\n this._pageNumbersSubject.next(nums)\n } catch (err) {\n // TODO: Decide how to conveniently display these errors.\n console.error(err)\n this._pageNumbersSubject.next([])\n }\n }\n private _pageRange: number[] = []\n\n /**\n * Render a specific page.\n */\n @Input()\n get pageNumber(): number { return this._pageNumber }\n set pageNumber(value: number) {\n this._pageNumber = coerceNumberProperty(value, -1)\n this._pageNumbersSubject.next(this._pageNumber === -1 ? undefined : [ this._pageNumber ])\n }\n private _pageNumber = -1\n\n /**\n * Specific page numbers to render.\n */\n @Input()\n get pageNumbers(): number[] { return this._pageNumbers }\n set pageNumbers(value: number[]) {\n this._pageNumbers = value\n if (Array.isArray(this._pageNumbers)) {\n this._pageNumbersSubject.next(this._pageNumbers)\n } else {\n this._pageNumbersSubject.next(undefined)\n }\n }\n private _pageNumbers: number[] = []\n\n private _documentSubject = new ReplaySubject<any>(1)\n public document$: Observable<any>\n public pages$: Observable<any[]>\n\n /**\n * Undefined means all a pages\n */\n private _pageNumbersSubject = new BehaviorSubject<number[] | undefined>(undefined)\n\n constructor(\n private readonly _pdfRenderer: PdfRendererService\n ) {\n this.document$ = this._documentSubject.asObservable().pipe(\n switchMap(url => {\n if (!url) {\n return of()\n }\n return this._pdfRenderer.getDocument(url)\n })\n )\n\n const pageNumbers$ = this._pageNumbersSubject.asObservable()\n\n this.pages$ = this.document$.pipe(\n switchMap(doc => pageNumbers$.pipe(\n map(pageNumbers => {\n const pages: any[] = []\n for (let i = 0; i < doc.numPages; i++) {\n if (!pageNumbers || pageNumbers.indexOf(i + 1) !== -1) {\n pages.push(from(doc.getPage(i + 1)))\n }\n }\n return pages\n })\n ))\n )\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamSharedModule } from '@theseam/ui-common/shared'\n\nimport { TheSeamPdfPageComponent } from './pdf-page/pdf-page.component'\nimport { TheSeamPdfViewerComponent } from './pdf-viewer.component'\n\n@NgModule({\n imports: [\n CommonModule,\n TheSeamSharedModule\n ],\n declarations: [\n TheSeamPdfViewerComponent,\n TheSeamPdfPageComponent\n ],\n exports: [\n TheSeamPdfViewerComponent,\n TheSeamPdfPageComponent\n ]\n})\nexport class TheSeamPdfViewerModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["Subject","takeUntil","auditTime","switchMap","from","waitOnConditionAsync","Component","Input","HostBinding","ViewChild","InputBoolean","wrapIntoObservable","tap","shareReplay","Injectable","ReplaySubject","BehaviorSubject","of","map","coerceNumberProperty","coerceArray","NgModule","CommonModule","TheSeamSharedModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAA;;;;;;;;;;;;;;IAcA;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,GA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D,OAAO,EAAE;wBACP,yBAAyB;wBACzB,uBAAuB;qBACxB;iBACF;;;ICrBD;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,1710 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/coercion'), require('@angular/cdk/drag-drop'), require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@theseam/ui-common/utils'), require('@angular/common'), require('@theseam/ui-common/buttons'), require('@theseam/ui-common/core'), require('@angular/cdk/a11y'), require('@theseam/ui-common/icon'), require('@theseam/ui-common/table'), require('@theseam/ui-common/table-cell-types'), require('@angular/animations'), require('@fortawesome/free-solid-svg-icons'), require('@angular/cdk/portal'), require('@theseam/ui-common/dynamic-component-loader'), require('@angular/cdk/table'), require('@angular/router'), require('@fortawesome/angular-fontawesome'), require('@theseam/ui-common/loading')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@theseam/ui-common/widget', ['exports', '@angular/cdk/coercion', '@angular/cdk/drag-drop', '@angular/core', 'rxjs', 'rxjs/operators', '@theseam/ui-common/utils', '@angular/common', '@theseam/ui-common/buttons', '@theseam/ui-common/core', '@angular/cdk/a11y', '@theseam/ui-common/icon', '@theseam/ui-common/table', '@theseam/ui-common/table-cell-types', '@angular/animations', '@fortawesome/free-solid-svg-icons', '@angular/cdk/portal', '@theseam/ui-common/dynamic-component-loader', '@angular/cdk/table', '@angular/router', '@fortawesome/angular-fontawesome', '@theseam/ui-common/loading'], 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'].widget = {}), global.ng.cdk.coercion, global.ng.cdk.dragDrop, global.ng.core, global.rxjs, global.rxjs.operators, global.theseam['ui-common'].utils, global.ng.common, global.theseam['ui-common'].buttons, global.theseam['ui-common'].core, global.ng.cdk.a11y, global.theseam['ui-common'].icon, global.theseam['ui-common'].table, global.theseam['ui-common']['table-cell-types'], global.ng.animations, global.freeSolidSvgIcons, global.ng.cdk.portal, global.theseam['ui-common']['dynamic-component-loader'], global.ng.cdk.table, global.ng.router, global.angularFontawesome, global.theseam['ui-common'].loading));
|
|
5
|
+
}(this, (function (exports, coercion, dragDrop, i0, rxjs, operators, utils, common, buttons, core, a11y, icon, table, tableCellTypes, animations, freeSolidSvgIcons, portal, i2, table$1, router, angularFontawesome, loading) { 'use strict';
|
|
6
|
+
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () {
|
|
17
|
+
return e[k];
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n['default'] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
28
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
29
|
+
|
|
30
|
+
/*! *****************************************************************************
|
|
31
|
+
Copyright (c) Microsoft Corporation.
|
|
32
|
+
|
|
33
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
34
|
+
purpose with or without fee is hereby granted.
|
|
35
|
+
|
|
36
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
37
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
38
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
39
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
40
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
41
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
42
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
43
|
+
***************************************************************************** */
|
|
44
|
+
/* global Reflect, Promise */
|
|
45
|
+
var extendStatics = function (d, b) {
|
|
46
|
+
extendStatics = Object.setPrototypeOf ||
|
|
47
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
48
|
+
function (d, b) { for (var p in b)
|
|
49
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
50
|
+
d[p] = b[p]; };
|
|
51
|
+
return extendStatics(d, b);
|
|
52
|
+
};
|
|
53
|
+
function __extends(d, b) {
|
|
54
|
+
if (typeof b !== "function" && b !== null)
|
|
55
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
56
|
+
extendStatics(d, b);
|
|
57
|
+
function __() { this.constructor = d; }
|
|
58
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
59
|
+
}
|
|
60
|
+
var __assign = function () {
|
|
61
|
+
__assign = Object.assign || function __assign(t) {
|
|
62
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
63
|
+
s = arguments[i];
|
|
64
|
+
for (var p in s)
|
|
65
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
66
|
+
t[p] = s[p];
|
|
67
|
+
}
|
|
68
|
+
return t;
|
|
69
|
+
};
|
|
70
|
+
return __assign.apply(this, arguments);
|
|
71
|
+
};
|
|
72
|
+
function __rest(s, e) {
|
|
73
|
+
var t = {};
|
|
74
|
+
for (var p in s)
|
|
75
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
76
|
+
t[p] = s[p];
|
|
77
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
78
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
79
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
80
|
+
t[p[i]] = s[p[i]];
|
|
81
|
+
}
|
|
82
|
+
return t;
|
|
83
|
+
}
|
|
84
|
+
function __decorate(decorators, target, key, desc) {
|
|
85
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
86
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
87
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
88
|
+
else
|
|
89
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
90
|
+
if (d = decorators[i])
|
|
91
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
92
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
93
|
+
}
|
|
94
|
+
function __param(paramIndex, decorator) {
|
|
95
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
96
|
+
}
|
|
97
|
+
function __metadata(metadataKey, metadataValue) {
|
|
98
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
99
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
100
|
+
}
|
|
101
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
102
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
103
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
104
|
+
function fulfilled(value) { try {
|
|
105
|
+
step(generator.next(value));
|
|
106
|
+
}
|
|
107
|
+
catch (e) {
|
|
108
|
+
reject(e);
|
|
109
|
+
} }
|
|
110
|
+
function rejected(value) { try {
|
|
111
|
+
step(generator["throw"](value));
|
|
112
|
+
}
|
|
113
|
+
catch (e) {
|
|
114
|
+
reject(e);
|
|
115
|
+
} }
|
|
116
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
117
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
function __generator(thisArg, body) {
|
|
121
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
122
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
123
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
124
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
125
|
+
function step(op) {
|
|
126
|
+
if (f)
|
|
127
|
+
throw new TypeError("Generator is already executing.");
|
|
128
|
+
while (_)
|
|
129
|
+
try {
|
|
130
|
+
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)
|
|
131
|
+
return t;
|
|
132
|
+
if (y = 0, t)
|
|
133
|
+
op = [op[0] & 2, t.value];
|
|
134
|
+
switch (op[0]) {
|
|
135
|
+
case 0:
|
|
136
|
+
case 1:
|
|
137
|
+
t = op;
|
|
138
|
+
break;
|
|
139
|
+
case 4:
|
|
140
|
+
_.label++;
|
|
141
|
+
return { value: op[1], done: false };
|
|
142
|
+
case 5:
|
|
143
|
+
_.label++;
|
|
144
|
+
y = op[1];
|
|
145
|
+
op = [0];
|
|
146
|
+
continue;
|
|
147
|
+
case 7:
|
|
148
|
+
op = _.ops.pop();
|
|
149
|
+
_.trys.pop();
|
|
150
|
+
continue;
|
|
151
|
+
default:
|
|
152
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
153
|
+
_ = 0;
|
|
154
|
+
continue;
|
|
155
|
+
}
|
|
156
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
157
|
+
_.label = op[1];
|
|
158
|
+
break;
|
|
159
|
+
}
|
|
160
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
161
|
+
_.label = t[1];
|
|
162
|
+
t = op;
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
if (t && _.label < t[2]) {
|
|
166
|
+
_.label = t[2];
|
|
167
|
+
_.ops.push(op);
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
if (t[2])
|
|
171
|
+
_.ops.pop();
|
|
172
|
+
_.trys.pop();
|
|
173
|
+
continue;
|
|
174
|
+
}
|
|
175
|
+
op = body.call(thisArg, _);
|
|
176
|
+
}
|
|
177
|
+
catch (e) {
|
|
178
|
+
op = [6, e];
|
|
179
|
+
y = 0;
|
|
180
|
+
}
|
|
181
|
+
finally {
|
|
182
|
+
f = t = 0;
|
|
183
|
+
}
|
|
184
|
+
if (op[0] & 5)
|
|
185
|
+
throw op[1];
|
|
186
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
190
|
+
if (k2 === undefined)
|
|
191
|
+
k2 = k;
|
|
192
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
193
|
+
}) : (function (o, m, k, k2) {
|
|
194
|
+
if (k2 === undefined)
|
|
195
|
+
k2 = k;
|
|
196
|
+
o[k2] = m[k];
|
|
197
|
+
});
|
|
198
|
+
function __exportStar(m, o) {
|
|
199
|
+
for (var p in m)
|
|
200
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
201
|
+
__createBinding(o, m, p);
|
|
202
|
+
}
|
|
203
|
+
function __values(o) {
|
|
204
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
205
|
+
if (m)
|
|
206
|
+
return m.call(o);
|
|
207
|
+
if (o && typeof o.length === "number")
|
|
208
|
+
return {
|
|
209
|
+
next: function () {
|
|
210
|
+
if (o && i >= o.length)
|
|
211
|
+
o = void 0;
|
|
212
|
+
return { value: o && o[i++], done: !o };
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
216
|
+
}
|
|
217
|
+
function __read(o, n) {
|
|
218
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
219
|
+
if (!m)
|
|
220
|
+
return o;
|
|
221
|
+
var i = m.call(o), r, ar = [], e;
|
|
222
|
+
try {
|
|
223
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
224
|
+
ar.push(r.value);
|
|
225
|
+
}
|
|
226
|
+
catch (error) {
|
|
227
|
+
e = { error: error };
|
|
228
|
+
}
|
|
229
|
+
finally {
|
|
230
|
+
try {
|
|
231
|
+
if (r && !r.done && (m = i["return"]))
|
|
232
|
+
m.call(i);
|
|
233
|
+
}
|
|
234
|
+
finally {
|
|
235
|
+
if (e)
|
|
236
|
+
throw e.error;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
return ar;
|
|
240
|
+
}
|
|
241
|
+
/** @deprecated */
|
|
242
|
+
function __spread() {
|
|
243
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
244
|
+
ar = ar.concat(__read(arguments[i]));
|
|
245
|
+
return ar;
|
|
246
|
+
}
|
|
247
|
+
/** @deprecated */
|
|
248
|
+
function __spreadArrays() {
|
|
249
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
250
|
+
s += arguments[i].length;
|
|
251
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
252
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
253
|
+
r[k] = a[j];
|
|
254
|
+
return r;
|
|
255
|
+
}
|
|
256
|
+
function __spreadArray(to, from, pack) {
|
|
257
|
+
if (pack || arguments.length === 2)
|
|
258
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
259
|
+
if (ar || !(i in from)) {
|
|
260
|
+
if (!ar)
|
|
261
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
262
|
+
ar[i] = from[i];
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
return to.concat(ar || from);
|
|
266
|
+
}
|
|
267
|
+
function __await(v) {
|
|
268
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
269
|
+
}
|
|
270
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
271
|
+
if (!Symbol.asyncIterator)
|
|
272
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
273
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
274
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
275
|
+
function verb(n) { if (g[n])
|
|
276
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
277
|
+
function resume(n, v) { try {
|
|
278
|
+
step(g[n](v));
|
|
279
|
+
}
|
|
280
|
+
catch (e) {
|
|
281
|
+
settle(q[0][3], e);
|
|
282
|
+
} }
|
|
283
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
284
|
+
function fulfill(value) { resume("next", value); }
|
|
285
|
+
function reject(value) { resume("throw", value); }
|
|
286
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
287
|
+
resume(q[0][0], q[0][1]); }
|
|
288
|
+
}
|
|
289
|
+
function __asyncDelegator(o) {
|
|
290
|
+
var i, p;
|
|
291
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
292
|
+
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; }
|
|
293
|
+
}
|
|
294
|
+
function __asyncValues(o) {
|
|
295
|
+
if (!Symbol.asyncIterator)
|
|
296
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
297
|
+
var m = o[Symbol.asyncIterator], i;
|
|
298
|
+
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);
|
|
299
|
+
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); }); }; }
|
|
300
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
301
|
+
}
|
|
302
|
+
function __makeTemplateObject(cooked, raw) {
|
|
303
|
+
if (Object.defineProperty) {
|
|
304
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
305
|
+
}
|
|
306
|
+
else {
|
|
307
|
+
cooked.raw = raw;
|
|
308
|
+
}
|
|
309
|
+
return cooked;
|
|
310
|
+
}
|
|
311
|
+
;
|
|
312
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
313
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
314
|
+
}) : function (o, v) {
|
|
315
|
+
o["default"] = v;
|
|
316
|
+
};
|
|
317
|
+
function __importStar(mod) {
|
|
318
|
+
if (mod && mod.__esModule)
|
|
319
|
+
return mod;
|
|
320
|
+
var result = {};
|
|
321
|
+
if (mod != null)
|
|
322
|
+
for (var k in mod)
|
|
323
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
324
|
+
__createBinding(result, mod, k);
|
|
325
|
+
__setModuleDefault(result, mod);
|
|
326
|
+
return result;
|
|
327
|
+
}
|
|
328
|
+
function __importDefault(mod) {
|
|
329
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
330
|
+
}
|
|
331
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
332
|
+
if (kind === "a" && !f)
|
|
333
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
334
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
335
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
336
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
337
|
+
}
|
|
338
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
339
|
+
if (kind === "m")
|
|
340
|
+
throw new TypeError("Private method is not writable");
|
|
341
|
+
if (kind === "a" && !f)
|
|
342
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
343
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
344
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
345
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
function extendStyles(dest, source) {
|
|
349
|
+
for (var key in source) {
|
|
350
|
+
if (source.hasOwnProperty(key)) {
|
|
351
|
+
// tslint:disable-next-line: no-non-null-assertion
|
|
352
|
+
dest[key] = source[key];
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
return dest;
|
|
356
|
+
}
|
|
357
|
+
function toggleNativeDragInteractions(element, enable) {
|
|
358
|
+
var userSelect = enable ? '' : 'none';
|
|
359
|
+
extendStyles(element.style, {
|
|
360
|
+
touchAction: enable ? '' : 'none',
|
|
361
|
+
webkitUserDrag: enable ? '' : 'none',
|
|
362
|
+
webkitTapHighlightColor: enable ? '' : 'transparent',
|
|
363
|
+
userSelect: userSelect,
|
|
364
|
+
msUserSelect: userSelect,
|
|
365
|
+
webkitUserSelect: userSelect,
|
|
366
|
+
MozUserSelect: userSelect
|
|
367
|
+
});
|
|
368
|
+
}
|
|
369
|
+
var THESEAM_WIDGET_ACCESSOR = new i0.InjectionToken('TheSeamWidgetAccessor');
|
|
370
|
+
var WidgetDragHandleDirective = /** @class */ (function () {
|
|
371
|
+
function WidgetDragHandleDirective(element, _ngZone, _dashboardWidgets, __parentDrag) {
|
|
372
|
+
this.element = element;
|
|
373
|
+
this._ngZone = _ngZone;
|
|
374
|
+
this._dashboardWidgets = _dashboardWidgets;
|
|
375
|
+
this.__parentDrag = __parentDrag;
|
|
376
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
377
|
+
this._attachedToDom = new rxjs.BehaviorSubject(false);
|
|
378
|
+
this._doneCheckingAttached = false;
|
|
379
|
+
/** Emits when the state of the handle has changed. */
|
|
380
|
+
this._stateChanges = new rxjs.Subject();
|
|
381
|
+
this._disabled = false;
|
|
382
|
+
toggleNativeDragInteractions(element.nativeElement, false);
|
|
383
|
+
}
|
|
384
|
+
Object.defineProperty(WidgetDragHandleDirective.prototype, "_parentDrag", {
|
|
385
|
+
/** Needed because CdkDrag reads this variable */
|
|
386
|
+
get: function () { return this.getParentCdkDrag(); },
|
|
387
|
+
enumerable: false,
|
|
388
|
+
configurable: true
|
|
389
|
+
});
|
|
390
|
+
Object.defineProperty(WidgetDragHandleDirective.prototype, "disabled", {
|
|
391
|
+
/** Whether starting to drag through this handle is disabled. */
|
|
392
|
+
get: function () { return this._disabled; },
|
|
393
|
+
set: function (value) {
|
|
394
|
+
this._disabled = coercion.coerceBooleanProperty(value);
|
|
395
|
+
this._stateChanges.next(this);
|
|
396
|
+
},
|
|
397
|
+
enumerable: false,
|
|
398
|
+
configurable: true
|
|
399
|
+
});
|
|
400
|
+
WidgetDragHandleDirective.prototype.ngOnInit = function () {
|
|
401
|
+
var _this = this;
|
|
402
|
+
if (this._dashboardWidgets) {
|
|
403
|
+
this._dashboardWidgets.widgetsChange.pipe(operators.auditTime(0), operators.takeUntil(this._ngUnsubscribe)).subscribe(function () {
|
|
404
|
+
if (_this._knownParentDrag) {
|
|
405
|
+
var isAttached = _this.isAttachedToDom();
|
|
406
|
+
if (isAttached) {
|
|
407
|
+
var parent = _this.getParentCdkDrag();
|
|
408
|
+
if (_this._knownParentDrag !== parent) {
|
|
409
|
+
_this._attachedToDom.next(isAttached);
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
};
|
|
416
|
+
WidgetDragHandleDirective.prototype.ngAfterViewInit = function () {
|
|
417
|
+
var _this = this;
|
|
418
|
+
if (this.__parentDrag || this._dashboardWidgets) {
|
|
419
|
+
// FIXME: This only works until the widget is moved to another template
|
|
420
|
+
// outlet. Now that the component isn't reinitialized when moving between
|
|
421
|
+
// lists the handle needs to now reflex that change to its new CdkDrag
|
|
422
|
+
// parent and possibly tell its previous parent to forget it.
|
|
423
|
+
// HACK: This is a hack to allow the `CdkDrag` directive to manage a
|
|
424
|
+
// handle that is not visible to `ContentChildren` query.
|
|
425
|
+
this._ngZone.onStable.asObservable()
|
|
426
|
+
// .pipe(take(1), untilDestroyed(this))
|
|
427
|
+
.pipe(operators.take(1),
|
|
428
|
+
// With the weird trick being done to keep widgets initialized when switching columns
|
|
429
|
+
operators.switchMap(function () { return _this._attachedToDom.pipe(operators.filter(function (v) { return v === true; })); }),
|
|
430
|
+
// take(1)
|
|
431
|
+
operators.takeUntil(this._ngUnsubscribe))
|
|
432
|
+
.subscribe(function () {
|
|
433
|
+
var parent = _this.getParentCdkDrag();
|
|
434
|
+
if (_this._knownParentDrag && _this._knownParentDrag !== parent) {
|
|
435
|
+
_this._knownParentDrag._dragRef.disableHandle(_this.element.nativeElement);
|
|
436
|
+
_this._knownParentDrag = undefined;
|
|
437
|
+
}
|
|
438
|
+
if (parent) {
|
|
439
|
+
_this._knownParentDrag = parent;
|
|
440
|
+
parent._handles.reset(__spreadArray(__spreadArray([], __read(parent._handles._results)), [_this]));
|
|
441
|
+
parent._handles.notifyOnChanges();
|
|
442
|
+
parent._dragRef.enableHandle(_this.element.nativeElement);
|
|
443
|
+
}
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
};
|
|
447
|
+
WidgetDragHandleDirective.prototype.ngOnDestroy = function () {
|
|
448
|
+
this._stateChanges.complete();
|
|
449
|
+
this._attachedToDom.complete();
|
|
450
|
+
this._ngUnsubscribe.next();
|
|
451
|
+
this._ngUnsubscribe.complete();
|
|
452
|
+
};
|
|
453
|
+
WidgetDragHandleDirective.prototype.ngDoCheck = function () {
|
|
454
|
+
// The attached observable only emits once, so we can stop checking if
|
|
455
|
+
// attached.
|
|
456
|
+
if (this._doneCheckingAttached) {
|
|
457
|
+
return;
|
|
458
|
+
}
|
|
459
|
+
var isAttached = this.isAttachedToDom();
|
|
460
|
+
if (isAttached !== this._attachedToDom.value) {
|
|
461
|
+
this._attachedToDom.next(isAttached);
|
|
462
|
+
this._doneCheckingAttached = true;
|
|
463
|
+
}
|
|
464
|
+
};
|
|
465
|
+
WidgetDragHandleDirective.prototype.isAttachedToDom = function () {
|
|
466
|
+
return document.body.contains(this.element.nativeElement);
|
|
467
|
+
};
|
|
468
|
+
/** Closest parent draggable instance. */
|
|
469
|
+
WidgetDragHandleDirective.prototype.getParentCdkDrag = function () {
|
|
470
|
+
if (this.__parentDrag) {
|
|
471
|
+
return this.__parentDrag;
|
|
472
|
+
}
|
|
473
|
+
else if (this._dashboardWidgets && this._dashboardWidgets.cdkDragDirectives) {
|
|
474
|
+
var dragsArr = this._dashboardWidgets.cdkDragDirectives.toArray();
|
|
475
|
+
var closest = utils.getClosestWidgetCdkDrag(this.element, dragsArr);
|
|
476
|
+
return (closest !== undefined && closest !== null) ? closest : undefined;
|
|
477
|
+
}
|
|
478
|
+
};
|
|
479
|
+
return WidgetDragHandleDirective;
|
|
480
|
+
}());
|
|
481
|
+
WidgetDragHandleDirective.decorators = [
|
|
482
|
+
{ type: i0.Directive, args: [{
|
|
483
|
+
selector: '[seamWidgetDragHandle]',
|
|
484
|
+
host: {
|
|
485
|
+
'class': 'cdk-drag-handle'
|
|
486
|
+
}
|
|
487
|
+
},] }
|
|
488
|
+
];
|
|
489
|
+
WidgetDragHandleDirective.ctorParameters = function () { return [
|
|
490
|
+
{ type: i0.ElementRef },
|
|
491
|
+
{ type: i0.NgZone },
|
|
492
|
+
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_WIDGET_ACCESSOR,] }] },
|
|
493
|
+
{ type: dragDrop.CdkDrag, decorators: [{ type: i0.Optional }] }
|
|
494
|
+
]; };
|
|
495
|
+
WidgetDragHandleDirective.propDecorators = {
|
|
496
|
+
disabled: [{ type: i0.Input, args: ['cdkDragHandleDisabled',] }]
|
|
497
|
+
};
|
|
498
|
+
|
|
499
|
+
var WidgetIconTplDirective = /** @class */ (function () {
|
|
500
|
+
function WidgetIconTplDirective(template) {
|
|
501
|
+
this.template = template;
|
|
502
|
+
}
|
|
503
|
+
return WidgetIconTplDirective;
|
|
504
|
+
}());
|
|
505
|
+
WidgetIconTplDirective.decorators = [
|
|
506
|
+
{ type: i0.Directive, args: [{
|
|
507
|
+
selector: '[seamWidgetIconTpl]'
|
|
508
|
+
},] }
|
|
509
|
+
];
|
|
510
|
+
WidgetIconTplDirective.ctorParameters = function () { return [
|
|
511
|
+
{ type: i0.TemplateRef }
|
|
512
|
+
]; };
|
|
513
|
+
|
|
514
|
+
var WidgetTitleTplDirective = /** @class */ (function () {
|
|
515
|
+
function WidgetTitleTplDirective(template) {
|
|
516
|
+
this.template = template;
|
|
517
|
+
}
|
|
518
|
+
return WidgetTitleTplDirective;
|
|
519
|
+
}());
|
|
520
|
+
WidgetTitleTplDirective.decorators = [
|
|
521
|
+
{ type: i0.Directive, args: [{
|
|
522
|
+
selector: '[seamWidgetTitleTpl]'
|
|
523
|
+
},] }
|
|
524
|
+
];
|
|
525
|
+
WidgetTitleTplDirective.ctorParameters = function () { return [
|
|
526
|
+
{ type: i0.TemplateRef }
|
|
527
|
+
]; };
|
|
528
|
+
|
|
529
|
+
var WidgetButtonGroupComponent = /** @class */ (function () {
|
|
530
|
+
function WidgetButtonGroupComponent() {
|
|
531
|
+
}
|
|
532
|
+
WidgetButtonGroupComponent.prototype.ngOnInit = function () {
|
|
533
|
+
};
|
|
534
|
+
return WidgetButtonGroupComponent;
|
|
535
|
+
}());
|
|
536
|
+
WidgetButtonGroupComponent.decorators = [
|
|
537
|
+
{ type: i0.Component, args: [{
|
|
538
|
+
selector: 'seam-widget-button-group',
|
|
539
|
+
template: "<ng-content select=\"[seamButton]\"></ng-content>\n",
|
|
540
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
541
|
+
styles: [":host{display:block}"]
|
|
542
|
+
},] }
|
|
543
|
+
];
|
|
544
|
+
WidgetButtonGroupComponent.ctorParameters = function () { return []; };
|
|
545
|
+
|
|
546
|
+
var TheSeamWidgetButtonGroupModule = /** @class */ (function () {
|
|
547
|
+
function TheSeamWidgetButtonGroupModule() {
|
|
548
|
+
}
|
|
549
|
+
return TheSeamWidgetButtonGroupModule;
|
|
550
|
+
}());
|
|
551
|
+
TheSeamWidgetButtonGroupModule.decorators = [
|
|
552
|
+
{ type: i0.NgModule, args: [{
|
|
553
|
+
declarations: [
|
|
554
|
+
WidgetButtonGroupComponent
|
|
555
|
+
],
|
|
556
|
+
imports: [
|
|
557
|
+
common.CommonModule,
|
|
558
|
+
buttons.TheSeamButtonsModule
|
|
559
|
+
],
|
|
560
|
+
exports: [
|
|
561
|
+
WidgetButtonGroupComponent,
|
|
562
|
+
buttons.TheSeamButtonsModule
|
|
563
|
+
]
|
|
564
|
+
},] }
|
|
565
|
+
];
|
|
566
|
+
|
|
567
|
+
var WidgetContentHeaderComponent = /** @class */ (function () {
|
|
568
|
+
function WidgetContentHeaderComponent() {
|
|
569
|
+
}
|
|
570
|
+
WidgetContentHeaderComponent.prototype.ngOnInit = function () {
|
|
571
|
+
};
|
|
572
|
+
return WidgetContentHeaderComponent;
|
|
573
|
+
}());
|
|
574
|
+
WidgetContentHeaderComponent.decorators = [
|
|
575
|
+
{ type: i0.Component, args: [{
|
|
576
|
+
selector: 'seam-widget-content-header',
|
|
577
|
+
template: "<ng-content></ng-content>\n",
|
|
578
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
579
|
+
styles: ["seam-widget-content-header{display:block;padding:.5rem .5rem 1rem}"]
|
|
580
|
+
},] }
|
|
581
|
+
];
|
|
582
|
+
WidgetContentHeaderComponent.ctorParameters = function () { return []; };
|
|
583
|
+
|
|
584
|
+
var TheSeamWidgetContentHeaderModule = /** @class */ (function () {
|
|
585
|
+
function TheSeamWidgetContentHeaderModule() {
|
|
586
|
+
}
|
|
587
|
+
return TheSeamWidgetContentHeaderModule;
|
|
588
|
+
}());
|
|
589
|
+
TheSeamWidgetContentHeaderModule.decorators = [
|
|
590
|
+
{ type: i0.NgModule, args: [{
|
|
591
|
+
declarations: [
|
|
592
|
+
WidgetContentHeaderComponent
|
|
593
|
+
],
|
|
594
|
+
imports: [
|
|
595
|
+
common.CommonModule
|
|
596
|
+
],
|
|
597
|
+
exports: [
|
|
598
|
+
WidgetContentHeaderComponent
|
|
599
|
+
]
|
|
600
|
+
},] }
|
|
601
|
+
];
|
|
602
|
+
|
|
603
|
+
var WidgetDescriptionComponent = /** @class */ (function () {
|
|
604
|
+
function WidgetDescriptionComponent() {
|
|
605
|
+
}
|
|
606
|
+
return WidgetDescriptionComponent;
|
|
607
|
+
}());
|
|
608
|
+
WidgetDescriptionComponent.decorators = [
|
|
609
|
+
{ type: i0.Component, args: [{
|
|
610
|
+
selector: 'seam-widget-description',
|
|
611
|
+
template: "<p><ng-content></ng-content></p>\n",
|
|
612
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
613
|
+
styles: [""]
|
|
614
|
+
},] }
|
|
615
|
+
];
|
|
616
|
+
|
|
617
|
+
var TheSeamWidgetDescriptionModule = /** @class */ (function () {
|
|
618
|
+
function TheSeamWidgetDescriptionModule() {
|
|
619
|
+
}
|
|
620
|
+
return TheSeamWidgetDescriptionModule;
|
|
621
|
+
}());
|
|
622
|
+
TheSeamWidgetDescriptionModule.decorators = [
|
|
623
|
+
{ type: i0.NgModule, args: [{
|
|
624
|
+
declarations: [
|
|
625
|
+
WidgetDescriptionComponent
|
|
626
|
+
],
|
|
627
|
+
imports: [
|
|
628
|
+
common.CommonModule
|
|
629
|
+
],
|
|
630
|
+
exports: [
|
|
631
|
+
WidgetDescriptionComponent
|
|
632
|
+
]
|
|
633
|
+
},] }
|
|
634
|
+
];
|
|
635
|
+
|
|
636
|
+
var WidgetEmptyLabelComponent = /** @class */ (function () {
|
|
637
|
+
function WidgetEmptyLabelComponent(_elementRef) {
|
|
638
|
+
this._elementRef = _elementRef;
|
|
639
|
+
}
|
|
640
|
+
Object.defineProperty(WidgetEmptyLabelComponent.prototype, "_btnCss", {
|
|
641
|
+
get: function () { return this._isButton() ? true : false; },
|
|
642
|
+
enumerable: false,
|
|
643
|
+
configurable: true
|
|
644
|
+
});
|
|
645
|
+
Object.defineProperty(WidgetEmptyLabelComponent.prototype, "_btnLinkCss", {
|
|
646
|
+
get: function () { return this._isButton() ? true : false; },
|
|
647
|
+
enumerable: false,
|
|
648
|
+
configurable: true
|
|
649
|
+
});
|
|
650
|
+
Object.defineProperty(WidgetEmptyLabelComponent.prototype, "_attrType", {
|
|
651
|
+
get: function () {
|
|
652
|
+
return this._type || this._isButton() ? 'button' : undefined;
|
|
653
|
+
},
|
|
654
|
+
enumerable: false,
|
|
655
|
+
configurable: true
|
|
656
|
+
});
|
|
657
|
+
Object.defineProperty(WidgetEmptyLabelComponent.prototype, "type", {
|
|
658
|
+
get: function () { return this._type; },
|
|
659
|
+
enumerable: false,
|
|
660
|
+
configurable: true
|
|
661
|
+
});
|
|
662
|
+
WidgetEmptyLabelComponent.prototype.ngOnInit = function () { };
|
|
663
|
+
/** Determines if the component host is a button. */
|
|
664
|
+
WidgetEmptyLabelComponent.prototype._isButton = function () {
|
|
665
|
+
return this._elementRef.nativeElement.nodeName.toLowerCase() === 'button';
|
|
666
|
+
};
|
|
667
|
+
/** Determines if the component host is an anchor. */
|
|
668
|
+
WidgetEmptyLabelComponent.prototype._isAnchor = function () {
|
|
669
|
+
return this._elementRef.nativeElement.nodeName.toLowerCase() === 'a';
|
|
670
|
+
};
|
|
671
|
+
return WidgetEmptyLabelComponent;
|
|
672
|
+
}());
|
|
673
|
+
WidgetEmptyLabelComponent.decorators = [
|
|
674
|
+
{ type: i0.Component, args: [{
|
|
675
|
+
selector: 'seam-widget-empty-label,a[seam-widget-empty-label],button[seam-widget-empty-label]',
|
|
676
|
+
template: "<ng-content></ng-content>\n",
|
|
677
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
678
|
+
styles: ["seam-widget-empty-label{display:block;width:100%;text-align:left;font-size:15px;padding:.5rem}"]
|
|
679
|
+
},] }
|
|
680
|
+
];
|
|
681
|
+
WidgetEmptyLabelComponent.ctorParameters = function () { return [
|
|
682
|
+
{ type: i0.ElementRef }
|
|
683
|
+
]; };
|
|
684
|
+
WidgetEmptyLabelComponent.propDecorators = {
|
|
685
|
+
_btnCss: [{ type: i0.HostBinding, args: ['class.btn',] }],
|
|
686
|
+
_btnLinkCss: [{ type: i0.HostBinding, args: ['class.btn-link',] }],
|
|
687
|
+
_attrType: [{ type: i0.HostBinding, args: ['attr.type',] }],
|
|
688
|
+
type: [{ type: i0.Input }]
|
|
689
|
+
};
|
|
690
|
+
|
|
691
|
+
var TheSeamWidgetEmptyLabelModule = /** @class */ (function () {
|
|
692
|
+
function TheSeamWidgetEmptyLabelModule() {
|
|
693
|
+
}
|
|
694
|
+
return TheSeamWidgetEmptyLabelModule;
|
|
695
|
+
}());
|
|
696
|
+
TheSeamWidgetEmptyLabelModule.decorators = [
|
|
697
|
+
{ type: i0.NgModule, args: [{
|
|
698
|
+
declarations: [
|
|
699
|
+
WidgetEmptyLabelComponent
|
|
700
|
+
],
|
|
701
|
+
imports: [
|
|
702
|
+
common.CommonModule
|
|
703
|
+
],
|
|
704
|
+
exports: [
|
|
705
|
+
WidgetEmptyLabelComponent
|
|
706
|
+
]
|
|
707
|
+
},] }
|
|
708
|
+
];
|
|
709
|
+
|
|
710
|
+
var WidgetFooterLinkComponent = /** @class */ (function () {
|
|
711
|
+
function WidgetFooterLinkComponent() {
|
|
712
|
+
}
|
|
713
|
+
WidgetFooterLinkComponent.prototype.ngOnInit = function () { };
|
|
714
|
+
return WidgetFooterLinkComponent;
|
|
715
|
+
}());
|
|
716
|
+
WidgetFooterLinkComponent.decorators = [
|
|
717
|
+
{ type: i0.Component, args: [{
|
|
718
|
+
// tslint:disable-next-line:component-selector
|
|
719
|
+
selector: 'a[seam-widget-footer-link]',
|
|
720
|
+
template: "<ng-content></ng-content>\n",
|
|
721
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
722
|
+
styles: ["a[seam-widget-footer-link]{display:block;text-align:center;margin-top:.5rem}"]
|
|
723
|
+
},] }
|
|
724
|
+
];
|
|
725
|
+
WidgetFooterLinkComponent.ctorParameters = function () { return []; };
|
|
726
|
+
|
|
727
|
+
var TheSeamWidgetFooterLinkModule = /** @class */ (function () {
|
|
728
|
+
function TheSeamWidgetFooterLinkModule() {
|
|
729
|
+
}
|
|
730
|
+
return TheSeamWidgetFooterLinkModule;
|
|
731
|
+
}());
|
|
732
|
+
TheSeamWidgetFooterLinkModule.decorators = [
|
|
733
|
+
{ type: i0.NgModule, args: [{
|
|
734
|
+
declarations: [
|
|
735
|
+
WidgetFooterLinkComponent
|
|
736
|
+
],
|
|
737
|
+
imports: [
|
|
738
|
+
common.CommonModule
|
|
739
|
+
],
|
|
740
|
+
exports: [
|
|
741
|
+
WidgetFooterLinkComponent
|
|
742
|
+
]
|
|
743
|
+
},] }
|
|
744
|
+
];
|
|
745
|
+
|
|
746
|
+
var WidgetFooterTextComponent = /** @class */ (function () {
|
|
747
|
+
function WidgetFooterTextComponent() {
|
|
748
|
+
}
|
|
749
|
+
WidgetFooterTextComponent.prototype.ngOnInit = function () {
|
|
750
|
+
};
|
|
751
|
+
return WidgetFooterTextComponent;
|
|
752
|
+
}());
|
|
753
|
+
WidgetFooterTextComponent.decorators = [
|
|
754
|
+
{ type: i0.Component, args: [{
|
|
755
|
+
selector: 'seam-widget-footer-text',
|
|
756
|
+
template: "<em>\n <ng-content></ng-content>\n</em>\n",
|
|
757
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
758
|
+
styles: ["seam-widget-footer-text{display:block;font-size:13px;margin-top:.5rem}"]
|
|
759
|
+
},] }
|
|
760
|
+
];
|
|
761
|
+
WidgetFooterTextComponent.ctorParameters = function () { return []; };
|
|
762
|
+
|
|
763
|
+
var TheSeamWidgetFooterTextModule = /** @class */ (function () {
|
|
764
|
+
function TheSeamWidgetFooterTextModule() {
|
|
765
|
+
}
|
|
766
|
+
return TheSeamWidgetFooterTextModule;
|
|
767
|
+
}());
|
|
768
|
+
TheSeamWidgetFooterTextModule.decorators = [
|
|
769
|
+
{ type: i0.NgModule, args: [{
|
|
770
|
+
declarations: [
|
|
771
|
+
WidgetFooterTextComponent
|
|
772
|
+
],
|
|
773
|
+
imports: [
|
|
774
|
+
common.CommonModule
|
|
775
|
+
],
|
|
776
|
+
exports: [
|
|
777
|
+
WidgetFooterTextComponent
|
|
778
|
+
]
|
|
779
|
+
},] }
|
|
780
|
+
];
|
|
781
|
+
|
|
782
|
+
var WidgetHeaderBadgeBase = /** @class */ (function () {
|
|
783
|
+
function WidgetHeaderBadgeBase(_elementRef) {
|
|
784
|
+
this._elementRef = _elementRef;
|
|
785
|
+
}
|
|
786
|
+
return WidgetHeaderBadgeBase;
|
|
787
|
+
}());
|
|
788
|
+
var _WidgetHeaderBadgeMixinBase = core.mixinTheme(WidgetHeaderBadgeBase, 'badge');
|
|
789
|
+
var WidgetHeaderBadgeComponent = /** @class */ (function (_super) {
|
|
790
|
+
__extends(WidgetHeaderBadgeComponent, _super);
|
|
791
|
+
function WidgetHeaderBadgeComponent(_elementRef) {
|
|
792
|
+
return _super.call(this, _elementRef) || this;
|
|
793
|
+
}
|
|
794
|
+
WidgetHeaderBadgeComponent.prototype.ngOnInit = function () { };
|
|
795
|
+
return WidgetHeaderBadgeComponent;
|
|
796
|
+
}(_WidgetHeaderBadgeMixinBase));
|
|
797
|
+
WidgetHeaderBadgeComponent.decorators = [
|
|
798
|
+
{ type: i0.Component, args: [{
|
|
799
|
+
selector: 'seam-widget-header-badge',
|
|
800
|
+
template: "<ng-content></ng-content>\n",
|
|
801
|
+
// tslint:disable-next-line:use-input-property-decorator
|
|
802
|
+
inputs: ['theme'],
|
|
803
|
+
// tslint:disable-next-line:use-host-property-decorator
|
|
804
|
+
host: {
|
|
805
|
+
'class': 'badge float-right'
|
|
806
|
+
},
|
|
807
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
808
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
809
|
+
styles: ["seam-widget-header-badge.badge{font-size:17px}"]
|
|
810
|
+
},] }
|
|
811
|
+
];
|
|
812
|
+
WidgetHeaderBadgeComponent.ctorParameters = function () { return [
|
|
813
|
+
{ type: i0.ElementRef }
|
|
814
|
+
]; };
|
|
815
|
+
|
|
816
|
+
var TheSeamWidgetHeaderBadgeModule = /** @class */ (function () {
|
|
817
|
+
function TheSeamWidgetHeaderBadgeModule() {
|
|
818
|
+
}
|
|
819
|
+
return TheSeamWidgetHeaderBadgeModule;
|
|
820
|
+
}());
|
|
821
|
+
TheSeamWidgetHeaderBadgeModule.decorators = [
|
|
822
|
+
{ type: i0.NgModule, args: [{
|
|
823
|
+
declarations: [
|
|
824
|
+
WidgetHeaderBadgeComponent
|
|
825
|
+
],
|
|
826
|
+
imports: [
|
|
827
|
+
common.CommonModule
|
|
828
|
+
],
|
|
829
|
+
exports: [
|
|
830
|
+
WidgetHeaderBadgeComponent
|
|
831
|
+
]
|
|
832
|
+
},] }
|
|
833
|
+
];
|
|
834
|
+
|
|
835
|
+
var WidgetListGroupItemIconTplDirective = /** @class */ (function () {
|
|
836
|
+
function WidgetListGroupItemIconTplDirective(template) {
|
|
837
|
+
this.template = template;
|
|
838
|
+
}
|
|
839
|
+
return WidgetListGroupItemIconTplDirective;
|
|
840
|
+
}());
|
|
841
|
+
WidgetListGroupItemIconTplDirective.decorators = [
|
|
842
|
+
{ type: i0.Directive, args: [{
|
|
843
|
+
selector: '[seamWidgetListGroupItemIconTpl]',
|
|
844
|
+
exportAs: 'seamWidgetListGroupItemIconTpl'
|
|
845
|
+
},] }
|
|
846
|
+
];
|
|
847
|
+
WidgetListGroupItemIconTplDirective.ctorParameters = function () { return [
|
|
848
|
+
{ type: i0.TemplateRef }
|
|
849
|
+
]; };
|
|
850
|
+
|
|
851
|
+
// tslint:disable-next-line: max-line-length
|
|
852
|
+
var WIDGET_LIST_GROUP_ITEM_INPUTS = ['disabled', 'theme', 'active', 'icon', 'iconClass', 'label', 'secondaryIcon', 'secondaryIconClass', 'secondaryIconTitle'];
|
|
853
|
+
var WidgetListGroupItemBase = /** @class */ (function () {
|
|
854
|
+
function WidgetListGroupItemBase(_elementRef, _renderer) {
|
|
855
|
+
this._elementRef = _elementRef;
|
|
856
|
+
this._renderer = _renderer;
|
|
857
|
+
}
|
|
858
|
+
/** Focuses the element. */
|
|
859
|
+
WidgetListGroupItemBase.prototype.focus = function () {
|
|
860
|
+
this._getHostElement().focus();
|
|
861
|
+
};
|
|
862
|
+
WidgetListGroupItemBase.prototype._getHostElement = function () {
|
|
863
|
+
return this._elementRef.nativeElement;
|
|
864
|
+
};
|
|
865
|
+
return WidgetListGroupItemBase;
|
|
866
|
+
}());
|
|
867
|
+
WidgetListGroupItemBase.decorators = [
|
|
868
|
+
{ type: i0.Directive }
|
|
869
|
+
];
|
|
870
|
+
WidgetListGroupItemBase.ctorParameters = function () { return [
|
|
871
|
+
{ type: i0.ElementRef },
|
|
872
|
+
{ type: i0.Renderer2 }
|
|
873
|
+
]; };
|
|
874
|
+
WidgetListGroupItemBase.propDecorators = {
|
|
875
|
+
iconTpl: [{ type: i0.ContentChild, args: [WidgetListGroupItemIconTplDirective, { static: true },] }]
|
|
876
|
+
};
|
|
877
|
+
var WidgetListGroupItemActionableBase = /** @class */ (function (_super) {
|
|
878
|
+
__extends(WidgetListGroupItemActionableBase, _super);
|
|
879
|
+
function WidgetListGroupItemActionableBase(_elementRef, _focusMonitor, _renderer) {
|
|
880
|
+
var _this = _super.call(this, _elementRef, _renderer) || this;
|
|
881
|
+
_this._elementRef = _elementRef;
|
|
882
|
+
_this._focusMonitor = _focusMonitor;
|
|
883
|
+
_this._renderer = _renderer;
|
|
884
|
+
_this._focusMonitor.monitor(_this._elementRef, true);
|
|
885
|
+
return _this;
|
|
886
|
+
}
|
|
887
|
+
WidgetListGroupItemActionableBase.prototype.ngOnDestroy = function () {
|
|
888
|
+
this._focusMonitor.stopMonitoring(this._elementRef);
|
|
889
|
+
};
|
|
890
|
+
return WidgetListGroupItemActionableBase;
|
|
891
|
+
}(WidgetListGroupItemBase));
|
|
892
|
+
WidgetListGroupItemActionableBase.decorators = [
|
|
893
|
+
{ type: i0.Directive }
|
|
894
|
+
];
|
|
895
|
+
WidgetListGroupItemActionableBase.ctorParameters = function () { return [
|
|
896
|
+
{ type: i0.ElementRef },
|
|
897
|
+
{ type: a11y.FocusMonitor },
|
|
898
|
+
{ type: i0.Renderer2 }
|
|
899
|
+
]; };
|
|
900
|
+
var _WidgetListGroupItemBase = core.mixinActive(core.mixinTheme(core.mixinDisabled(WidgetListGroupItemBase), 'list-group-item'));
|
|
901
|
+
var _WidgetListGroupItemActionableBase = core.mixinActive(core.mixinTheme(core.mixinDisabled(WidgetListGroupItemActionableBase), 'list-group-item'));
|
|
902
|
+
var WidgetListGroupItemComponent = /** @class */ (function (_super) {
|
|
903
|
+
__extends(WidgetListGroupItemComponent, _super);
|
|
904
|
+
function WidgetListGroupItemComponent(_elementRef, _renderer) {
|
|
905
|
+
var _this = _super.call(this, _elementRef, _renderer) || this;
|
|
906
|
+
_this._elementRef = _elementRef;
|
|
907
|
+
_this._renderer = _renderer;
|
|
908
|
+
return _this;
|
|
909
|
+
}
|
|
910
|
+
WidgetListGroupItemComponent.prototype.ngOnInit = function () { };
|
|
911
|
+
return WidgetListGroupItemComponent;
|
|
912
|
+
}(_WidgetListGroupItemBase));
|
|
913
|
+
WidgetListGroupItemComponent.decorators = [
|
|
914
|
+
{ type: i0.Component, args: [{
|
|
915
|
+
selector: 'seam-widget-list-group-item',
|
|
916
|
+
template: "<div class=\"d-flex flex-row\">\n <ng-container *ngIf=\"iconTpl; else noIconTpl\">\n <span class=\"pr-2\">\n <ng-container *ngTemplateOutlet=\"$any(iconTpl)\"></ng-container>\n </span>\n </ng-container>\n <ng-template #noIconTpl>\n <span class=\"pr-2\">\n <seam-icon *ngIf=\"icon\"\n [icon]=\"icon\"\n [iconClass]=\"iconClass\"\n iconType=\"borderless-styled-square\">\n </seam-icon>\n </span>\n </ng-template>\n\n <div class=\"d-flex flex-column justify-content-center flex-grow-1\">\n {{ label }}\n </div>\n\n <seam-icon *ngIf=\"secondaryIcon\"\n iconType=\"borderless-styled-square\"\n class=\"secondary-icon align-self-center ml-1\"\n [icon]=\"secondaryIcon\"\n [iconClass]=\"secondaryIconClass\"\n [title]=\"secondaryIconTitle\"\n size=\"lg\">\n </seam-icon>\n</div>\n",
|
|
917
|
+
exportAs: 'seamWidgetListGroupItem',
|
|
918
|
+
inputs: WIDGET_LIST_GROUP_ITEM_INPUTS,
|
|
919
|
+
host: {
|
|
920
|
+
'class': 'list-group-item',
|
|
921
|
+
'[class.active]': 'active',
|
|
922
|
+
'[attr.aria-disabled]': 'disabled.toString()',
|
|
923
|
+
'[attr.disabled]': 'disabled || null',
|
|
924
|
+
},
|
|
925
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
926
|
+
styles: [""]
|
|
927
|
+
},] }
|
|
928
|
+
];
|
|
929
|
+
WidgetListGroupItemComponent.ctorParameters = function () { return [
|
|
930
|
+
{ type: i0.ElementRef },
|
|
931
|
+
{ type: i0.Renderer2 }
|
|
932
|
+
]; };
|
|
933
|
+
var WidgetListGroupItemButtonComponent = /** @class */ (function (_super) {
|
|
934
|
+
__extends(WidgetListGroupItemButtonComponent, _super);
|
|
935
|
+
function WidgetListGroupItemButtonComponent(_elementRef, _focusMonitor, _renderer) {
|
|
936
|
+
var _this = _super.call(this, _elementRef, _focusMonitor, _renderer) || this;
|
|
937
|
+
_this._elementRef = _elementRef;
|
|
938
|
+
_this._focusMonitor = _focusMonitor;
|
|
939
|
+
_this._renderer = _renderer;
|
|
940
|
+
/** ARIA type for the button. */
|
|
941
|
+
_this.type = 'button';
|
|
942
|
+
return _this;
|
|
943
|
+
}
|
|
944
|
+
WidgetListGroupItemButtonComponent.prototype.ngOnInit = function () { };
|
|
945
|
+
WidgetListGroupItemButtonComponent.prototype.ngOnDestroy = function () { _super.prototype.ngOnDestroy.call(this); };
|
|
946
|
+
return WidgetListGroupItemButtonComponent;
|
|
947
|
+
}(_WidgetListGroupItemActionableBase));
|
|
948
|
+
WidgetListGroupItemButtonComponent.decorators = [
|
|
949
|
+
{ type: i0.Component, args: [{
|
|
950
|
+
// tslint:disable-next-line:component-selector
|
|
951
|
+
selector: 'button[seam-widget-list-group-item],button[seamWidgetListGroupItem]',
|
|
952
|
+
template: "<div class=\"d-flex flex-row\">\n <ng-container *ngIf=\"iconTpl; else noIconTpl\">\n <span class=\"pr-2\">\n <ng-container *ngTemplateOutlet=\"$any(iconTpl)\"></ng-container>\n </span>\n </ng-container>\n <ng-template #noIconTpl>\n <span class=\"pr-2\">\n <seam-icon *ngIf=\"icon\"\n [icon]=\"icon\"\n [iconClass]=\"iconClass\"\n iconType=\"borderless-styled-square\">\n </seam-icon>\n </span>\n </ng-template>\n\n <div class=\"d-flex flex-column justify-content-center flex-grow-1\">\n {{ label }}\n </div>\n\n <seam-icon *ngIf=\"secondaryIcon\"\n iconType=\"borderless-styled-square\"\n class=\"secondary-icon align-self-center ml-1\"\n [icon]=\"secondaryIcon\"\n [iconClass]=\"secondaryIconClass\"\n [title]=\"secondaryIconTitle\"\n size=\"lg\">\n </seam-icon>\n</div>\n",
|
|
953
|
+
exportAs: 'seamWidgetListGroupItem',
|
|
954
|
+
inputs: WIDGET_LIST_GROUP_ITEM_INPUTS,
|
|
955
|
+
host: {
|
|
956
|
+
'[attr.type]': 'type',
|
|
957
|
+
'class': 'list-group-item list-group-item-action',
|
|
958
|
+
'[class.active]': 'active',
|
|
959
|
+
'[attr.aria-disabled]': 'disabled.toString()',
|
|
960
|
+
'[attr.disabled]': 'disabled || null',
|
|
961
|
+
},
|
|
962
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
963
|
+
styles: [""]
|
|
964
|
+
},] }
|
|
965
|
+
];
|
|
966
|
+
WidgetListGroupItemButtonComponent.ctorParameters = function () { return [
|
|
967
|
+
{ type: i0.ElementRef },
|
|
968
|
+
{ type: a11y.FocusMonitor },
|
|
969
|
+
{ type: i0.Renderer2 }
|
|
970
|
+
]; };
|
|
971
|
+
WidgetListGroupItemButtonComponent.propDecorators = {
|
|
972
|
+
type: [{ type: i0.Input }]
|
|
973
|
+
};
|
|
974
|
+
var WidgetListGroupItemAnchorComponent = /** @class */ (function (_super) {
|
|
975
|
+
__extends(WidgetListGroupItemAnchorComponent, _super);
|
|
976
|
+
function WidgetListGroupItemAnchorComponent(_elementRef, _focusMonitor, _renderer) {
|
|
977
|
+
var _this = _super.call(this, _elementRef, _focusMonitor, _renderer) || this;
|
|
978
|
+
_this._elementRef = _elementRef;
|
|
979
|
+
_this._focusMonitor = _focusMonitor;
|
|
980
|
+
_this._renderer = _renderer;
|
|
981
|
+
return _this;
|
|
982
|
+
}
|
|
983
|
+
WidgetListGroupItemAnchorComponent.prototype.ngOnInit = function () { };
|
|
984
|
+
WidgetListGroupItemAnchorComponent.prototype.ngOnDestroy = function () { _super.prototype.ngOnDestroy.call(this); };
|
|
985
|
+
WidgetListGroupItemAnchorComponent.prototype._haltDisabledEvents = function (event) {
|
|
986
|
+
// A disabled button shouldn't apply any actions
|
|
987
|
+
if (this.disabled) {
|
|
988
|
+
event.preventDefault();
|
|
989
|
+
event.stopImmediatePropagation();
|
|
990
|
+
}
|
|
991
|
+
};
|
|
992
|
+
return WidgetListGroupItemAnchorComponent;
|
|
993
|
+
}(_WidgetListGroupItemActionableBase));
|
|
994
|
+
WidgetListGroupItemAnchorComponent.decorators = [
|
|
995
|
+
{ type: i0.Component, args: [{
|
|
996
|
+
// tslint:disable-next-line:component-selector
|
|
997
|
+
selector: 'a[seam-widget-list-group-item],a[seamWidgetListGroupItem]',
|
|
998
|
+
template: "<div class=\"d-flex flex-row\">\n <ng-container *ngIf=\"iconTpl; else noIconTpl\">\n <span class=\"pr-2\">\n <ng-container *ngTemplateOutlet=\"$any(iconTpl)\"></ng-container>\n </span>\n </ng-container>\n <ng-template #noIconTpl>\n <span class=\"pr-2\">\n <seam-icon *ngIf=\"icon\"\n [icon]=\"icon\"\n [iconClass]=\"iconClass\"\n iconType=\"borderless-styled-square\">\n </seam-icon>\n </span>\n </ng-template>\n\n <div class=\"d-flex flex-column justify-content-center flex-grow-1\">\n {{ label }}\n </div>\n\n <seam-icon *ngIf=\"secondaryIcon\"\n iconType=\"borderless-styled-square\"\n class=\"secondary-icon align-self-center ml-1\"\n [icon]=\"secondaryIcon\"\n [iconClass]=\"secondaryIconClass\"\n [title]=\"secondaryIconTitle\"\n size=\"lg\">\n </seam-icon>\n</div>\n",
|
|
999
|
+
exportAs: 'seamWidgetListGroupItem',
|
|
1000
|
+
inputs: WIDGET_LIST_GROUP_ITEM_INPUTS,
|
|
1001
|
+
host: {
|
|
1002
|
+
'class': 'list-group-item list-group-item-action',
|
|
1003
|
+
'[class.active]': 'active',
|
|
1004
|
+
'[attr.tabindex]': 'disabled ? -1 : (tabIndex || 0)',
|
|
1005
|
+
'[attr.aria-disabled]': 'disabled.toString()',
|
|
1006
|
+
'[attr.disabled]': 'disabled || null',
|
|
1007
|
+
'(click)': '_haltDisabledEvents($event)',
|
|
1008
|
+
},
|
|
1009
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1010
|
+
styles: [""]
|
|
1011
|
+
},] }
|
|
1012
|
+
];
|
|
1013
|
+
WidgetListGroupItemAnchorComponent.ctorParameters = function () { return [
|
|
1014
|
+
{ type: i0.ElementRef },
|
|
1015
|
+
{ type: a11y.FocusMonitor },
|
|
1016
|
+
{ type: i0.Renderer2 }
|
|
1017
|
+
]; };
|
|
1018
|
+
WidgetListGroupItemAnchorComponent.propDecorators = {
|
|
1019
|
+
tabIndex: [{ type: i0.Input }]
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
// TODO: Make `ListGroup` a root component and wrap it with `WidgetListGroup`.
|
|
1023
|
+
var WidgetListGroupComponent = /** @class */ (function () {
|
|
1024
|
+
function WidgetListGroupComponent() {
|
|
1025
|
+
}
|
|
1026
|
+
WidgetListGroupComponent.prototype.ngOnInit = function () { };
|
|
1027
|
+
return WidgetListGroupComponent;
|
|
1028
|
+
}());
|
|
1029
|
+
WidgetListGroupComponent.decorators = [
|
|
1030
|
+
{ type: i0.Component, args: [{
|
|
1031
|
+
selector: 'seam-widget-list-group',
|
|
1032
|
+
template: "<ng-content select=\"seam-widget-list-group-item,\n a[seam-widget-list-group-item],\n a[seamWidgetListGroupItem],\n button[seam-widget-list-group-item],\n button[seamWidgetListGroupItem]\">\n</ng-content>\n",
|
|
1033
|
+
host: {
|
|
1034
|
+
'class': 'list-group'
|
|
1035
|
+
},
|
|
1036
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1037
|
+
styles: [""]
|
|
1038
|
+
},] }
|
|
1039
|
+
];
|
|
1040
|
+
WidgetListGroupComponent.ctorParameters = function () { return []; };
|
|
1041
|
+
|
|
1042
|
+
var TheSeamWidgetListGroupModule = /** @class */ (function () {
|
|
1043
|
+
function TheSeamWidgetListGroupModule() {
|
|
1044
|
+
}
|
|
1045
|
+
return TheSeamWidgetListGroupModule;
|
|
1046
|
+
}());
|
|
1047
|
+
TheSeamWidgetListGroupModule.decorators = [
|
|
1048
|
+
{ type: i0.NgModule, args: [{
|
|
1049
|
+
declarations: [
|
|
1050
|
+
WidgetListGroupComponent,
|
|
1051
|
+
WidgetListGroupItemAnchorComponent,
|
|
1052
|
+
WidgetListGroupItemButtonComponent,
|
|
1053
|
+
WidgetListGroupItemComponent,
|
|
1054
|
+
WidgetListGroupItemIconTplDirective
|
|
1055
|
+
],
|
|
1056
|
+
imports: [
|
|
1057
|
+
common.CommonModule,
|
|
1058
|
+
icon.TheSeamIconModule
|
|
1059
|
+
],
|
|
1060
|
+
exports: [
|
|
1061
|
+
WidgetListGroupComponent,
|
|
1062
|
+
WidgetListGroupItemAnchorComponent,
|
|
1063
|
+
WidgetListGroupItemButtonComponent,
|
|
1064
|
+
WidgetListGroupItemComponent,
|
|
1065
|
+
WidgetListGroupItemIconTplDirective
|
|
1066
|
+
]
|
|
1067
|
+
},] }
|
|
1068
|
+
];
|
|
1069
|
+
|
|
1070
|
+
var WidgetTableComponent = /** @class */ (function () {
|
|
1071
|
+
function WidgetTableComponent() {
|
|
1072
|
+
this.rows = [];
|
|
1073
|
+
this.size = 'sm';
|
|
1074
|
+
this.hasHeader = true;
|
|
1075
|
+
this.actionRefreshRequest = new i0.EventEmitter();
|
|
1076
|
+
}
|
|
1077
|
+
WidgetTableComponent.prototype._actionRefreshRequest = function () {
|
|
1078
|
+
this.actionRefreshRequest.emit();
|
|
1079
|
+
};
|
|
1080
|
+
return WidgetTableComponent;
|
|
1081
|
+
}());
|
|
1082
|
+
WidgetTableComponent.decorators = [
|
|
1083
|
+
{ type: i0.Component, args: [{
|
|
1084
|
+
selector: 'seam-widget-table',
|
|
1085
|
+
template: "<seam-table\n [columns]=\"columns\"\n [rows]=\"rows\"\n [trackBy]=\"trackBy\"\n [size]=\"size\"\n [hasHeader]=\"hasHeader\"\n (actionRefreshRequest)=\"_actionRefreshRequest()\">\n</seam-table>\n",
|
|
1086
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1087
|
+
styles: [""]
|
|
1088
|
+
},] }
|
|
1089
|
+
];
|
|
1090
|
+
WidgetTableComponent.ctorParameters = function () { return []; };
|
|
1091
|
+
WidgetTableComponent.propDecorators = {
|
|
1092
|
+
columns: [{ type: i0.Input }],
|
|
1093
|
+
rows: [{ type: i0.Input }],
|
|
1094
|
+
trackBy: [{ type: i0.Input }],
|
|
1095
|
+
size: [{ type: i0.Input }],
|
|
1096
|
+
hasHeader: [{ type: i0.Input }],
|
|
1097
|
+
actionRefreshRequest: [{ type: i0.Output }]
|
|
1098
|
+
};
|
|
1099
|
+
__decorate([
|
|
1100
|
+
core.InputBoolean()
|
|
1101
|
+
], WidgetTableComponent.prototype, "hasHeader", void 0);
|
|
1102
|
+
|
|
1103
|
+
var TheSeamWidgetTableModule = /** @class */ (function () {
|
|
1104
|
+
function TheSeamWidgetTableModule() {
|
|
1105
|
+
}
|
|
1106
|
+
return TheSeamWidgetTableModule;
|
|
1107
|
+
}());
|
|
1108
|
+
TheSeamWidgetTableModule.decorators = [
|
|
1109
|
+
{ type: i0.NgModule, args: [{
|
|
1110
|
+
declarations: [
|
|
1111
|
+
WidgetTableComponent
|
|
1112
|
+
],
|
|
1113
|
+
imports: [
|
|
1114
|
+
common.CommonModule,
|
|
1115
|
+
table.TheSeamTableModule,
|
|
1116
|
+
tableCellTypes.TheSeamTableCellTypesModule
|
|
1117
|
+
],
|
|
1118
|
+
exports: [
|
|
1119
|
+
WidgetTableComponent
|
|
1120
|
+
]
|
|
1121
|
+
},] }
|
|
1122
|
+
];
|
|
1123
|
+
|
|
1124
|
+
var WidgetTileFooterComponent = /** @class */ (function () {
|
|
1125
|
+
function WidgetTileFooterComponent() {
|
|
1126
|
+
}
|
|
1127
|
+
WidgetTileFooterComponent.prototype.ngOnInit = function () {
|
|
1128
|
+
};
|
|
1129
|
+
return WidgetTileFooterComponent;
|
|
1130
|
+
}());
|
|
1131
|
+
WidgetTileFooterComponent.decorators = [
|
|
1132
|
+
{ type: i0.Component, args: [{
|
|
1133
|
+
selector: 'seam-widget-tile-footer,[seam-widget-tile-footer]',
|
|
1134
|
+
template: "\n <ng-content select=\"seam-widget-tile-footer-item,[seam-widget-tile-footer-item]\"></ng-content>\n\n",
|
|
1135
|
+
host: {
|
|
1136
|
+
class: 'd-flex flex-row justify-content-end'
|
|
1137
|
+
},
|
|
1138
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1139
|
+
styles: [""]
|
|
1140
|
+
},] }
|
|
1141
|
+
];
|
|
1142
|
+
WidgetTileFooterComponent.ctorParameters = function () { return []; };
|
|
1143
|
+
|
|
1144
|
+
var WidgetTileFooterItemComponent = /** @class */ (function () {
|
|
1145
|
+
function WidgetTileFooterItemComponent(_elementRef) {
|
|
1146
|
+
this._elementRef = _elementRef;
|
|
1147
|
+
this.disabled = false;
|
|
1148
|
+
}
|
|
1149
|
+
Object.defineProperty(WidgetTileFooterItemComponent.prototype, "_attrType", {
|
|
1150
|
+
get: function () {
|
|
1151
|
+
return this._type || this._isButton() ? 'button' : undefined;
|
|
1152
|
+
},
|
|
1153
|
+
enumerable: false,
|
|
1154
|
+
configurable: true
|
|
1155
|
+
});
|
|
1156
|
+
Object.defineProperty(WidgetTileFooterItemComponent.prototype, "_DisabledCss", {
|
|
1157
|
+
get: function () { return this.disabled; },
|
|
1158
|
+
enumerable: false,
|
|
1159
|
+
configurable: true
|
|
1160
|
+
});
|
|
1161
|
+
Object.defineProperty(WidgetTileFooterItemComponent.prototype, "type", {
|
|
1162
|
+
get: function () { return this._type; },
|
|
1163
|
+
enumerable: false,
|
|
1164
|
+
configurable: true
|
|
1165
|
+
});
|
|
1166
|
+
WidgetTileFooterItemComponent.prototype.ngOnInit = function () { };
|
|
1167
|
+
/** Determines if the component host is a button. */
|
|
1168
|
+
WidgetTileFooterItemComponent.prototype._isButton = function () {
|
|
1169
|
+
return this._elementRef.nativeElement.nodeName.toLowerCase() === 'button';
|
|
1170
|
+
};
|
|
1171
|
+
return WidgetTileFooterItemComponent;
|
|
1172
|
+
}());
|
|
1173
|
+
WidgetTileFooterItemComponent.decorators = [
|
|
1174
|
+
{ type: i0.Component, args: [{
|
|
1175
|
+
selector: 'seam-widget-tile-footer-item,a[seam-widget-tile-footer-item],button[seam-widget-tile-footer-item]',
|
|
1176
|
+
template: "<ng-content></ng-content>\n",
|
|
1177
|
+
host: {
|
|
1178
|
+
class: 'btn btn-link py-0 px-1'
|
|
1179
|
+
},
|
|
1180
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1181
|
+
styles: [":host{font-size:12px}"]
|
|
1182
|
+
},] }
|
|
1183
|
+
];
|
|
1184
|
+
WidgetTileFooterItemComponent.ctorParameters = function () { return [
|
|
1185
|
+
{ type: i0.ElementRef }
|
|
1186
|
+
]; };
|
|
1187
|
+
WidgetTileFooterItemComponent.propDecorators = {
|
|
1188
|
+
_attrType: [{ type: i0.HostBinding, args: ['attr.type',] }],
|
|
1189
|
+
_DisabledCss: [{ type: i0.HostBinding, args: ['class.disabled',] }],
|
|
1190
|
+
type: [{ type: i0.Input }],
|
|
1191
|
+
disabled: [{ type: i0.Input }]
|
|
1192
|
+
};
|
|
1193
|
+
__decorate([
|
|
1194
|
+
core.InputBoolean()
|
|
1195
|
+
], WidgetTileFooterItemComponent.prototype, "disabled", void 0);
|
|
1196
|
+
|
|
1197
|
+
var WidgetTileGroupComponent = /** @class */ (function () {
|
|
1198
|
+
function WidgetTileGroupComponent() {
|
|
1199
|
+
}
|
|
1200
|
+
WidgetTileGroupComponent.prototype.ngOnInit = function () {
|
|
1201
|
+
};
|
|
1202
|
+
return WidgetTileGroupComponent;
|
|
1203
|
+
}());
|
|
1204
|
+
WidgetTileGroupComponent.decorators = [
|
|
1205
|
+
{ type: i0.Component, args: [{
|
|
1206
|
+
selector: 'seam-widget-tile-group',
|
|
1207
|
+
template: "<ng-content select=\"[seam-widget-tile],seam-widget-tile\"></ng-content>\n<ng-content select=\"seam-widget-tile-footer\"></ng-content>\n",
|
|
1208
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1209
|
+
styles: [":host{display:block;margin-bottom:.5rem}:host:last-child{margin-bottom:0}:host ::ng-deep [seam-widget-tile]{margin-bottom:0}"]
|
|
1210
|
+
},] }
|
|
1211
|
+
];
|
|
1212
|
+
WidgetTileGroupComponent.ctorParameters = function () { return []; };
|
|
1213
|
+
|
|
1214
|
+
var WidgetTileSecondaryIconDirective = /** @class */ (function () {
|
|
1215
|
+
function WidgetTileSecondaryIconDirective(template) {
|
|
1216
|
+
this.template = template;
|
|
1217
|
+
}
|
|
1218
|
+
return WidgetTileSecondaryIconDirective;
|
|
1219
|
+
}());
|
|
1220
|
+
WidgetTileSecondaryIconDirective.decorators = [
|
|
1221
|
+
{ type: i0.Directive, args: [{
|
|
1222
|
+
selector: '[seamWidgetTileSecondaryIcon]',
|
|
1223
|
+
exportAs: 'seamWidgetTileSecondaryIcon'
|
|
1224
|
+
},] }
|
|
1225
|
+
];
|
|
1226
|
+
WidgetTileSecondaryIconDirective.ctorParameters = function () { return [
|
|
1227
|
+
{ type: i0.TemplateRef }
|
|
1228
|
+
]; };
|
|
1229
|
+
|
|
1230
|
+
var TheSeamWidgetTileBase = /** @class */ (function () {
|
|
1231
|
+
function TheSeamWidgetTileBase(_elementRef, _focusMonitor, _renderer) {
|
|
1232
|
+
this._elementRef = _elementRef;
|
|
1233
|
+
this._focusMonitor = _focusMonitor;
|
|
1234
|
+
this._renderer = _renderer;
|
|
1235
|
+
this._focusMonitor.monitor(this._elementRef, true);
|
|
1236
|
+
}
|
|
1237
|
+
TheSeamWidgetTileBase.prototype.ngOnDestroy = function () {
|
|
1238
|
+
this._focusMonitor.stopMonitoring(this._elementRef);
|
|
1239
|
+
};
|
|
1240
|
+
/** Focuses the button. */
|
|
1241
|
+
TheSeamWidgetTileBase.prototype.focus = function () {
|
|
1242
|
+
this._getHostElement().focus();
|
|
1243
|
+
};
|
|
1244
|
+
TheSeamWidgetTileBase.prototype._getHostElement = function () {
|
|
1245
|
+
return this._elementRef.nativeElement;
|
|
1246
|
+
};
|
|
1247
|
+
return TheSeamWidgetTileBase;
|
|
1248
|
+
}());
|
|
1249
|
+
TheSeamWidgetTileBase.decorators = [
|
|
1250
|
+
{ type: i0.Component, args: [{ template: '' },] }
|
|
1251
|
+
];
|
|
1252
|
+
TheSeamWidgetTileBase.ctorParameters = function () { return [
|
|
1253
|
+
{ type: i0.ElementRef },
|
|
1254
|
+
{ type: a11y.FocusMonitor },
|
|
1255
|
+
{ type: i0.Renderer2 }
|
|
1256
|
+
]; };
|
|
1257
|
+
var _TheSeamWidgetTileMixinBase = core.mixinTabIndex(core.mixinDisabled(TheSeamWidgetTileBase));
|
|
1258
|
+
// TODO: Should this component be split into separate components for button and anchor.
|
|
1259
|
+
var WidgetTileComponent = /** @class */ (function (_super) {
|
|
1260
|
+
__extends(WidgetTileComponent, _super);
|
|
1261
|
+
function WidgetTileComponent(_elementRef, _focusMonitor, _renderer) {
|
|
1262
|
+
var _this = _super.call(this, _elementRef, _focusMonitor, _renderer) || this;
|
|
1263
|
+
_this.grayscaleOnDisable = true;
|
|
1264
|
+
_this._haltDisabledEvents = function (event) {
|
|
1265
|
+
// A disabled button shouldn't apply any actions
|
|
1266
|
+
if (_this.disabled) {
|
|
1267
|
+
event.preventDefault();
|
|
1268
|
+
event.stopImmediatePropagation();
|
|
1269
|
+
}
|
|
1270
|
+
};
|
|
1271
|
+
return _this;
|
|
1272
|
+
}
|
|
1273
|
+
Object.defineProperty(WidgetTileComponent.prototype, "_attrType", {
|
|
1274
|
+
get: function () {
|
|
1275
|
+
return this._type || this._isButton() ? 'button' : undefined;
|
|
1276
|
+
},
|
|
1277
|
+
enumerable: false,
|
|
1278
|
+
configurable: true
|
|
1279
|
+
});
|
|
1280
|
+
Object.defineProperty(WidgetTileComponent.prototype, "_btnCss", {
|
|
1281
|
+
get: function () { return this._isButton() ? true : false; },
|
|
1282
|
+
enumerable: false,
|
|
1283
|
+
configurable: true
|
|
1284
|
+
});
|
|
1285
|
+
Object.defineProperty(WidgetTileComponent.prototype, "_disabledCss", {
|
|
1286
|
+
get: function () { return this.disabled; },
|
|
1287
|
+
enumerable: false,
|
|
1288
|
+
configurable: true
|
|
1289
|
+
});
|
|
1290
|
+
Object.defineProperty(WidgetTileComponent.prototype, "_ariaDisabled", {
|
|
1291
|
+
get: function () { return this.disabled.toString(); },
|
|
1292
|
+
enumerable: false,
|
|
1293
|
+
configurable: true
|
|
1294
|
+
});
|
|
1295
|
+
Object.defineProperty(WidgetTileComponent.prototype, "_attrDisabled", {
|
|
1296
|
+
get: function () { return this.disabled || null; },
|
|
1297
|
+
enumerable: false,
|
|
1298
|
+
configurable: true
|
|
1299
|
+
});
|
|
1300
|
+
Object.defineProperty(WidgetTileComponent.prototype, "_attrTabIndex", {
|
|
1301
|
+
get: function () { return this.disabled ? -1 : (this.tabIndex || 0); },
|
|
1302
|
+
enumerable: false,
|
|
1303
|
+
configurable: true
|
|
1304
|
+
});
|
|
1305
|
+
Object.defineProperty(WidgetTileComponent.prototype, "type", {
|
|
1306
|
+
get: function () { return this._type; },
|
|
1307
|
+
enumerable: false,
|
|
1308
|
+
configurable: true
|
|
1309
|
+
});
|
|
1310
|
+
WidgetTileComponent.prototype.ngOnInit = function () {
|
|
1311
|
+
if (this._isAnchor()) {
|
|
1312
|
+
this._clickUnListen = this._renderer.listen(this._getHostElement(), 'click', this._haltDisabledEvents);
|
|
1313
|
+
}
|
|
1314
|
+
};
|
|
1315
|
+
WidgetTileComponent.prototype.ngOnDestroy = function () {
|
|
1316
|
+
_super.prototype.ngOnDestroy.call(this);
|
|
1317
|
+
if (this._clickUnListen) {
|
|
1318
|
+
this._clickUnListen();
|
|
1319
|
+
}
|
|
1320
|
+
};
|
|
1321
|
+
/** Determines if the component host is a button. */
|
|
1322
|
+
WidgetTileComponent.prototype._isButton = function () {
|
|
1323
|
+
return this._elementRef.nativeElement.nodeName.toLowerCase() === 'button';
|
|
1324
|
+
};
|
|
1325
|
+
/** Determines if the component host is an anchor. */
|
|
1326
|
+
WidgetTileComponent.prototype._isAnchor = function () {
|
|
1327
|
+
return this._elementRef.nativeElement.nodeName.toLowerCase() === 'a';
|
|
1328
|
+
};
|
|
1329
|
+
return WidgetTileComponent;
|
|
1330
|
+
}(_TheSeamWidgetTileMixinBase));
|
|
1331
|
+
WidgetTileComponent.decorators = [
|
|
1332
|
+
{ type: i0.Component, args: [{
|
|
1333
|
+
selector: 'seam-widget-tile, a[seam-widget-tile], button[seam-widget-tile]',
|
|
1334
|
+
template: "<div class=\"d-flex flex-row\">\n <div style=\"position: relative\">\n <seam-icon\n [icon]=\"icon\"\n iconType=\"styled-square\"\n [iconClass]=\"iconClass\"\n [disabled]=\"disabled\">\n </seam-icon>\n\n <seam-icon *ngIf=\"notificationIcon\"\n class=\"widget-tile--notification-icon\"\n [icon]=\"notificationIcon\"\n iconType=\"image-fill\"\n [iconClass]=\"notificationIconClass\"\n [disabled]=\"disabled\">\n </seam-icon>\n </div>\n <div class=\"flex-grow-1 text-left pl-2\" style=\"margin: auto 0;\">\n <ng-content></ng-content>\n </div>\n <div *ngIf=\"secondaryIcon\">\n <ng-template [ngTemplateOutlet]=\"secondaryIcon.template\"></ng-template>\n </div>\n</div>\n",
|
|
1335
|
+
inputs: ['disabled'],
|
|
1336
|
+
exportAs: 'seamWidgetTile',
|
|
1337
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
1338
|
+
styles: ["a[seam-widget-tile],button[seam-widget-tile],seam-widget-tile{display:block;width:100%;padding:4px;text-decoration:none;color:#212529;font-size:14px;font-weight:400;line-height:18px;border:1px solid #dee2e6;border-radius:10px;margin-bottom:.5rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}a[seam-widget-tile]:hover,button[seam-widget-tile]:hover,seam-widget-tile:hover{color:#212529;background-color:#f4f4f4;text-decoration:none}a[seam-widget-tile].focus,a[seam-widget-tile]:focus,button[seam-widget-tile].focus,button[seam-widget-tile]:focus,seam-widget-tile.focus,seam-widget-tile:focus{box-shadow:0 0 0 .2rem rgba(53,126,189,.25);outline:0}a[seam-widget-tile].disabled,a[seam-widget-tile]:disabled,button[seam-widget-tile].disabled,button[seam-widget-tile]:disabled,seam-widget-tile.disabled,seam-widget-tile:disabled{opacity:.65;pointer-events:none;cursor:default;filter:grayscale(1)}a[seam-widget-tile]:last-child,button[seam-widget-tile]:last-child,seam-widget-tile:last-child{margin-bottom:0}a[seam-widget-tile] .widget-tile--notification-icon,button[seam-widget-tile] .widget-tile--notification-icon,seam-widget-tile .widget-tile--notification-icon{position:absolute;bottom:-3px;right:-3px;width:15px!important;height:15px!important}a[seam-widget-tile] seam-icon img[src$=\".svg\"],button[seam-widget-tile] seam-icon img[src$=\".svg\"],seam-widget-tile seam-icon img[src$=\".svg\"]{height:100%}"]
|
|
1339
|
+
},] }
|
|
1340
|
+
];
|
|
1341
|
+
WidgetTileComponent.ctorParameters = function () { return [
|
|
1342
|
+
{ type: i0.ElementRef },
|
|
1343
|
+
{ type: a11y.FocusMonitor },
|
|
1344
|
+
{ type: i0.Renderer2 }
|
|
1345
|
+
]; };
|
|
1346
|
+
WidgetTileComponent.propDecorators = {
|
|
1347
|
+
_attrType: [{ type: i0.HostBinding, args: ['attr.type',] }],
|
|
1348
|
+
_btnCss: [{ type: i0.HostBinding, args: ['class.btn',] }],
|
|
1349
|
+
_disabledCss: [{ type: i0.HostBinding, args: ['class.disabled',] }],
|
|
1350
|
+
_ariaDisabled: [{ type: i0.HostBinding, args: ['attr.aria-disabled',] }],
|
|
1351
|
+
_attrDisabled: [{ type: i0.HostBinding, args: ['attr.disabled',] }],
|
|
1352
|
+
_attrTabIndex: [{ type: i0.HostBinding, args: ['attr.tabindex',] }],
|
|
1353
|
+
type: [{ type: i0.Input }],
|
|
1354
|
+
icon: [{ type: i0.Input }],
|
|
1355
|
+
grayscaleOnDisable: [{ type: i0.Input }],
|
|
1356
|
+
iconClass: [{ type: i0.Input }],
|
|
1357
|
+
notificationIcon: [{ type: i0.Input }],
|
|
1358
|
+
notificationIconClass: [{ type: i0.Input }],
|
|
1359
|
+
secondaryIcon: [{ type: i0.ContentChild, args: [WidgetTileSecondaryIconDirective, { static: true },] }]
|
|
1360
|
+
};
|
|
1361
|
+
__decorate([
|
|
1362
|
+
core.InputBoolean()
|
|
1363
|
+
], WidgetTileComponent.prototype, "grayscaleOnDisable", void 0);
|
|
1364
|
+
|
|
1365
|
+
var TheSeamWidgetTileModule = /** @class */ (function () {
|
|
1366
|
+
function TheSeamWidgetTileModule() {
|
|
1367
|
+
}
|
|
1368
|
+
return TheSeamWidgetTileModule;
|
|
1369
|
+
}());
|
|
1370
|
+
TheSeamWidgetTileModule.decorators = [
|
|
1371
|
+
{ type: i0.NgModule, args: [{
|
|
1372
|
+
declarations: [
|
|
1373
|
+
WidgetTileComponent,
|
|
1374
|
+
WidgetTileSecondaryIconDirective,
|
|
1375
|
+
WidgetTileFooterComponent,
|
|
1376
|
+
WidgetTileGroupComponent,
|
|
1377
|
+
WidgetTileFooterItemComponent
|
|
1378
|
+
],
|
|
1379
|
+
imports: [
|
|
1380
|
+
common.CommonModule,
|
|
1381
|
+
icon.TheSeamIconModule
|
|
1382
|
+
],
|
|
1383
|
+
exports: [
|
|
1384
|
+
WidgetTileComponent,
|
|
1385
|
+
WidgetTileSecondaryIconDirective,
|
|
1386
|
+
WidgetTileFooterComponent,
|
|
1387
|
+
WidgetTileGroupComponent,
|
|
1388
|
+
WidgetTileFooterItemComponent
|
|
1389
|
+
]
|
|
1390
|
+
},] }
|
|
1391
|
+
];
|
|
1392
|
+
|
|
1393
|
+
var WidgetTileListComponent = /** @class */ (function () {
|
|
1394
|
+
function WidgetTileListComponent() {
|
|
1395
|
+
}
|
|
1396
|
+
WidgetTileListComponent.prototype.ngOnInit = function () {
|
|
1397
|
+
};
|
|
1398
|
+
return WidgetTileListComponent;
|
|
1399
|
+
}());
|
|
1400
|
+
WidgetTileListComponent.decorators = [
|
|
1401
|
+
{ type: i0.Component, args: [{
|
|
1402
|
+
selector: 'seam-widget-tile-list',
|
|
1403
|
+
template: "<ng-content select=\"[seam-widget-tile],seam-widget-tile,seam-widget-tile-group\"></ng-content>\n",
|
|
1404
|
+
styles: [":host{display:flex;flex-direction:column}"]
|
|
1405
|
+
},] }
|
|
1406
|
+
];
|
|
1407
|
+
WidgetTileListComponent.ctorParameters = function () { return []; };
|
|
1408
|
+
|
|
1409
|
+
var TheSeamWidgetTileListModule = /** @class */ (function () {
|
|
1410
|
+
function TheSeamWidgetTileListModule() {
|
|
1411
|
+
}
|
|
1412
|
+
return TheSeamWidgetTileListModule;
|
|
1413
|
+
}());
|
|
1414
|
+
TheSeamWidgetTileListModule.decorators = [
|
|
1415
|
+
{ type: i0.NgModule, args: [{
|
|
1416
|
+
declarations: [
|
|
1417
|
+
WidgetTileListComponent
|
|
1418
|
+
],
|
|
1419
|
+
imports: [
|
|
1420
|
+
common.CommonModule
|
|
1421
|
+
],
|
|
1422
|
+
exports: [
|
|
1423
|
+
WidgetTileListComponent,
|
|
1424
|
+
TheSeamWidgetTileModule
|
|
1425
|
+
]
|
|
1426
|
+
},] }
|
|
1427
|
+
];
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* Widget
|
|
1431
|
+
*
|
|
1432
|
+
* Widgets are designed with the intention of being on a dashboard. Other uses
|
|
1433
|
+
* may be supported as the need arises.
|
|
1434
|
+
*
|
|
1435
|
+
* The only HTML/CSS use should be a widget content component, unless there is a
|
|
1436
|
+
* case requiring more advanced design. This is so that we can manage a common
|
|
1437
|
+
* style for our widgets. If a case requiring non widget content components is
|
|
1438
|
+
* used then the situation should be considered for becoming a widget component.
|
|
1439
|
+
*/
|
|
1440
|
+
var WidgetComponent = /** @class */ (function () {
|
|
1441
|
+
/** @ignore */
|
|
1442
|
+
function WidgetComponent() {
|
|
1443
|
+
/** @ignore */
|
|
1444
|
+
this.configIcon = freeSolidSvgIcons.faCog;
|
|
1445
|
+
/** @ignore */
|
|
1446
|
+
this.collapseIcon = freeSolidSvgIcons.faAngleDown;
|
|
1447
|
+
this.collapsed = false;
|
|
1448
|
+
/**
|
|
1449
|
+
* Toggles the top header bar of a widget. This should be true for most
|
|
1450
|
+
* widgets.
|
|
1451
|
+
*/
|
|
1452
|
+
this.hasHeader = true;
|
|
1453
|
+
/** Shows widget loading instead of content. */
|
|
1454
|
+
this.loading = false;
|
|
1455
|
+
/** @ignore */
|
|
1456
|
+
// NOTE: Config is still being worked on.
|
|
1457
|
+
this.hasConfig = false;
|
|
1458
|
+
/** @ignore */
|
|
1459
|
+
// NOTE: Collapse is still being worked on.
|
|
1460
|
+
this.canCollapse = false;
|
|
1461
|
+
}
|
|
1462
|
+
Object.defineProperty(WidgetComponent.prototype, "icon", {
|
|
1463
|
+
/**
|
|
1464
|
+
* Icon displayed in the top header.
|
|
1465
|
+
*
|
|
1466
|
+
* If a more advanced icon is needed you can use `seamWidgetIconTpl` template
|
|
1467
|
+
* directive, but a `SeamIcon` input is recommended, because allowing custom
|
|
1468
|
+
* icons that do not follow the tested types can lead to inconsitency quickly
|
|
1469
|
+
* as different developers keep making tweaks.
|
|
1470
|
+
*/
|
|
1471
|
+
get: function () { return this._iconUrl || this._iconObj; },
|
|
1472
|
+
set: function (value) {
|
|
1473
|
+
if (typeof value === 'string') {
|
|
1474
|
+
this._iconUrl = value;
|
|
1475
|
+
this._iconObj = undefined;
|
|
1476
|
+
}
|
|
1477
|
+
else {
|
|
1478
|
+
this._iconUrl = undefined;
|
|
1479
|
+
this._iconObj = value;
|
|
1480
|
+
}
|
|
1481
|
+
},
|
|
1482
|
+
enumerable: false,
|
|
1483
|
+
configurable: true
|
|
1484
|
+
});
|
|
1485
|
+
/** @ignore */
|
|
1486
|
+
WidgetComponent.prototype.ngOnInit = function () { };
|
|
1487
|
+
/**
|
|
1488
|
+
* Toggles a widget's collapsed state.
|
|
1489
|
+
*
|
|
1490
|
+
* NOTE: Collapse is still being worked on.
|
|
1491
|
+
* @depracated
|
|
1492
|
+
* @ignore
|
|
1493
|
+
*/
|
|
1494
|
+
WidgetComponent.prototype.collapse = function () {
|
|
1495
|
+
this.collapsed = !this.collapsed;
|
|
1496
|
+
};
|
|
1497
|
+
return WidgetComponent;
|
|
1498
|
+
}());
|
|
1499
|
+
WidgetComponent.decorators = [
|
|
1500
|
+
{ type: i0.Component, args: [{
|
|
1501
|
+
selector: 'seam-widget',
|
|
1502
|
+
template: "<div class=\"seam-widget border rounded overflow-hidden\">\n <div class=\"widget-header\" seamWidgetDragHandle *ngIf=\"hasHeader\">\n <div class=\"widget-header-content p-2 text-nowrap\">\n <span class=\"mr-1 widget-header-icon\">\n <ng-container *ngIf=\"iconTpl; else noIconTpl\">\n <ng-template\n [ngTemplateOutlet]=\"iconTpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: icon, icon: icon, title: titleText }\">\n </ng-template>\n </ng-container>\n <ng-template #noIconTpl>\n <fa-icon *ngIf=\"_iconObj\"\n class=\"widget-header-icon--fa {{ iconClass }}\"\n [icon]=\"_iconObj\"></fa-icon>\n <img *ngIf=\"_iconUrl\"\n class=\"widget-header-icon--img {{ iconClass }}\"\n [src]=\"_iconUrl\" [alt]=\"titleText\">\n </ng-template>\n </span>\n <span class=\"widget-header-title text-truncate\">\n <ng-container *ngIf=\"titleTpl; else noTitleTpl\">\n <ng-template\n [ngTemplateOutlet]=\"titleTpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: titleText, icon: icon, title: titleText }\">\n </ng-template>\n </ng-container>\n <ng-template #noTitleTpl>{{ titleText }}</ng-template>\n </span>\n </div>\n <div class=\"widget-header-btns-container\" *ngIf=\"hasConfig || canCollapse\">\n <div *ngIf=\"hasConfig\">\n <!-- <button seamIconBtn [icon]=\"configIcon\"\n class=\"widget-header-btn-config\"\n iconType=\"\">\n <span class=\"sr-only\">Widget configuration menu</span>\n </button> -->\n <button seamButton class=\"widget-header-btn-config p-0\">\n <seam-icon class=\"d-block\" [icon]=\"configIcon\" iconClass=\"text-secondary\"></seam-icon>\n <span class=\"sr-only\">Widget configuration menu</span>\n </button>\n </div>\n\n <div *ngIf=\"canCollapse\" class=\"px-0\">\n <button seamButton class=\"widget-header-btn-collapse p-0\" (click)=\"collapse()\">\n <seam-icon class=\"d-block\" [icon]=\"collapseIcon\" iconClass=\"text-secondary\" style=\"margin-left: -10px; margin-right: -5px;\"></seam-icon>\n <span class=\"sr-only\">Widget collapse</span>\n </button>\n </div>\n </div>\n </div>\n <div class=\"position-relative\" [style.height.px]=\"loading ? 150 : undefined\">\n <ng-container *ngIf=\"!collapsed\">\n <div class=\"p-2\" *ngIf=\"!loading else loadingTpl\">\n <ng-content></ng-content>\n </div>\n <ng-content select=\"seam-widget-footer\"></ng-content>\n <ng-template #loadingTpl>\n <div class=\"position-absolute\" @loadingAnim style=\"top:0;right:0;bottom:0;left:0\">\n <seam-loading [theme]=\"'primary'\"></seam-loading>\n </div>\n </ng-template>\n </ng-container>\n </div>\n</div>\n",
|
|
1503
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
1504
|
+
animations: [
|
|
1505
|
+
animations.trigger('loadingAnim', [
|
|
1506
|
+
animations.transition(':enter', [
|
|
1507
|
+
animations.style({ opacity: 0 }),
|
|
1508
|
+
animations.animate('250ms ease-in-out', animations.style({ opacity: 1 }))
|
|
1509
|
+
]),
|
|
1510
|
+
animations.transition(':leave', [
|
|
1511
|
+
animations.style({ opacity: 1 }),
|
|
1512
|
+
animations.animate('250ms ease-in-out', animations.style({ opacity: 0 }))
|
|
1513
|
+
])
|
|
1514
|
+
])
|
|
1515
|
+
],
|
|
1516
|
+
styles: ["seam-widget{display:block;font-size:15px}seam-widget .seam-widget{background:#fff}seam-widget .widget-header{display:flex;flex-direction:row;border-bottom:1px solid #dee2e6;background:#f4f4f4;font-size:17px}seam-widget .widget-header .widget-header-content{flex:1 1 100%}seam-widget .widget-header .widget-header-btns-container{display:flex;flex-direction:row}seam-widget .widget-header .widget-header-btns-container>div{display:flex;flex-direction:column;justify-content:center;padding:4px}seam-widget .widget-header .widget-header-btns-container .widget-header-btn-config .seam-icon--fa{display:flex;flex-direction:row;justify-content:center;text-align:center;height:25px;width:30px}seam-widget .widget-header .widget-header-btns-container .widget-header-btn-config .seam-icon--fa .svg-inline--fa{max-width:100%;height:100%;width:100%}seam-widget .widget-header .widget-header-btns-container .widget-header-btn-collapse .seam-icon--fa{display:flex;flex-direction:row;justify-content:center;text-align:center;height:15px;width:30px}seam-widget .widget-header .widget-header-btns-container .widget-header-btn-collapse .seam-icon--fa .svg-inline--fa{max-width:100%;height:100%;width:100%}seam-widget .widget-header .widget-header-title{font-size:17px}seam-widget .widget-header-icon{display:inline-block;vertical-align:top;max-height:20px;max-width:20px;height:20px;width:20px}seam-widget .widget-header-icon .widget-header-icon--fa{display:flex;flex-direction:row;justify-content:center;text-align:center;max-height:20px;max-width:20px;height:20px;width:20px}seam-widget .widget-header-icon .widget-header-icon--fa .svg-inline--fa{max-width:100%;height:100%;width:100%}seam-widget .widget-header-icon .widget-header-icon--img{height:100%;max-height:20px;max-width:20px}"]
|
|
1517
|
+
},] }
|
|
1518
|
+
];
|
|
1519
|
+
WidgetComponent.ctorParameters = function () { return []; };
|
|
1520
|
+
WidgetComponent.propDecorators = {
|
|
1521
|
+
collapsed: [{ type: i0.Input }],
|
|
1522
|
+
hasHeader: [{ type: i0.Input }],
|
|
1523
|
+
titleText: [{ type: i0.Input }],
|
|
1524
|
+
icon: [{ type: i0.Input }],
|
|
1525
|
+
iconClass: [{ type: i0.Input }],
|
|
1526
|
+
loading: [{ type: i0.Input }],
|
|
1527
|
+
hasConfig: [{ type: i0.Input }],
|
|
1528
|
+
canCollapse: [{ type: i0.Input }],
|
|
1529
|
+
iconTpl: [{ type: i0.ContentChild, args: [WidgetIconTplDirective, { static: true },] }],
|
|
1530
|
+
titleTpl: [{ type: i0.ContentChild, args: [WidgetTitleTplDirective, { static: true },] }]
|
|
1531
|
+
};
|
|
1532
|
+
__decorate([
|
|
1533
|
+
core.InputBoolean()
|
|
1534
|
+
], WidgetComponent.prototype, "collapsed", void 0);
|
|
1535
|
+
__decorate([
|
|
1536
|
+
core.InputBoolean()
|
|
1537
|
+
], WidgetComponent.prototype, "hasHeader", void 0);
|
|
1538
|
+
__decorate([
|
|
1539
|
+
core.InputBoolean()
|
|
1540
|
+
], WidgetComponent.prototype, "loading", void 0);
|
|
1541
|
+
__decorate([
|
|
1542
|
+
core.InputBoolean()
|
|
1543
|
+
], WidgetComponent.prototype, "hasConfig", void 0);
|
|
1544
|
+
__decorate([
|
|
1545
|
+
core.InputBoolean()
|
|
1546
|
+
], WidgetComponent.prototype, "canCollapse", void 0);
|
|
1547
|
+
|
|
1548
|
+
var WidgetFooterComponent = /** @class */ (function () {
|
|
1549
|
+
function WidgetFooterComponent() {
|
|
1550
|
+
}
|
|
1551
|
+
WidgetFooterComponent.prototype.ngOnInit = function () { };
|
|
1552
|
+
return WidgetFooterComponent;
|
|
1553
|
+
}());
|
|
1554
|
+
WidgetFooterComponent.decorators = [
|
|
1555
|
+
{ type: i0.Component, args: [{
|
|
1556
|
+
selector: 'seam-widget-footer',
|
|
1557
|
+
template: "<div class=\"widget-footer--left\">\n <ng-content select=\"seam-widget-footer-text\"></ng-content>\n</div>\n<div class=\"widget-footer--right\">\n <ng-content select=\"seam-widget-button-group\"></ng-content>\n</div>\n",
|
|
1558
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1559
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
1560
|
+
styles: ["seam-widget-footer{display:flex;flex-direction:row;margin:.25rem}seam-widget-footer .widget-footer--left{flex:1 1 100%}seam-widget-footer .widget-footer--right{flex:0 0 auto}"]
|
|
1561
|
+
},] }
|
|
1562
|
+
];
|
|
1563
|
+
WidgetFooterComponent.ctorParameters = function () { return []; };
|
|
1564
|
+
|
|
1565
|
+
var THESEAM_WIDGETS = new i0.InjectionToken('TheSeamWidgets');
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* Registry is to provide a way to manage widgets in a way that we can load them
|
|
1569
|
+
* the same way throughout the app, whether the component itself is registered,
|
|
1570
|
+
* the component is lazy-loaded, or referenced by an id stored in the database.
|
|
1571
|
+
*/
|
|
1572
|
+
var WidgetRegistryService = /** @class */ (function () {
|
|
1573
|
+
function WidgetRegistryService(_widgets, _dynamicComponentLoader) {
|
|
1574
|
+
this._widgets = _widgets;
|
|
1575
|
+
this._dynamicComponentLoader = _dynamicComponentLoader;
|
|
1576
|
+
}
|
|
1577
|
+
WidgetRegistryService.prototype.createWidgetPortal = function (widgetId, viewContainerRef, injector, componentFactoryResolver) {
|
|
1578
|
+
var widgetDef = (this._widgets || []).find(function (w) { return w.widgetId === widgetId; });
|
|
1579
|
+
if (!widgetDef) {
|
|
1580
|
+
return rxjs.throwError("WidgetRegstry: Unknown widgetId \"" + widgetId + "\"");
|
|
1581
|
+
}
|
|
1582
|
+
if (typeof widgetDef.componentOrComponentId === 'string') {
|
|
1583
|
+
return this._dynamicComponentLoader
|
|
1584
|
+
.getComponentFactory(widgetDef.componentOrComponentId)
|
|
1585
|
+
.pipe(operators.map(function (componentFactory) {
|
|
1586
|
+
var resolver = componentFactoryResolver;
|
|
1587
|
+
if (!resolver) {
|
|
1588
|
+
var m = componentFactory.ngModule;
|
|
1589
|
+
if (m && m.componentFactoryResolver) {
|
|
1590
|
+
resolver = m.componentFactoryResolver;
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
var portal$1 = new portal.ComponentPortal(componentFactory.componentType, viewContainerRef, injector, resolver);
|
|
1594
|
+
return portal$1;
|
|
1595
|
+
}));
|
|
1596
|
+
}
|
|
1597
|
+
else {
|
|
1598
|
+
var portal$1 = new portal.ComponentPortal(widgetDef.componentOrComponentId, viewContainerRef, injector, componentFactoryResolver);
|
|
1599
|
+
return rxjs.of(portal$1);
|
|
1600
|
+
}
|
|
1601
|
+
};
|
|
1602
|
+
return WidgetRegistryService;
|
|
1603
|
+
}());
|
|
1604
|
+
WidgetRegistryService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function WidgetRegistryService_Factory() { return new WidgetRegistryService(i0__namespace.ɵɵinject(THESEAM_WIDGETS), i0__namespace.ɵɵinject(i2__namespace.TheSeamDynamicComponentLoader)); }, token: WidgetRegistryService, providedIn: "root" });
|
|
1605
|
+
WidgetRegistryService.decorators = [
|
|
1606
|
+
{ type: i0.Injectable, args: [{
|
|
1607
|
+
providedIn: 'root'
|
|
1608
|
+
},] }
|
|
1609
|
+
];
|
|
1610
|
+
WidgetRegistryService.ctorParameters = function () { return [
|
|
1611
|
+
{ type: Array, decorators: [{ type: i0.Inject, args: [THESEAM_WIDGETS,] }] },
|
|
1612
|
+
{ type: i2.TheSeamDynamicComponentLoader }
|
|
1613
|
+
]; };
|
|
1614
|
+
|
|
1615
|
+
var contentModules = [
|
|
1616
|
+
TheSeamWidgetButtonGroupModule,
|
|
1617
|
+
TheSeamWidgetContentHeaderModule,
|
|
1618
|
+
TheSeamWidgetDescriptionModule,
|
|
1619
|
+
TheSeamWidgetEmptyLabelModule,
|
|
1620
|
+
TheSeamWidgetFooterLinkModule,
|
|
1621
|
+
TheSeamWidgetFooterTextModule,
|
|
1622
|
+
TheSeamWidgetHeaderBadgeModule,
|
|
1623
|
+
TheSeamWidgetListGroupModule,
|
|
1624
|
+
TheSeamWidgetTableModule,
|
|
1625
|
+
TheSeamWidgetTileListModule,
|
|
1626
|
+
TheSeamWidgetTileModule
|
|
1627
|
+
];
|
|
1628
|
+
var TheSeamWidgetModule = /** @class */ (function () {
|
|
1629
|
+
function TheSeamWidgetModule() {
|
|
1630
|
+
}
|
|
1631
|
+
return TheSeamWidgetModule;
|
|
1632
|
+
}());
|
|
1633
|
+
TheSeamWidgetModule.decorators = [
|
|
1634
|
+
{ type: i0.NgModule, args: [{
|
|
1635
|
+
declarations: [
|
|
1636
|
+
WidgetComponent,
|
|
1637
|
+
WidgetIconTplDirective,
|
|
1638
|
+
WidgetTitleTplDirective,
|
|
1639
|
+
WidgetDragHandleDirective,
|
|
1640
|
+
WidgetFooterComponent
|
|
1641
|
+
],
|
|
1642
|
+
imports: __spreadArray([
|
|
1643
|
+
common.CommonModule,
|
|
1644
|
+
angularFontawesome.FontAwesomeModule,
|
|
1645
|
+
icon.TheSeamIconModule,
|
|
1646
|
+
loading.TheSeamLoadingModule,
|
|
1647
|
+
dragDrop.DragDropModule,
|
|
1648
|
+
buttons.TheSeamButtonsModule,
|
|
1649
|
+
table$1.CdkTableModule
|
|
1650
|
+
], __read(contentModules)),
|
|
1651
|
+
exports: __spreadArray([
|
|
1652
|
+
router.RouterModule,
|
|
1653
|
+
WidgetComponent,
|
|
1654
|
+
WidgetIconTplDirective,
|
|
1655
|
+
WidgetTitleTplDirective,
|
|
1656
|
+
WidgetFooterComponent
|
|
1657
|
+
], __read(contentModules))
|
|
1658
|
+
},] }
|
|
1659
|
+
];
|
|
1660
|
+
|
|
1661
|
+
/**
|
|
1662
|
+
* Generated bundle index. Do not edit.
|
|
1663
|
+
*/
|
|
1664
|
+
|
|
1665
|
+
exports.THESEAM_WIDGETS = THESEAM_WIDGETS;
|
|
1666
|
+
exports.THESEAM_WIDGET_ACCESSOR = THESEAM_WIDGET_ACCESSOR;
|
|
1667
|
+
exports.TheSeamWidgetButtonGroupModule = TheSeamWidgetButtonGroupModule;
|
|
1668
|
+
exports.TheSeamWidgetContentHeaderModule = TheSeamWidgetContentHeaderModule;
|
|
1669
|
+
exports.TheSeamWidgetDescriptionModule = TheSeamWidgetDescriptionModule;
|
|
1670
|
+
exports.TheSeamWidgetEmptyLabelModule = TheSeamWidgetEmptyLabelModule;
|
|
1671
|
+
exports.TheSeamWidgetFooterLinkModule = TheSeamWidgetFooterLinkModule;
|
|
1672
|
+
exports.TheSeamWidgetFooterTextModule = TheSeamWidgetFooterTextModule;
|
|
1673
|
+
exports.TheSeamWidgetHeaderBadgeModule = TheSeamWidgetHeaderBadgeModule;
|
|
1674
|
+
exports.TheSeamWidgetListGroupModule = TheSeamWidgetListGroupModule;
|
|
1675
|
+
exports.TheSeamWidgetModule = TheSeamWidgetModule;
|
|
1676
|
+
exports.TheSeamWidgetTableModule = TheSeamWidgetTableModule;
|
|
1677
|
+
exports.TheSeamWidgetTileListModule = TheSeamWidgetTileListModule;
|
|
1678
|
+
exports.TheSeamWidgetTileModule = TheSeamWidgetTileModule;
|
|
1679
|
+
exports.WidgetButtonGroupComponent = WidgetButtonGroupComponent;
|
|
1680
|
+
exports.WidgetComponent = WidgetComponent;
|
|
1681
|
+
exports.WidgetContentHeaderComponent = WidgetContentHeaderComponent;
|
|
1682
|
+
exports.WidgetDescriptionComponent = WidgetDescriptionComponent;
|
|
1683
|
+
exports.WidgetDragHandleDirective = WidgetDragHandleDirective;
|
|
1684
|
+
exports.WidgetEmptyLabelComponent = WidgetEmptyLabelComponent;
|
|
1685
|
+
exports.WidgetFooterComponent = WidgetFooterComponent;
|
|
1686
|
+
exports.WidgetFooterLinkComponent = WidgetFooterLinkComponent;
|
|
1687
|
+
exports.WidgetFooterTextComponent = WidgetFooterTextComponent;
|
|
1688
|
+
exports.WidgetHeaderBadgeComponent = WidgetHeaderBadgeComponent;
|
|
1689
|
+
exports.WidgetIconTplDirective = WidgetIconTplDirective;
|
|
1690
|
+
exports.WidgetListGroupComponent = WidgetListGroupComponent;
|
|
1691
|
+
exports.WidgetListGroupItemAnchorComponent = WidgetListGroupItemAnchorComponent;
|
|
1692
|
+
exports.WidgetListGroupItemButtonComponent = WidgetListGroupItemButtonComponent;
|
|
1693
|
+
exports.WidgetListGroupItemComponent = WidgetListGroupItemComponent;
|
|
1694
|
+
exports.WidgetListGroupItemIconTplDirective = WidgetListGroupItemIconTplDirective;
|
|
1695
|
+
exports.WidgetRegistryService = WidgetRegistryService;
|
|
1696
|
+
exports.WidgetTableComponent = WidgetTableComponent;
|
|
1697
|
+
exports.WidgetTileComponent = WidgetTileComponent;
|
|
1698
|
+
exports.WidgetTileFooterComponent = WidgetTileFooterComponent;
|
|
1699
|
+
exports.WidgetTileFooterItemComponent = WidgetTileFooterItemComponent;
|
|
1700
|
+
exports.WidgetTileGroupComponent = WidgetTileGroupComponent;
|
|
1701
|
+
exports.WidgetTileListComponent = WidgetTileListComponent;
|
|
1702
|
+
exports.WidgetTileSecondaryIconDirective = WidgetTileSecondaryIconDirective;
|
|
1703
|
+
exports.WidgetTitleTplDirective = WidgetTitleTplDirective;
|
|
1704
|
+
exports.extendStyles = extendStyles;
|
|
1705
|
+
exports.toggleNativeDragInteractions = toggleNativeDragInteractions;
|
|
1706
|
+
|
|
1707
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1708
|
+
|
|
1709
|
+
})));
|
|
1710
|
+
//# sourceMappingURL=theseam-ui-common-widget.umd.js.map
|