@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-tabbed.umd.js","sources":["../../../projects/ui-common/tabbed/tabbed-content/tabbed-content.component.ts","../../../node_modules/tslib/tslib.es6.js","../../../projects/ui-common/tabbed/directives/tabbed-tab-content.directive.ts","../../../projects/ui-common/tabbed/tabbed.service.ts","../../../projects/ui-common/tabbed/directives/tabbed-tab.directive.ts","../../../projects/ui-common/tabbed/tabbed-item/tabbed-item.component.ts","../../../projects/ui-common/tabbed/tabbed.component.ts","../../../projects/ui-common/tabbed/tabbed.module.ts","../../../projects/ui-common/tabbed/theseam-ui-common-tabbed.ts"],"sourcesContent":["import { Component, Input, OnInit } from '@angular/core'\n\nimport { TabbedItemComponent } from '../tabbed-item/tabbed-item.component'\n\n@Component({\n selector: 'seam-tabbed-content',\n templateUrl: './tabbed-content.component.html',\n styleUrls: ['./tabbed-content.component.scss']\n})\nexport class TabbedContentComponent implements OnInit {\n\n @Input() tabbedItem?: TabbedItemComponent\n\n constructor() { }\n\n ngOnInit() { }\n\n}\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || from);\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { Directive } from '@angular/core'\n\n@Directive({\n selector: '[seamTabbedTabContent]',\n exportAs: 'seamTabbedTabContent'\n})\nexport class TabbedTabContentDirective {\n\n public isActive = false\n\n constructor() { }\n\n}\n","import { Injectable } from '@angular/core'\n\nimport { TabbedComponent } from './tabbed.component'\n\nexport declare type TabsDirection = 'horizontal' | 'vertical'\n\n@Injectable()\nexport class TabbedService {\n\n private _tabGroups: { [groupName: string]: TabbedComponent[] } = {}\n\n constructor() { }\n\n public registerTab(tab: TabbedComponent, groupName: string) {\n if (!this._tabGroups[groupName]) {\n this._tabGroups[groupName] = []\n }\n\n for (const t of this._tabGroups[groupName]) {\n t.hideTabs = true\n }\n\n this._tabGroups[groupName].push(tab)\n }\n\n public unregisterTab(tab: TabbedComponent, groupName: string) {\n if (this._tabGroups[groupName]) {\n this._tabGroups[groupName] = this._tabGroups[groupName].filter(\n t => t !== tab\n )\n\n if (this._tabGroups[groupName].length > 0) {\n this._tabGroups[groupName][this._tabGroups[groupName].length - 1].hideTabs = false\n }\n }\n }\n\n}\n","import { Directive, ElementRef, HostBinding, OnInit } from '@angular/core'\n\nimport { TabbedComponent } from '../tabbed.component'\nimport { TabbedService } from '../tabbed.service'\n\n@Directive({\n selector: '[seamTabbedTab]',\n exportAs: 'seamTabbedTab'\n})\nexport class TabbedTabDirective implements OnInit {\n\n // @HostBinding('class.custom-invalid')\n // get customInvalid() { return this.control.invalid }\n\n public isActive = false\n\n constructor(\n public elementRef: ElementRef,\n // public host: TabbedComponent,\n public tabbedService: TabbedService\n ) { }\n\n ngOnInit() {\n // this.tabbedService.selectedTab.subscribe(tab => {\n // console.log('tab: ', tab)\n // console.log('tab.tabbedTabTpl.elementRef: ', tab.tabbedTabTpl.elementRef)\n // console.log('this.elementRef: ', this.elementRef)\n // if (tab.tabbedTabTpl.elementRef.na === this.elementRef) {\n // this.isActive = true\n // } else {\n // this.isActive = false\n // }\n // })\n }\n\n}\n","import { BooleanInput } from '@angular/cdk/coercion'\nimport { Component, ContentChild, Input, OnInit, TemplateRef } from '@angular/core'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\n\nimport { TabbedTabContentDirective } from '../directives/tabbed-tab-content.directive'\nimport { TabbedTabDirective } from '../directives/tabbed-tab.directive'\n\n@Component({\n selector: 'seam-tabbed-item',\n templateUrl: './tabbed-item.component.html',\n styleUrls: ['./tabbed-item.component.scss']\n})\nexport class TabbedItemComponent implements OnInit {\n static ngAcceptInputType_contentFromRoute: BooleanInput\n\n @ContentChild(TabbedTabDirective, { read: TemplateRef, static: true })\n public tabbedTabTpl?: TemplateRef<TabbedTabDirective>\n\n @ContentChild(TabbedTabContentDirective, { read: TemplateRef, static: true })\n public tabbedContentTpl?: TemplateRef<TabbedTabContentDirective>\n\n @Input() name: string | undefined | null\n @Input() label: string | undefined | null\n @Input() @InputBoolean() contentFromRoute = false\n\n constructor() { }\n\n ngOnInit() { }\n\n}\n","import {\n AfterContentInit, Component, ContentChildren, EventEmitter, Input, OnDestroy, OnInit, Output, QueryList\n} from '@angular/core'\nimport { ActivatedRoute, Router } from '@angular/router'\n\nimport { TabbedItemComponent } from './tabbed-item/tabbed-item.component'\nimport { TabbedService, TabsDirection } from './tabbed.service'\n\n@Component({\n selector: 'seam-tabbed',\n templateUrl: './tabbed.component.html',\n styleUrls: ['./tabbed.component.scss'],\n providers: [ TabbedService ]\n})\nexport class TabbedComponent implements OnInit, AfterContentInit, OnDestroy {\n\n private _direction: TabsDirection = 'vertical'\n private _hideTabs = false\n\n @ContentChildren(TabbedItemComponent) tabbedItems?: QueryList<TabbedItemComponent>\n\n @Output() tabChanged = new EventEmitter<TabbedItemComponent>()\n\n @Input()\n set direction(val: TabsDirection) {\n this._direction = val\n }\n get direction() {\n return this._direction\n }\n\n @Input()\n set hideTabs(val: boolean) {\n setTimeout(() => {\n this._hideTabs = val\n })\n }\n get hideTabs(): boolean {\n return this._hideTabs\n }\n\n @Input()\n public onlyRouteContent = false\n\n get selectedTab(): TabbedItemComponent | undefined {\n if (this.onlyRouteContent) {\n if (this.route.snapshot.children.length > 0) {\n const config = this.route.snapshot.children[0].routeConfig\n const childPath = config && config.path\n return this.tabbedItems?.find(t => t.name === childPath)\n }\n } else {\n return this._selectedTab\n }\n }\n set selectedTab(tab: TabbedItemComponent | undefined) { this._selectedTab = tab }\n private _selectedTab: TabbedItemComponent | undefined\n\n private _activeTabNameTimeout: any\n @Input()\n set activeTabName(val: string) {\n clearTimeout(this._activeTabNameTimeout)\n this._activeTabNameTimeout = setTimeout(() => {\n if (!val) {\n this.selectedTab = undefined\n } else {\n this.selectTab(val)\n }\n })\n }\n\n constructor(\n public tabbedService: TabbedService,\n private router: Router,\n private route: ActivatedRoute\n ) { }\n\n ngOnInit() {\n this.tabbedService.registerTab(this, 'main')\n }\n\n ngOnDestroy() {\n this.tabbedService.unregisterTab(this, 'main')\n }\n\n ngAfterContentInit() {\n if (this.tabbedItems && this.tabbedItems.length > 0) {\n this.selectedTab = this.tabbedItems.first\n }\n }\n\n /**\n *\n */\n public onClickTab(event: any, tab: TabbedItemComponent) {\n this.selectedTab = tab\n if (this.onlyRouteContent) {\n this.router.navigate([ tab.name ], { relativeTo: this.route })\n }\n this.tabChanged.emit(tab)\n }\n\n /**\n * TODO: Make more generic, so that the name isn't the only way\n * to select a tab\n */\n public selectTab(name: string) {\n const tab = this.tabbedItems?.find(t => t.name === name)\n if (tab) {\n this.selectedTab = tab\n } else {\n throw new Error(`Tab with name '${name}' not found`)\n }\n }\n\n\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\nimport { RouterModule } from '@angular/router'\n\nimport { FlexLayoutModule } from '@angular/flex-layout'\n\nimport { TabbedContentComponent } from './tabbed-content/tabbed-content.component'\nimport { TabbedItemComponent } from './tabbed-item/tabbed-item.component'\nimport { TabbedComponent } from './tabbed.component'\n\nimport { TabbedTabContentDirective } from './directives/tabbed-tab-content.directive'\nimport { TabbedTabDirective } from './directives/tabbed-tab.directive'\n\n@NgModule({\n imports: [\n CommonModule,\n RouterModule,\n FlexLayoutModule,\n ],\n declarations: [\n TabbedComponent,\n TabbedTabContentDirective,\n TabbedTabDirective,\n TabbedItemComponent,\n TabbedContentComponent,\n TabbedContentComponent,\n],\n exports: [\n TabbedComponent,\n TabbedTabContentDirective,\n TabbedTabDirective,\n TabbedItemComponent,\n TabbedContentComponent,\n ]\n})\nexport class TheSeamTabbedModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["Component","Input","Directive","Injectable","ElementRef","ContentChild","TemplateRef","InputBoolean","EventEmitter","Router","ActivatedRoute","ContentChildren","Output","NgModule","CommonModule","RouterModule","FlexLayoutModule"],"mappings":";;;;;;;QAaE;SAAiB;QAEjB,yCAAQ,GAAR,eAAc;;;;gBAXfA,cAAS,SAAC;oBACT,QAAQ,EAAE,qBAAqB;oBAC/B,iXAA8C;;iBAE/C;;;;6BAGEC,UAAK;;;ICXR;;;;;;;;;;;;;;IAcA;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;gBAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC;oBAAE,CAAC,CAAC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AkB;wBAClB,mBAAmB;wBACnB,sBAAsB;qBACvB;iBACF;;;IClCD;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/portal'), require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@theseam/ui-common/dynamic'), require('@angular/common')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@theseam/ui-common/table-cell-type', ['exports', '@angular/cdk/portal', '@angular/core', 'rxjs', 'rxjs/operators', '@theseam/ui-common/dynamic', '@angular/common'], 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']['table-cell-type'] = {}), global.ng.cdk.portal, global.ng.core, global.rxjs, global.rxjs.operators, global.theseam['ui-common'].dynamic, global.ng.common));
|
|
5
|
+
}(this, (function (exports, portal, i0, rxjs, operators, i1, common) { 'use strict';
|
|
6
|
+
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () {
|
|
17
|
+
return e[k];
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n['default'] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
28
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
29
|
+
|
|
30
|
+
var TABLE_CELL_TYPE_MANIFEST = new i0.InjectionToken('TABLE_CELL_TYPE_MANIFEST');
|
|
31
|
+
var TABLE_CELL_DATA = new i0.InjectionToken('TABLE_CELL_DATA');
|
|
32
|
+
|
|
33
|
+
var TableCellTypeSelectorComponent = /** @class */ (function () {
|
|
34
|
+
function TableCellTypeSelectorComponent(_injector, _ref, manifests) {
|
|
35
|
+
this._injector = _injector;
|
|
36
|
+
this._ref = _ref;
|
|
37
|
+
this._manifests = manifests || [];
|
|
38
|
+
}
|
|
39
|
+
TableCellTypeSelectorComponent.prototype.ngOnInit = function () { };
|
|
40
|
+
TableCellTypeSelectorComponent.prototype.ngAfterViewInit = function () {
|
|
41
|
+
var _a, _b;
|
|
42
|
+
if (!this.type) {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
var comp = this._getComponent(this.type);
|
|
46
|
+
if (comp) {
|
|
47
|
+
this._dataChangeSubject = new rxjs.Subject();
|
|
48
|
+
this._data = {
|
|
49
|
+
row: this.row,
|
|
50
|
+
rowIndex: (_a = this.rowIndex) !== null && _a !== void 0 ? _a : -1,
|
|
51
|
+
colData: (_b = this.colData) !== null && _b !== void 0 ? _b : {},
|
|
52
|
+
value: this.value,
|
|
53
|
+
changed: this._dataChangeSubject.asObservable()
|
|
54
|
+
};
|
|
55
|
+
this.componentPortal = new portal.ComponentPortal(comp, null, this._createInjector(this._data));
|
|
56
|
+
this._ref.detectChanges();
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
if (i0.isDevMode()) {
|
|
60
|
+
throw new Error("CellType '" + this.type + "' not found.");
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
// TODO: Implement fallback
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
TableCellTypeSelectorComponent.prototype._getComponent = function (name) {
|
|
68
|
+
var manifest = this._manifests.find(function (m) { return m.name === name; });
|
|
69
|
+
return manifest ? manifest.component : undefined;
|
|
70
|
+
};
|
|
71
|
+
TableCellTypeSelectorComponent.prototype._createInjector = function (cellData) {
|
|
72
|
+
var injectorTokens = new WeakMap();
|
|
73
|
+
injectorTokens.set(TABLE_CELL_DATA, cellData);
|
|
74
|
+
return new portal.PortalInjector(this._injector, injectorTokens);
|
|
75
|
+
};
|
|
76
|
+
TableCellTypeSelectorComponent.prototype.ngOnChanges = function (changes) {
|
|
77
|
+
if (this._data) {
|
|
78
|
+
var dataChanged = [
|
|
79
|
+
this._tryUpdateDataProp(changes, 'row'),
|
|
80
|
+
this._tryUpdateDataProp(changes, 'rowIndex'),
|
|
81
|
+
this._tryUpdateDataProp(changes, 'colData'),
|
|
82
|
+
this._tryUpdateDataProp(changes, 'value')
|
|
83
|
+
].findIndex(function (b) { return b === true; }) !== -1;
|
|
84
|
+
if (dataChanged && this._dataChangeSubject) {
|
|
85
|
+
this._dataChangeSubject.next({
|
|
86
|
+
data: this._data,
|
|
87
|
+
changes: changes
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
TableCellTypeSelectorComponent.prototype._tryUpdateDataProp = function (changes, prop) {
|
|
93
|
+
if (this._data && changes.hasOwnProperty(prop)) {
|
|
94
|
+
this._data[prop] = changes[prop].currentValue;
|
|
95
|
+
return true;
|
|
96
|
+
}
|
|
97
|
+
return false;
|
|
98
|
+
};
|
|
99
|
+
return TableCellTypeSelectorComponent;
|
|
100
|
+
}());
|
|
101
|
+
TableCellTypeSelectorComponent.decorators = [
|
|
102
|
+
{ type: i0.Component, args: [{
|
|
103
|
+
selector: 'seam-table-cell-type-selector',
|
|
104
|
+
template: "\n <ng-template *ngIf=\"componentPortal; else noPortal\" [cdkPortalOutlet]=\"componentPortal\"></ng-template>\n <ng-template #noPortal>{{ value }}</ng-template>\n ",
|
|
105
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
106
|
+
},] }
|
|
107
|
+
];
|
|
108
|
+
TableCellTypeSelectorComponent.ctorParameters = function () { return [
|
|
109
|
+
{ type: i0.Injector },
|
|
110
|
+
{ type: i0.ChangeDetectorRef },
|
|
111
|
+
{ type: Array, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [TABLE_CELL_TYPE_MANIFEST,] }] }
|
|
112
|
+
]; };
|
|
113
|
+
TableCellTypeSelectorComponent.propDecorators = {
|
|
114
|
+
type: [{ type: i0.Input }],
|
|
115
|
+
value: [{ type: i0.Input }],
|
|
116
|
+
rowIndex: [{ type: i0.Input }],
|
|
117
|
+
row: [{ type: i0.Input }],
|
|
118
|
+
colData: [{ type: i0.Input }]
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
var TableCellTypesHelpersService = /** @class */ (function () {
|
|
122
|
+
function TableCellTypesHelpersService(_dynamicActionHelper, _valueHelper) {
|
|
123
|
+
this._dynamicActionHelper = _dynamicActionHelper;
|
|
124
|
+
this._valueHelper = _valueHelper;
|
|
125
|
+
}
|
|
126
|
+
TableCellTypesHelpersService.prototype.parseValueProp = function (value, contextOrContextFn) {
|
|
127
|
+
var context = this._resolveValueContext(contextOrContextFn);
|
|
128
|
+
return this._valueHelper.evalSync(value, context);
|
|
129
|
+
};
|
|
130
|
+
TableCellTypesHelpersService.prototype.getValueContext = function (value, data) {
|
|
131
|
+
return {
|
|
132
|
+
row: data && data.row,
|
|
133
|
+
rowIndex: data && data.rowIndex,
|
|
134
|
+
colData: data && data.colData,
|
|
135
|
+
value: value
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
TableCellTypesHelpersService.prototype._resolveValueContext = function (contextOrContextFn) {
|
|
139
|
+
var context = contextOrContextFn;
|
|
140
|
+
if (typeof context === 'function') {
|
|
141
|
+
context = context();
|
|
142
|
+
}
|
|
143
|
+
return context;
|
|
144
|
+
};
|
|
145
|
+
TableCellTypesHelpersService.prototype.handleModalAction = function (action, contextOrContextFn) {
|
|
146
|
+
var _this = this;
|
|
147
|
+
// TODO: Try to simplify this observable. It seems fairly easy to read like
|
|
148
|
+
// this, but seems like it is doing more than it needs to with the multiple
|
|
149
|
+
// subjects.
|
|
150
|
+
return new rxjs.Observable(function (subscriber) {
|
|
151
|
+
// Passed to helper function to emit results to subscriber.
|
|
152
|
+
var resultSubject = new rxjs.Subject();
|
|
153
|
+
// Used to stop observing.
|
|
154
|
+
var stopSubject = new rxjs.Subject();
|
|
155
|
+
// Observe results to emit to subscriber.
|
|
156
|
+
resultSubject
|
|
157
|
+
.pipe(operators.takeUntil(stopSubject))
|
|
158
|
+
.subscribe(function (result) { return subscriber.next(result); }, function (err) { return subscriber.error(err); }, function () { return stopSubject.complete(); });
|
|
159
|
+
// Handle the potentially deep chain of actions.
|
|
160
|
+
_this._handleModalAction(action, contextOrContextFn, resultSubject)
|
|
161
|
+
.pipe(operators.takeUntil(stopSubject))
|
|
162
|
+
.subscribe(function () { }, function (err) { return subscriber.error(err); }, function () { return subscriber.complete(); });
|
|
163
|
+
// Clean up on unsubscribe.
|
|
164
|
+
return function () {
|
|
165
|
+
stopSubject.next(undefined);
|
|
166
|
+
stopSubject.complete();
|
|
167
|
+
};
|
|
168
|
+
});
|
|
169
|
+
};
|
|
170
|
+
TableCellTypesHelpersService.prototype._handleModalAction = function (action, contextOrContextFn, resultSubject) {
|
|
171
|
+
var context = this._resolveValueContext(contextOrContextFn);
|
|
172
|
+
return rxjs.from(this._dynamicActionHelper.exec(action, context));
|
|
173
|
+
};
|
|
174
|
+
return TableCellTypesHelpersService;
|
|
175
|
+
}());
|
|
176
|
+
TableCellTypesHelpersService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TableCellTypesHelpersService_Factory() { return new TableCellTypesHelpersService(i0__namespace.ɵɵinject(i1__namespace.DynamicActionHelperService), i0__namespace.ɵɵinject(i1__namespace.DynamicValueHelperService)); }, token: TableCellTypesHelpersService, providedIn: "root" });
|
|
177
|
+
TableCellTypesHelpersService.decorators = [
|
|
178
|
+
{ type: i0.Injectable, args: [{
|
|
179
|
+
providedIn: 'root'
|
|
180
|
+
},] }
|
|
181
|
+
];
|
|
182
|
+
TableCellTypesHelpersService.ctorParameters = function () { return [
|
|
183
|
+
{ type: i1.DynamicActionHelperService },
|
|
184
|
+
{ type: i1.DynamicValueHelperService }
|
|
185
|
+
]; };
|
|
186
|
+
|
|
187
|
+
var TheSeamTableCellTypeModule = /** @class */ (function () {
|
|
188
|
+
function TheSeamTableCellTypeModule() {
|
|
189
|
+
}
|
|
190
|
+
return TheSeamTableCellTypeModule;
|
|
191
|
+
}());
|
|
192
|
+
TheSeamTableCellTypeModule.decorators = [
|
|
193
|
+
{ type: i0.NgModule, args: [{
|
|
194
|
+
declarations: [
|
|
195
|
+
TableCellTypeSelectorComponent
|
|
196
|
+
],
|
|
197
|
+
imports: [
|
|
198
|
+
common.CommonModule,
|
|
199
|
+
portal.PortalModule
|
|
200
|
+
],
|
|
201
|
+
providers: [],
|
|
202
|
+
exports: [
|
|
203
|
+
TableCellTypeSelectorComponent
|
|
204
|
+
],
|
|
205
|
+
entryComponents: []
|
|
206
|
+
},] }
|
|
207
|
+
];
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Generated bundle index. Do not edit.
|
|
211
|
+
*/
|
|
212
|
+
|
|
213
|
+
exports.TABLE_CELL_DATA = TABLE_CELL_DATA;
|
|
214
|
+
exports.TABLE_CELL_TYPE_MANIFEST = TABLE_CELL_TYPE_MANIFEST;
|
|
215
|
+
exports.TableCellTypeSelectorComponent = TableCellTypeSelectorComponent;
|
|
216
|
+
exports.TableCellTypesHelpersService = TableCellTypesHelpersService;
|
|
217
|
+
exports.TheSeamTableCellTypeModule = TheSeamTableCellTypeModule;
|
|
218
|
+
|
|
219
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
220
|
+
|
|
221
|
+
})));
|
|
222
|
+
//# sourceMappingURL=theseam-ui-common-table-cell-type.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theseam-ui-common-table-cell-type.umd.js","sources":["../../../projects/ui-common/table-cell-type/table-cell-type-tokens.ts","../../../projects/ui-common/table-cell-type/table-cell-type-selector.component.ts","../../../projects/ui-common/table-cell-type/services/table-cell-types-helpers.service.ts","../../../projects/ui-common/table-cell-type/table-cell-type.module.ts","../../../projects/ui-common/table-cell-type/theseam-ui-common-table-cell-type.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core'\n\nimport { ITableCellTypeManifest, TableCellData } from './table-cell-type-models'\n\nexport const TABLE_CELL_TYPE_MANIFEST = new InjectionToken<ITableCellTypeManifest>('TABLE_CELL_TYPE_MANIFEST')\n\nexport const TABLE_CELL_DATA = new InjectionToken<TableCellData<any, any>>('TABLE_CELL_DATA')\n","import { ComponentPortal, PortalInjector } from '@angular/cdk/portal'\nimport { ComponentType } from '@angular/cdk/portal'\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n Injector,\n Input,\n isDevMode,\n OnChanges,\n OnInit,\n Optional,\n SimpleChanges\n} from '@angular/core'\nimport { Subject } from 'rxjs'\n\nimport { TableCellTypeConfig } from './table-cell-type-config'\nimport type { TheSeamTableColumn } from './table-cell-type-models'\nimport { ITableCellTypeManifest, TableCellData, TableCellDataChange } from './table-cell-type-models'\nimport { TABLE_CELL_DATA, TABLE_CELL_TYPE_MANIFEST } from './table-cell-type-tokens'\n\n@Component({\n selector: 'seam-table-cell-type-selector',\n template: `\n <ng-template *ngIf=\"componentPortal; else noPortal\" [cdkPortalOutlet]=\"componentPortal\"></ng-template>\n <ng-template #noPortal>{{ value }}</ng-template>\n `,\n styles: [],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TableCellTypeSelectorComponent<T extends string = any, D = any, V = any> implements OnInit, AfterViewInit, OnChanges {\n\n @Input() type: T | undefined | null\n @Input() value: V | undefined | null\n @Input() rowIndex: number | undefined | null\n @Input() row: D | undefined | null\n @Input() colData: TheSeamTableColumn<T, TableCellTypeConfig<T>> | undefined | null\n\n public componentPortal?: ComponentPortal<{}>\n\n private _data: TableCellData<T, TableCellTypeConfig<T>> | undefined\n private _dataChangeSubject?: Subject<TableCellDataChange<T, TableCellTypeConfig<T>>>\n private _manifests: ITableCellTypeManifest[]\n\n constructor(\n private _injector: Injector,\n private _ref: ChangeDetectorRef,\n @Optional() @Inject(TABLE_CELL_TYPE_MANIFEST) manifests?: ITableCellTypeManifest[]\n ) { this._manifests = manifests || [] }\n\n ngOnInit() { }\n\n ngAfterViewInit() {\n if (!this.type) {\n return\n }\n\n const comp = this._getComponent(this.type)\n if (comp) {\n this._dataChangeSubject = new Subject<TableCellDataChange<T, TableCellTypeConfig<T>>>()\n\n this._data = {\n row: this.row,\n rowIndex: this.rowIndex ?? -1,\n colData: this.colData ?? {},\n value: this.value,\n changed: this._dataChangeSubject.asObservable()\n }\n\n this.componentPortal = new ComponentPortal(comp, null, this._createInjector(this._data))\n this._ref.detectChanges()\n } else {\n if (isDevMode()) {\n throw new Error(`CellType '${this.type}' not found.`)\n } else {\n // TODO: Implement fallback\n }\n }\n }\n\n private _getComponent(name: string): ComponentType<{}> | undefined {\n const manifest = this._manifests.find(m => m.name === name)\n return manifest ? manifest.component : undefined\n }\n\n private _createInjector(cellData: TableCellData<T, TableCellTypeConfig<T>>): PortalInjector {\n const injectorTokens = new WeakMap()\n injectorTokens.set(TABLE_CELL_DATA, cellData)\n return new PortalInjector(this._injector, injectorTokens)\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (this._data) {\n const dataChanged = [\n this._tryUpdateDataProp(changes, 'row'),\n this._tryUpdateDataProp(changes, 'rowIndex'),\n this._tryUpdateDataProp(changes, 'colData'),\n this._tryUpdateDataProp(changes, 'value')\n ].findIndex(b => b === true) !== -1\n\n if (dataChanged && this._dataChangeSubject) {\n this._dataChangeSubject.next({\n data: this._data,\n changes\n })\n }\n }\n }\n\n private _tryUpdateDataProp(changes: SimpleChanges, prop: keyof Omit<TableCellData<T, TableCellTypeConfig<T>>, 'changed'>): boolean {\n if (this._data && changes.hasOwnProperty(prop)) {\n this._data[prop] = changes[prop].currentValue\n return true\n }\n return false\n }\n\n}\n","import { Injectable } from '@angular/core'\nimport { from, Observable, Subject, Subscriber } from 'rxjs'\nimport { takeUntil } from 'rxjs/operators'\n\nimport { DynamicActionHelperService, DynamicActionModalDef, DynamicValueHelperService } from '@theseam/ui-common/dynamic'\n\nimport { TableCellTypeConfig } from '../table-cell-type-config'\nimport { CaluclatedValueContextType, ICalucatedValueContext, TableCellData } from '../table-cell-type-models'\nimport { TableCellTypeName } from '../table-cell-type-name'\n\n@Injectable({\n providedIn: 'root'\n})\nexport class TableCellTypesHelpersService {\n\n constructor(\n private _dynamicActionHelper: DynamicActionHelperService,\n private _valueHelper: DynamicValueHelperService\n ) { }\n\n public parseValueProp(value: any, contextOrContextFn: CaluclatedValueContextType) {\n const context = this._resolveValueContext(contextOrContextFn)\n return this._valueHelper.evalSync(value, context)\n }\n\n public getValueContext<T extends TableCellTypeName>(value: any, data?: TableCellData<T, TableCellTypeConfig<T>>): ICalucatedValueContext {\n return {\n row: data && data.row,\n rowIndex: data && data.rowIndex,\n colData: data && data.colData,\n value: value\n }\n }\n\n private _resolveValueContext(contextOrContextFn: CaluclatedValueContextType) {\n let context = contextOrContextFn\n if (typeof context === 'function') {\n context = context()\n }\n return context\n }\n\n public handleModalAction<R = any>(\n action: DynamicActionModalDef,\n contextOrContextFn: CaluclatedValueContextType\n ) {\n // TODO: Try to simplify this observable. It seems fairly easy to read like\n // this, but seems like it is doing more than it needs to with the multiple\n // subjects.\n return new Observable((subscriber: Subscriber<R>) => {\n // Passed to helper function to emit results to subscriber.\n const resultSubject = new Subject<any>()\n // Used to stop observing.\n const stopSubject = new Subject<any>()\n\n // Observe results to emit to subscriber.\n resultSubject\n .pipe(takeUntil(stopSubject))\n .subscribe(\n result => subscriber.next(result),\n err => subscriber.error(err),\n () => stopSubject.complete()\n )\n\n // Handle the potentially deep chain of actions.\n this._handleModalAction(action, contextOrContextFn, resultSubject)\n .pipe(takeUntil(stopSubject))\n .subscribe(\n () => {},\n err => subscriber.error(err),\n () => subscriber.complete()\n )\n\n // Clean up on unsubscribe.\n return () => {\n stopSubject.next(undefined)\n stopSubject.complete()\n }\n })\n }\n\n private _handleModalAction(\n action: DynamicActionModalDef,\n contextOrContextFn: CaluclatedValueContextType,\n resultSubject: Subject<any>\n ) {\n const context = this._resolveValueContext(contextOrContextFn)\n return from(this._dynamicActionHelper.exec(action, context))\n }\n}\n","import { PortalModule } from '@angular/cdk/portal'\nimport { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TableCellTypeSelectorComponent } from './table-cell-type-selector.component'\n\n@NgModule({\n declarations: [\n TableCellTypeSelectorComponent\n ],\n imports: [\n CommonModule,\n PortalModule\n ],\n providers: [ ],\n exports: [\n TableCellTypeSelectorComponent\n ],\n entryComponents: [ ]\n})\nexport class TheSeamTableCellTypeModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["InjectionToken","Subject","ComponentPortal","isDevMode","PortalInjector","Component","ChangeDetectionStrategy","Injector","ChangeDetectorRef","Optional","Inject","Input","Observable","takeUntil","from","Injectable","DynamicActionHelperService","DynamicValueHelperService","NgModule","CommonModule","PortalModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAIa,wBAAwB,GAAG,IAAIA,iBAAc,CAAyB,0BAA0B,EAAC;MAEjG,eAAe,GAAG,IAAIA,iBAAc,CAA0B,iBAAiB;;;MCwC1F,wCACU,SAAmB,EACnB,IAAuB,EACe,SAAoC;UAF1E,cAAS,GAAT,SAAS,CAAU;UACnB,SAAI,GAAJ,IAAI,CAAmB;UAE7B,IAAI,CAAC,UAAU,GAAG,SAAS,IAAI,EAAE,CAAA;OAAE;MAEvC,iDAAQ,GAAR,eAAc;MAEd,wDAAe,GAAf;;UACE,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;cACd,OAAM;WACP;UAED,IAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,I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AC/D,IAAI,CAACA,mBAAS,CAAC,WAAW,CAAC,CAAC;mBAC5B,SAAS,CACR,eAAQ,EACR,UAAA,GAAG,IAAI,OAAA,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,GAAA,EAC5B,cAAM,OAAA,UAAU,CAAC,QAAQ,EAAE,GAAA,CAC5B,CAAA;;cAGH,OAAO;kBACL,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;kBAC3B,WAAW,CAAC,QAAQ,EAAE,CAAA;eACvB,CAAA;WACF,CAAC,CAAA;OACH;MAEO,yDAAkB,GAAlB,UACN,MAA6B,EAC7B,kBAA8C,EAC9C,aAA2B;UAE3B,IAAM,OAAO,GAAG,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,CAAA;UAC7D,OAAOC,SAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;OAC7D;;;;;cA9EFC,aAAU,SAAC;kBACV,UAAU,EAAE,MAAM;eACnB;;;cARQC,6BAA0B;cAAyBC,4BAAyB;;;;MCgBrF;;;;;cAdCC,WAAQ,SAAC;kBACR,YAAY,EAAE;sBACZ,8BAA8B;mBAC/B;kBACD,OAAO,EAAE;sBACPC,mBAAY;sBACZC,mBAAY;mBACb;kBACD,SAAS,EAAE,EAAG;kBACd,OAAO,EAAE;sBACP,8BAA8B;mBAC/B;kBACD,eAAe,EAAE,EAAG;eACrB;;;ECnBD;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,1174 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@theseam/ui-common/table-cell-type'), require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@theseam/ui-common/datatable'), require('@theseam/ui-common/icon'), require('@theseam/ui-common/table'), require('@theseam/ui-common/tel-input'), require('@theseam/ui-common/utils'), require('@angular/cdk/coercion'), require('@angular/cdk/portal'), require('@angular/common'), require('@angular/router'), require('@ng-bootstrap/ng-bootstrap'), require('@theseam/ui-common/asset-reader'), require('@theseam/ui-common/popover'), require('@theseam/ui-common/progress'), require('@theseam/ui-common/shared')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@theseam/ui-common/table-cell-types', ['exports', '@theseam/ui-common/table-cell-type', '@angular/core', 'rxjs', 'rxjs/operators', '@theseam/ui-common/datatable', '@theseam/ui-common/icon', '@theseam/ui-common/table', '@theseam/ui-common/tel-input', '@theseam/ui-common/utils', '@angular/cdk/coercion', '@angular/cdk/portal', '@angular/common', '@angular/router', '@ng-bootstrap/ng-bootstrap', '@theseam/ui-common/asset-reader', '@theseam/ui-common/popover', '@theseam/ui-common/progress', '@theseam/ui-common/shared'], 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']['table-cell-types'] = {}), global.theseam['ui-common']['table-cell-type'], global.ng.core, global.rxjs, global.rxjs.operators, global.theseam['ui-common'].datatable, global.theseam['ui-common'].icon, global.theseam['ui-common'].table, global.theseam['ui-common']['tel-input'], global.theseam['ui-common'].utils, global.ng.cdk.coercion, global.ng.cdk.portal, global.ng.common, global.ng.router, global.ngBootstrap, global.theseam['ui-common']['asset-reader'], global.theseam['ui-common'].popover, global.theseam['ui-common'].progress, global.theseam['ui-common'].shared));
|
|
5
|
+
}(this, (function (exports, tableCellType, core, rxjs, operators, datatable, icon, table, telInput, utils, coercion, portal, common, router, ngBootstrap, assetReader, popover, progress, shared) { 'use strict';
|
|
6
|
+
|
|
7
|
+
var TableCellTypeDateComponent = /** @class */ (function () {
|
|
8
|
+
function TableCellTypeDateComponent(_cdf, _tableData) {
|
|
9
|
+
var _this = this;
|
|
10
|
+
this._cdf = _cdf;
|
|
11
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
12
|
+
var _data = _tableData;
|
|
13
|
+
this.value = _data && _data.value;
|
|
14
|
+
this.format = _data && _data.colData && _data.colData.cellTypeConfig && _data.colData.cellTypeConfig.format;
|
|
15
|
+
if (_data) {
|
|
16
|
+
_data.changed
|
|
17
|
+
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
18
|
+
.subscribe(function (v) {
|
|
19
|
+
if (v.changes.hasOwnProperty('value')) {
|
|
20
|
+
_this.value = v.changes.value.currentValue;
|
|
21
|
+
_this._cdf.markForCheck();
|
|
22
|
+
}
|
|
23
|
+
if (v.changes.hasOwnProperty('colData')) {
|
|
24
|
+
var colData = v.changes.colData.currentValue;
|
|
25
|
+
if (colData && colData.format !== _this.format) {
|
|
26
|
+
_this.format = colData.format;
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
_this.format = undefined;
|
|
30
|
+
}
|
|
31
|
+
_this._cdf.markForCheck();
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
TableCellTypeDateComponent.prototype.ngOnInit = function () { };
|
|
37
|
+
TableCellTypeDateComponent.prototype.ngOnDestroy = function () {
|
|
38
|
+
this._ngUnsubscribe.next();
|
|
39
|
+
this._ngUnsubscribe.complete();
|
|
40
|
+
};
|
|
41
|
+
return TableCellTypeDateComponent;
|
|
42
|
+
}());
|
|
43
|
+
TableCellTypeDateComponent.decorators = [
|
|
44
|
+
{ type: core.Component, args: [{
|
|
45
|
+
selector: 'seam-table-cell-type-date',
|
|
46
|
+
template: "<div class=\"td-text-truncate\" [title]=\"value | date: format || 'yyyy-MM-dd h:mm aaa'\">\n {{ value | date: format || 'yyyy-MM-dd h:mm aaa' }}\n</div>\n",
|
|
47
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
48
|
+
styles: [""]
|
|
49
|
+
},] }
|
|
50
|
+
];
|
|
51
|
+
TableCellTypeDateComponent.ctorParameters = function () { return [
|
|
52
|
+
{ type: core.ChangeDetectorRef },
|
|
53
|
+
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [tableCellType.TABLE_CELL_DATA,] }] }
|
|
54
|
+
]; };
|
|
55
|
+
TableCellTypeDateComponent.propDecorators = {
|
|
56
|
+
value: [{ type: core.Input }],
|
|
57
|
+
format: [{ type: core.Input }]
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
var TableCellTypeIconComponent = /** @class */ (function () {
|
|
61
|
+
function TableCellTypeIconComponent(_cdf, _tableCellTypeHelpers, _datatable, _table, _tableData) {
|
|
62
|
+
var _this = this;
|
|
63
|
+
this._cdf = _cdf;
|
|
64
|
+
this._tableCellTypeHelpers = _tableCellTypeHelpers;
|
|
65
|
+
this._datatable = _datatable;
|
|
66
|
+
this._table = _table;
|
|
67
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
68
|
+
this._tplType = 'default';
|
|
69
|
+
this._tooltipDisabled = true;
|
|
70
|
+
this._isDatatable = false;
|
|
71
|
+
if (_datatable) {
|
|
72
|
+
this._isDatatable = true;
|
|
73
|
+
// console.log('isDataTable')
|
|
74
|
+
}
|
|
75
|
+
// if (_table) {
|
|
76
|
+
// console.log('isTable')
|
|
77
|
+
// }
|
|
78
|
+
var _data = _tableData;
|
|
79
|
+
this._tableCellData = _tableData;
|
|
80
|
+
this._row = _data && _data.row;
|
|
81
|
+
this._rowIndex = _data && _data.rowIndex;
|
|
82
|
+
this.value = _data && _data.value;
|
|
83
|
+
this._colData = _data && _data.colData;
|
|
84
|
+
if (_data && _data.colData && _data.colData.cellTypeConfig) {
|
|
85
|
+
this.config = _data.colData.cellTypeConfig;
|
|
86
|
+
}
|
|
87
|
+
if (_data) {
|
|
88
|
+
_data.changed
|
|
89
|
+
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
90
|
+
.subscribe(function (v) {
|
|
91
|
+
if (v.changes.hasOwnProperty('value')) {
|
|
92
|
+
_this.value = v.changes.value.currentValue;
|
|
93
|
+
_this.config = _this._config;
|
|
94
|
+
_this._cdf.markForCheck();
|
|
95
|
+
}
|
|
96
|
+
if (v.changes.hasOwnProperty('colData')) {
|
|
97
|
+
var colData = v.changes.colData.currentValue;
|
|
98
|
+
if (colData && colData.cellTypeConfig !== _this.config) {
|
|
99
|
+
_this.config = colData.cellTypeConfig;
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
_this.config = undefined;
|
|
103
|
+
}
|
|
104
|
+
_this._cdf.markForCheck();
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
if (v.changes.hasOwnProperty('row')) {
|
|
108
|
+
_this.config = _this.config;
|
|
109
|
+
_this._cdf.markForCheck();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
Object.defineProperty(TableCellTypeIconComponent.prototype, "value", {
|
|
116
|
+
get: function () { return this._value; },
|
|
117
|
+
set: function (value) {
|
|
118
|
+
this._value = value;
|
|
119
|
+
this._icon = value ? icon.getKnownIcon(value) || value : value;
|
|
120
|
+
},
|
|
121
|
+
enumerable: false,
|
|
122
|
+
configurable: true
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(TableCellTypeIconComponent.prototype, "config", {
|
|
125
|
+
get: function () { return this._config; },
|
|
126
|
+
set: function (value) {
|
|
127
|
+
this._config = value;
|
|
128
|
+
if (value) {
|
|
129
|
+
this.setAction(value.action);
|
|
130
|
+
this._linkClass = this._parseConfigValue(value.linkClass);
|
|
131
|
+
this._iconClass = this._parseConfigValue(value.iconClass);
|
|
132
|
+
this._iconType = value.iconType;
|
|
133
|
+
this._title = this._parseConfigValue(value.titleAttr);
|
|
134
|
+
this._srOnly = this._parseConfigValue(value.srOnly);
|
|
135
|
+
this._tooltip = this._parseConfigValue(value.tooltip);
|
|
136
|
+
if (this._tooltip) {
|
|
137
|
+
this._tooltipClass = this._parseConfigValue(value.tooltipClass);
|
|
138
|
+
this._tooltipPlacement = this._parseConfigValue(value.tooltipPlacement) || 'auto';
|
|
139
|
+
this._tooltipContainer = this._parseConfigValue(value.tooltipContainer);
|
|
140
|
+
this._tooltipDisabled = false;
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
this._tooltipDisabled = true;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
enumerable: false,
|
|
148
|
+
configurable: true
|
|
149
|
+
});
|
|
150
|
+
TableCellTypeIconComponent.prototype.ngOnInit = function () { };
|
|
151
|
+
TableCellTypeIconComponent.prototype.ngOnDestroy = function () {
|
|
152
|
+
this._ngUnsubscribe.next();
|
|
153
|
+
this._ngUnsubscribe.complete();
|
|
154
|
+
};
|
|
155
|
+
TableCellTypeIconComponent.prototype.setAction = function (configAction) {
|
|
156
|
+
var newTplType = 'default';
|
|
157
|
+
var link;
|
|
158
|
+
var download = false;
|
|
159
|
+
var detectMimeContent = false;
|
|
160
|
+
var target;
|
|
161
|
+
var queryParams;
|
|
162
|
+
if (configAction) {
|
|
163
|
+
if (configAction.type === 'link') {
|
|
164
|
+
link = this._parseConfigValue(configAction.link);
|
|
165
|
+
if (link !== undefined && link !== null) {
|
|
166
|
+
newTplType = this._parseConfigValue(configAction.asset)
|
|
167
|
+
? 'link-encrypted'
|
|
168
|
+
: this._parseConfigValue(configAction.external) ? 'link-external' : 'link';
|
|
169
|
+
download = !!this._parseConfigValue(configAction.download);
|
|
170
|
+
detectMimeContent = !!this._parseConfigValue(configAction.detectMimeContent);
|
|
171
|
+
target = this._parseConfigValue(configAction.target);
|
|
172
|
+
queryParams = this._parseConfigValue(configAction.queryParams);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
else if (configAction.type === 'modal') {
|
|
176
|
+
newTplType = 'button';
|
|
177
|
+
this._buttonAction = configAction;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
this._tplType = newTplType;
|
|
181
|
+
this._link = link;
|
|
182
|
+
this._download = download;
|
|
183
|
+
this._detectMimeContent = detectMimeContent;
|
|
184
|
+
this._target = target;
|
|
185
|
+
this._queryParams = queryParams;
|
|
186
|
+
};
|
|
187
|
+
TableCellTypeIconComponent.prototype._parseConfigValue = function (val) {
|
|
188
|
+
var _this = this;
|
|
189
|
+
var contextFn = function () { return _this._tableCellTypeHelpers.getValueContext(val, _this._tableCellData); };
|
|
190
|
+
return this._tableCellTypeHelpers.parseValueProp(val, contextFn);
|
|
191
|
+
};
|
|
192
|
+
TableCellTypeIconComponent.prototype._doButtonAction = function () {
|
|
193
|
+
var _this = this;
|
|
194
|
+
if (this._buttonAction && this._buttonAction.type === 'modal') {
|
|
195
|
+
var contextFn = function () { return _this._tableCellTypeHelpers.getValueContext(_this.value, _this._tableCellData); };
|
|
196
|
+
this._tableCellTypeHelpers.handleModalAction(this._buttonAction, contextFn)
|
|
197
|
+
.subscribe(function (r) { }, function (err) { return console.error(err); }, function () { return _this._actionRefreshRequest(); });
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
TableCellTypeIconComponent.prototype._actionRefreshRequest = function () {
|
|
201
|
+
if (this._datatable) {
|
|
202
|
+
this._datatable.triggerActionRefreshRequest();
|
|
203
|
+
}
|
|
204
|
+
else if (this._table) {
|
|
205
|
+
this._table.triggerActionRefreshRequest();
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
return TableCellTypeIconComponent;
|
|
209
|
+
}());
|
|
210
|
+
TableCellTypeIconComponent.decorators = [
|
|
211
|
+
{ type: core.Component, args: [{
|
|
212
|
+
selector: 'seam-table-cell-type-icon',
|
|
213
|
+
template: "<ng-container *ngIf=\"_icon\">\n <div *ngIf=\"!_tplType || _tplType === 'default'\"\n class=\"d-flex align-items-center justify-center\"\n [class.datatable-icon-fix]=\"_isDatatable\">\n <a class=\"d-block m-auto{{ _linkClass ? ' ' + _linkClass : '' }}\"\n [attr.title]=\"_tooltipDisabled ? _title : undefined\"\n [attr.target]=\"_target\"\n [ngbTooltip]=\"_tooltip\"\n [tooltipClass]=\"$any(_tooltipClass)\"\n [placement]=\"$any(_tooltipPlacement)\"\n [container]=\"$any(_tooltipContainer)\"\n [disableTooltip]=\"_tooltipDisabled\">\n <seam-icon [icon]=\"_icon\" size=\"lg\" [iconType]=\"_iconType\" [iconClass]=\"_iconClass || ''\"></seam-icon>\n <span *ngIf=\"_srOnly\" class=\"sr-only\">{{ _srOnly }}</span>\n </a>\n </div>\n\n <div *ngIf=\"_tplType === 'link'\"\n class=\"d-flex align-items-center justify-center\"\n [class.datatable-icon-fix]=\"_isDatatable\">\n <a class=\"d-block m-auto{{ _linkClass ? ' ' + _linkClass : '' }}\"\n [routerLink]=\"_link\"\n [queryParams]=\"_queryParams\"\n [attr.title]=\"_tooltipDisabled ? _title : undefined\"\n [attr.target]=\"_target\"\n [ngbTooltip]=\"_tooltip\"\n [tooltipClass]=\"$any(_tooltipClass)\"\n [placement]=\"$any(_tooltipPlacement)\"\n [container]=\"$any(_tooltipContainer)\"\n [disableTooltip]=\"_tooltipDisabled\">\n <seam-icon *ngIf=\"_icon\" [icon]=\"_icon\" size=\"lg\" [iconType]=\"_iconType\" [iconClass]=\"_iconClass\"></seam-icon>\n <span *ngIf=\"_srOnly\" class=\"sr-only\">{{ _srOnly }}</span>\n </a>\n </div>\n\n <div *ngIf=\"_tplType === 'link-external'\"\n class=\"d-flex align-items-center justify-center\"\n [class.datatable-icon-fix]=\"_isDatatable\">\n <a class=\"d-block m-auto{{ _linkClass ? ' ' + _linkClass : '' }}\"\n [attr.href]=\"_link\"\n [attr.title]=\"_tooltipDisabled ? _title : undefined\"\n [attr.target]=\"_target\"\n [ngbTooltip]=\"_tooltip\"\n [tooltipClass]=\"$any(_tooltipClass)\"\n [placement]=\"$any(_tooltipPlacement)\"\n [container]=\"$any(_tooltipContainer)\"\n [disableTooltip]=\"_tooltipDisabled\">\n <seam-icon *ngIf=\"_icon\" [icon]=\"_icon\" size=\"lg\" [iconType]=\"_iconType\" [iconClass]=\"_iconClass\"></seam-icon>\n <span *ngIf=\"_srOnly\" class=\"sr-only\">{{ _srOnly }}</span>\n </a>\n </div>\n\n <div *ngIf=\"_tplType === 'link-encrypted'\"\n class=\"d-flex align-items-center justify-center\"\n [class.datatable-icon-fix]=\"_isDatatable\">\n <button\n class=\"btn btn-link p-0 m-auto{{ _linkClass ? ' ' + _linkClass : '' }}\"\n type=\"button\"\n [seamEncryptedAssetLink]=\"_link\"\n [seamDetectMimeFromContent]=\"_detectMimeContent\"\n [seamDownloadAsset]=\"_download\"\n [attr.title]=\"_tooltipDisabled ? _title : undefined\"\n [ngbTooltip]=\"_tooltip\"\n [tooltipClass]=\"$any(_tooltipClass)\"\n [placement]=\"$any(_tooltipPlacement)\"\n [container]=\"$any(_tooltipContainer)\"\n [disableTooltip]=\"_tooltipDisabled\">\n <seam-icon *ngIf=\"_icon\" iconType=\"styled-square\" [icon]=\"_icon\" size=\"lg\" [iconType]=\"_iconType\" [iconClass]=\"_iconClass\"></seam-icon>\n <span *ngIf=\"_srOnly\" class=\"sr-only\">{{ _srOnly }}</span>\n </button>\n </div>\n\n <div *ngIf=\"_tplType === 'button'\"\n class=\"d-flex align-items-center justify-center\"\n [class.datatable-icon-fix]=\"_isDatatable\"\n (click)=\"_doButtonAction()\">\n <button\n class=\"btn btn-link p-0 m-auto{{ _linkClass ? ' ' + _linkClass : '' }}\"\n type=\"button\"\n [attr.title]=\"_tooltipDisabled ? _title : undefined\"\n [ngbTooltip]=\"_tooltip\"\n [tooltipClass]=\"$any(_tooltipClass)\"\n [placement]=\"$any(_tooltipPlacement)\"\n [container]=\"$any(_tooltipContainer)\"\n [disableTooltip]=\"_tooltipDisabled\">\n <seam-icon *ngIf=\"_icon\" iconType=\"styled-square\" [icon]=\"_icon\" size=\"lg\" [iconType]=\"_iconType\" [iconClass]=\"_iconClass\"></seam-icon>\n <span *ngIf=\"_srOnly\" class=\"sr-only\">{{ _srOnly }}</span>\n </button>\n </div>\n</ng-container>\n",
|
|
214
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
215
|
+
styles: [":host.datatable-cell-type ::ng-deep .seam-icon--img{max-height:40px}:host.datatable-cell-type a{max-height:40px}:host.datatable-cell-type button{max-height:40px}:host:not(.datatable-cell-type) ::ng-deep .seam-icon--img{max-height:20px}:host:not(.datatable-cell-type) a{max-height:20px}:host:not(.datatable-cell-type) button{max-height:20px}.datatable-icon-fix{margin-top:calc(-1px - .75rem);height:calc(50px)}"]
|
|
216
|
+
},] }
|
|
217
|
+
];
|
|
218
|
+
TableCellTypeIconComponent.ctorParameters = function () { return [
|
|
219
|
+
{ type: core.ChangeDetectorRef },
|
|
220
|
+
{ type: tableCellType.TableCellTypesHelpersService },
|
|
221
|
+
{ type: datatable.DatatableComponent, decorators: [{ type: core.Optional }] },
|
|
222
|
+
{ type: table.TableComponent, decorators: [{ type: core.Optional }] },
|
|
223
|
+
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [tableCellType.TABLE_CELL_DATA,] }] }
|
|
224
|
+
]; };
|
|
225
|
+
TableCellTypeIconComponent.propDecorators = {
|
|
226
|
+
value: [{ type: core.Input }],
|
|
227
|
+
config: [{ type: core.Input }],
|
|
228
|
+
_isDatatable: [{ type: core.HostBinding, args: ['class.datatable-cell-type',] }]
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
var TableCellTypePhoneComponent = /** @class */ (function () {
|
|
232
|
+
function TableCellTypePhoneComponent(_cdf, _tableData) {
|
|
233
|
+
var _this = this;
|
|
234
|
+
this._cdf = _cdf;
|
|
235
|
+
/** @ignore */
|
|
236
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
237
|
+
/** @ignore */
|
|
238
|
+
this._format = telInput.THESEAM_DEFAULT_PHONE_NUMBER_FORMAT;
|
|
239
|
+
var _data = _tableData;
|
|
240
|
+
this.value = _data && _data.value;
|
|
241
|
+
if (_data && _data.colData && _data.colData.cellTypeConfig && utils.hasProperty(_data.colData.cellTypeConfig, 'format')) {
|
|
242
|
+
this.format = _data.colData.cellTypeConfig.format;
|
|
243
|
+
}
|
|
244
|
+
if (_data) {
|
|
245
|
+
_data.changed
|
|
246
|
+
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
247
|
+
.subscribe(function (v) {
|
|
248
|
+
if (v.changes.hasOwnProperty('value')) {
|
|
249
|
+
_this.value = v.changes.value.currentValue;
|
|
250
|
+
_this._cdf.markForCheck();
|
|
251
|
+
}
|
|
252
|
+
if (v.changes.hasOwnProperty('colData')) {
|
|
253
|
+
var colData = v.changes.colData.currentValue;
|
|
254
|
+
if (colData && utils.hasProperty(colData, 'cellTypeConfig') &&
|
|
255
|
+
utils.hasProperty(colData.cellTypeConfig, 'format') &&
|
|
256
|
+
colData.cellTypeConfig.format !== _this.format) {
|
|
257
|
+
_this.format = colData.cellTypeConfig.format;
|
|
258
|
+
}
|
|
259
|
+
else {
|
|
260
|
+
_this.format = telInput.THESEAM_DEFAULT_PHONE_NUMBER_FORMAT;
|
|
261
|
+
}
|
|
262
|
+
_this._cdf.markForCheck();
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
Object.defineProperty(TableCellTypePhoneComponent.prototype, "format", {
|
|
268
|
+
get: function () { return this._format; },
|
|
269
|
+
set: function (value) { this._format = telInput.coercePhoneNumberFormat(value); },
|
|
270
|
+
enumerable: false,
|
|
271
|
+
configurable: true
|
|
272
|
+
});
|
|
273
|
+
TableCellTypePhoneComponent.prototype.ngOnInit = function () { };
|
|
274
|
+
TableCellTypePhoneComponent.prototype.ngOnDestroy = function () {
|
|
275
|
+
this._ngUnsubscribe.next();
|
|
276
|
+
this._ngUnsubscribe.complete();
|
|
277
|
+
};
|
|
278
|
+
return TableCellTypePhoneComponent;
|
|
279
|
+
}());
|
|
280
|
+
TableCellTypePhoneComponent.decorators = [
|
|
281
|
+
{ type: core.Component, args: [{
|
|
282
|
+
selector: 'seam-table-cell-type-phone',
|
|
283
|
+
template: "<ng-container *ngIf=\"((value || '') | phoneNumber: _format) as num\">\n <div class=\"td-text-truncate\" [title]=\"num\">\n {{ num }}\n </div>\n</ng-container>\n<!-- <div class=\"td-text-truncate\" [title]=\"value | phoneNumber: _format\">\n {{ value | date: format || 'yyyy-MM-dd h:mm aaa' }}\n</div> -->\n",
|
|
284
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
285
|
+
styles: [""]
|
|
286
|
+
},] }
|
|
287
|
+
];
|
|
288
|
+
TableCellTypePhoneComponent.ctorParameters = function () { return [
|
|
289
|
+
{ type: core.ChangeDetectorRef },
|
|
290
|
+
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [tableCellType.TABLE_CELL_DATA,] }] }
|
|
291
|
+
]; };
|
|
292
|
+
TableCellTypePhoneComponent.propDecorators = {
|
|
293
|
+
value: [{ type: core.Input }],
|
|
294
|
+
format: [{ type: core.Input }]
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
var TableCellTypeProgressCircleIconComponent = /** @class */ (function () {
|
|
298
|
+
function TableCellTypeProgressCircleIconComponent(_cdf, _tableCellTypeHelpers, _tableData) {
|
|
299
|
+
var _this = this;
|
|
300
|
+
this._cdf = _cdf;
|
|
301
|
+
this._tableCellTypeHelpers = _tableCellTypeHelpers;
|
|
302
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
303
|
+
this.displayIcon = false;
|
|
304
|
+
var tableData = _tableData;
|
|
305
|
+
this.value = tableData && tableData.value;
|
|
306
|
+
this.row = tableData && tableData.row;
|
|
307
|
+
this.rowIndex = tableData && tableData.rowIndex;
|
|
308
|
+
this.colData = tableData && tableData.colData;
|
|
309
|
+
this._setIcon(tableData);
|
|
310
|
+
if (tableData) {
|
|
311
|
+
tableData.changed
|
|
312
|
+
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
313
|
+
.subscribe(function (v) {
|
|
314
|
+
if (v.changes.hasOwnProperty('value')) {
|
|
315
|
+
_this.value = v.changes.value.currentValue;
|
|
316
|
+
_this._setIcon(tableData);
|
|
317
|
+
_this._cdf.markForCheck();
|
|
318
|
+
}
|
|
319
|
+
if (v.changes.hasOwnProperty('colData')) {
|
|
320
|
+
_this.colData = v.changes.colData.currentValue;
|
|
321
|
+
_this._setIcon(tableData);
|
|
322
|
+
_this._cdf.markForCheck();
|
|
323
|
+
}
|
|
324
|
+
else {
|
|
325
|
+
if (v.changes.hasOwnProperty('row')) {
|
|
326
|
+
_this._setIcon(tableData);
|
|
327
|
+
_this._cdf.markForCheck();
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
TableCellTypeProgressCircleIconComponent.prototype._setIcon = function (tableData) {
|
|
334
|
+
if (tableData &&
|
|
335
|
+
tableData.colData &&
|
|
336
|
+
tableData.colData.cellTypeConfig &&
|
|
337
|
+
tableData.colData.cellTypeConfig.displayIcon &&
|
|
338
|
+
tableData.colData.cellTypeConfig.icon &&
|
|
339
|
+
this._parseConfigValue(tableData.colData.cellTypeConfig.displayIcon, tableData) &&
|
|
340
|
+
this._parseConfigValue(tableData.colData.cellTypeConfig.icon, tableData)) {
|
|
341
|
+
this.icon = this._parseConfigValue(tableData.colData.cellTypeConfig.icon, tableData);
|
|
342
|
+
this.displayIcon = this._parseConfigValue(tableData.colData.cellTypeConfig.displayIcon, tableData);
|
|
343
|
+
}
|
|
344
|
+
};
|
|
345
|
+
TableCellTypeProgressCircleIconComponent.prototype._parseConfigValue = function (val, tableData) {
|
|
346
|
+
var _this = this;
|
|
347
|
+
var contextFn = function () { return _this._tableCellTypeHelpers.getValueContext(val, tableData); };
|
|
348
|
+
return this._tableCellTypeHelpers.parseValueProp(val, contextFn);
|
|
349
|
+
};
|
|
350
|
+
TableCellTypeProgressCircleIconComponent.prototype.ngOnInit = function () { };
|
|
351
|
+
TableCellTypeProgressCircleIconComponent.prototype.ngOnDestroy = function () {
|
|
352
|
+
this._ngUnsubscribe.next();
|
|
353
|
+
this._ngUnsubscribe.complete();
|
|
354
|
+
};
|
|
355
|
+
return TableCellTypeProgressCircleIconComponent;
|
|
356
|
+
}());
|
|
357
|
+
TableCellTypeProgressCircleIconComponent.decorators = [
|
|
358
|
+
{ type: core.Component, args: [{
|
|
359
|
+
selector: 'seam-table-cell-type-progress-circle-icon',
|
|
360
|
+
template: "<seam-table-cell-type-selector\n *ngIf=\"displayIcon; else progressCircle\"\n type=\"icon\"\n [value]=\"icon\"\n [rowIndex]=\"rowIndex\"\n [row]=\"row\"\n [colData]=\"colData\"></seam-table-cell-type-selector>\n<ng-template #progressCircle>\n <seam-table-cell-type-selector\n type=\"progress-circle\"\n [value]=\"value\"\n [rowIndex]=\"rowIndex\"\n [row]=\"row\"\n [colData]=\"colData\"></seam-table-cell-type-selector>\n</ng-template>\n",
|
|
361
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
362
|
+
styles: [""]
|
|
363
|
+
},] }
|
|
364
|
+
];
|
|
365
|
+
TableCellTypeProgressCircleIconComponent.ctorParameters = function () { return [
|
|
366
|
+
{ type: core.ChangeDetectorRef },
|
|
367
|
+
{ type: tableCellType.TableCellTypesHelpersService },
|
|
368
|
+
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [tableCellType.TABLE_CELL_DATA,] }] }
|
|
369
|
+
]; };
|
|
370
|
+
TableCellTypeProgressCircleIconComponent.propDecorators = {
|
|
371
|
+
value: [{ type: core.Input }]
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
var TableCellTypeProgressCircleComponent = /** @class */ (function () {
|
|
375
|
+
function TableCellTypeProgressCircleComponent(_cdf, _tableCellTypeHelpers, _datatable, _table, _tableData) {
|
|
376
|
+
var _this = this;
|
|
377
|
+
this._cdf = _cdf;
|
|
378
|
+
this._tableCellTypeHelpers = _tableCellTypeHelpers;
|
|
379
|
+
this._datatable = _datatable;
|
|
380
|
+
this._table = _table;
|
|
381
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
382
|
+
this.fillBackground = false;
|
|
383
|
+
this.showText = false;
|
|
384
|
+
this.hiddenOnEmpty = true;
|
|
385
|
+
this.pending = false;
|
|
386
|
+
this._tooltipDisabled = false;
|
|
387
|
+
this._linkClass = ''; // TODO: Decide if this makes sense
|
|
388
|
+
this._tplType = 'default';
|
|
389
|
+
this._isDatatable = false;
|
|
390
|
+
if (_datatable) {
|
|
391
|
+
this._isDatatable = true;
|
|
392
|
+
}
|
|
393
|
+
var tableData = _tableData;
|
|
394
|
+
this._tableCellData = _tableData;
|
|
395
|
+
this.value = tableData && coercion.coerceNumberProperty(tableData.value);
|
|
396
|
+
this.colData = tableData && tableData.colData;
|
|
397
|
+
if (this.colData && this.colData.cellTypeConfig) {
|
|
398
|
+
this._setCellTypeConfigProps(this.colData.cellTypeConfig);
|
|
399
|
+
}
|
|
400
|
+
if (tableData) {
|
|
401
|
+
tableData.changed
|
|
402
|
+
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
403
|
+
.subscribe(function (v) {
|
|
404
|
+
var _a;
|
|
405
|
+
if (v.changes.hasOwnProperty('value')) {
|
|
406
|
+
_this.value = coercion.coerceNumberProperty(v.changes.value.currentValue);
|
|
407
|
+
if (_this._config) {
|
|
408
|
+
_this._setCellTypeConfigProps(_this._config);
|
|
409
|
+
}
|
|
410
|
+
_this._cdf.markForCheck();
|
|
411
|
+
}
|
|
412
|
+
if (v.changes.hasOwnProperty('colData')) {
|
|
413
|
+
_this.colData = v.changes.colData.currentValue;
|
|
414
|
+
if (_this.colData && _this.colData.cellTypeConfig) {
|
|
415
|
+
_this._setCellTypeConfigProps(_this.colData.cellTypeConfig);
|
|
416
|
+
}
|
|
417
|
+
_this._cdf.markForCheck();
|
|
418
|
+
}
|
|
419
|
+
else {
|
|
420
|
+
if (v.changes.hasOwnProperty('row')) {
|
|
421
|
+
if ((_a = _this.colData) === null || _a === void 0 ? void 0 : _a.cellTypeConfig) {
|
|
422
|
+
_this._setCellTypeConfigProps(_this.colData.cellTypeConfig);
|
|
423
|
+
_this._cdf.markForCheck();
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
});
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
TableCellTypeProgressCircleComponent.prototype.ngOnInit = function () { };
|
|
431
|
+
TableCellTypeProgressCircleComponent.prototype.ngOnDestroy = function () {
|
|
432
|
+
this._ngUnsubscribe.next();
|
|
433
|
+
this._ngUnsubscribe.complete();
|
|
434
|
+
};
|
|
435
|
+
TableCellTypeProgressCircleComponent.prototype._parseConfigValue = function (val) {
|
|
436
|
+
var _this = this;
|
|
437
|
+
var contextFn = function () { return _this._tableCellTypeHelpers.getValueContext(val, _this._tableCellData); };
|
|
438
|
+
return this._tableCellTypeHelpers.parseValueProp(val, contextFn);
|
|
439
|
+
};
|
|
440
|
+
TableCellTypeProgressCircleComponent.prototype.setAction = function (configAction) {
|
|
441
|
+
var newTplType = 'default';
|
|
442
|
+
var link;
|
|
443
|
+
var download = false;
|
|
444
|
+
var detectMimeContent = false;
|
|
445
|
+
var target;
|
|
446
|
+
var queryParams;
|
|
447
|
+
if (configAction) {
|
|
448
|
+
if (configAction.type === 'link') {
|
|
449
|
+
link = this._parseConfigValue(configAction.link);
|
|
450
|
+
if (link !== undefined && link !== null) {
|
|
451
|
+
newTplType = this._parseConfigValue(configAction.asset)
|
|
452
|
+
? 'link-encrypted'
|
|
453
|
+
: this._parseConfigValue(configAction.external) ? 'link-external' : 'link';
|
|
454
|
+
download = !!this._parseConfigValue(configAction.download);
|
|
455
|
+
detectMimeContent = !!this._parseConfigValue(configAction.detectMimeContent);
|
|
456
|
+
target = this._parseConfigValue(configAction.target);
|
|
457
|
+
queryParams = this._parseConfigValue(configAction.queryParams);
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
else if (configAction.type === 'modal') {
|
|
461
|
+
newTplType = 'button';
|
|
462
|
+
this._buttonAction = configAction;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
this._tplType = newTplType;
|
|
466
|
+
this._link = link;
|
|
467
|
+
this._download = download;
|
|
468
|
+
this._detectMimeContent = detectMimeContent;
|
|
469
|
+
this._target = target;
|
|
470
|
+
this._queryParams = queryParams;
|
|
471
|
+
};
|
|
472
|
+
TableCellTypeProgressCircleComponent.prototype._setCellTypeConfigProps = function (config) {
|
|
473
|
+
this._config = config;
|
|
474
|
+
this.setAction(config.action);
|
|
475
|
+
this.fillBackground = coercion.coerceBooleanProperty(this._parseConfigValue(config.fillBackground));
|
|
476
|
+
this.showText = coercion.coerceBooleanProperty(this._parseConfigValue(config.showText));
|
|
477
|
+
this.hiddenOnEmpty = coercion.coerceBooleanProperty(this._parseConfigValue(config.hiddenOnEmpty));
|
|
478
|
+
this.pending = coercion.coerceBooleanProperty(this._parseConfigValue(config.pending));
|
|
479
|
+
this.tooltip = this._parseConfigValue(config.tooltip);
|
|
480
|
+
this.tooltip = this._parseConfigValue(config.tooltip);
|
|
481
|
+
if (this.tooltip) {
|
|
482
|
+
this.tooltipClass = this._parseConfigValue(config.tooltipClass);
|
|
483
|
+
this.tooltipPlacement = this._parseConfigValue(config.tooltipPlacement) || 'auto';
|
|
484
|
+
this.tooltipContainer = this._parseConfigValue(config.tooltipContainer);
|
|
485
|
+
this._tooltipDisabled = false;
|
|
486
|
+
}
|
|
487
|
+
else {
|
|
488
|
+
this._tooltipDisabled = true;
|
|
489
|
+
}
|
|
490
|
+
this._title = this._parseConfigValue(config.titleAttr);
|
|
491
|
+
this._srOnly = this._parseConfigValue(config.srOnly);
|
|
492
|
+
};
|
|
493
|
+
TableCellTypeProgressCircleComponent.prototype._doButtonAction = function () {
|
|
494
|
+
var _this = this;
|
|
495
|
+
if (this._buttonAction && this._buttonAction.type === 'modal') {
|
|
496
|
+
var contextFn = function () { return _this._tableCellTypeHelpers.getValueContext(_this.value, _this._tableCellData); };
|
|
497
|
+
this._tableCellTypeHelpers.handleModalAction(this._buttonAction, contextFn)
|
|
498
|
+
.subscribe(function (r) { }, function (err) { return console.error(err); }, function () { return _this._actionRefreshRequest(); });
|
|
499
|
+
}
|
|
500
|
+
};
|
|
501
|
+
TableCellTypeProgressCircleComponent.prototype._actionRefreshRequest = function () {
|
|
502
|
+
if (this._datatable) {
|
|
503
|
+
this._datatable.triggerActionRefreshRequest();
|
|
504
|
+
}
|
|
505
|
+
else if (this._table) {
|
|
506
|
+
this._table.triggerActionRefreshRequest();
|
|
507
|
+
}
|
|
508
|
+
};
|
|
509
|
+
return TableCellTypeProgressCircleComponent;
|
|
510
|
+
}());
|
|
511
|
+
TableCellTypeProgressCircleComponent.decorators = [
|
|
512
|
+
{ type: core.Component, args: [{
|
|
513
|
+
selector: 'seam-table-cell-type-progress-circle',
|
|
514
|
+
template: "<ng-container *ngIf=\"!_tplType || _tplType === 'default'\">\n <ng-template [ngTemplateOutlet]=\"progressCircleTpl\"></ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"_tplType === 'link'\">\n <a class=\"d-block m-auto{{ _linkClass ? ' ' + _linkClass : '' }}\"\n [routerLink]=\"_link\"\n [queryParams]=\"_queryParams\"\n [attr.title]=\"_tooltipDisabled ? _title : undefined\"\n [attr.target]=\"_target\">\n <ng-template [ngTemplateOutlet]=\"progressCircleTpl\"></ng-template>\n\n </a>\n</ng-container>\n\n<ng-container *ngIf=\"_tplType === 'link-external'\"\n class=\"d-flex align-items-center justify-center\"\n [class.datatable-icon-fix]=\"_isDatatable\">\n <a class=\"d-block m-auto{{ _linkClass ? ' ' + _linkClass : '' }}\"\n [attr.href]=\"_link\"\n [attr.title]=\"_tooltipDisabled ? _title : undefined\"\n [attr.target]=\"_target\">\n <ng-template [ngTemplateOutlet]=\"progressCircleTpl\"></ng-template>\n </a>\n</ng-container>\n\n<ng-container *ngIf=\"_tplType === 'link-encrypted'\"\n class=\"d-flex align-items-center justify-center\"\n [class.datatable-icon-fix]=\"_isDatatable\">\n <button\n class=\"btn btn-link p-0 m-auto{{ _linkClass ? ' ' + _linkClass : '' }}\"\n type=\"button\"\n [seamEncryptedAssetLink]=\"_link\"\n [seamDetectMimeFromContent]=\"_detectMimeContent\"\n [seamDownloadAsset]=\"_download\"\n [attr.title]=\"_tooltipDisabled ? _title : undefined\">\n <ng-template [ngTemplateOutlet]=\"progressCircleTpl\"></ng-template>\n </button>\n</ng-container>\n\n<ng-container *ngIf=\"_tplType === 'button'\"\n class=\"d-flex align-items-center justify-center\"\n [class.datatable-icon-fix]=\"_isDatatable\"\n (click)=\"_doButtonAction()\">\n <button\n class=\"btn btn-link p-0 m-auto{{ _linkClass ? ' ' + _linkClass : '' }}\"\n type=\"button\"\n [attr.title]=\"_tooltipDisabled ? _title : undefined\">\n <ng-template [ngTemplateOutlet]=\"progressCircleTpl\"></ng-template>\n </button>\n</ng-container>\n\n<ng-template #progressCircleTpl>\n <div class=\"progress-circle-wrapper\">\n <seam-progress-circle\n class=\"progress-circle\"\n [fillBackground]=\"fillBackground\"\n [showText]=\"showText\"\n [hiddenOnEmpty]=\"hiddenOnEmpty\"\n [percentage]=\"$any(value)\"\n [pending]=\"pending\"\n [ngbTooltip]=\"tooltip\"\n [tooltipClass]=\"$any(tooltipClass)\"\n [placement]=\"$any(tooltipPlacement)\"\n [container]=\"$any(tooltipContainer)\">\n </seam-progress-circle>\n <span *ngIf=\"_srOnly\" class=\"sr-only\">{{ _srOnly }}</span>\n </div>\n</ng-template>\n",
|
|
515
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
516
|
+
styles: [":host.datatable-cell-type .progress-circle-wrapper{max-height:25px}:host.datatable-cell-type .progress-circle{position:relative;width:25px;height:25px;margin:0 auto}:host.datatable-cell-type .progress-circle ::ng-deep .seam-progress-circle{padding:0}:host:not(.datatable-cell-type) .progress-circle-wrapper{height:22px;max-height:22px}:host:not(.datatable-cell-type) .progress-circle{position:relative;width:25px;height:25px;margin:calc(-.03rem) auto 0}:host:not(.datatable-cell-type) .progress-circle ::ng-deep .seam-progress-circle{padding:0}"]
|
|
517
|
+
},] }
|
|
518
|
+
];
|
|
519
|
+
TableCellTypeProgressCircleComponent.ctorParameters = function () { return [
|
|
520
|
+
{ type: core.ChangeDetectorRef },
|
|
521
|
+
{ type: tableCellType.TableCellTypesHelpersService },
|
|
522
|
+
{ type: datatable.DatatableComponent, decorators: [{ type: core.Optional }] },
|
|
523
|
+
{ type: table.TableComponent, decorators: [{ type: core.Optional }] },
|
|
524
|
+
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [tableCellType.TABLE_CELL_DATA,] }] }
|
|
525
|
+
]; };
|
|
526
|
+
TableCellTypeProgressCircleComponent.propDecorators = {
|
|
527
|
+
value: [{ type: core.Input }],
|
|
528
|
+
_isDatatable: [{ type: core.HostBinding, args: ['class.datatable-cell-type',] }]
|
|
529
|
+
};
|
|
530
|
+
|
|
531
|
+
var TableCellTypeStringComponent = /** @class */ (function () {
|
|
532
|
+
function TableCellTypeStringComponent(_cdf, _tableCellTypeHelpers, _datatable, _table, _tableData) {
|
|
533
|
+
this._cdf = _cdf;
|
|
534
|
+
this._tableCellTypeHelpers = _tableCellTypeHelpers;
|
|
535
|
+
this._datatable = _datatable;
|
|
536
|
+
this._table = _table;
|
|
537
|
+
this._tableData = _tableData;
|
|
538
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
539
|
+
this._tplType = 'default';
|
|
540
|
+
this.canPopover = false;
|
|
541
|
+
var _data = _tableData;
|
|
542
|
+
this._tableCellData = _tableData;
|
|
543
|
+
this._row = _data && _data.row;
|
|
544
|
+
this._rowIndex = _data && _data.rowIndex;
|
|
545
|
+
this.value = _data && _data.value;
|
|
546
|
+
this._colData = _data && _data.colData;
|
|
547
|
+
if (_data && _data.colData && _data.colData.cellTypeConfig) {
|
|
548
|
+
this.config = _data.colData.cellTypeConfig;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
Object.defineProperty(TableCellTypeStringComponent.prototype, "value", {
|
|
552
|
+
get: function () { return this._value; },
|
|
553
|
+
set: function (val) {
|
|
554
|
+
this._value = val;
|
|
555
|
+
// TODO: This is temporary to test the feature and will be fixed when the
|
|
556
|
+
// dynamic column data is fixed. The plan is to add a config toggle to
|
|
557
|
+
// always enable and depending on performance it could try to decide on its
|
|
558
|
+
// own based on content size.
|
|
559
|
+
if (this.value && this.value.length > 30) {
|
|
560
|
+
this.canPopover = true;
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
enumerable: false,
|
|
564
|
+
configurable: true
|
|
565
|
+
});
|
|
566
|
+
Object.defineProperty(TableCellTypeStringComponent.prototype, "config", {
|
|
567
|
+
get: function () { return this._config; },
|
|
568
|
+
set: function (value) {
|
|
569
|
+
this._config = value;
|
|
570
|
+
if (value) {
|
|
571
|
+
this.setAction(value.action);
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
enumerable: false,
|
|
575
|
+
configurable: true
|
|
576
|
+
});
|
|
577
|
+
Object.defineProperty(TableCellTypeStringComponent.prototype, "title", {
|
|
578
|
+
get: function () { return this._title; },
|
|
579
|
+
set: function (value) { this.title = value; },
|
|
580
|
+
enumerable: false,
|
|
581
|
+
configurable: true
|
|
582
|
+
});
|
|
583
|
+
Object.defineProperty(TableCellTypeStringComponent.prototype, "_titleAttr", {
|
|
584
|
+
get: function () { return this.title || this.value; },
|
|
585
|
+
enumerable: false,
|
|
586
|
+
configurable: true
|
|
587
|
+
});
|
|
588
|
+
TableCellTypeStringComponent.prototype.ngOnInit = function () {
|
|
589
|
+
var _this = this;
|
|
590
|
+
var _data = this._tableData;
|
|
591
|
+
if (_data) {
|
|
592
|
+
_data.changed
|
|
593
|
+
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
594
|
+
.subscribe(function (v) {
|
|
595
|
+
if (v.changes.hasOwnProperty('value')) {
|
|
596
|
+
_this.value = v.changes.value.currentValue;
|
|
597
|
+
_this._cdf.markForCheck();
|
|
598
|
+
}
|
|
599
|
+
if (v.changes.hasOwnProperty('colData')) {
|
|
600
|
+
var colData = v.changes.colData.currentValue;
|
|
601
|
+
if (colData && colData.cellTypeConfig !== _this.config) {
|
|
602
|
+
_this.config = colData.cellTypeConfig;
|
|
603
|
+
}
|
|
604
|
+
else {
|
|
605
|
+
_this.config = undefined;
|
|
606
|
+
}
|
|
607
|
+
_this._cdf.markForCheck();
|
|
608
|
+
}
|
|
609
|
+
else {
|
|
610
|
+
if (v.changes.hasOwnProperty('row')) {
|
|
611
|
+
_this.config = _this.config;
|
|
612
|
+
_this._cdf.markForCheck();
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
});
|
|
616
|
+
}
|
|
617
|
+
};
|
|
618
|
+
TableCellTypeStringComponent.prototype.ngOnDestroy = function () {
|
|
619
|
+
this._ngUnsubscribe.next();
|
|
620
|
+
this._ngUnsubscribe.complete();
|
|
621
|
+
};
|
|
622
|
+
TableCellTypeStringComponent.prototype.setAction = function (configAction) {
|
|
623
|
+
var newTplType = 'default';
|
|
624
|
+
var link;
|
|
625
|
+
var download = false;
|
|
626
|
+
var detectMimeContent = false;
|
|
627
|
+
var queryParams;
|
|
628
|
+
if (configAction) {
|
|
629
|
+
if (configAction.type === 'link') {
|
|
630
|
+
link = this._parseConfigValue(configAction.link);
|
|
631
|
+
if (link !== undefined && link !== null) {
|
|
632
|
+
newTplType = this._parseConfigValue(configAction.asset) ? 'link-encrypted' : 'link';
|
|
633
|
+
download = !!this._parseConfigValue(configAction.download);
|
|
634
|
+
detectMimeContent = !!this._parseConfigValue(configAction.detectMimeContent);
|
|
635
|
+
queryParams = this._parseConfigValue(configAction.queryParams);
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
else if (configAction.type === 'modal') {
|
|
639
|
+
newTplType = 'button';
|
|
640
|
+
this._buttonAction = configAction;
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
this._tplType = newTplType;
|
|
644
|
+
this._link = link;
|
|
645
|
+
this._download = download;
|
|
646
|
+
this._detectMimeContent = detectMimeContent;
|
|
647
|
+
this._queryParams = queryParams;
|
|
648
|
+
};
|
|
649
|
+
TableCellTypeStringComponent.prototype._parseConfigValue = function (val) {
|
|
650
|
+
var _this = this;
|
|
651
|
+
var contextFn = function () { return _this._tableCellTypeHelpers.getValueContext(val, _this._tableCellData); };
|
|
652
|
+
return this._tableCellTypeHelpers.parseValueProp(val, contextFn);
|
|
653
|
+
};
|
|
654
|
+
TableCellTypeStringComponent.prototype._doButtonAction = function () {
|
|
655
|
+
var _this = this;
|
|
656
|
+
if (this._buttonAction && this._buttonAction.type === 'modal') {
|
|
657
|
+
var contextFn = function () { return _this._tableCellTypeHelpers.getValueContext(_this.value, _this._tableCellData); };
|
|
658
|
+
this._tableCellTypeHelpers.handleModalAction(this._buttonAction, contextFn)
|
|
659
|
+
.subscribe(function (r) { }, function (err) { return console.error(err); }, function () { return _this._actionRefreshRequest(); });
|
|
660
|
+
}
|
|
661
|
+
};
|
|
662
|
+
TableCellTypeStringComponent.prototype._actionRefreshRequest = function () {
|
|
663
|
+
if (this._datatable) {
|
|
664
|
+
this._datatable.triggerActionRefreshRequest();
|
|
665
|
+
}
|
|
666
|
+
else if (this._table) {
|
|
667
|
+
this._table.triggerActionRefreshRequest();
|
|
668
|
+
}
|
|
669
|
+
};
|
|
670
|
+
return TableCellTypeStringComponent;
|
|
671
|
+
}());
|
|
672
|
+
TableCellTypeStringComponent.decorators = [
|
|
673
|
+
{ type: core.Component, args: [{
|
|
674
|
+
selector: 'seam-table-cell-type-string',
|
|
675
|
+
template: "<ng-template #popoverTpl>\n {{ value }}\n</ng-template>\n\n<ng-template #noPopover>\n <div class=\"text-truncate\">\n {{ value }}\n </div>\n</ng-template>\n\n<ng-container *ngIf=\"!_tplType || _tplType === 'default'\">\n <div *ngIf=\"canPopover; else noPopover\" [seamPopover]=\"popoverTpl\">\n <ng-template [ngTemplateOutlet]=\"noPopover\"></ng-template>\n </div>\n</ng-container>\n\n\n\n<ng-container *ngIf=\"_tplType === 'link'\">\n <a class=\"d-block text-body text-decoration-none\"\n [routerLink]=\"_link\"\n [queryParams]=\"_queryParams\"\n [attr.title]=\"_title\">\n <ng-template [ngTemplateOutlet]=\"noPopover\"></ng-template>\n </a>\n</ng-container>\n\n<ng-container *ngIf=\"_tplType === 'link-external'\">\n <a class=\"d-block text-body text-decoration-none\"\n [attr.href]=\"_link\"\n [attr.title]=\"_title\">\n <ng-template [ngTemplateOutlet]=\"noPopover\"></ng-template>\n </a>\n</ng-container>\n\n<ng-container *ngIf=\"_tplType === 'link-encrypted'\">\n <button\n class=\"btn btn-link p-0 d-block text-body text-decoration-none\"\n type=\"button\"\n [seamEncryptedAssetLink]=\"_link\"\n [seamDetectMimeFromContent]=\"_detectMimeContent\"\n [seamDownloadAsset]=\"_download\"\n [attr.title]=\"_title\">\n <ng-template [ngTemplateOutlet]=\"noPopover\"></ng-template>\n </button>\n</ng-container>\n\n<ng-container *ngIf=\"_tplType === 'button'\">\n <button\n class=\"btn btn-link p-0 d-block text-body text-decoration-none\"\n type=\"button\"\n [attr.title]=\"_title\"\n (click)=\"_doButtonAction()\">\n <ng-template [ngTemplateOutlet]=\"noPopover\"></ng-template>\n </button>\n</ng-container>\n\n",
|
|
676
|
+
host: {},
|
|
677
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
678
|
+
styles: [""]
|
|
679
|
+
},] }
|
|
680
|
+
];
|
|
681
|
+
TableCellTypeStringComponent.ctorParameters = function () { return [
|
|
682
|
+
{ type: core.ChangeDetectorRef },
|
|
683
|
+
{ type: tableCellType.TableCellTypesHelpersService },
|
|
684
|
+
{ type: datatable.DatatableComponent, decorators: [{ type: core.Optional }] },
|
|
685
|
+
{ type: table.TableComponent, decorators: [{ type: core.Optional }] },
|
|
686
|
+
{ type: undefined, decorators: [{ type: core.Optional }, { type: core.Inject, args: [tableCellType.TABLE_CELL_DATA,] }] }
|
|
687
|
+
]; };
|
|
688
|
+
TableCellTypeStringComponent.propDecorators = {
|
|
689
|
+
value: [{ type: core.Input }],
|
|
690
|
+
config: [{ type: core.Input }],
|
|
691
|
+
title: [{ type: core.Input }],
|
|
692
|
+
_titleAttr: [{ type: core.HostBinding, args: ['attr.title',] }]
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
var ɵ0 = {
|
|
696
|
+
name: 'string',
|
|
697
|
+
component: TableCellTypeStringComponent
|
|
698
|
+
};
|
|
699
|
+
var TABLE_CELL_TYPE_MANIFEST_STRING = {
|
|
700
|
+
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
701
|
+
useValue: ɵ0,
|
|
702
|
+
multi: true
|
|
703
|
+
};
|
|
704
|
+
var ɵ1 = {
|
|
705
|
+
name: 'integer',
|
|
706
|
+
component: TableCellTypeStringComponent
|
|
707
|
+
};
|
|
708
|
+
var TABLE_CELL_TYPE_MANIFEST_INTEGER = {
|
|
709
|
+
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
710
|
+
useValue: ɵ1,
|
|
711
|
+
multi: true
|
|
712
|
+
};
|
|
713
|
+
var ɵ2 = {
|
|
714
|
+
name: 'decimal',
|
|
715
|
+
component: TableCellTypeStringComponent
|
|
716
|
+
};
|
|
717
|
+
var TABLE_CELL_TYPE_MANIFEST_DECIMAL = {
|
|
718
|
+
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
719
|
+
useValue: ɵ2,
|
|
720
|
+
multi: true
|
|
721
|
+
};
|
|
722
|
+
var ɵ3 = {
|
|
723
|
+
name: 'date',
|
|
724
|
+
component: TableCellTypeDateComponent
|
|
725
|
+
};
|
|
726
|
+
var TABLE_CELL_TYPE_MANIFEST_DATE = {
|
|
727
|
+
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
728
|
+
useValue: ɵ3,
|
|
729
|
+
multi: true
|
|
730
|
+
};
|
|
731
|
+
var ɵ4 = {
|
|
732
|
+
name: 'icon',
|
|
733
|
+
component: TableCellTypeIconComponent
|
|
734
|
+
};
|
|
735
|
+
var TABLE_CELL_TYPE_MANIFEST_ICON = {
|
|
736
|
+
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
737
|
+
useValue: ɵ4,
|
|
738
|
+
multi: true
|
|
739
|
+
};
|
|
740
|
+
var ɵ5 = {
|
|
741
|
+
name: 'image',
|
|
742
|
+
component: TableCellTypeIconComponent
|
|
743
|
+
};
|
|
744
|
+
var TABLE_CELL_TYPE_MANIFEST_IMAGE = {
|
|
745
|
+
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
746
|
+
useValue: ɵ5,
|
|
747
|
+
multi: true
|
|
748
|
+
};
|
|
749
|
+
var ɵ6 = {
|
|
750
|
+
name: 'progress-circle',
|
|
751
|
+
component: TableCellTypeProgressCircleComponent
|
|
752
|
+
};
|
|
753
|
+
var TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE = {
|
|
754
|
+
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
755
|
+
useValue: ɵ6,
|
|
756
|
+
multi: true
|
|
757
|
+
};
|
|
758
|
+
var ɵ7 = {
|
|
759
|
+
name: 'progress-circle-icon',
|
|
760
|
+
component: TableCellTypeProgressCircleIconComponent
|
|
761
|
+
};
|
|
762
|
+
var TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE_ICON = {
|
|
763
|
+
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
764
|
+
useValue: ɵ7,
|
|
765
|
+
multi: true
|
|
766
|
+
};
|
|
767
|
+
var ɵ8 = {
|
|
768
|
+
name: 'phone',
|
|
769
|
+
component: TableCellTypePhoneComponent
|
|
770
|
+
};
|
|
771
|
+
var TABLE_CELL_TYPE_MANIFEST_PHONE = {
|
|
772
|
+
provide: tableCellType.TABLE_CELL_TYPE_MANIFEST,
|
|
773
|
+
useValue: ɵ8,
|
|
774
|
+
multi: true
|
|
775
|
+
};
|
|
776
|
+
|
|
777
|
+
/*! *****************************************************************************
|
|
778
|
+
Copyright (c) Microsoft Corporation.
|
|
779
|
+
|
|
780
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
781
|
+
purpose with or without fee is hereby granted.
|
|
782
|
+
|
|
783
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
784
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
785
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
786
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
787
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
788
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
789
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
790
|
+
***************************************************************************** */
|
|
791
|
+
/* global Reflect, Promise */
|
|
792
|
+
var extendStatics = function (d, b) {
|
|
793
|
+
extendStatics = Object.setPrototypeOf ||
|
|
794
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
795
|
+
function (d, b) { for (var p in b)
|
|
796
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
797
|
+
d[p] = b[p]; };
|
|
798
|
+
return extendStatics(d, b);
|
|
799
|
+
};
|
|
800
|
+
function __extends(d, b) {
|
|
801
|
+
if (typeof b !== "function" && b !== null)
|
|
802
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
803
|
+
extendStatics(d, b);
|
|
804
|
+
function __() { this.constructor = d; }
|
|
805
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
806
|
+
}
|
|
807
|
+
var __assign = function () {
|
|
808
|
+
__assign = Object.assign || function __assign(t) {
|
|
809
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
810
|
+
s = arguments[i];
|
|
811
|
+
for (var p in s)
|
|
812
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
813
|
+
t[p] = s[p];
|
|
814
|
+
}
|
|
815
|
+
return t;
|
|
816
|
+
};
|
|
817
|
+
return __assign.apply(this, arguments);
|
|
818
|
+
};
|
|
819
|
+
function __rest(s, e) {
|
|
820
|
+
var t = {};
|
|
821
|
+
for (var p in s)
|
|
822
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
823
|
+
t[p] = s[p];
|
|
824
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
825
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
826
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
827
|
+
t[p[i]] = s[p[i]];
|
|
828
|
+
}
|
|
829
|
+
return t;
|
|
830
|
+
}
|
|
831
|
+
function __decorate(decorators, target, key, desc) {
|
|
832
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
833
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
834
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
835
|
+
else
|
|
836
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
837
|
+
if (d = decorators[i])
|
|
838
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
839
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
840
|
+
}
|
|
841
|
+
function __param(paramIndex, decorator) {
|
|
842
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
843
|
+
}
|
|
844
|
+
function __metadata(metadataKey, metadataValue) {
|
|
845
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
846
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
847
|
+
}
|
|
848
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
849
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
850
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
851
|
+
function fulfilled(value) { try {
|
|
852
|
+
step(generator.next(value));
|
|
853
|
+
}
|
|
854
|
+
catch (e) {
|
|
855
|
+
reject(e);
|
|
856
|
+
} }
|
|
857
|
+
function rejected(value) { try {
|
|
858
|
+
step(generator["throw"](value));
|
|
859
|
+
}
|
|
860
|
+
catch (e) {
|
|
861
|
+
reject(e);
|
|
862
|
+
} }
|
|
863
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
864
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
function __generator(thisArg, body) {
|
|
868
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
869
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
870
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
871
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
872
|
+
function step(op) {
|
|
873
|
+
if (f)
|
|
874
|
+
throw new TypeError("Generator is already executing.");
|
|
875
|
+
while (_)
|
|
876
|
+
try {
|
|
877
|
+
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)
|
|
878
|
+
return t;
|
|
879
|
+
if (y = 0, t)
|
|
880
|
+
op = [op[0] & 2, t.value];
|
|
881
|
+
switch (op[0]) {
|
|
882
|
+
case 0:
|
|
883
|
+
case 1:
|
|
884
|
+
t = op;
|
|
885
|
+
break;
|
|
886
|
+
case 4:
|
|
887
|
+
_.label++;
|
|
888
|
+
return { value: op[1], done: false };
|
|
889
|
+
case 5:
|
|
890
|
+
_.label++;
|
|
891
|
+
y = op[1];
|
|
892
|
+
op = [0];
|
|
893
|
+
continue;
|
|
894
|
+
case 7:
|
|
895
|
+
op = _.ops.pop();
|
|
896
|
+
_.trys.pop();
|
|
897
|
+
continue;
|
|
898
|
+
default:
|
|
899
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
900
|
+
_ = 0;
|
|
901
|
+
continue;
|
|
902
|
+
}
|
|
903
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
904
|
+
_.label = op[1];
|
|
905
|
+
break;
|
|
906
|
+
}
|
|
907
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
908
|
+
_.label = t[1];
|
|
909
|
+
t = op;
|
|
910
|
+
break;
|
|
911
|
+
}
|
|
912
|
+
if (t && _.label < t[2]) {
|
|
913
|
+
_.label = t[2];
|
|
914
|
+
_.ops.push(op);
|
|
915
|
+
break;
|
|
916
|
+
}
|
|
917
|
+
if (t[2])
|
|
918
|
+
_.ops.pop();
|
|
919
|
+
_.trys.pop();
|
|
920
|
+
continue;
|
|
921
|
+
}
|
|
922
|
+
op = body.call(thisArg, _);
|
|
923
|
+
}
|
|
924
|
+
catch (e) {
|
|
925
|
+
op = [6, e];
|
|
926
|
+
y = 0;
|
|
927
|
+
}
|
|
928
|
+
finally {
|
|
929
|
+
f = t = 0;
|
|
930
|
+
}
|
|
931
|
+
if (op[0] & 5)
|
|
932
|
+
throw op[1];
|
|
933
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
937
|
+
if (k2 === undefined)
|
|
938
|
+
k2 = k;
|
|
939
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
940
|
+
}) : (function (o, m, k, k2) {
|
|
941
|
+
if (k2 === undefined)
|
|
942
|
+
k2 = k;
|
|
943
|
+
o[k2] = m[k];
|
|
944
|
+
});
|
|
945
|
+
function __exportStar(m, o) {
|
|
946
|
+
for (var p in m)
|
|
947
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
948
|
+
__createBinding(o, m, p);
|
|
949
|
+
}
|
|
950
|
+
function __values(o) {
|
|
951
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
952
|
+
if (m)
|
|
953
|
+
return m.call(o);
|
|
954
|
+
if (o && typeof o.length === "number")
|
|
955
|
+
return {
|
|
956
|
+
next: function () {
|
|
957
|
+
if (o && i >= o.length)
|
|
958
|
+
o = void 0;
|
|
959
|
+
return { value: o && o[i++], done: !o };
|
|
960
|
+
}
|
|
961
|
+
};
|
|
962
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
963
|
+
}
|
|
964
|
+
function __read(o, n) {
|
|
965
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
966
|
+
if (!m)
|
|
967
|
+
return o;
|
|
968
|
+
var i = m.call(o), r, ar = [], e;
|
|
969
|
+
try {
|
|
970
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
971
|
+
ar.push(r.value);
|
|
972
|
+
}
|
|
973
|
+
catch (error) {
|
|
974
|
+
e = { error: error };
|
|
975
|
+
}
|
|
976
|
+
finally {
|
|
977
|
+
try {
|
|
978
|
+
if (r && !r.done && (m = i["return"]))
|
|
979
|
+
m.call(i);
|
|
980
|
+
}
|
|
981
|
+
finally {
|
|
982
|
+
if (e)
|
|
983
|
+
throw e.error;
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
return ar;
|
|
987
|
+
}
|
|
988
|
+
/** @deprecated */
|
|
989
|
+
function __spread() {
|
|
990
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
991
|
+
ar = ar.concat(__read(arguments[i]));
|
|
992
|
+
return ar;
|
|
993
|
+
}
|
|
994
|
+
/** @deprecated */
|
|
995
|
+
function __spreadArrays() {
|
|
996
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
997
|
+
s += arguments[i].length;
|
|
998
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
999
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
1000
|
+
r[k] = a[j];
|
|
1001
|
+
return r;
|
|
1002
|
+
}
|
|
1003
|
+
function __spreadArray(to, from, pack) {
|
|
1004
|
+
if (pack || arguments.length === 2)
|
|
1005
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1006
|
+
if (ar || !(i in from)) {
|
|
1007
|
+
if (!ar)
|
|
1008
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
1009
|
+
ar[i] = from[i];
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
return to.concat(ar || from);
|
|
1013
|
+
}
|
|
1014
|
+
function __await(v) {
|
|
1015
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
1016
|
+
}
|
|
1017
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
1018
|
+
if (!Symbol.asyncIterator)
|
|
1019
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1020
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
1021
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
1022
|
+
function verb(n) { if (g[n])
|
|
1023
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
1024
|
+
function resume(n, v) { try {
|
|
1025
|
+
step(g[n](v));
|
|
1026
|
+
}
|
|
1027
|
+
catch (e) {
|
|
1028
|
+
settle(q[0][3], e);
|
|
1029
|
+
} }
|
|
1030
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
1031
|
+
function fulfill(value) { resume("next", value); }
|
|
1032
|
+
function reject(value) { resume("throw", value); }
|
|
1033
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
1034
|
+
resume(q[0][0], q[0][1]); }
|
|
1035
|
+
}
|
|
1036
|
+
function __asyncDelegator(o) {
|
|
1037
|
+
var i, p;
|
|
1038
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
1039
|
+
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; }
|
|
1040
|
+
}
|
|
1041
|
+
function __asyncValues(o) {
|
|
1042
|
+
if (!Symbol.asyncIterator)
|
|
1043
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1044
|
+
var m = o[Symbol.asyncIterator], i;
|
|
1045
|
+
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);
|
|
1046
|
+
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); }); }; }
|
|
1047
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
1048
|
+
}
|
|
1049
|
+
function __makeTemplateObject(cooked, raw) {
|
|
1050
|
+
if (Object.defineProperty) {
|
|
1051
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
1052
|
+
}
|
|
1053
|
+
else {
|
|
1054
|
+
cooked.raw = raw;
|
|
1055
|
+
}
|
|
1056
|
+
return cooked;
|
|
1057
|
+
}
|
|
1058
|
+
;
|
|
1059
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
1060
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
1061
|
+
}) : function (o, v) {
|
|
1062
|
+
o["default"] = v;
|
|
1063
|
+
};
|
|
1064
|
+
function __importStar(mod) {
|
|
1065
|
+
if (mod && mod.__esModule)
|
|
1066
|
+
return mod;
|
|
1067
|
+
var result = {};
|
|
1068
|
+
if (mod != null)
|
|
1069
|
+
for (var k in mod)
|
|
1070
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
1071
|
+
__createBinding(result, mod, k);
|
|
1072
|
+
__setModuleDefault(result, mod);
|
|
1073
|
+
return result;
|
|
1074
|
+
}
|
|
1075
|
+
function __importDefault(mod) {
|
|
1076
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
1077
|
+
}
|
|
1078
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
1079
|
+
if (kind === "a" && !f)
|
|
1080
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
1081
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
1082
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
1083
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
1084
|
+
}
|
|
1085
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
1086
|
+
if (kind === "m")
|
|
1087
|
+
throw new TypeError("Private method is not writable");
|
|
1088
|
+
if (kind === "a" && !f)
|
|
1089
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
1090
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
1091
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
1092
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
var cellTypeComponents = [
|
|
1096
|
+
TableCellTypeStringComponent,
|
|
1097
|
+
TableCellTypeDateComponent,
|
|
1098
|
+
TableCellTypeIconComponent,
|
|
1099
|
+
TableCellTypeProgressCircleComponent,
|
|
1100
|
+
TableCellTypeProgressCircleIconComponent,
|
|
1101
|
+
TableCellTypePhoneComponent
|
|
1102
|
+
];
|
|
1103
|
+
var cellTypeProviders = [
|
|
1104
|
+
TABLE_CELL_TYPE_MANIFEST_STRING,
|
|
1105
|
+
TABLE_CELL_TYPE_MANIFEST_INTEGER,
|
|
1106
|
+
TABLE_CELL_TYPE_MANIFEST_DECIMAL,
|
|
1107
|
+
TABLE_CELL_TYPE_MANIFEST_DATE,
|
|
1108
|
+
TABLE_CELL_TYPE_MANIFEST_ICON,
|
|
1109
|
+
TABLE_CELL_TYPE_MANIFEST_IMAGE,
|
|
1110
|
+
TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE,
|
|
1111
|
+
TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE_ICON,
|
|
1112
|
+
TABLE_CELL_TYPE_MANIFEST_PHONE
|
|
1113
|
+
];
|
|
1114
|
+
var TheSeamTableCellTypesModule = /** @class */ (function () {
|
|
1115
|
+
function TheSeamTableCellTypesModule() {
|
|
1116
|
+
}
|
|
1117
|
+
return TheSeamTableCellTypesModule;
|
|
1118
|
+
}());
|
|
1119
|
+
TheSeamTableCellTypesModule.decorators = [
|
|
1120
|
+
{ type: core.NgModule, args: [{
|
|
1121
|
+
declarations: __spreadArray([], __read(cellTypeComponents)),
|
|
1122
|
+
imports: [
|
|
1123
|
+
common.CommonModule,
|
|
1124
|
+
ngBootstrap.NgbTooltipModule,
|
|
1125
|
+
router.RouterModule,
|
|
1126
|
+
shared.TheSeamSharedModule,
|
|
1127
|
+
icon.TheSeamIconModule,
|
|
1128
|
+
portal.PortalModule,
|
|
1129
|
+
popover.TheSeamPopoverModule,
|
|
1130
|
+
progress.TheSeamProgressModule,
|
|
1131
|
+
telInput.TheSeamTelInputModule,
|
|
1132
|
+
assetReader.TheSeamAssetReaderModule,
|
|
1133
|
+
tableCellType.TheSeamTableCellTypeModule
|
|
1134
|
+
],
|
|
1135
|
+
providers: __spreadArray([], __read(cellTypeProviders)),
|
|
1136
|
+
exports: __spreadArray([], __read(cellTypeComponents)),
|
|
1137
|
+
entryComponents: __spreadArray([], __read(cellTypeComponents))
|
|
1138
|
+
},] }
|
|
1139
|
+
];
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* Generated bundle index. Do not edit.
|
|
1143
|
+
*/
|
|
1144
|
+
|
|
1145
|
+
exports.TABLE_CELL_TYPE_MANIFEST_DATE = TABLE_CELL_TYPE_MANIFEST_DATE;
|
|
1146
|
+
exports.TABLE_CELL_TYPE_MANIFEST_DECIMAL = TABLE_CELL_TYPE_MANIFEST_DECIMAL;
|
|
1147
|
+
exports.TABLE_CELL_TYPE_MANIFEST_ICON = TABLE_CELL_TYPE_MANIFEST_ICON;
|
|
1148
|
+
exports.TABLE_CELL_TYPE_MANIFEST_IMAGE = TABLE_CELL_TYPE_MANIFEST_IMAGE;
|
|
1149
|
+
exports.TABLE_CELL_TYPE_MANIFEST_INTEGER = TABLE_CELL_TYPE_MANIFEST_INTEGER;
|
|
1150
|
+
exports.TABLE_CELL_TYPE_MANIFEST_PHONE = TABLE_CELL_TYPE_MANIFEST_PHONE;
|
|
1151
|
+
exports.TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE = TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE;
|
|
1152
|
+
exports.TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE_ICON = TABLE_CELL_TYPE_MANIFEST_PROGRESS_CIRCLE_ICON;
|
|
1153
|
+
exports.TABLE_CELL_TYPE_MANIFEST_STRING = TABLE_CELL_TYPE_MANIFEST_STRING;
|
|
1154
|
+
exports.TableCellTypeDateComponent = TableCellTypeDateComponent;
|
|
1155
|
+
exports.TableCellTypeIconComponent = TableCellTypeIconComponent;
|
|
1156
|
+
exports.TableCellTypePhoneComponent = TableCellTypePhoneComponent;
|
|
1157
|
+
exports.TableCellTypeProgressCircleComponent = TableCellTypeProgressCircleComponent;
|
|
1158
|
+
exports.TableCellTypeProgressCircleIconComponent = TableCellTypeProgressCircleIconComponent;
|
|
1159
|
+
exports.TableCellTypeStringComponent = TableCellTypeStringComponent;
|
|
1160
|
+
exports.TheSeamTableCellTypesModule = TheSeamTableCellTypesModule;
|
|
1161
|
+
exports.ɵ0 = ɵ0;
|
|
1162
|
+
exports.ɵ1 = ɵ1;
|
|
1163
|
+
exports.ɵ2 = ɵ2;
|
|
1164
|
+
exports.ɵ3 = ɵ3;
|
|
1165
|
+
exports.ɵ4 = ɵ4;
|
|
1166
|
+
exports.ɵ5 = ɵ5;
|
|
1167
|
+
exports.ɵ6 = ɵ6;
|
|
1168
|
+
exports.ɵ7 = ɵ7;
|
|
1169
|
+
exports.ɵ8 = ɵ8;
|
|
1170
|
+
|
|
1171
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1172
|
+
|
|
1173
|
+
})));
|
|
1174
|
+
//# sourceMappingURL=theseam-ui-common-table-cell-types.umd.js.map
|