@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-datatable-dynamic.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../projects/ui-common/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.ts","../../../projects/ui-common/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.ts","../../../projects/ui-common/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.ts","../../../projects/ui-common/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.ts","../../../projects/ui-common/datatable-dynamic/dynamic-datatable-def.service.ts","../../../projects/ui-common/datatable-dynamic/dynamic-datatable-row-actions.service.ts","../../../projects/ui-common/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.ts","../../../projects/ui-common/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.ts","../../../projects/ui-common/datatable-dynamic/datatable-dynamic-menu-bar-token.ts","../../../projects/ui-common/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.ts","../../../projects/ui-common/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.ts","../../../projects/ui-common/datatable-dynamic/datatable-dynamic.component.ts","../../../projects/ui-common/datatable-dynamic/datatable-dynamic.module.ts","../../../projects/ui-common/datatable-dynamic/theseam-ui-common-datatable-dynamic.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || from);\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { DynamicDatatableColumn } from '../../datatable-dynamic-def'\n\nexport function setDynamicDatatableColumnsDefaults(\n columns: DynamicDatatableColumn[]\n) {\n for (const col of columns) {\n if (!col.cellType) {\n col.cellType = 'string'\n }\n }\n}\n","import { DynamicDatatableFilterMenu } from '../../datatable-dynamic-def'\n\nexport function setDynamicDatatableFilterMenuDefaults(\n filterMenu: DynamicDatatableFilterMenu\n) {\n if (!filterMenu.state) {\n filterMenu.state = 'default'\n }\n}\n","import { DynamicDatatableOptions } from '../../datatable-dynamic-def'\n\nexport function setDynamicDatatableOptionsDefaults(\n options: DynamicDatatableOptions\n) {\n if (options.virtualization === undefined || options.virtualization === null) {\n options.virtualization = true\n }\n}\n","import { DatatableDynamicDef } from '../../datatable-dynamic-def'\n\nimport { setDynamicDatatableColumnsDefaults } from './set-dynamic-datatable-columns-defaults'\nimport { setDynamicDatatableFilterMenuDefaults } from './set-dynamic-datatable-filter-menu-defaults'\nimport { setDynamicDatatableOptionsDefaults } from './set-dynamic-datatable-options-defaults'\n\nexport function setDynamicDatatableDefDefaults(\n def: DatatableDynamicDef\n) {\n setDynamicDatatableColumnsDefaults(def.columns)\n\n if (def.filterMenu) {\n setDynamicDatatableFilterMenuDefaults(def.filterMenu)\n }\n\n if (def.options) {\n setDynamicDatatableOptionsDefaults(def.options)\n }\n}\n","import { ComponentType } from '@angular/cdk/portal'\nimport { Inject, Injectable } from '@angular/core'\nimport { BehaviorSubject, combineLatest, Observable, of } from 'rxjs'\nimport { map, shareReplay, switchMap } from 'rxjs/operators'\n\nimport { IDataExporter, THESEAM_DATA_EXPORTER } from '@theseam/ui-common/data-exporter'\nimport { IDataFilter, THESEAM_DATA_FILTER_DEF } from '@theseam/ui-common/data-filters'\nimport { DynamicValueHelperService } from '@theseam/ui-common/dynamic'\nimport { hasProperty, notNullOrUndefined } from '@theseam/ui-common/utils'\n\nimport { DynamicDatatableOptions } from './datatable-dynamic-def'\nimport { DatatableDynamicDef } from './datatable-dynamic-def'\nimport { DynamicDatatableMenuBar } from './models/dynamic-datatable-menu-bar'\nimport { DynamicDatatableFilterMenuItem } from './models/index'\nimport { setDynamicDatatableDefDefaults } from './utils/index'\n\n/**\n * Manages the data defined in the `DatatableDynamicDef`. Simplifies accessing\n * and observing the needed data based on the `DatatableDynamicDef`.\n */\n@Injectable()\nexport class DynamicDatatableDefService {\n\n /**\n * @deprecated\n * @ignore\n */\n private _dataExporters: IDataExporter[]\n\n /**\n * @deprecated\n * @ignore\n */\n private _dataFilters: { name: string, component: ComponentType<IDataFilter> }[]\n\n /** @ignore */\n private readonly _defSubject = new BehaviorSubject<DatatableDynamicDef | undefined>(undefined)\n\n /** Dynamic datatable definition. */\n public readonly def$: Observable<DatatableDynamicDef | undefined>\n\n /**\n * Exporters in the def that are available.\n * @deprecated\n */\n public readonly exporters$: Observable<IDataExporter[]>\n\n /**\n * Filter menu items in the def that are available.\n * @deprecated\n */\n public readonly filterMenuItems$: Observable<DynamicDatatableFilterMenuItem[]>\n\n /**\n * Observes whether the datatable has a filter menu.\n * @deprecated\n */\n public readonly hasFilterMenu$: Observable<boolean>\n\n /** Observes datatable options. */\n public readonly options$: Observable<DynamicDatatableOptions | undefined>\n\n /** Observes the datatable def menu bar. */\n public readonly menuBar$: Observable<DynamicDatatableMenuBar | undefined>\n\n constructor(\n @Inject(THESEAM_DATA_EXPORTER) dataExporters: IDataExporter[],\n @Inject(THESEAM_DATA_FILTER_DEF) dataFilters: { name: string, component: ComponentType<IDataFilter> }[],\n private _valueHelper: DynamicValueHelperService,\n ) {\n this._dataExporters = (dataExporters || [])\n this._dataFilters = (dataFilters || [])\n\n this.def$ = this._defSubject.asObservable()\n\n this.exporters$ = this.def$.pipe(\n map(def => !!def ? this._mapExporters(def) : []),\n shareReplay({ bufferSize: 1, refCount: true })\n )\n\n this.filterMenuItems$ = this.def$.pipe(\n map(def => !!def ? this._mapFilterMenuItems(def) : []),\n shareReplay({ bufferSize: 1, refCount: true })\n )\n\n this.hasFilterMenu$ = this.def$.pipe(\n switchMap(def => {\n if (!def) { return of(false) }\n\n // Check if the visibility can be determined by the state value only.\n if (def.filterMenu && def.filterMenu.state) {\n switch (def.filterMenu.state) {\n case 'always-visible': return of(true)\n case 'hidden': return of(false)\n }\n }\n\n // Check if there is anything to put in the filter menu.\n return combineLatest([\n this.exporters$.pipe(map(e => e.length > 0)),\n this.filterMenuItems$.pipe(map(f => f.length > 0))\n ]).pipe(map(v => v.indexOf(true) !== -1))\n }),\n shareReplay({ bufferSize: 1, refCount: true })\n )\n\n this.options$ = this.def$.pipe(\n map(def => !!def ? def.options : undefined),\n shareReplay({ bufferSize: 1, refCount: true })\n )\n\n this.menuBar$ = this.def$.pipe(\n map(def => (notNullOrUndefined(def) && hasProperty(def, 'menuBar')) ? def.menuBar : undefined),\n // tap(v => console.log('menubar', v)),\n shareReplay({ bufferSize: 1, refCount: true })\n )\n }\n\n /** Sets the `DatatableDynamicDef` that defines the datatable. */\n public setDef(def: DatatableDynamicDef | undefined): void {\n if (def) { setDynamicDatatableDefDefaults(def) }\n this._defSubject.next(def || undefined)\n }\n\n /** Map the def exporters to the provided `IDataExporter` objects. */\n private _mapExporters(def: DatatableDynamicDef): IDataExporter[] {\n if (!def.filterMenu || !Array.isArray(def.filterMenu.exporters)) {\n return []\n }\n\n return def.filterMenu.exporters\n .map(e => this._dataExporters.find(de => de.name === e))\n .filter(notNullOrUndefined)\n }\n\n /** Map the def filter menu items to provided components. */\n private _mapFilterMenuItems(def: DatatableDynamicDef): DynamicDatatableFilterMenuItem[] {\n if (!def.filterMenu || !def.filterMenu.filters || !Array.isArray(def.filterMenu.filters)) {\n return []\n }\n\n return def.filterMenu.filters\n .map(f => {\n const _df = this._dataFilters.find(df => df.name === f.name)\n if (_df) { return { ...f, component: _df.component } }\n })\n .filter(notNullOrUndefined)\n }\n\n}\n","import { Injectable } from '@angular/core'\nimport { from, Observable, of } from 'rxjs'\nimport { map, switchMap, toArray } from 'rxjs/operators'\n\nimport { DynamicValueHelperService } from '@theseam/ui-common/dynamic'\nimport { notNullOrUndefined } from '@theseam/ui-common/utils'\n\nimport { DynamicDatatableRow } from './datatable-dynamic-def'\nimport { DynamicDatatableDefService } from './dynamic-datatable-def.service'\nimport { DynamicDatatableRowAction } from './models/dynamic-datatable-row-action'\nimport { DynamicDatatableRowActionContext } from './models/dynamic-datatable-row-action-context'\n\n@Injectable()\nexport class DynamicDatatableRowActionsService {\n\n constructor(\n private _valueHelper: DynamicValueHelperService,\n private _dynamicDef: DynamicDatatableDefService\n ) { }\n\n /**\n * Observe actions for specified row\n */\n public rowActions(row: DynamicDatatableRow): Observable<DynamicDatatableRowAction[]> {\n return this._dynamicDef.def$.pipe(\n map(def => (def && def.rowActions) ? def.rowActions || [] : []),\n switchMap(rowActions => !!rowActions\n ? from(rowActions).pipe(\n map(rowAction => {\n if (rowAction.hasOwnProperty('hidden')) {\n if (typeof rowAction.hidden === 'boolean') {\n return rowAction.hidden ? undefined : rowAction\n } else {\n const context = this._getRowActionContext(row, rowAction)\n // TODO: Fix async eval\n const isHidden = this._valueHelper.evalSync(rowAction.hidden, context)\n return isHidden ? undefined : rowAction\n }\n }\n return rowAction\n }),\n toArray(),\n map(v => v.filter(notNullOrUndefined))\n )\n : of([])\n )\n )\n }\n\n /** @ignore */\n private _getRowActionContext(row: DynamicDatatableRow, rowActionDef: DynamicDatatableRowAction): DynamicDatatableRowActionContext {\n return {\n row\n }\n }\n\n}\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'\nimport { BehaviorSubject, from, Observable, of } from 'rxjs'\nimport { concatMap, filter, switchMap, toArray } from 'rxjs/operators'\n\nimport { faEllipsisH } from '@fortawesome/free-solid-svg-icons'\n\nimport { DynamicValueHelperService } from '@theseam/ui-common/dynamic'\nimport { hasProperty, notNullOrUndefined } from '@theseam/ui-common/utils'\n\nimport { DynamicDatatableRow } from '../datatable-dynamic-def'\nimport { DynamicDatatableRowActionsService } from '../dynamic-datatable-row-actions.service'\nimport { DynamicDatatableActionMenuElementTypes, DynamicDatatableActionMenuRecord } from '../models/dynamic-datatable-action-menu-record'\nimport { DynamicDatatableRowAction } from '../models/dynamic-datatable-row-action'\nimport { DynamicDatatableRowActionContext } from '../models/dynamic-datatable-row-action-context'\n\n@Component({\n selector: 'seam-datatable-dynamic-action-menu',\n templateUrl: './datatable-dynamic-action-menu.component.html',\n styleUrls: ['./datatable-dynamic-action-menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class DatatableDynamicActionMenuComponent implements OnInit {\n\n faEllipsisH = faEllipsisH\n\n @Input()\n get row() { return this._row.value }\n set row(value: DynamicDatatableRow | undefined) {\n this._row.next(value || undefined)\n }\n private _row = new BehaviorSubject<DynamicDatatableRow | undefined>(undefined)\n\n @Input()\n get actionDefs() { return this._actionDefs.value }\n set actionDefs(value: DynamicDatatableRowAction[]) {\n this._actionDefs.next(value || [])\n }\n private _actionDefs = new BehaviorSubject<DynamicDatatableRowAction[]>([])\n\n _menuRecords$: Observable<DynamicDatatableActionMenuRecord[]>\n\n /** @ignore */\n _actionMenuPositions = [\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'end',\n overlayY: 'top',\n },\n {\n originX: 'start',\n originY: 'top',\n overlayX: 'end',\n overlayY: 'bottom',\n },\n {\n originX: 'end',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top',\n },\n {\n originX: 'end',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'bottom',\n },\n ]\n\n constructor(\n private _valueHelper: DynamicValueHelperService,\n private _dynamicRowActions: DynamicDatatableRowActionsService\n ) {\n // this._menuRecords$ = combineLatest([ this._row, this._actionDefs ]).pipe(\n // switchMap(([ row, actionDefs ]) => !!row ? this._mapRecords(row, actionDefs) : of([]))\n // )\n this._menuRecords$ = this._row.pipe(\n switchMap(row => !!row\n ? this._dynamicRowActions.rowActions(row).pipe(\n switchMap(actionDefs => this._mapRecords(row, actionDefs))\n )\n : of([])\n ),\n // tap(v => console.log('actions', v))\n )\n\n // this._menuRecords$.subscribe()\n }\n\n ngOnInit() { }\n\n // TODO: Consider moving this to `DynamicDatatableRowActionsService`.\n private _mapRecords<A extends DynamicDatatableRowAction>(\n row: DynamicDatatableRow,\n actionDefs: A[]\n ): Observable<DynamicDatatableActionMenuRecord[]> {\n return from(actionDefs).pipe(\n concatMap(actionDef => {\n return (async () => {\n const _rowAction: DynamicDatatableRowAction = {\n ...actionDef\n }\n\n const context = this._getRowActionContext(row, actionDef)\n\n if (hasProperty(_rowAction, 'hidden')) {\n _rowAction.hidden = await this._valueHelper.eval(_rowAction.hidden, context)\n if (_rowAction.hidden) {\n return undefined\n }\n }\n\n _rowAction.label = await this._valueHelper.eval(actionDef.label, context)\n\n if (hasProperty(_rowAction, 'disabled')) {\n _rowAction.disabled = await this._valueHelper.eval(_rowAction.disabled, context)\n }\n\n const record: DynamicDatatableActionMenuRecord = {\n _row: row,\n _def: actionDef,\n rowAction: _rowAction,\n elementType: this._expectedElementType(actionDef)\n }\n\n return record\n })()\n }),\n filter(notNullOrUndefined),\n toArray()\n )\n }\n\n /** @ignore */\n private _getRowActionContext(\n row: DynamicDatatableRow,\n rowActionDef: DynamicDatatableRowAction\n ): DynamicDatatableRowActionContext {\n return {\n row\n }\n }\n\n private _expectedElementType(def: DynamicDatatableRowAction): DynamicDatatableActionMenuElementTypes {\n const action = def.action\n\n if (action.type === 'link') {\n if (hasProperty(<any>action, 'asset')) {\n return 'button'\n }\n return 'a'\n }\n\n return 'button'\n }\n\n}\n","import { ComponentPortal, PortalInjector } from '@angular/cdk/portal'\nimport { ChangeDetectionStrategy, Component, Injector, Input, OnInit } from '@angular/core'\n\nimport { THESEAM_DATA_FILTER_OPTIONS } from '@theseam/ui-common/data-filters'\nimport type { ComponentType } from '@theseam/ui-common/models'\n\n@Component({\n selector: 'seam-datatable-dynamic-filter-container',\n templateUrl: './datatable-dynamic-filter-container.component.html',\n styleUrls: ['./datatable-dynamic-filter-container.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class DatatableDynamicFilterContainerComponent<C> implements OnInit {\n\n @Input()\n set filterComponent(value: ComponentType<C> | undefined | null) {\n this._filterComponent = value\n // if (this._filterComponent !== value) {\n // this._setPortal(value)\n // }\n }\n get filterComponent() { return this._filterComponent }\n private _filterComponent: ComponentType<C> | undefined | null\n\n @Input() options: any\n\n _portal: ComponentPortal<C> | null = null\n\n constructor(\n private _injector: Injector\n ) { }\n\n ngOnInit() {\n if (this.filterComponent) {\n this._setPortal(this.filterComponent)\n }\n }\n\n private _setPortal(component: ComponentType<C>) {\n if (this._portal) {\n this._portal = null\n }\n\n if (component) {\n this._portal = new ComponentPortal(component, undefined, this._createInjector())\n } else {\n this._portal = null\n }\n }\n\n private _createInjector(): PortalInjector {\n return new PortalInjector(this._injector, new WeakMap <any, any> ([\n [ THESEAM_DATA_FILTER_OPTIONS, this.options ]\n ]))\n }\n\n}\n","import { InjectionToken } from '@angular/core'\n\nimport { IDatatableDynamicMenuBarItemManifest } from './datatable-dynamic-menu-bar-item-manifest'\n\nexport const THESEAM_DATATABLE_DYNAMIC_MENUBAR_ITEM = new InjectionToken<IDatatableDynamicMenuBarItemManifest>(\n 'IDatatableDynamicMenuBarItemManifest'\n)\n","import { ComponentPortal, PortalInjector } from '@angular/cdk/portal'\nimport { ChangeDetectionStrategy, Component, Inject, Injector, Input, OnInit, Optional } from '@angular/core'\nimport { BehaviorSubject, Observable } from 'rxjs'\nimport { map, switchMap } from 'rxjs/operators'\n\nimport { DynamicValueHelperService } from '@theseam/ui-common/dynamic'\nimport { TheSeamDynamicComponentLoader } from '@theseam/ui-common/dynamic-component-loader'\nimport { hasProperty } from '@theseam/ui-common/utils'\n\nimport { IDatatableDynamicMenuBarItemManifest } from '../datatable-dynamic-menu-bar-item-manifest'\nimport { THESEAM_DATATABLE_DYNAMIC_MENUBAR_ITEM } from '../datatable-dynamic-menu-bar-token'\nimport {\n DynamicDatatableMenuBar,\n DynamicDatatableMenuBarColumn,\n DynamicDatatableMenuBarItem,\n DynamicDatatableMenuBarRow,\n DynamicDatatableMenuBarRowLayoutTriColumn\n} from '../models/dynamic-datatable-menu-bar'\n\nexport interface IDatatableDynamicMenuBarContentItem {\n // styles?: string | string[]\n // cssClass?: string | string[]\n portal?: ComponentPortal<{}>\n // component?: string | ComponentType<{}>\n // config?: any\n}\n\nexport interface IDatatableDynamicMenuBarContentColumn {\n styles?: string | string[]\n cssClass?: string | string[]\n items?: IDatatableDynamicMenuBarContentItem[]\n}\n\nexport interface IDatatableDynamicMenuBarContentRowLayoutTriColumn {\n columnLeft?: IDatatableDynamicMenuBarContentColumn\n columnCenter?: IDatatableDynamicMenuBarContentColumn\n columnRight?: IDatatableDynamicMenuBarContentColumn\n}\n\nexport interface IDatatableDynamicMenuBarContentRow {\n styles?: string | string[]\n cssClass?: string | string[]\n priority?: number\n layoutType?: string\n layout?: IDatatableDynamicMenuBarContentRowLayoutTriColumn\n}\n\nexport interface IDatatableDynamicMenuBarContentRowContext {\n row: DynamicDatatableMenuBarRow\n}\n\nexport interface IDatatableDynamicMenuBarContentColumnContext {\n column: DynamicDatatableMenuBarColumn\n row: DynamicDatatableMenuBarRow\n}\n\nexport interface IDatatableDynamicMenuBarContentItemContext {\n item: DynamicDatatableMenuBarItem\n row: DynamicDatatableMenuBarRow\n column: DynamicDatatableMenuBarColumn\n}\n\n@Component({\n selector: 'seam-datatable-dynamic-menu-bar-content',\n templateUrl: './datatable-dynamic-menu-bar-content.component.html',\n styleUrls: ['./datatable-dynamic-menu-bar-content.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class DatatableDynamicMenuBarContentComponent implements OnInit {\n\n private readonly _def = new BehaviorSubject<DynamicDatatableMenuBar | undefined>(undefined)\n\n @Input()\n set def(value: DynamicDatatableMenuBar | undefined) { this._def.next(value) }\n get def(): DynamicDatatableMenuBar | undefined { return this._def.value }\n\n public readonly def$: Observable<DynamicDatatableMenuBar | undefined>\n\n readonly _rows$: Observable<IDatatableDynamicMenuBarContentRow[]>\n\n constructor(\n private readonly _valueHelper: DynamicValueHelperService,\n private readonly _dynamicComponentLoader: TheSeamDynamicComponentLoader,\n private readonly _injector: Injector,\n @Optional() @Inject(THESEAM_DATATABLE_DYNAMIC_MENUBAR_ITEM)\n private readonly _menuBarItemManifests?: IDatatableDynamicMenuBarItemManifest[]\n ) {\n this.def$ = this._def.asObservable()\n // .pipe(tap(v => console.log('def$', v)))\n\n this._rows$ = this.def$.pipe(switchMap(def => this._mapRows(def && def.rows || [])))\n // .pipe(tap(v => console.log('_rows$', v)))\n }\n\n ngOnInit() { }\n\n private _mapRows(rows: DynamicDatatableMenuBarRow[]): Promise<IDatatableDynamicMenuBarContentRow[]> {\n return Promise.all(rows.map(r => this._mapRow(r)))\n }\n\n private async _mapRow(row: DynamicDatatableMenuBarRow): Promise<IDatatableDynamicMenuBarContentRow> {\n const result: IDatatableDynamicMenuBarContentRow = { }\n const context = this._createRowContext(row)\n\n if (hasProperty(row, 'styles')) {\n result.styles = await this._valueHelper.eval(row.styles, context)\n }\n\n if (hasProperty(row, 'cssClass')) {\n result.cssClass = await this._valueHelper.eval(row.cssClass, context)\n }\n\n if (hasProperty(row, 'priority')) {\n result.priority = await this._valueHelper.eval(row.priority, context)\n }\n\n result.layoutType = row.layout.type\n result.layout = await this._mapRowLayout(row.layout, row)\n\n return result\n }\n\n private async _mapRowLayout(\n layout: DynamicDatatableMenuBarRowLayoutTriColumn,\n row: DynamicDatatableMenuBarRow\n ): Promise<IDatatableDynamicMenuBarContentRowLayoutTriColumn> {\n const result: IDatatableDynamicMenuBarContentRowLayoutTriColumn = { }\n\n if (hasProperty(layout, 'columnLeft')) {\n result.columnLeft = await this._mapColumn(layout.columnLeft, row)\n }\n\n if (hasProperty(layout, 'columnCenter')) {\n result.columnCenter = await this._mapColumn(layout.columnCenter, row)\n }\n\n if (hasProperty(layout, 'columnRight')) {\n result.columnRight = await this._mapColumn(layout.columnRight, row)\n }\n\n return result\n }\n\n private async _mapColumn(\n column: DynamicDatatableMenuBarColumn,\n row: DynamicDatatableMenuBarRow\n ): Promise<IDatatableDynamicMenuBarContentColumn> {\n const result: IDatatableDynamicMenuBarContentColumn = { }\n const context = this._createColumnContext(column, row)\n\n if (hasProperty(column, 'styles')) {\n result.styles = await this._valueHelper.eval(column.styles, context)\n }\n\n if (hasProperty(column, 'cssClass')) {\n result.cssClass = await this._valueHelper.eval(column.cssClass, context)\n }\n\n result.items = await Promise.all(column.items.map(v => this._mapItem(v, row, column)))\n\n return result\n }\n\n private async _mapItem(\n item: DynamicDatatableMenuBarItem,\n row: DynamicDatatableMenuBarRow,\n column: DynamicDatatableMenuBarColumn\n ): Promise<IDatatableDynamicMenuBarContentItem> {\n const result: IDatatableDynamicMenuBarContentItem = { }\n const context = this._createItemContext(item, row, column)\n\n // if (hasProperty(item, 'styles')) {\n // result.styles = await this._valueHelper.eval(item.styles, context)\n // }\n\n // if (hasProperty(item, 'cssClass')) {\n // result.cssClass = await this._valueHelper.eval(item.cssClass, context)\n // }\n\n if (hasProperty(item, 'component')) {\n // result.component = await this._valueHelper.eval(item.component, context)\n const component = await this._valueHelper.eval(item.component, context)\n\n let data: any\n if (hasProperty(item, 'data')) {\n // result.data = await this._valueHelper.eval(item.data, context)\n // console.log('%cdata', 'color:cyan', item.data)\n data = await this._valueHelper.eval(item.data, context)\n // console.log('%cdata', 'color:limegreen', data)\n }\n\n result.portal = await this._getComponentPortal(component, data)\n }\n\n return result\n }\n\n private _createRowContext(row: DynamicDatatableMenuBarRow): IDatatableDynamicMenuBarContentRowContext {\n return {\n row\n }\n }\n\n private _createColumnContext(\n column: DynamicDatatableMenuBarColumn,\n row: DynamicDatatableMenuBarRow\n ): IDatatableDynamicMenuBarContentColumnContext {\n return {\n row,\n column\n }\n }\n\n private _createItemContext(\n item: DynamicDatatableMenuBarItem,\n row: DynamicDatatableMenuBarRow,\n column: DynamicDatatableMenuBarColumn\n ): IDatatableDynamicMenuBarContentItemContext {\n return {\n item,\n row,\n column\n }\n }\n\n private async _getComponentPortal(component: string, data?: any): Promise<ComponentPortal<{}> | undefined> {\n const manifest = (this._menuBarItemManifests || []).find(m => m.name === component)\n\n if (!manifest) {\n // TODO: Make sure the component is skipped instead of erroring outside of dev mode.\n throw Error(`MenuBar manifest for '${component}' not found.`)\n }\n\n // TODO: Create a new injector with the data injected\n let injector = this._injector\n if (manifest.dataToken) {\n injector = new PortalInjector(this._injector, new WeakMap([\n [manifest.dataToken, data]\n ]))\n }\n\n if (typeof manifest.component === 'string') {\n this._dynamicComponentLoader.getComponentFactory<{}>(manifest.component).pipe(\n map(componentFactory => {\n return new ComponentPortal(\n componentFactory.componentType,\n null,\n injector,\n (<any /* ComponentFactoryBoundToModule */>componentFactory).ngModule.componentFactoryResolver\n )\n })\n ).toPromise()\n } else {\n return new ComponentPortal(manifest.component, null, injector, null)\n }\n }\n\n}\n","import { LocationStrategy } from '@angular/common'\nimport {\n Attribute,\n Directive,\n ElementRef,\n Input,\n isDevMode,\n OnChanges,\n OnDestroy,\n OnInit,\n Renderer2\n} from '@angular/core'\nimport { ActivatedRoute, QueryParamsHandling, Router, RouterLink, RouterLinkWithHref } from '@angular/router'\nimport { from, fromEvent, Observable, of, ReplaySubject, Subscription } from 'rxjs'\nimport { catchError, mapTo, switchMap, tap } from 'rxjs/operators'\n\nimport { AssetReaderHelperService } from '@theseam/ui-common/asset-reader'\nimport {\n DynamicActionHelperService,\n DynamicActionUiAnchorDef,\n DynamicActionUiButtonDef,\n DynamicActionUiDef,\n DynamicValueHelperService\n} from '@theseam/ui-common/dynamic'\nimport { getAttribute, hasProperty, toggleAttribute } from '@theseam/ui-common/utils'\n\nimport { DynamicDatatableRow } from '../datatable-dynamic-def'\nimport type { DynamicDatatableActionMenuRecord } from '../models/dynamic-datatable-action-menu-record'\nimport { DynamicDatatableRowAction } from '../models/dynamic-datatable-row-action'\nimport { DynamicDatatableRowActionContext } from '../models/dynamic-datatable-row-action-context'\n\n/**\n * Class to act as a substitute to `routerLink` directive until the menu items\n * can be dynamically built in a clean way with or without `routerLink`.\n */\nexport class DatatableDynamicActionMenuItemRouterLink {\n\n private _rLink?: RouterLink\n private _rLinkWithHref?: RouterLinkWithHref\n\n // private _clickSubscription?: Subscription\n private _rLinkClickEventListener?: any\n\n constructor(\n private router: Router,\n private route: ActivatedRoute,\n @Attribute('tabindex') tabIndex: string | null,\n private renderer: Renderer2,\n private el: ElementRef,\n private locationStrategy: LocationStrategy\n ) {\n if (el.nativeElement.nodeName.toLowerCase() === 'a') {\n this._rLinkWithHref = new RouterLinkWithHref(\n router,\n route,\n locationStrategy\n )\n // console.log('rLinkWithHref', this.rLinkWithHref)\n\n this._rLinkClickEventListener = this.el.nativeElement.addEventListener('click', (event: MouseEvent) => {\n // console.log('this._rLinkWithHref', this._rLinkWithHref, this._rLinkWithHref && this._rLinkWithHref.href)\n if (this._rLinkWithHref) {\n return this._rLinkWithHref.onClick(event.button, event.ctrlKey, event.shiftKey, event.altKey, event.metaKey)\n }\n })\n } else {\n this._rLink = new RouterLink(\n router,\n route,\n tabIndex as string,\n renderer,\n el\n )\n // console.log('rLink', this.rLink)\n\n this._rLinkClickEventListener = this.el.nativeElement.addEventListener('click', () => {\n // console.log('this._rLink', this._rLink && this._rLink.urlTree)\n if (this._rLink) { return this._rLink.onClick() }\n })\n\n // this._clickSubscription = fromEvent(el.nativeElement, 'click')\n // .subscribe(() => {\n // if (this._rLink) {\n // this._rLink.onClick()\n // } else {\n // if (this._clickSubscription && !this._clickSubscription.closed) {\n // this._clickSubscription.unsubscribe()\n // }\n // }\n // })\n }\n }\n\n get routerLink(): RouterLink | undefined { return this._rLink }\n get routerLinkWithHref(): RouterLinkWithHref | undefined { return this._rLinkWithHref }\n\n set routerLinkInput(commands: any[] | string) {\n if (this._rLink) {\n this._rLink.routerLink = commands\n } else if (this._rLinkWithHref) {\n this._rLinkWithHref.routerLink = commands\n }\n }\n\n set queryParams(value: { [k: string]: any }) {\n if (this._rLink) {\n this._rLink.queryParams = value\n } else if (this._rLinkWithHref) {\n this._rLinkWithHref.queryParams = value\n }\n }\n\n set fragment(value: string) {\n if (this._rLink) {\n this._rLink.fragment = value\n } else if (this._rLinkWithHref) {\n this._rLinkWithHref.fragment = value\n }\n }\n\n set queryParamsHandling(value: QueryParamsHandling) {\n if (this._rLink) {\n this._rLink.queryParamsHandling = value\n } else if (this._rLinkWithHref) {\n this._rLinkWithHref.queryParamsHandling = value\n }\n }\n\n set preserveFragment(value: boolean) {\n if (this._rLink) {\n this._rLink.preserveFragment = value\n } else if (this._rLinkWithHref) {\n this._rLinkWithHref.preserveFragment = value\n }\n }\n\n set skipLocationChange(value: boolean) {\n if (this._rLink) {\n this._rLink.skipLocationChange = value\n } else if (this._rLinkWithHref) {\n this._rLinkWithHref.skipLocationChange = value\n }\n }\n\n set replaceUrl(value: boolean) {\n if (this._rLink) {\n this._rLink.replaceUrl = value\n } else if (this._rLinkWithHref) {\n this._rLinkWithHref.replaceUrl = value\n }\n }\n\n set state(value: { [k: string]: any }) {\n if (this._rLink) {\n this._rLink.state = value\n } else if (this._rLinkWithHref) {\n this._rLinkWithHref.state = value\n }\n }\n\n set target(value: string | undefined) {\n if (this._rLinkWithHref) {\n this._rLinkWithHref.target = value as string\n\n if (value) {\n this.renderer.setAttribute(this.el.nativeElement, 'target', value)\n } else {\n toggleAttribute(this.el.nativeElement, 'target', false)\n }\n }\n }\n\n public destroy() {\n // if (this._clickSubscription && !this._clickSubscription.closed) {\n // this._clickSubscription.unsubscribe()\n // }\n if (this._rLinkClickEventListener) {\n this.el.nativeElement.removeEventListener('click', this._rLinkClickEventListener)\n this._rLinkClickEventListener = null\n }\n\n if (this._rLinkWithHref && this._rLinkWithHref.ngOnDestroy) {\n this._rLinkWithHref.ngOnDestroy()\n }\n }\n\n}\n\n// TODO: Refactor this directive. It got way more complex instead of more\n// simplified like it was supposed to be.\n@Directive({\n selector: '[seamDatatableDynamicActionMenuItem]',\n exportAs: 'seamDatatableDynamicActionMenuItem'\n})\nexport class DatatableDynamicActionMenuItemDirective implements OnInit, OnDestroy, OnChanges {\n\n @Input()\n // get seamDatatableDynamicActionMenuItem(): DynamicDatatableActionMenuRecord { return this._record }\n set seamDatatableDynamicActionMenuItem(value: DynamicDatatableActionMenuRecord) {\n this._record.next(value)\n }\n private _record = new ReplaySubject<DynamicDatatableActionMenuRecord>(1)\n\n private _clickSubscription?: Subscription\n private _menuRouterLink?: DatatableDynamicActionMenuItemRouterLink\n\n private _recordSubscription = Subscription.EMPTY\n\n constructor(\n private _elementRef: ElementRef<HTMLElement>,\n private _renderer: Renderer2,\n private _valueHelper: DynamicValueHelperService,\n private _actionHelper: DynamicActionHelperService,\n private _assetReaderHelper: AssetReaderHelperService,\n private _router: Router,\n private _route: ActivatedRoute,\n private _locationStrategy: LocationStrategy\n ) {\n this._recordSubscription = this._record.pipe(\n // tap(v => console.log('record', v)),\n switchMap(record => this._update(record)),\n tap(() => { this._setInvalidActionState(false) }),\n catchError(error => {\n if (isDevMode()) { console.error(error) }\n this._setInvalidActionState(true)\n return of(undefined)\n }),\n // tap(v => console.log('record DONE', v))\n ).subscribe()\n }\n\n ngOnInit() { }\n\n ngOnDestroy() {\n this._recordSubscription.unsubscribe()\n this._unsubClick()\n if (this._menuRouterLink && this._menuRouterLink.routerLinkWithHref) {\n this._menuRouterLink.routerLinkWithHref.ngOnDestroy()\n }\n }\n\n ngOnChanges(changes: {}) {\n // console.log('ngOnChanges', changes, this, this._menuRouterLink)\n if (this._menuRouterLink && this._menuRouterLink.routerLinkWithHref) {\n this._menuRouterLink.routerLinkWithHref.ngOnChanges({})\n if (this._menuRouterLink.routerLinkWithHref.href) {\n if (getAttribute(this._elementRef.nativeElement, 'href') !== this._menuRouterLink.routerLinkWithHref.href) {\n this._renderer.setAttribute(this._elementRef.nativeElement, 'href', this._menuRouterLink.routerLinkWithHref.href)\n }\n } else {\n toggleAttribute(this._elementRef.nativeElement, 'href', false)\n }\n }\n }\n\n public _update(record: DynamicDatatableActionMenuRecord): Observable<void> {\n this._unsubClick()\n\n return from(this._getUiProps(record)).pipe(\n switchMap(uiProps => this._isAnchor()\n ? this._updateAnchorElement(record, uiProps as DynamicActionUiAnchorDef)\n : this._updateButtonElement(record, uiProps as DynamicActionUiButtonDef)\n )\n )\n }\n\n private _updateAnchorElement(\n record: DynamicDatatableActionMenuRecord,\n uiProps: DynamicActionUiAnchorDef\n ): Observable<void> {\n const _stream: Observable<any> = of(undefined)\n\n switch (uiProps.triggerType) {\n case 'link': {\n // console.log('Handle \"link\" triggerType.', uiProps)\n // this._tryInitTabIndex()\n this._tryInitBlockClick(record, uiProps)\n this._initMenuItemRouterLink(record, uiProps)\n\n break\n }\n case 'link-external': {\n // console.log('Handle \"link-external\" triggerType.', uiProps)\n // this._tryInitTabIndex()\n this._tryInitBlockClick(record, uiProps)\n if (hasProperty(uiProps, 'linkUrl')) {\n this._setAttr('href', uiProps.linkUrl)\n }\n if (hasProperty(uiProps, 'linkExtras')) {\n if (hasProperty(uiProps.linkExtras, 'target')) {\n this._setAttr('target', uiProps.linkExtras.target)\n }\n }\n // TODO: Consider making the ItemRouterLink work with external urls.\n // this._initMenuItemRouterLink(record, uiProps)\n\n break\n }\n // TODO: Unless we decide to add a route for openning assets, this would\n // be confusing to a user.\n // case 'link-asset': {\n // console.log('Handle \"link-asset\" triggerType.', uiProps)\n // // this._tryInitTabIndex()\n // this._tryInitBlockClick(record, uiProps)\n // break\n // }\n default: throw Error('[DatatableDynamicActionMenuItemDirective] ' +\n `triggerType ${uiProps.triggerType} is not valid for _updateAnchorElement().`)\n }\n\n return _stream// .pipe(mapTo(undefined))\n }\n\n private _updateButtonElement(\n record: DynamicDatatableActionMenuRecord,\n uiProps: DynamicActionUiAnchorDef | DynamicActionUiButtonDef\n ): Observable<void> {\n let _stream: Observable<any> = of(undefined)\n // this._updateClickElement(record, uiProps as DynamicActionUiButtonDef)\n switch (uiProps.triggerType) {\n case 'link-asset': {\n // console.log('Handle \"link-asset\" triggerType.', uiProps)\n // this._tryInitTabIndex()\n this._tryInitBlockClick(record, uiProps)\n _stream = _stream.pipe(switchMap(() => this._updateAssetElement(record, uiProps)))\n break\n }\n case 'click': {\n // console.log('Handle \"click\" triggerType.', uiProps)\n this._tryInitBlockClick(record, uiProps)\n _stream = _stream.pipe(switchMap(() => this._updateClickElement(record, uiProps)))\n break\n }\n default: throw Error('[DatatableDynamicActionMenuItemDirective] ' +\n `triggerType ${uiProps.triggerType} is not valid for _updateAnchorElement().`)\n }\n\n return _stream// .pipe(mapTo(undefined))\n }\n\n private _updateAssetElement(\n record: DynamicDatatableActionMenuRecord,\n uiProps: DynamicActionUiAnchorDef | DynamicActionUiButtonDef\n ): Observable<void> {\n // console.log('_updateAssetElement')\n // return of(undefined)\n // console.log('this._elementRef.nativeElement', this._elementRef.nativeElement)\n const t = fromEvent(this._elementRef.nativeElement, 'click').pipe(\n tap(event => {\n // const _context = this._getContext(record._row, record.rowAction)\n // const context = { ..._context, event, uiProps }\n // const result = this._valueHelper.evalSync(uiProps.blockClickExpr, context)\n // console.log(record, uiProps)\n // console.log('_updateClickElement click', (<any>event).button, event)\n if (this._assetReaderHelper) {\n if (uiProps.triggerType === 'link-asset' && hasProperty(uiProps, 'linkUrl')) {\n const url = uiProps.linkUrl\n let target: string | undefined\n if (hasProperty(uiProps, 'linkExtras') && hasProperty(uiProps.linkExtras, 'target')) {\n target = uiProps.linkExtras.target\n }\n this._assetReaderHelper.openLink(url, true, true, target)\n }\n }\n // if (!result) {\n // event.preventDefault()\n // event.stopPropagation()\n // }\n }),\n mapTo(undefined)\n )\n\n return of(undefined).pipe(\n // tap(() => console.log('starting _updateButtonElement')),\n switchMap(() => t),\n )\n }\n\n private _updateClickElement(\n record: DynamicDatatableActionMenuRecord,\n uiProps: DynamicActionUiButtonDef\n ): Observable<void> {\n // console.log('_updateClickElement', record, uiProps)\n // return of(undefined)\n return fromEvent(this._elementRef.nativeElement, 'click').pipe(\n switchMap(event => {\n const _context = this._getContext(record._row, record.rowAction)\n const context = { ..._context, event, uiProps }\n // console.log('click', (<any>event).button, event)\n // if (!result) {\n // event.preventDefault()\n // event.stopPropagation()\n // }\n\n return this._actionHelper.exec(uiProps._actionDef, context)\n }),\n mapTo(undefined)\n )\n }\n\n private _unsubClick() {\n if (this._clickSubscription && !this._clickSubscription.closed) {\n this._clickSubscription.unsubscribe()\n }\n }\n\n private _setAttr(attr: string, value: string) {\n this._renderer.setAttribute(this._elementRef.nativeElement, attr, value)\n }\n\n private _tryInitTabIndex() {\n if (getAttribute(this._elementRef.nativeElement, 'tabindex') === null) {\n this._renderer.setAttribute(this._elementRef.nativeElement, 'tabindex', '0')\n }\n }\n\n private _tryInitBlockClick(\n record: DynamicDatatableActionMenuRecord,\n uiProps: DynamicActionUiDef\n ) {\n this._unsubClick()\n if (hasProperty(uiProps, 'blockClickExpr')) {\n this._clickSubscription = this._blockClickExprObservable(uiProps, record).subscribe()\n }\n }\n\n private _blockClickExprObservable(\n uiProps: DynamicActionUiDef,\n record: DynamicDatatableActionMenuRecord\n ) {\n return fromEvent(this._elementRef.nativeElement, 'click').pipe(\n tap(event => {\n const _context = this._getContext(record._row, record.rowAction)\n const context = { ..._context, event, uiProps }\n const result = this._valueHelper.evalSync(uiProps.blockClickExpr, context)\n // console.log('click', result, (<any>event).button, event)\n if (!result) {\n event.preventDefault()\n event.stopPropagation()\n }\n }),\n mapTo(undefined)\n )\n }\n\n private _initMenuItemRouterLink(\n record: DynamicDatatableActionMenuRecord,\n uiProps: DynamicActionUiAnchorDef\n ) {\n this._menuRouterLink = new DatatableDynamicActionMenuItemRouterLink(\n this._router,\n this._route,\n getAttribute(this._elementRef.nativeElement, 'tabindex'),\n this._renderer,\n this._elementRef,\n this._locationStrategy\n )\n // console.log(this._menuRouterLink)\n\n this._menuRouterLink.routerLinkInput = uiProps.linkUrl as string\n\n if (hasProperty(uiProps, 'linkExtras')) {\n if (hasProperty(uiProps.linkExtras, 'target')) {\n this._menuRouterLink.target = uiProps.linkExtras.target\n }\n if (hasProperty(uiProps.linkExtras, 'queryParams')) {\n this._menuRouterLink.queryParams = uiProps.linkExtras.queryParams\n }\n if (hasProperty(uiProps.linkExtras, 'fragment')) {\n this._menuRouterLink.fragment = uiProps.linkExtras.fragment\n }\n if (hasProperty(uiProps.linkExtras, 'queryParamsHandling')) {\n this._menuRouterLink.queryParamsHandling = uiProps.linkExtras.queryParamsHandling\n }\n if (hasProperty(uiProps.linkExtras, 'preserveFragment')) {\n this._menuRouterLink.preserveFragment = uiProps.linkExtras.preserveFragment\n }\n if (hasProperty(uiProps.linkExtras, 'skipLocationChange')) {\n this._menuRouterLink.skipLocationChange = uiProps.linkExtras.skipLocationChange\n }\n if (hasProperty(uiProps.linkExtras, 'replaceUrl')) {\n this._menuRouterLink.replaceUrl = uiProps.linkExtras.replaceUrl\n }\n if (hasProperty(uiProps.linkExtras, 'state')) {\n this._menuRouterLink.state = uiProps.linkExtras.state\n }\n }\n\n this.ngOnChanges({})\n }\n\n private _isAnchor(): boolean {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'a'\n }\n\n private _getUiProps(record: DynamicDatatableActionMenuRecord): Promise<DynamicActionUiDef> {\n const context = this._getContext(record._row, record.rowAction)\n return this._actionHelper.getUiProps(record.rowAction.action, context)\n }\n\n /** @ignore */\n private _getContext(row: DynamicDatatableRow, rowActionDef: DynamicDatatableRowAction): DynamicDatatableRowActionContext {\n return {\n row\n }\n }\n\n private _setInvalidActionState(invalid: boolean = false) {\n const element = this._elementRef.nativeElement\n toggleAttribute(element, 'disabled', invalid)\n }\n\n}\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'\nimport { Observable } from 'rxjs'\nimport { map } from 'rxjs/operators'\n\nimport { IDataExporter } from '@theseam/ui-common/data-exporter'\n\nimport {\n DatatableDynamicDef,\n DynamicDatatableOptions\n} from './datatable-dynamic-def'\nimport { DynamicDatatableDefService } from './dynamic-datatable-def.service'\nimport { DynamicDatatableRowActionsService } from './dynamic-datatable-row-actions.service'\nimport { DynamicDatatableFilterMenuItem } from './models/dynamic-datatable-filter-menu-item'\nimport { DynamicDatatableMenuBar } from './models/dynamic-datatable-menu-bar'\n\n/**\n * # EXPERIMENTAL\n *\n * NOTE: This component is still experimental. When stable all standard\n * datatables must use this component, unless there is a good reason not to, in\n * our apps.\n *\n * ----------------------------------------------------------------------------\n *\n * Datatable that is built from a json definition.\n *\n * All standard datatables in our apps must use this component, unless there is\n * a good reason not to. If a standard datatable does not use this component\n * then an explaination comment needs to be clearly provided in the code to\n * avoid getting migrated to this component.\n *\n * A few reasons this component should to be used:\n * - We can, more easily, control what a datatable in our app does by requiring\n * the definition follow a json schema, instead of having full scripting\n * access available to the developer.\n * + By using json we can maintain the tables from any external app/language\n * that can produce a json string.\n * + More scripting access often leads to different hacks across the tables\n * that should have just been supported by this component if it is a feature\n * a datatable should be able to do in an app of ours.\n * - We can allow any of our tables to be configured by the server.\n * + By supporting configuration on the server we can change the tables\n * without a new build and do things like allowing non-developers/clients to\n * maintain the tables functionality.\n */\n@Component({\n selector: 'seam-datatable-dynamic',\n templateUrl: './datatable-dynamic.component.html',\n styleUrls: ['./datatable-dynamic.component.scss'],\n providers: [\n DynamicDatatableDefService,\n DynamicDatatableRowActionsService\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class DatatableDynamicComponent implements OnInit {\n\n /** The `DatatableDynamicDef` that defines the datatable. */\n @Input() set def(value: DatatableDynamicDef | undefined | null) {\n this._dynamicDef.setDef(value || undefined)\n }\n\n /**\n * Observes whether the datatable has a def.\n * @ignore\n */\n _hasDef$: Observable<boolean>\n\n /**\n * Observes whether the datatable has a menu bar.\n */\n menuBar$: Observable<DynamicDatatableMenuBar | undefined>\n\n /**\n * The available exporters.\n * @ignore\n */\n _exporters$: Observable<IDataExporter[]>\n\n /**\n * The 'common' type filter menu items.\n * @ignore\n */\n _commonFilterMenuItems$: Observable<DynamicDatatableFilterMenuItem[]>\n\n /**\n * Observes whether the datatable has a 'full-search' menu item.\n * @ignore\n */\n _hasFullSearch$: Observable<boolean>\n\n /**\n * Observes whether the datatable has a filter menu.\n * @ignore\n */\n _hasFilterMenu$: Observable<boolean>\n\n /**\n * Observes datatable options.\n * @ignore\n */\n _options$: Observable<DynamicDatatableOptions | undefined>\n\n /**\n * TODO: Implement def columns parser.\n * @ignore\n */\n _tmp_columns$: Observable<any>\n\n /**\n * TODO: Implement def rows parser.\n * @ignore\n */\n _tmp_rows$: Observable<any>\n\n constructor(\n private readonly _dynamicDef: DynamicDatatableDefService\n ) {\n this._hasDef$ = this._dynamicDef.def$.pipe(map(def => !!def))\n\n this.menuBar$ = this._dynamicDef.menuBar$\n\n this._exporters$ = this._dynamicDef.exporters$\n\n this._commonFilterMenuItems$ = this._dynamicDef.filterMenuItems$\n .pipe(map(f => f.filter(_f => _f.type === 'common')))\n\n this._hasFullSearch$ = this._dynamicDef.filterMenuItems$\n .pipe(map(f => !!f.find(_f => _f.type === 'full-search')))\n\n this._hasFilterMenu$ = this._dynamicDef.hasFilterMenu$\n\n this._options$ = this._dynamicDef.options$\n\n this._tmp_columns$ = this._dynamicDef.def$.pipe(\n map(def => def ? def.columns : [])\n )\n\n this._tmp_rows$ = this._dynamicDef.def$.pipe(\n map(def => def ? def.rows : []),\n // tap(v => console.log('_tmp_rows$', v))\n )\n }\n\n /** @ignore */\n ngOnInit() { }\n\n}\n","import { PortalModule } from '@angular/cdk/portal'\nimport { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\nimport { RouterModule } from '@angular/router'\n\nimport { TheSeamButtonsModule } from '@theseam/ui-common/buttons'\nimport { TheSeamDataExporterModule } from '@theseam/ui-common/data-exporter'\nimport { TheSeamDataFiltersModule } from '@theseam/ui-common/data-filters'\nimport { TheSeamDatatableModule } from '@theseam/ui-common/datatable'\nimport { TheSeamIconModule } from '@theseam/ui-common/icon'\nimport { TheSeamMenuModule } from '@theseam/ui-common/menu'\nimport { TheSeamSharedModule } from '@theseam/ui-common/shared'\nimport { TheSeamTableCellTypesModule } from '@theseam/ui-common/table-cell-types'\n\nimport { DatatableDynamicActionMenuComponent } from './datatable-dynamic-action-menu/datatable-dynamic-action-menu.component'\nimport { DatatableDynamicFilterContainerComponent } from './datatable-dynamic-filter-container/datatable-dynamic-filter-container.component'\nimport { DatatableDynamicMenuBarContentComponent } from './datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component'\nimport { DatatableDynamicComponent } from './datatable-dynamic.component'\nimport { DatatableDynamicActionMenuItemDirective } from './directives/datatable-dynamic-action-menu-item.directive'\n\n@NgModule({\n declarations: [\n DatatableDynamicComponent,\n DatatableDynamicFilterContainerComponent,\n DatatableDynamicActionMenuComponent,\n DatatableDynamicActionMenuItemDirective,\n DatatableDynamicMenuBarContentComponent,\n ],\n imports: [\n CommonModule,\n TheSeamSharedModule,\n TheSeamDatatableModule,\n TheSeamTableCellTypesModule,\n TheSeamDataExporterModule,\n TheSeamDataFiltersModule,\n TheSeamIconModule,\n PortalModule,\n RouterModule,\n TheSeamMenuModule,\n TheSeamButtonsModule\n ],\n exports: [\n DatatableDynamicComponent,\n TheSeamDatatableModule,\n DatatableDynamicActionMenuItemDirective\n ]\n})\nexport class TheSeamDatatableDynamicModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["BehaviorSubject","map","shareReplay","switchMap","of","combineLatest","notNullOrUndefined","hasProperty","Injectable","Inject","THESEAM_DATA_EXPORTER","THESEAM_DATA_FILTER_DEF","DynamicValueHelperService","from","toArray","faEllipsisH","concatMap","filter","Component","ChangeDetectionStrategy","Input","ComponentPortal","PortalInjector","THESEAM_DATA_FILTER_OPTIONS","Injector","InjectionToken","TheSeamDynamicComponentLoader","Optional","router","RouterLinkWithHref","RouterLink","toggleAttribute","Router","ActivatedRoute","Attribute","Renderer2","ElementRef","LocationStrategy","ReplaySubject","Subscription","tap","catchError","isDevMode","getAttribute","fromEvent","mapTo","Directive","DynamicActionHelperService","AssetReaderHelperService","NgModule","CommonModule","TheSeamSharedModule","TheSeamDatatableModule","TheSeamTableCellTypesModule","TheSeamDataExporterModule","TheSeamDataFiltersModule","TheSeamIconModule","PortalModule","RouterModule","TheSeamMenuModule","TheSeamButtonsModule"],"mappings":";;;;;;IAAA;;;;;;;;;;;;;;IAcA;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;gBAAE,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC;oBAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACtG,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;aAEc,SAAS,CAAC,CAAC,EAAE,CAAC;QAC1B,IAAI,OAAO,CAAC,KAAK,UAAU,IAAI,CAAC,KAAK,IA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,SAAC;oBACR,YAAY,EAAE;wBACZ,yBAAyB;wBACzB,wCAAwC;wBACxC,mCAAmC;wBACnC,uCAAuC;wBACvC,uCAAuC;qBACxC;oBACD,OAAO,EAAE;wBACPC,mBAAY;wBACZC,0BAAmB;wBACnBC,gCAAsB;wBACtBC,0CAA2B;wBAC3BC,sCAAyB;wBACzBC,oCAAwB;wBACxBC,sBAAiB;wBACjBC,mBAAY;wBACZC,mBAAY;wBACZC,sBAAiB;wBACjBC,4BAAoB;qBACrB;oBACD,OAAO,EAAE;wBACP,yBAAyB;wBACzBR,gCAAsB;wBACtB,uCAAuC;qBACxC;iBACF;;;IC9CD;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,2247 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations'), require('@angular/cdk/coercion'), require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/collections'), require('@fortawesome/free-solid-svg-icons'), require('@marklb/ngx-datatable'), require('@theseam/ui-common/core'), require('@theseam/ui-common/data-filters'), require('@theseam/ui-common/utils'), require('@angular/router'), require('@theseam/ui-common/confirm-dialog'), require('@angular/forms'), require('ngx-toastr'), require('@theseam/ui-common/dynamic'), require('@theseam/ui-common/loading'), require('@angular/common/http'), require('@theseam/ui-common/dynamic-component-loader'), require('@theseam/ui-common/modal'), require('@angular/cdk/keycodes'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@theseam/ui-common/scrollbar'), require('@angular/cdk/a11y'), require('@angular/common'), require('@fortawesome/angular-fontawesome'), require('@theseam/ui-common/buttons'), require('@theseam/ui-common/checkbox'), require('@theseam/ui-common/form-field'), require('@theseam/ui-common/icon'), require('@theseam/ui-common/menu'), require('@theseam/ui-common/popover'), require('@theseam/ui-common/shared'), require('@theseam/ui-common/table-cell-type')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@theseam/ui-common/datatable', ['exports', '@angular/animations', '@angular/cdk/coercion', '@angular/core', 'rxjs', 'rxjs/operators', '@angular/cdk/collections', '@fortawesome/free-solid-svg-icons', '@marklb/ngx-datatable', '@theseam/ui-common/core', '@theseam/ui-common/data-filters', '@theseam/ui-common/utils', '@angular/router', '@theseam/ui-common/confirm-dialog', '@angular/forms', 'ngx-toastr', '@theseam/ui-common/dynamic', '@theseam/ui-common/loading', '@angular/common/http', '@theseam/ui-common/dynamic-component-loader', '@theseam/ui-common/modal', '@angular/cdk/keycodes', '@angular/cdk/overlay', '@angular/cdk/portal', '@theseam/ui-common/scrollbar', '@angular/cdk/a11y', '@angular/common', '@fortawesome/angular-fontawesome', '@theseam/ui-common/buttons', '@theseam/ui-common/checkbox', '@theseam/ui-common/form-field', '@theseam/ui-common/icon', '@theseam/ui-common/menu', '@theseam/ui-common/popover', '@theseam/ui-common/shared', '@theseam/ui-common/table-cell-type'], 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'].datatable = {}), global.ng.animations, global.ng.cdk.coercion, global.ng.core, global.rxjs, global.rxjs.operators, global.ng.cdk.collections, global.freeSolidSvgIcons, global.ngxDatatable, global.theseam['ui-common'].core, global.theseam['ui-common']['data-filters'], global.theseam['ui-common'].utils, global.ng.router, global.theseam['ui-common']['confirm-dialog'], global.ng.forms, global.ngxToastr, global.theseam['ui-common'].dynamic, global.theseam['ui-common'].loading, global.ng.common.http, global.theseam['ui-common']['dynamic-component-loader'], global.theseam['ui-common'].modal, global.ng.cdk.keycodes, global.ng.cdk.overlay, global.ng.cdk.portal, global.theseam['ui-common'].scrollbar, global.ng.cdk.a11y, global.ng.common, global.angularFontawesome, global.theseam['ui-common'].buttons, global.theseam['ui-common'].checkbox, global.theseam['ui-common']['form-field'], global.theseam['ui-common'].icon, global.theseam['ui-common'].menu, global.theseam['ui-common'].popover, global.theseam['ui-common'].shared, global.theseam['ui-common']['table-cell-type']));
|
|
5
|
+
}(this, (function (exports, animations, coercion, i0, rxjs, operators, collections, freeSolidSvgIcons, ngxDatatable, core, dataFilters, utils, router, confirmDialog, forms, ngxToastr, dynamic, loading, http, dynamicComponentLoader, modal, keycodes, overlay, portal, scrollbar, a11y, common, angularFontawesome, buttons, checkbox, formField, icon, menu, popover, shared, tableCellType) { '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
|
+
|
|
29
|
+
/*! *****************************************************************************
|
|
30
|
+
Copyright (c) Microsoft Corporation.
|
|
31
|
+
|
|
32
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
33
|
+
purpose with or without fee is hereby granted.
|
|
34
|
+
|
|
35
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
36
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
37
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
38
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
39
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
40
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
41
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
42
|
+
***************************************************************************** */
|
|
43
|
+
/* global Reflect, Promise */
|
|
44
|
+
var extendStatics = function (d, b) {
|
|
45
|
+
extendStatics = Object.setPrototypeOf ||
|
|
46
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
47
|
+
function (d, b) { for (var p in b)
|
|
48
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
49
|
+
d[p] = b[p]; };
|
|
50
|
+
return extendStatics(d, b);
|
|
51
|
+
};
|
|
52
|
+
function __extends(d, b) {
|
|
53
|
+
if (typeof b !== "function" && b !== null)
|
|
54
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
55
|
+
extendStatics(d, b);
|
|
56
|
+
function __() { this.constructor = d; }
|
|
57
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
58
|
+
}
|
|
59
|
+
var __assign = function () {
|
|
60
|
+
__assign = Object.assign || function __assign(t) {
|
|
61
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
62
|
+
s = arguments[i];
|
|
63
|
+
for (var p in s)
|
|
64
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
65
|
+
t[p] = s[p];
|
|
66
|
+
}
|
|
67
|
+
return t;
|
|
68
|
+
};
|
|
69
|
+
return __assign.apply(this, arguments);
|
|
70
|
+
};
|
|
71
|
+
function __rest(s, e) {
|
|
72
|
+
var t = {};
|
|
73
|
+
for (var p in s)
|
|
74
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
75
|
+
t[p] = s[p];
|
|
76
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
77
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
78
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
79
|
+
t[p[i]] = s[p[i]];
|
|
80
|
+
}
|
|
81
|
+
return t;
|
|
82
|
+
}
|
|
83
|
+
function __decorate(decorators, target, key, desc) {
|
|
84
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
85
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
86
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
87
|
+
else
|
|
88
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
89
|
+
if (d = decorators[i])
|
|
90
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
91
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
92
|
+
}
|
|
93
|
+
function __param(paramIndex, decorator) {
|
|
94
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
95
|
+
}
|
|
96
|
+
function __metadata(metadataKey, metadataValue) {
|
|
97
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
98
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
99
|
+
}
|
|
100
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
101
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
102
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
103
|
+
function fulfilled(value) { try {
|
|
104
|
+
step(generator.next(value));
|
|
105
|
+
}
|
|
106
|
+
catch (e) {
|
|
107
|
+
reject(e);
|
|
108
|
+
} }
|
|
109
|
+
function rejected(value) { try {
|
|
110
|
+
step(generator["throw"](value));
|
|
111
|
+
}
|
|
112
|
+
catch (e) {
|
|
113
|
+
reject(e);
|
|
114
|
+
} }
|
|
115
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
116
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
function __generator(thisArg, body) {
|
|
120
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
121
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
122
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
123
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
124
|
+
function step(op) {
|
|
125
|
+
if (f)
|
|
126
|
+
throw new TypeError("Generator is already executing.");
|
|
127
|
+
while (_)
|
|
128
|
+
try {
|
|
129
|
+
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)
|
|
130
|
+
return t;
|
|
131
|
+
if (y = 0, t)
|
|
132
|
+
op = [op[0] & 2, t.value];
|
|
133
|
+
switch (op[0]) {
|
|
134
|
+
case 0:
|
|
135
|
+
case 1:
|
|
136
|
+
t = op;
|
|
137
|
+
break;
|
|
138
|
+
case 4:
|
|
139
|
+
_.label++;
|
|
140
|
+
return { value: op[1], done: false };
|
|
141
|
+
case 5:
|
|
142
|
+
_.label++;
|
|
143
|
+
y = op[1];
|
|
144
|
+
op = [0];
|
|
145
|
+
continue;
|
|
146
|
+
case 7:
|
|
147
|
+
op = _.ops.pop();
|
|
148
|
+
_.trys.pop();
|
|
149
|
+
continue;
|
|
150
|
+
default:
|
|
151
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
152
|
+
_ = 0;
|
|
153
|
+
continue;
|
|
154
|
+
}
|
|
155
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
156
|
+
_.label = op[1];
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
160
|
+
_.label = t[1];
|
|
161
|
+
t = op;
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
164
|
+
if (t && _.label < t[2]) {
|
|
165
|
+
_.label = t[2];
|
|
166
|
+
_.ops.push(op);
|
|
167
|
+
break;
|
|
168
|
+
}
|
|
169
|
+
if (t[2])
|
|
170
|
+
_.ops.pop();
|
|
171
|
+
_.trys.pop();
|
|
172
|
+
continue;
|
|
173
|
+
}
|
|
174
|
+
op = body.call(thisArg, _);
|
|
175
|
+
}
|
|
176
|
+
catch (e) {
|
|
177
|
+
op = [6, e];
|
|
178
|
+
y = 0;
|
|
179
|
+
}
|
|
180
|
+
finally {
|
|
181
|
+
f = t = 0;
|
|
182
|
+
}
|
|
183
|
+
if (op[0] & 5)
|
|
184
|
+
throw op[1];
|
|
185
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
189
|
+
if (k2 === undefined)
|
|
190
|
+
k2 = k;
|
|
191
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
192
|
+
}) : (function (o, m, k, k2) {
|
|
193
|
+
if (k2 === undefined)
|
|
194
|
+
k2 = k;
|
|
195
|
+
o[k2] = m[k];
|
|
196
|
+
});
|
|
197
|
+
function __exportStar(m, o) {
|
|
198
|
+
for (var p in m)
|
|
199
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
200
|
+
__createBinding(o, m, p);
|
|
201
|
+
}
|
|
202
|
+
function __values(o) {
|
|
203
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
204
|
+
if (m)
|
|
205
|
+
return m.call(o);
|
|
206
|
+
if (o && typeof o.length === "number")
|
|
207
|
+
return {
|
|
208
|
+
next: function () {
|
|
209
|
+
if (o && i >= o.length)
|
|
210
|
+
o = void 0;
|
|
211
|
+
return { value: o && o[i++], done: !o };
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
215
|
+
}
|
|
216
|
+
function __read(o, n) {
|
|
217
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
218
|
+
if (!m)
|
|
219
|
+
return o;
|
|
220
|
+
var i = m.call(o), r, ar = [], e;
|
|
221
|
+
try {
|
|
222
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
223
|
+
ar.push(r.value);
|
|
224
|
+
}
|
|
225
|
+
catch (error) {
|
|
226
|
+
e = { error: error };
|
|
227
|
+
}
|
|
228
|
+
finally {
|
|
229
|
+
try {
|
|
230
|
+
if (r && !r.done && (m = i["return"]))
|
|
231
|
+
m.call(i);
|
|
232
|
+
}
|
|
233
|
+
finally {
|
|
234
|
+
if (e)
|
|
235
|
+
throw e.error;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
return ar;
|
|
239
|
+
}
|
|
240
|
+
/** @deprecated */
|
|
241
|
+
function __spread() {
|
|
242
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
243
|
+
ar = ar.concat(__read(arguments[i]));
|
|
244
|
+
return ar;
|
|
245
|
+
}
|
|
246
|
+
/** @deprecated */
|
|
247
|
+
function __spreadArrays() {
|
|
248
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
249
|
+
s += arguments[i].length;
|
|
250
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
251
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
252
|
+
r[k] = a[j];
|
|
253
|
+
return r;
|
|
254
|
+
}
|
|
255
|
+
function __spreadArray(to, from, pack) {
|
|
256
|
+
if (pack || arguments.length === 2)
|
|
257
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
258
|
+
if (ar || !(i in from)) {
|
|
259
|
+
if (!ar)
|
|
260
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
261
|
+
ar[i] = from[i];
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
return to.concat(ar || from);
|
|
265
|
+
}
|
|
266
|
+
function __await(v) {
|
|
267
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
268
|
+
}
|
|
269
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
270
|
+
if (!Symbol.asyncIterator)
|
|
271
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
272
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
273
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
274
|
+
function verb(n) { if (g[n])
|
|
275
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
276
|
+
function resume(n, v) { try {
|
|
277
|
+
step(g[n](v));
|
|
278
|
+
}
|
|
279
|
+
catch (e) {
|
|
280
|
+
settle(q[0][3], e);
|
|
281
|
+
} }
|
|
282
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
283
|
+
function fulfill(value) { resume("next", value); }
|
|
284
|
+
function reject(value) { resume("throw", value); }
|
|
285
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
286
|
+
resume(q[0][0], q[0][1]); }
|
|
287
|
+
}
|
|
288
|
+
function __asyncDelegator(o) {
|
|
289
|
+
var i, p;
|
|
290
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
291
|
+
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; }
|
|
292
|
+
}
|
|
293
|
+
function __asyncValues(o) {
|
|
294
|
+
if (!Symbol.asyncIterator)
|
|
295
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
296
|
+
var m = o[Symbol.asyncIterator], i;
|
|
297
|
+
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);
|
|
298
|
+
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); }); }; }
|
|
299
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
300
|
+
}
|
|
301
|
+
function __makeTemplateObject(cooked, raw) {
|
|
302
|
+
if (Object.defineProperty) {
|
|
303
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
304
|
+
}
|
|
305
|
+
else {
|
|
306
|
+
cooked.raw = raw;
|
|
307
|
+
}
|
|
308
|
+
return cooked;
|
|
309
|
+
}
|
|
310
|
+
;
|
|
311
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
312
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
313
|
+
}) : function (o, v) {
|
|
314
|
+
o["default"] = v;
|
|
315
|
+
};
|
|
316
|
+
function __importStar(mod) {
|
|
317
|
+
if (mod && mod.__esModule)
|
|
318
|
+
return mod;
|
|
319
|
+
var result = {};
|
|
320
|
+
if (mod != null)
|
|
321
|
+
for (var k in mod)
|
|
322
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
323
|
+
__createBinding(result, mod, k);
|
|
324
|
+
__setModuleDefault(result, mod);
|
|
325
|
+
return result;
|
|
326
|
+
}
|
|
327
|
+
function __importDefault(mod) {
|
|
328
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
329
|
+
}
|
|
330
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
331
|
+
if (kind === "a" && !f)
|
|
332
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
333
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
334
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
335
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
336
|
+
}
|
|
337
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
338
|
+
if (kind === "m")
|
|
339
|
+
throw new TypeError("Private method is not writable");
|
|
340
|
+
if (kind === "a" && !f)
|
|
341
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
342
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
343
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
344
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
var DatatableDataSource = /** @class */ (function (_super) {
|
|
348
|
+
__extends(DatatableDataSource, _super);
|
|
349
|
+
function DatatableDataSource() {
|
|
350
|
+
var _this = _super.call(this) || this;
|
|
351
|
+
_this._datatableSubject = new rxjs.BehaviorSubject(undefined);
|
|
352
|
+
_this.sorts$ = _this._datatableSubject.pipe(operators.switchMap(function (_datatable) {
|
|
353
|
+
if (!_datatable) {
|
|
354
|
+
return rxjs.of([]);
|
|
355
|
+
}
|
|
356
|
+
return _datatable.sort.pipe(operators.map(function (v) { return v.sorts; }), operators.startWith(_datatable.sorts));
|
|
357
|
+
}));
|
|
358
|
+
_this.filterStates$ = _this._datatableSubject.pipe(operators.switchMap(function (_datatable) {
|
|
359
|
+
if (!_datatable) {
|
|
360
|
+
return rxjs.of([]);
|
|
361
|
+
}
|
|
362
|
+
return _datatable.filterStates;
|
|
363
|
+
}));
|
|
364
|
+
_this.page$ = _this._datatableSubject.pipe(operators.switchMap(function (_datatable) {
|
|
365
|
+
if (!_datatable) {
|
|
366
|
+
return rxjs.of({
|
|
367
|
+
offset: 0,
|
|
368
|
+
pageSize: 0,
|
|
369
|
+
limit: undefined,
|
|
370
|
+
count: 0
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
return _datatable.page.pipe(operators.startWith(_datatable.pageInfo));
|
|
374
|
+
}));
|
|
375
|
+
return _this;
|
|
376
|
+
}
|
|
377
|
+
// connect(): Observable<readonly TRow[]> {
|
|
378
|
+
// return this.
|
|
379
|
+
// }
|
|
380
|
+
// disconnect(): void {
|
|
381
|
+
// throw new Error('Method not implemented.')
|
|
382
|
+
// }
|
|
383
|
+
DatatableDataSource.prototype.setDatatableAccessor = function (accessor) {
|
|
384
|
+
this._datatableSubject.next(accessor);
|
|
385
|
+
};
|
|
386
|
+
return DatatableDataSource;
|
|
387
|
+
}(collections.DataSource));
|
|
388
|
+
|
|
389
|
+
var DatatableActionMenuItemComponent = /** @class */ (function () {
|
|
390
|
+
function DatatableActionMenuItemComponent() {
|
|
391
|
+
this.click = new i0.EventEmitter();
|
|
392
|
+
}
|
|
393
|
+
return DatatableActionMenuItemComponent;
|
|
394
|
+
}());
|
|
395
|
+
DatatableActionMenuItemComponent.decorators = [
|
|
396
|
+
{ type: i0.Component, args: [{
|
|
397
|
+
selector: 'seam-datatable-action-menu-item',
|
|
398
|
+
template: "",
|
|
399
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
400
|
+
},] }
|
|
401
|
+
];
|
|
402
|
+
DatatableActionMenuItemComponent.propDecorators = {
|
|
403
|
+
label: [{ type: i0.Input }],
|
|
404
|
+
href: [{ type: i0.Input, args: ['attr.href',] }],
|
|
405
|
+
target: [{ type: i0.Input }],
|
|
406
|
+
queryParams: [{ type: i0.Input }],
|
|
407
|
+
fragment: [{ type: i0.Input }],
|
|
408
|
+
queryParamsHandling: [{ type: i0.Input }],
|
|
409
|
+
preserveFragment: [{ type: i0.Input }],
|
|
410
|
+
skipLocationChange: [{ type: i0.Input }],
|
|
411
|
+
replaceUrl: [{ type: i0.Input }],
|
|
412
|
+
state: [{ type: i0.Input }],
|
|
413
|
+
routerLink: [{ type: i0.Input }],
|
|
414
|
+
confirmDialog: [{ type: i0.Input }],
|
|
415
|
+
disabled: [{ type: i0.Input }],
|
|
416
|
+
click: [{ type: i0.Output }]
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
var DatatableActionMenuComponent = /** @class */ (function () {
|
|
420
|
+
function DatatableActionMenuComponent(_confirmDialog, _router) {
|
|
421
|
+
this._confirmDialog = _confirmDialog;
|
|
422
|
+
this._router = _router;
|
|
423
|
+
this.faEllipsisH = freeSolidSvgIcons.faEllipsisH;
|
|
424
|
+
/** @ignore */
|
|
425
|
+
this._actionMenuPositions = [
|
|
426
|
+
{
|
|
427
|
+
originX: 'start',
|
|
428
|
+
originY: 'bottom',
|
|
429
|
+
overlayX: 'end',
|
|
430
|
+
overlayY: 'top',
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
originX: 'start',
|
|
434
|
+
originY: 'top',
|
|
435
|
+
overlayX: 'end',
|
|
436
|
+
overlayY: 'bottom',
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
originX: 'end',
|
|
440
|
+
originY: 'bottom',
|
|
441
|
+
overlayX: 'start',
|
|
442
|
+
overlayY: 'top',
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
originX: 'end',
|
|
446
|
+
originY: 'top',
|
|
447
|
+
overlayX: 'start',
|
|
448
|
+
overlayY: 'bottom',
|
|
449
|
+
},
|
|
450
|
+
];
|
|
451
|
+
}
|
|
452
|
+
DatatableActionMenuComponent.prototype.activateItem = function (event, item) {
|
|
453
|
+
var _this = this;
|
|
454
|
+
if (item.confirmDialog) {
|
|
455
|
+
this._confirmDialog.open(item.confirmDialog.message, item.confirmDialog.alert)
|
|
456
|
+
.afterClosed()
|
|
457
|
+
.subscribe(function (v) {
|
|
458
|
+
if (v === 'confirm') {
|
|
459
|
+
item.click.emit(event);
|
|
460
|
+
if (item.href) {
|
|
461
|
+
var win = window.open(item.href, item.target || undefined);
|
|
462
|
+
// TODO: Consider if always setting opener to null is to restrictive
|
|
463
|
+
// if (win && item.target && item.target.toLowerCase() === '_blank') {
|
|
464
|
+
// win.opener = null
|
|
465
|
+
// }
|
|
466
|
+
}
|
|
467
|
+
else {
|
|
468
|
+
var extras = {};
|
|
469
|
+
if (item.queryParams) {
|
|
470
|
+
extras.queryParams = item.queryParams;
|
|
471
|
+
}
|
|
472
|
+
if (item.fragment) {
|
|
473
|
+
extras.fragment = item.fragment;
|
|
474
|
+
}
|
|
475
|
+
if (item.queryParamsHandling) {
|
|
476
|
+
extras.queryParamsHandling = item.queryParamsHandling;
|
|
477
|
+
}
|
|
478
|
+
if (item.preserveFragment) {
|
|
479
|
+
extras.preserveFragment = item.preserveFragment;
|
|
480
|
+
}
|
|
481
|
+
if (item.skipLocationChange) {
|
|
482
|
+
extras.skipLocationChange = item.skipLocationChange;
|
|
483
|
+
}
|
|
484
|
+
if (item.replaceUrl) {
|
|
485
|
+
extras.replaceUrl = item.replaceUrl;
|
|
486
|
+
}
|
|
487
|
+
if (item.state) {
|
|
488
|
+
extras.state = item.state;
|
|
489
|
+
}
|
|
490
|
+
var commands = Array.isArray(item.routerLink) ? item.routerLink : [item.routerLink];
|
|
491
|
+
_this._router.navigate(commands, extras);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
});
|
|
495
|
+
}
|
|
496
|
+
else {
|
|
497
|
+
item.click.emit(event);
|
|
498
|
+
}
|
|
499
|
+
};
|
|
500
|
+
return DatatableActionMenuComponent;
|
|
501
|
+
}());
|
|
502
|
+
DatatableActionMenuComponent.decorators = [
|
|
503
|
+
{ type: i0.Component, args: [{
|
|
504
|
+
selector: 'seam-datatable-action-menu',
|
|
505
|
+
template: "<seam-menu #menu\n menuClass=\"list-group py-0 border-0 seam-datatable-action-menu\"\n animationType=\"fade\">\n\n <ng-container *ngFor=\"let item of items\">\n <ng-container *ngIf=\"(item.routerLink || item.href) && !item.confirmDialog; else noRouterLink\">\n <a *ngIf=\"item.href; else noHref\"\n seamMenuItem\n class=\"list-group-item list-group-item-action py-1\"\n [disabled]=\"item.disabled\"\n [attr.href]=\"item.href\"\n [target]=\"item.target\"\n (click)=\"activateItem($event, item)\">\n {{ item.label }}\n </a>\n <ng-template #noHref>\n <a seamMenuItem\n class=\"list-group-item list-group-item-action py-1\"\n [disabled]=\"item.disabled\"\n [queryParams]=\"item.queryParams\"\n [fragment]=\"$any(item.fragment)\"\n [queryParamsHandling]=\"item.queryParamsHandling\"\n [preserveFragment]=\"$any(item.preserveFragment)\"\n [skipLocationChange]=\"$any(item.skipLocationChange)\"\n [replaceUrl]=\"$any(item.replaceUrl)\"\n [state]=\"$any(item.state)\"\n [routerLink]=\"item.routerLink\"\n [target]=\"$any(item.target)\"\n (click)=\"activateItem($event, item)\">\n {{ item.label }}\n </a>\n </ng-template>\n </ng-container>\n <ng-template #noRouterLink>\n <button seamMenuItem\n type=\"button\"\n class=\"list-group-item list-group-item-action py-1\"\n [disabled]=\"item.disabled\"\n (click)=\"activateItem($event, item)\">\n {{ item.label }}\n </button>\n </ng-template>\n </ng-container>\n</seam-menu>\n\n<button type=\"button\" class=\"datatable-action-button btn\"\n [seamMenuToggle]=\"menu\"\n [positions]=\"_actionMenuPositions || []\"\n title=\"Row Actions\">\n <seam-icon [icon]=\"faEllipsisH\"></seam-icon>\n</button>\n",
|
|
506
|
+
styles: [":host{display:block;position:relative}.datatable-action-button{font-size:20px;line-height:20px;width:30px;height:30px;padding:0;border-radius:15px;text-align:center}.datatable-action-button::ng-deep .svg-inline--fa{vertical-align:middle}"]
|
|
507
|
+
},] }
|
|
508
|
+
];
|
|
509
|
+
DatatableActionMenuComponent.ctorParameters = function () { return [
|
|
510
|
+
{ type: confirmDialog.SeamConfirmDialogService },
|
|
511
|
+
{ type: router.Router }
|
|
512
|
+
]; };
|
|
513
|
+
DatatableActionMenuComponent.propDecorators = {
|
|
514
|
+
items: [{ type: i0.ContentChildren, args: [DatatableActionMenuItemComponent,] }]
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
var DatatableCellTplDirective = /** @class */ (function () {
|
|
518
|
+
function DatatableCellTplDirective(template) {
|
|
519
|
+
this.template = template;
|
|
520
|
+
}
|
|
521
|
+
return DatatableCellTplDirective;
|
|
522
|
+
}());
|
|
523
|
+
DatatableCellTplDirective.decorators = [
|
|
524
|
+
{ type: i0.Directive, args: [{
|
|
525
|
+
selector: '[seamDatatableCellTpl]'
|
|
526
|
+
},] }
|
|
527
|
+
];
|
|
528
|
+
DatatableCellTplDirective.ctorParameters = function () { return [
|
|
529
|
+
{ type: i0.TemplateRef }
|
|
530
|
+
]; };
|
|
531
|
+
|
|
532
|
+
var DatatableColumnChangesService = /** @class */ (function () {
|
|
533
|
+
function DatatableColumnChangesService() {
|
|
534
|
+
this.columnInputChanges = new rxjs.Subject();
|
|
535
|
+
}
|
|
536
|
+
Object.defineProperty(DatatableColumnChangesService.prototype, "columnInputChanges$", {
|
|
537
|
+
get: function () {
|
|
538
|
+
return this.columnInputChanges.asObservable();
|
|
539
|
+
},
|
|
540
|
+
enumerable: false,
|
|
541
|
+
configurable: true
|
|
542
|
+
});
|
|
543
|
+
DatatableColumnChangesService.prototype.onInputChange = function () {
|
|
544
|
+
this.columnInputChanges.next(undefined);
|
|
545
|
+
};
|
|
546
|
+
return DatatableColumnChangesService;
|
|
547
|
+
}());
|
|
548
|
+
DatatableColumnChangesService.decorators = [
|
|
549
|
+
{ type: i0.Injectable }
|
|
550
|
+
];
|
|
551
|
+
|
|
552
|
+
// TODO: The column component should implement `ITheSeamDatatableColumn`, since
|
|
553
|
+
// providing some properties by input and some by template could be confusing.
|
|
554
|
+
var DatatableColumnComponent = /** @class */ (function () {
|
|
555
|
+
// @Input('headerTemplate')
|
|
556
|
+
// _headerTemplateInput: TemplateRef<any>;
|
|
557
|
+
// @ContentChild(DataTableColumnHeaderDirective, { read: TemplateRef, static: true })
|
|
558
|
+
// _headerTemplateQuery: TemplateRef<any>;
|
|
559
|
+
// get headerTemplate(): TemplateRef<any> {
|
|
560
|
+
// return this._headerTemplateInput || this._headerTemplateQuery;
|
|
561
|
+
// }
|
|
562
|
+
// @Input('treeToggleTemplate')
|
|
563
|
+
// _treeToggleTemplateInput: TemplateRef<any>;
|
|
564
|
+
// @ContentChild(DataTableColumnCellTreeToggle, { read: TemplateRef, static: true })
|
|
565
|
+
// _treeToggleTemplateQuery: TemplateRef<any>;
|
|
566
|
+
// get treeToggleTemplate(): TemplateRef<any> {
|
|
567
|
+
// return this._treeToggleTemplateInput || this._treeToggleTemplateQuery;
|
|
568
|
+
// }
|
|
569
|
+
function DatatableColumnComponent(_columnChangesService) {
|
|
570
|
+
this._columnChangesService = _columnChangesService;
|
|
571
|
+
this._isFirstChange = true;
|
|
572
|
+
}
|
|
573
|
+
Object.defineProperty(DatatableColumnComponent.prototype, "cellTemplate", {
|
|
574
|
+
get: function () {
|
|
575
|
+
return this._cellTemplateInput || this._cellTemplateQuery;
|
|
576
|
+
},
|
|
577
|
+
enumerable: false,
|
|
578
|
+
configurable: true
|
|
579
|
+
});
|
|
580
|
+
DatatableColumnComponent.prototype.ngOnInit = function () { };
|
|
581
|
+
DatatableColumnComponent.prototype.ngOnChanges = function (changes) {
|
|
582
|
+
if (this._isFirstChange) {
|
|
583
|
+
this._isFirstChange = false;
|
|
584
|
+
}
|
|
585
|
+
else {
|
|
586
|
+
this._columnChangesService.onInputChange();
|
|
587
|
+
}
|
|
588
|
+
};
|
|
589
|
+
DatatableColumnComponent.prototype.getCellDirective = function () {
|
|
590
|
+
if (this.cellTplDirective) {
|
|
591
|
+
return this.cellTplDirective;
|
|
592
|
+
}
|
|
593
|
+
return null;
|
|
594
|
+
};
|
|
595
|
+
return DatatableColumnComponent;
|
|
596
|
+
}());
|
|
597
|
+
DatatableColumnComponent.decorators = [
|
|
598
|
+
{ type: i0.Component, args: [{
|
|
599
|
+
selector: 'seam-datatable-column',
|
|
600
|
+
template: "<p>\n datatable-column works!\n</p>\n",
|
|
601
|
+
styles: [""]
|
|
602
|
+
},] }
|
|
603
|
+
];
|
|
604
|
+
DatatableColumnComponent.ctorParameters = function () { return [
|
|
605
|
+
{ type: DatatableColumnChangesService }
|
|
606
|
+
]; };
|
|
607
|
+
DatatableColumnComponent.propDecorators = {
|
|
608
|
+
name: [{ type: i0.Input }],
|
|
609
|
+
prop: [{ type: i0.Input }],
|
|
610
|
+
flexGrow: [{ type: i0.Input }],
|
|
611
|
+
minWidth: [{ type: i0.Input }],
|
|
612
|
+
maxWidth: [{ type: i0.Input }],
|
|
613
|
+
width: [{ type: i0.Input }],
|
|
614
|
+
resizeable: [{ type: i0.Input }],
|
|
615
|
+
sortable: [{ type: i0.Input }],
|
|
616
|
+
draggable: [{ type: i0.Input }],
|
|
617
|
+
canAutoResize: [{ type: i0.Input }],
|
|
618
|
+
comparator: [{ type: i0.Input }],
|
|
619
|
+
headerTemplate: [{ type: i0.Input }],
|
|
620
|
+
checkboxable: [{ type: i0.Input }],
|
|
621
|
+
headerCheckboxable: [{ type: i0.Input }],
|
|
622
|
+
headerClass: [{ type: i0.Input }],
|
|
623
|
+
cellClass: [{ type: i0.Input }],
|
|
624
|
+
frozenLeft: [{ type: i0.Input }],
|
|
625
|
+
frozenRight: [{ type: i0.Input }],
|
|
626
|
+
pipe: [{ type: i0.Input }],
|
|
627
|
+
isTreeColumn: [{ type: i0.Input }],
|
|
628
|
+
treeLevelIndent: [{ type: i0.Input }],
|
|
629
|
+
summaryFunc: [{ type: i0.Input }],
|
|
630
|
+
summaryTemplate: [{ type: i0.Input }],
|
|
631
|
+
hidden: [{ type: i0.Input }],
|
|
632
|
+
cellTplDirective: [{ type: i0.ContentChild, args: [DatatableCellTplDirective, { static: true },] }],
|
|
633
|
+
_cellTemplateInput: [{ type: i0.Input, args: ['cellTemplate',] }],
|
|
634
|
+
_cellTemplateQuery: [{ type: i0.ContentChild, args: [DatatableCellTplDirective, { read: i0.TemplateRef, static: true },] }]
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
var DatatableFilterDirective = /** @class */ (function () {
|
|
638
|
+
function DatatableFilterDirective(dataFilters) {
|
|
639
|
+
if (dataFilters && dataFilters.length > 0) {
|
|
640
|
+
this._filter = dataFilters[0];
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
Object.defineProperty(DatatableFilterDirective.prototype, "filter", {
|
|
644
|
+
get: function () {
|
|
645
|
+
return this._filter;
|
|
646
|
+
},
|
|
647
|
+
enumerable: false,
|
|
648
|
+
configurable: true
|
|
649
|
+
});
|
|
650
|
+
return DatatableFilterDirective;
|
|
651
|
+
}());
|
|
652
|
+
DatatableFilterDirective.decorators = [
|
|
653
|
+
{ type: i0.Directive, args: [{
|
|
654
|
+
selector: '[seamDatatableFilter]'
|
|
655
|
+
},] }
|
|
656
|
+
];
|
|
657
|
+
DatatableFilterDirective.ctorParameters = function () { return [
|
|
658
|
+
{ type: Array, decorators: [{ type: i0.Self }, { type: i0.Inject, args: [dataFilters.THESEAM_DATA_FILTER,] }] }
|
|
659
|
+
]; };
|
|
660
|
+
|
|
661
|
+
var _THESEAM_DATA_FILTER_CONTAINER = {
|
|
662
|
+
provide: dataFilters.THESEAM_DATA_FILTER_CONTAINER,
|
|
663
|
+
// tslint:disable-next-line:no-use-before-declare
|
|
664
|
+
useExisting: i0.forwardRef(function () { return DatatableMenuBarComponent; })
|
|
665
|
+
};
|
|
666
|
+
var DatatableMenuBarComponent = /** @class */ (function () {
|
|
667
|
+
function DatatableMenuBarComponent() {
|
|
668
|
+
this._filtersArr = [];
|
|
669
|
+
this.filtersChanged = new i0.EventEmitter();
|
|
670
|
+
}
|
|
671
|
+
Object.defineProperty(DatatableMenuBarComponent.prototype, "filterDirectives", {
|
|
672
|
+
get: function () {
|
|
673
|
+
return this._filterDirectives;
|
|
674
|
+
},
|
|
675
|
+
set: function (value) {
|
|
676
|
+
this._filterDirectives = value;
|
|
677
|
+
this.filtersChanged.emit(this.filters());
|
|
678
|
+
},
|
|
679
|
+
enumerable: false,
|
|
680
|
+
configurable: true
|
|
681
|
+
});
|
|
682
|
+
DatatableMenuBarComponent.prototype.ngOnInit = function () { };
|
|
683
|
+
DatatableMenuBarComponent.prototype.ngAfterViewInit = function () {
|
|
684
|
+
// console.log('_filterDirectives', this._filterDirectives, this.filters())
|
|
685
|
+
};
|
|
686
|
+
DatatableMenuBarComponent.prototype.filters = function () {
|
|
687
|
+
var fDirectives = this._filterDirectives
|
|
688
|
+
? this._filterDirectives.map(function (f) { return f.filter; }).filter(utils.notNullOrUndefined)
|
|
689
|
+
: [];
|
|
690
|
+
var fArr = this._filtersArr
|
|
691
|
+
.filter(function (f) { return fDirectives.findIndex(function (fd) { return fd.uid === f.uid; }) === -1; });
|
|
692
|
+
return __spreadArray(__spreadArray([], __read(fArr)), __read(fDirectives));
|
|
693
|
+
};
|
|
694
|
+
DatatableMenuBarComponent.prototype.addFilter = function (dataFilter) {
|
|
695
|
+
this._filtersArr.push(dataFilter);
|
|
696
|
+
this.filtersChanged.emit(this.filters());
|
|
697
|
+
};
|
|
698
|
+
DatatableMenuBarComponent.prototype.removeFilter = function (dataFilter) {
|
|
699
|
+
this._filtersArr = this._filtersArr.filter(function (f) { return f !== dataFilter; });
|
|
700
|
+
this.filtersChanged.emit(this.filters());
|
|
701
|
+
};
|
|
702
|
+
return DatatableMenuBarComponent;
|
|
703
|
+
}());
|
|
704
|
+
DatatableMenuBarComponent.decorators = [
|
|
705
|
+
{ type: i0.Component, args: [{
|
|
706
|
+
selector: 'seam-datatable-menu-bar',
|
|
707
|
+
template: "<div class=\"bg-light border rounded p-2\">\n <ng-content></ng-content>\n</div>\n",
|
|
708
|
+
providers: [_THESEAM_DATA_FILTER_CONTAINER],
|
|
709
|
+
styles: [":host{display:block}"]
|
|
710
|
+
},] }
|
|
711
|
+
];
|
|
712
|
+
DatatableMenuBarComponent.ctorParameters = function () { return []; };
|
|
713
|
+
DatatableMenuBarComponent.propDecorators = {
|
|
714
|
+
filterDirectives: [{ type: i0.ContentChildren, args: [DatatableFilterDirective,] }]
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
var DatatableRowDetailTplDirective = /** @class */ (function () {
|
|
718
|
+
function DatatableRowDetailTplDirective(template) {
|
|
719
|
+
this.template = template;
|
|
720
|
+
}
|
|
721
|
+
return DatatableRowDetailTplDirective;
|
|
722
|
+
}());
|
|
723
|
+
DatatableRowDetailTplDirective.decorators = [
|
|
724
|
+
{ type: i0.Directive, args: [{
|
|
725
|
+
selector: '[seamDatatableRowDetailTpl]'
|
|
726
|
+
},] }
|
|
727
|
+
];
|
|
728
|
+
DatatableRowDetailTplDirective.ctorParameters = function () { return [
|
|
729
|
+
{ type: i0.TemplateRef }
|
|
730
|
+
]; };
|
|
731
|
+
|
|
732
|
+
var TheSeamDatatableRowDetailDirective = /** @class */ (function () {
|
|
733
|
+
function TheSeamDatatableRowDetailDirective() {
|
|
734
|
+
/**
|
|
735
|
+
* The detail row height is required especially
|
|
736
|
+
* when virtual scroll is enabled.
|
|
737
|
+
*/
|
|
738
|
+
this.rowHeight = 0;
|
|
739
|
+
/**
|
|
740
|
+
* Row detail row visbility was toggled.
|
|
741
|
+
*/
|
|
742
|
+
// NOTE: This will trigger from the internal ngx-datatable toggle event.
|
|
743
|
+
this.toggle = new i0.EventEmitter();
|
|
744
|
+
/**
|
|
745
|
+
* Internal use for wrapper only.
|
|
746
|
+
*
|
|
747
|
+
* To avoid confusion with this directives output and the ngx-datatable
|
|
748
|
+
* directive being wrapped, this directive emits `_toggle` stream to the
|
|
749
|
+
* `ngx-datatable-row-detail` directive and emits it's `toggle` stream out to
|
|
750
|
+
* this directives `toggle` stream.
|
|
751
|
+
* @ignore
|
|
752
|
+
*/
|
|
753
|
+
this._toggle = new i0.EventEmitter();
|
|
754
|
+
}
|
|
755
|
+
Object.defineProperty(TheSeamDatatableRowDetailDirective.prototype, "template", {
|
|
756
|
+
get: function () {
|
|
757
|
+
return this._templateInput || this._templateQuery;
|
|
758
|
+
},
|
|
759
|
+
enumerable: false,
|
|
760
|
+
configurable: true
|
|
761
|
+
});
|
|
762
|
+
/**
|
|
763
|
+
* Toggle the expansion of the row
|
|
764
|
+
*/
|
|
765
|
+
TheSeamDatatableRowDetailDirective.prototype.toggleExpandRow = function (row) {
|
|
766
|
+
this._toggle.emit({
|
|
767
|
+
type: 'row',
|
|
768
|
+
value: row
|
|
769
|
+
});
|
|
770
|
+
};
|
|
771
|
+
/**
|
|
772
|
+
* API method to expand all the rows.
|
|
773
|
+
*/
|
|
774
|
+
TheSeamDatatableRowDetailDirective.prototype.expandAllRows = function () {
|
|
775
|
+
this._toggle.emit({
|
|
776
|
+
type: 'all',
|
|
777
|
+
value: true
|
|
778
|
+
});
|
|
779
|
+
};
|
|
780
|
+
/**
|
|
781
|
+
* API method to collapse all the rows.
|
|
782
|
+
*/
|
|
783
|
+
TheSeamDatatableRowDetailDirective.prototype.collapseAllRows = function () {
|
|
784
|
+
this._toggle.emit({
|
|
785
|
+
type: 'all',
|
|
786
|
+
value: false
|
|
787
|
+
});
|
|
788
|
+
};
|
|
789
|
+
return TheSeamDatatableRowDetailDirective;
|
|
790
|
+
}());
|
|
791
|
+
TheSeamDatatableRowDetailDirective.decorators = [
|
|
792
|
+
{ type: i0.Directive, args: [{
|
|
793
|
+
// tslint:disable-next-line: directive-selector
|
|
794
|
+
selector: 'seam-datatable-row-detail'
|
|
795
|
+
},] }
|
|
796
|
+
];
|
|
797
|
+
TheSeamDatatableRowDetailDirective.propDecorators = {
|
|
798
|
+
rowHeight: [{ type: i0.Input }],
|
|
799
|
+
_templateInput: [{ type: i0.Input, args: ['template',] }],
|
|
800
|
+
_templateQuery: [{ type: i0.ContentChild, args: [DatatableRowDetailTplDirective, { read: i0.TemplateRef, static: true },] }],
|
|
801
|
+
toggle: [{ type: i0.Output }]
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
var DatatableRowActionItemDirective = /** @class */ (function () {
|
|
805
|
+
function DatatableRowActionItemDirective(template) {
|
|
806
|
+
this.template = template;
|
|
807
|
+
}
|
|
808
|
+
return DatatableRowActionItemDirective;
|
|
809
|
+
}());
|
|
810
|
+
DatatableRowActionItemDirective.decorators = [
|
|
811
|
+
{ type: i0.Directive, args: [{
|
|
812
|
+
selector: '[seamDatatableRowActionItem]'
|
|
813
|
+
},] }
|
|
814
|
+
];
|
|
815
|
+
DatatableRowActionItemDirective.ctorParameters = function () { return [
|
|
816
|
+
{ type: i0.TemplateRef }
|
|
817
|
+
]; };
|
|
818
|
+
|
|
819
|
+
var THESEAM_DATATABLE_PREFERENCES_ACCESSOR = new i0.InjectionToken('ITheSeamDatatablePreferencesAccessor');
|
|
820
|
+
|
|
821
|
+
function withStoredColumnInfo(columns, preferenceColumns) {
|
|
822
|
+
var e_1, _a;
|
|
823
|
+
var _columns = [];
|
|
824
|
+
var _loop_1 = function (col) {
|
|
825
|
+
var storedCol = preferenceColumns.find(function (v) { return v.prop === col.prop; });
|
|
826
|
+
if (storedCol) {
|
|
827
|
+
var _col = Object.assign({}, col);
|
|
828
|
+
if (utils.hasProperty(storedCol, 'width')) {
|
|
829
|
+
_col.width = Math.max(storedCol.width, 0);
|
|
830
|
+
}
|
|
831
|
+
_col.canAutoResize = storedCol.canAutoResize;
|
|
832
|
+
_columns.push(_col);
|
|
833
|
+
}
|
|
834
|
+
else {
|
|
835
|
+
_columns.push(col);
|
|
836
|
+
}
|
|
837
|
+
};
|
|
838
|
+
try {
|
|
839
|
+
for (var columns_1 = __values(columns), columns_1_1 = columns_1.next(); !columns_1_1.done; columns_1_1 = columns_1.next()) {
|
|
840
|
+
var col = columns_1_1.value;
|
|
841
|
+
_loop_1(col);
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
845
|
+
finally {
|
|
846
|
+
try {
|
|
847
|
+
if (columns_1_1 && !columns_1_1.done && (_a = columns_1.return)) _a.call(columns_1);
|
|
848
|
+
}
|
|
849
|
+
finally { if (e_1) throw e_1.error; }
|
|
850
|
+
}
|
|
851
|
+
return _columns;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
var DatatablePreferencesService = /** @class */ (function () {
|
|
855
|
+
function DatatablePreferencesService(_prefsAccessor) {
|
|
856
|
+
this._prefsAccessor = _prefsAccessor;
|
|
857
|
+
this._tablePrefsMap = new Map();
|
|
858
|
+
this._pending = false;
|
|
859
|
+
}
|
|
860
|
+
Object.defineProperty(DatatablePreferencesService.prototype, "pending", {
|
|
861
|
+
get: function () { return this._pending; },
|
|
862
|
+
enumerable: false,
|
|
863
|
+
configurable: true
|
|
864
|
+
});
|
|
865
|
+
DatatablePreferencesService.prototype.preferences = function (preferenceKey) {
|
|
866
|
+
var prefs = this._tablePrefsMap.get(preferenceKey);
|
|
867
|
+
if (!prefs) {
|
|
868
|
+
var refreshSubject = new rxjs.Subject();
|
|
869
|
+
prefs = {
|
|
870
|
+
observable: this._createObservable(refreshSubject, preferenceKey),
|
|
871
|
+
refresh: refreshSubject
|
|
872
|
+
};
|
|
873
|
+
this._tablePrefsMap.set(preferenceKey, prefs);
|
|
874
|
+
}
|
|
875
|
+
return prefs.observable;
|
|
876
|
+
};
|
|
877
|
+
DatatablePreferencesService.prototype._createObservable = function (refreshSubject, prefKey) {
|
|
878
|
+
var _this = this;
|
|
879
|
+
if (!this._prefsAccessor) {
|
|
880
|
+
return rxjs.of({});
|
|
881
|
+
}
|
|
882
|
+
var accessor = function (key) { return _this._prefsAccessor ? _this._prefsAccessor.get(key) : rxjs.of('{}'); };
|
|
883
|
+
return refreshSubject.pipe(operators.startWith({}), operators.switchMap(function () { return accessor(prefKey).pipe(operators.map(function (v) {
|
|
884
|
+
if (!v) {
|
|
885
|
+
return null;
|
|
886
|
+
}
|
|
887
|
+
// TODO: Add a schema validator and migration tool to avoid parsing issues.
|
|
888
|
+
try {
|
|
889
|
+
return JSON.parse(v);
|
|
890
|
+
}
|
|
891
|
+
catch (error) {
|
|
892
|
+
if (i0.isDevMode()) {
|
|
893
|
+
console.error(error);
|
|
894
|
+
}
|
|
895
|
+
return null;
|
|
896
|
+
}
|
|
897
|
+
}), operators.map(function (v) { return !!v ? v : {}; })); }), operators.shareReplay(1));
|
|
898
|
+
};
|
|
899
|
+
DatatablePreferencesService.prototype.refresh = function (preferenceKey) {
|
|
900
|
+
var prefs = this._tablePrefsMap.get(preferenceKey);
|
|
901
|
+
if (prefs) {
|
|
902
|
+
this._pending = true;
|
|
903
|
+
prefs.refresh.next();
|
|
904
|
+
}
|
|
905
|
+
};
|
|
906
|
+
// TODO: Improve this updating to be more generic, so we can quickly add
|
|
907
|
+
// edits for different preference schema's.
|
|
908
|
+
//
|
|
909
|
+
// TODO: Decide if a send queue/merging of pending queue is needed to avoid
|
|
910
|
+
// out of order updates. This shouldn't be an issue, with how fast preferences
|
|
911
|
+
// will most likely be changing, but it could happen in situations, such as
|
|
912
|
+
// network issues.
|
|
913
|
+
DatatablePreferencesService.prototype.setColumnPreference = function (preferenceKey, column) {
|
|
914
|
+
var _this = this;
|
|
915
|
+
if (!this._prefsAccessor) {
|
|
916
|
+
return;
|
|
917
|
+
}
|
|
918
|
+
this._pending = true;
|
|
919
|
+
this.preferences(preferenceKey).pipe(operators.map(function (prefs) {
|
|
920
|
+
// Making the preferences immutable may not be necessary, but for now
|
|
921
|
+
// this obj->str->obj will work as a naive clone.
|
|
922
|
+
var columns = JSON.parse(JSON.stringify(prefs.columns || []));
|
|
923
|
+
var _colPref = columns.find(function (c) { return c.prop === column.prop; });
|
|
924
|
+
// console.log('has', _colPref)
|
|
925
|
+
if (_colPref) {
|
|
926
|
+
// console.log('hasProperty(column, "width"))', hasProperty(column, 'width'))
|
|
927
|
+
if (utils.hasProperty(column, 'width')) {
|
|
928
|
+
_colPref.width = column.width;
|
|
929
|
+
}
|
|
930
|
+
if (utils.hasProperty(column, 'canAutoResize')) {
|
|
931
|
+
_colPref.canAutoResize = column.canAutoResize;
|
|
932
|
+
}
|
|
933
|
+
if (utils.hasProperty(column, 'hidden')) {
|
|
934
|
+
_colPref.hidden = column.hidden;
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
else {
|
|
938
|
+
columns.push(Object.assign({}, column));
|
|
939
|
+
}
|
|
940
|
+
var newPrefs = Object.assign(Object.assign({}, prefs), { columns: columns });
|
|
941
|
+
return newPrefs;
|
|
942
|
+
}),
|
|
943
|
+
// tap(v => console.log('newPrefs', v)),
|
|
944
|
+
operators.take(1), operators.switchMap(function (newPrefs) { return _this._prefsAccessor
|
|
945
|
+
? _this._prefsAccessor.update(preferenceKey, JSON.stringify(newPrefs))
|
|
946
|
+
: rxjs.of(newPrefs); }), operators.tap(function () { return _this.refresh(preferenceKey); }))
|
|
947
|
+
.subscribe();
|
|
948
|
+
};
|
|
949
|
+
DatatablePreferencesService.prototype.withColumnPreferences = function (preferenceKey, columns) {
|
|
950
|
+
return this.preferences(preferenceKey).pipe(operators.startWith({}), operators.map(function (preferences) { return preferences && preferences.columns
|
|
951
|
+
? withStoredColumnInfo(columns, preferences.columns)
|
|
952
|
+
: columns; }));
|
|
953
|
+
};
|
|
954
|
+
return DatatablePreferencesService;
|
|
955
|
+
}());
|
|
956
|
+
DatatablePreferencesService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DatatablePreferencesService_Factory() { return new DatatablePreferencesService(i0__namespace.ɵɵinject(THESEAM_DATATABLE_PREFERENCES_ACCESSOR, 8)); }, token: DatatablePreferencesService, providedIn: "root" });
|
|
957
|
+
DatatablePreferencesService.decorators = [
|
|
958
|
+
{ type: i0.Injectable, args: [{
|
|
959
|
+
providedIn: 'root'
|
|
960
|
+
},] }
|
|
961
|
+
];
|
|
962
|
+
DatatablePreferencesService.ctorParameters = function () { return [
|
|
963
|
+
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_DATATABLE_PREFERENCES_ACCESSOR,] }] }
|
|
964
|
+
]; };
|
|
965
|
+
|
|
966
|
+
var THESEAM_DATATABLE_ACCESSOR = new i0.InjectionToken('TheSeamDatatableAccessor');
|
|
967
|
+
|
|
968
|
+
function _setColumnDefaults(columns) {
|
|
969
|
+
var e_1, _h;
|
|
970
|
+
try {
|
|
971
|
+
for (var columns_1 = __values(columns), columns_1_1 = columns_1.next(); !columns_1_1.done; columns_1_1 = columns_1.next()) {
|
|
972
|
+
var column = columns_1_1.value;
|
|
973
|
+
if (!column.hasOwnProperty('hidden')) {
|
|
974
|
+
column.hidden = false;
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
979
|
+
finally {
|
|
980
|
+
try {
|
|
981
|
+
if (columns_1_1 && !columns_1_1.done && (_h = columns_1.return)) _h.call(columns_1);
|
|
982
|
+
}
|
|
983
|
+
finally { if (e_1) throw e_1.error; }
|
|
984
|
+
}
|
|
985
|
+
ngxDatatable.setColumnDefaults(columns);
|
|
986
|
+
}
|
|
987
|
+
/**
|
|
988
|
+
* Intended for internal classes declared by the `TheSeamDatatableModule`.
|
|
989
|
+
*/
|
|
990
|
+
var THESEAM_DATATABLE = new i0.InjectionToken('LibDatatable');
|
|
991
|
+
var _THESEAM_DATATABLE = {
|
|
992
|
+
provide: THESEAM_DATATABLE,
|
|
993
|
+
// tslint:disable-next-line:no-use-before-declare
|
|
994
|
+
useExisting: i0.forwardRef(function () { return DatatableComponent; })
|
|
995
|
+
};
|
|
996
|
+
var _THESEAM_DATATABLE_ACCESSOR = {
|
|
997
|
+
provide: THESEAM_DATATABLE_ACCESSOR,
|
|
998
|
+
// tslint:disable-next-line:no-use-before-declare
|
|
999
|
+
useExisting: i0.forwardRef(function () { return DatatableComponent; })
|
|
1000
|
+
};
|
|
1001
|
+
// TODO: Reduce reliance on BehaviorSubject based observables, because it should
|
|
1002
|
+
// be easier to avoit over emitting observables.
|
|
1003
|
+
var DatatableComponent = /** @class */ (function () {
|
|
1004
|
+
function DatatableComponent(_columnChangesService, _differs, _preferences) {
|
|
1005
|
+
var _this = this;
|
|
1006
|
+
// this.displayColumns$ = this.hiddenColumns$.pipe(
|
|
1007
|
+
// switchMap(hiddenColumns => this.columns$.pipe(map(cols => cols.filter(c => hiddenColumns.findIndex(hc => hc === c.prop) === -1))))
|
|
1008
|
+
// )
|
|
1009
|
+
this._columnChangesService = _columnChangesService;
|
|
1010
|
+
this._differs = _differs;
|
|
1011
|
+
this._preferences = _preferences;
|
|
1012
|
+
this.faChevronDown = freeSolidSvgIcons.faChevronDown;
|
|
1013
|
+
this.faChevronRight = freeSolidSvgIcons.faChevronRight;
|
|
1014
|
+
this.faSpinner = freeSolidSvgIcons.faSpinner;
|
|
1015
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
1016
|
+
this._filtersSubject = new rxjs.BehaviorSubject([]);
|
|
1017
|
+
this._columnsObservable = new rxjs.BehaviorSubject(undefined);
|
|
1018
|
+
this._dataSourceSubject = new rxjs.BehaviorSubject(undefined);
|
|
1019
|
+
this._preferencesKey = new rxjs.BehaviorSubject(undefined);
|
|
1020
|
+
this._columns = new rxjs.BehaviorSubject([]);
|
|
1021
|
+
this._rows = new rxjs.BehaviorSubject([]);
|
|
1022
|
+
this.columnMode = ngxDatatable.ColumnMode.force;
|
|
1023
|
+
this.selected = [];
|
|
1024
|
+
this.externalPaging = false;
|
|
1025
|
+
this.externalSorting = false;
|
|
1026
|
+
this.externalFiltering = false;
|
|
1027
|
+
this.count = 0;
|
|
1028
|
+
this.offset = 0;
|
|
1029
|
+
this.loadingIndicator = false;
|
|
1030
|
+
this.reorderable = true;
|
|
1031
|
+
this.swapColumns = false;
|
|
1032
|
+
this.sortType = ngxDatatable.SortType.single;
|
|
1033
|
+
this._sorts = [];
|
|
1034
|
+
this.cssClasses = {
|
|
1035
|
+
sortAscending: 'datatable-icon-up',
|
|
1036
|
+
sortDescending: 'datatable-icon-down',
|
|
1037
|
+
pagerLeftArrow: 'datatable-icon-left',
|
|
1038
|
+
pagerRightArrow: 'datatable-icon-right',
|
|
1039
|
+
pagerPrevious: 'datatable-icon-prev',
|
|
1040
|
+
pagerNext: 'datatable-icon-skip'
|
|
1041
|
+
};
|
|
1042
|
+
this.messages = {
|
|
1043
|
+
// Message to show when array is presented
|
|
1044
|
+
// but contains no values
|
|
1045
|
+
emptyMessage: 'No records found',
|
|
1046
|
+
// Footer total message
|
|
1047
|
+
totalMessage: 'total',
|
|
1048
|
+
// Footer selected message
|
|
1049
|
+
selectedMessage: 'selected'
|
|
1050
|
+
};
|
|
1051
|
+
this.rowIdentity = (function (x) { return x; });
|
|
1052
|
+
this.groupExpansionDefault = false;
|
|
1053
|
+
this.selectAllRowsOnPage = false;
|
|
1054
|
+
this.summaryRow = false;
|
|
1055
|
+
this.summaryHeight = 30;
|
|
1056
|
+
this.summaryPosition = 'top';
|
|
1057
|
+
this.virtualization = true;
|
|
1058
|
+
this.headerHeight = 50;
|
|
1059
|
+
this.rowHeight = 50;
|
|
1060
|
+
this.footerHeight = 40;
|
|
1061
|
+
this.scrollbarV = true;
|
|
1062
|
+
this.scrollbarH = true;
|
|
1063
|
+
this.scroll = new i0.EventEmitter();
|
|
1064
|
+
this.activate = new i0.EventEmitter();
|
|
1065
|
+
this.select = new i0.EventEmitter();
|
|
1066
|
+
this.sort = new i0.EventEmitter();
|
|
1067
|
+
this.page = new i0.EventEmitter();
|
|
1068
|
+
this.reorder = new i0.EventEmitter();
|
|
1069
|
+
this.resize = new i0.EventEmitter();
|
|
1070
|
+
this.tableContextmenu = new i0.EventEmitter(false);
|
|
1071
|
+
this.treeAction = new i0.EventEmitter();
|
|
1072
|
+
this.actionRefreshRequest = new i0.EventEmitter();
|
|
1073
|
+
this.hiddenColumnsChange = new i0.EventEmitter();
|
|
1074
|
+
this._colDiffersInp = {};
|
|
1075
|
+
this._colDiffersTpl = {};
|
|
1076
|
+
this._rowDetailToggleSubscription = rxjs.Subscription.EMPTY;
|
|
1077
|
+
var applyPrefs = function (cols) { return _this._preferencesKey.pipe(operators.switchMap(function (name) { return !!name
|
|
1078
|
+
// NOTE: This pending check is temporary to avoid table using previously
|
|
1079
|
+
// retrieved preference while the new one is being updated on the
|
|
1080
|
+
// server.
|
|
1081
|
+
? !_this._preferences.pending
|
|
1082
|
+
? _this._preferences.withColumnPreferences(name, cols)
|
|
1083
|
+
: rxjs.of(cols)
|
|
1084
|
+
: rxjs.of(cols); })); };
|
|
1085
|
+
this.columns$ = this._columnsObservable.pipe(operators.switchMap(function (colsObs) { return colsObs !== null && colsObs !== void 0 ? colsObs : rxjs.of([]); }));
|
|
1086
|
+
this.displayColumns$ = this.columns$.pipe(operators.map(function (cols) { return cols.filter(function (c) { return !c.hidden; }); }), operators.tap(function (v) { return _this._removeUnusedDiffs(v); }), operators.switchMap(function (cols) { return applyPrefs(cols); }));
|
|
1087
|
+
this.filters$ = this._filtersSubject.asObservable();
|
|
1088
|
+
this.filterStates = this._filtersSubject.asObservable().pipe(operators.switchMap(function (filters) { return dataFilters.composeDataFilterStates(filters); }));
|
|
1089
|
+
// this.rows$ = this._filtersSubject.asObservable()
|
|
1090
|
+
// .pipe(
|
|
1091
|
+
// switchMap(filters => {
|
|
1092
|
+
// if (this.externalFiltering) {
|
|
1093
|
+
// return this._rows.asObservable()
|
|
1094
|
+
// }
|
|
1095
|
+
// return this._rows.asObservable().pipe(composeDataFilters(filters))
|
|
1096
|
+
// })
|
|
1097
|
+
// )
|
|
1098
|
+
this.rows$ = this._dataSourceSubject.pipe(operators.switchMap(function (dataSource) {
|
|
1099
|
+
// console.log('dataSource', dataSource)
|
|
1100
|
+
var dataStream;
|
|
1101
|
+
if (collections.isDataSource(dataSource)) {
|
|
1102
|
+
// console.log('~datasource')
|
|
1103
|
+
dataStream = dataSource.connect(_this);
|
|
1104
|
+
}
|
|
1105
|
+
else if (rxjs.isObservable(dataSource)) {
|
|
1106
|
+
// console.log('~observable')
|
|
1107
|
+
dataStream = dataSource;
|
|
1108
|
+
}
|
|
1109
|
+
else if (Array.isArray(dataSource)) {
|
|
1110
|
+
// console.log('~array')
|
|
1111
|
+
dataStream = rxjs.of(dataSource);
|
|
1112
|
+
}
|
|
1113
|
+
else {
|
|
1114
|
+
// console.log('~rows fallback')
|
|
1115
|
+
dataStream = _this._rows.asObservable();
|
|
1116
|
+
// .pipe(tap(v => console.log('rows~', v)))
|
|
1117
|
+
}
|
|
1118
|
+
if (!_this.externalFiltering) {
|
|
1119
|
+
// console.log('not using externalFiltering')
|
|
1120
|
+
dataStream = dataStream.pipe(operators.switchMap(function (rows) { return _this._filtersSubject.pipe(
|
|
1121
|
+
// tap(v => console.log('filters', v)),
|
|
1122
|
+
operators.concatMap(function (filters) { return rxjs.of(rows).pipe(dataFilters.composeDataFilters(filters)); })); }));
|
|
1123
|
+
// dataStream = this._filtersSubject.pipe(
|
|
1124
|
+
// tap(v => console.log('filters', v)),
|
|
1125
|
+
// concatMap(filters => dataStream.pipe(composeDataFilters(filters))),
|
|
1126
|
+
// tap(v => console.log('composed filters', v)),
|
|
1127
|
+
// )
|
|
1128
|
+
}
|
|
1129
|
+
return dataStream.pipe(
|
|
1130
|
+
// tap(v => console.log('stream', v)),
|
|
1131
|
+
operators.takeUntil(_this._ngUnsubscribe));
|
|
1132
|
+
}));
|
|
1133
|
+
// this.hiddenColumns$ = this._hiddenColumns.asObservable()
|
|
1134
|
+
// this._hiddenColumns.pipe(
|
|
1135
|
+
// skip(1),
|
|
1136
|
+
// distinctUntilChanged((a, b) => {
|
|
1137
|
+
// const _a = Array.isArray(a) ? a : []
|
|
1138
|
+
// const _b = Array.isArray(b) ? b : []
|
|
1139
|
+
// if (_a.length !== _b.length) { return false }
|
|
1140
|
+
// const _as = _a.sort()
|
|
1141
|
+
// const _bs = _b.sort()
|
|
1142
|
+
// return !_as.sort().every((value: string, index: number) => _bs[index] === value)
|
|
1143
|
+
// }),
|
|
1144
|
+
// tap(v => this.hiddenColumnsChange.emit(v)),
|
|
1145
|
+
// untilDestroyed(this)
|
|
1146
|
+
// ).subscribe(v => console.log('hiddenColumnsChange', v))
|
|
1147
|
+
// TODO: Implement viewChange for CollectionViewer.
|
|
1148
|
+
this.viewChange = this.page.pipe(operators.map(function (p) { return ({ start: 0, end: p.count }); }));
|
|
1149
|
+
}
|
|
1150
|
+
Object.defineProperty(DatatableComponent.prototype, "filters", {
|
|
1151
|
+
get: function () { return this._filtersSubject.value; },
|
|
1152
|
+
enumerable: false,
|
|
1153
|
+
configurable: true
|
|
1154
|
+
});
|
|
1155
|
+
Object.defineProperty(DatatableComponent.prototype, "preferencesKey", {
|
|
1156
|
+
get: function () { return this._preferencesKey.value; },
|
|
1157
|
+
set: function (value) { this._preferencesKey.next(value || undefined); },
|
|
1158
|
+
enumerable: false,
|
|
1159
|
+
configurable: true
|
|
1160
|
+
});
|
|
1161
|
+
Object.defineProperty(DatatableComponent.prototype, "columns", {
|
|
1162
|
+
get: function () { return this._columns.value; },
|
|
1163
|
+
set: function (value) {
|
|
1164
|
+
// console.log('columns input', value)
|
|
1165
|
+
this._columns.next(Array.isArray(value) ? value : []);
|
|
1166
|
+
},
|
|
1167
|
+
enumerable: false,
|
|
1168
|
+
configurable: true
|
|
1169
|
+
});
|
|
1170
|
+
Object.defineProperty(DatatableComponent.prototype, "rows", {
|
|
1171
|
+
get: function () { return this._rows.value; },
|
|
1172
|
+
set: function (value) { this._rows.next(value || []); },
|
|
1173
|
+
enumerable: false,
|
|
1174
|
+
configurable: true
|
|
1175
|
+
});
|
|
1176
|
+
Object.defineProperty(DatatableComponent.prototype, "sorts", {
|
|
1177
|
+
get: function () { return this.ngxDatatable ? this.ngxDatatable.sorts : this._sorts; },
|
|
1178
|
+
set: function (value) {
|
|
1179
|
+
this._sorts = utils.notNullOrUndefined(value) ? coercion.coerceArray(value) : [];
|
|
1180
|
+
},
|
|
1181
|
+
enumerable: false,
|
|
1182
|
+
configurable: true
|
|
1183
|
+
});
|
|
1184
|
+
Object.defineProperty(DatatableComponent.prototype, "dataSource", {
|
|
1185
|
+
set: function (value) {
|
|
1186
|
+
if (value instanceof DatatableDataSource) {
|
|
1187
|
+
value.setDatatableAccessor(this);
|
|
1188
|
+
}
|
|
1189
|
+
this._dataSourceSubject.next(value || undefined);
|
|
1190
|
+
},
|
|
1191
|
+
enumerable: false,
|
|
1192
|
+
configurable: true
|
|
1193
|
+
});
|
|
1194
|
+
Object.defineProperty(DatatableComponent.prototype, "menuBarComponent", {
|
|
1195
|
+
get: function () { return this._menuBarComponent; },
|
|
1196
|
+
set: function (value) {
|
|
1197
|
+
var _this = this;
|
|
1198
|
+
var _a;
|
|
1199
|
+
this._menuBarComponent = value;
|
|
1200
|
+
if (this._menuBarSub) {
|
|
1201
|
+
this._menuBarSub.unsubscribe();
|
|
1202
|
+
}
|
|
1203
|
+
if (value) {
|
|
1204
|
+
this._setMenuBarFilters(value.filters());
|
|
1205
|
+
this._menuBarSub = (_a = this._menuBarComponent) === null || _a === void 0 ? void 0 : _a.filtersChanged.subscribe(function (v) { _this._setMenuBarFilters(value.filters()); });
|
|
1206
|
+
}
|
|
1207
|
+
},
|
|
1208
|
+
enumerable: false,
|
|
1209
|
+
configurable: true
|
|
1210
|
+
});
|
|
1211
|
+
DatatableComponent.prototype.ngOnInit = function () {
|
|
1212
|
+
var _this = this;
|
|
1213
|
+
if (this.rowDetail) {
|
|
1214
|
+
this._rowDetailToggleSubscription = this.rowDetail._toggle.subscribe(function (event) {
|
|
1215
|
+
if (_this.ngxRowDetail) {
|
|
1216
|
+
_this.ngxRowDetail.toggle.emit(event);
|
|
1217
|
+
}
|
|
1218
|
+
});
|
|
1219
|
+
}
|
|
1220
|
+
};
|
|
1221
|
+
DatatableComponent.prototype.ngOnDestroy = function () {
|
|
1222
|
+
this._rowDetailToggleSubscription.unsubscribe();
|
|
1223
|
+
};
|
|
1224
|
+
DatatableComponent.prototype.ngAfterContentInit = function () {
|
|
1225
|
+
var _this = this;
|
|
1226
|
+
var _a, _b;
|
|
1227
|
+
this.columnComponents$ = this._columnChangesService.columnInputChanges$.pipe(operators.map(function () { var _a, _b; return (_b = (_a = _this.columnComponents) === null || _a === void 0 ? void 0 : _a.toArray()) !== null && _b !== void 0 ? _b : []; }), operators.startWith((_b = (_a = this.columnComponents) === null || _a === void 0 ? void 0 : _a.toArray()) !== null && _b !== void 0 ? _b : []), operators.shareReplay({ bufferSize: 1, refCount: true }));
|
|
1228
|
+
var _columns = rxjs.combineLatest([
|
|
1229
|
+
this.columnComponents$,
|
|
1230
|
+
this._columns
|
|
1231
|
+
]).pipe(operators.map(function (v) { var _a; return _this._getMergedTplAndInpColumns(v[0], (_a = v[1]) !== null && _a !== void 0 ? _a : []); }),
|
|
1232
|
+
// tap(v => console.log('cols', v)),
|
|
1233
|
+
operators.shareReplay({ bufferSize: 1, refCount: true }));
|
|
1234
|
+
this._columnsObservable.next(_columns);
|
|
1235
|
+
};
|
|
1236
|
+
DatatableComponent.prototype._getMergedTplAndInpColumns = function (tplCols, inpCols) {
|
|
1237
|
+
var e_2, _h, e_3, _j;
|
|
1238
|
+
var cols = [];
|
|
1239
|
+
if (this.selectionType === 'checkbox') {
|
|
1240
|
+
var checkBoxCol = {
|
|
1241
|
+
prop: '$$__checkbox__',
|
|
1242
|
+
name: '',
|
|
1243
|
+
width: 40,
|
|
1244
|
+
sortable: false,
|
|
1245
|
+
canAutoResize: false,
|
|
1246
|
+
draggable: false,
|
|
1247
|
+
resizeable: false,
|
|
1248
|
+
headerCheckboxable: true,
|
|
1249
|
+
checkboxable: true
|
|
1250
|
+
};
|
|
1251
|
+
cols.push(checkBoxCol);
|
|
1252
|
+
}
|
|
1253
|
+
var _tplCols = ngxDatatable.translateTemplates((tplCols || []));
|
|
1254
|
+
var _loop_1 = function (col) {
|
|
1255
|
+
var tplCol = _tplCols.find(function (t) { return t.prop === col.prop; });
|
|
1256
|
+
// console.log({ col: { ...(col || {}) }, tplCol: { ...(tplCol || {}) } })
|
|
1257
|
+
var dtColumns = (this_1.ngxDatatable && this_1.ngxDatatable._internalColumns) || [];
|
|
1258
|
+
var prev = dtColumns.find(function (c) { return c.prop === col.prop; });
|
|
1259
|
+
var inpColDiff = this_1._getColDiff(col);
|
|
1260
|
+
var _inpCol = inpColDiff ? {} : this_1._hasPrevColDiff(col) ? {} : col;
|
|
1261
|
+
if (inpColDiff) {
|
|
1262
|
+
inpColDiff.forEachRemovedItem(function (r) {
|
|
1263
|
+
if (prev && prev.hasOwnProperty(r.key)) {
|
|
1264
|
+
var k = r.key;
|
|
1265
|
+
delete prev[k];
|
|
1266
|
+
}
|
|
1267
|
+
});
|
|
1268
|
+
inpColDiff.forEachAddedItem(function (r) { return _inpCol[r.key] = r.currentValue; });
|
|
1269
|
+
inpColDiff.forEachChangedItem(function (r) { return _inpCol[r.key] = r.currentValue; });
|
|
1270
|
+
}
|
|
1271
|
+
var _tplCol = {};
|
|
1272
|
+
if (tplCol) {
|
|
1273
|
+
var tplColDiff = tplCol ? this_1._getColDiff(tplCol, true) : undefined;
|
|
1274
|
+
_tplCol = tplColDiff ? {} : this_1._hasPrevColDiff(col, true) ? {} : tplCol;
|
|
1275
|
+
if (tplColDiff) {
|
|
1276
|
+
tplColDiff.forEachRemovedItem(function (r) {
|
|
1277
|
+
if (prev && prev.hasOwnProperty(r.key)) {
|
|
1278
|
+
var k = r.key;
|
|
1279
|
+
delete prev[k];
|
|
1280
|
+
}
|
|
1281
|
+
});
|
|
1282
|
+
tplColDiff.forEachAddedItem(function (r) { return _tplCol[r.key] = r.currentValue; });
|
|
1283
|
+
tplColDiff.forEachChangedItem(function (r) { return _tplCol[r.key] = r.currentValue; });
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
var _col = Object.assign(Object.assign(Object.assign({}, (prev || {})), _inpCol), _tplCol);
|
|
1287
|
+
cols.push(_col);
|
|
1288
|
+
};
|
|
1289
|
+
var this_1 = this;
|
|
1290
|
+
try {
|
|
1291
|
+
for (var inpCols_1 = __values(inpCols), inpCols_1_1 = inpCols_1.next(); !inpCols_1_1.done; inpCols_1_1 = inpCols_1.next()) {
|
|
1292
|
+
var col = inpCols_1_1.value;
|
|
1293
|
+
_loop_1(col);
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1297
|
+
finally {
|
|
1298
|
+
try {
|
|
1299
|
+
if (inpCols_1_1 && !inpCols_1_1.done && (_h = inpCols_1.return)) _h.call(inpCols_1);
|
|
1300
|
+
}
|
|
1301
|
+
finally { if (e_2) throw e_2.error; }
|
|
1302
|
+
}
|
|
1303
|
+
if (this.rowActionItem) {
|
|
1304
|
+
var actionMenuColumn = {
|
|
1305
|
+
prop: '$$__actionMenu__',
|
|
1306
|
+
name: '',
|
|
1307
|
+
width: 50,
|
|
1308
|
+
minWidth: 50,
|
|
1309
|
+
maxWidth: 50,
|
|
1310
|
+
resizeable: false,
|
|
1311
|
+
sortable: false,
|
|
1312
|
+
draggable: false,
|
|
1313
|
+
// TODO: Fix column auto sizing with fixed column and cell overlay before enabling.
|
|
1314
|
+
// frozenRight: true,
|
|
1315
|
+
cellTemplate: this.actionMenuCellTpl,
|
|
1316
|
+
headerTemplate: this.blankHeaderTpl
|
|
1317
|
+
};
|
|
1318
|
+
cols.push(actionMenuColumn);
|
|
1319
|
+
}
|
|
1320
|
+
try {
|
|
1321
|
+
for (var cols_1 = __values(cols), cols_1_1 = cols_1.next(); !cols_1_1.done; cols_1_1 = cols_1.next()) {
|
|
1322
|
+
var col = cols_1_1.value;
|
|
1323
|
+
if (col.isTreeColumn && utils.hasProperty(col, 'treeToggleTemplate')) {
|
|
1324
|
+
col.treeToggleTemplate = this.treeToggleTpl;
|
|
1325
|
+
}
|
|
1326
|
+
if (!utils.hasProperty(col, 'headerTemplate')) {
|
|
1327
|
+
col.headerTemplate = this.headerTpl;
|
|
1328
|
+
}
|
|
1329
|
+
if (utils.hasProperty(col, 'cellType')) {
|
|
1330
|
+
col.cellTemplate = this.cellTypeSelectorTpl;
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
1335
|
+
finally {
|
|
1336
|
+
try {
|
|
1337
|
+
if (cols_1_1 && !cols_1_1.done && (_j = cols_1.return)) _j.call(cols_1);
|
|
1338
|
+
}
|
|
1339
|
+
finally { if (e_3) throw e_3.error; }
|
|
1340
|
+
}
|
|
1341
|
+
// setColumnDefaults(cols)
|
|
1342
|
+
_setColumnDefaults(cols);
|
|
1343
|
+
// console.log(cols.map(c => ({ prop: c.prop, canAutoResize: c.canAutoResize })))
|
|
1344
|
+
return cols;
|
|
1345
|
+
};
|
|
1346
|
+
DatatableComponent.prototype._hasPrevColDiff = function (col, isTpl) {
|
|
1347
|
+
if (isTpl === void 0) { isTpl = false; }
|
|
1348
|
+
if (!col || !col.prop) {
|
|
1349
|
+
return false;
|
|
1350
|
+
}
|
|
1351
|
+
var differsMap = isTpl ? this._colDiffersTpl : this._colDiffersInp;
|
|
1352
|
+
return !!differsMap;
|
|
1353
|
+
};
|
|
1354
|
+
DatatableComponent.prototype._getColDiff = function (col, isTpl) {
|
|
1355
|
+
if (isTpl === void 0) { isTpl = false; }
|
|
1356
|
+
if (!col || !col.prop) {
|
|
1357
|
+
return;
|
|
1358
|
+
}
|
|
1359
|
+
var differsMap = isTpl ? this._colDiffersTpl : this._colDiffersInp;
|
|
1360
|
+
if (!differsMap[col.prop]) {
|
|
1361
|
+
differsMap[col.prop] = this._differs.find({}).create();
|
|
1362
|
+
}
|
|
1363
|
+
var differ = differsMap[col.prop];
|
|
1364
|
+
var diff = differ.diff(col);
|
|
1365
|
+
return diff;
|
|
1366
|
+
};
|
|
1367
|
+
DatatableComponent.prototype._removeUnusedDiffs = function (cols) {
|
|
1368
|
+
var _this = this;
|
|
1369
|
+
var inpKeys = Object.keys(this._colDiffersInp);
|
|
1370
|
+
inpKeys.filter(function (k) { return cols.findIndex(function (c) { return c.prop === k; }) === -1; })
|
|
1371
|
+
.forEach(function (k) { delete _this._colDiffersInp[k]; });
|
|
1372
|
+
var tplKeys = Object.keys(this._colDiffersTpl);
|
|
1373
|
+
tplKeys.filter(function (k) { return cols.findIndex(function (c) { return c.prop === k; }) === -1; })
|
|
1374
|
+
.forEach(function (k) { delete _this._colDiffersTpl[k]; });
|
|
1375
|
+
};
|
|
1376
|
+
DatatableComponent.prototype._setMenuBarFilters = function (filters) {
|
|
1377
|
+
// console.log('_setMenuBarFilters', filters)
|
|
1378
|
+
this._filtersSubject.next(filters || []);
|
|
1379
|
+
};
|
|
1380
|
+
DatatableComponent.prototype.getColumnComponent = function (propName) {
|
|
1381
|
+
if (!this.columnComponents || this.columnComponents.length === 0) {
|
|
1382
|
+
return null;
|
|
1383
|
+
}
|
|
1384
|
+
var tpl = this.columnComponents.find(function (t) { return t.prop === propName; });
|
|
1385
|
+
if (tpl) {
|
|
1386
|
+
return tpl;
|
|
1387
|
+
}
|
|
1388
|
+
return null;
|
|
1389
|
+
};
|
|
1390
|
+
DatatableComponent.prototype._columnData = function (col) {
|
|
1391
|
+
var comp = this.getColumnComponent(col.prop);
|
|
1392
|
+
return { col: col, comp: comp };
|
|
1393
|
+
};
|
|
1394
|
+
DatatableComponent.prototype._getRowExpanded = function (row) {
|
|
1395
|
+
if (this.ngxDatatable && this.ngxDatatable.bodyComponent) {
|
|
1396
|
+
return this.ngxDatatable.bodyComponent.getRowExpanded(row);
|
|
1397
|
+
}
|
|
1398
|
+
return false;
|
|
1399
|
+
};
|
|
1400
|
+
DatatableComponent.prototype.trackByFnColumn = function (index, item) {
|
|
1401
|
+
return item.prop;
|
|
1402
|
+
};
|
|
1403
|
+
DatatableComponent.prototype.onDatatableResize = function (event) {
|
|
1404
|
+
if (this.ngxDatatable && this.ngxDatatableElement && this.ngxDatatableElement.nativeElement) {
|
|
1405
|
+
// TODO: Consider integrating this into the ngx-datatable library to avoid
|
|
1406
|
+
// multiple resize calls when the table resizes itself.
|
|
1407
|
+
this.ngxDatatable.recalculate();
|
|
1408
|
+
}
|
|
1409
|
+
};
|
|
1410
|
+
DatatableComponent.prototype._onResize = function (event) {
|
|
1411
|
+
// console.log('resize', event, event.column.prop)
|
|
1412
|
+
this.resize.emit(event);
|
|
1413
|
+
if (event.isDone && this.columns) {
|
|
1414
|
+
var columns = this.columns;
|
|
1415
|
+
var col = columns.find(function (c) { return c.prop === event.column.prop; });
|
|
1416
|
+
if (col) {
|
|
1417
|
+
col.canAutoResize = false;
|
|
1418
|
+
}
|
|
1419
|
+
if (this.preferencesKey) {
|
|
1420
|
+
var pref = { prop: event.column.prop, width: event.column.width, canAutoResize: false };
|
|
1421
|
+
this._preferences.setColumnPreference(this.preferencesKey, pref);
|
|
1422
|
+
}
|
|
1423
|
+
this.columns = __spreadArray([], __read(this.columns));
|
|
1424
|
+
}
|
|
1425
|
+
};
|
|
1426
|
+
DatatableComponent.prototype._onTreeAction = function (event) {
|
|
1427
|
+
var index = event.rowIndex;
|
|
1428
|
+
var row = event.row;
|
|
1429
|
+
if (row.treeStatus === 'collapsed') {
|
|
1430
|
+
row.treeStatus = 'expanded';
|
|
1431
|
+
}
|
|
1432
|
+
else {
|
|
1433
|
+
row.treeStatus = 'collapsed';
|
|
1434
|
+
}
|
|
1435
|
+
this.rows = __spreadArray([], __read(this.rows));
|
|
1436
|
+
};
|
|
1437
|
+
DatatableComponent.prototype.triggerActionRefreshRequest = function () {
|
|
1438
|
+
this.actionRefreshRequest.emit(undefined);
|
|
1439
|
+
};
|
|
1440
|
+
Object.defineProperty(DatatableComponent.prototype, "pageInfo", {
|
|
1441
|
+
get: function () {
|
|
1442
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1443
|
+
return {
|
|
1444
|
+
offset: (_b = (_a = this.ngxDatatable) === null || _a === void 0 ? void 0 : _a.offset) !== null && _b !== void 0 ? _b : 0,
|
|
1445
|
+
pageSize: (_d = (_c = this.ngxDatatable) === null || _c === void 0 ? void 0 : _c.pageSize) !== null && _d !== void 0 ? _d : 0,
|
|
1446
|
+
limit: (_e = this.ngxDatatable) === null || _e === void 0 ? void 0 : _e.limit,
|
|
1447
|
+
count: (_g = (_f = this.ngxDatatable) === null || _f === void 0 ? void 0 : _f.count) !== null && _g !== void 0 ? _g : 0
|
|
1448
|
+
};
|
|
1449
|
+
},
|
|
1450
|
+
enumerable: false,
|
|
1451
|
+
configurable: true
|
|
1452
|
+
});
|
|
1453
|
+
return DatatableComponent;
|
|
1454
|
+
}());
|
|
1455
|
+
DatatableComponent.decorators = [
|
|
1456
|
+
{ type: i0.Component, args: [{
|
|
1457
|
+
selector: 'seam-datatable',
|
|
1458
|
+
template: "<div class=\"datatable-wrapper\">\n <ng-content select=\"seam-datatable-menu-bar\"></ng-content>\n <div class=\"datatable-table-wrapper\">\n <ng-container>\n <ngx-datatable\n class=\"bootstrap\"\n [columnMode]=\"$any(columnMode)\"\n [scrollbarV]=\"scrollbarV\"\n [scrollbarH]=\"scrollbarH\"\n [virtualization]=\"virtualization\"\n [targetMarkerTemplate]=\"targetMarkerTemplate\"\n [groupRowsBy]=\"$any(groupRowsBy)\"\n [groupedRows]=\"$any(groupedRows)\"\n [selected]=\"$any(selected)\"\n [externalPaging]=\"externalPaging\"\n [externalSorting]=\"externalSorting\"\n [limit]=\"$any(limit)\"\n [count]=\"$any(count)\"\n [offset]=\"$any(offset)\"\n [loadingIndicator]=\"loadingIndicator\"\n [selectionType]=\"$any(selectionType)\"\n [reorderable]=\"reorderable\"\n [swapColumns]=\"swapColumns\"\n [sortType]=\"$any(sortType)\"\n [sorts]=\"$any(_sorts)\"\n [cssClasses]=\"cssClasses\"\n [messages]=\"messages\"\n [rowIdentity]=\"$any(rowIdentity)\"\n [rowClass]=\"rowClass\"\n [selectCheck]=\"selectCheck\"\n [displayCheck]=\"$any(displayCheck)\"\n [groupExpansionDefault]=\"groupExpansionDefault\"\n [trackByProp]=\"$any(trackByProp)\"\n [selectAllRowsOnPage]=\"selectAllRowsOnPage\"\n [treeFromRelation]=\"$any(treeFromRelation)\"\n [treeToRelation]=\"$any(treeToRelation)\"\n [summaryRow]=\"summaryRow\"\n [summaryHeight]=\"$any(summaryHeight)\"\n [summaryPosition]=\"$any(summaryPosition)\"\n [rows]=\"rows$ | async\"\n [columns]=\"$any(displayColumns$ | async)\"\n [headerHeight]=\"$any(headerHeight)\"\n [rowHeight]=\"$any(rowHeight)\"\n [footerHeight]=\"$any(footerHeight)\"\n (scroll)=\"scroll.emit($event)\"\n (activate)=\"activate.emit($event)\"\n (select)=\"select.emit($event)\"\n (sort)=\"sort.emit($event)\"\n (page)=\"page.emit($event)\"\n (reorder)=\"reorder.emit($event)\"\n (resize)=\"_onResize($event)\"\n (tableContextmenu)=\"tableContextmenu.emit($event)\"\n (treeAction)=\"treeAction.emit($event)\"\n (seamElemResized)=\"onDatatableResize($event)\"\n (treeAction)=\"_onTreeAction($event)\">\n\n <ngx-datatable-group-header [rowHeight]=\"50\" #myGroupHeader *ngIf=\"groupRowsBy\">\n <ng-template let-group=\"group\" let-expanded=\"expanded\" ngx-datatable-group-header-template>\n <div\n class=\"w-100 bg-light p-1\"\n [class.border-bottom]=\"!expanded\"\n [class.datatable-icon-right]=\"!expanded\"\n [class.datatable-icon-down]=\"expanded\"\n title=\"Expand/Collapse Group\"\n (click)=\"ngxDatatable?.groupHeader?.toggleExpandGroup(group)\">\n <b>Age: {{ group.age }}</b>\n </div>\n </ng-template>\n </ngx-datatable-group-header>\n\n <ngx-datatable-row-detail *ngIf=\"rowDetail && rowDetail.template\"\n [rowHeight]=\"rowDetail.rowHeight || 0\"\n [template]=\"$any(rowDetail.template)\"\n (toggle)=\"rowDetail.toggle.emit($event)\">\n </ngx-datatable-row-detail>\n\n </ngx-datatable>\n </ng-container>\n </div>\n</div>\n\n<ng-template #blankHeaderTpl ngx-datatable-header-template></ng-template>\n\n<ng-template #headerTpl ngx-datatable-header-template\n let-column=\"column\" let-sortFn=\"sortFn\">\n <strong *ngIf=\"!column.sortable\" class=\"draggable\">{{column.name}}</strong>\n <strong *ngIf=\"column.sortable\" class=\"datatable-sort-target draggable\" (click)=\"sortFn()\">{{column.name}}</strong>\n <div class=\"datatable-column-header-separator\"></div>\n</ng-template>\n\n<ng-template #cellTypeSelectorTpl ngx-datatable-cell-template\n let-value=\"value\" let-rowIndex=\"rowIndex\" let-row=\"row\" let-column=\"column\">\n <seam-table-cell-type-selector *ngIf=\"row\"\n [type]=\"column.cellType\"\n [value]=\"value\"\n [rowIndex]=\"rowIndex\"\n [row]=\"row\"\n [colData]=\"column\">\n </seam-table-cell-type-selector>\n</ng-template>\n\n<ng-template #actionMenuCellTpl ngx-datatable-cell-template\n let-value=\"value\" let-rowIndex=\"rowIndex\" let-row=\"row\">\n\n <ng-container *ngIf=\"row && rowActionItem?.template\">\n <ng-template\n [ngTemplateOutlet]=\"$any(rowActionItem?.template)\"\n [ngTemplateOutletContext]=\"{ $implicit: row, row: row, rowIndex: rowIndex }\">\n </ng-template>\n </ng-container>\n\n</ng-template>\n\n<ng-template #treeToggleTpl ngx-datatable-tree-toggle let-tree=\"cellContext\">\n <button\n class=\"p-0 bg-transparent border-0 btn\"\n [disabled]=\"tree.treeStatus==='disabled'\"\n (click)=\"tree.onTreeAction()\">\n <span *ngIf=\"tree.treeStatus==='loading'\">\n <fa-icon [icon]=\"faSpinner\"></fa-icon>\n </span>\n <span *ngIf=\"tree.treeStatus==='collapsed'\">\n <fa-icon [icon]=\"faChevronRight\"></fa-icon>\n </span>\n <span *ngIf=\"tree.treeStatus==='expanded'\">\n <fa-icon [icon]=\"faChevronDown\"></fa-icon>\n </span>\n <span *ngIf=\"tree.treeStatus==='disabled'\">\n <fa-icon [icon]=\"faChevronRight\"></fa-icon>\n </span>\n </button>\n</ng-template>\n",
|
|
1459
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1460
|
+
animations: [
|
|
1461
|
+
animations.trigger('slideDown', [
|
|
1462
|
+
animations.transition(':enter', [
|
|
1463
|
+
animations.style({ transform: 'translateY(-20%)', opacity: '0' }),
|
|
1464
|
+
animations.animate('250ms', animations.style({ transform: 'translateY(0)', opacity: '1' })),
|
|
1465
|
+
]),
|
|
1466
|
+
animations.transition(':leave', [
|
|
1467
|
+
animations.style({ transform: 'translateY(0)', opacity: '1' }),
|
|
1468
|
+
animations.animate('250ms', animations.style({ transform: 'translateY(-20%)', opacity: '0' })),
|
|
1469
|
+
])
|
|
1470
|
+
])
|
|
1471
|
+
],
|
|
1472
|
+
providers: [_THESEAM_DATATABLE, DatatableColumnChangesService, _THESEAM_DATATABLE_ACCESSOR],
|
|
1473
|
+
styles: [":host{display:flex;flex-grow:1;flex-direction:column}::ng-deep .seam-datatable-action-menu{min-width:auto!important}ngx-datatable{position:absolute;top:0;left:0;right:0;bottom:0}.datatable-wrapper{display:flex;flex-direction:column;flex-grow:1}.datatable-wrapper .datatable-table-wrapper{position:relative;flex:1 1 100%}.datatable-column-header-separator{position:absolute;top:12px;bottom:12px;right:0;width:2px;background-color:#e1e3e6}.datatable-sort-target{cursor:pointer}"]
|
|
1474
|
+
},] }
|
|
1475
|
+
];
|
|
1476
|
+
DatatableComponent.ctorParameters = function () { return [
|
|
1477
|
+
{ type: DatatableColumnChangesService },
|
|
1478
|
+
{ type: i0.KeyValueDiffers },
|
|
1479
|
+
{ type: DatatablePreferencesService }
|
|
1480
|
+
]; };
|
|
1481
|
+
DatatableComponent.propDecorators = {
|
|
1482
|
+
preferencesKey: [{ type: i0.Input }],
|
|
1483
|
+
targetMarkerTemplate: [{ type: i0.Input }],
|
|
1484
|
+
columns: [{ type: i0.Input }],
|
|
1485
|
+
rows: [{ type: i0.Input }],
|
|
1486
|
+
columnMode: [{ type: i0.Input }],
|
|
1487
|
+
groupRowsBy: [{ type: i0.Input }],
|
|
1488
|
+
groupedRows: [{ type: i0.Input }],
|
|
1489
|
+
selected: [{ type: i0.Input }],
|
|
1490
|
+
externalPaging: [{ type: i0.Input }],
|
|
1491
|
+
externalSorting: [{ type: i0.Input }],
|
|
1492
|
+
externalFiltering: [{ type: i0.Input }],
|
|
1493
|
+
limit: [{ type: i0.Input }],
|
|
1494
|
+
count: [{ type: i0.Input }],
|
|
1495
|
+
offset: [{ type: i0.Input }],
|
|
1496
|
+
loadingIndicator: [{ type: i0.Input }],
|
|
1497
|
+
selectionType: [{ type: i0.Input }],
|
|
1498
|
+
reorderable: [{ type: i0.Input }],
|
|
1499
|
+
swapColumns: [{ type: i0.Input }],
|
|
1500
|
+
sortType: [{ type: i0.Input }],
|
|
1501
|
+
sorts: [{ type: i0.Input }],
|
|
1502
|
+
cssClasses: [{ type: i0.Input }],
|
|
1503
|
+
messages: [{ type: i0.Input }],
|
|
1504
|
+
rowIdentity: [{ type: i0.Input }],
|
|
1505
|
+
rowClass: [{ type: i0.Input }],
|
|
1506
|
+
selectCheck: [{ type: i0.Input }],
|
|
1507
|
+
displayCheck: [{ type: i0.Input }],
|
|
1508
|
+
groupExpansionDefault: [{ type: i0.Input }],
|
|
1509
|
+
trackByProp: [{ type: i0.Input }],
|
|
1510
|
+
selectAllRowsOnPage: [{ type: i0.Input }],
|
|
1511
|
+
treeFromRelation: [{ type: i0.Input }],
|
|
1512
|
+
treeToRelation: [{ type: i0.Input }],
|
|
1513
|
+
summaryRow: [{ type: i0.Input }],
|
|
1514
|
+
summaryHeight: [{ type: i0.Input }],
|
|
1515
|
+
summaryPosition: [{ type: i0.Input }],
|
|
1516
|
+
virtualization: [{ type: i0.Input }],
|
|
1517
|
+
headerHeight: [{ type: i0.Input }],
|
|
1518
|
+
rowHeight: [{ type: i0.Input }],
|
|
1519
|
+
footerHeight: [{ type: i0.Input }],
|
|
1520
|
+
scrollbarV: [{ type: i0.Input }],
|
|
1521
|
+
scrollbarH: [{ type: i0.Input }],
|
|
1522
|
+
dataSource: [{ type: i0.Input }],
|
|
1523
|
+
scroll: [{ type: i0.Output }],
|
|
1524
|
+
activate: [{ type: i0.Output }],
|
|
1525
|
+
select: [{ type: i0.Output }],
|
|
1526
|
+
sort: [{ type: i0.Output }],
|
|
1527
|
+
page: [{ type: i0.Output }],
|
|
1528
|
+
reorder: [{ type: i0.Output }],
|
|
1529
|
+
resize: [{ type: i0.Output }],
|
|
1530
|
+
tableContextmenu: [{ type: i0.Output }],
|
|
1531
|
+
treeAction: [{ type: i0.Output }],
|
|
1532
|
+
actionRefreshRequest: [{ type: i0.Output }],
|
|
1533
|
+
hiddenColumnsChange: [{ type: i0.Output }],
|
|
1534
|
+
columnComponents: [{ type: i0.ContentChildren, args: [DatatableColumnComponent,] }],
|
|
1535
|
+
actionMenu: [{ type: i0.ContentChild, args: [DatatableActionMenuComponent, { static: true },] }],
|
|
1536
|
+
rowActionItem: [{ type: i0.ContentChild, args: [DatatableRowActionItemDirective, { static: true },] }],
|
|
1537
|
+
rowDetail: [{ type: i0.ContentChild, args: [TheSeamDatatableRowDetailDirective, { static: true },] }],
|
|
1538
|
+
menuBarComponent: [{ type: i0.ContentChild, args: [DatatableMenuBarComponent,] }],
|
|
1539
|
+
ngxDatatable: [{ type: i0.ViewChild, args: [ngxDatatable.DatatableComponent,] }],
|
|
1540
|
+
ngxDatatableElement: [{ type: i0.ViewChild, args: [ngxDatatable.DatatableComponent, { read: i0.ElementRef },] }],
|
|
1541
|
+
ngxRowDetail: [{ type: i0.ViewChild, args: [ngxDatatable.DatatableRowDetailDirective,] }],
|
|
1542
|
+
actionMenuCellTpl: [{ type: i0.ViewChild, args: ['actionMenuCellTpl', { static: true },] }],
|
|
1543
|
+
treeToggleTpl: [{ type: i0.ViewChild, args: ['treeToggleTpl', { static: true },] }],
|
|
1544
|
+
headerTpl: [{ type: i0.ViewChild, args: ['headerTpl', { static: true },] }],
|
|
1545
|
+
blankHeaderTpl: [{ type: i0.ViewChild, args: ['blankHeaderTpl', { static: true },] }],
|
|
1546
|
+
cellTypeSelectorTpl: [{ type: i0.ViewChild, args: ['cellTypeSelectorTpl', { static: true },] }]
|
|
1547
|
+
};
|
|
1548
|
+
__decorate([
|
|
1549
|
+
core.InputBoolean()
|
|
1550
|
+
], DatatableComponent.prototype, "externalPaging", void 0);
|
|
1551
|
+
__decorate([
|
|
1552
|
+
core.InputBoolean()
|
|
1553
|
+
], DatatableComponent.prototype, "externalSorting", void 0);
|
|
1554
|
+
__decorate([
|
|
1555
|
+
core.InputBoolean()
|
|
1556
|
+
], DatatableComponent.prototype, "externalFiltering", void 0);
|
|
1557
|
+
__decorate([
|
|
1558
|
+
core.InputNumber()
|
|
1559
|
+
], DatatableComponent.prototype, "limit", void 0);
|
|
1560
|
+
__decorate([
|
|
1561
|
+
core.InputNumber(0)
|
|
1562
|
+
], DatatableComponent.prototype, "count", void 0);
|
|
1563
|
+
__decorate([
|
|
1564
|
+
core.InputNumber(0)
|
|
1565
|
+
], DatatableComponent.prototype, "offset", void 0);
|
|
1566
|
+
__decorate([
|
|
1567
|
+
core.InputBoolean()
|
|
1568
|
+
], DatatableComponent.prototype, "loadingIndicator", void 0);
|
|
1569
|
+
__decorate([
|
|
1570
|
+
core.InputBoolean()
|
|
1571
|
+
], DatatableComponent.prototype, "reorderable", void 0);
|
|
1572
|
+
__decorate([
|
|
1573
|
+
core.InputBoolean()
|
|
1574
|
+
], DatatableComponent.prototype, "swapColumns", void 0);
|
|
1575
|
+
__decorate([
|
|
1576
|
+
core.InputBoolean()
|
|
1577
|
+
], DatatableComponent.prototype, "groupExpansionDefault", void 0);
|
|
1578
|
+
__decorate([
|
|
1579
|
+
core.InputBoolean()
|
|
1580
|
+
], DatatableComponent.prototype, "selectAllRowsOnPage", void 0);
|
|
1581
|
+
__decorate([
|
|
1582
|
+
core.InputBoolean()
|
|
1583
|
+
], DatatableComponent.prototype, "summaryRow", void 0);
|
|
1584
|
+
__decorate([
|
|
1585
|
+
core.InputNumber()
|
|
1586
|
+
], DatatableComponent.prototype, "summaryHeight", void 0);
|
|
1587
|
+
__decorate([
|
|
1588
|
+
core.InputBoolean()
|
|
1589
|
+
], DatatableComponent.prototype, "virtualization", void 0);
|
|
1590
|
+
__decorate([
|
|
1591
|
+
core.InputNumber()
|
|
1592
|
+
], DatatableComponent.prototype, "headerHeight", void 0);
|
|
1593
|
+
__decorate([
|
|
1594
|
+
core.InputNumber()
|
|
1595
|
+
], DatatableComponent.prototype, "rowHeight", void 0);
|
|
1596
|
+
__decorate([
|
|
1597
|
+
core.InputNumber()
|
|
1598
|
+
], DatatableComponent.prototype, "footerHeight", void 0);
|
|
1599
|
+
__decorate([
|
|
1600
|
+
core.InputBoolean()
|
|
1601
|
+
], DatatableComponent.prototype, "scrollbarV", void 0);
|
|
1602
|
+
__decorate([
|
|
1603
|
+
core.InputBoolean()
|
|
1604
|
+
], DatatableComponent.prototype, "scrollbarH", void 0);
|
|
1605
|
+
|
|
1606
|
+
var DatatableColumnPreferencesComponent = /** @class */ (function () {
|
|
1607
|
+
function DatatableColumnPreferencesComponent(_datatable) {
|
|
1608
|
+
var _a;
|
|
1609
|
+
this._datatable = _datatable;
|
|
1610
|
+
this._filterControl = new forms.FormControl();
|
|
1611
|
+
this._columns$ = rxjs.combineLatest([
|
|
1612
|
+
(_a = this._datatable.columns$) !== null && _a !== void 0 ? _a : rxjs.of([]),
|
|
1613
|
+
utils.observeControlValue(this._filterControl)
|
|
1614
|
+
]).pipe(operators.map(function (_b) {
|
|
1615
|
+
var _c = __read(_b, 2), columns = _c[0], filter = _c[1];
|
|
1616
|
+
var _filter = (filter || '').trim().toLowerCase();
|
|
1617
|
+
return columns.filter(function (c) { return ("" + (c.name || c.prop || '')).toLowerCase().indexOf(_filter) !== -1; });
|
|
1618
|
+
}), operators.map(function (cols) { return cols.sort(function (a, b) { return a.prop === b.prop ? 0 : a.prop > b.prop ? 1 : -1; }); }));
|
|
1619
|
+
}
|
|
1620
|
+
DatatableColumnPreferencesComponent.prototype.ngOnInit = function () { };
|
|
1621
|
+
DatatableColumnPreferencesComponent.prototype._onChange = function (event, col) {
|
|
1622
|
+
// TODO: Figure out the right way to update this value. If it is set by
|
|
1623
|
+
// column component input this may not work right.
|
|
1624
|
+
var columns = this._datatable.columns || [];
|
|
1625
|
+
var column = columns.find(function (c) { return c.prop === col.prop; });
|
|
1626
|
+
if (column) {
|
|
1627
|
+
column.hidden = !event.checked;
|
|
1628
|
+
this._datatable.columns = __spreadArray([], __read(columns));
|
|
1629
|
+
}
|
|
1630
|
+
};
|
|
1631
|
+
DatatableColumnPreferencesComponent.prototype._onCloseClick = function () {
|
|
1632
|
+
// TODO: Implement when PopoverRef is implemented.
|
|
1633
|
+
};
|
|
1634
|
+
return DatatableColumnPreferencesComponent;
|
|
1635
|
+
}());
|
|
1636
|
+
DatatableColumnPreferencesComponent.decorators = [
|
|
1637
|
+
{ type: i0.Component, args: [{
|
|
1638
|
+
selector: 'seam-datatable-column-preferences',
|
|
1639
|
+
template: "<h3>Columns</h3>\n\n<seam-form-field [numPaddingErrors]=\"0\" >\n <input seamInput [formControl]=\"_filterControl\" seamInputSize=\"sm\" placeholder=\"Search\">\n</seam-form-field>\n\n<div seamOverlayScrollbar style=\"min-height: 200px; max-height: 600px; min-width: 250px;\" class=\"flex-grow-1 mb-2\">\n <div class=\"p-2\">\n <ng-container *ngFor=\"let col of _columns$ | async\">\n <seam-checkbox [checked]=\"!col.hidden\" (change)=\"_onChange($event, col)\">{{ col.name || col.prop }}</seam-checkbox>\n </ng-container>\n </div>\n\n</div>\n<div class=\"d-flex flex-row justify-content-end\">\n <!-- <button seamButton size=\"sm\" theme=\"lightgray\" (click)=\"_onCloseClick()\">Close</button> -->\n <!-- <button seamButton size=\"sm\" theme=\"lightgray\" class=\"mr-1\">Cancel</button>\n <button seamButton size=\"sm\" theme=\"success\">Done</button> -->\n</div>\n",
|
|
1640
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1641
|
+
styles: [":host{display:flex;flex-direction:column}"]
|
|
1642
|
+
},] }
|
|
1643
|
+
];
|
|
1644
|
+
DatatableColumnPreferencesComponent.ctorParameters = function () { return [
|
|
1645
|
+
{ type: DatatableComponent, decorators: [{ type: i0.Inject, args: [THESEAM_DATATABLE,] }] }
|
|
1646
|
+
]; };
|
|
1647
|
+
|
|
1648
|
+
var DatatableColumnPreferencesButtonComponent = /** @class */ (function () {
|
|
1649
|
+
function DatatableColumnPreferencesButtonComponent() {
|
|
1650
|
+
this.icon = freeSolidSvgIcons.faColumns;
|
|
1651
|
+
}
|
|
1652
|
+
DatatableColumnPreferencesButtonComponent.prototype.ngOnInit = function () { };
|
|
1653
|
+
return DatatableColumnPreferencesButtonComponent;
|
|
1654
|
+
}());
|
|
1655
|
+
DatatableColumnPreferencesButtonComponent.decorators = [
|
|
1656
|
+
{ type: i0.Component, args: [{
|
|
1657
|
+
selector: 'seam-datatable-column-preferences-button',
|
|
1658
|
+
template: "<ng-template #colPrefsTpl>\n <seam-datatable-column-preferences></seam-datatable-column-preferences>\n</ng-template>\n\n\n<button\n seamButton\n [seamPopover]=\"colPrefsTpl\"\n theme=\"lightgray\"\n size=\"sm\"\n style=\"padding-left: 10px; padding-right: 10px;\"\n title=\"Column Preferences\"\n >\n <seam-icon [icon]=\"icon\"></seam-icon>\n <span class=\"sr-only\">Column Preferences</span>\n</button>\n",
|
|
1659
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1660
|
+
styles: [""]
|
|
1661
|
+
},] }
|
|
1662
|
+
];
|
|
1663
|
+
DatatableColumnPreferencesButtonComponent.ctorParameters = function () { return []; };
|
|
1664
|
+
|
|
1665
|
+
var DatatableExportButtonComponent = /** @class */ (function () {
|
|
1666
|
+
function DatatableExportButtonComponent(_datatable, _toastr, _loading, _valueHelper, _data) {
|
|
1667
|
+
this._datatable = _datatable;
|
|
1668
|
+
this._toastr = _toastr;
|
|
1669
|
+
this._loading = _loading;
|
|
1670
|
+
this._valueHelper = _valueHelper;
|
|
1671
|
+
this._data = _data;
|
|
1672
|
+
this.icon = freeSolidSvgIcons.faFileDownload;
|
|
1673
|
+
if (this._data && this._data.exporters) {
|
|
1674
|
+
this.exporters = this._data.exporters;
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
Object.defineProperty(DatatableExportButtonComponent.prototype, "disabled", {
|
|
1678
|
+
get: function () {
|
|
1679
|
+
return !(this.exporters && this.exporters.length > 0);
|
|
1680
|
+
},
|
|
1681
|
+
enumerable: false,
|
|
1682
|
+
configurable: true
|
|
1683
|
+
});
|
|
1684
|
+
DatatableExportButtonComponent.prototype.ngOnInit = function () { };
|
|
1685
|
+
DatatableExportButtonComponent.prototype._onExporterClicked = function (exporter) {
|
|
1686
|
+
var _this = this;
|
|
1687
|
+
if (!exporter.export) {
|
|
1688
|
+
var msg = i0.isDevMode()
|
|
1689
|
+
? "Exporter '" + exporter.name + "' is missing an export method."
|
|
1690
|
+
: exporter.label + " export is not available.";
|
|
1691
|
+
this._toastr.error(msg, 'Data Export');
|
|
1692
|
+
}
|
|
1693
|
+
var export$ = this._datatable.rows$
|
|
1694
|
+
.pipe(operators.take(1), operators.map(function (rows) {
|
|
1695
|
+
if (exporter.skipDataMapping) {
|
|
1696
|
+
return rows;
|
|
1697
|
+
}
|
|
1698
|
+
return _this._mapExportData(_this._datatable.columns || [], rows);
|
|
1699
|
+
}), operators.concatMap(function (data) { return exporter.export(data); }), operators.catchError(function (err) {
|
|
1700
|
+
console.error(err);
|
|
1701
|
+
return rxjs.of(false);
|
|
1702
|
+
}), operators.tap(function (success) {
|
|
1703
|
+
if (success) {
|
|
1704
|
+
_this._toastr.success(exporter.label + " export complete.", 'Data Export');
|
|
1705
|
+
}
|
|
1706
|
+
else {
|
|
1707
|
+
_this._toastr.error(exporter.label + " export failed.", 'Data Export');
|
|
1708
|
+
}
|
|
1709
|
+
}));
|
|
1710
|
+
this._loading.while(export$).subscribe();
|
|
1711
|
+
};
|
|
1712
|
+
DatatableExportButtonComponent.prototype._mapExportData = function (columns, rows) {
|
|
1713
|
+
var e_1, _a, e_2, _b;
|
|
1714
|
+
var data = [];
|
|
1715
|
+
try {
|
|
1716
|
+
for (var rows_1 = __values(rows), rows_1_1 = rows_1.next(); !rows_1_1.done; rows_1_1 = rows_1.next()) {
|
|
1717
|
+
var row = rows_1_1.value;
|
|
1718
|
+
var newRow = {};
|
|
1719
|
+
try {
|
|
1720
|
+
for (var columns_1 = (e_2 = void 0, __values(columns)), columns_1_1 = columns_1.next(); !columns_1_1.done; columns_1_1 = columns_1.next()) {
|
|
1721
|
+
var col = columns_1_1.value;
|
|
1722
|
+
if (!col.exportIgnore) {
|
|
1723
|
+
var colName = col.exportHeader || col.name || col.prop;
|
|
1724
|
+
if (colName) {
|
|
1725
|
+
newRow[colName] = this._rowValue(col, row);
|
|
1726
|
+
}
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1731
|
+
finally {
|
|
1732
|
+
try {
|
|
1733
|
+
if (columns_1_1 && !columns_1_1.done && (_b = columns_1.return)) _b.call(columns_1);
|
|
1734
|
+
}
|
|
1735
|
+
finally { if (e_2) throw e_2.error; }
|
|
1736
|
+
}
|
|
1737
|
+
data.push(newRow);
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1741
|
+
finally {
|
|
1742
|
+
try {
|
|
1743
|
+
if (rows_1_1 && !rows_1_1.done && (_a = rows_1.return)) _a.call(rows_1);
|
|
1744
|
+
}
|
|
1745
|
+
finally { if (e_1) throw e_1.error; }
|
|
1746
|
+
}
|
|
1747
|
+
return data;
|
|
1748
|
+
};
|
|
1749
|
+
DatatableExportButtonComponent.prototype._rowValue = function (column, row) {
|
|
1750
|
+
if (utils.hasProperty(column, 'exportValue')) {
|
|
1751
|
+
var context = { value: column.prop ? row[column.prop] : undefined, row: row };
|
|
1752
|
+
return this._valueHelper.evalSync(column.exportValue, context);
|
|
1753
|
+
}
|
|
1754
|
+
var colProp = column.prop;
|
|
1755
|
+
if (colProp) {
|
|
1756
|
+
return row[colProp];
|
|
1757
|
+
}
|
|
1758
|
+
return undefined;
|
|
1759
|
+
};
|
|
1760
|
+
return DatatableExportButtonComponent;
|
|
1761
|
+
}());
|
|
1762
|
+
DatatableExportButtonComponent.decorators = [
|
|
1763
|
+
{ type: i0.Component, args: [{
|
|
1764
|
+
selector: 'seam-datatable-export-button',
|
|
1765
|
+
template: "<seam-menu #menu>\n <button *ngFor=\"let exp of exporters\"\n seamMenuItem\n [icon]=\"exp?.icon\"\n (click)=\"_onExporterClicked(exp)\">\n {{ exp.label }}\n </button>\n</seam-menu>\n<button\n [seamMenuToggle]=\"menu\"\n seamButton\n theme=\"lightgray\"\n size=\"sm\"\n class=\"dropdown-toggle\"\n style=\"padding-left: 10px; padding-right: 10px;\"\n title=\"Export\"\n [disabled]=\"disabled\"\n >\n <seam-icon [icon]=\"icon\" class=\"mr-2\"></seam-icon>\n</button>\n",
|
|
1766
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1767
|
+
styles: [":host{display:inline-block}"]
|
|
1768
|
+
},] }
|
|
1769
|
+
];
|
|
1770
|
+
DatatableExportButtonComponent.ctorParameters = function () { return [
|
|
1771
|
+
{ type: DatatableComponent, decorators: [{ type: i0.Inject, args: [THESEAM_DATATABLE,] }] },
|
|
1772
|
+
{ type: ngxToastr.ToastrService },
|
|
1773
|
+
{ type: loading.TheSeamLoadingOverlayService },
|
|
1774
|
+
{ type: dynamic.DynamicValueHelperService },
|
|
1775
|
+
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [dynamic.THESEAM_DYNAMIC_DATA,] }] }
|
|
1776
|
+
]; };
|
|
1777
|
+
DatatableExportButtonComponent.propDecorators = {
|
|
1778
|
+
exporters: [{ type: i0.Input }]
|
|
1779
|
+
};
|
|
1780
|
+
|
|
1781
|
+
var DatatableMenuBarColumnCenterComponent = /** @class */ (function () {
|
|
1782
|
+
function DatatableMenuBarColumnCenterComponent() {
|
|
1783
|
+
}
|
|
1784
|
+
DatatableMenuBarColumnCenterComponent.prototype.ngOnInit = function () {
|
|
1785
|
+
};
|
|
1786
|
+
return DatatableMenuBarColumnCenterComponent;
|
|
1787
|
+
}());
|
|
1788
|
+
DatatableMenuBarColumnCenterComponent.decorators = [
|
|
1789
|
+
{ type: i0.Component, args: [{
|
|
1790
|
+
selector: 'seam-datatable-menu-bar-column-center',
|
|
1791
|
+
template: "<ng-content></ng-content>\n",
|
|
1792
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1793
|
+
styles: [":host{display:flex;flex-direction:row;flex:1 1 auto;justify-content:center}"]
|
|
1794
|
+
},] }
|
|
1795
|
+
];
|
|
1796
|
+
DatatableMenuBarColumnCenterComponent.ctorParameters = function () { return []; };
|
|
1797
|
+
|
|
1798
|
+
var DatatableMenuBarColumnLeftComponent = /** @class */ (function () {
|
|
1799
|
+
function DatatableMenuBarColumnLeftComponent() {
|
|
1800
|
+
}
|
|
1801
|
+
DatatableMenuBarColumnLeftComponent.prototype.ngOnInit = function () {
|
|
1802
|
+
};
|
|
1803
|
+
return DatatableMenuBarColumnLeftComponent;
|
|
1804
|
+
}());
|
|
1805
|
+
DatatableMenuBarColumnLeftComponent.decorators = [
|
|
1806
|
+
{ type: i0.Component, args: [{
|
|
1807
|
+
selector: 'seam-datatable-menu-bar-column-left',
|
|
1808
|
+
template: "<ng-content></ng-content>\n",
|
|
1809
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1810
|
+
styles: [":host{display:flex;flex-direction:row;flex:1 1 0%;justify-content:flex-start}"]
|
|
1811
|
+
},] }
|
|
1812
|
+
];
|
|
1813
|
+
DatatableMenuBarColumnLeftComponent.ctorParameters = function () { return []; };
|
|
1814
|
+
|
|
1815
|
+
var DatatableMenuBarColumnRightComponent = /** @class */ (function () {
|
|
1816
|
+
function DatatableMenuBarColumnRightComponent() {
|
|
1817
|
+
}
|
|
1818
|
+
DatatableMenuBarColumnRightComponent.prototype.ngOnInit = function () {
|
|
1819
|
+
};
|
|
1820
|
+
return DatatableMenuBarColumnRightComponent;
|
|
1821
|
+
}());
|
|
1822
|
+
DatatableMenuBarColumnRightComponent.decorators = [
|
|
1823
|
+
{ type: i0.Component, args: [{
|
|
1824
|
+
selector: 'seam-datatable-menu-bar-column-right',
|
|
1825
|
+
template: "<ng-content></ng-content>\n",
|
|
1826
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1827
|
+
styles: [":host{display:flex;flex-direction:row;flex:1 1 0%;justify-content:flex-end}"]
|
|
1828
|
+
},] }
|
|
1829
|
+
];
|
|
1830
|
+
DatatableMenuBarColumnRightComponent.ctorParameters = function () { return []; };
|
|
1831
|
+
|
|
1832
|
+
var DatatableMenuBarRowComponent = /** @class */ (function () {
|
|
1833
|
+
function DatatableMenuBarRowComponent() {
|
|
1834
|
+
}
|
|
1835
|
+
DatatableMenuBarRowComponent.prototype.ngOnInit = function () {
|
|
1836
|
+
};
|
|
1837
|
+
return DatatableMenuBarRowComponent;
|
|
1838
|
+
}());
|
|
1839
|
+
DatatableMenuBarRowComponent.decorators = [
|
|
1840
|
+
{ type: i0.Component, args: [{
|
|
1841
|
+
selector: 'seam-datatable-menu-bar-row',
|
|
1842
|
+
template: "<ng-content></ng-content>\n",
|
|
1843
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1844
|
+
styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap}"]
|
|
1845
|
+
},] }
|
|
1846
|
+
];
|
|
1847
|
+
DatatableMenuBarRowComponent.ctorParameters = function () { return []; };
|
|
1848
|
+
|
|
1849
|
+
var THESEAM_MENUBAR_ITEM_DATA = new i0.InjectionToken('MenubarItemData');
|
|
1850
|
+
|
|
1851
|
+
var DatatableMenuBarTextComponent = /** @class */ (function () {
|
|
1852
|
+
function DatatableMenuBarTextComponent(_menuBar, _data) {
|
|
1853
|
+
this._menuBar = _menuBar;
|
|
1854
|
+
this._data = _data;
|
|
1855
|
+
if (utils.notNullOrUndefined(this._data)) {
|
|
1856
|
+
if (utils.hasProperty(this._data, 'value')) {
|
|
1857
|
+
this.value = this._data.value;
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
DatatableMenuBarTextComponent.prototype.ngOnInit = function () { };
|
|
1862
|
+
return DatatableMenuBarTextComponent;
|
|
1863
|
+
}());
|
|
1864
|
+
DatatableMenuBarTextComponent.decorators = [
|
|
1865
|
+
{ type: i0.Component, args: [{
|
|
1866
|
+
selector: 'seam-datatable-menu-bar-text',
|
|
1867
|
+
template: "{{ value }}\n",
|
|
1868
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1869
|
+
styles: [""]
|
|
1870
|
+
},] }
|
|
1871
|
+
];
|
|
1872
|
+
DatatableMenuBarTextComponent.ctorParameters = function () { return [
|
|
1873
|
+
{ type: DatatableMenuBarComponent },
|
|
1874
|
+
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_MENUBAR_ITEM_DATA,] }] }
|
|
1875
|
+
]; };
|
|
1876
|
+
DatatableMenuBarTextComponent.propDecorators = {
|
|
1877
|
+
value: [{ type: i0.Input }]
|
|
1878
|
+
};
|
|
1879
|
+
|
|
1880
|
+
var DatatableActionMenuItemDirective = /** @class */ (function () {
|
|
1881
|
+
function DatatableActionMenuItemDirective(_modal, _dynamicComponentLoader, _http) {
|
|
1882
|
+
this._modal = _modal;
|
|
1883
|
+
this._dynamicComponentLoader = _dynamicComponentLoader;
|
|
1884
|
+
this._http = _http;
|
|
1885
|
+
this._listGroupItem = true;
|
|
1886
|
+
this._listGroupItemAction = true;
|
|
1887
|
+
this.click = new i0.EventEmitter();
|
|
1888
|
+
}
|
|
1889
|
+
DatatableActionMenuItemDirective.prototype.ngOnInit = function () { };
|
|
1890
|
+
DatatableActionMenuItemDirective.prototype.ngOnDestroy = function () { };
|
|
1891
|
+
return DatatableActionMenuItemDirective;
|
|
1892
|
+
}());
|
|
1893
|
+
DatatableActionMenuItemDirective.decorators = [
|
|
1894
|
+
{ type: i0.Directive, args: [{
|
|
1895
|
+
selector: '[seamDatatableActionMenuItem]'
|
|
1896
|
+
},] }
|
|
1897
|
+
];
|
|
1898
|
+
DatatableActionMenuItemDirective.ctorParameters = function () { return [
|
|
1899
|
+
{ type: modal.Modal },
|
|
1900
|
+
{ type: dynamicComponentLoader.TheSeamDynamicComponentLoader },
|
|
1901
|
+
{ type: http.HttpClient, decorators: [{ type: i0.Optional }] }
|
|
1902
|
+
]; };
|
|
1903
|
+
DatatableActionMenuItemDirective.propDecorators = {
|
|
1904
|
+
_listGroupItem: [{ type: i0.HostBinding, args: ['class.list-group-item',] }],
|
|
1905
|
+
_listGroupItemAction: [{ type: i0.HostBinding, args: ['class.list-group-item-action',] }],
|
|
1906
|
+
label: [{ type: i0.Input }],
|
|
1907
|
+
href: [{ type: i0.Input, args: ['attr.href',] }],
|
|
1908
|
+
target: [{ type: i0.Input }],
|
|
1909
|
+
queryParams: [{ type: i0.Input }],
|
|
1910
|
+
fragment: [{ type: i0.Input }],
|
|
1911
|
+
queryParamsHandling: [{ type: i0.Input }],
|
|
1912
|
+
preserveFragment: [{ type: i0.Input }],
|
|
1913
|
+
skipLocationChange: [{ type: i0.Input }],
|
|
1914
|
+
replaceUrl: [{ type: i0.Input }],
|
|
1915
|
+
state: [{ type: i0.Input }],
|
|
1916
|
+
routerLink: [{ type: i0.Input }],
|
|
1917
|
+
confirmDialog: [{ type: i0.Input }],
|
|
1918
|
+
row: [{ type: i0.Input }],
|
|
1919
|
+
click: [{ type: i0.Output }]
|
|
1920
|
+
};
|
|
1921
|
+
|
|
1922
|
+
var DatatableActionMenuToggleDirective = /** @class */ (function () {
|
|
1923
|
+
function DatatableActionMenuToggleDirective(_elementRef, _viewContainerRef, _overlay) {
|
|
1924
|
+
this._elementRef = _elementRef;
|
|
1925
|
+
this._viewContainerRef = _viewContainerRef;
|
|
1926
|
+
this._overlay = _overlay;
|
|
1927
|
+
this._active = false;
|
|
1928
|
+
this._actionDown = false;
|
|
1929
|
+
}
|
|
1930
|
+
DatatableActionMenuToggleDirective.prototype._onKeydown = function (event) {
|
|
1931
|
+
if (event.keyCode === keycodes.ESCAPE) {
|
|
1932
|
+
this.disable();
|
|
1933
|
+
}
|
|
1934
|
+
};
|
|
1935
|
+
DatatableActionMenuToggleDirective.prototype._onClick = function (event) {
|
|
1936
|
+
this.toggle();
|
|
1937
|
+
};
|
|
1938
|
+
DatatableActionMenuToggleDirective.prototype._mouseDown = function (event) { this.onInputDown(event); };
|
|
1939
|
+
DatatableActionMenuToggleDirective.prototype._pointerDown = function (event) { this.onInputDown(event); };
|
|
1940
|
+
DatatableActionMenuToggleDirective.prototype._mouseUp = function (event) { this.onInputUp(event); };
|
|
1941
|
+
DatatableActionMenuToggleDirective.prototype._pointerUp = function (event) { this.onInputUp(event); };
|
|
1942
|
+
Object.defineProperty(DatatableActionMenuToggleDirective.prototype, "active", {
|
|
1943
|
+
get: function () { return this._active; },
|
|
1944
|
+
enumerable: false,
|
|
1945
|
+
configurable: true
|
|
1946
|
+
});
|
|
1947
|
+
DatatableActionMenuToggleDirective.prototype.toggle = function () {
|
|
1948
|
+
if (this._active) {
|
|
1949
|
+
this.disable();
|
|
1950
|
+
}
|
|
1951
|
+
else {
|
|
1952
|
+
this.enable();
|
|
1953
|
+
}
|
|
1954
|
+
};
|
|
1955
|
+
DatatableActionMenuToggleDirective.prototype.enable = function () {
|
|
1956
|
+
if (this.active) {
|
|
1957
|
+
return;
|
|
1958
|
+
}
|
|
1959
|
+
if (!this.seamDatatableActionMenuToggle) {
|
|
1960
|
+
return;
|
|
1961
|
+
}
|
|
1962
|
+
this._overlayRef = this._overlay.create({
|
|
1963
|
+
hasBackdrop: false,
|
|
1964
|
+
positionStrategy: this.getOverlayPosition(this._elementRef.nativeElement),
|
|
1965
|
+
});
|
|
1966
|
+
this._overlayRef.attach(new portal.TemplatePortal(this.seamDatatableActionMenuToggle, this._viewContainerRef));
|
|
1967
|
+
this._active = true;
|
|
1968
|
+
};
|
|
1969
|
+
DatatableActionMenuToggleDirective.prototype.disable = function () {
|
|
1970
|
+
var _a;
|
|
1971
|
+
if (!this.active) {
|
|
1972
|
+
return;
|
|
1973
|
+
}
|
|
1974
|
+
if ((_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.hasAttached()) {
|
|
1975
|
+
this._overlayRef.detach();
|
|
1976
|
+
}
|
|
1977
|
+
this._active = false;
|
|
1978
|
+
};
|
|
1979
|
+
DatatableActionMenuToggleDirective.prototype.getOverlayPosition = function (origin) {
|
|
1980
|
+
var positionStrategy = this._overlay.position()
|
|
1981
|
+
.flexibleConnectedTo(origin)
|
|
1982
|
+
.withPositions(this.getPositions())
|
|
1983
|
+
.withFlexibleDimensions(false)
|
|
1984
|
+
.withPush(false);
|
|
1985
|
+
return positionStrategy;
|
|
1986
|
+
};
|
|
1987
|
+
DatatableActionMenuToggleDirective.prototype.getPositions = function () {
|
|
1988
|
+
return [
|
|
1989
|
+
{
|
|
1990
|
+
originX: 'start',
|
|
1991
|
+
originY: 'bottom',
|
|
1992
|
+
overlayX: 'end',
|
|
1993
|
+
overlayY: 'top',
|
|
1994
|
+
},
|
|
1995
|
+
{
|
|
1996
|
+
originX: 'start',
|
|
1997
|
+
originY: 'top',
|
|
1998
|
+
overlayX: 'end',
|
|
1999
|
+
overlayY: 'bottom',
|
|
2000
|
+
},
|
|
2001
|
+
{
|
|
2002
|
+
originX: 'end',
|
|
2003
|
+
originY: 'bottom',
|
|
2004
|
+
overlayX: 'start',
|
|
2005
|
+
overlayY: 'top',
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
originX: 'end',
|
|
2009
|
+
originY: 'top',
|
|
2010
|
+
overlayX: 'start',
|
|
2011
|
+
overlayY: 'bottom',
|
|
2012
|
+
},
|
|
2013
|
+
];
|
|
2014
|
+
};
|
|
2015
|
+
DatatableActionMenuToggleDirective.prototype.onFocusChangeOverlay = function (event) {
|
|
2016
|
+
if (event === null) {
|
|
2017
|
+
if (!this._actionDown) {
|
|
2018
|
+
// this.disable()
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
};
|
|
2022
|
+
DatatableActionMenuToggleDirective.prototype.onInputDown = function (event) {
|
|
2023
|
+
this._actionDown = true;
|
|
2024
|
+
};
|
|
2025
|
+
DatatableActionMenuToggleDirective.prototype.onInputUp = function (event) {
|
|
2026
|
+
this._actionDown = false;
|
|
2027
|
+
};
|
|
2028
|
+
return DatatableActionMenuToggleDirective;
|
|
2029
|
+
}());
|
|
2030
|
+
DatatableActionMenuToggleDirective.decorators = [
|
|
2031
|
+
{ type: i0.Directive, args: [{
|
|
2032
|
+
selector: '[seamDatatableActionMenuToggle]',
|
|
2033
|
+
exportAs: 'seamDatatableActionMenuToggle'
|
|
2034
|
+
},] }
|
|
2035
|
+
];
|
|
2036
|
+
DatatableActionMenuToggleDirective.ctorParameters = function () { return [
|
|
2037
|
+
{ type: i0.ElementRef },
|
|
2038
|
+
{ type: i0.ViewContainerRef },
|
|
2039
|
+
{ type: overlay.Overlay }
|
|
2040
|
+
]; };
|
|
2041
|
+
DatatableActionMenuToggleDirective.propDecorators = {
|
|
2042
|
+
seamDatatableActionMenuToggle: [{ type: i0.Input }],
|
|
2043
|
+
_onKeydown: [{ type: i0.HostListener, args: ['document:keydown', ['$event'],] }],
|
|
2044
|
+
_onClick: [{ type: i0.HostListener, args: ['click', ['$event'],] }],
|
|
2045
|
+
_mouseDown: [{ type: i0.HostListener, args: ['mousedown', ['$event'],] }],
|
|
2046
|
+
_pointerDown: [{ type: i0.HostListener, args: ['pointerdown', ['$event'],] }],
|
|
2047
|
+
_mouseUp: [{ type: i0.HostListener, args: ['mouseup', ['$event'],] }],
|
|
2048
|
+
_pointerUp: [{ type: i0.HostListener, args: ['pointerup', ['$event'],] }]
|
|
2049
|
+
};
|
|
2050
|
+
|
|
2051
|
+
var DatatableGqlDataSource = /** @class */ (function (_super) {
|
|
2052
|
+
__extends(DatatableGqlDataSource, _super);
|
|
2053
|
+
function DatatableGqlDataSource() {
|
|
2054
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2055
|
+
}
|
|
2056
|
+
DatatableGqlDataSource.prototype.connect = function (collectionViewer) {
|
|
2057
|
+
throw new Error('Method not implemented.');
|
|
2058
|
+
// return combineLatest([
|
|
2059
|
+
// this.sorts$,
|
|
2060
|
+
// this.filterStates$,
|
|
2061
|
+
// this.page$
|
|
2062
|
+
// ]).pipe()
|
|
2063
|
+
};
|
|
2064
|
+
DatatableGqlDataSource.prototype.disconnect = function (collectionViewer) {
|
|
2065
|
+
throw new Error('Method not implemented.');
|
|
2066
|
+
};
|
|
2067
|
+
return DatatableGqlDataSource;
|
|
2068
|
+
}(DatatableDataSource));
|
|
2069
|
+
|
|
2070
|
+
var TheSeamDatatableScrollbarHelperService = /** @class */ (function () {
|
|
2071
|
+
function TheSeamDatatableScrollbarHelperService(_ngZone, _scrollbars) {
|
|
2072
|
+
this._ngZone = _ngZone;
|
|
2073
|
+
this._scrollbars = _scrollbars;
|
|
2074
|
+
this.width = 0;
|
|
2075
|
+
/**
|
|
2076
|
+
* Animates programmatic scrolling, such as switching pages.
|
|
2077
|
+
*
|
|
2078
|
+
* NOTE: Animating the scrolling works, but the datatable may need changes
|
|
2079
|
+
* before this is enabled, because it seems a little stuttery when it moves.
|
|
2080
|
+
*/
|
|
2081
|
+
this.animatedScrolling = false;
|
|
2082
|
+
this.animatedScrollingTime = 250;
|
|
2083
|
+
}
|
|
2084
|
+
TheSeamDatatableScrollbarHelperService.prototype.onInitScroller = function (scroller) {
|
|
2085
|
+
var _this = this;
|
|
2086
|
+
this._scrollbars.initializeInstance(scroller.parentElement, {
|
|
2087
|
+
callbacks: {
|
|
2088
|
+
onScroll: function (e) {
|
|
2089
|
+
_this._ngZone.run(function () {
|
|
2090
|
+
scroller.onScrolled(e);
|
|
2091
|
+
});
|
|
2092
|
+
}
|
|
2093
|
+
}
|
|
2094
|
+
});
|
|
2095
|
+
};
|
|
2096
|
+
TheSeamDatatableScrollbarHelperService.prototype.onDestroyScroller = function (scroller) {
|
|
2097
|
+
this._scrollbars.destroyInstance(scroller.parentElement);
|
|
2098
|
+
};
|
|
2099
|
+
TheSeamDatatableScrollbarHelperService.prototype.setOffset = function (scroller, offsetY) {
|
|
2100
|
+
var _this = this;
|
|
2101
|
+
this._ngZone.runOutsideAngular(function () {
|
|
2102
|
+
if (_this.animatedScrolling) {
|
|
2103
|
+
_this._scrollbars.getInstance(scroller.parentElement)
|
|
2104
|
+
.scroll({ y: offsetY }, _this.animatedScrollingTime);
|
|
2105
|
+
}
|
|
2106
|
+
else {
|
|
2107
|
+
_this._scrollbars.getInstance(scroller.parentElement)
|
|
2108
|
+
.scroll({ y: offsetY });
|
|
2109
|
+
}
|
|
2110
|
+
});
|
|
2111
|
+
};
|
|
2112
|
+
return TheSeamDatatableScrollbarHelperService;
|
|
2113
|
+
}());
|
|
2114
|
+
TheSeamDatatableScrollbarHelperService.decorators = [
|
|
2115
|
+
{ type: i0.Injectable }
|
|
2116
|
+
];
|
|
2117
|
+
TheSeamDatatableScrollbarHelperService.ctorParameters = function () { return [
|
|
2118
|
+
{ type: i0.NgZone },
|
|
2119
|
+
{ type: scrollbar.OverlayScrollbarsService }
|
|
2120
|
+
]; };
|
|
2121
|
+
|
|
2122
|
+
var TheSeamDatatableModule = /** @class */ (function () {
|
|
2123
|
+
function TheSeamDatatableModule() {
|
|
2124
|
+
}
|
|
2125
|
+
return TheSeamDatatableModule;
|
|
2126
|
+
}());
|
|
2127
|
+
TheSeamDatatableModule.decorators = [
|
|
2128
|
+
{ type: i0.NgModule, args: [{
|
|
2129
|
+
declarations: [
|
|
2130
|
+
DatatableComponent,
|
|
2131
|
+
DatatableCellTplDirective,
|
|
2132
|
+
DatatableColumnComponent,
|
|
2133
|
+
DatatableActionMenuComponent,
|
|
2134
|
+
DatatableActionMenuToggleDirective,
|
|
2135
|
+
DatatableActionMenuItemComponent,
|
|
2136
|
+
DatatableMenuBarComponent,
|
|
2137
|
+
DatatableFilterDirective,
|
|
2138
|
+
DatatableRowActionItemDirective,
|
|
2139
|
+
DatatableExportButtonComponent,
|
|
2140
|
+
TheSeamDatatableRowDetailDirective,
|
|
2141
|
+
DatatableRowDetailTplDirective,
|
|
2142
|
+
DatatableColumnPreferencesComponent,
|
|
2143
|
+
DatatableColumnPreferencesButtonComponent,
|
|
2144
|
+
DatatableActionMenuItemDirective,
|
|
2145
|
+
DatatableMenuBarRowComponent,
|
|
2146
|
+
DatatableMenuBarColumnLeftComponent,
|
|
2147
|
+
DatatableMenuBarColumnCenterComponent,
|
|
2148
|
+
DatatableMenuBarColumnRightComponent,
|
|
2149
|
+
DatatableMenuBarTextComponent,
|
|
2150
|
+
],
|
|
2151
|
+
imports: [
|
|
2152
|
+
common.CommonModule,
|
|
2153
|
+
ngxDatatable.NgxDatatableModule,
|
|
2154
|
+
angularFontawesome.FontAwesomeModule,
|
|
2155
|
+
overlay.OverlayModule,
|
|
2156
|
+
a11y.A11yModule,
|
|
2157
|
+
shared.TheSeamSharedModule,
|
|
2158
|
+
router.RouterModule,
|
|
2159
|
+
menu.TheSeamMenuModule,
|
|
2160
|
+
buttons.TheSeamButtonsModule,
|
|
2161
|
+
icon.TheSeamIconModule,
|
|
2162
|
+
ngxToastr.ToastrModule,
|
|
2163
|
+
loading.TheSeamLoadingModule,
|
|
2164
|
+
portal.PortalModule,
|
|
2165
|
+
confirmDialog.TheSeamConfirmDialogModule,
|
|
2166
|
+
popover.TheSeamPopoverModule,
|
|
2167
|
+
checkbox.TheSeamCheckboxModule,
|
|
2168
|
+
formField.TheSeamFormFieldModule,
|
|
2169
|
+
forms.ReactiveFormsModule,
|
|
2170
|
+
tableCellType.TheSeamTableCellTypeModule
|
|
2171
|
+
],
|
|
2172
|
+
exports: [
|
|
2173
|
+
DatatableComponent,
|
|
2174
|
+
DatatableCellTplDirective,
|
|
2175
|
+
DatatableColumnComponent,
|
|
2176
|
+
DatatableActionMenuComponent,
|
|
2177
|
+
DatatableActionMenuItemComponent,
|
|
2178
|
+
DatatableMenuBarComponent,
|
|
2179
|
+
DatatableFilterDirective,
|
|
2180
|
+
DatatableRowActionItemDirective,
|
|
2181
|
+
DatatableExportButtonComponent,
|
|
2182
|
+
TheSeamDatatableRowDetailDirective,
|
|
2183
|
+
DatatableRowDetailTplDirective,
|
|
2184
|
+
DatatableColumnPreferencesComponent,
|
|
2185
|
+
DatatableColumnPreferencesButtonComponent,
|
|
2186
|
+
DatatableActionMenuItemDirective,
|
|
2187
|
+
DatatableMenuBarRowComponent,
|
|
2188
|
+
DatatableMenuBarColumnLeftComponent,
|
|
2189
|
+
DatatableMenuBarColumnCenterComponent,
|
|
2190
|
+
DatatableMenuBarColumnRightComponent,
|
|
2191
|
+
DatatableMenuBarTextComponent
|
|
2192
|
+
],
|
|
2193
|
+
providers: [
|
|
2194
|
+
{ provide: ngxDatatable.ScrollbarHelper, useClass: TheSeamDatatableScrollbarHelperService }
|
|
2195
|
+
],
|
|
2196
|
+
entryComponents: [
|
|
2197
|
+
DatatableColumnPreferencesComponent,
|
|
2198
|
+
DatatableExportButtonComponent,
|
|
2199
|
+
DatatableMenuBarTextComponent
|
|
2200
|
+
]
|
|
2201
|
+
},] }
|
|
2202
|
+
];
|
|
2203
|
+
|
|
2204
|
+
/**
|
|
2205
|
+
* Generated bundle index. Do not edit.
|
|
2206
|
+
*/
|
|
2207
|
+
|
|
2208
|
+
exports.DatatableActionMenuComponent = DatatableActionMenuComponent;
|
|
2209
|
+
exports.DatatableActionMenuItemComponent = DatatableActionMenuItemComponent;
|
|
2210
|
+
exports.DatatableActionMenuItemDirective = DatatableActionMenuItemDirective;
|
|
2211
|
+
exports.DatatableActionMenuToggleDirective = DatatableActionMenuToggleDirective;
|
|
2212
|
+
exports.DatatableCellTplDirective = DatatableCellTplDirective;
|
|
2213
|
+
exports.DatatableColumnChangesService = DatatableColumnChangesService;
|
|
2214
|
+
exports.DatatableColumnComponent = DatatableColumnComponent;
|
|
2215
|
+
exports.DatatableColumnPreferencesButtonComponent = DatatableColumnPreferencesButtonComponent;
|
|
2216
|
+
exports.DatatableColumnPreferencesComponent = DatatableColumnPreferencesComponent;
|
|
2217
|
+
exports.DatatableComponent = DatatableComponent;
|
|
2218
|
+
exports.DatatableDataSource = DatatableDataSource;
|
|
2219
|
+
exports.DatatableExportButtonComponent = DatatableExportButtonComponent;
|
|
2220
|
+
exports.DatatableFilterDirective = DatatableFilterDirective;
|
|
2221
|
+
exports.DatatableGqlDataSource = DatatableGqlDataSource;
|
|
2222
|
+
exports.DatatableMenuBarColumnCenterComponent = DatatableMenuBarColumnCenterComponent;
|
|
2223
|
+
exports.DatatableMenuBarColumnLeftComponent = DatatableMenuBarColumnLeftComponent;
|
|
2224
|
+
exports.DatatableMenuBarColumnRightComponent = DatatableMenuBarColumnRightComponent;
|
|
2225
|
+
exports.DatatableMenuBarComponent = DatatableMenuBarComponent;
|
|
2226
|
+
exports.DatatableMenuBarRowComponent = DatatableMenuBarRowComponent;
|
|
2227
|
+
exports.DatatableMenuBarTextComponent = DatatableMenuBarTextComponent;
|
|
2228
|
+
exports.DatatablePreferencesService = DatatablePreferencesService;
|
|
2229
|
+
exports.DatatableRowActionItemDirective = DatatableRowActionItemDirective;
|
|
2230
|
+
exports.DatatableRowDetailTplDirective = DatatableRowDetailTplDirective;
|
|
2231
|
+
exports.THESEAM_DATATABLE = THESEAM_DATATABLE;
|
|
2232
|
+
exports.THESEAM_DATATABLE_PREFERENCES_ACCESSOR = THESEAM_DATATABLE_PREFERENCES_ACCESSOR;
|
|
2233
|
+
exports.THESEAM_MENUBAR_ITEM_DATA = THESEAM_MENUBAR_ITEM_DATA;
|
|
2234
|
+
exports.TheSeamDatatableModule = TheSeamDatatableModule;
|
|
2235
|
+
exports.TheSeamDatatableRowDetailDirective = TheSeamDatatableRowDetailDirective;
|
|
2236
|
+
exports.TheSeamDatatableScrollbarHelperService = TheSeamDatatableScrollbarHelperService;
|
|
2237
|
+
exports._THESEAM_DATATABLE = _THESEAM_DATATABLE;
|
|
2238
|
+
exports._THESEAM_DATATABLE_ACCESSOR = _THESEAM_DATATABLE_ACCESSOR;
|
|
2239
|
+
exports._THESEAM_DATA_FILTER_CONTAINER = _THESEAM_DATA_FILTER_CONTAINER;
|
|
2240
|
+
exports._setColumnDefaults = _setColumnDefaults;
|
|
2241
|
+
exports.withStoredColumnInfo = withStoredColumnInfo;
|
|
2242
|
+
exports.ɵa = THESEAM_DATATABLE_ACCESSOR;
|
|
2243
|
+
|
|
2244
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2245
|
+
|
|
2246
|
+
})));
|
|
2247
|
+
//# sourceMappingURL=theseam-ui-common-datatable.umd.js.map
|