@theseam/ui-common 0.3.11 → 0.4.0-beta.0
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 +3 -0
- package/asset-reader/asset-reader.module.d.ts +5 -0
- package/asset-reader/encrypted-asset-link.directive.d.ts +3 -0
- package/asset-reader/index.d.ts +5 -0
- package/breadcrumbs/_breadcrumbs-theme.scss +3 -3
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.d.ts +3 -0
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.scss +10 -10
- package/breadcrumbs/breadcrumbs.module.d.ts +7 -0
- package/breadcrumbs/breadcrumbs.service.d.ts +3 -0
- package/breadcrumbs/index.d.ts +5 -0
- package/buttons/badge-button/badge-button.component.d.ts +5 -0
- package/buttons/button/button.component.d.ts +7 -0
- package/buttons/buttons.module.d.ts +10 -0
- package/buttons/index.d.ts +5 -0
- package/buttons/progress-circle-button/progress-circle-button.component.d.ts +3 -0
- package/buttons/toggle-button/toggle-button.component.d.ts +3 -0
- package/card/card-action/card-action.component.d.ts +3 -0
- package/card/card-body/card-body.component.d.ts +3 -0
- package/card/card-footer/card-footer.component.d.ts +3 -0
- package/card/card-header/card-header.component.d.ts +3 -0
- package/card/card.component.d.ts +3 -0
- package/card/card.module.d.ts +11 -0
- package/card/index.d.ts +5 -0
- package/checkbox/checkbox.component.d.ts +3 -0
- package/checkbox/checkbox.module.d.ts +7 -0
- package/checkbox/index.d.ts +5 -0
- package/checkbox/public-api.d.ts +1 -0
- package/checkbox/testing/checkbox.harness.d.ts +49 -0
- package/checkbox/testing/index.d.ts +1 -0
- package/confirm-dialog/confirm-click.directive.d.ts +3 -0
- package/confirm-dialog/confirm-dialog.component.d.ts +3 -0
- package/confirm-dialog/confirm-dialog.module.d.ts +10 -0
- package/confirm-dialog/confirm-dialog.service.d.ts +3 -0
- package/confirm-dialog/index.d.ts +5 -0
- package/core/index.d.ts +5 -0
- package/core/input-decorators/input-boolean.decorator.d.ts +1 -1
- package/core/input-decorators/input-number.decorator.d.ts +1 -1
- package/data-exporter/data-exporter.module.d.ts +4 -0
- package/data-exporter/exporters/csv-exporter.d.ts +3 -0
- package/data-exporter/exporters/xlsx-exporter.d.ts +3 -0
- package/data-exporter/index.d.ts +5 -0
- package/data-filters/data-filters.module.d.ts +13 -0
- package/data-filters/filters/data-filter-search/data-filter-search.component.d.ts +6 -3
- package/data-filters/filters/data-filter-text/data-filter-text.component.d.ts +5 -2
- package/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.d.ts +5 -2
- package/data-filters/index.d.ts +5 -0
- package/datatable/datatable/datatable.component.d.ts +3 -0
- package/datatable/datatable-action-menu/datatable-action-menu.component.d.ts +3 -0
- package/datatable/datatable-action-menu-item/datatable-action-menu-item.component.d.ts +3 -0
- package/datatable/datatable-column/datatable-column.component.d.ts +3 -0
- package/datatable/datatable-column-preferences/datatable-column-preferences.component.d.ts +5 -2
- package/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.d.ts +3 -0
- package/datatable/datatable-export-button/datatable-export-button.component.d.ts +3 -0
- package/datatable/datatable-footer/datatable-footer-tpl.directive.d.ts +3 -0
- package/datatable/datatable-footer/datatable-footer.directive.d.ts +3 -0
- package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.d.ts +3 -0
- package/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.d.ts +3 -0
- package/datatable/datatable-row-detail/datatable-row-detail.directive.d.ts +3 -0
- package/datatable/datatable.module.d.ts +45 -0
- package/datatable/directives/datatable-action-menu-item.directive.d.ts +3 -0
- package/datatable/directives/datatable-action-menu-toggle.directive.d.ts +3 -0
- package/datatable/directives/datatable-cell-tpl.directive.d.ts +3 -0
- package/datatable/directives/datatable-filter.directive.d.ts +3 -0
- package/datatable/directives/datatable-row-action-item.directive.d.ts +3 -0
- package/datatable/index.d.ts +5 -0
- package/datatable/services/columns-alterations-manager.service.d.ts +3 -0
- package/datatable/services/columns-manager.service.d.ts +3 -0
- package/datatable/services/datatable-column-changes.service.d.ts +3 -0
- package/datatable/services/datatable-preferences.service.d.ts +3 -0
- package/datatable/services/datatable-scrollbar-helper.service.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic.module.d.ts +20 -0
- package/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.d.ts +3 -0
- package/datatable-dynamic/dynamic-datatable-def.service.d.ts +3 -0
- package/datatable-dynamic/dynamic-datatable-row-actions.service.d.ts +3 -0
- package/datatable-dynamic/index.d.ts +5 -0
- package/datatable-dynamic/models/dynamic-datatable-menu-bar.d.ts +2 -2
- package/dynamic/action/api/dynamic-action-api.service.d.ts +3 -0
- package/dynamic/action/dynamic-action-helper.service.d.ts +3 -0
- package/dynamic/action/link/dynamic-action-link.service.d.ts +3 -0
- package/dynamic/action/modal/dynamic-action-modal.service.d.ts +3 -0
- package/dynamic/dynamic-value-helper.service.d.ts +7 -3
- package/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.d.ts +3 -0
- package/dynamic/evaluators/jexl-evaluator/jexl-evaluator.d.ts +6 -2
- package/dynamic/index.d.ts +5 -0
- package/dynamic/models/dynamic-value-evaluatable-type.d.ts +2 -1
- package/dynamic-component-loader/dynamic-component-loader.module.d.ts +7 -3
- package/dynamic-component-loader/dynamic-component-loader.service.d.ts +7 -6
- package/dynamic-component-loader/dynamic-component-manifest.d.ts +4 -4
- package/dynamic-component-loader/index.d.ts +5 -0
- package/esm2020/asset-reader/asset-reader-helper.service.mjs +68 -0
- package/esm2020/asset-reader/asset-reader.module.mjs +20 -0
- package/esm2020/asset-reader/encrypted-asset-link.directive.mjs +74 -0
- package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +19 -0
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +28 -0
- package/esm2020/breadcrumbs/breadcrumbs.service.mjs +156 -0
- package/esm2020/buttons/badge-button/badge-button.component.mjs +60 -0
- package/esm2020/buttons/button/button.component.mjs +82 -0
- package/esm2020/buttons/buttons.module.mjs +51 -0
- package/esm2020/buttons/progress-circle-button/progress-circle-button.component.mjs +52 -0
- package/esm2020/buttons/toggle-button/toggle-button.component.mjs +79 -0
- package/esm2020/card/card-action/card-action.component.mjs +31 -0
- package/esm2020/card/card-body/card-body.component.mjs +33 -0
- package/esm2020/card/card-footer/card-footer.component.mjs +14 -0
- package/esm2020/card/card-header/card-header.component.mjs +23 -0
- package/esm2020/card/card.component.mjs +19 -0
- package/esm2020/card/card.module.mjs +48 -0
- package/esm2020/checkbox/checkbox.component.mjs +281 -0
- package/esm2020/checkbox/checkbox.module.mjs +28 -0
- package/esm2020/checkbox/public-api.mjs +4 -0
- package/esm2020/checkbox/testing/checkbox.harness.mjs +63 -0
- package/esm2020/checkbox/testing/index.mjs +2 -0
- package/esm2020/confirm-dialog/confirm-click.directive.mjs +69 -0
- package/esm2020/confirm-dialog/confirm-dialog.component.mjs +24 -0
- package/esm2020/confirm-dialog/confirm-dialog.module.mjs +47 -0
- package/esm2020/confirm-dialog/confirm-dialog.service.mjs +38 -0
- package/esm2020/data-exporter/data-exporter.module.mjs +25 -0
- package/esm2020/data-exporter/exporters/csv-exporter.mjs +35 -0
- package/esm2020/data-exporter/exporters/xlsx-exporter.mjs +33 -0
- package/esm2020/data-filters/data-filters.module.mjs +66 -0
- package/esm2020/data-filters/filters/data-filter-search/data-filter-search.component.mjs +121 -0
- package/esm2020/data-filters/filters/data-filter-text/data-filter-text.component.mjs +148 -0
- package/esm2020/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.mjs +163 -0
- package/esm2020/datatable/datatable/datatable.component.mjs +665 -0
- package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +100 -0
- package/esm2020/datatable/datatable-action-menu-item/datatable-action-menu-item.component.mjs +47 -0
- package/esm2020/datatable/datatable-column/datatable-column.component.mjs +108 -0
- package/esm2020/datatable/datatable-column-preferences/datatable-column-preferences.component.mjs +67 -0
- package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +52 -0
- package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +106 -0
- package/esm2020/datatable/datatable-footer/datatable-footer-tpl.directive.mjs +16 -0
- package/esm2020/datatable/datatable-footer/datatable-footer.directive.mjs +24 -0
- package/esm2020/datatable/datatable-menu-bar/datatable-menu-bar.component.mjs +53 -0
- package/esm2020/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.mjs +31 -0
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.mjs +16 -0
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail.directive.mjs +77 -0
- package/esm2020/datatable/datatable.module.mjs +205 -0
- package/esm2020/datatable/directives/datatable-action-menu-item.directive.mjs +63 -0
- package/esm2020/datatable/directives/datatable-action-menu-toggle.directive.mjs +137 -0
- package/esm2020/datatable/directives/datatable-cell-tpl.directive.mjs +16 -0
- package/esm2020/datatable/directives/datatable-filter.directive.mjs +27 -0
- package/esm2020/datatable/directives/datatable-row-action-item.directive.mjs +16 -0
- package/esm2020/datatable/services/columns-alterations-manager.service.mjs +136 -0
- package/esm2020/datatable/services/columns-manager.service.mjs +261 -0
- package/esm2020/datatable/services/datatable-column-changes.service.mjs +20 -0
- package/esm2020/datatable/services/datatable-preferences.service.mjs +165 -0
- package/esm2020/datatable/services/datatable-scrollbar-helper.service.mjs +50 -0
- package/esm2020/datatable/theseam-ui-common-datatable.mjs +5 -0
- package/esm2020/datatable/utils/with-stored-column-info.mjs +20 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +119 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.mjs +50 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.mjs +149 -0
- package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +77 -0
- package/esm2020/datatable-dynamic/datatable-dynamic.module.mjs +80 -0
- package/esm2020/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.mjs +400 -0
- package/esm2020/datatable-dynamic/dynamic-datatable-def.service.mjs +88 -0
- package/esm2020/datatable-dynamic/dynamic-datatable-row-actions.service.mjs +46 -0
- package/esm2020/datatable-dynamic/models/dynamic-datatable-menu-bar.mjs +2 -0
- package/esm2020/dynamic/action/api/dynamic-action-api.service.mjs +206 -0
- package/esm2020/dynamic/action/dynamic-action-helper.service.mjs +157 -0
- package/esm2020/dynamic/action/link/dynamic-action-link.service.mjs +47 -0
- package/esm2020/dynamic/action/modal/dynamic-action-modal.service.mjs +85 -0
- package/esm2020/dynamic/dynamic-value-helper.service.mjs +102 -0
- package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.mjs +30 -0
- package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-evaluator.mjs +32 -0
- package/esm2020/dynamic/models/dynamic-value-evaluatable-type.mjs +2 -0
- package/esm2020/dynamic-component-loader/dynamic-component-loader.module.mjs +50 -0
- package/esm2020/dynamic-component-loader/dynamic-component-loader.service.mjs +78 -0
- package/esm2020/dynamic-component-loader/dynamic-component-manifest.mjs +2 -0
- package/esm2020/footer-bar/footer-bar/footer-bar.component.mjs +14 -0
- package/esm2020/footer-bar/footer-bar.module.mjs +20 -0
- package/esm2020/form-field/form-field-error.directive.mjs +30 -0
- package/esm2020/form-field/form-field-help-text.directive.mjs +16 -0
- package/esm2020/form-field/form-field-label-tpl.directive.mjs +16 -0
- package/esm2020/form-field/form-field-required-indicator.component.mjs +46 -0
- package/esm2020/form-field/form-field-tokens.mjs +3 -0
- package/esm2020/form-field/form-field.component.mjs +221 -0
- package/esm2020/form-field/form-field.module.mjs +61 -0
- package/esm2020/form-field/input.directive.mjs +219 -0
- package/esm2020/form-field/public-api.mjs +10 -0
- package/esm2020/form-field/testing/form-field-required-indicator.harness.mjs +8 -0
- package/esm2020/form-field/testing/index.mjs +2 -0
- package/esm2020/form-field-error/form-field-error/form-field-error.component.mjs +28 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.mjs +26 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item.directive.mjs +18 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list.component.mjs +384 -0
- package/esm2020/form-field-error/form-field-error.module.mjs +39 -0
- package/esm2020/framework/base-layout/base-layout.component.mjs +122 -0
- package/esm2020/framework/base-layout/base-layout.module.mjs +75 -0
- package/esm2020/framework/base-layout/directives/base-layout-content-footer.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-content-header.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-content.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +50 -0
- package/esm2020/framework/base-layout/directives/base-layout-side-bar-footer.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-side-bar.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-top-bar.directive.mjs +16 -0
- package/esm2020/framework/base-layout/index.mjs +14 -0
- package/esm2020/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.mjs +18 -0
- package/esm2020/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.mjs +24 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.mjs +119 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.mjs +176 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.component.mjs +206 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.service.mjs +170 -0
- package/esm2020/framework/dashboard/dashboard-widgets-tokens.mjs +3 -0
- package/esm2020/framework/dashboard/dashboard.component.mjs +24 -0
- package/esm2020/framework/dashboard/dashboard.module.mjs +60 -0
- package/esm2020/framework/dynamic-router/dynamic-router.module.mjs +28 -0
- package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.mjs +117 -0
- package/esm2020/framework/dynamic-router/resolvers/hierarchy-level.resolver.mjs +27 -0
- package/esm2020/framework/schema-form/schema-form-framework.component.mjs +18 -0
- package/esm2020/framework/schema-form/schema-form-framework.mjs +30 -0
- package/esm2020/framework/schema-form/schema-form.module.mjs +52 -0
- package/esm2020/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.mjs +43 -0
- package/esm2020/framework/schema-form-controls/schema-form-controls.module.mjs +79 -0
- package/esm2020/framework/schema-form-controls/schema-form-input/schema-form-input.component.mjs +34 -0
- package/esm2020/framework/schema-form-controls/schema-form-number/schema-form-number.component.mjs +40 -0
- package/esm2020/framework/schema-form-controls/schema-form-select/schema-form-select.component.mjs +38 -0
- package/esm2020/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.mjs +46 -0
- package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +143 -0
- package/esm2020/framework/side-nav/index.mjs +8 -0
- package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +206 -0
- package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +34 -0
- package/esm2020/framework/side-nav/side-nav-tokens.mjs +3 -0
- package/esm2020/framework/side-nav/side-nav-utils.mjs +79 -0
- package/esm2020/framework/side-nav/side-nav.component.mjs +295 -0
- package/esm2020/framework/side-nav/side-nav.module.mjs +62 -0
- package/esm2020/framework/side-nav/side-nav.service.mjs +178 -0
- package/esm2020/framework/theseam-ui-common-framework.mjs +5 -0
- package/esm2020/framework/top-bar/top-bar-item.directive.mjs +16 -0
- package/esm2020/framework/top-bar/top-bar-menu-btn-detail.directive.mjs +16 -0
- package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +56 -0
- package/esm2020/framework/top-bar/top-bar-menu.directive.mjs +19 -0
- package/esm2020/framework/top-bar/top-bar-title/top-bar-title.component.mjs +19 -0
- package/esm2020/framework/top-bar/top-bar.component.mjs +99 -0
- package/esm2020/framework/top-bar/top-bar.module.mjs +73 -0
- package/esm2020/google-maps/google-maps/google-maps.component.mjs +301 -0
- package/esm2020/google-maps/google-maps-api-loader/google-maps-api-loader.mjs +3 -0
- package/esm2020/google-maps/google-maps-controls.service.mjs +67 -0
- package/esm2020/google-maps/google-maps-feature-helpers.mjs +211 -0
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +210 -0
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.mjs +165 -0
- package/esm2020/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.mjs +58 -0
- package/esm2020/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.mjs +115 -0
- package/esm2020/google-maps/google-maps.module.mjs +70 -0
- package/esm2020/google-maps/google-maps.service.mjs +355 -0
- package/esm2020/google-maps/map-control.component.mjs +66 -0
- package/esm2020/google-maps/map-file-drop/map-file-drop.component.mjs +128 -0
- package/esm2020/google-maps/map-value-manager.service.mjs +48 -0
- package/esm2020/google-maps/theseam-ui-common-google-maps.mjs +5 -0
- package/esm2020/graphql/datatable/create-page-info-observable.mjs +38 -0
- package/esm2020/graphql/datatable/datatable-graphql-query-ref.mjs +238 -0
- package/esm2020/graphql/datatable/datatable-graphql.service.mjs +50 -0
- package/esm2020/graphql/datatable/datatable-helpers.mjs +175 -0
- package/esm2020/graphql/datatable/get-page-info.mjs +10 -0
- package/esm2020/graphql/datatable/map-filter-states.mjs +62 -0
- package/esm2020/graphql/utils/parse-hints.mjs +108 -0
- package/esm2020/icon/icon/icon.component.mjs +139 -0
- package/esm2020/icon/icon-btn/icon-btn.component.mjs +184 -0
- package/esm2020/icon/icon-notification/icon-notification.component.mjs +124 -0
- package/esm2020/icon/icon.module.mjs +38 -0
- package/esm2020/layout/layout.module.mjs +25 -0
- package/esm2020/layout/layout.service.mjs +22 -0
- package/esm2020/loading/loading/loading.component.mjs +27 -0
- package/esm2020/loading/loading-overlay.service.mjs +58 -0
- package/esm2020/loading/loading.module.mjs +41 -0
- package/esm2020/menu/menu-divider.component.mjs +13 -0
- package/esm2020/menu/menu-footer/menu-footer.component.mjs +32 -0
- package/esm2020/menu/menu-footer-action/menu-footer-action.component.mjs +54 -0
- package/esm2020/menu/menu-header/menu-header.component.mjs +32 -0
- package/esm2020/menu/menu-item.component.mjs +131 -0
- package/esm2020/menu/menu-toggle.directive.mjs +251 -0
- package/esm2020/menu/menu.component.mjs +177 -0
- package/esm2020/menu/menu.module.mjs +67 -0
- package/esm2020/modal/directives/modal-close.directive.mjs +74 -0
- package/esm2020/modal/directives/modal-footer-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-header-icon-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-header-title-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-title.directive.mjs +20 -0
- package/esm2020/modal/directives/modal.directive.mjs +25 -0
- package/esm2020/modal/modal/modal.component.mjs +163 -0
- package/esm2020/modal/modal-body/modal-body.component.mjs +23 -0
- package/esm2020/modal/modal-config.mjs +47 -0
- package/esm2020/modal/modal-container/modal-container.component.mjs +245 -0
- package/esm2020/modal/modal-footer/modal-footer.component.mjs +19 -0
- package/esm2020/modal/modal-header/modal-header.component.mjs +30 -0
- package/esm2020/modal/modal.models.mjs +3 -0
- package/esm2020/modal/modal.module.mjs +127 -0
- package/esm2020/modal/modal.service.mjs +349 -0
- package/esm2020/modal/route-modal/route-modal.component.mjs +63 -0
- package/esm2020/popover/popover/popover.component.mjs +156 -0
- package/esm2020/popover/popover.directive.mjs +260 -0
- package/esm2020/popover/popover.module.mjs +40 -0
- package/esm2020/progress/progress-circle/progress-circle.component.mjs +65 -0
- package/esm2020/progress/progress.module.mjs +24 -0
- package/esm2020/scrollbar/overlay-scrollbar.directive.mjs +61 -0
- package/esm2020/scrollbar/overlay-scrollbars-config.mjs +13 -0
- package/esm2020/scrollbar/overlay-scrollbars.service.mjs +83 -0
- package/esm2020/scrollbar/scrollbar.module.mjs +30 -0
- package/esm2020/services/asset-loader.service.mjs +33 -0
- package/esm2020/services/font-loader.service.mjs +84 -0
- package/esm2020/services/router-helpers.service.mjs +25 -0
- package/esm2020/shared/components/password-input-reveal/password-input-reveal.component.mjs +49 -0
- package/esm2020/shared/directives/auto-focus.directive.mjs +54 -0
- package/esm2020/shared/directives/click-outside.directive.mjs +52 -0
- package/esm2020/shared/directives/disable-control.directive.mjs +27 -0
- package/esm2020/shared/directives/elem-resized.directive.mjs +28 -0
- package/esm2020/shared/directives/hover-class-toggle.directive.mjs +88 -0
- package/esm2020/shared/directives/hover-class.directive.mjs +82 -0
- package/esm2020/shared/directives/ng-select-extra.directive.mjs +184 -0
- package/esm2020/shared/directives/ngx-quill-extra.directive.mjs +61 -0
- package/esm2020/shared/pipes/mask-chars.pipe.mjs +25 -0
- package/esm2020/shared/pipes/truncate.pipe.mjs +23 -0
- package/esm2020/shared/shared.module.mjs +93 -0
- package/esm2020/storage/local-storage.service.mjs +78 -0
- package/esm2020/story-helpers/arg-type-helpers.mjs +35 -0
- package/esm2020/story-helpers/args-to-tpl.mjs +72 -0
- package/esm2020/story-helpers/initial-route.service.mjs +27 -0
- package/esm2020/story-helpers/on-story-bootstrapped-exec.mjs +61 -0
- package/esm2020/story-helpers/on-story-bootstrapped-trigger.mjs +38 -0
- package/esm2020/story-helpers/routes-arg-type.mjs +19 -0
- package/esm2020/story-helpers/story-empty-with-route.component.mjs +12 -0
- package/esm2020/story-helpers/story-empty.component.mjs +11 -0
- package/esm2020/story-helpers/story-helper-components.module.mjs +42 -0
- package/esm2020/story-helpers/story-initial-route.mjs +28 -0
- package/esm2020/story-helpers/story-modal-container.component.mjs +90 -0
- package/esm2020/story-helpers/story-toastr.service.mjs +36 -0
- package/esm2020/tabbed/directives/tabbed-tab-content.directive.mjs +17 -0
- package/esm2020/tabbed/directives/tabbed-tab.directive.mjs +36 -0
- package/esm2020/tabbed/public-api.mjs +9 -0
- package/esm2020/tabbed/tabbed-content/tabbed-content.component.mjs +18 -0
- package/esm2020/tabbed/tabbed-item/tabbed-item.component.mjs +34 -0
- package/esm2020/tabbed/tabbed-models.mjs +2 -0
- package/esm2020/tabbed/tabbed.component.mjs +112 -0
- package/esm2020/tabbed/tabbed.module.mjs +54 -0
- package/esm2020/tabbed/tabbed.service.mjs +30 -0
- package/esm2020/table/table/table.component.mjs +97 -0
- package/esm2020/table/table.module.mjs +32 -0
- package/esm2020/table-cell-type/services/table-cell-types-helpers.service.mjs +67 -0
- package/esm2020/table-cell-type/table-cell-type-selector.component.mjs +101 -0
- package/esm2020/table-cell-type/table-cell-type.module.mjs +29 -0
- package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.mjs +86 -0
- package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.component.mjs +56 -0
- package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.mjs +84 -0
- package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.mjs +175 -0
- package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.mjs +82 -0
- package/esm2020/table-cell-types/table-cell-type-manifests.mjs +92 -0
- package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.mjs +68 -0
- package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.mjs +167 -0
- package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.mjs +78 -0
- package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +192 -0
- package/esm2020/table-cell-types/table-cell-types.module.mjs +118 -0
- package/esm2020/table-cell-types/theseam-ui-common-table-cell-types.mjs +5 -0
- package/esm2020/tel-input/phone-number.pipe.mjs +49 -0
- package/esm2020/tel-input/tel-input/tel-input.component.mjs +187 -0
- package/esm2020/tel-input/tel-input-validator.mjs +27 -0
- package/esm2020/tel-input/tel-input.directive.mjs +218 -0
- package/esm2020/tel-input/tel-input.module.mjs +42 -0
- package/esm2020/tel-input/utils/get-validation-error-message.mjs +12 -0
- package/esm2020/testing/get-harness.mjs +13 -0
- package/esm2020/testing/render-story.mjs +10 -0
- package/esm2020/testing/story-expect.mjs +38 -0
- package/esm2020/tiled-select/components/tiled-select/tiled-select.component.mjs +215 -0
- package/esm2020/tiled-select/components/tiled-select-tile/tiled-select-tile.component.mjs +160 -0
- package/esm2020/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.mjs +64 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-icon-tpl.directive.mjs +17 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-label-tpl.directive.mjs +16 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-overlay.directive.mjs +19 -0
- package/esm2020/tiled-select/public-api.mjs +10 -0
- package/esm2020/tiled-select/testing/index.mjs +3 -0
- package/esm2020/tiled-select/testing/tiled-select-harness.mjs +21 -0
- package/esm2020/tiled-select/testing/tiled-select-tile-harness.mjs +23 -0
- package/esm2020/tiled-select/tiled-select.module.mjs +51 -0
- package/esm2020/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.mjs +14 -0
- package/esm2020/toggle-edit/toggle-edit-display-tpl.directive.mjs +16 -0
- package/esm2020/toggle-edit/toggle-edit-keyboard-listener.service.mjs +57 -0
- package/esm2020/toggle-edit/toggle-edit.component.mjs +414 -0
- package/esm2020/toggle-edit/toggle-edit.module.mjs +64 -0
- package/esm2020/toggle-group/toggle-group-option.directive.mjs +47 -0
- package/esm2020/toggle-group/toggle-group.directive.mjs +198 -0
- package/esm2020/toggle-group/toggle-group.module.mjs +33 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-can-deactivate.mjs +30 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +24 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.guard.mjs +37 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +17 -0
- package/esm2020/utils/file-utils.mjs +50 -0
- package/esm2020/utils/geo-json/coerce-feature-collection.mjs +44 -0
- package/esm2020/utils/geo-json/geo-json-to-area.mjs +11 -0
- package/esm2020/utils/geo-json/is-feature-collection.validator.mjs +21 -0
- package/esm2020/utils/geo-json/is-only-geometry-types.mjs +23 -0
- package/esm2020/utils/geo-json/is-only-geometry-types.validator.mjs +32 -0
- package/esm2020/utils/geo-json/merge-polygons.mjs +35 -0
- package/esm2020/utils/geo-json/no-inner-rings.validator.mjs +63 -0
- package/esm2020/utils/geo-json/read-geo-file.mjs +89 -0
- package/esm2020/utils/geo-json/split-multi-polygons.mjs +29 -0
- package/esm2020/utils/obj-utils.mjs +26 -0
- package/esm2020/utils/polling-ticker.mjs +121 -0
- package/esm2020/utils/subscriber-count.mjs +44 -0
- package/esm2020/utils/wait-on-condition-async.mjs +30 -0
- package/esm2020/viewers/html-template-viewer/html-template-viewer.component.mjs +219 -0
- package/esm2020/viewers/html-template-viewer/html-template-viewer.module.mjs +32 -0
- package/esm2020/viewers/pdf-viewer/pdf-page/pdf-page.component.mjs +142 -0
- package/esm2020/viewers/pdf-viewer/pdf-renderer.service.mjs +28 -0
- package/esm2020/viewers/pdf-viewer/pdf-viewer.component.mjs +163 -0
- package/esm2020/viewers/pdf-viewer/pdf-viewer.module.mjs +33 -0
- package/esm2020/widget/directives/widget-drag-handle.directive.mjs +150 -0
- package/esm2020/widget/directives/widget-icon-tpl.directive.mjs +16 -0
- package/esm2020/widget/directives/widget-title-tpl.directive.mjs +16 -0
- package/esm2020/widget/widget/widget.component.mjs +145 -0
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.module.mjs +30 -0
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-description/widget-description.component.mjs +11 -0
- package/esm2020/widget/widget-content-components/widget-description/widget-description.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.component.mjs +40 -0
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.component.mjs +13 -0
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.component.mjs +22 -0
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.mjs +17 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.mjs +127 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.component.mjs +16 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.module.mjs +46 -0
- package/esm2020/widget/widget-content-components/widget-table/widget-table.component.mjs +38 -0
- package/esm2020/widget/widget-content-components/widget-table/widget-table.module.mjs +32 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.mjs +16 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.mjs +42 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.mjs +17 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.component.mjs +121 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.module.mjs +48 -0
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.module.mjs +27 -0
- package/esm2020/widget/widget-footer/widget-footer.component.mjs +13 -0
- package/esm2020/widget/widget-registry.service.mjs +55 -0
- package/esm2020/widget/widget.module.mjs +125 -0
- package/fesm2015/theseam-ui-common-asset-reader.mjs +184 -0
- package/fesm2015/theseam-ui-common-asset-reader.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs +202 -0
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-buttons.mjs +310 -0
- package/fesm2015/theseam-ui-common-buttons.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-card.mjs +161 -0
- package/fesm2015/theseam-ui-common-card.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-checkbox.mjs +394 -0
- package/fesm2015/theseam-ui-common-checkbox.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs +173 -0
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-core.mjs +223 -0
- package/fesm2015/theseam-ui-common-core.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-data-exporter.mjs +93 -0
- package/fesm2015/theseam-ui-common-data-exporter.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-data-filters.mjs +505 -0
- package/fesm2015/theseam-ui-common-data-filters.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +1002 -0
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-datatable.mjs +2780 -0
- package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs +135 -0
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-dynamic.mjs +710 -0
- package/fesm2015/theseam-ui-common-dynamic.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-footer-bar.mjs +38 -0
- package/fesm2015/theseam-ui-common-footer-bar.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-form-field-error.mjs +481 -0
- package/fesm2015/theseam-ui-common-form-field-error.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-form-field.mjs +600 -0
- package/fesm2015/theseam-ui-common-form-field.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-framework.mjs +2990 -0
- package/fesm2015/theseam-ui-common-framework.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-google-maps.mjs +1837 -0
- package/fesm2015/theseam-ui-common-google-maps.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-graphql.mjs +886 -0
- package/fesm2015/theseam-ui-common-graphql.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-icon.mjs +588 -0
- package/fesm2015/theseam-ui-common-icon.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-layout.mjs +92 -0
- package/fesm2015/theseam-ui-common-layout.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-loading.mjs +140 -0
- package/fesm2015/theseam-ui-common-loading.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-menu.mjs +806 -0
- package/fesm2015/theseam-ui-common-menu.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-modal.mjs +1383 -0
- package/fesm2015/theseam-ui-common-modal.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-models.mjs +52 -0
- package/fesm2015/theseam-ui-common-models.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-popover.mjs +498 -0
- package/fesm2015/theseam-ui-common-popover.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-progress.mjs +93 -0
- package/fesm2015/theseam-ui-common-progress.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-scrollbar.mjs +185 -0
- package/fesm2015/theseam-ui-common-scrollbar.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-services.mjs +141 -0
- package/fesm2015/theseam-ui-common-services.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-shared.mjs +739 -0
- package/fesm2015/theseam-ui-common-shared.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-storage.mjs +148 -0
- package/fesm2015/theseam-ui-common-storage.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-story-helpers.mjs +477 -0
- package/fesm2015/theseam-ui-common-story-helpers.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tabbed.mjs +283 -0
- package/fesm2015/theseam-ui-common-tabbed.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table-cell-type.mjs +202 -0
- package/fesm2015/theseam-ui-common-table-cell-type.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table-cell-types.mjs +1134 -0
- package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table.mjs +129 -0
- package/fesm2015/theseam-ui-common-table.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tel-input.mjs +777 -0
- package/fesm2015/theseam-ui-common-tel-input.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-testing.mjs +192 -0
- package/fesm2015/theseam-ui-common-testing.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tiled-select.mjs +574 -0
- package/fesm2015/theseam-ui-common-tiled-select.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-toggle-edit.mjs +563 -0
- package/fesm2015/theseam-ui-common-toggle-edit.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-toggle-group.mjs +279 -0
- package/fesm2015/theseam-ui-common-toggle-group.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs +108 -0
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-utils.mjs +1314 -0
- package/fesm2015/theseam-ui-common-utils.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-validators.mjs +94 -0
- package/fesm2015/theseam-ui-common-validators.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-viewers.mjs +600 -0
- package/fesm2015/theseam-ui-common-viewers.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-widget.mjs +1273 -0
- package/fesm2015/theseam-ui-common-widget.mjs.map +1 -0
- package/fesm2015/theseam-ui-common.mjs +47 -0
- package/fesm2015/theseam-ui-common.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-asset-reader.mjs +182 -0
- package/fesm2020/theseam-ui-common-asset-reader.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs +202 -0
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-buttons.mjs +310 -0
- package/fesm2020/theseam-ui-common-buttons.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-card.mjs +159 -0
- package/fesm2020/theseam-ui-common-card.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-checkbox.mjs +376 -0
- package/fesm2020/theseam-ui-common-checkbox.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs +173 -0
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-core.mjs +231 -0
- package/fesm2020/theseam-ui-common-core.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-data-exporter.mjs +93 -0
- package/fesm2020/theseam-ui-common-data-exporter.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-data-filters.mjs +497 -0
- package/fesm2020/theseam-ui-common-data-filters.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +990 -0
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-datatable.mjs +2773 -0
- package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs +133 -0
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-dynamic.mjs +677 -0
- package/fesm2020/theseam-ui-common-dynamic.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-footer-bar.mjs +38 -0
- package/fesm2020/theseam-ui-common-footer-bar.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-form-field-error.mjs +485 -0
- package/fesm2020/theseam-ui-common-form-field-error.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-form-field.mjs +593 -0
- package/fesm2020/theseam-ui-common-form-field.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-framework.mjs +2988 -0
- package/fesm2020/theseam-ui-common-framework.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-google-maps.mjs +1831 -0
- package/fesm2020/theseam-ui-common-google-maps.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-graphql.mjs +892 -0
- package/fesm2020/theseam-ui-common-graphql.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-icon.mjs +588 -0
- package/fesm2020/theseam-ui-common-icon.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-layout.mjs +94 -0
- package/fesm2020/theseam-ui-common-layout.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-loading.mjs +139 -0
- package/fesm2020/theseam-ui-common-loading.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-menu.mjs +793 -0
- package/fesm2020/theseam-ui-common-menu.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-modal.mjs +1375 -0
- package/fesm2020/theseam-ui-common-modal.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-models.mjs +54 -0
- package/fesm2020/theseam-ui-common-models.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-popover.mjs +495 -0
- package/fesm2020/theseam-ui-common-popover.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-progress.mjs +93 -0
- package/fesm2020/theseam-ui-common-progress.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-scrollbar.mjs +185 -0
- package/fesm2020/theseam-ui-common-scrollbar.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-services.mjs +142 -0
- package/fesm2020/theseam-ui-common-services.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-shared.mjs +733 -0
- package/fesm2020/theseam-ui-common-shared.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-storage.mjs +148 -0
- package/fesm2020/theseam-ui-common-storage.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-story-helpers.mjs +473 -0
- package/fesm2020/theseam-ui-common-story-helpers.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tabbed.mjs +281 -0
- package/fesm2020/theseam-ui-common-tabbed.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table-cell-type.mjs +199 -0
- package/fesm2020/theseam-ui-common-table-cell-type.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table-cell-types.mjs +1109 -0
- package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table.mjs +133 -0
- package/fesm2020/theseam-ui-common-table.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tel-input.mjs +762 -0
- package/fesm2020/theseam-ui-common-tel-input.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-testing.mjs +187 -0
- package/fesm2020/theseam-ui-common-testing.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tiled-select.mjs +560 -0
- package/fesm2020/theseam-ui-common-tiled-select.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-toggle-edit.mjs +556 -0
- package/fesm2020/theseam-ui-common-toggle-edit.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-toggle-group.mjs +276 -0
- package/fesm2020/theseam-ui-common-toggle-group.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs +108 -0
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-utils.mjs +1291 -0
- package/fesm2020/theseam-ui-common-utils.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-validators.mjs +94 -0
- package/fesm2020/theseam-ui-common-validators.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-viewers.mjs +596 -0
- package/fesm2020/theseam-ui-common-viewers.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-widget.mjs +1269 -0
- package/fesm2020/theseam-ui-common-widget.mjs.map +1 -0
- package/fesm2020/theseam-ui-common.mjs +47 -0
- package/fesm2020/theseam-ui-common.mjs.map +1 -0
- package/footer-bar/footer-bar/footer-bar.component.d.ts +3 -0
- package/footer-bar/footer-bar.module.d.ts +6 -0
- package/footer-bar/index.d.ts +5 -0
- package/form-field/form-field-error.directive.d.ts +3 -0
- package/form-field/form-field-help-text.directive.d.ts +3 -0
- package/form-field/form-field-label-tpl.directive.d.ts +3 -0
- package/form-field/form-field-required-indicator.component.d.ts +5 -3
- package/form-field/form-field-tokens.d.ts +2 -0
- package/form-field/form-field.component.d.ts +3 -0
- package/form-field/form-field.module.d.ts +14 -0
- package/form-field/index.d.ts +5 -0
- package/form-field/input.directive.d.ts +3 -0
- package/form-field/public-api.d.ts +2 -0
- package/form-field/testing/form-field-required-indicator.harness.d.ts +5 -0
- package/form-field/testing/index.d.ts +1 -0
- package/form-field-error/form-field-error/form-field-error.component.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list-item.directive.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list.component.d.ts +3 -0
- package/form-field-error/form-field-error.module.d.ts +9 -0
- package/form-field-error/index.d.ts +5 -0
- package/framework/base-layout/base-layout.component.d.ts +3 -0
- package/framework/base-layout/base-layout.module.d.ts +17 -0
- package/framework/base-layout/directives/base-layout-content-footer.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-content-header.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-content.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-side-bar-footer.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-side-bar.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-top-bar.directive.d.ts +3 -0
- package/framework/base-layout/index.d.ts +1 -0
- package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.d.ts +3 -0
- package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.d.ts +6 -3
- package/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.d.ts +5 -1
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.service.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets-tokens.d.ts +7 -0
- package/framework/dashboard/dashboard.component.d.ts +3 -0
- package/framework/dashboard/dashboard.module.d.ts +15 -0
- package/framework/dynamic-router/dynamic-router.module.d.ts +7 -0
- package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.d.ts +3 -0
- package/framework/dynamic-router/resolvers/hierarchy-level.resolver.d.ts +3 -0
- package/framework/index.d.ts +5 -0
- package/framework/schema-form/schema-form-framework.component.d.ts +3 -0
- package/framework/schema-form/schema-form-framework.d.ts +3 -0
- package/framework/schema-form/schema-form.module.d.ts +8 -0
- package/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-controls.module.d.ts +18 -0
- package/framework/schema-form-controls/schema-form-input/schema-form-input.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-number/schema-form-number.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-select/schema-form-select.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +3 -0
- package/framework/side-nav/index.d.ts +1 -0
- package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +5 -2
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +3 -0
- package/framework/side-nav/side-nav-tokens.d.ts +6 -0
- package/framework/side-nav/side-nav.component.d.ts +4 -1
- package/framework/side-nav/side-nav.module.d.ts +15 -0
- package/framework/side-nav/side-nav.service.d.ts +3 -0
- package/framework/top-bar/top-bar-item.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-menu-btn-detail.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +3 -0
- package/framework/top-bar/top-bar-menu.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-title/top-bar-title.component.d.ts +3 -0
- package/framework/top-bar/top-bar.component.d.ts +4 -1
- package/framework/top-bar/top-bar.module.d.ts +17 -0
- package/google-maps/google-maps/google-maps.component.d.ts +15 -4
- package/google-maps/google-maps-api-loader/google-maps-api-loader.d.ts +4 -0
- package/google-maps/google-maps-contextmenu.d.ts +1 -1
- package/google-maps/google-maps-controls.service.d.ts +3 -0
- package/google-maps/google-maps-feature-helpers.d.ts +1 -1
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.d.ts +7 -0
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.d.ts +7 -0
- package/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.d.ts +3 -0
- package/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.d.ts +3 -0
- package/google-maps/google-maps.module.d.ts +18 -0
- package/google-maps/google-maps.service.d.ts +5 -0
- package/google-maps/index.d.ts +5 -0
- package/google-maps/map-control.component.d.ts +3 -0
- package/google-maps/map-controls-service.d.ts +1 -0
- package/google-maps/map-file-drop/map-file-drop.component.d.ts +3 -0
- package/google-maps/map-value-manager.service.d.ts +3 -0
- package/graphql/datatable/datatable-graphql.service.d.ts +3 -0
- package/graphql/index.d.ts +5 -0
- package/icon/icon/icon.component.d.ts +3 -0
- package/icon/icon-btn/icon-btn.component.d.ts +3 -0
- package/icon/icon-notification/icon-notification.component.d.ts +3 -0
- package/icon/icon.module.d.ts +9 -0
- package/icon/index.d.ts +5 -0
- package/index.d.ts +5 -0
- package/layout/index.d.ts +5 -0
- package/layout/layout.module.d.ts +6 -0
- package/layout/layout.service.d.ts +3 -0
- package/loading/index.d.ts +5 -0
- package/loading/loading/loading.component.d.ts +3 -0
- package/loading/loading-overlay.service.d.ts +3 -0
- package/loading/loading.module.d.ts +9 -0
- package/menu/index.d.ts +5 -0
- package/menu/menu-divider.component.d.ts +3 -0
- package/menu/menu-footer/menu-footer.component.d.ts +3 -0
- package/menu/menu-footer-action/menu-footer-action.component.d.ts +3 -0
- package/menu/menu-header/menu-header.component.d.ts +3 -0
- package/menu/menu-item.component.d.ts +3 -0
- package/menu/menu-toggle.directive.d.ts +3 -0
- package/menu/menu.component.d.ts +3 -0
- package/menu/menu.module.d.ts +14 -0
- package/modal/README.md +5 -0
- package/modal/directives/modal-close.directive.d.ts +3 -0
- package/modal/directives/modal-footer-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-header-icon-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-header-title-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-title.directive.d.ts +3 -0
- package/modal/directives/modal.directive.d.ts +3 -0
- package/modal/index.d.ts +5 -0
- package/modal/modal/modal.component.d.ts +5 -2
- package/modal/modal-body/modal-body.component.d.ts +3 -0
- package/modal/modal-container/modal-container.component.d.ts +5 -2
- package/modal/modal-footer/modal-footer.component.d.ts +3 -0
- package/modal/modal-header/modal-header.component.d.ts +3 -0
- package/modal/modal.models.d.ts +2 -2
- package/modal/modal.module.d.ts +23 -0
- package/modal/modal.service.d.ts +3 -0
- package/modal/route-modal/route-modal.component.d.ts +3 -0
- package/models/index.d.ts +5 -0
- package/package.json +400 -22
- package/popover/index.d.ts +5 -0
- package/popover/popover/popover.component.d.ts +3 -0
- package/popover/popover.directive.d.ts +3 -0
- package/popover/popover.module.d.ts +9 -0
- package/progress/index.d.ts +5 -0
- package/progress/progress-circle/progress-circle.component.d.ts +3 -0
- package/progress/progress.module.d.ts +6 -0
- package/scrollbar/index.d.ts +5 -0
- package/scrollbar/overlay-scrollbar.directive.d.ts +3 -0
- package/scrollbar/overlay-scrollbars.service.d.ts +3 -0
- package/scrollbar/scrollbar.module.d.ts +6 -0
- package/services/asset-loader.service.d.ts +3 -0
- package/services/font-loader.service.d.ts +3 -0
- package/services/index.d.ts +5 -0
- package/services/router-helpers.service.d.ts +3 -0
- package/shared/components/password-input-reveal/password-input-reveal.component.d.ts +3 -0
- package/shared/directives/auto-focus.directive.d.ts +3 -0
- package/shared/directives/click-outside.directive.d.ts +3 -0
- package/shared/directives/disable-control.directive.d.ts +3 -0
- package/shared/directives/elem-resized.directive.d.ts +3 -0
- package/shared/directives/hover-class-toggle.directive.d.ts +3 -0
- package/shared/directives/hover-class.directive.d.ts +3 -0
- package/shared/directives/ng-select-extra.directive.d.ts +3 -0
- package/shared/directives/ngx-quill-extra.directive.d.ts +3 -0
- package/shared/index.d.ts +5 -0
- package/shared/pipes/mask-chars.pipe.d.ts +3 -0
- package/shared/pipes/truncate.pipe.d.ts +3 -0
- package/shared/shared.module.d.ts +20 -0
- package/storage/index.d.ts +5 -0
- package/storage/local-storage.service.d.ts +3 -0
- package/story-helpers/arg-type-helpers.d.ts +2 -1
- package/story-helpers/args-to-tpl.d.ts +1 -1
- package/story-helpers/index.d.ts +5 -0
- package/story-helpers/initial-route.service.d.ts +3 -0
- package/story-helpers/on-story-bootstrapped-exec.d.ts +1 -6
- package/story-helpers/routes-arg-type.d.ts +7 -2
- package/story-helpers/story-empty-with-route.component.d.ts +3 -0
- package/story-helpers/story-empty.component.d.ts +3 -0
- package/story-helpers/story-helper-components.module.d.ts +10 -0
- package/story-helpers/story-initial-route.d.ts +4 -0
- package/story-helpers/story-modal-container.component.d.ts +3 -0
- package/story-helpers/story-toastr.service.d.ts +3 -0
- package/tabbed/directives/tabbed-tab-content.directive.d.ts +5 -1
- package/tabbed/directives/tabbed-tab.directive.d.ts +5 -1
- package/tabbed/index.d.ts +5 -0
- package/tabbed/public-api.d.ts +1 -0
- package/tabbed/tabbed-content/tabbed-content.component.d.ts +5 -2
- package/tabbed/tabbed-item/tabbed-item.component.d.ts +5 -1
- package/tabbed/tabbed-models.d.ts +12 -0
- package/tabbed/tabbed.component.d.ts +3 -0
- package/tabbed/tabbed.module.d.ts +12 -0
- package/tabbed/tabbed.service.d.ts +3 -0
- package/table/index.d.ts +5 -0
- package/table/table/table.component.d.ts +3 -0
- package/table/table.module.d.ts +8 -0
- package/table-cell-type/index.d.ts +5 -0
- package/table-cell-type/services/table-cell-types-helpers.service.d.ts +3 -0
- package/table-cell-type/table-cell-type-selector.component.d.ts +3 -0
- package/table-cell-type/table-cell-type.module.d.ts +7 -0
- package/table-cell-types/index.d.ts +5 -0
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-date/table-cell-type-date.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +3 -0
- package/table-cell-types/table-cell-types.module.d.ts +24 -0
- package/tel-input/index.d.ts +5 -0
- package/tel-input/phone-number.pipe.d.ts +3 -0
- package/tel-input/tel-input/tel-input.component.d.ts +5 -2
- package/tel-input/tel-input-validator.d.ts +3 -3
- package/tel-input/tel-input.directive.d.ts +8 -0
- package/tel-input/tel-input.module.d.ts +10 -0
- package/testing/index.d.ts +5 -0
- package/tiled-select/components/tiled-select/tiled-select.component.d.ts +3 -0
- package/tiled-select/components/tiled-select-tile/tiled-select-tile.component.d.ts +3 -0
- package/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-icon-tpl.directive.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-label-tpl.directive.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-overlay.directive.d.ts +3 -0
- package/tiled-select/index.d.ts +5 -0
- package/tiled-select/public-api.d.ts +1 -0
- package/tiled-select/testing/index.d.ts +2 -0
- package/tiled-select/testing/tiled-select-harness.d.ts +9 -0
- package/tiled-select/testing/tiled-select-tile-harness.d.ts +17 -0
- package/tiled-select/tiled-select.module.d.ts +12 -0
- package/toggle-edit/index.d.ts +5 -0
- package/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.d.ts +3 -0
- package/toggle-edit/toggle-edit-display-tpl.directive.d.ts +3 -0
- package/toggle-edit/toggle-edit-keyboard-listener.service.d.ts +3 -0
- package/toggle-edit/toggle-edit.component.d.ts +3 -0
- package/toggle-edit/toggle-edit.module.d.ts +16 -0
- package/toggle-group/index.d.ts +5 -0
- package/toggle-group/toggle-group-option.directive.d.ts +3 -0
- package/toggle-group/toggle-group.directive.d.ts +3 -0
- package/toggle-group/toggle-group.module.d.ts +8 -0
- package/unsaved-changes-dialog/index.d.ts +5 -0
- package/unsaved-changes-dialog/unsaved-changes-can-deactivate.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.guard.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.module.d.ts +5 -0
- package/utils/index.d.ts +5 -0
- package/utils/obj-utils.d.ts +1 -1
- package/validators/index.d.ts +5 -0
- package/viewers/html-template-viewer/html-template-viewer.component.d.ts +3 -0
- package/viewers/html-template-viewer/html-template-viewer.module.d.ts +8 -0
- package/viewers/index.d.ts +5 -0
- package/viewers/pdf-viewer/pdf-page/pdf-page.component.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-renderer.service.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-viewer.component.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-viewer.module.d.ts +8 -0
- package/widget/directives/widget-drag-handle.directive.d.ts +3 -0
- package/widget/directives/widget-icon-tpl.directive.d.ts +3 -0
- package/widget/directives/widget-title-tpl.directive.d.ts +3 -0
- package/widget/index.d.ts +5 -0
- package/widget/widget/widget.component.d.ts +3 -0
- package/widget/widget-content-components/widget-button-group/widget-button-group.component.d.ts +3 -0
- package/widget/widget-content-components/widget-button-group/widget-button-group.module.d.ts +7 -0
- package/widget/widget-content-components/widget-content-header/widget-content-header.component.d.ts +3 -0
- package/widget/widget-content-components/widget-content-header/widget-content-header.module.d.ts +6 -0
- package/widget/widget-content-components/widget-description/widget-description.component.d.ts +3 -0
- package/widget/widget-content-components/widget-description/widget-description.module.d.ts +6 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.d.ts +3 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.module.d.ts +6 -0
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.d.ts +3 -0
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.module.d.ts +6 -0
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.d.ts +3 -0
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.module.d.ts +6 -0
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.d.ts +3 -0
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.module.d.ts +6 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.d.ts +3 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.d.ts +11 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.component.d.ts +3 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.module.d.ts +9 -0
- package/widget/widget-content-components/widget-table/widget-table.component.d.ts +3 -0
- package/widget/widget-content-components/widget-table/widget-table.module.d.ts +8 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile.component.d.ts +5 -0
- package/widget/widget-content-components/widget-tile/widget-tile.module.d.ts +11 -0
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.module.d.ts +7 -0
- package/widget/widget-footer/widget-footer.component.d.ts +3 -0
- package/widget/widget-registry.service.d.ts +3 -0
- package/widget/widget.module.d.ts +28 -0
- package/asset-reader/package.json +0 -11
- package/asset-reader/theseam-ui-common-asset-reader.d.ts +0 -4
- package/asset-reader/theseam-ui-common-asset-reader.metadata.json +0 -1
- package/assets/.gitkeep +0 -0
- package/assets/vendor/intl-tel-input/css/intlTelInput.min.css +0 -1
- 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 +0 -502
- package/breadcrumbs/package.json +0 -11
- package/breadcrumbs/theseam-ui-common-breadcrumbs.d.ts +0 -4
- package/breadcrumbs/theseam-ui-common-breadcrumbs.metadata.json +0 -1
- package/bundles/theseam-ui-common-asset-reader.umd.js +0 -531
- package/bundles/theseam-ui-common-asset-reader.umd.js.map +0 -1
- package/bundles/theseam-ui-common-breadcrumbs.umd.js +0 -586
- package/bundles/theseam-ui-common-breadcrumbs.umd.js.map +0 -1
- package/bundles/theseam-ui-common-buttons.umd.js +0 -719
- package/bundles/theseam-ui-common-buttons.umd.js.map +0 -1
- package/bundles/theseam-ui-common-card.umd.js +0 -480
- package/bundles/theseam-ui-common-card.umd.js.map +0 -1
- package/bundles/theseam-ui-common-checkbox.umd.js +0 -650
- package/bundles/theseam-ui-common-checkbox.umd.js.map +0 -1
- package/bundles/theseam-ui-common-confirm-dialog.umd.js +0 -491
- package/bundles/theseam-ui-common-confirm-dialog.umd.js.map +0 -1
- package/bundles/theseam-ui-common-core.umd.js +0 -604
- package/bundles/theseam-ui-common-core.umd.js.map +0 -1
- package/bundles/theseam-ui-common-data-exporter.umd.js +0 -96
- package/bundles/theseam-ui-common-data-exporter.umd.js.map +0 -1
- package/bundles/theseam-ui-common-data-filters.umd.js +0 -891
- package/bundles/theseam-ui-common-data-filters.umd.js.map +0 -1
- package/bundles/theseam-ui-common-datatable-dynamic.umd.js +0 -1499
- package/bundles/theseam-ui-common-datatable-dynamic.umd.js.map +0 -1
- package/bundles/theseam-ui-common-datatable.umd.js +0 -3222
- package/bundles/theseam-ui-common-datatable.umd.js.map +0 -1
- package/bundles/theseam-ui-common-dynamic-component-loader.umd.js +0 -178
- package/bundles/theseam-ui-common-dynamic-component-loader.umd.js.map +0 -1
- package/bundles/theseam-ui-common-dynamic.umd.js +0 -1252
- package/bundles/theseam-ui-common-dynamic.umd.js.map +0 -1
- package/bundles/theseam-ui-common-footer-bar.umd.js +0 -49
- package/bundles/theseam-ui-common-footer-bar.umd.js.map +0 -1
- package/bundles/theseam-ui-common-form-field-error.umd.js +0 -884
- package/bundles/theseam-ui-common-form-field-error.umd.js.map +0 -1
- package/bundles/theseam-ui-common-form-field.umd.js +0 -914
- package/bundles/theseam-ui-common-form-field.umd.js.map +0 -1
- package/bundles/theseam-ui-common-framework.umd.js +0 -3379
- package/bundles/theseam-ui-common-framework.umd.js.map +0 -1
- package/bundles/theseam-ui-common-google-maps.umd.js +0 -2234
- package/bundles/theseam-ui-common-google-maps.umd.js.map +0 -1
- package/bundles/theseam-ui-common-graphql.umd.js +0 -1307
- package/bundles/theseam-ui-common-graphql.umd.js.map +0 -1
- package/bundles/theseam-ui-common-icon.umd.js +0 -890
- package/bundles/theseam-ui-common-icon.umd.js.map +0 -1
- package/bundles/theseam-ui-common-layout.umd.js +0 -117
- package/bundles/theseam-ui-common-layout.umd.js.map +0 -1
- package/bundles/theseam-ui-common-loading.umd.js +0 -152
- package/bundles/theseam-ui-common-loading.umd.js.map +0 -1
- package/bundles/theseam-ui-common-menu.umd.js +0 -1153
- package/bundles/theseam-ui-common-menu.umd.js.map +0 -1
- package/bundles/theseam-ui-common-modal.umd.js +0 -1718
- package/bundles/theseam-ui-common-modal.umd.js.map +0 -1
- package/bundles/theseam-ui-common-models.umd.js +0 -63
- package/bundles/theseam-ui-common-models.umd.js.map +0 -1
- package/bundles/theseam-ui-common-popover.umd.js +0 -504
- package/bundles/theseam-ui-common-popover.umd.js.map +0 -1
- package/bundles/theseam-ui-common-progress.umd.js +0 -420
- package/bundles/theseam-ui-common-progress.umd.js.map +0 -1
- package/bundles/theseam-ui-common-scrollbar.umd.js +0 -238
- package/bundles/theseam-ui-common-scrollbar.umd.js.map +0 -1
- package/bundles/theseam-ui-common-services.umd.js +0 -176
- package/bundles/theseam-ui-common-services.umd.js.map +0 -1
- package/bundles/theseam-ui-common-shared.umd.js +0 -1115
- package/bundles/theseam-ui-common-shared.umd.js.map +0 -1
- package/bundles/theseam-ui-common-storage.umd.js +0 -176
- package/bundles/theseam-ui-common-storage.umd.js.map +0 -1
- package/bundles/theseam-ui-common-story-helpers.umd.js +0 -795
- package/bundles/theseam-ui-common-story-helpers.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tabbed.umd.js +0 -628
- package/bundles/theseam-ui-common-tabbed.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table-cell-type.umd.js +0 -220
- package/bundles/theseam-ui-common-table-cell-type.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table-cell-types.umd.js +0 -1482
- package/bundles/theseam-ui-common-table-cell-types.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table.umd.js +0 -475
- package/bundles/theseam-ui-common-table.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tel-input.umd.js +0 -1107
- package/bundles/theseam-ui-common-tel-input.umd.js.map +0 -1
- package/bundles/theseam-ui-common-testing.umd.js +0 -568
- package/bundles/theseam-ui-common-testing.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tiled-select.umd.js +0 -866
- package/bundles/theseam-ui-common-tiled-select.umd.js.map +0 -1
- package/bundles/theseam-ui-common-toggle-edit.umd.js +0 -891
- package/bundles/theseam-ui-common-toggle-edit.umd.js.map +0 -1
- package/bundles/theseam-ui-common-toggle-group.umd.js +0 -629
- package/bundles/theseam-ui-common-toggle-group.umd.js.map +0 -1
- package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js +0 -134
- package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js.map +0 -1
- package/bundles/theseam-ui-common-utils.umd.js +0 -1890
- package/bundles/theseam-ui-common-utils.umd.js.map +0 -1
- package/bundles/theseam-ui-common-validators.umd.js +0 -105
- package/bundles/theseam-ui-common-validators.umd.js.map +0 -1
- package/bundles/theseam-ui-common-viewers.umd.js +0 -962
- package/bundles/theseam-ui-common-viewers.umd.js.map +0 -1
- package/bundles/theseam-ui-common-widget.umd.js +0 -1710
- package/bundles/theseam-ui-common-widget.umd.js.map +0 -1
- package/bundles/theseam-ui-common.umd.js +0 -54
- package/bundles/theseam-ui-common.umd.js.map +0 -1
- package/buttons/package.json +0 -11
- package/buttons/theseam-ui-common-buttons.d.ts +0 -4
- package/buttons/theseam-ui-common-buttons.metadata.json +0 -1
- package/card/package.json +0 -11
- package/card/theseam-ui-common-card.d.ts +0 -4
- package/card/theseam-ui-common-card.metadata.json +0 -1
- package/checkbox/package.json +0 -11
- package/checkbox/theseam-ui-common-checkbox.d.ts +0 -4
- package/checkbox/theseam-ui-common-checkbox.metadata.json +0 -1
- package/confirm-dialog/package.json +0 -11
- package/confirm-dialog/theseam-ui-common-confirm-dialog.d.ts +0 -4
- package/confirm-dialog/theseam-ui-common-confirm-dialog.metadata.json +0 -1
- package/core/package.json +0 -11
- package/core/theseam-ui-common-core.d.ts +0 -4
- package/core/theseam-ui-common-core.metadata.json +0 -1
- package/data-exporter/package.json +0 -11
- package/data-exporter/theseam-ui-common-data-exporter.d.ts +0 -4
- package/data-exporter/theseam-ui-common-data-exporter.metadata.json +0 -1
- package/data-filters/package.json +0 -11
- package/data-filters/theseam-ui-common-data-filters.d.ts +0 -4
- package/data-filters/theseam-ui-common-data-filters.metadata.json +0 -1
- package/datatable/package.json +0 -11
- package/datatable/theseam-ui-common-datatable.d.ts +0 -7
- package/datatable/theseam-ui-common-datatable.metadata.json +0 -1
- package/datatable-dynamic/package.json +0 -11
- package/datatable-dynamic/theseam-ui-common-datatable-dynamic.d.ts +0 -4
- package/datatable-dynamic/theseam-ui-common-datatable-dynamic.metadata.json +0 -1
- package/dynamic/package.json +0 -11
- package/dynamic/theseam-ui-common-dynamic.d.ts +0 -4
- package/dynamic/theseam-ui-common-dynamic.metadata.json +0 -1
- package/dynamic-component-loader/package.json +0 -11
- package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.d.ts +0 -4
- package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.metadata.json +0 -1
- package/esm2015/asset-reader/asset-reader-helper.service.js +0 -68
- package/esm2015/asset-reader/asset-reader.module.js +0 -15
- package/esm2015/asset-reader/encrypted-asset-link.directive.js +0 -69
- package/esm2015/breadcrumbs/breadcrumbs/breadcrumbs.component.js +0 -22
- package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -21
- package/esm2015/breadcrumbs/breadcrumbs.service.js +0 -158
- package/esm2015/buttons/badge-button/badge-button.component.js +0 -79
- package/esm2015/buttons/button/button.component.js +0 -111
- package/esm2015/buttons/buttons.module.js +0 -34
- package/esm2015/buttons/progress-circle-button/progress-circle-button.component.js +0 -60
- package/esm2015/buttons/toggle-button/toggle-button.component.js +0 -88
- package/esm2015/card/card-action/card-action.component.js +0 -27
- package/esm2015/card/card-body/card-body.component.js +0 -32
- package/esm2015/card/card-footer/card-footer.component.js +0 -15
- package/esm2015/card/card-header/card-header.component.js +0 -22
- package/esm2015/card/card.component.js +0 -20
- package/esm2015/card/card.module.js +0 -33
- package/esm2015/checkbox/checkbox.component.js +0 -276
- package/esm2015/checkbox/checkbox.module.js +0 -21
- package/esm2015/checkbox/public-api.js +0 -3
- package/esm2015/confirm-dialog/confirm-click.directive.js +0 -62
- package/esm2015/confirm-dialog/confirm-dialog.component.js +0 -20
- package/esm2015/confirm-dialog/confirm-dialog.module.js +0 -35
- package/esm2015/confirm-dialog/confirm-dialog.service.js +0 -38
- package/esm2015/data-exporter/data-exporter.module.js +0 -17
- package/esm2015/data-exporter/exporters/csv-exporter.js +0 -32
- package/esm2015/data-exporter/exporters/xlsx-exporter.js +0 -30
- package/esm2015/data-filters/data-filters.module.js +0 -50
- package/esm2015/data-filters/filters/data-filter-search/data-filter-search.component.js +0 -110
- package/esm2015/data-filters/filters/data-filter-text/data-filter-text.component.js +0 -138
- package/esm2015/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.js +0 -151
- package/esm2015/datatable/datatable/datatable.component.js +0 -570
- package/esm2015/datatable/datatable-action-menu/datatable-action-menu.component.js +0 -101
- package/esm2015/datatable/datatable-action-menu-item/datatable-action-menu-item.component.js +0 -30
- package/esm2015/datatable/datatable-column/datatable-column.component.js +0 -83
- package/esm2015/datatable/datatable-column-preferences/datatable-column-preferences.component.js +0 -63
- package/esm2015/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.js +0 -52
- package/esm2015/datatable/datatable-export-button/datatable-export-button.component.js +0 -101
- package/esm2015/datatable/datatable-footer/datatable-footer-tpl.directive.js +0 -15
- package/esm2015/datatable/datatable-footer/datatable-footer.directive.js +0 -18
- package/esm2015/datatable/datatable-menu-bar/datatable-menu-bar.component.js +0 -55
- package/esm2015/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.js +0 -32
- package/esm2015/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.js +0 -15
- package/esm2015/datatable/datatable-row-detail/datatable-row-detail.directive.js +0 -69
- package/esm2015/datatable/datatable.module.js +0 -126
- package/esm2015/datatable/directives/datatable-action-menu-item.directive.js +0 -46
- package/esm2015/datatable/directives/datatable-action-menu-toggle.directive.js +0 -128
- package/esm2015/datatable/directives/datatable-cell-tpl.directive.js +0 -15
- package/esm2015/datatable/directives/datatable-filter.directive.js +0 -21
- package/esm2015/datatable/directives/datatable-row-action-item.directive.js +0 -15
- package/esm2015/datatable/services/columns-alterations-manager.service.js +0 -134
- package/esm2015/datatable/services/columns-manager.service.js +0 -257
- package/esm2015/datatable/services/datatable-column-changes.service.js +0 -17
- package/esm2015/datatable/services/datatable-preferences.service.js +0 -159
- package/esm2015/datatable/services/datatable-scrollbar-helper.service.js +0 -51
- package/esm2015/datatable/theseam-ui-common-datatable.js +0 -8
- package/esm2015/datatable/utils/with-stored-column-info.js +0 -20
- package/esm2015/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.js +0 -119
- package/esm2015/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.js +0 -53
- package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.js +0 -160
- package/esm2015/datatable-dynamic/datatable-dynamic.component.js +0 -75
- package/esm2015/datatable-dynamic/datatable-dynamic.module.js +0 -49
- package/esm2015/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.js +0 -408
- package/esm2015/datatable-dynamic/dynamic-datatable-def.service.js +0 -84
- package/esm2015/datatable-dynamic/dynamic-datatable-row-actions.service.js +0 -47
- package/esm2015/datatable-dynamic/models/dynamic-datatable-menu-bar.js +0 -2
- package/esm2015/dynamic/action/api/dynamic-action-api.service.js +0 -215
- package/esm2015/dynamic/action/dynamic-action-helper.service.js +0 -163
- package/esm2015/dynamic/action/link/dynamic-action-link.service.js +0 -50
- package/esm2015/dynamic/action/modal/dynamic-action-modal.service.js +0 -92
- package/esm2015/dynamic/dynamic-value-helper.service.js +0 -101
- package/esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.js +0 -33
- package/esm2015/dynamic/evaluators/jexl-evaluator/jexl-evaluator.js +0 -30
- package/esm2015/dynamic/models/dynamic-value-evaluatable-type.js +0 -2
- package/esm2015/dynamic-component-loader/dynamic-component-loader.module.js +0 -47
- package/esm2015/dynamic-component-loader/dynamic-component-loader.service.js +0 -91
- package/esm2015/dynamic-component-loader/dynamic-component-manifest.js +0 -2
- package/esm2015/footer-bar/footer-bar/footer-bar.component.js +0 -16
- package/esm2015/footer-bar/footer-bar.module.js +0 -15
- package/esm2015/form-field/form-field-error.directive.js +0 -28
- package/esm2015/form-field/form-field-help-text.directive.js +0 -15
- package/esm2015/form-field/form-field-label-tpl.directive.js +0 -15
- package/esm2015/form-field/form-field-required-indicator.component.js +0 -38
- package/esm2015/form-field/form-field.component.js +0 -193
- package/esm2015/form-field/form-field.module.js +0 -40
- package/esm2015/form-field/input.directive.js +0 -195
- package/esm2015/form-field/public-api.js +0 -8
- package/esm2015/form-field-error/form-field-error/form-field-error.component.js +0 -27
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.js +0 -25
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item.directive.js +0 -18
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list.component.js +0 -370
- package/esm2015/form-field-error/form-field-error.module.js +0 -28
- package/esm2015/framework/base-layout/base-layout.component.js +0 -117
- package/esm2015/framework/base-layout/base-layout.module.js +0 -48
- package/esm2015/framework/base-layout/directives/base-layout-content-footer.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-content-header.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-content.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-nav-toggle.directive.js +0 -37
- package/esm2015/framework/base-layout/directives/base-layout-side-bar-footer.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-side-bar.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-top-bar.directive.js +0 -15
- package/esm2015/framework/base-layout/index.js +0 -13
- package/esm2015/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.js +0 -19
- package/esm2015/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.js +0 -25
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.js +0 -121
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.js +0 -173
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.component.js +0 -176
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.service.js +0 -165
- package/esm2015/framework/dashboard/dashboard.component.js +0 -25
- package/esm2015/framework/dashboard/dashboard.module.js +0 -39
- package/esm2015/framework/dynamic-router/dynamic-router.module.js +0 -21
- package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.js +0 -114
- package/esm2015/framework/dynamic-router/resolvers/hierarchy-level.resolver.js +0 -26
- package/esm2015/framework/schema-form/schema-form-framework.component.js +0 -16
- package/esm2015/framework/schema-form/schema-form-framework.js +0 -27
- package/esm2015/framework/schema-form/schema-form.module.js +0 -35
- package/esm2015/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.js +0 -41
- package/esm2015/framework/schema-form-controls/schema-form-controls.module.js +0 -50
- package/esm2015/framework/schema-form-controls/schema-form-input/schema-form-input.component.js +0 -34
- package/esm2015/framework/schema-form-controls/schema-form-number/schema-form-number.component.js +0 -40
- package/esm2015/framework/schema-form-controls/schema-form-select/schema-form-select.component.js +0 -36
- package/esm2015/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.js +0 -46
- package/esm2015/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.js +0 -142
- package/esm2015/framework/side-nav/index.js +0 -7
- package/esm2015/framework/side-nav/side-nav-item/side-nav-item.component.js +0 -151
- package/esm2015/framework/side-nav/side-nav-toggle/side-nav-toggle.component.js +0 -36
- package/esm2015/framework/side-nav/side-nav-utils.js +0 -81
- package/esm2015/framework/side-nav/side-nav.component.js +0 -212
- package/esm2015/framework/side-nav/side-nav.module.js +0 -39
- package/esm2015/framework/side-nav/side-nav.service.js +0 -174
- package/esm2015/framework/theseam-ui-common-framework.js +0 -14
- package/esm2015/framework/top-bar/top-bar-item.directive.js +0 -15
- package/esm2015/framework/top-bar/top-bar-menu-btn-detail.directive.js +0 -15
- package/esm2015/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.js +0 -53
- package/esm2015/framework/top-bar/top-bar-menu.directive.js +0 -16
- package/esm2015/framework/top-bar/top-bar-title/top-bar-title.component.js +0 -20
- package/esm2015/framework/top-bar/top-bar.component.js +0 -84
- package/esm2015/framework/top-bar/top-bar.module.js +0 -46
- package/esm2015/google-maps/google-maps/google-maps.component.js +0 -261
- package/esm2015/google-maps/google-maps-controls.service.js +0 -70
- package/esm2015/google-maps/google-maps-feature-helpers.js +0 -186
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.js +0 -195
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.js +0 -163
- package/esm2015/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.js +0 -57
- package/esm2015/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.js +0 -119
- package/esm2015/google-maps/google-maps.module.js +0 -45
- package/esm2015/google-maps/google-maps.service.js +0 -354
- package/esm2015/google-maps/map-control.component.js +0 -65
- package/esm2015/google-maps/map-file-drop/map-file-drop.component.js +0 -135
- package/esm2015/google-maps/map-value-manager.service.js +0 -46
- package/esm2015/google-maps/theseam-ui-common-google-maps.js +0 -6
- package/esm2015/graphql/datatable/create-page-info-observable.js +0 -38
- package/esm2015/graphql/datatable/datatable-graphql-query-ref.js +0 -236
- package/esm2015/graphql/datatable/datatable-graphql.service.js +0 -35
- package/esm2015/graphql/datatable/datatable-helpers.js +0 -170
- package/esm2015/graphql/datatable/get-page-info.js +0 -11
- package/esm2015/graphql/datatable/map-filter-states.js +0 -64
- package/esm2015/graphql/utils/parse-hints.js +0 -116
- package/esm2015/icon/icon/icon.component.js +0 -125
- package/esm2015/icon/icon-btn/icon-btn.component.js +0 -136
- package/esm2015/icon/icon-notification/icon-notification.component.js +0 -120
- package/esm2015/icon/icon.module.js +0 -27
- package/esm2015/layout/layout.module.js +0 -18
- package/esm2015/layout/layout.service.js +0 -24
- package/esm2015/loading/loading/loading.component.js +0 -28
- package/esm2015/loading/loading-overlay.service.js +0 -59
- package/esm2015/loading/loading.module.js +0 -29
- package/esm2015/menu/menu-divider.component.js +0 -15
- package/esm2015/menu/menu-footer/menu-footer.component.js +0 -32
- package/esm2015/menu/menu-footer-action/menu-footer-action.component.js +0 -48
- package/esm2015/menu/menu-header/menu-header.component.js +0 -32
- package/esm2015/menu/menu-item.component.js +0 -127
- package/esm2015/menu/menu-toggle.directive.js +0 -249
- package/esm2015/menu/menu.component.js +0 -174
- package/esm2015/menu/menu.module.js +0 -43
- package/esm2015/modal/directives/modal-close.directive.js +0 -63
- package/esm2015/modal/directives/modal-footer-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-header-icon-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-header-title-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-title.directive.js +0 -19
- package/esm2015/modal/directives/modal.directive.js +0 -25
- package/esm2015/modal/modal/modal.component.js +0 -149
- package/esm2015/modal/modal-body/modal-body.component.js +0 -22
- package/esm2015/modal/modal-config.js +0 -47
- package/esm2015/modal/modal-container/modal-container.component.js +0 -220
- package/esm2015/modal/modal-footer/modal-footer.component.js +0 -20
- package/esm2015/modal/modal-header/modal-header.component.js +0 -26
- package/esm2015/modal/modal.models.js +0 -3
- package/esm2015/modal/modal.module.js +0 -83
- package/esm2015/modal/modal.service.js +0 -343
- package/esm2015/modal/route-modal/route-modal.component.js +0 -68
- package/esm2015/popover/popover/popover.component.js +0 -149
- package/esm2015/popover/popover.directive.js +0 -257
- package/esm2015/popover/popover.module.js +0 -30
- package/esm2015/progress/progress-circle/progress-circle.component.js +0 -63
- package/esm2015/progress/progress.module.js +0 -19
- package/esm2015/scrollbar/overlay-scrollbar.directive.js +0 -61
- package/esm2015/scrollbar/overlay-scrollbars-config.js +0 -13
- package/esm2015/scrollbar/overlay-scrollbars.service.js +0 -87
- package/esm2015/scrollbar/scrollbar.module.js +0 -25
- package/esm2015/services/asset-loader.service.js +0 -33
- package/esm2015/services/font-loader.service.js +0 -81
- package/esm2015/services/router-helpers.service.js +0 -26
- package/esm2015/shared/components/password-input-reveal/password-input-reveal.component.js +0 -71
- package/esm2015/shared/directives/auto-focus.directive.js +0 -53
- package/esm2015/shared/directives/click-outside.directive.js +0 -49
- package/esm2015/shared/directives/disable-control.directive.js +0 -27
- package/esm2015/shared/directives/elem-resized.directive.js +0 -29
- package/esm2015/shared/directives/hover-class-toggle.directive.js +0 -80
- package/esm2015/shared/directives/hover-class.directive.js +0 -74
- package/esm2015/shared/directives/ng-select-extra.directive.js +0 -177
- package/esm2015/shared/directives/ngx-quill-extra.directive.js +0 -60
- package/esm2015/shared/pipes/mask-chars.pipe.js +0 -21
- package/esm2015/shared/pipes/truncate.pipe.js +0 -19
- package/esm2015/shared/shared.module.js +0 -58
- package/esm2015/storage/local-storage.service.js +0 -77
- package/esm2015/story-helpers/arg-type-helpers.js +0 -34
- package/esm2015/story-helpers/args-to-tpl.js +0 -76
- package/esm2015/story-helpers/initial-route.service.js +0 -27
- package/esm2015/story-helpers/on-story-bootstrapped-exec.js +0 -64
- package/esm2015/story-helpers/on-story-bootstrapped-trigger.js +0 -38
- package/esm2015/story-helpers/routes-arg-type.js +0 -18
- package/esm2015/story-helpers/story-empty-with-route.component.js +0 -7
- package/esm2015/story-helpers/story-empty.component.js +0 -7
- package/esm2015/story-helpers/story-helper-components.module.js +0 -29
- package/esm2015/story-helpers/story-initial-route.js +0 -24
- package/esm2015/story-helpers/story-modal-container.component.js +0 -77
- package/esm2015/story-helpers/story-toastr.service.js +0 -33
- package/esm2015/tabbed/directives/tabbed-tab-content.directive.js +0 -14
- package/esm2015/tabbed/directives/tabbed-tab.directive.js +0 -36
- package/esm2015/tabbed/public-api.js +0 -8
- package/esm2015/tabbed/tabbed-content/tabbed-content.component.js +0 -17
- package/esm2015/tabbed/tabbed-item/tabbed-item.component.js +0 -30
- package/esm2015/tabbed/tabbed.component.js +0 -111
- package/esm2015/tabbed/tabbed.module.js +0 -36
- package/esm2015/tabbed/tabbed.service.js +0 -28
- package/esm2015/table/table/table.component.js +0 -90
- package/esm2015/table/table.module.js +0 -23
- package/esm2015/table-cell-type/services/table-cell-types-helpers.service.js +0 -70
- package/esm2015/table-cell-type/table-cell-type-selector.component.js +0 -94
- package/esm2015/table-cell-type/table-cell-type.module.js +0 -23
- package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.js +0 -89
- package/esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.component.js +0 -52
- package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.js +0 -87
- package/esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.js +0 -166
- package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.js +0 -85
- package/esm2015/table-cell-types/table-cell-type-manifests.js +0 -103
- package/esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.js +0 -66
- package/esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.js +0 -160
- package/esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.js +0 -78
- package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string.component.js +0 -178
- package/esm2015/table-cell-types/table-cell-types.module.js +0 -78
- package/esm2015/table-cell-types/theseam-ui-common-table-cell-types.js +0 -5
- package/esm2015/tel-input/phone-number.pipe.js +0 -51
- package/esm2015/tel-input/tel-input/tel-input.component.js +0 -175
- package/esm2015/tel-input/tel-input-validator.js +0 -27
- package/esm2015/tel-input/tel-input.directive.js +0 -209
- package/esm2015/tel-input/tel-input.module.js +0 -29
- package/esm2015/tel-input/utils/get-validation-error-message.js +0 -12
- package/esm2015/testing/get-harness.js +0 -16
- package/esm2015/testing/render-story.js +0 -12
- package/esm2015/testing/story-expect.js +0 -39
- package/esm2015/tiled-select/components/tiled-select/tiled-select.component.js +0 -205
- package/esm2015/tiled-select/components/tiled-select-tile/tiled-select-tile.component.js +0 -128
- package/esm2015/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.js +0 -54
- package/esm2015/tiled-select/directives/tiled-select-tile-icon-tpl.directive.js +0 -16
- package/esm2015/tiled-select/directives/tiled-select-tile-label-tpl.directive.js +0 -15
- package/esm2015/tiled-select/directives/tiled-select-tile-overlay.directive.js +0 -19
- package/esm2015/tiled-select/public-api.js +0 -10
- package/esm2015/tiled-select/tiled-select.module.js +0 -35
- package/esm2015/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.js +0 -15
- package/esm2015/toggle-edit/toggle-edit-display-tpl.directive.js +0 -15
- package/esm2015/toggle-edit/toggle-edit-keyboard-listener.service.js +0 -56
- package/esm2015/toggle-edit/toggle-edit.component.js +0 -403
- package/esm2015/toggle-edit/toggle-edit.module.js +0 -40
- package/esm2015/toggle-group/toggle-group-option.directive.js +0 -44
- package/esm2015/toggle-group/toggle-group.directive.js +0 -192
- package/esm2015/toggle-group/toggle-group.module.js +0 -24
- package/esm2015/unsaved-changes-dialog/unsaved-changes-can-deactivate.js +0 -27
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.component.js +0 -20
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.guard.js +0 -35
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.module.js +0 -12
- package/esm2015/utils/file-utils.js +0 -68
- package/esm2015/utils/geo-json/coerce-feature-collection.js +0 -44
- package/esm2015/utils/geo-json/geo-json-to-area.js +0 -11
- package/esm2015/utils/geo-json/is-feature-collection.validator.js +0 -21
- package/esm2015/utils/geo-json/is-only-geometry-types.js +0 -23
- package/esm2015/utils/geo-json/is-only-geometry-types.validator.js +0 -32
- package/esm2015/utils/geo-json/merge-polygons.js +0 -35
- package/esm2015/utils/geo-json/no-inner-rings.validator.js +0 -63
- package/esm2015/utils/geo-json/read-geo-file.js +0 -99
- package/esm2015/utils/geo-json/split-multi-polygons.js +0 -29
- package/esm2015/utils/obj-utils.js +0 -27
- package/esm2015/utils/polling-ticker.js +0 -121
- package/esm2015/utils/subscriber-count.js +0 -46
- package/esm2015/utils/wait-on-condition-async.js +0 -33
- package/esm2015/viewers/html-template-viewer/html-template-viewer.component.js +0 -219
- package/esm2015/viewers/html-template-viewer/html-template-viewer.module.js +0 -23
- package/esm2015/viewers/pdf-viewer/pdf-page/pdf-page.component.js +0 -134
- package/esm2015/viewers/pdf-viewer/pdf-renderer.service.js +0 -27
- package/esm2015/viewers/pdf-viewer/pdf-viewer.component.js +0 -149
- package/esm2015/viewers/pdf-viewer/pdf-viewer.module.js +0 -24
- package/esm2015/widget/directives/widget-drag-handle.directive.js +0 -146
- package/esm2015/widget/directives/widget-icon-tpl.directive.js +0 -15
- package/esm2015/widget/directives/widget-title-tpl.directive.js +0 -15
- package/esm2015/widget/widget/widget.component.js +0 -121
- package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.module.js +0 -22
- package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-description/widget-description.component.js +0 -12
- package/esm2015/widget/widget-content-components/widget-description/widget-description.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.component.js +0 -39
- package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.component.js +0 -31
- package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.js +0 -16
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.js +0 -162
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.component.js +0 -19
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.module.js +0 -31
- package/esm2015/widget/widget-content-components/widget-table/widget-table.component.js +0 -35
- package/esm2015/widget/widget-content-components/widget-table/widget-table.module.js +0 -23
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.js +0 -19
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.js +0 -43
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.js +0 -16
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile.component.js +0 -110
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile.module.js +0 -33
- package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.component.js +0 -15
- package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.module.js +0 -21
- package/esm2015/widget/widget-footer/widget-footer.component.js +0 -16
- package/esm2015/widget/widget-registry.service.js +0 -56
- package/esm2015/widget/widget.module.js +0 -70
- package/fesm2015/theseam-ui-common-asset-reader.js +0 -173
- package/fesm2015/theseam-ui-common-asset-reader.js.map +0 -1
- package/fesm2015/theseam-ui-common-breadcrumbs.js +0 -203
- package/fesm2015/theseam-ui-common-breadcrumbs.js.map +0 -1
- package/fesm2015/theseam-ui-common-buttons.js +0 -362
- package/fesm2015/theseam-ui-common-buttons.js.map +0 -1
- package/fesm2015/theseam-ui-common-card.js +0 -145
- package/fesm2015/theseam-ui-common-card.js.map +0 -1
- package/fesm2015/theseam-ui-common-checkbox.js +0 -302
- package/fesm2015/theseam-ui-common-checkbox.js.map +0 -1
- package/fesm2015/theseam-ui-common-confirm-dialog.js +0 -153
- package/fesm2015/theseam-ui-common-confirm-dialog.js.map +0 -1
- package/fesm2015/theseam-ui-common-core.js +0 -231
- package/fesm2015/theseam-ui-common-core.js.map +0 -1
- package/fesm2015/theseam-ui-common-data-exporter.js +0 -81
- package/fesm2015/theseam-ui-common-data-exporter.js.map +0 -1
- package/fesm2015/theseam-ui-common-data-filters.js +0 -455
- package/fesm2015/theseam-ui-common-data-filters.js.map +0 -1
- package/fesm2015/theseam-ui-common-datatable-dynamic.js +0 -991
- package/fesm2015/theseam-ui-common-datatable-dynamic.js.map +0 -1
- package/fesm2015/theseam-ui-common-datatable.js +0 -2530
- package/fesm2015/theseam-ui-common-datatable.js.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic-component-loader.js +0 -143
- package/fesm2015/theseam-ui-common-dynamic-component-loader.js.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic.js +0 -700
- package/fesm2015/theseam-ui-common-dynamic.js.map +0 -1
- package/fesm2015/theseam-ui-common-footer-bar.js +0 -36
- package/fesm2015/theseam-ui-common-footer-bar.js.map +0 -1
- package/fesm2015/theseam-ui-common-form-field-error.js +0 -464
- package/fesm2015/theseam-ui-common-form-field-error.js.map +0 -1
- package/fesm2015/theseam-ui-common-form-field.js +0 -506
- package/fesm2015/theseam-ui-common-form-field.js.map +0 -1
- package/fesm2015/theseam-ui-common-framework.js +0 -2685
- package/fesm2015/theseam-ui-common-framework.js.map +0 -1
- package/fesm2015/theseam-ui-common-google-maps.js +0 -1748
- package/fesm2015/theseam-ui-common-google-maps.js.map +0 -1
- package/fesm2015/theseam-ui-common-graphql.js +0 -881
- package/fesm2015/theseam-ui-common-graphql.js.map +0 -1
- package/fesm2015/theseam-ui-common-icon.js +0 -518
- package/fesm2015/theseam-ui-common-icon.js.map +0 -1
- package/fesm2015/theseam-ui-common-layout.js +0 -89
- package/fesm2015/theseam-ui-common-layout.js.map +0 -1
- package/fesm2015/theseam-ui-common-loading.js +0 -131
- package/fesm2015/theseam-ui-common-loading.js.map +0 -1
- package/fesm2015/theseam-ui-common-menu.js +0 -763
- package/fesm2015/theseam-ui-common-menu.js.map +0 -1
- package/fesm2015/theseam-ui-common-modal.js +0 -1282
- package/fesm2015/theseam-ui-common-modal.js.map +0 -1
- package/fesm2015/theseam-ui-common-models.js +0 -54
- package/fesm2015/theseam-ui-common-models.js.map +0 -1
- package/fesm2015/theseam-ui-common-popover.js +0 -476
- package/fesm2015/theseam-ui-common-popover.js.map +0 -1
- package/fesm2015/theseam-ui-common-progress.js +0 -87
- package/fesm2015/theseam-ui-common-progress.js.map +0 -1
- package/fesm2015/theseam-ui-common-scrollbar.js +0 -184
- package/fesm2015/theseam-ui-common-scrollbar.js.map +0 -1
- package/fesm2015/theseam-ui-common-services.js +0 -140
- package/fesm2015/theseam-ui-common-services.js.map +0 -1
- package/fesm2015/theseam-ui-common-shared.js +0 -696
- package/fesm2015/theseam-ui-common-shared.js.map +0 -1
- package/fesm2015/theseam-ui-common-storage.js +0 -147
- package/fesm2015/theseam-ui-common-storage.js.map +0 -1
- package/fesm2015/theseam-ui-common-story-helpers.js +0 -441
- package/fesm2015/theseam-ui-common-story-helpers.js.map +0 -1
- package/fesm2015/theseam-ui-common-tabbed.js +0 -262
- package/fesm2015/theseam-ui-common-tabbed.js.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-type.js +0 -191
- package/fesm2015/theseam-ui-common-table-cell-type.js.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-types.js +0 -1077
- package/fesm2015/theseam-ui-common-table-cell-types.js.map +0 -1
- package/fesm2015/theseam-ui-common-table.js +0 -118
- package/fesm2015/theseam-ui-common-table.js.map +0 -1
- package/fesm2015/theseam-ui-common-tel-input.js +0 -733
- package/fesm2015/theseam-ui-common-tel-input.js.map +0 -1
- package/fesm2015/theseam-ui-common-testing.js +0 -191
- package/fesm2015/theseam-ui-common-testing.js.map +0 -1
- package/fesm2015/theseam-ui-common-tiled-select.js +0 -461
- package/fesm2015/theseam-ui-common-tiled-select.js.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-edit.js +0 -521
- package/fesm2015/theseam-ui-common-toggle-edit.js.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-group.js +0 -260
- package/fesm2015/theseam-ui-common-toggle-group.js.map +0 -1
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js +0 -97
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js.map +0 -1
- package/fesm2015/theseam-ui-common-utils.js +0 -1321
- package/fesm2015/theseam-ui-common-utils.js.map +0 -1
- package/fesm2015/theseam-ui-common-validators.js +0 -94
- package/fesm2015/theseam-ui-common-validators.js.map +0 -1
- package/fesm2015/theseam-ui-common-viewers.js +0 -563
- package/fesm2015/theseam-ui-common-viewers.js.map +0 -1
- package/fesm2015/theseam-ui-common-widget.js +0 -1189
- package/fesm2015/theseam-ui-common-widget.js.map +0 -1
- package/fesm2015/theseam-ui-common.js +0 -47
- package/fesm2015/theseam-ui-common.js.map +0 -1
- package/footer-bar/package.json +0 -11
- package/footer-bar/theseam-ui-common-footer-bar.d.ts +0 -4
- package/footer-bar/theseam-ui-common-footer-bar.metadata.json +0 -1
- package/form-field/package.json +0 -11
- package/form-field/theseam-ui-common-form-field.d.ts +0 -4
- package/form-field/theseam-ui-common-form-field.metadata.json +0 -1
- package/form-field-error/package.json +0 -11
- package/form-field-error/theseam-ui-common-form-field-error.d.ts +0 -4
- package/form-field-error/theseam-ui-common-form-field-error.metadata.json +0 -1
- package/framework/base-layout/_base-layout-theme.scss +0 -3
- package/framework/base-layout/base-layout.component.scss +0 -95
- package/framework/base-layout/styles/_utilities.scss +0 -3
- package/framework/base-layout/styles/_variables.scss +0 -23
- package/framework/dashboard/_dashboard-theme.scss +0 -3
- 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.scss +0 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.scss +0 -48
- package/framework/dashboard/dashboard.component.scss +0 -0
- package/framework/dashboard/styles/_utilities.scss +0 -3
- package/framework/dashboard/styles/_variables.scss +0 -2
- package/framework/package.json +0 -11
- package/framework/side-nav/_side-nav-theme.scss +0 -5
- package/framework/side-nav/side-nav-item/side-nav-item.component.scss +0 -185
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.scss +0 -32
- package/framework/side-nav/side-nav.component.scss +0 -47
- package/framework/side-nav/styles/_themes/light/_variables.scss +0 -29
- package/framework/side-nav/styles/_themes/primary/_variables.scss +0 -31
- package/framework/side-nav/styles/_utilities.scss +0 -3
- package/framework/side-nav/styles/_variables.scss +0 -2
- package/framework/theseam-ui-common-framework.d.ts +0 -13
- package/framework/theseam-ui-common-framework.metadata.json +0 -1
- package/framework/top-bar/_top-bar-theme.scss +0 -5
- package/framework/top-bar/styles/_utilities.scss +0 -3
- package/framework/top-bar/styles/_variables.scss +0 -18
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.scss +0 -15
- package/framework/top-bar/top-bar-title/top-bar-title.component.scss +0 -6
- package/framework/top-bar/top-bar.component.scss +0 -39
- package/google-maps/package.json +0 -11
- package/google-maps/theseam-ui-common-google-maps.d.ts +0 -5
- package/google-maps/theseam-ui-common-google-maps.metadata.json +0 -1
- package/graphql/package.json +0 -11
- package/graphql/theseam-ui-common-graphql.d.ts +0 -4
- package/graphql/theseam-ui-common-graphql.metadata.json +0 -1
- package/icon/package.json +0 -11
- package/icon/theseam-ui-common-icon.d.ts +0 -4
- package/icon/theseam-ui-common-icon.metadata.json +0 -1
- package/layout/package.json +0 -11
- package/layout/theseam-ui-common-layout.d.ts +0 -4
- package/layout/theseam-ui-common-layout.metadata.json +0 -1
- package/loading/package.json +0 -11
- package/loading/theseam-ui-common-loading.d.ts +0 -4
- package/loading/theseam-ui-common-loading.metadata.json +0 -1
- package/menu/package.json +0 -11
- package/menu/theseam-ui-common-menu.d.ts +0 -4
- package/menu/theseam-ui-common-menu.metadata.json +0 -1
- package/modal/package.json +0 -11
- package/modal/theseam-ui-common-modal.d.ts +0 -4
- package/modal/theseam-ui-common-modal.metadata.json +0 -1
- package/models/package.json +0 -11
- package/models/theseam-ui-common-models.d.ts +0 -4
- package/models/theseam-ui-common-models.metadata.json +0 -1
- package/popover/package.json +0 -11
- package/popover/theseam-ui-common-popover.d.ts +0 -4
- package/popover/theseam-ui-common-popover.metadata.json +0 -1
- package/progress/package.json +0 -11
- package/progress/progress-circle/_progress-circle-theme.scss +0 -3
- package/progress/progress-circle/progress-circle.component.scss +0 -105
- package/progress/progress-circle/styles/_utilities.scss +0 -3
- package/progress/progress-circle/styles/_variables.scss +0 -8
- package/progress/theseam-ui-common-progress.d.ts +0 -4
- package/progress/theseam-ui-common-progress.metadata.json +0 -1
- package/scrollbar/package.json +0 -11
- package/scrollbar/theseam-ui-common-scrollbar.d.ts +0 -4
- package/scrollbar/theseam-ui-common-scrollbar.metadata.json +0 -1
- package/services/package.json +0 -11
- package/services/theseam-ui-common-services.d.ts +0 -4
- package/services/theseam-ui-common-services.metadata.json +0 -1
- package/shared/package.json +0 -11
- package/shared/theseam-ui-common-shared.d.ts +0 -4
- package/shared/theseam-ui-common-shared.metadata.json +0 -1
- package/storage/package.json +0 -11
- package/storage/theseam-ui-common-storage.d.ts +0 -4
- package/storage/theseam-ui-common-storage.metadata.json +0 -1
- package/story-helpers/package.json +0 -11
- package/story-helpers/theseam-ui-common-story-helpers.d.ts +0 -4
- package/story-helpers/theseam-ui-common-story-helpers.metadata.json +0 -1
- package/styles/_storybook-fixes.scss +0 -7
- package/styles/_variables.scss +0 -0
- package/styles/bootstrap/_bootstrap.scss +0 -45
- package/styles/bootstrap/_bs-styles.scss +0 -105
- package/styles/bootstrap/_bs-utilities.scss +0 -5
- package/styles/bootstrap/_bs-variables.scss +0 -141
- package/styles/common/_forms.scss +0 -15
- package/styles/common/_global.scss +0 -9
- package/styles/common/_hacks.scss +0 -14
- package/styles/common/_table.scss +0 -119
- package/styles/common/_text.scss +0 -1
- package/styles/theme.scss +0 -19
- package/styles/utilities.scss +0 -14
- package/styles/vendor/_vendor.scss +0 -3
- package/styles/vendor/ng-select/_ng-select-bs4.scss +0 -445
- package/styles/vendor/ngx-datatable/_ngx-datatable.scss +0 -501
- package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +0 -174
- package/styles/vendor/ngx-datatable/_themes/dark/_variables.scss +0 -166
- package/styles/vendor/ngx-datatable/_themes/material/_variables.scss +0 -165
- package/styles/vendor/ngx-datatable/_variables.scss +0 -3
- package/styles/vendor/quill/_quill.scss +0 -26
- package/tabbed/package.json +0 -11
- package/tabbed/theseam-ui-common-tabbed.d.ts +0 -4
- package/tabbed/theseam-ui-common-tabbed.metadata.json +0 -1
- package/table/package.json +0 -11
- package/table/theseam-ui-common-table.d.ts +0 -4
- package/table/theseam-ui-common-table.metadata.json +0 -1
- package/table-cell-type/package.json +0 -11
- package/table-cell-type/theseam-ui-common-table-cell-type.d.ts +0 -4
- package/table-cell-type/theseam-ui-common-table-cell-type.metadata.json +0 -1
- package/table-cell-types/package.json +0 -11
- package/table-cell-types/theseam-ui-common-table-cell-types.d.ts +0 -6
- package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +0 -1
- package/tel-input/package.json +0 -11
- package/tel-input/theseam-ui-common-tel-input.d.ts +0 -4
- package/tel-input/theseam-ui-common-tel-input.metadata.json +0 -1
- package/testing/package.json +0 -11
- package/testing/theseam-ui-common-testing.d.ts +0 -4
- package/testing/theseam-ui-common-testing.metadata.json +0 -1
- package/theseam-ui-common.d.ts +0 -4
- package/theseam-ui-common.metadata.json +0 -1
- package/tiled-select/package.json +0 -11
- package/tiled-select/theseam-ui-common-tiled-select.d.ts +0 -4
- package/tiled-select/theseam-ui-common-tiled-select.metadata.json +0 -1
- package/toggle-edit/package.json +0 -11
- package/toggle-edit/theseam-ui-common-toggle-edit.d.ts +0 -4
- package/toggle-edit/theseam-ui-common-toggle-edit.metadata.json +0 -1
- package/toggle-group/package.json +0 -11
- package/toggle-group/theseam-ui-common-toggle-group.d.ts +0 -4
- package/toggle-group/theseam-ui-common-toggle-group.metadata.json +0 -1
- package/unsaved-changes-dialog/package.json +0 -11
- package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.d.ts +0 -4
- package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.metadata.json +0 -1
- package/utils/package.json +0 -11
- package/utils/theseam-ui-common-utils.d.ts +0 -4
- package/utils/theseam-ui-common-utils.metadata.json +0 -1
- package/validators/package.json +0 -11
- package/validators/theseam-ui-common-validators.d.ts +0 -4
- package/validators/theseam-ui-common-validators.metadata.json +0 -1
- package/viewers/package.json +0 -11
- package/viewers/theseam-ui-common-viewers.d.ts +0 -4
- package/viewers/theseam-ui-common-viewers.metadata.json +0 -1
- package/widget/_widget-theme.scss +0 -15
- package/widget/package.json +0 -11
- package/widget/styles/_utilities.scss +0 -3
- package/widget/styles/_variables.scss +0 -30
- package/widget/theseam-ui-common-widget.d.ts +0 -4
- package/widget/theseam-ui-common-widget.metadata.json +0 -1
- package/widget/widget/widget.component.scss +0 -109
- package/widget/widget-content-components/widget-button-group/widget-button-group.component.scss +0 -3
- package/widget/widget-content-components/widget-content-header/widget-content-header.component.scss +0 -6
- package/widget/widget-content-components/widget-description/widget-description.component.scss +0 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.scss +0 -9
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.scss +0 -8
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.scss +0 -7
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.scss +0 -5
- 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.scss +0 -0
- package/widget/widget-content-components/widget-table/widget-table.component.scss +0 -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.scss +0 -5
- package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.scss +0 -14
- package/widget/widget-content-components/widget-tile/widget-tile.component.scss +0 -70
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.scss +0 -6
- package/widget/widget-footer/widget-footer.component.scss +0 -16
- /package/{esm2015/asset-reader/encrypted-asset-reader.js → esm2020/asset-reader/encrypted-asset-reader.mjs} +0 -0
- /package/{esm2015/asset-reader/public-api.js → esm2020/asset-reader/public-api.mjs} +0 -0
- /package/{esm2015/asset-reader/theseam-ui-common-asset-reader.js → esm2020/asset-reader/theseam-ui-common-asset-reader.mjs} +0 -0
- /package/{esm2015/breadcrumbs/breadcrumb.js → esm2020/breadcrumbs/breadcrumb.mjs} +0 -0
- /package/{esm2015/breadcrumbs/breadcrumbs-resolver.js → esm2020/breadcrumbs/breadcrumbs-resolver.mjs} +0 -0
- /package/{esm2015/breadcrumbs/public-api.js → esm2020/breadcrumbs/public-api.mjs} +0 -0
- /package/{esm2015/breadcrumbs/theseam-ui-common-breadcrumbs.js → esm2020/breadcrumbs/theseam-ui-common-breadcrumbs.mjs} +0 -0
- /package/{esm2015/buttons/public-api.js → esm2020/buttons/public-api.mjs} +0 -0
- /package/{esm2015/buttons/theseam-ui-common-buttons.js → esm2020/buttons/theseam-ui-common-buttons.mjs} +0 -0
- /package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
- /package/{esm2015/card/theseam-ui-common-card.js → esm2020/card/theseam-ui-common-card.mjs} +0 -0
- /package/{esm2015/checkbox/theseam-ui-common-checkbox.js → esm2020/checkbox/theseam-ui-common-checkbox.mjs} +0 -0
- /package/{esm2015/confirm-dialog/public-api.js → esm2020/confirm-dialog/public-api.mjs} +0 -0
- /package/{esm2015/confirm-dialog/theseam-ui-common-confirm-dialog.js → esm2020/confirm-dialog/theseam-ui-common-confirm-dialog.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/active.js → esm2020/core/common-behaviors/active.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/constructor.js → esm2020/core/common-behaviors/constructor.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/disabled.js → esm2020/core/common-behaviors/disabled.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/element-ref.js → esm2020/core/common-behaviors/element-ref.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/index.js → esm2020/core/common-behaviors/index.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/initialized.js → esm2020/core/common-behaviors/initialized.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/renderer2.js → esm2020/core/common-behaviors/renderer2.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/size.js → esm2020/core/common-behaviors/size.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/tabindex.js → esm2020/core/common-behaviors/tabindex.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/theme.js → esm2020/core/common-behaviors/theme.mjs} +0 -0
- /package/{esm2015/core/input-decorators/index.js → esm2020/core/input-decorators/index.mjs} +0 -0
- /package/{esm2015/core/input-decorators/input-boolean.decorator.js → esm2020/core/input-decorators/input-boolean.decorator.mjs} +0 -0
- /package/{esm2015/core/input-decorators/input-number.decorator.js → esm2020/core/input-decorators/input-number.decorator.mjs} +0 -0
- /package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +0 -0
- /package/{esm2015/core/theseam-ui-common-core.js → esm2020/core/theseam-ui-common-core.mjs} +0 -0
- /package/{esm2015/data-exporter/data-exporter.js → esm2020/data-exporter/data-exporter.mjs} +0 -0
- /package/{esm2015/data-exporter/public-api.js → esm2020/data-exporter/public-api.mjs} +0 -0
- /package/{esm2015/data-exporter/theseam-ui-common-data-exporter.js → esm2020/data-exporter/theseam-ui-common-data-exporter.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter-container.js → esm2020/data-filters/data-filter-container.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter-def.js → esm2020/data-filters/data-filter-def.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter.js → esm2020/data-filters/data-filter.mjs} +0 -0
- /package/{esm2015/data-filters/filters/data-filter-search/search-filter-options.js → esm2020/data-filters/filters/data-filter-search/search-filter-options.mjs} +0 -0
- /package/{esm2015/data-filters/filters/data-filter-text/text-filter-options.js → esm2020/data-filters/filters/data-filter-text/text-filter-options.mjs} +0 -0
- /package/{esm2015/data-filters/public-api.js → esm2020/data-filters/public-api.mjs} +0 -0
- /package/{esm2015/data-filters/theseam-ui-common-data-filters.js → esm2020/data-filters/theseam-ui-common-data-filters.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alteration.js → esm2020/datatable/models/columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/hide-column.columns-alteration.js → esm2020/datatable/models/columns-alterations/hide-column.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/order.columns-alteration.js → esm2020/datatable/models/columns-alterations/order.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/sort.columns-alteration.js → esm2020/datatable/models/columns-alterations/sort.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/width.columns-alteration.js → esm2020/datatable/models/columns-alterations/width.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-accessor.js → esm2020/datatable/models/datatable-accessor.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-data-source.js → esm2020/datatable/models/datatable-data-source.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-gql-data-source.js → esm2020/datatable/models/datatable-gql-data-source.mjs} +0 -0
- /package/{esm2015/datatable/models/internal-column-props.js → esm2020/datatable/models/internal-column-props.mjs} +0 -0
- /package/{esm2015/datatable/models/menubar-item-data.js → esm2020/datatable/models/menubar-item-data.mjs} +0 -0
- /package/{esm2015/datatable/models/page-info.js → esm2020/datatable/models/page-info.mjs} +0 -0
- /package/{esm2015/datatable/models/preferences-accessor.js → esm2020/datatable/models/preferences-accessor.mjs} +0 -0
- /package/{esm2015/datatable/models/preferences.js → esm2020/datatable/models/preferences.mjs} +0 -0
- /package/{esm2015/datatable/models/sort-event.js → esm2020/datatable/models/sort-event.mjs} +0 -0
- /package/{esm2015/datatable/models/sort-item.js → esm2020/datatable/models/sort-item.mjs} +0 -0
- /package/{esm2015/datatable/models/table-column.js → esm2020/datatable/models/table-column.mjs} +0 -0
- /package/{esm2015/datatable/public-api.js → esm2020/datatable/public-api.mjs} +0 -0
- /package/{esm2015/datatable/tokens/datatable-accessor.js → esm2020/datatable/tokens/datatable-accessor.mjs} +0 -0
- /package/{esm2015/datatable/tokens/datatable-preferences-accessor.js → esm2020/datatable/tokens/datatable-preferences-accessor.mjs} +0 -0
- /package/{esm2015/datatable/tokens/menubar-item-data.js → esm2020/datatable/tokens/menubar-item-data.mjs} +0 -0
- /package/{esm2015/datatable/utils/create-action-menu-column.js → esm2020/datatable/utils/create-action-menu-column.mjs} +0 -0
- /package/{esm2015/datatable/utils/create-checkbox-column.js → esm2020/datatable/utils/create-checkbox-column.mjs} +0 -0
- /package/{esm2015/datatable/utils/get-column-prop.js → esm2020/datatable/utils/get-column-prop.mjs} +0 -0
- /package/{esm2015/datatable/utils/map-columns-alterations-states.js → esm2020/datatable/utils/map-columns-alterations-states.mjs} +0 -0
- /package/{esm2015/datatable/utils/remove-unused-diffs.js → esm2020/datatable/utils/remove-unused-diffs.mjs} +0 -0
- /package/{esm2015/datatable/utils/set-column-defaults.js → esm2020/datatable/utils/set-column-defaults.mjs} +0 -0
- /package/{esm2015/datatable/utils/translate-templates.js → esm2020/datatable/utils/translate-templates.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-def.js → esm2020/datatable-dynamic/datatable-dynamic-def.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.js → esm2020/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-menu-bar-token.js → esm2020/datatable-dynamic/datatable-dynamic-menu-bar-token.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-action-menu-record.js → esm2020/datatable-dynamic/models/dynamic-datatable-action-menu-record.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-filter-menu-item.js → esm2020/datatable-dynamic/models/dynamic-datatable-filter-menu-item.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action-context.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action-context.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/index.js → esm2020/datatable-dynamic/models/index.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/public-api.js → esm2020/datatable-dynamic/public-api.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/theseam-ui-common-datatable-dynamic.js → esm2020/datatable-dynamic/theseam-ui-common-datatable-dynamic.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/index.js → esm2020/datatable-dynamic/utils/index.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api-def.js → esm2020/dynamic/action/api/dynamic-action-api-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api-errors.js → esm2020/dynamic/action/api/dynamic-action-api-errors.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api.js → esm2020/dynamic/action/api/dynamic-action-api.mjs} +0 -0
- /package/{esm2015/dynamic/action/index.js → esm2020/dynamic/action/index.mjs} +0 -0
- /package/{esm2015/dynamic/action/link/dynamic-action-link-def.js → esm2020/dynamic/action/link/dynamic-action-link-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/link/dynamic-action-link.js → esm2020/dynamic/action/link/dynamic-action-link.mjs} +0 -0
- /package/{esm2015/dynamic/action/modal/dynamic-action-modal-def.js → esm2020/dynamic/action/modal/dynamic-action-modal-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/modal/dynamic-action-modal.js → esm2020/dynamic/action/modal/dynamic-action-modal.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.js → esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/index.js → esm2020/dynamic/evaluators/exporters-data-evaluator/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/index.js → esm2020/dynamic/evaluators/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/jexl-evaluator/index.js → esm2020/dynamic/evaluators/jexl-evaluator/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/jexl-evaluator/jexl-value.js → esm2020/dynamic/evaluators/jexl-evaluator/jexl-value.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-confirm-def.js → esm2020/dynamic/models/dynamic-action-confirm-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-context.js → esm2020/dynamic/models/dynamic-action-context.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-def.js → esm2020/dynamic/models/dynamic-action-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-anchor-def.js → esm2020/dynamic/models/dynamic-action-ui-anchor-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-button-def.js → esm2020/dynamic/models/dynamic-action-ui-button-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-def.js → esm2020/dynamic/models/dynamic-action-ui-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action.js → esm2020/dynamic/models/dynamic-action.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-base-type.js → esm2020/dynamic/models/dynamic-value-base-type.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-evaluator.js → esm2020/dynamic/models/dynamic-value-evaluator.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-primitive.js → esm2020/dynamic/models/dynamic-value-primitive.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-type.js → esm2020/dynamic/models/dynamic-value-type.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value.js → esm2020/dynamic/models/dynamic-value.mjs} +0 -0
- /package/{esm2015/dynamic/models/index.js → esm2020/dynamic/models/index.mjs} +0 -0
- /package/{esm2015/dynamic/public-api.js → esm2020/dynamic/public-api.mjs} +0 -0
- /package/{esm2015/dynamic/theseam-ui-common-dynamic.js → esm2020/dynamic/theseam-ui-common-dynamic.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/api-config.js → esm2020/dynamic/tokens/api-config.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-action.js → esm2020/dynamic/tokens/dynamic-action.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-data.js → esm2020/dynamic/tokens/dynamic-data.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-value-evaluator.js → esm2020/dynamic/tokens/dynamic-value-evaluator.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/index.js → esm2020/dynamic/tokens/index.mjs} +0 -0
- /package/{esm2015/dynamic/utils/index.js → esm2020/dynamic/utils/index.mjs} +0 -0
- /package/{esm2015/dynamic/utils/is-action-type.js → esm2020/dynamic/utils/is-action-type.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/dynamic-component-tokens.js → esm2020/dynamic-component-loader/dynamic-component-tokens.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/public-api.js → esm2020/dynamic-component-loader/public-api.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.js → esm2020/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.mjs} +0 -0
- /package/{esm2015/footer-bar/public-api.js → esm2020/footer-bar/public-api.mjs} +0 -0
- /package/{esm2015/footer-bar/theseam-ui-common-footer-bar.js → esm2020/footer-bar/theseam-ui-common-footer-bar.mjs} +0 -0
- /package/{esm2015/form-field/theseam-ui-common-form-field.js → esm2020/form-field/theseam-ui-common-form-field.mjs} +0 -0
- /package/{esm2015/form-field-error/public-api.js → esm2020/form-field-error/public-api.mjs} +0 -0
- /package/{esm2015/form-field-error/theseam-ui-common-form-field-error.js → esm2020/form-field-error/theseam-ui-common-form-field-error.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-action.js → esm2020/framework/base-layout/base-layout-action.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-nav.js → esm2020/framework/base-layout/base-layout-nav.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-ref.js → esm2020/framework/base-layout/base-layout-ref.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-tokens.js → esm2020/framework/base-layout/base-layout-tokens.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-item.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-item.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.mjs} +0 -0
- /package/{esm2015/framework/dashboard/index.js → esm2020/framework/dashboard/index.mjs} +0 -0
- /package/{esm2015/framework/dynamic-router/dynamic-route-def.js → esm2020/framework/dynamic-router/dynamic-route-def.mjs} +0 -0
- /package/{esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.js → esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.mjs} +0 -0
- /package/{esm2015/framework/dynamic-router/index.js → esm2020/framework/dynamic-router/index.mjs} +0 -0
- /package/{esm2015/framework/public-api.js → esm2020/framework/public-api.mjs} +0 -0
- /package/{esm2015/framework/schema-form/index.js → esm2020/framework/schema-form/index.mjs} +0 -0
- /package/{esm2015/framework/side-nav/side-nav.models.js → esm2020/framework/side-nav/side-nav.models.mjs} +0 -0
- /package/{esm2015/framework/top-bar/index.js → esm2020/framework/top-bar/index.mjs} +0 -0
- /package/{esm2015/google-maps/google-maps-contextmenu.js → esm2020/google-maps/google-maps-contextmenu.mjs} +0 -0
- /package/{esm2015/google-maps/map-controls-service.js → esm2020/google-maps/map-controls-service.mjs} +0 -0
- /package/{esm2015/google-maps/public-api.js → esm2020/google-maps/public-api.mjs} +0 -0
- /package/{esm2015/graphql/datatable/index.js → esm2020/graphql/datatable/index.mjs} +0 -0
- /package/{esm2015/graphql/datatable/map-page-info.js → esm2020/graphql/datatable/map-page-info.mjs} +0 -0
- /package/{esm2015/graphql/datatable/mapper-context.js → esm2020/graphql/datatable/mapper-context.mjs} +0 -0
- /package/{esm2015/graphql/models/direction.js → esm2020/graphql/models/direction.mjs} +0 -0
- /package/{esm2015/graphql/models/gql-datatable-accessor.js → esm2020/graphql/models/gql-datatable-accessor.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-definition.js → esm2020/graphql/models/hint-definition.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-transform-operation.js → esm2020/graphql/models/hint-transform-operation.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-transformer.js → esm2020/graphql/models/hint-transformer.mjs} +0 -0
- /package/{esm2015/graphql/models/hints-kind.js → esm2020/graphql/models/hints-kind.mjs} +0 -0
- /package/{esm2015/graphql/models/hints-token.js → esm2020/graphql/models/hints-token.mjs} +0 -0
- /package/{esm2015/graphql/models/index.js → esm2020/graphql/models/index.mjs} +0 -0
- /package/{esm2015/graphql/models/query-processing-config.js → esm2020/graphql/models/query-processing-config.mjs} +0 -0
- /package/{esm2015/graphql/models/variable.js → esm2020/graphql/models/variable.mjs} +0 -0
- /package/{esm2015/graphql/public-api.js → esm2020/graphql/public-api.mjs} +0 -0
- /package/{esm2015/graphql/theseam-ui-common-graphql.js → esm2020/graphql/theseam-ui-common-graphql.mjs} +0 -0
- /package/{esm2015/graphql/utils/contains-variable.js → esm2020/graphql/utils/contains-variable.mjs} +0 -0
- /package/{esm2015/graphql/utils/gql-var.js → esm2020/graphql/utils/gql-var.mjs} +0 -0
- /package/{esm2015/graphql/utils/hints-tokens-containing-hint.js → esm2020/graphql/utils/hints-tokens-containing-hint.mjs} +0 -0
- /package/{esm2015/graphql/utils/index.js → esm2020/graphql/utils/index.mjs} +0 -0
- /package/{esm2015/graphql/utils/inline-variables.js → esm2020/graphql/utils/inline-variables.mjs} +0 -0
- /package/{esm2015/graphql/utils/parse-comments.js → esm2020/graphql/utils/parse-comments.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable-definition.js → esm2020/graphql/utils/remove-variable-definition.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable-definitions-not-defined.js → esm2020/graphql/utils/remove-variable-definitions-not-defined.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable.js → esm2020/graphql/utils/remove-variable.mjs} +0 -0
- /package/{esm2015/graphql/utils/to-gql.js → esm2020/graphql/utils/to-gql.mjs} +0 -0
- /package/{esm2015/icon/icon.js → esm2020/icon/icon.mjs} +0 -0
- /package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
- /package/{esm2015/icon/theseam-ui-common-icon.js → esm2020/icon/theseam-ui-common-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/file-extension-icon.js → esm2020/icon/utils/file-extension-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/get-known-icon.js → esm2020/icon/utils/get-known-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/index.js → esm2020/icon/utils/index.mjs} +0 -0
- /package/{esm2015/layout/breakpoint-aliases.js → esm2020/layout/breakpoint-aliases.mjs} +0 -0
- /package/{esm2015/layout/observe-media-query.js → esm2020/layout/observe-media-query.mjs} +0 -0
- /package/{esm2015/layout/public-api.js → esm2020/layout/public-api.mjs} +0 -0
- /package/{esm2015/layout/theseam-ui-common-layout.js → esm2020/layout/theseam-ui-common-layout.mjs} +0 -0
- /package/{esm2015/loading/loading-themes.js → esm2020/loading/loading-themes.mjs} +0 -0
- /package/{esm2015/loading/loading.models.js → esm2020/loading/loading.models.mjs} +0 -0
- /package/{esm2015/loading/public-api.js → esm2020/loading/public-api.mjs} +0 -0
- /package/{esm2015/loading/theseam-ui-common-loading.js → esm2020/loading/theseam-ui-common-loading.mjs} +0 -0
- /package/{esm2015/menu/menu-animations.js → esm2020/menu/menu-animations.mjs} +0 -0
- /package/{esm2015/menu/menu-panel-token.js → esm2020/menu/menu-panel-token.mjs} +0 -0
- /package/{esm2015/menu/menu-panel.js → esm2020/menu/menu-panel.mjs} +0 -0
- /package/{esm2015/menu/public-api.js → esm2020/menu/public-api.mjs} +0 -0
- /package/{esm2015/menu/theseam-ui-common-menu.js → esm2020/menu/theseam-ui-common-menu.mjs} +0 -0
- /package/{esm2015/modal/modal-injectors.js → esm2020/modal/modal-injectors.mjs} +0 -0
- /package/{esm2015/modal/modal-ref.js → esm2020/modal/modal-ref.mjs} +0 -0
- /package/{esm2015/modal/modal-utils.js → esm2020/modal/modal-utils.mjs} +0 -0
- /package/{esm2015/modal/public-api.js → esm2020/modal/public-api.mjs} +0 -0
- /package/{esm2015/modal/theseam-ui-common-modal.js → esm2020/modal/theseam-ui-common-modal.mjs} +0 -0
- /package/{esm2015/models/component-type.js → esm2020/models/component-type.mjs} +0 -0
- /package/{esm2015/models/http-status-codes.js → esm2020/models/http-status-codes.mjs} +0 -0
- /package/{esm2015/models/public-api.js → esm2020/models/public-api.mjs} +0 -0
- /package/{esm2015/models/size-prefixes.js → esm2020/models/size-prefixes.mjs} +0 -0
- /package/{esm2015/models/size-types.js → esm2020/models/size-types.mjs} +0 -0
- /package/{esm2015/models/theme-names.js → esm2020/models/theme-names.mjs} +0 -0
- /package/{esm2015/models/theme-prefixes.js → esm2020/models/theme-prefixes.mjs} +0 -0
- /package/{esm2015/models/theme-types.js → esm2020/models/theme-types.mjs} +0 -0
- /package/{esm2015/models/theseam-ui-common-models.js → esm2020/models/theseam-ui-common-models.mjs} +0 -0
- /package/{esm2015/popover/popover-animations.js → esm2020/popover/popover-animations.mjs} +0 -0
- /package/{esm2015/popover/public-api.js → esm2020/popover/public-api.mjs} +0 -0
- /package/{esm2015/popover/theseam-ui-common-popover.js → esm2020/popover/theseam-ui-common-popover.mjs} +0 -0
- /package/{esm2015/progress/public-api.js → esm2020/progress/public-api.mjs} +0 -0
- /package/{esm2015/progress/theseam-ui-common-progress.js → esm2020/progress/theseam-ui-common-progress.mjs} +0 -0
- /package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- /package/{esm2015/scrollbar/overlay-scrollbars-config-model.js → esm2020/scrollbar/overlay-scrollbars-config-model.mjs} +0 -0
- /package/{esm2015/scrollbar/public-api.js → esm2020/scrollbar/public-api.mjs} +0 -0
- /package/{esm2015/scrollbar/theseam-ui-common-scrollbar.js → esm2020/scrollbar/theseam-ui-common-scrollbar.mjs} +0 -0
- /package/{esm2015/services/public-api.js → esm2020/services/public-api.mjs} +0 -0
- /package/{esm2015/services/theseam-ui-common-services.js → esm2020/services/theseam-ui-common-services.mjs} +0 -0
- /package/{esm2015/shared/components/index.js → esm2020/shared/components/index.mjs} +0 -0
- /package/{esm2015/shared/directives/index.js → esm2020/shared/directives/index.mjs} +0 -0
- /package/{esm2015/shared/pipes/index.js → esm2020/shared/pipes/index.mjs} +0 -0
- /package/{esm2015/shared/public-api.js → esm2020/shared/public-api.mjs} +0 -0
- /package/{esm2015/shared/theseam-ui-common-shared.js → esm2020/shared/theseam-ui-common-shared.mjs} +0 -0
- /package/{esm2015/storage/localstorage-memory.js → esm2020/storage/localstorage-memory.mjs} +0 -0
- /package/{esm2015/storage/public-api.js → esm2020/storage/public-api.mjs} +0 -0
- /package/{esm2015/storage/theseam-ui-common-storage.js → esm2020/storage/theseam-ui-common-storage.mjs} +0 -0
- /package/{esm2015/story-helpers/initial-route-factory.js → esm2020/story-helpers/initial-route-factory.mjs} +0 -0
- /package/{esm2015/story-helpers/public-api.js → esm2020/story-helpers/public-api.mjs} +0 -0
- /package/{esm2015/story-helpers/route-button.js → esm2020/story-helpers/route-button.mjs} +0 -0
- /package/{esm2015/story-helpers/theseam-ui-common-story-helpers.js → esm2020/story-helpers/theseam-ui-common-story-helpers.mjs} +0 -0
- /package/{esm2015/tabbed/theseam-ui-common-tabbed.js → esm2020/tabbed/theseam-ui-common-tabbed.mjs} +0 -0
- /package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
- /package/{esm2015/table/theseam-ui-common-table.js → esm2020/table/theseam-ui-common-table.mjs} +0 -0
- /package/{esm2015/table-cell-type/public-api.js → esm2020/table-cell-type/public-api.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-action.js → esm2020/table-cell-type/table-cell-type-action.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-column.js → esm2020/table-cell-type/table-cell-type-column.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-config.js → esm2020/table-cell-type/table-cell-type-config.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-export-props.js → esm2020/table-cell-type/table-cell-type-export-props.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-manifest-provider.js → esm2020/table-cell-type/table-cell-type-manifest-provider.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-models.js → esm2020/table-cell-type/table-cell-type-models.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-name.js → esm2020/table-cell-type/table-cell-type-name.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-tokens.js → esm2020/table-cell-type/table-cell-type-tokens.mjs} +0 -0
- /package/{esm2015/table-cell-type/theseam-ui-common-table-cell-type.js → esm2020/table-cell-type/theseam-ui-common-table-cell-type.mjs} +0 -0
- /package/{esm2015/table-cell-types/public-api.js → esm2020/table-cell-types/public-api.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date-config.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.js → esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.js → esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.js → esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.js → esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-string/table-cell-type-string-config.js → esm2020/table-cell-types/table-cell-type-string/table-cell-type-string-config.mjs} +0 -0
- /package/{esm2015/tel-input/intl-tel-input.js → esm2020/tel-input/intl-tel-input.mjs} +0 -0
- /package/{esm2015/tel-input/models/index.js → esm2020/tel-input/models/index.mjs} +0 -0
- /package/{esm2015/tel-input/models/tel-input-country-data.js → esm2020/tel-input/models/tel-input-country-data.mjs} +0 -0
- /package/{esm2015/tel-input/models/tel-input-number-format-name.js → esm2020/tel-input/models/tel-input-number-format-name.mjs} +0 -0
- /package/{esm2015/tel-input/public-api.js → esm2020/tel-input/public-api.mjs} +0 -0
- /package/{esm2015/tel-input/tel-input-constants.js → esm2020/tel-input/tel-input-constants.mjs} +0 -0
- /package/{esm2015/tel-input/theseam-ui-common-tel-input.js → esm2020/tel-input/theseam-ui-common-tel-input.mjs} +0 -0
- /package/{esm2015/tel-input/utils/add-country-code.js → esm2020/tel-input/utils/add-country-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/coerce-phone-number-format.js → esm2020/tel-input/utils/coerce-phone-number-format.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-country-code.js → esm2020/tel-input/utils/get-country-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-dial-code.js → esm2020/tel-input/utils/get-dial-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-global-intl-tel-input-globals.js → esm2020/tel-input/utils/get-global-intl-tel-input-globals.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-global-intl-tel-input-utils.js → esm2020/tel-input/utils/get-global-intl-tel-input-utils.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-intl-tel-input-utils.js → esm2020/tel-input/utils/get-intl-tel-input-utils.mjs} +0 -0
- /package/{esm2015/tel-input/utils/index.js → esm2020/tel-input/utils/index.mjs} +0 -0
- /package/{esm2015/tel-input/utils/process-country-codes.js → esm2020/tel-input/utils/process-country-codes.mjs} +0 -0
- /package/{esm2015/testing/current-tick-time.js → esm2020/testing/current-tick-time.mjs} +0 -0
- /package/{esm2015/testing/fake-toastr.js → esm2020/testing/fake-toastr.mjs} +0 -0
- /package/{esm2015/testing/public-api.js → esm2020/testing/public-api.mjs} +0 -0
- /package/{esm2015/testing/theseam-ui-common-testing.js → esm2020/testing/theseam-ui-common-testing.mjs} +0 -0
- /package/{esm2015/testing/tick-helper.js → esm2020/testing/tick-helper.mjs} +0 -0
- /package/{esm2015/theseam-ui-common.js → esm2020/theseam-ui-common.mjs} +0 -0
- /package/{esm2015/tiled-select/theseam-ui-common-tiled-select.js → esm2020/tiled-select/theseam-ui-common-tiled-select.mjs} +0 -0
- /package/{esm2015/tiled-select/tiled-select.models.js → esm2020/tiled-select/tiled-select.models.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/can-toggle-edit.js → esm2020/toggle-edit/models/can-toggle-edit.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/index.js → esm2020/toggle-edit/models/index.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/toggle-edit-ref.js → esm2020/toggle-edit/models/toggle-edit-ref.mjs} +0 -0
- /package/{esm2015/toggle-edit/public-api.js → esm2020/toggle-edit/public-api.mjs} +0 -0
- /package/{esm2015/toggle-edit/theseam-ui-common-toggle-edit.js → esm2020/toggle-edit/theseam-ui-common-toggle-edit.mjs} +0 -0
- /package/{esm2015/toggle-group/public-api.js → esm2020/toggle-group/public-api.mjs} +0 -0
- /package/{esm2015/toggle-group/theseam-ui-common-toggle-group.js → esm2020/toggle-group/theseam-ui-common-toggle-group.mjs} +0 -0
- /package/{esm2015/unsaved-changes-dialog/public-api.js → esm2020/unsaved-changes-dialog/public-api.mjs} +0 -0
- /package/{esm2015/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.js → esm2020/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.mjs} +0 -0
- /package/{esm2015/utils/array-move.js → esm2020/utils/array-move.mjs} +0 -0
- /package/{esm2015/utils/calc-percentage.js → esm2020/utils/calc-percentage.mjs} +0 -0
- /package/{esm2015/utils/cdk/get-closest-widget-cdk-drag.js → esm2020/utils/cdk/get-closest-widget-cdk-drag.mjs} +0 -0
- /package/{esm2015/utils/create-padding.js → esm2020/utils/create-padding.mjs} +0 -0
- /package/{esm2015/utils/form/get-control-name.js → esm2020/utils/form/get-control-name.mjs} +0 -0
- /package/{esm2015/utils/form/get-control-path.js → esm2020/utils/form/get-control-path.mjs} +0 -0
- /package/{esm2015/utils/form/has-required-control.js → esm2020/utils/form/has-required-control.mjs} +0 -0
- /package/{esm2015/utils/form/is-empty-input-value.js → esm2020/utils/form/is-empty-input-value.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-is-different.js → esm2020/utils/form/observe-control-is-different.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-status.js → esm2020/utils/form/observe-control-status.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-valid.js → esm2020/utils/form/observe-control-valid.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-value-change.js → esm2020/utils/form/observe-control-value-change.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-value.js → esm2020/utils/form/observe-control-value.mjs} +0 -0
- /package/{esm2015/utils/form/wait-on-non-pending-status.js → esm2020/utils/form/wait-on-non-pending-status.mjs} +0 -0
- /package/{esm2015/utils/fractional-digits-count.js → esm2020/utils/fractional-digits-count.mjs} +0 -0
- /package/{esm2015/utils/geo-json/min-max-points.validator.js → esm2020/utils/geo-json/min-max-points.validator.mjs} +0 -0
- /package/{esm2015/utils/geo-json/no-kinks.validator.js → esm2020/utils/geo-json/no-kinks.validator.mjs} +0 -0
- /package/{esm2015/utils/get-attribute.js → esm2020/utils/get-attribute.mjs} +0 -0
- /package/{esm2015/utils/has-attribute.js → esm2020/utils/has-attribute.mjs} +0 -0
- /package/{esm2015/utils/has-property.js → esm2020/utils/has-property.mjs} +0 -0
- /package/{esm2015/utils/input-masks.js → esm2020/utils/input-masks.mjs} +0 -0
- /package/{esm2015/utils/is-absolute-url.js → esm2020/utils/is-absolute-url.mjs} +0 -0
- /package/{esm2015/utils/is-null-or-undefined.js → esm2020/utils/is-null-or-undefined.mjs} +0 -0
- /package/{esm2015/utils/is-numeric.js → esm2020/utils/is-numeric.mjs} +0 -0
- /package/{esm2015/utils/load-style-sheet.js → esm2020/utils/load-style-sheet.mjs} +0 -0
- /package/{esm2015/utils/load-style.js → esm2020/utils/load-style.mjs} +0 -0
- /package/{esm2015/utils/not-null-or-undefined.js → esm2020/utils/not-null-or-undefined.mjs} +0 -0
- /package/{esm2015/utils/observe-query-list.js → esm2020/utils/observe-query-list.mjs} +0 -0
- /package/{esm2015/utils/operators/index.js → esm2020/utils/operators/index.mjs} +0 -0
- /package/{esm2015/utils/operators/map-each.js → esm2020/utils/operators/map-each.mjs} +0 -0
- /package/{esm2015/utils/operators/tap-first.js → esm2020/utils/operators/tap-first.mjs} +0 -0
- /package/{esm2015/utils/pad-end.js → esm2020/utils/pad-end.mjs} +0 -0
- /package/{esm2015/utils/pad-start.js → esm2020/utils/pad-start.mjs} +0 -0
- /package/{esm2015/utils/public-api.js → esm2020/utils/public-api.mjs} +0 -0
- /package/{esm2015/utils/refreshable.js → esm2020/utils/refreshable.mjs} +0 -0
- /package/{esm2015/utils/router/index.js → esm2020/utils/router/index.mjs} +0 -0
- /package/{esm2015/utils/router/is-empty-url-route.js → esm2020/utils/router/is-empty-url-route.mjs} +0 -0
- /package/{esm2015/utils/router/leaf-child-route.js → esm2020/utils/router/leaf-child-route.mjs} +0 -0
- /package/{esm2015/utils/router/operators/activated-routes-with-data-property.js → esm2020/utils/router/operators/activated-routes-with-data-property.mjs} +0 -0
- /package/{esm2015/utils/router/route-snapshot-path-full.js → esm2020/utils/router/route-snapshot-path-full.mjs} +0 -0
- /package/{esm2015/utils/router/route-snapshot-path-relative.js → esm2020/utils/router/route-snapshot-path-relative.mjs} +0 -0
- /package/{esm2015/utils/router/will-have-data-prop.js → esm2020/utils/router/will-have-data-prop.mjs} +0 -0
- /package/{esm2015/utils/theseam-ui-common-utils.js → esm2020/utils/theseam-ui-common-utils.mjs} +0 -0
- /package/{esm2015/utils/toggle-attribute.js → esm2020/utils/toggle-attribute.mjs} +0 -0
- /package/{esm2015/utils/wrap-into-observable.js → esm2020/utils/wrap-into-observable.mjs} +0 -0
- /package/{esm2015/validators/decimal.validator.js → esm2020/validators/decimal.validator.mjs} +0 -0
- /package/{esm2015/validators/email-exists.validator.js → esm2020/validators/email-exists.validator.mjs} +0 -0
- /package/{esm2015/validators/integer.validator.js → esm2020/validators/integer.validator.mjs} +0 -0
- /package/{esm2015/validators/phone-length.validator.js → esm2020/validators/phone-length.validator.mjs} +0 -0
- /package/{esm2015/validators/public-api.js → esm2020/validators/public-api.mjs} +0 -0
- /package/{esm2015/validators/tax-id.validator.js → esm2020/validators/tax-id.validator.mjs} +0 -0
- /package/{esm2015/validators/theseam-ui-common-validators.js → esm2020/validators/theseam-ui-common-validators.mjs} +0 -0
- /package/{esm2015/viewers/html-template-viewer/index.js → esm2020/viewers/html-template-viewer/index.mjs} +0 -0
- /package/{esm2015/viewers/pdf-viewer/index.js → esm2020/viewers/pdf-viewer/index.mjs} +0 -0
- /package/{esm2015/viewers/public-api.js → esm2020/viewers/public-api.mjs} +0 -0
- /package/{esm2015/viewers/theseam-ui-common-viewers.js → esm2020/viewers/theseam-ui-common-viewers.mjs} +0 -0
- /package/{esm2015/widget/public-api.js → esm2020/widget/public-api.mjs} +0 -0
- /package/{esm2015/widget/theseam-ui-common-widget.js → esm2020/widget/theseam-ui-common-widget.mjs} +0 -0
- /package/{esm2015/widget/widget-registry.models.js → esm2020/widget/widget-registry.models.mjs} +0 -0
- /package/{esm2015/widget/widget-token.js → esm2020/widget/widget-token.mjs} +0 -0
|
@@ -1,2530 +0,0 @@
|
|
|
1
|
-
import { __awaiter, __decorate } from 'tslib';
|
|
2
|
-
import { trigger, transition, style, animate } from '@angular/animations';
|
|
3
|
-
import { coerceArray } from '@angular/cdk/coercion';
|
|
4
|
-
import { DataSource, isDataSource } from '@angular/cdk/collections';
|
|
5
|
-
import * as i0 from '@angular/core';
|
|
6
|
-
import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, ContentChildren, Directive, TemplateRef, Injectable, ContentChild, Self, Inject, forwardRef, KeyValueDiffers, InjectionToken, isDevMode, Optional, ViewChild, ElementRef, HostListener, HostBinding, ViewContainerRef, NgZone, NgModule } from '@angular/core';
|
|
7
|
-
import { Subject, BehaviorSubject, of, defer, combineLatest, EMPTY, Subscription, from, isObservable } from 'rxjs';
|
|
8
|
-
import { switchMap, map, startWith, auditTime, shareReplay, tap, take, distinctUntilChanged, takeUntil, concatMap, catchError } from 'rxjs/operators';
|
|
9
|
-
import { faEllipsisH, faChevronDown, faChevronRight, faSpinner, faColumns, faFileDownload } from '@fortawesome/free-solid-svg-icons';
|
|
10
|
-
import { camelCase, setColumnDefaults as setColumnDefaults$1, translateTemplates, SelectionType, SortType, ColumnMode, DatatableComponent as DatatableComponent$1, DatatableRowDetailDirective, NgxDatatableModule, ScrollbarHelper } from '@marklb/ngx-datatable';
|
|
11
|
-
import { InputBoolean, InputNumber } from '@theseam/ui-common/core';
|
|
12
|
-
import { THESEAM_DATA_FILTER, THESEAM_DATA_FILTER_CONTAINER, composeDataFilterStates, composeDataFilters } from '@theseam/ui-common/data-filters';
|
|
13
|
-
import { notNullOrUndefined, hasProperty, arrayMoveMutable, waitOnConditionAsync, observeControlValue } from '@theseam/ui-common/utils';
|
|
14
|
-
import { Router, RouterModule } from '@angular/router';
|
|
15
|
-
import { SeamConfirmDialogService, TheSeamConfirmDialogModule } from '@theseam/ui-common/confirm-dialog';
|
|
16
|
-
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
17
|
-
import { ToastrService, ToastrModule } from 'ngx-toastr';
|
|
18
|
-
import { DynamicValueHelperService, THESEAM_DYNAMIC_DATA } from '@theseam/ui-common/dynamic';
|
|
19
|
-
import { TheSeamLoadingOverlayService, TheSeamLoadingModule } from '@theseam/ui-common/loading';
|
|
20
|
-
import { HttpClient } from '@angular/common/http';
|
|
21
|
-
import { TheSeamDynamicComponentLoader } from '@theseam/ui-common/dynamic-component-loader';
|
|
22
|
-
import { Modal } from '@theseam/ui-common/modal';
|
|
23
|
-
import { ESCAPE } from '@angular/cdk/keycodes';
|
|
24
|
-
import { Overlay, OverlayModule } from '@angular/cdk/overlay';
|
|
25
|
-
import { TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
26
|
-
import { OverlayScrollbarsService } from '@theseam/ui-common/scrollbar';
|
|
27
|
-
import { A11yModule } from '@angular/cdk/a11y';
|
|
28
|
-
import { CommonModule } from '@angular/common';
|
|
29
|
-
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
30
|
-
import { TheSeamButtonsModule } from '@theseam/ui-common/buttons';
|
|
31
|
-
import { TheSeamCheckboxModule } from '@theseam/ui-common/checkbox';
|
|
32
|
-
import { TheSeamFormFieldModule } from '@theseam/ui-common/form-field';
|
|
33
|
-
import { TheSeamIconModule } from '@theseam/ui-common/icon';
|
|
34
|
-
import { TheSeamMenuModule } from '@theseam/ui-common/menu';
|
|
35
|
-
import { TheSeamPopoverModule } from '@theseam/ui-common/popover';
|
|
36
|
-
import { TheSeamSharedModule } from '@theseam/ui-common/shared';
|
|
37
|
-
import { TheSeamTableCellTypeModule } from '@theseam/ui-common/table-cell-type';
|
|
38
|
-
|
|
39
|
-
class DatatableActionMenuItemComponent {
|
|
40
|
-
constructor() {
|
|
41
|
-
this.click = new EventEmitter();
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
DatatableActionMenuItemComponent.decorators = [
|
|
45
|
-
{ type: Component, args: [{
|
|
46
|
-
selector: 'seam-datatable-action-menu-item',
|
|
47
|
-
template: ``,
|
|
48
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
49
|
-
},] }
|
|
50
|
-
];
|
|
51
|
-
DatatableActionMenuItemComponent.propDecorators = {
|
|
52
|
-
label: [{ type: Input }],
|
|
53
|
-
href: [{ type: Input, args: ['attr.href',] }],
|
|
54
|
-
target: [{ type: Input }],
|
|
55
|
-
queryParams: [{ type: Input }],
|
|
56
|
-
fragment: [{ type: Input }],
|
|
57
|
-
queryParamsHandling: [{ type: Input }],
|
|
58
|
-
preserveFragment: [{ type: Input }],
|
|
59
|
-
skipLocationChange: [{ type: Input }],
|
|
60
|
-
replaceUrl: [{ type: Input }],
|
|
61
|
-
state: [{ type: Input }],
|
|
62
|
-
routerLink: [{ type: Input }],
|
|
63
|
-
confirmDialog: [{ type: Input }],
|
|
64
|
-
disabled: [{ type: Input }],
|
|
65
|
-
click: [{ type: Output }]
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
class DatatableActionMenuComponent {
|
|
69
|
-
constructor(_confirmDialog, _router) {
|
|
70
|
-
this._confirmDialog = _confirmDialog;
|
|
71
|
-
this._router = _router;
|
|
72
|
-
this.faEllipsisH = faEllipsisH;
|
|
73
|
-
/** @ignore */
|
|
74
|
-
this._actionMenuPositions = [
|
|
75
|
-
{
|
|
76
|
-
originX: 'start',
|
|
77
|
-
originY: 'bottom',
|
|
78
|
-
overlayX: 'end',
|
|
79
|
-
overlayY: 'top',
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
originX: 'start',
|
|
83
|
-
originY: 'top',
|
|
84
|
-
overlayX: 'end',
|
|
85
|
-
overlayY: 'bottom',
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
originX: 'end',
|
|
89
|
-
originY: 'bottom',
|
|
90
|
-
overlayX: 'start',
|
|
91
|
-
overlayY: 'top',
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
originX: 'end',
|
|
95
|
-
originY: 'top',
|
|
96
|
-
overlayX: 'start',
|
|
97
|
-
overlayY: 'bottom',
|
|
98
|
-
},
|
|
99
|
-
];
|
|
100
|
-
}
|
|
101
|
-
activateItem(event, item) {
|
|
102
|
-
if (item.confirmDialog) {
|
|
103
|
-
this._confirmDialog.open(item.confirmDialog.message, item.confirmDialog.alert)
|
|
104
|
-
.afterClosed()
|
|
105
|
-
.subscribe(v => {
|
|
106
|
-
if (v === 'confirm') {
|
|
107
|
-
item.click.emit(event);
|
|
108
|
-
if (item.href) {
|
|
109
|
-
const win = window.open(item.href, item.target || undefined);
|
|
110
|
-
// TODO: Consider if always setting opener to null is to restrictive
|
|
111
|
-
// if (win && item.target && item.target.toLowerCase() === '_blank') {
|
|
112
|
-
// win.opener = null
|
|
113
|
-
// }
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
const extras = {};
|
|
117
|
-
if (item.queryParams) {
|
|
118
|
-
extras.queryParams = item.queryParams;
|
|
119
|
-
}
|
|
120
|
-
if (item.fragment) {
|
|
121
|
-
extras.fragment = item.fragment;
|
|
122
|
-
}
|
|
123
|
-
if (item.queryParamsHandling) {
|
|
124
|
-
extras.queryParamsHandling = item.queryParamsHandling;
|
|
125
|
-
}
|
|
126
|
-
if (item.preserveFragment) {
|
|
127
|
-
extras.preserveFragment = item.preserveFragment;
|
|
128
|
-
}
|
|
129
|
-
if (item.skipLocationChange) {
|
|
130
|
-
extras.skipLocationChange = item.skipLocationChange;
|
|
131
|
-
}
|
|
132
|
-
if (item.replaceUrl) {
|
|
133
|
-
extras.replaceUrl = item.replaceUrl;
|
|
134
|
-
}
|
|
135
|
-
if (item.state) {
|
|
136
|
-
extras.state = item.state;
|
|
137
|
-
}
|
|
138
|
-
const commands = Array.isArray(item.routerLink) ? item.routerLink : [item.routerLink];
|
|
139
|
-
this._router.navigate(commands, extras);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
else {
|
|
145
|
-
item.click.emit(event);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
DatatableActionMenuComponent.decorators = [
|
|
150
|
-
{ type: Component, args: [{
|
|
151
|
-
selector: 'seam-datatable-action-menu',
|
|
152
|
-
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",
|
|
153
|
-
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}\n"]
|
|
154
|
-
},] }
|
|
155
|
-
];
|
|
156
|
-
DatatableActionMenuComponent.ctorParameters = () => [
|
|
157
|
-
{ type: SeamConfirmDialogService },
|
|
158
|
-
{ type: Router }
|
|
159
|
-
];
|
|
160
|
-
DatatableActionMenuComponent.propDecorators = {
|
|
161
|
-
items: [{ type: ContentChildren, args: [DatatableActionMenuItemComponent,] }]
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
class DatatableCellTplDirective {
|
|
165
|
-
constructor(template) {
|
|
166
|
-
this.template = template;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
DatatableCellTplDirective.decorators = [
|
|
170
|
-
{ type: Directive, args: [{
|
|
171
|
-
selector: '[seamDatatableCellTpl]'
|
|
172
|
-
},] }
|
|
173
|
-
];
|
|
174
|
-
DatatableCellTplDirective.ctorParameters = () => [
|
|
175
|
-
{ type: TemplateRef }
|
|
176
|
-
];
|
|
177
|
-
|
|
178
|
-
class DatatableColumnChangesService {
|
|
179
|
-
constructor() {
|
|
180
|
-
this.columnInputChanges = new Subject();
|
|
181
|
-
}
|
|
182
|
-
get columnInputChanges$() {
|
|
183
|
-
return this.columnInputChanges.asObservable();
|
|
184
|
-
}
|
|
185
|
-
onInputChange() {
|
|
186
|
-
this.columnInputChanges.next(undefined);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
DatatableColumnChangesService.decorators = [
|
|
190
|
-
{ type: Injectable }
|
|
191
|
-
];
|
|
192
|
-
|
|
193
|
-
// TODO: The column component should implement `ITheSeamDatatableColumn`, since
|
|
194
|
-
// providing some properties by input and some by template could be confusing.
|
|
195
|
-
class DatatableColumnComponent {
|
|
196
|
-
// @Input('headerTemplate')
|
|
197
|
-
// _headerTemplateInput: TemplateRef<any>;
|
|
198
|
-
// @ContentChild(DataTableColumnHeaderDirective, { read: TemplateRef, static: true })
|
|
199
|
-
// _headerTemplateQuery: TemplateRef<any>;
|
|
200
|
-
// get headerTemplate(): TemplateRef<any> {
|
|
201
|
-
// return this._headerTemplateInput || this._headerTemplateQuery;
|
|
202
|
-
// }
|
|
203
|
-
// @Input('treeToggleTemplate')
|
|
204
|
-
// _treeToggleTemplateInput: TemplateRef<any>;
|
|
205
|
-
// @ContentChild(DataTableColumnCellTreeToggle, { read: TemplateRef, static: true })
|
|
206
|
-
// _treeToggleTemplateQuery: TemplateRef<any>;
|
|
207
|
-
// get treeToggleTemplate(): TemplateRef<any> {
|
|
208
|
-
// return this._treeToggleTemplateInput || this._treeToggleTemplateQuery;
|
|
209
|
-
// }
|
|
210
|
-
constructor(_columnChangesService) {
|
|
211
|
-
this._columnChangesService = _columnChangesService;
|
|
212
|
-
this._isFirstChange = true;
|
|
213
|
-
}
|
|
214
|
-
get cellTemplate() {
|
|
215
|
-
return this._cellTemplateInput || this._cellTemplateQuery;
|
|
216
|
-
}
|
|
217
|
-
ngOnInit() { }
|
|
218
|
-
ngOnChanges(changes) {
|
|
219
|
-
if (this._isFirstChange) {
|
|
220
|
-
this._isFirstChange = false;
|
|
221
|
-
}
|
|
222
|
-
else {
|
|
223
|
-
this._columnChangesService.onInputChange();
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
getCellDirective() {
|
|
227
|
-
if (this.cellTplDirective) {
|
|
228
|
-
return this.cellTplDirective;
|
|
229
|
-
}
|
|
230
|
-
return null;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
DatatableColumnComponent.decorators = [
|
|
234
|
-
{ type: Component, args: [{
|
|
235
|
-
selector: 'seam-datatable-column',
|
|
236
|
-
template: "<p>\n datatable-column works!\n</p>\n",
|
|
237
|
-
styles: [""]
|
|
238
|
-
},] }
|
|
239
|
-
];
|
|
240
|
-
DatatableColumnComponent.ctorParameters = () => [
|
|
241
|
-
{ type: DatatableColumnChangesService }
|
|
242
|
-
];
|
|
243
|
-
DatatableColumnComponent.propDecorators = {
|
|
244
|
-
name: [{ type: Input }],
|
|
245
|
-
prop: [{ type: Input }],
|
|
246
|
-
flexGrow: [{ type: Input }],
|
|
247
|
-
minWidth: [{ type: Input }],
|
|
248
|
-
maxWidth: [{ type: Input }],
|
|
249
|
-
width: [{ type: Input }],
|
|
250
|
-
resizeable: [{ type: Input }],
|
|
251
|
-
sortable: [{ type: Input }],
|
|
252
|
-
draggable: [{ type: Input }],
|
|
253
|
-
canAutoResize: [{ type: Input }],
|
|
254
|
-
comparator: [{ type: Input }],
|
|
255
|
-
headerTemplate: [{ type: Input }],
|
|
256
|
-
checkboxable: [{ type: Input }],
|
|
257
|
-
headerCheckboxable: [{ type: Input }],
|
|
258
|
-
headerClass: [{ type: Input }],
|
|
259
|
-
cellClass: [{ type: Input }],
|
|
260
|
-
frozenLeft: [{ type: Input }],
|
|
261
|
-
frozenRight: [{ type: Input }],
|
|
262
|
-
pipe: [{ type: Input }],
|
|
263
|
-
isTreeColumn: [{ type: Input }],
|
|
264
|
-
treeLevelIndent: [{ type: Input }],
|
|
265
|
-
summaryFunc: [{ type: Input }],
|
|
266
|
-
summaryTemplate: [{ type: Input }],
|
|
267
|
-
hidden: [{ type: Input }],
|
|
268
|
-
cellTplDirective: [{ type: ContentChild, args: [DatatableCellTplDirective, { static: true },] }],
|
|
269
|
-
_cellTemplateInput: [{ type: Input, args: ['cellTemplate',] }],
|
|
270
|
-
_cellTemplateQuery: [{ type: ContentChild, args: [DatatableCellTplDirective, { read: TemplateRef, static: true },] }]
|
|
271
|
-
};
|
|
272
|
-
|
|
273
|
-
class DatatableFooterTplDirective {
|
|
274
|
-
constructor(template) {
|
|
275
|
-
this.template = template;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
DatatableFooterTplDirective.decorators = [
|
|
279
|
-
{ type: Directive, args: [{
|
|
280
|
-
selector: '[seamDatatableFooterTpl]'
|
|
281
|
-
},] }
|
|
282
|
-
];
|
|
283
|
-
DatatableFooterTplDirective.ctorParameters = () => [
|
|
284
|
-
{ type: TemplateRef }
|
|
285
|
-
];
|
|
286
|
-
|
|
287
|
-
class TheSeamDatatableFooterDirective {
|
|
288
|
-
get template() {
|
|
289
|
-
return this._templateInput || this._templateQuery;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
TheSeamDatatableFooterDirective.decorators = [
|
|
293
|
-
{ type: Directive, args: [{
|
|
294
|
-
// tslint:disable-next-line: directive-selector
|
|
295
|
-
selector: 'seam-datatable-footer'
|
|
296
|
-
},] }
|
|
297
|
-
];
|
|
298
|
-
TheSeamDatatableFooterDirective.propDecorators = {
|
|
299
|
-
_templateInput: [{ type: Input, args: ['template',] }],
|
|
300
|
-
_templateQuery: [{ type: ContentChild, args: [DatatableFooterTplDirective, { read: TemplateRef, static: true },] }]
|
|
301
|
-
};
|
|
302
|
-
|
|
303
|
-
class DatatableFilterDirective {
|
|
304
|
-
constructor(dataFilters) {
|
|
305
|
-
if (dataFilters && dataFilters.length > 0) {
|
|
306
|
-
this._filter = dataFilters[0];
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
get filter() {
|
|
310
|
-
return this._filter;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
DatatableFilterDirective.decorators = [
|
|
314
|
-
{ type: Directive, args: [{
|
|
315
|
-
selector: '[seamDatatableFilter]'
|
|
316
|
-
},] }
|
|
317
|
-
];
|
|
318
|
-
DatatableFilterDirective.ctorParameters = () => [
|
|
319
|
-
{ type: Array, decorators: [{ type: Self }, { type: Inject, args: [THESEAM_DATA_FILTER,] }] }
|
|
320
|
-
];
|
|
321
|
-
|
|
322
|
-
const _THESEAM_DATA_FILTER_CONTAINER = {
|
|
323
|
-
provide: THESEAM_DATA_FILTER_CONTAINER,
|
|
324
|
-
// tslint:disable-next-line:no-use-before-declare
|
|
325
|
-
useExisting: forwardRef(() => DatatableMenuBarComponent)
|
|
326
|
-
};
|
|
327
|
-
class DatatableMenuBarComponent {
|
|
328
|
-
constructor() {
|
|
329
|
-
this._filtersArr = [];
|
|
330
|
-
this.filtersChanged = new EventEmitter();
|
|
331
|
-
}
|
|
332
|
-
get filterDirectives() {
|
|
333
|
-
return this._filterDirectives;
|
|
334
|
-
}
|
|
335
|
-
set filterDirectives(value) {
|
|
336
|
-
this._filterDirectives = value;
|
|
337
|
-
this.filtersChanged.emit(this.filters());
|
|
338
|
-
}
|
|
339
|
-
ngOnInit() { }
|
|
340
|
-
ngAfterViewInit() {
|
|
341
|
-
// console.log('_filterDirectives', this._filterDirectives, this.filters())
|
|
342
|
-
}
|
|
343
|
-
filters() {
|
|
344
|
-
const fDirectives = this._filterDirectives
|
|
345
|
-
? this._filterDirectives.map(f => f.filter).filter(notNullOrUndefined)
|
|
346
|
-
: [];
|
|
347
|
-
const fArr = this._filtersArr
|
|
348
|
-
.filter(f => fDirectives.findIndex(fd => fd.uid === f.uid) === -1);
|
|
349
|
-
return [...fArr, ...fDirectives];
|
|
350
|
-
}
|
|
351
|
-
addFilter(dataFilter) {
|
|
352
|
-
this._filtersArr.push(dataFilter);
|
|
353
|
-
this.filtersChanged.emit(this.filters());
|
|
354
|
-
}
|
|
355
|
-
removeFilter(dataFilter) {
|
|
356
|
-
this._filtersArr = this._filtersArr.filter(f => f !== dataFilter);
|
|
357
|
-
this.filtersChanged.emit(this.filters());
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
DatatableMenuBarComponent.decorators = [
|
|
361
|
-
{ type: Component, args: [{
|
|
362
|
-
selector: 'seam-datatable-menu-bar',
|
|
363
|
-
template: "<div class=\"bg-light border rounded p-2\">\n <ng-content></ng-content>\n</div>\n",
|
|
364
|
-
providers: [_THESEAM_DATA_FILTER_CONTAINER],
|
|
365
|
-
styles: [":host{display:block}\n"]
|
|
366
|
-
},] }
|
|
367
|
-
];
|
|
368
|
-
DatatableMenuBarComponent.ctorParameters = () => [];
|
|
369
|
-
DatatableMenuBarComponent.propDecorators = {
|
|
370
|
-
filterDirectives: [{ type: ContentChildren, args: [DatatableFilterDirective,] }]
|
|
371
|
-
};
|
|
372
|
-
|
|
373
|
-
class DatatableRowDetailTplDirective {
|
|
374
|
-
constructor(template) {
|
|
375
|
-
this.template = template;
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
DatatableRowDetailTplDirective.decorators = [
|
|
379
|
-
{ type: Directive, args: [{
|
|
380
|
-
selector: '[seamDatatableRowDetailTpl]'
|
|
381
|
-
},] }
|
|
382
|
-
];
|
|
383
|
-
DatatableRowDetailTplDirective.ctorParameters = () => [
|
|
384
|
-
{ type: TemplateRef }
|
|
385
|
-
];
|
|
386
|
-
|
|
387
|
-
class TheSeamDatatableRowDetailDirective {
|
|
388
|
-
constructor() {
|
|
389
|
-
/**
|
|
390
|
-
* The detail row height is required especially
|
|
391
|
-
* when virtual scroll is enabled.
|
|
392
|
-
*/
|
|
393
|
-
this.rowHeight = 0;
|
|
394
|
-
/**
|
|
395
|
-
* Row detail row visbility was toggled.
|
|
396
|
-
*/
|
|
397
|
-
// NOTE: This will trigger from the internal ngx-datatable toggle event.
|
|
398
|
-
this.toggle = new EventEmitter();
|
|
399
|
-
/**
|
|
400
|
-
* Internal use for wrapper only.
|
|
401
|
-
*
|
|
402
|
-
* To avoid confusion with this directives output and the ngx-datatable
|
|
403
|
-
* directive being wrapped, this directive emits `_toggle` stream to the
|
|
404
|
-
* `ngx-datatable-row-detail` directive and emits it's `toggle` stream out to
|
|
405
|
-
* this directives `toggle` stream.
|
|
406
|
-
* @ignore
|
|
407
|
-
*/
|
|
408
|
-
this._toggle = new EventEmitter();
|
|
409
|
-
}
|
|
410
|
-
get template() {
|
|
411
|
-
return this._templateInput || this._templateQuery;
|
|
412
|
-
}
|
|
413
|
-
/**
|
|
414
|
-
* Toggle the expansion of the row
|
|
415
|
-
*/
|
|
416
|
-
toggleExpandRow(row) {
|
|
417
|
-
this._toggle.emit({
|
|
418
|
-
type: 'row',
|
|
419
|
-
value: row
|
|
420
|
-
});
|
|
421
|
-
}
|
|
422
|
-
/**
|
|
423
|
-
* API method to expand all the rows.
|
|
424
|
-
*/
|
|
425
|
-
expandAllRows() {
|
|
426
|
-
this._toggle.emit({
|
|
427
|
-
type: 'all',
|
|
428
|
-
value: true
|
|
429
|
-
});
|
|
430
|
-
}
|
|
431
|
-
/**
|
|
432
|
-
* API method to collapse all the rows.
|
|
433
|
-
*/
|
|
434
|
-
collapseAllRows() {
|
|
435
|
-
this._toggle.emit({
|
|
436
|
-
type: 'all',
|
|
437
|
-
value: false
|
|
438
|
-
});
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
TheSeamDatatableRowDetailDirective.decorators = [
|
|
442
|
-
{ type: Directive, args: [{
|
|
443
|
-
// tslint:disable-next-line: directive-selector
|
|
444
|
-
selector: 'seam-datatable-row-detail'
|
|
445
|
-
},] }
|
|
446
|
-
];
|
|
447
|
-
TheSeamDatatableRowDetailDirective.propDecorators = {
|
|
448
|
-
rowHeight: [{ type: Input }],
|
|
449
|
-
_templateInput: [{ type: Input, args: ['template',] }],
|
|
450
|
-
_templateQuery: [{ type: ContentChild, args: [DatatableRowDetailTplDirective, { read: TemplateRef, static: true },] }],
|
|
451
|
-
toggle: [{ type: Output }]
|
|
452
|
-
};
|
|
453
|
-
|
|
454
|
-
class DatatableRowActionItemDirective {
|
|
455
|
-
constructor(template) {
|
|
456
|
-
this.template = template;
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
DatatableRowActionItemDirective.decorators = [
|
|
460
|
-
{ type: Directive, args: [{
|
|
461
|
-
selector: '[seamDatatableRowActionItem]'
|
|
462
|
-
},] }
|
|
463
|
-
];
|
|
464
|
-
DatatableRowActionItemDirective.ctorParameters = () => [
|
|
465
|
-
{ type: TemplateRef }
|
|
466
|
-
];
|
|
467
|
-
|
|
468
|
-
class DatatableDataSource extends DataSource {
|
|
469
|
-
constructor() {
|
|
470
|
-
super();
|
|
471
|
-
this._datatableSubject = new BehaviorSubject(undefined);
|
|
472
|
-
this.sorts$ = this._datatableSubject.pipe(switchMap(_datatable => {
|
|
473
|
-
if (!_datatable) {
|
|
474
|
-
return of([]);
|
|
475
|
-
}
|
|
476
|
-
return _datatable.sort.pipe(map(v => v.sorts), startWith(_datatable.sorts));
|
|
477
|
-
}));
|
|
478
|
-
this.filterStates$ = this._datatableSubject.pipe(switchMap(_datatable => {
|
|
479
|
-
if (!_datatable) {
|
|
480
|
-
return of([]);
|
|
481
|
-
}
|
|
482
|
-
return _datatable.filterStates;
|
|
483
|
-
}));
|
|
484
|
-
this.page$ = this._datatableSubject.pipe(switchMap(_datatable => {
|
|
485
|
-
if (!_datatable) {
|
|
486
|
-
return of({
|
|
487
|
-
offset: 0,
|
|
488
|
-
pageSize: 0,
|
|
489
|
-
limit: undefined,
|
|
490
|
-
count: 0
|
|
491
|
-
});
|
|
492
|
-
}
|
|
493
|
-
return _datatable.page.pipe(startWith(_datatable.pageInfo));
|
|
494
|
-
}));
|
|
495
|
-
}
|
|
496
|
-
// connect(): Observable<readonly TRow[]> {
|
|
497
|
-
// return this.
|
|
498
|
-
// }
|
|
499
|
-
// disconnect(): void {
|
|
500
|
-
// throw new Error('Method not implemented.')
|
|
501
|
-
// }
|
|
502
|
-
setDatatableAccessor(accessor) {
|
|
503
|
-
this._datatableSubject.next(accessor);
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
const ACTION_MENU_COLUMN_PROP = '$$__actionMenu__';
|
|
508
|
-
function createActionMenuColumn(cellTemplate, headerTemplate) {
|
|
509
|
-
return {
|
|
510
|
-
prop: ACTION_MENU_COLUMN_PROP,
|
|
511
|
-
name: '',
|
|
512
|
-
width: 50,
|
|
513
|
-
minWidth: 50,
|
|
514
|
-
maxWidth: 50,
|
|
515
|
-
resizeable: false,
|
|
516
|
-
sortable: false,
|
|
517
|
-
draggable: false,
|
|
518
|
-
// TODO: Fix column auto sizing with fixed column and cell overlay before enabling.
|
|
519
|
-
// frozenRight: true,
|
|
520
|
-
cellTemplate,
|
|
521
|
-
headerTemplate,
|
|
522
|
-
};
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
const CHECKBOX_COLUMN_PROP = '$$__checkbox__';
|
|
526
|
-
function createCheckboxColumn() {
|
|
527
|
-
return {
|
|
528
|
-
prop: CHECKBOX_COLUMN_PROP,
|
|
529
|
-
name: '',
|
|
530
|
-
width: 40,
|
|
531
|
-
sortable: false,
|
|
532
|
-
canAutoResize: false,
|
|
533
|
-
draggable: false,
|
|
534
|
-
resizeable: false,
|
|
535
|
-
headerCheckboxable: true,
|
|
536
|
-
checkboxable: true,
|
|
537
|
-
};
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
function getColumnProp(col) {
|
|
541
|
-
if (!notNullOrUndefined(col.prop) && col.name) {
|
|
542
|
-
return camelCase(col.name);
|
|
543
|
-
}
|
|
544
|
-
return col.prop === null ? undefined : col.prop;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
function setColumnDefaults(columns) {
|
|
548
|
-
for (const column of columns) {
|
|
549
|
-
if (!column.hasOwnProperty('hidden')) {
|
|
550
|
-
column.hidden = false;
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
setColumnDefaults$1(columns);
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
// TODO: Replace with a `translateTemplates` function that fits the
|
|
557
|
-
// wrapper component better.
|
|
558
|
-
function translateTemplateColumns(v) {
|
|
559
|
-
const cols = translateTemplates(v);
|
|
560
|
-
for (const col of cols) {
|
|
561
|
-
col.prop = getColumnProp(col);
|
|
562
|
-
}
|
|
563
|
-
return cols;
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
var ColumnsTypes;
|
|
567
|
-
(function (ColumnsTypes) {
|
|
568
|
-
ColumnsTypes[ColumnsTypes["Input"] = 0] = "Input";
|
|
569
|
-
ColumnsTypes[ColumnsTypes["Template"] = 1] = "Template";
|
|
570
|
-
ColumnsTypes[ColumnsTypes["Result"] = 2] = "Result";
|
|
571
|
-
})(ColumnsTypes || (ColumnsTypes = {}));
|
|
572
|
-
class ColumnsManagerService {
|
|
573
|
-
constructor(_differs, _columnChangesService) {
|
|
574
|
-
this._differs = _differs;
|
|
575
|
-
this._columnChangesService = _columnChangesService;
|
|
576
|
-
this._updateColumns = new Subject();
|
|
577
|
-
this._inputColumns = new BehaviorSubject([]);
|
|
578
|
-
this._templateColumns = new BehaviorSubject([]);
|
|
579
|
-
this._inpColDiffersMap = new Map();
|
|
580
|
-
this._tplColDiffersMap = new Map();
|
|
581
|
-
this._resultColDiffersMap = new Map();
|
|
582
|
-
const templateColumns$ = this._columnChangesService.columnInputChanges$.pipe(startWith(undefined), switchMap(() => {
|
|
583
|
-
return this._templateColumns.asObservable().pipe(map(translateTemplateColumns));
|
|
584
|
-
}));
|
|
585
|
-
this.columns$ = defer(() => {
|
|
586
|
-
let isFirst = true;
|
|
587
|
-
return combineLatest([
|
|
588
|
-
this._inputColumns.asObservable(),
|
|
589
|
-
templateColumns$,
|
|
590
|
-
this._updateColumns.asObservable().pipe(auditTime(0), startWith(undefined))
|
|
591
|
-
]).pipe(switchMap(([inputColumns, templateColumns]) => {
|
|
592
|
-
const cols = this._mergeColumns(inputColumns, templateColumns);
|
|
593
|
-
const hasColumnsChanged = this._hasColumnsChanged(cols);
|
|
594
|
-
// TODO: Look for columns added/removed and remove the removed columns
|
|
595
|
-
// differs, not just changes to columns.
|
|
596
|
-
const hasAddedOrRemovedColumns = this._hasAddedOrRemovedColumns(cols);
|
|
597
|
-
// NOTE: Both checks need to be run, even though only one needs to be
|
|
598
|
-
// true, because their differs need to be called.
|
|
599
|
-
if (hasColumnsChanged || hasAddedOrRemovedColumns || isFirst) {
|
|
600
|
-
isFirst = false;
|
|
601
|
-
return of(cols);
|
|
602
|
-
}
|
|
603
|
-
return EMPTY;
|
|
604
|
-
}));
|
|
605
|
-
}).pipe(shareReplay({ refCount: true, bufferSize: 1 }));
|
|
606
|
-
}
|
|
607
|
-
setInputColumns(columns) {
|
|
608
|
-
this._inputColumns.next(columns);
|
|
609
|
-
}
|
|
610
|
-
setTemplateColumns(columns) {
|
|
611
|
-
this._templateColumns.next(columns);
|
|
612
|
-
}
|
|
613
|
-
setInternalColumnsGetter(getter) {
|
|
614
|
-
this._internalColumnsGetter = getter || undefined;
|
|
615
|
-
this._updateColumns.next(undefined);
|
|
616
|
-
}
|
|
617
|
-
setSelectionType(selectionType) {
|
|
618
|
-
const changed = this._selectionType !== selectionType;
|
|
619
|
-
this._selectionType = selectionType;
|
|
620
|
-
if (changed) {
|
|
621
|
-
this._updateColumns.next(undefined);
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
getSelectionType() {
|
|
625
|
-
return this._selectionType;
|
|
626
|
-
}
|
|
627
|
-
setRowActionItem(rowActionItem) {
|
|
628
|
-
const changed = this._rowActionItem !== rowActionItem;
|
|
629
|
-
this._rowActionItem = rowActionItem;
|
|
630
|
-
if (changed) {
|
|
631
|
-
this._updateColumns.next(undefined);
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
setActionMenuCellTpl(actionMenuCellTpl) {
|
|
635
|
-
const changed = this._actionMenuCellTpl !== actionMenuCellTpl;
|
|
636
|
-
this._actionMenuCellTpl = actionMenuCellTpl;
|
|
637
|
-
if (changed) {
|
|
638
|
-
this._updateColumns.next(undefined);
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
setBlankHeaderTpl(blankHeaderTpl) {
|
|
642
|
-
const changed = this._blankHeaderTpl !== blankHeaderTpl;
|
|
643
|
-
this._blankHeaderTpl = blankHeaderTpl;
|
|
644
|
-
if (changed) {
|
|
645
|
-
this._updateColumns.next(undefined);
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
setTreeToggleTpl(treeToggleTpl) {
|
|
649
|
-
const changed = this._treeToggleTpl !== treeToggleTpl;
|
|
650
|
-
this._treeToggleTpl = treeToggleTpl;
|
|
651
|
-
if (changed) {
|
|
652
|
-
this._updateColumns.next(undefined);
|
|
653
|
-
}
|
|
654
|
-
}
|
|
655
|
-
setHeaderTpl(headerTpl) {
|
|
656
|
-
const changed = this._headerTpl !== headerTpl;
|
|
657
|
-
this._headerTpl = headerTpl;
|
|
658
|
-
if (changed) {
|
|
659
|
-
this._updateColumns.next(undefined);
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
setCellTypeSelectorTpl(cellTypeSelectorTpl) {
|
|
663
|
-
const changed = this._cellTypeSelectorTpl !== cellTypeSelectorTpl;
|
|
664
|
-
this._cellTypeSelectorTpl = cellTypeSelectorTpl;
|
|
665
|
-
if (changed) {
|
|
666
|
-
this._updateColumns.next(undefined);
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
_mergeColumns(inputColumns, templateColumns) {
|
|
670
|
-
const cols = [];
|
|
671
|
-
// Add the first column checkbox if 'checkbox' selection is enabled.
|
|
672
|
-
if (this._shouldAddCheckboxColumn()) {
|
|
673
|
-
cols.push(createCheckboxColumn());
|
|
674
|
-
}
|
|
675
|
-
// Column needs to be provided in the inputColumns, so iterate the
|
|
676
|
-
// inputColumns.
|
|
677
|
-
for (const inpCol of inputColumns) {
|
|
678
|
-
const prop = getColumnProp(inpCol);
|
|
679
|
-
if (!notNullOrUndefined(prop)) {
|
|
680
|
-
throw Error(`Column may have 'prop' or 'name' defined.`);
|
|
681
|
-
}
|
|
682
|
-
const internalCol = this._getInternalColumn(prop);
|
|
683
|
-
const inpColDif = this._getColDif(inpCol, ColumnsTypes.Input);
|
|
684
|
-
if (notNullOrUndefined(inpColDif)) {
|
|
685
|
-
this._updateColDif(inpColDif, internalCol, inpCol);
|
|
686
|
-
}
|
|
687
|
-
const tplCol = this._findColumnByProp(prop, templateColumns);
|
|
688
|
-
if (tplCol !== undefined) {
|
|
689
|
-
const tplColDif = this._getColDif(tplCol, ColumnsTypes.Template);
|
|
690
|
-
if (notNullOrUndefined(tplColDif)) {
|
|
691
|
-
this._updateColDif(tplColDif, internalCol, tplCol);
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
const _col = Object.assign(Object.assign(Object.assign({}, (internalCol || {})), inpCol), (tplCol || {}));
|
|
695
|
-
if (this._shouldAddTreeToggleColumn(_col)) {
|
|
696
|
-
_col.treeToggleTemplate = this._treeToggleTpl;
|
|
697
|
-
}
|
|
698
|
-
if (this._shouldAddHeaderTemplate(_col)) {
|
|
699
|
-
_col.headerTemplate = this._headerTpl;
|
|
700
|
-
}
|
|
701
|
-
if (this._shouldAddCellTypeSelectorTpl(_col)) {
|
|
702
|
-
_col.cellTemplate = this._cellTypeSelectorTpl;
|
|
703
|
-
}
|
|
704
|
-
cols.push(_col);
|
|
705
|
-
}
|
|
706
|
-
if (this._shouldAddRowActionColumn()) {
|
|
707
|
-
cols.push(createActionMenuColumn(this._actionMenuCellTpl, this._blankHeaderTpl));
|
|
708
|
-
}
|
|
709
|
-
// Make sure the default for any missing props are set.
|
|
710
|
-
// TODO: Determine if this should be done earlier, because I don't like
|
|
711
|
-
// how this is done after dif checks.
|
|
712
|
-
setColumnDefaults(cols);
|
|
713
|
-
return cols;
|
|
714
|
-
}
|
|
715
|
-
_getInternalColumns() {
|
|
716
|
-
if (this._internalColumnsGetter === undefined) {
|
|
717
|
-
return undefined;
|
|
718
|
-
}
|
|
719
|
-
return this._internalColumnsGetter();
|
|
720
|
-
}
|
|
721
|
-
_getInternalColumn(prop) {
|
|
722
|
-
const internalCols = this._getInternalColumns();
|
|
723
|
-
if (internalCols === undefined) {
|
|
724
|
-
return undefined;
|
|
725
|
-
}
|
|
726
|
-
return internalCols.find(c => getColumnProp(c) === prop);
|
|
727
|
-
}
|
|
728
|
-
_findColumnByProp(prop, columns) {
|
|
729
|
-
return columns.find(c => getColumnProp(c) === prop);
|
|
730
|
-
}
|
|
731
|
-
_getDifMapForColumnsType(columnsType) {
|
|
732
|
-
switch (columnsType) {
|
|
733
|
-
case ColumnsTypes.Input: return this._inpColDiffersMap;
|
|
734
|
-
case ColumnsTypes.Template: return this._tplColDiffersMap;
|
|
735
|
-
case ColumnsTypes.Result: return this._resultColDiffersMap;
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
_getColumnDiffer(prop, colsType) {
|
|
739
|
-
const difMap = this._getDifMapForColumnsType(colsType);
|
|
740
|
-
if (difMap === null) {
|
|
741
|
-
throw Error(`Invalid columns type.`);
|
|
742
|
-
}
|
|
743
|
-
if (!difMap.has(prop)) {
|
|
744
|
-
difMap.set(prop, this._differs.find({}).create());
|
|
745
|
-
}
|
|
746
|
-
const differ = difMap.get(prop);
|
|
747
|
-
if (differ === undefined) {
|
|
748
|
-
throw Error(`Differ not found. New differ should have been created.`);
|
|
749
|
-
}
|
|
750
|
-
return differ;
|
|
751
|
-
}
|
|
752
|
-
_getColDif(col, colsType) {
|
|
753
|
-
const prop = getColumnProp(col);
|
|
754
|
-
if (prop === undefined) {
|
|
755
|
-
throw Error(`Column prop not found.`);
|
|
756
|
-
}
|
|
757
|
-
return this._getColumnDiffer(prop, colsType).diff(col);
|
|
758
|
-
}
|
|
759
|
-
_updateColDif(colDif, internalColumn, col) {
|
|
760
|
-
colDif.forEachRemovedItem(r => {
|
|
761
|
-
if (internalColumn && internalColumn.hasOwnProperty(r.key)) {
|
|
762
|
-
const k = r.key;
|
|
763
|
-
delete internalColumn[k];
|
|
764
|
-
}
|
|
765
|
-
});
|
|
766
|
-
colDif.forEachAddedItem(r => col[r.key] = r.currentValue);
|
|
767
|
-
colDif.forEachChangedItem(r => col[r.key] = r.currentValue);
|
|
768
|
-
}
|
|
769
|
-
_hasAddedOrRemovedColumns(columns) {
|
|
770
|
-
if (!this._colPropsDiffer) {
|
|
771
|
-
this._colPropsDiffer = this._differs.find([]).create();
|
|
772
|
-
}
|
|
773
|
-
const props = columns.map(c => getColumnProp(c));
|
|
774
|
-
return this._colPropsDiffer.diff(props) !== null;
|
|
775
|
-
}
|
|
776
|
-
_hasColumnsChanged(columns) {
|
|
777
|
-
let colChanged = false;
|
|
778
|
-
for (const col of columns) {
|
|
779
|
-
const resultDif = this._getColDif(col, ColumnsTypes.Result);
|
|
780
|
-
if (resultDif) {
|
|
781
|
-
// NOTE: Can't return early, because the differs need to be updated.
|
|
782
|
-
colChanged = true;
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
return colChanged;
|
|
786
|
-
}
|
|
787
|
-
_shouldAddCheckboxColumn() {
|
|
788
|
-
return this._selectionType === SelectionType.checkbox;
|
|
789
|
-
}
|
|
790
|
-
_shouldAddRowActionColumn() {
|
|
791
|
-
return this._rowActionItem !== undefined;
|
|
792
|
-
}
|
|
793
|
-
_shouldAddTreeToggleColumn(column) {
|
|
794
|
-
return column.isTreeColumn !== undefined && column.isTreeColumn &&
|
|
795
|
-
(!hasProperty(column, 'treeToggleTemplate') || !notNullOrUndefined(column.treeToggleTemplate));
|
|
796
|
-
}
|
|
797
|
-
_shouldAddHeaderTemplate(column) {
|
|
798
|
-
return !hasProperty(column, 'headerTemplate');
|
|
799
|
-
}
|
|
800
|
-
_shouldAddCellTypeSelectorTpl(column) {
|
|
801
|
-
return hasProperty(column, 'cellType');
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
ColumnsManagerService.decorators = [
|
|
805
|
-
{ type: Injectable }
|
|
806
|
-
];
|
|
807
|
-
ColumnsManagerService.ctorParameters = () => [
|
|
808
|
-
{ type: KeyValueDiffers },
|
|
809
|
-
{ type: DatatableColumnChangesService }
|
|
810
|
-
];
|
|
811
|
-
|
|
812
|
-
const CURRENT_DATATABLE_PREFERENCES_VERSION = 2;
|
|
813
|
-
const EMPTY_DATATABLE_PREFERENCES = {
|
|
814
|
-
version: 2,
|
|
815
|
-
alterations: []
|
|
816
|
-
};
|
|
817
|
-
|
|
818
|
-
const THESEAM_DATATABLE_PREFERENCES_ACCESSOR = new InjectionToken('TheSeamDatatablePreferencesAccessor');
|
|
819
|
-
|
|
820
|
-
// TODO: Add per key status
|
|
821
|
-
class DatatablePreferencesService {
|
|
822
|
-
constructor(_prefsAccessor) {
|
|
823
|
-
this._prefsAccessor = _prefsAccessor;
|
|
824
|
-
this._tablePrefsMap = new Map();
|
|
825
|
-
this._pending = false;
|
|
826
|
-
this._loaded = false;
|
|
827
|
-
}
|
|
828
|
-
get pending() { return this._pending; }
|
|
829
|
-
get loaded() { return this._loaded; }
|
|
830
|
-
preferences(preferenceKey) {
|
|
831
|
-
let prefs = this._tablePrefsMap.get(preferenceKey);
|
|
832
|
-
if (!prefs) {
|
|
833
|
-
const refreshSubject = new Subject();
|
|
834
|
-
prefs = {
|
|
835
|
-
observable: this._createObservable(refreshSubject, preferenceKey),
|
|
836
|
-
refresh: refreshSubject
|
|
837
|
-
};
|
|
838
|
-
this._tablePrefsMap.set(preferenceKey, prefs);
|
|
839
|
-
}
|
|
840
|
-
return prefs.observable;
|
|
841
|
-
}
|
|
842
|
-
_createObservable(refreshSubject, prefKey) {
|
|
843
|
-
if (!this._prefsAccessor) {
|
|
844
|
-
return of(EMPTY_DATATABLE_PREFERENCES);
|
|
845
|
-
}
|
|
846
|
-
const accessor = (key) => this._prefsAccessor ? this._prefsAccessor.get(key) : of(JSON.stringify(EMPTY_DATATABLE_PREFERENCES));
|
|
847
|
-
return refreshSubject.pipe(startWith(undefined), switchMap(() => accessor(prefKey).pipe(map(v => {
|
|
848
|
-
if (!v) {
|
|
849
|
-
return null;
|
|
850
|
-
}
|
|
851
|
-
// TODO: Add a schema validator and migration tool to avoid parsing issues.
|
|
852
|
-
try {
|
|
853
|
-
// return JSON.parse(v) as TheSeamDatatablePreferences
|
|
854
|
-
return this._descerializePreferences(v);
|
|
855
|
-
}
|
|
856
|
-
catch (error) {
|
|
857
|
-
if (isDevMode()) {
|
|
858
|
-
console.error(error);
|
|
859
|
-
}
|
|
860
|
-
return null;
|
|
861
|
-
}
|
|
862
|
-
}), map(v => notNullOrUndefined(v) ? v : EMPTY_DATATABLE_PREFERENCES),
|
|
863
|
-
// tap(v => console.log('preferences$', v)),
|
|
864
|
-
tap(() => {
|
|
865
|
-
this._pending = false;
|
|
866
|
-
this._loaded = true;
|
|
867
|
-
}))), shareReplay({ bufferSize: 1, refCount: true }));
|
|
868
|
-
}
|
|
869
|
-
refresh(preferenceKey) {
|
|
870
|
-
const prefs = this._tablePrefsMap.get(preferenceKey);
|
|
871
|
-
if (prefs) {
|
|
872
|
-
this._pending = true;
|
|
873
|
-
prefs.refresh.next();
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
// TODO: Improve this updating to be more generic, so we can quickly add
|
|
877
|
-
// edits for different preference schema's.
|
|
878
|
-
//
|
|
879
|
-
// TODO: Decide if a send queue/merging of pending queue is needed to avoid
|
|
880
|
-
// out of order updates. This shouldn't be an issue, with how fast preferences
|
|
881
|
-
// will most likely be changing, but it could happen in situations, such as
|
|
882
|
-
// network issues.
|
|
883
|
-
// public setColumnPreference(preferenceKey: string, column: TheSeamDatatablePreferencesColumn): void {
|
|
884
|
-
// if (!this._prefsAccessor) {
|
|
885
|
-
// return
|
|
886
|
-
// }
|
|
887
|
-
// this._pending = true
|
|
888
|
-
// this.preferences(preferenceKey).pipe(
|
|
889
|
-
// map(prefs => {
|
|
890
|
-
// // Making the preferences immutable may not be necessary, but for now
|
|
891
|
-
// // this obj->str->obj will work as a naive clone.
|
|
892
|
-
// const columns = JSON.parse(JSON.stringify(prefs.columns || []))
|
|
893
|
-
// const _colPref = columns.find((c: any) => c.prop === column.prop)
|
|
894
|
-
// // console.log('has', _colPref)
|
|
895
|
-
// if (_colPref) {
|
|
896
|
-
// // console.log('hasProperty(column, "width"))', hasProperty(column, 'width'))
|
|
897
|
-
// if (hasProperty(column, 'width')) { _colPref.width = column.width }
|
|
898
|
-
// if (hasProperty(column, 'canAutoResize')) { _colPref.canAutoResize = column.canAutoResize }
|
|
899
|
-
// if (hasProperty(column, 'hidden')) { _colPref.hidden = column.hidden }
|
|
900
|
-
// } else {
|
|
901
|
-
// columns.push({ ...column })
|
|
902
|
-
// }
|
|
903
|
-
// const newPrefs: TheSeamDatatablePreferences = { ...prefs, columns }
|
|
904
|
-
// return newPrefs
|
|
905
|
-
// }),
|
|
906
|
-
// // tap(v => console.log('newPrefs', v)),
|
|
907
|
-
// take(1),
|
|
908
|
-
// switchMap(newPrefs => this._prefsAccessor
|
|
909
|
-
// ? this._prefsAccessor.update(preferenceKey, JSON.stringify(newPrefs))
|
|
910
|
-
// : of(newPrefs)
|
|
911
|
-
// ),
|
|
912
|
-
// tap(() => this.refresh(preferenceKey))
|
|
913
|
-
// )
|
|
914
|
-
// .subscribe()
|
|
915
|
-
// }
|
|
916
|
-
setAlterations(preferenceKey, alterations) {
|
|
917
|
-
if (!this._prefsAccessor) {
|
|
918
|
-
return;
|
|
919
|
-
}
|
|
920
|
-
this._pending = true;
|
|
921
|
-
this.preferences(preferenceKey).pipe(map(prefs => {
|
|
922
|
-
// Making the preferences immutable may not be necessary, but for now
|
|
923
|
-
// this obj->str->obj will work as a naive clone.
|
|
924
|
-
// const columns = JSON.parse(JSON.stringify(prefs.columns || []))
|
|
925
|
-
// const _colPref = columns.find((c: any) => c.prop === column.prop)
|
|
926
|
-
// // console.log('has', _colPref)
|
|
927
|
-
// if (_colPref) {
|
|
928
|
-
// // console.log('hasProperty(column, "width"))', hasProperty(column, 'width'))
|
|
929
|
-
// if (hasProperty(column, 'width')) { _colPref.width = column.width }
|
|
930
|
-
// if (hasProperty(column, 'canAutoResize')) { _colPref.canAutoResize = column.canAutoResize }
|
|
931
|
-
// if (hasProperty(column, 'hidden')) { _colPref.hidden = column.hidden }
|
|
932
|
-
// } else {
|
|
933
|
-
// columns.push({ ...column })
|
|
934
|
-
// }
|
|
935
|
-
// const newPrefs: TheSeamDatatablePreferences = { ...prefs, columns }
|
|
936
|
-
// return newPrefs
|
|
937
|
-
const newPrefs = Object.assign(Object.assign({}, EMPTY_DATATABLE_PREFERENCES), { alterations });
|
|
938
|
-
return newPrefs;
|
|
939
|
-
}),
|
|
940
|
-
// tap(v => console.log('newPrefs', v)),
|
|
941
|
-
take(1), switchMap(newPrefs => this._prefsAccessor
|
|
942
|
-
? this._prefsAccessor.update(preferenceKey, JSON.stringify(newPrefs))
|
|
943
|
-
: of(newPrefs)), tap(() => this.refresh(preferenceKey)))
|
|
944
|
-
.subscribe();
|
|
945
|
-
}
|
|
946
|
-
// public withColumnPreferences<T>(preferenceKey: string, columns: T[]): Observable<T[]> {
|
|
947
|
-
// return this.preferences(preferenceKey).pipe(
|
|
948
|
-
// startWith(EMPTY_DATATABLE_PREFERENCES),
|
|
949
|
-
// map(preferences => preferences && preferences.columns
|
|
950
|
-
// ? withStoredColumnInfo(columns, preferences.columns) as T[]
|
|
951
|
-
// : columns
|
|
952
|
-
// )
|
|
953
|
-
// )
|
|
954
|
-
// }
|
|
955
|
-
_descerializePreferences(serialized) {
|
|
956
|
-
const prefs = JSON.parse(serialized);
|
|
957
|
-
// TODO: Implement migration
|
|
958
|
-
return prefs;
|
|
959
|
-
}
|
|
960
|
-
}
|
|
961
|
-
DatatablePreferencesService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DatatablePreferencesService_Factory() { return new DatatablePreferencesService(i0.ɵɵinject(THESEAM_DATATABLE_PREFERENCES_ACCESSOR, 8)); }, token: DatatablePreferencesService, providedIn: "root" });
|
|
962
|
-
DatatablePreferencesService.decorators = [
|
|
963
|
-
{ type: Injectable, args: [{
|
|
964
|
-
providedIn: 'root'
|
|
965
|
-
},] }
|
|
966
|
-
];
|
|
967
|
-
DatatablePreferencesService.ctorParameters = () => [
|
|
968
|
-
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [THESEAM_DATATABLE_PREFERENCES_ACCESSOR,] }] }
|
|
969
|
-
];
|
|
970
|
-
|
|
971
|
-
const THESEAM_DATATABLE_ACCESSOR = new InjectionToken('TheSeamDatatableAccessor');
|
|
972
|
-
|
|
973
|
-
function removeUnusedDiffs(cols, colDiffersInp, colDiffersTpl) {
|
|
974
|
-
const inpKeys = Object.keys(colDiffersInp);
|
|
975
|
-
inpKeys.filter(k => cols.findIndex(c => c.prop === k) === -1)
|
|
976
|
-
.forEach(k => { delete colDiffersInp[k]; });
|
|
977
|
-
const tplKeys = Object.keys(colDiffersTpl);
|
|
978
|
-
tplKeys.filter(k => cols.findIndex(c => c.prop === k) === -1)
|
|
979
|
-
.forEach(k => { delete colDiffersTpl[k]; });
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
/**
|
|
983
|
-
* Alteration applied to a column or columns that can be persisted.
|
|
984
|
-
*
|
|
985
|
-
* Tracking if a column was altered by user or library code can be confusing.
|
|
986
|
-
* This allows us to store a list of replayable alterations on columns. By
|
|
987
|
-
* having a defined way to implement alterations, the datatable should be easier
|
|
988
|
-
* to support external features that want to provide an alteration.
|
|
989
|
-
*
|
|
990
|
-
* NOTE: Current, to unapply an alteration you can create an alteration with
|
|
991
|
-
* `persistent` set to false and the alteration will be removed after `apply()`
|
|
992
|
-
* is called.
|
|
993
|
-
*/
|
|
994
|
-
class ColumnsAlteration {
|
|
995
|
-
constructor(
|
|
996
|
-
/**
|
|
997
|
-
* Persistable state.
|
|
998
|
-
*
|
|
999
|
-
* Returned value should be JSON stringifyable.
|
|
1000
|
-
*/
|
|
1001
|
-
state,
|
|
1002
|
-
/**
|
|
1003
|
-
* If false, the state will not be persisted to a persistent storage and
|
|
1004
|
-
* will be removed after applied.
|
|
1005
|
-
*/
|
|
1006
|
-
persistent) {
|
|
1007
|
-
this.state = state;
|
|
1008
|
-
this.persistent = persistent;
|
|
1009
|
-
this.state = state;
|
|
1010
|
-
}
|
|
1011
|
-
toJSON() {
|
|
1012
|
-
return {
|
|
1013
|
-
id: this.id,
|
|
1014
|
-
type: this.type,
|
|
1015
|
-
state: this.state
|
|
1016
|
-
};
|
|
1017
|
-
}
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
class HideColumnColumnsAlteration extends ColumnsAlteration {
|
|
1021
|
-
constructor(state, persistent) {
|
|
1022
|
-
super(state, persistent);
|
|
1023
|
-
this.type = 'hide-column';
|
|
1024
|
-
if (!this._isValidState(state)) {
|
|
1025
|
-
throw Error(`Invalid state: ${JSON.stringify(state)}`);
|
|
1026
|
-
}
|
|
1027
|
-
this.id = `${this.type}--${state.columnProp}`;
|
|
1028
|
-
}
|
|
1029
|
-
apply(columns, datatable) {
|
|
1030
|
-
for (const col of columns) {
|
|
1031
|
-
const prop = getColumnProp(col);
|
|
1032
|
-
if (prop === this.state.columnProp) {
|
|
1033
|
-
col.hidden = this.state.hidden;
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
_isValidState(state) {
|
|
1038
|
-
// NOTE: Checking null or undefined, even though the type doesn't allow,
|
|
1039
|
-
// because the state may have been loaded from an invalid persistant
|
|
1040
|
-
// storage.
|
|
1041
|
-
// TODO: Remove when state validation/migration is implemented to happen
|
|
1042
|
-
// when retrieved from storage.
|
|
1043
|
-
if (!notNullOrUndefined(state.columnProp)) {
|
|
1044
|
-
return false;
|
|
1045
|
-
}
|
|
1046
|
-
// TODO: Remove when state validation/migration is implemented to happen
|
|
1047
|
-
// when retrieved from storage.
|
|
1048
|
-
if (!notNullOrUndefined(state.hidden)) {
|
|
1049
|
-
return false;
|
|
1050
|
-
}
|
|
1051
|
-
return true;
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
class SortColumnsAlteration extends ColumnsAlteration {
|
|
1056
|
-
constructor(state, persistent) {
|
|
1057
|
-
super(state, persistent);
|
|
1058
|
-
this.type = 'sort';
|
|
1059
|
-
if (!this._isValidState(state)) {
|
|
1060
|
-
throw Error(`Invalid state: ${JSON.stringify(state)}`);
|
|
1061
|
-
}
|
|
1062
|
-
this.id = `${this.type}`;
|
|
1063
|
-
}
|
|
1064
|
-
apply(columns, datatable) {
|
|
1065
|
-
if (datatable.sortType === SortType.single) {
|
|
1066
|
-
datatable.sorts = this.state.sorts.length > 0 ? [this.state.sorts[0]] : [];
|
|
1067
|
-
}
|
|
1068
|
-
else {
|
|
1069
|
-
datatable.sorts = this.state.sorts;
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
_isValidState(state) {
|
|
1073
|
-
// NOTE: Checking null or undefined, even though the type doesn't allow,
|
|
1074
|
-
// because the state may have been loaded from an invalid persistant
|
|
1075
|
-
// storage.
|
|
1076
|
-
// TODO: Remove when state validation/migration is implemented to happen
|
|
1077
|
-
// when retrieved from storage.
|
|
1078
|
-
if (!notNullOrUndefined(state.sorts)) {
|
|
1079
|
-
return false;
|
|
1080
|
-
}
|
|
1081
|
-
return true;
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
class WidthColumnsAlteration extends ColumnsAlteration {
|
|
1086
|
-
constructor(state, persistent) {
|
|
1087
|
-
super(state, persistent);
|
|
1088
|
-
this.type = 'width';
|
|
1089
|
-
if (!this._isValidState(state)) {
|
|
1090
|
-
throw Error(`Invalid state: ${JSON.stringify(state)}`);
|
|
1091
|
-
}
|
|
1092
|
-
this.id = `${this.type}--${state.columnProp}`;
|
|
1093
|
-
}
|
|
1094
|
-
apply(columns, datatable) {
|
|
1095
|
-
for (const col of columns) {
|
|
1096
|
-
const prop = getColumnProp(col);
|
|
1097
|
-
if (prop === this.state.columnProp) {
|
|
1098
|
-
col.canAutoResize = this.state.canAutoResize;
|
|
1099
|
-
if (notNullOrUndefined(this.state.width)) {
|
|
1100
|
-
col.width = this.state.width;
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
_isValidState(state) {
|
|
1106
|
-
// NOTE: Checking null or undefined, even though the type doesn't allow,
|
|
1107
|
-
// because the state may have been loaded from an invalid persistant
|
|
1108
|
-
// storage.
|
|
1109
|
-
// TODO: Remove when state validation/migration is implemented to happen
|
|
1110
|
-
// when retrieved from storage.
|
|
1111
|
-
if (!notNullOrUndefined(state.columnProp)) {
|
|
1112
|
-
return false;
|
|
1113
|
-
}
|
|
1114
|
-
// TODO: Remove when state validation/migration is implemented to happen
|
|
1115
|
-
// when retrieved from storage.
|
|
1116
|
-
if (!notNullOrUndefined(state.canAutoResize)) {
|
|
1117
|
-
return false;
|
|
1118
|
-
}
|
|
1119
|
-
return true;
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
class ColumnsAlterationsManagerService {
|
|
1124
|
-
constructor() {
|
|
1125
|
-
this._changesSubject = new Subject();
|
|
1126
|
-
this._alterations = [];
|
|
1127
|
-
this.changes = this._changesSubject.asObservable();
|
|
1128
|
-
}
|
|
1129
|
-
get() {
|
|
1130
|
-
return [...this._alterations];
|
|
1131
|
-
}
|
|
1132
|
-
/**
|
|
1133
|
-
* Adds alterations to be applied to columns.
|
|
1134
|
-
*
|
|
1135
|
-
* If an alteration with the same `id` already exists then the existing
|
|
1136
|
-
* alteration will be removed and the new one added.
|
|
1137
|
-
*
|
|
1138
|
-
* NOTE: When there is a duplicate alteration the old alteration is removed,
|
|
1139
|
-
* instead of updated, to maintain the order alterations are applied.
|
|
1140
|
-
*/
|
|
1141
|
-
add(alterations, options) {
|
|
1142
|
-
// console.log('add', alterations)
|
|
1143
|
-
const removed = this.remove(alterations, { emitEvent: false });
|
|
1144
|
-
this._alterations = [...this._alterations, ...alterations];
|
|
1145
|
-
const changes = [
|
|
1146
|
-
...removed,
|
|
1147
|
-
...alterations.map(a => {
|
|
1148
|
-
const record = {
|
|
1149
|
-
type: 'added',
|
|
1150
|
-
alteration: a
|
|
1151
|
-
};
|
|
1152
|
-
return record;
|
|
1153
|
-
})
|
|
1154
|
-
];
|
|
1155
|
-
if (notNullOrUndefined(options === null || options === void 0 ? void 0 : options.emitEvent) && !(options === null || options === void 0 ? void 0 : options.emitEvent)) {
|
|
1156
|
-
return changes;
|
|
1157
|
-
}
|
|
1158
|
-
this._emitChanges(changes);
|
|
1159
|
-
return changes;
|
|
1160
|
-
}
|
|
1161
|
-
remove(alterations, options) {
|
|
1162
|
-
// console.log('remove', alterations)
|
|
1163
|
-
const removed = [];
|
|
1164
|
-
this._alterations = this._alterations.filter(x => {
|
|
1165
|
-
const found = alterations.findIndex(y => y.id === x.id) !== -1;
|
|
1166
|
-
if (found) {
|
|
1167
|
-
const eventRecord = {
|
|
1168
|
-
type: 'removed',
|
|
1169
|
-
alteration: x
|
|
1170
|
-
};
|
|
1171
|
-
removed.push(eventRecord);
|
|
1172
|
-
}
|
|
1173
|
-
return !found;
|
|
1174
|
-
});
|
|
1175
|
-
// console.log('removed', removed, this._alterations)
|
|
1176
|
-
if (notNullOrUndefined(options === null || options === void 0 ? void 0 : options.emitEvent) && !(options === null || options === void 0 ? void 0 : options.emitEvent)) {
|
|
1177
|
-
return removed;
|
|
1178
|
-
}
|
|
1179
|
-
this._emitChanges(removed);
|
|
1180
|
-
return removed;
|
|
1181
|
-
}
|
|
1182
|
-
apply(columns, datatable) {
|
|
1183
|
-
for (const a of this._alterations) {
|
|
1184
|
-
a.apply(columns, datatable);
|
|
1185
|
-
}
|
|
1186
|
-
this._removeNonPersistant();
|
|
1187
|
-
}
|
|
1188
|
-
// TODO: Make aware of original column order and properties. This is tricky,
|
|
1189
|
-
// because the datatable does not deal with immutable column/row records and
|
|
1190
|
-
// it is hard to know where changes happened. Just serializing the columns
|
|
1191
|
-
// input is not enough, because the columns input is called anytime the user
|
|
1192
|
-
// makes a column change. We can probably come up with a mostly accurate
|
|
1193
|
-
// implementation, such as "reset original columns cache when preferencesKey
|
|
1194
|
-
// changes" or "number of columns change". There are issues with those rules,
|
|
1195
|
-
// but with some testing/experimenting I think there should be a "good enough"
|
|
1196
|
-
// solution.
|
|
1197
|
-
//
|
|
1198
|
-
// TODO: Find a generic way to clear alterations. I would like to add an
|
|
1199
|
-
// `unapply` method to `ColumnsAlteration`, but since the alterations
|
|
1200
|
-
// themselves are not too generic it may be tricky.
|
|
1201
|
-
clear(options) {
|
|
1202
|
-
const changes = [];
|
|
1203
|
-
for (const colAlt of this._alterations) {
|
|
1204
|
-
switch (colAlt.type) {
|
|
1205
|
-
case 'hide-column': {
|
|
1206
|
-
const alteration = new HideColumnColumnsAlteration({ columnProp: colAlt.state.columnProp, hidden: false }, false);
|
|
1207
|
-
changes.push(...this.add([alteration]));
|
|
1208
|
-
break;
|
|
1209
|
-
}
|
|
1210
|
-
case 'order': {
|
|
1211
|
-
changes.push(...this.remove([colAlt]));
|
|
1212
|
-
break;
|
|
1213
|
-
}
|
|
1214
|
-
case 'sort': {
|
|
1215
|
-
const alteration = new SortColumnsAlteration({ sorts: [] }, false);
|
|
1216
|
-
changes.push(...this.add([alteration]));
|
|
1217
|
-
break;
|
|
1218
|
-
}
|
|
1219
|
-
case 'width': {
|
|
1220
|
-
const alteration = new WidthColumnsAlteration({ columnProp: colAlt.state.columnProp, canAutoResize: true }, false);
|
|
1221
|
-
changes.push(...this.add([alteration]));
|
|
1222
|
-
break;
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
}
|
|
1226
|
-
if (notNullOrUndefined(options === null || options === void 0 ? void 0 : options.emitEvent) && !(options === null || options === void 0 ? void 0 : options.emitEvent)) {
|
|
1227
|
-
return changes;
|
|
1228
|
-
}
|
|
1229
|
-
this._emitChanges(changes);
|
|
1230
|
-
return changes;
|
|
1231
|
-
}
|
|
1232
|
-
_removeNonPersistant() {
|
|
1233
|
-
const nonPersistent = this._alterations.filter(x => !x.persistent);
|
|
1234
|
-
this.remove(nonPersistent, { emitEvent: false });
|
|
1235
|
-
}
|
|
1236
|
-
_emitChanges(changes) {
|
|
1237
|
-
if (changes.length === 0) {
|
|
1238
|
-
return;
|
|
1239
|
-
}
|
|
1240
|
-
const event = {
|
|
1241
|
-
changes
|
|
1242
|
-
};
|
|
1243
|
-
this._changesSubject.next(event);
|
|
1244
|
-
}
|
|
1245
|
-
}
|
|
1246
|
-
ColumnsAlterationsManagerService.decorators = [
|
|
1247
|
-
{ type: Injectable }
|
|
1248
|
-
];
|
|
1249
|
-
ColumnsAlterationsManagerService.ctorParameters = () => [];
|
|
1250
|
-
|
|
1251
|
-
/**
|
|
1252
|
-
* Strings used for columns created and managed
|
|
1253
|
-
* by the datatable.
|
|
1254
|
-
*/
|
|
1255
|
-
const INTERNAL_COLUMN_PROPS = [
|
|
1256
|
-
ACTION_MENU_COLUMN_PROP,
|
|
1257
|
-
CHECKBOX_COLUMN_PROP
|
|
1258
|
-
];
|
|
1259
|
-
function isInternalColumn(column) {
|
|
1260
|
-
return INTERNAL_COLUMN_PROPS.findIndex(p => getColumnProp(column) === p) !== -1;
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
class OrderColumnsAlteration extends ColumnsAlteration {
|
|
1264
|
-
constructor(state, persistent) {
|
|
1265
|
-
super(state, persistent);
|
|
1266
|
-
this.type = 'order';
|
|
1267
|
-
if (!this._isValidState(state)) {
|
|
1268
|
-
throw Error(`Invalid state: ${JSON.stringify(state)}`);
|
|
1269
|
-
}
|
|
1270
|
-
this.id = `${this.type}`;
|
|
1271
|
-
}
|
|
1272
|
-
apply(columns, datatable) {
|
|
1273
|
-
if (this.state.columns.length === 0) {
|
|
1274
|
-
return;
|
|
1275
|
-
}
|
|
1276
|
-
const stateColumns = this._stateColumns();
|
|
1277
|
-
// The internal columns are not intended for a user to be able to move them.
|
|
1278
|
-
// Store the internal columns current index, so it can be moved back ofter
|
|
1279
|
-
// sorting. This may not be the best way to do this, but it is easier than
|
|
1280
|
-
// making a sort that avoids them.
|
|
1281
|
-
//
|
|
1282
|
-
// NOTE: If we add an internal column that can be moved then this will need
|
|
1283
|
-
// to be changed.
|
|
1284
|
-
const internalColumns = columns
|
|
1285
|
-
.map((column, index) => ({ column, index }))
|
|
1286
|
-
.filter(x => isInternalColumn(x.column));
|
|
1287
|
-
for (const c of stateColumns) {
|
|
1288
|
-
const currentIndex = columns.findIndex(x => getColumnProp(x) === c.columnProp);
|
|
1289
|
-
if (currentIndex === c.index || currentIndex === -1) {
|
|
1290
|
-
// Skip if already at correct index.
|
|
1291
|
-
// Skip columns not found. It may be a column that was removed from the
|
|
1292
|
-
// table, but we still want to handle the other columns.
|
|
1293
|
-
continue;
|
|
1294
|
-
}
|
|
1295
|
-
arrayMoveMutable(columns, currentIndex, c.index);
|
|
1296
|
-
}
|
|
1297
|
-
for (const c of internalColumns) {
|
|
1298
|
-
const currentIndex = columns.findIndex(col => col === c.column);
|
|
1299
|
-
if (currentIndex !== -1) {
|
|
1300
|
-
arrayMoveMutable(columns, currentIndex, c.index);
|
|
1301
|
-
}
|
|
1302
|
-
else {
|
|
1303
|
-
if (isDevMode()) {
|
|
1304
|
-
console.warn(`Internal column could not be found after sorting. Was it lost during the sorting?`);
|
|
1305
|
-
}
|
|
1306
|
-
}
|
|
1307
|
-
}
|
|
1308
|
-
}
|
|
1309
|
-
_isValidState(state) {
|
|
1310
|
-
// NOTE: Checking null or undefined, even though the type doesn't allow,
|
|
1311
|
-
// because the state may have been loaded from an invalid persistant
|
|
1312
|
-
// storage.
|
|
1313
|
-
// TODO: Remove when state validation/migration is implemented to happen
|
|
1314
|
-
// when retrieved from storage.
|
|
1315
|
-
if (!notNullOrUndefined(state.columns)) {
|
|
1316
|
-
return false;
|
|
1317
|
-
}
|
|
1318
|
-
// NOTE: Didn't iterate each column record, because it is probably better to
|
|
1319
|
-
// just skip to invalid column records. It does prevent being able to
|
|
1320
|
-
// validate the whole state though.
|
|
1321
|
-
return true;
|
|
1322
|
-
}
|
|
1323
|
-
_isColumnOrderRecordValid(columnOrder) {
|
|
1324
|
-
return notNullOrUndefined(columnOrder.columnProp) && notNullOrUndefined(columnOrder.index);
|
|
1325
|
-
}
|
|
1326
|
-
_stateColumns() {
|
|
1327
|
-
return this.state.columns.filter(c => {
|
|
1328
|
-
if (!this._isColumnOrderRecordValid(c)) {
|
|
1329
|
-
if (isDevMode()) {
|
|
1330
|
-
console.warn('Invalid column order record', c);
|
|
1331
|
-
}
|
|
1332
|
-
return false;
|
|
1333
|
-
}
|
|
1334
|
-
return true;
|
|
1335
|
-
}).sort((a, b) => a.index === b.index ? 0 : a.index > b.index ? 1 : -1);
|
|
1336
|
-
}
|
|
1337
|
-
}
|
|
1338
|
-
|
|
1339
|
-
function mapColumnsAlterationsStates(states) {
|
|
1340
|
-
const alterations = [];
|
|
1341
|
-
for (const state of states) {
|
|
1342
|
-
try {
|
|
1343
|
-
switch (state.type) {
|
|
1344
|
-
case 'hide-column':
|
|
1345
|
-
alterations.push(new HideColumnColumnsAlteration(state.state, true));
|
|
1346
|
-
break;
|
|
1347
|
-
case 'width':
|
|
1348
|
-
alterations.push(new WidthColumnsAlteration(state.state, true));
|
|
1349
|
-
break;
|
|
1350
|
-
case 'order':
|
|
1351
|
-
alterations.push(new OrderColumnsAlteration(state.state, true));
|
|
1352
|
-
break;
|
|
1353
|
-
case 'sort':
|
|
1354
|
-
alterations.push(new SortColumnsAlteration(state.state, true));
|
|
1355
|
-
break;
|
|
1356
|
-
default: {
|
|
1357
|
-
if (isDevMode()) {
|
|
1358
|
-
console.warn('Unrecognized ColumnsAlteration state', state);
|
|
1359
|
-
}
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
catch (e) {
|
|
1364
|
-
if (isDevMode()) {
|
|
1365
|
-
console.warn('Unable to map ColumnsAlteration state', state);
|
|
1366
|
-
console.warn(e);
|
|
1367
|
-
}
|
|
1368
|
-
}
|
|
1369
|
-
}
|
|
1370
|
-
return alterations;
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
/**
|
|
1374
|
-
* Intended for internal classes declared by the `TheSeamDatatableModule`.
|
|
1375
|
-
*/
|
|
1376
|
-
const THESEAM_DATATABLE = new InjectionToken('LibDatatable');
|
|
1377
|
-
const _THESEAM_DATATABLE = {
|
|
1378
|
-
provide: THESEAM_DATATABLE,
|
|
1379
|
-
// tslint:disable-next-line:no-use-before-declare
|
|
1380
|
-
useExisting: forwardRef(() => DatatableComponent)
|
|
1381
|
-
};
|
|
1382
|
-
const _THESEAM_DATATABLE_ACCESSOR = {
|
|
1383
|
-
provide: THESEAM_DATATABLE_ACCESSOR,
|
|
1384
|
-
// tslint:disable-next-line:no-use-before-declare
|
|
1385
|
-
useExisting: forwardRef(() => DatatableComponent)
|
|
1386
|
-
};
|
|
1387
|
-
class DatatableComponent {
|
|
1388
|
-
constructor(_preferences, _columnsManager, _columnsAlterationsManager) {
|
|
1389
|
-
this._preferences = _preferences;
|
|
1390
|
-
this._columnsManager = _columnsManager;
|
|
1391
|
-
this._columnsAlterationsManager = _columnsAlterationsManager;
|
|
1392
|
-
this._faChevronDown = faChevronDown;
|
|
1393
|
-
this._faChevronRight = faChevronRight;
|
|
1394
|
-
this._faSpinner = faSpinner;
|
|
1395
|
-
this._ngUnsubscribe = new Subject();
|
|
1396
|
-
this._filtersSubject = new BehaviorSubject([]);
|
|
1397
|
-
this._dataSourceSubject = new BehaviorSubject(undefined);
|
|
1398
|
-
this._resizing = {};
|
|
1399
|
-
this._preferencesKey = new BehaviorSubject(undefined);
|
|
1400
|
-
this._rows = new BehaviorSubject([]);
|
|
1401
|
-
this.columnMode = ColumnMode.force;
|
|
1402
|
-
this.selected = [];
|
|
1403
|
-
this.externalPaging = false;
|
|
1404
|
-
this.externalSorting = false;
|
|
1405
|
-
this.externalFiltering = false;
|
|
1406
|
-
this.count = 0;
|
|
1407
|
-
this.offset = 0;
|
|
1408
|
-
this.loadingIndicator = false;
|
|
1409
|
-
this.reorderable = true;
|
|
1410
|
-
this.swapColumns = false;
|
|
1411
|
-
this._sortType = SortType.single;
|
|
1412
|
-
this._sorts = [];
|
|
1413
|
-
this.cssClasses = {
|
|
1414
|
-
sortAscending: 'datatable-icon-up',
|
|
1415
|
-
sortDescending: 'datatable-icon-down',
|
|
1416
|
-
pagerLeftArrow: 'datatable-icon-left',
|
|
1417
|
-
pagerRightArrow: 'datatable-icon-right',
|
|
1418
|
-
pagerPrevious: 'datatable-icon-prev',
|
|
1419
|
-
pagerNext: 'datatable-icon-skip'
|
|
1420
|
-
};
|
|
1421
|
-
this.messages = {
|
|
1422
|
-
// Message to show when array is presented
|
|
1423
|
-
// but contains no values
|
|
1424
|
-
emptyMessage: 'No records found',
|
|
1425
|
-
// Footer total message
|
|
1426
|
-
totalMessage: 'total',
|
|
1427
|
-
// Footer selected message
|
|
1428
|
-
selectedMessage: 'selected'
|
|
1429
|
-
};
|
|
1430
|
-
this.rowIdentity = ((x) => x);
|
|
1431
|
-
this.groupExpansionDefault = false;
|
|
1432
|
-
this.selectAllRowsOnPage = false;
|
|
1433
|
-
this.summaryRow = false;
|
|
1434
|
-
this.summaryHeight = 30;
|
|
1435
|
-
this.summaryPosition = 'top';
|
|
1436
|
-
this.virtualization = true;
|
|
1437
|
-
this.headerHeight = 50;
|
|
1438
|
-
this.rowHeight = 50;
|
|
1439
|
-
this.footerHeight = 40;
|
|
1440
|
-
this.scrollbarV = true;
|
|
1441
|
-
this.scrollbarH = true;
|
|
1442
|
-
this.scroll = new EventEmitter();
|
|
1443
|
-
this.activate = new EventEmitter();
|
|
1444
|
-
this.select = new EventEmitter();
|
|
1445
|
-
this.sort = new EventEmitter();
|
|
1446
|
-
this.page = new EventEmitter();
|
|
1447
|
-
this.reorder = new EventEmitter();
|
|
1448
|
-
this.resize = new EventEmitter();
|
|
1449
|
-
this.tableContextmenu = new EventEmitter(false);
|
|
1450
|
-
this.treeAction = new EventEmitter();
|
|
1451
|
-
this.actionRefreshRequest = new EventEmitter();
|
|
1452
|
-
this.hiddenColumnsChange = new EventEmitter();
|
|
1453
|
-
this._colDiffersInp = {};
|
|
1454
|
-
this._colDiffersTpl = {};
|
|
1455
|
-
this._rowDetailToggleSubscription = Subscription.EMPTY;
|
|
1456
|
-
this._preferencesKey.pipe(distinctUntilChanged(), switchMap(key => {
|
|
1457
|
-
if (!notNullOrUndefined(key) || key.length === 0) {
|
|
1458
|
-
return of(undefined);
|
|
1459
|
-
}
|
|
1460
|
-
return from(waitOnConditionAsync(() => this._preferences.loaded)).pipe(switchMap(() => this._columnsAlterationsManager.changes.pipe(startWith(undefined), tap(() => {
|
|
1461
|
-
this._preferences.setAlterations(key, this._columnsAlterationsManager.get());
|
|
1462
|
-
}))));
|
|
1463
|
-
}), takeUntil(this._ngUnsubscribe)).subscribe();
|
|
1464
|
-
const applyPrefs = (cols) => this._columnsAlterationsManager.changes.pipe(startWith(undefined), map(() => {
|
|
1465
|
-
this._columnsAlterationsManager.apply(cols, this);
|
|
1466
|
-
return cols;
|
|
1467
|
-
}));
|
|
1468
|
-
this._preferencesKey.pipe(distinctUntilChanged(), switchMap(prefsKey => {
|
|
1469
|
-
if (!notNullOrUndefined(prefsKey)) {
|
|
1470
|
-
return of(undefined);
|
|
1471
|
-
}
|
|
1472
|
-
return this._preferences.preferences(prefsKey).pipe(switchMap((preferences) => __awaiter(this, void 0, void 0, function* () {
|
|
1473
|
-
yield waitOnConditionAsync(() => this._preferences.loaded);
|
|
1474
|
-
return preferences;
|
|
1475
|
-
})), take(1), map(preferences => {
|
|
1476
|
-
let alterations = [];
|
|
1477
|
-
try {
|
|
1478
|
-
alterations = mapColumnsAlterationsStates(preferences.alterations);
|
|
1479
|
-
}
|
|
1480
|
-
catch (e) {
|
|
1481
|
-
if (isDevMode()) {
|
|
1482
|
-
console.warn('Unable to map columns alterations states');
|
|
1483
|
-
console.warn(e);
|
|
1484
|
-
}
|
|
1485
|
-
}
|
|
1486
|
-
this._columnsAlterationsManager.add(alterations);
|
|
1487
|
-
}));
|
|
1488
|
-
}), takeUntil(this._ngUnsubscribe)).subscribe();
|
|
1489
|
-
this.columns$ = this._columnsManager.columns$;
|
|
1490
|
-
this.displayColumns$ = this.columns$.pipe(switchMap(cols => applyPrefs(cols)), map(cols => cols.filter(c => !c.hidden)), tap(v => removeUnusedDiffs(v, this._colDiffersInp, this._colDiffersTpl)));
|
|
1491
|
-
this.filters$ = this._filtersSubject.asObservable();
|
|
1492
|
-
this.filterStates = this._filtersSubject.asObservable().pipe(switchMap(filters => composeDataFilterStates(filters)));
|
|
1493
|
-
this.rows$ = this._dataSourceSubject.pipe(switchMap(dataSource => {
|
|
1494
|
-
// console.log('dataSource', dataSource)
|
|
1495
|
-
let dataStream;
|
|
1496
|
-
if (isDataSource(dataSource)) {
|
|
1497
|
-
// console.log('~datasource')
|
|
1498
|
-
dataStream = dataSource.connect(this);
|
|
1499
|
-
}
|
|
1500
|
-
else if (isObservable(dataSource)) {
|
|
1501
|
-
// console.log('~observable')
|
|
1502
|
-
dataStream = dataSource;
|
|
1503
|
-
}
|
|
1504
|
-
else if (Array.isArray(dataSource)) {
|
|
1505
|
-
// console.log('~array')
|
|
1506
|
-
dataStream = of(dataSource);
|
|
1507
|
-
}
|
|
1508
|
-
else {
|
|
1509
|
-
// console.log('~rows fallback')
|
|
1510
|
-
dataStream = this._rows.asObservable();
|
|
1511
|
-
// .pipe(tap(v => console.log('rows~', v)))
|
|
1512
|
-
}
|
|
1513
|
-
if (!this.externalFiltering) {
|
|
1514
|
-
// console.log('not using externalFiltering')
|
|
1515
|
-
dataStream = dataStream.pipe(switchMap(rows => this._filtersSubject.pipe(
|
|
1516
|
-
// tap(v => console.log('filters', v)),
|
|
1517
|
-
concatMap(filters => of(rows).pipe(composeDataFilters(filters))))));
|
|
1518
|
-
// dataStream = this._filtersSubject.pipe(
|
|
1519
|
-
// tap(v => console.log('filters', v)),
|
|
1520
|
-
// concatMap(filters => dataStream.pipe(composeDataFilters(filters))),
|
|
1521
|
-
// tap(v => console.log('composed filters', v)),
|
|
1522
|
-
// )
|
|
1523
|
-
}
|
|
1524
|
-
return dataStream.pipe(
|
|
1525
|
-
// tap(v => console.log('stream', v)),
|
|
1526
|
-
takeUntil(this._ngUnsubscribe));
|
|
1527
|
-
}));
|
|
1528
|
-
// TODO: Implement viewChange for CollectionViewer.
|
|
1529
|
-
this.viewChange = this.page.pipe(map(p => ({ start: 0, end: p.count })));
|
|
1530
|
-
}
|
|
1531
|
-
get filters() { return this._filtersSubject.value; }
|
|
1532
|
-
get preferencesKey() { return this._preferencesKey.value; }
|
|
1533
|
-
set preferencesKey(value) { this._preferencesKey.next(value || undefined); }
|
|
1534
|
-
set columns(value) {
|
|
1535
|
-
this._columnsManager.setInputColumns(Array.isArray(value) ? value : []);
|
|
1536
|
-
}
|
|
1537
|
-
get rows() { return this._rows.value; }
|
|
1538
|
-
set rows(value) {
|
|
1539
|
-
this._rows.next(value || []);
|
|
1540
|
-
}
|
|
1541
|
-
get selectionType() { return this._columnsManager.getSelectionType(); }
|
|
1542
|
-
set selectionType(value) {
|
|
1543
|
-
this._columnsManager.setSelectionType(notNullOrUndefined(value) ? value : undefined);
|
|
1544
|
-
}
|
|
1545
|
-
get sortType() { return this._sortType; }
|
|
1546
|
-
set sortType(value) {
|
|
1547
|
-
if (notNullOrUndefined(value) && (value === SortType.single || value == SortType.multi)) {
|
|
1548
|
-
this._sortType = value;
|
|
1549
|
-
}
|
|
1550
|
-
else {
|
|
1551
|
-
this._sortType = SortType.single;
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
get sorts() {
|
|
1555
|
-
return this.ngxDatatable ? this.ngxDatatable.sorts : this._sorts;
|
|
1556
|
-
}
|
|
1557
|
-
set sorts(value) {
|
|
1558
|
-
this._sorts = notNullOrUndefined(value) ? coerceArray(value) : [];
|
|
1559
|
-
}
|
|
1560
|
-
set dataSource(value) {
|
|
1561
|
-
if (value instanceof DatatableDataSource) {
|
|
1562
|
-
value.setDatatableAccessor(this);
|
|
1563
|
-
}
|
|
1564
|
-
this._dataSourceSubject.next(value || undefined);
|
|
1565
|
-
}
|
|
1566
|
-
set columnComponents(value) {
|
|
1567
|
-
var _a;
|
|
1568
|
-
this._columnsManager.setTemplateColumns(translateTemplateColumns((_a = value === null || value === void 0 ? void 0 : value.toArray()) !== null && _a !== void 0 ? _a : []));
|
|
1569
|
-
}
|
|
1570
|
-
get rowActionItem() { return this._rowActionItem; }
|
|
1571
|
-
set rowActionItem(value) {
|
|
1572
|
-
this._rowActionItem = value;
|
|
1573
|
-
this._columnsManager.setRowActionItem(notNullOrUndefined(value) ? value : undefined);
|
|
1574
|
-
}
|
|
1575
|
-
get menuBarComponent() { return this._menuBarComponent; }
|
|
1576
|
-
set menuBarComponent(value) {
|
|
1577
|
-
var _a;
|
|
1578
|
-
this._menuBarComponent = value;
|
|
1579
|
-
if (this._menuBarSub) {
|
|
1580
|
-
this._menuBarSub.unsubscribe();
|
|
1581
|
-
}
|
|
1582
|
-
if (value) {
|
|
1583
|
-
this._setMenuBarFilters(value.filters());
|
|
1584
|
-
this._menuBarSub = (_a = this._menuBarComponent) === null || _a === void 0 ? void 0 : _a.filtersChanged.subscribe(v => { this._setMenuBarFilters(value.filters()); });
|
|
1585
|
-
}
|
|
1586
|
-
}
|
|
1587
|
-
get actionMenuCellTpl() { return this._actionMenuCellTpl; }
|
|
1588
|
-
set actionMenuCellTpl(value) {
|
|
1589
|
-
this._actionMenuCellTpl = value;
|
|
1590
|
-
this._columnsManager.setActionMenuCellTpl(notNullOrUndefined(value) ? value : undefined);
|
|
1591
|
-
}
|
|
1592
|
-
get treeToggleTpl() { return this._treeToggleTpl; }
|
|
1593
|
-
set treeToggleTpl(value) {
|
|
1594
|
-
this._treeToggleTpl = value;
|
|
1595
|
-
this._columnsManager.setTreeToggleTpl(notNullOrUndefined(value) ? value : undefined);
|
|
1596
|
-
}
|
|
1597
|
-
get headerTpl() { return this._headerTpl; }
|
|
1598
|
-
set headerTpl(value) {
|
|
1599
|
-
this._headerTpl = value;
|
|
1600
|
-
this._columnsManager.setHeaderTpl(notNullOrUndefined(value) ? value : undefined);
|
|
1601
|
-
}
|
|
1602
|
-
get blankHeaderTpl() { return this._blankHeaderTpl; }
|
|
1603
|
-
set blankHeaderTpl(value) {
|
|
1604
|
-
this._blankHeaderTpl = value;
|
|
1605
|
-
this._columnsManager.setBlankHeaderTpl(notNullOrUndefined(value) ? value : undefined);
|
|
1606
|
-
}
|
|
1607
|
-
get cellTypeSelectorTpl() { return this._cellTypeSelectorTpl; }
|
|
1608
|
-
set cellTypeSelectorTpl(value) {
|
|
1609
|
-
this._cellTypeSelectorTpl = value;
|
|
1610
|
-
this._columnsManager.setCellTypeSelectorTpl(notNullOrUndefined(value) ? value : undefined);
|
|
1611
|
-
}
|
|
1612
|
-
// TODO: Remove this DOM-dependent code when a way to property listen for
|
|
1613
|
-
// dblclick on the header reasize handles.
|
|
1614
|
-
_dblClick(event) {
|
|
1615
|
-
var _a, _b, _c;
|
|
1616
|
-
const isHandle = event.target.classList.contains('resize-handle');
|
|
1617
|
-
if (isHandle) {
|
|
1618
|
-
const isResizeable = (_a = event.target.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains('resizeable');
|
|
1619
|
-
if (isResizeable) {
|
|
1620
|
-
event.stopPropagation();
|
|
1621
|
-
const id = (_c = (_b = event.target.parentElement) === null || _b === void 0 ? void 0 : _b.querySelector('.datatable-column-header-separator')) === null || _c === void 0 ? void 0 : _c.getAttribute('data-column-id');
|
|
1622
|
-
this._columnsManager.columns$.pipe(take(1)).subscribe(columns => {
|
|
1623
|
-
const column = columns.find(c => c.$$id === id);
|
|
1624
|
-
if (column) {
|
|
1625
|
-
const columnProp = getColumnProp(column);
|
|
1626
|
-
if (columnProp) {
|
|
1627
|
-
const alteration = new WidthColumnsAlteration({ columnProp, canAutoResize: true }, false);
|
|
1628
|
-
this._columnsAlterationsManager.add([alteration]);
|
|
1629
|
-
}
|
|
1630
|
-
}
|
|
1631
|
-
});
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
}
|
|
1635
|
-
ngOnInit() {
|
|
1636
|
-
if (this.rowDetail) {
|
|
1637
|
-
this._rowDetailToggleSubscription = this.rowDetail._toggle.subscribe(event => {
|
|
1638
|
-
if (this.ngxRowDetail) {
|
|
1639
|
-
this.ngxRowDetail.toggle.emit(event);
|
|
1640
|
-
}
|
|
1641
|
-
});
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
ngOnDestroy() {
|
|
1645
|
-
this._rowDetailToggleSubscription.unsubscribe();
|
|
1646
|
-
}
|
|
1647
|
-
_setMenuBarFilters(filters) {
|
|
1648
|
-
this._filtersSubject.next(filters || []);
|
|
1649
|
-
}
|
|
1650
|
-
getColumnComponent(propName) {
|
|
1651
|
-
if (!this.columnComponents || this.columnComponents.length === 0) {
|
|
1652
|
-
return null;
|
|
1653
|
-
}
|
|
1654
|
-
const tpl = this.columnComponents.find(t => t.prop === propName);
|
|
1655
|
-
if (tpl) {
|
|
1656
|
-
return tpl;
|
|
1657
|
-
}
|
|
1658
|
-
return null;
|
|
1659
|
-
}
|
|
1660
|
-
_columnData(col) {
|
|
1661
|
-
const comp = this.getColumnComponent(col.prop);
|
|
1662
|
-
return { col, comp };
|
|
1663
|
-
}
|
|
1664
|
-
_getRowExpanded(row) {
|
|
1665
|
-
if (this.ngxDatatable && this.ngxDatatable.bodyComponent) {
|
|
1666
|
-
return this.ngxDatatable.bodyComponent.getRowExpanded(row);
|
|
1667
|
-
}
|
|
1668
|
-
return false;
|
|
1669
|
-
}
|
|
1670
|
-
trackByFnColumn(index, item) {
|
|
1671
|
-
return item.prop;
|
|
1672
|
-
}
|
|
1673
|
-
onDatatableResize(event) {
|
|
1674
|
-
if (this.ngxDatatable && this.ngxDatatableElement && this.ngxDatatableElement.nativeElement) {
|
|
1675
|
-
// TODO: Consider integrating this into the ngx-datatable library to avoid
|
|
1676
|
-
// multiple resize calls when the table resizes itself.
|
|
1677
|
-
this.ngxDatatable.recalculate();
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
_onResize(event) {
|
|
1681
|
-
this.resize.emit(event);
|
|
1682
|
-
if (!notNullOrUndefined(event.column)) {
|
|
1683
|
-
return;
|
|
1684
|
-
}
|
|
1685
|
-
const columnProp = getColumnProp(event.column);
|
|
1686
|
-
if (columnProp) {
|
|
1687
|
-
let addAlteration = false;
|
|
1688
|
-
if (!this._resizing[columnProp]) {
|
|
1689
|
-
this._resizing[columnProp] = true;
|
|
1690
|
-
addAlteration = true;
|
|
1691
|
-
}
|
|
1692
|
-
if (event.isDone) {
|
|
1693
|
-
this._resizing[columnProp] = false;
|
|
1694
|
-
addAlteration = true;
|
|
1695
|
-
}
|
|
1696
|
-
if (addAlteration) {
|
|
1697
|
-
const alteration = new WidthColumnsAlteration({
|
|
1698
|
-
columnProp,
|
|
1699
|
-
width: event.column.width,
|
|
1700
|
-
canAutoResize: false
|
|
1701
|
-
}, true);
|
|
1702
|
-
this._columnsAlterationsManager.add([alteration]);
|
|
1703
|
-
}
|
|
1704
|
-
}
|
|
1705
|
-
}
|
|
1706
|
-
_onReorder(event) {
|
|
1707
|
-
this.reorder.emit(event);
|
|
1708
|
-
const columnProp = getColumnProp(event.column);
|
|
1709
|
-
if (columnProp) {
|
|
1710
|
-
const currentOrderAlteration = this._columnsAlterationsManager.get().find(x => x.type === 'order');
|
|
1711
|
-
const state = {
|
|
1712
|
-
columns: [
|
|
1713
|
-
...((currentOrderAlteration === null || currentOrderAlteration === void 0 ? void 0 : currentOrderAlteration.state.columns) || []),
|
|
1714
|
-
{ columnProp, index: event.newValue }
|
|
1715
|
-
]
|
|
1716
|
-
};
|
|
1717
|
-
const alteration = new OrderColumnsAlteration(state, true);
|
|
1718
|
-
this._columnsAlterationsManager.add([alteration]);
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
_onSort(event) {
|
|
1722
|
-
this.sort.emit(event);
|
|
1723
|
-
const alteration = new SortColumnsAlteration({ sorts: event.sorts }, true);
|
|
1724
|
-
this._columnsAlterationsManager.add([alteration]);
|
|
1725
|
-
}
|
|
1726
|
-
_onTreeAction(event) {
|
|
1727
|
-
const index = event.rowIndex;
|
|
1728
|
-
const row = event.row;
|
|
1729
|
-
if (row.treeStatus === 'collapsed') {
|
|
1730
|
-
row.treeStatus = 'expanded';
|
|
1731
|
-
}
|
|
1732
|
-
else {
|
|
1733
|
-
row.treeStatus = 'collapsed';
|
|
1734
|
-
}
|
|
1735
|
-
this.rows = [...this.rows];
|
|
1736
|
-
}
|
|
1737
|
-
triggerActionRefreshRequest() {
|
|
1738
|
-
this.actionRefreshRequest.emit(undefined);
|
|
1739
|
-
}
|
|
1740
|
-
/**
|
|
1741
|
-
* Returns the page info from the wrapped NgxDatatable instance or defaults.
|
|
1742
|
-
*/
|
|
1743
|
-
get pageInfo() {
|
|
1744
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
1745
|
-
return {
|
|
1746
|
-
offset: (_b = (_a = this.ngxDatatable) === null || _a === void 0 ? void 0 : _a.offset) !== null && _b !== void 0 ? _b : 0,
|
|
1747
|
-
pageSize: (_d = (_c = this.ngxDatatable) === null || _c === void 0 ? void 0 : _c.pageSize) !== null && _d !== void 0 ? _d : 0,
|
|
1748
|
-
limit: (_e = this.ngxDatatable) === null || _e === void 0 ? void 0 : _e.limit,
|
|
1749
|
-
count: (_g = (_f = this.ngxDatatable) === null || _f === void 0 ? void 0 : _f.count) !== null && _g !== void 0 ? _g : 0
|
|
1750
|
-
};
|
|
1751
|
-
}
|
|
1752
|
-
}
|
|
1753
|
-
DatatableComponent.decorators = [
|
|
1754
|
-
{ type: Component, args: [{
|
|
1755
|
-
selector: 'seam-datatable',
|
|
1756
|
-
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 [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)=\"_onSort($event)\"\n (page)=\"page.emit($event)\"\n (reorder)=\"_onReorder($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-footer *ngIf=\"footer && footer.template\"\n [template]=\"$any(footer.template)\">\n </ngx-datatable-footer>\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\" [attr.data-column-id]=\"column.$$id\"></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",
|
|
1757
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1758
|
-
animations: [
|
|
1759
|
-
trigger('slideDown', [
|
|
1760
|
-
transition(':enter', [
|
|
1761
|
-
style({ transform: 'translateY(-20%)', opacity: '0' }),
|
|
1762
|
-
animate('250ms', style({ transform: 'translateY(0)', opacity: '1' })),
|
|
1763
|
-
]),
|
|
1764
|
-
transition(':leave', [
|
|
1765
|
-
style({ transform: 'translateY(0)', opacity: '1' }),
|
|
1766
|
-
animate('250ms', style({ transform: 'translateY(-20%)', opacity: '0' })),
|
|
1767
|
-
])
|
|
1768
|
-
])
|
|
1769
|
-
],
|
|
1770
|
-
providers: [
|
|
1771
|
-
_THESEAM_DATATABLE,
|
|
1772
|
-
DatatableColumnChangesService,
|
|
1773
|
-
_THESEAM_DATATABLE_ACCESSOR,
|
|
1774
|
-
ColumnsManagerService,
|
|
1775
|
-
ColumnsAlterationsManagerService,
|
|
1776
|
-
],
|
|
1777
|
-
styles: [":host{display:flex;flex-grow:1;flex-direction:column}::ng-deep .seam-datatable-action-menu{min-width:auto!important}ngx-datatable{position:absolute!important;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}.datatable-sort-target{cursor:pointer}\n"]
|
|
1778
|
-
},] }
|
|
1779
|
-
];
|
|
1780
|
-
DatatableComponent.ctorParameters = () => [
|
|
1781
|
-
{ type: DatatablePreferencesService },
|
|
1782
|
-
{ type: ColumnsManagerService },
|
|
1783
|
-
{ type: ColumnsAlterationsManagerService }
|
|
1784
|
-
];
|
|
1785
|
-
DatatableComponent.propDecorators = {
|
|
1786
|
-
preferencesKey: [{ type: Input }],
|
|
1787
|
-
targetMarkerTemplate: [{ type: Input }],
|
|
1788
|
-
columns: [{ type: Input }],
|
|
1789
|
-
rows: [{ type: Input }],
|
|
1790
|
-
columnMode: [{ type: Input }],
|
|
1791
|
-
groupRowsBy: [{ type: Input }],
|
|
1792
|
-
groupedRows: [{ type: Input }],
|
|
1793
|
-
selected: [{ type: Input }],
|
|
1794
|
-
externalPaging: [{ type: Input }],
|
|
1795
|
-
externalSorting: [{ type: Input }],
|
|
1796
|
-
externalFiltering: [{ type: Input }],
|
|
1797
|
-
limit: [{ type: Input }],
|
|
1798
|
-
count: [{ type: Input }],
|
|
1799
|
-
offset: [{ type: Input }],
|
|
1800
|
-
loadingIndicator: [{ type: Input }],
|
|
1801
|
-
selectionType: [{ type: Input }],
|
|
1802
|
-
reorderable: [{ type: Input }],
|
|
1803
|
-
swapColumns: [{ type: Input }],
|
|
1804
|
-
sortType: [{ type: Input }],
|
|
1805
|
-
sorts: [{ type: Input }],
|
|
1806
|
-
cssClasses: [{ type: Input }],
|
|
1807
|
-
messages: [{ type: Input }],
|
|
1808
|
-
rowIdentity: [{ type: Input }],
|
|
1809
|
-
rowClass: [{ type: Input }],
|
|
1810
|
-
selectCheck: [{ type: Input }],
|
|
1811
|
-
displayCheck: [{ type: Input }],
|
|
1812
|
-
groupExpansionDefault: [{ type: Input }],
|
|
1813
|
-
trackByProp: [{ type: Input }],
|
|
1814
|
-
selectAllRowsOnPage: [{ type: Input }],
|
|
1815
|
-
treeFromRelation: [{ type: Input }],
|
|
1816
|
-
treeToRelation: [{ type: Input }],
|
|
1817
|
-
summaryRow: [{ type: Input }],
|
|
1818
|
-
summaryHeight: [{ type: Input }],
|
|
1819
|
-
summaryPosition: [{ type: Input }],
|
|
1820
|
-
virtualization: [{ type: Input }],
|
|
1821
|
-
headerHeight: [{ type: Input }],
|
|
1822
|
-
rowHeight: [{ type: Input }],
|
|
1823
|
-
footerHeight: [{ type: Input }],
|
|
1824
|
-
scrollbarV: [{ type: Input }],
|
|
1825
|
-
scrollbarH: [{ type: Input }],
|
|
1826
|
-
dataSource: [{ type: Input }],
|
|
1827
|
-
scroll: [{ type: Output }],
|
|
1828
|
-
activate: [{ type: Output }],
|
|
1829
|
-
select: [{ type: Output }],
|
|
1830
|
-
sort: [{ type: Output }],
|
|
1831
|
-
page: [{ type: Output }],
|
|
1832
|
-
reorder: [{ type: Output }],
|
|
1833
|
-
resize: [{ type: Output }],
|
|
1834
|
-
tableContextmenu: [{ type: Output }],
|
|
1835
|
-
treeAction: [{ type: Output }],
|
|
1836
|
-
actionRefreshRequest: [{ type: Output }],
|
|
1837
|
-
hiddenColumnsChange: [{ type: Output }],
|
|
1838
|
-
columnComponents: [{ type: ContentChildren, args: [DatatableColumnComponent,] }],
|
|
1839
|
-
actionMenu: [{ type: ContentChild, args: [DatatableActionMenuComponent, { static: true },] }],
|
|
1840
|
-
rowActionItem: [{ type: ContentChild, args: [DatatableRowActionItemDirective, { static: true },] }],
|
|
1841
|
-
rowDetail: [{ type: ContentChild, args: [TheSeamDatatableRowDetailDirective, { static: true },] }],
|
|
1842
|
-
footer: [{ type: ContentChild, args: [TheSeamDatatableFooterDirective, { static: true },] }],
|
|
1843
|
-
menuBarComponent: [{ type: ContentChild, args: [DatatableMenuBarComponent,] }],
|
|
1844
|
-
ngxDatatable: [{ type: ViewChild, args: [DatatableComponent$1,] }],
|
|
1845
|
-
ngxDatatableElement: [{ type: ViewChild, args: [DatatableComponent$1, { read: ElementRef },] }],
|
|
1846
|
-
ngxRowDetail: [{ type: ViewChild, args: [DatatableRowDetailDirective,] }],
|
|
1847
|
-
actionMenuCellTpl: [{ type: ViewChild, args: ['actionMenuCellTpl', { static: true },] }],
|
|
1848
|
-
treeToggleTpl: [{ type: ViewChild, args: ['treeToggleTpl', { static: true },] }],
|
|
1849
|
-
headerTpl: [{ type: ViewChild, args: ['headerTpl', { static: true },] }],
|
|
1850
|
-
blankHeaderTpl: [{ type: ViewChild, args: ['blankHeaderTpl', { static: true },] }],
|
|
1851
|
-
cellTypeSelectorTpl: [{ type: ViewChild, args: ['cellTypeSelectorTpl', { static: true },] }],
|
|
1852
|
-
_dblClick: [{ type: HostListener, args: ['dblclick', ['$event'],] }]
|
|
1853
|
-
};
|
|
1854
|
-
__decorate([
|
|
1855
|
-
InputBoolean()
|
|
1856
|
-
], DatatableComponent.prototype, "externalPaging", void 0);
|
|
1857
|
-
__decorate([
|
|
1858
|
-
InputBoolean()
|
|
1859
|
-
], DatatableComponent.prototype, "externalSorting", void 0);
|
|
1860
|
-
__decorate([
|
|
1861
|
-
InputBoolean()
|
|
1862
|
-
], DatatableComponent.prototype, "externalFiltering", void 0);
|
|
1863
|
-
__decorate([
|
|
1864
|
-
InputNumber()
|
|
1865
|
-
], DatatableComponent.prototype, "limit", void 0);
|
|
1866
|
-
__decorate([
|
|
1867
|
-
InputNumber(0)
|
|
1868
|
-
], DatatableComponent.prototype, "count", void 0);
|
|
1869
|
-
__decorate([
|
|
1870
|
-
InputNumber(0)
|
|
1871
|
-
], DatatableComponent.prototype, "offset", void 0);
|
|
1872
|
-
__decorate([
|
|
1873
|
-
InputBoolean()
|
|
1874
|
-
], DatatableComponent.prototype, "loadingIndicator", void 0);
|
|
1875
|
-
__decorate([
|
|
1876
|
-
InputBoolean()
|
|
1877
|
-
], DatatableComponent.prototype, "reorderable", void 0);
|
|
1878
|
-
__decorate([
|
|
1879
|
-
InputBoolean()
|
|
1880
|
-
], DatatableComponent.prototype, "swapColumns", void 0);
|
|
1881
|
-
__decorate([
|
|
1882
|
-
InputBoolean()
|
|
1883
|
-
], DatatableComponent.prototype, "groupExpansionDefault", void 0);
|
|
1884
|
-
__decorate([
|
|
1885
|
-
InputBoolean()
|
|
1886
|
-
], DatatableComponent.prototype, "selectAllRowsOnPage", void 0);
|
|
1887
|
-
__decorate([
|
|
1888
|
-
InputBoolean()
|
|
1889
|
-
], DatatableComponent.prototype, "summaryRow", void 0);
|
|
1890
|
-
__decorate([
|
|
1891
|
-
InputNumber()
|
|
1892
|
-
], DatatableComponent.prototype, "summaryHeight", void 0);
|
|
1893
|
-
__decorate([
|
|
1894
|
-
InputBoolean()
|
|
1895
|
-
], DatatableComponent.prototype, "virtualization", void 0);
|
|
1896
|
-
__decorate([
|
|
1897
|
-
InputNumber()
|
|
1898
|
-
], DatatableComponent.prototype, "headerHeight", void 0);
|
|
1899
|
-
__decorate([
|
|
1900
|
-
InputNumber()
|
|
1901
|
-
], DatatableComponent.prototype, "rowHeight", void 0);
|
|
1902
|
-
__decorate([
|
|
1903
|
-
InputNumber()
|
|
1904
|
-
], DatatableComponent.prototype, "footerHeight", void 0);
|
|
1905
|
-
__decorate([
|
|
1906
|
-
InputBoolean()
|
|
1907
|
-
], DatatableComponent.prototype, "scrollbarV", void 0);
|
|
1908
|
-
__decorate([
|
|
1909
|
-
InputBoolean()
|
|
1910
|
-
], DatatableComponent.prototype, "scrollbarH", void 0);
|
|
1911
|
-
|
|
1912
|
-
class DatatableColumnPreferencesComponent {
|
|
1913
|
-
constructor(_datatable, _columnsAlterationsManager) {
|
|
1914
|
-
var _a;
|
|
1915
|
-
this._datatable = _datatable;
|
|
1916
|
-
this._columnsAlterationsManager = _columnsAlterationsManager;
|
|
1917
|
-
this._filterControl = new FormControl();
|
|
1918
|
-
this._columns$ = combineLatest([
|
|
1919
|
-
(_a = this._datatable.columns$) !== null && _a !== void 0 ? _a : of([]),
|
|
1920
|
-
observeControlValue(this._filterControl)
|
|
1921
|
-
]).pipe(map(([columns, filter]) => {
|
|
1922
|
-
const _filter = (filter || '').trim().toLowerCase();
|
|
1923
|
-
return columns
|
|
1924
|
-
.filter(c => this._canToggleColumn(c, _filter));
|
|
1925
|
-
}));
|
|
1926
|
-
}
|
|
1927
|
-
_canToggleColumn(column, filter, omitInternalColumns = true) {
|
|
1928
|
-
if (omitInternalColumns && isInternalColumn(column)) {
|
|
1929
|
-
return false;
|
|
1930
|
-
}
|
|
1931
|
-
return this._columnMatchesFilter(column, filter);
|
|
1932
|
-
}
|
|
1933
|
-
_columnMatchesFilter(column, filter) {
|
|
1934
|
-
if (filter.length === 0) {
|
|
1935
|
-
return true;
|
|
1936
|
-
}
|
|
1937
|
-
return `${(getColumnProp(column) || '')}`.toLowerCase().indexOf(filter) !== -1;
|
|
1938
|
-
}
|
|
1939
|
-
_onChange(event, col) {
|
|
1940
|
-
const columnProp = getColumnProp(col);
|
|
1941
|
-
const hidden = !event.checked;
|
|
1942
|
-
if (!notNullOrUndefined(columnProp)) {
|
|
1943
|
-
throw Error(`Unable to get column prop.`);
|
|
1944
|
-
}
|
|
1945
|
-
const alteration = new HideColumnColumnsAlteration({
|
|
1946
|
-
columnProp,
|
|
1947
|
-
hidden
|
|
1948
|
-
}, hidden);
|
|
1949
|
-
this._columnsAlterationsManager.add([alteration]);
|
|
1950
|
-
}
|
|
1951
|
-
}
|
|
1952
|
-
DatatableColumnPreferencesComponent.decorators = [
|
|
1953
|
-
{ type: Component, args: [{
|
|
1954
|
-
selector: 'seam-datatable-column-preferences',
|
|
1955
|
-
template: "<h3>Columns</h3>\n\n<seam-form-field [numPaddingErrors]=\"0\" >\n <input seamInput [formControl]=\"_filterControl\" seamInputSize=\"sm\" placeholder=\"Search\" seamAutoFocus>\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",
|
|
1956
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1957
|
-
styles: [":host{display:flex;flex-direction:column}\n"]
|
|
1958
|
-
},] }
|
|
1959
|
-
];
|
|
1960
|
-
DatatableColumnPreferencesComponent.ctorParameters = () => [
|
|
1961
|
-
{ type: DatatableComponent, decorators: [{ type: Inject, args: [THESEAM_DATATABLE,] }] },
|
|
1962
|
-
{ type: ColumnsAlterationsManagerService }
|
|
1963
|
-
];
|
|
1964
|
-
|
|
1965
|
-
class DatatableColumnPreferencesButtonComponent {
|
|
1966
|
-
constructor(_columnsAlterationsManager) {
|
|
1967
|
-
this._columnsAlterationsManager = _columnsAlterationsManager;
|
|
1968
|
-
this.icon = faColumns;
|
|
1969
|
-
/** @ignore */
|
|
1970
|
-
this._actionMenuPositions = [
|
|
1971
|
-
{
|
|
1972
|
-
originX: 'start',
|
|
1973
|
-
originY: 'bottom',
|
|
1974
|
-
overlayX: 'end',
|
|
1975
|
-
overlayY: 'top',
|
|
1976
|
-
},
|
|
1977
|
-
{
|
|
1978
|
-
originX: 'start',
|
|
1979
|
-
originY: 'top',
|
|
1980
|
-
overlayX: 'end',
|
|
1981
|
-
overlayY: 'bottom',
|
|
1982
|
-
},
|
|
1983
|
-
{
|
|
1984
|
-
originX: 'end',
|
|
1985
|
-
originY: 'bottom',
|
|
1986
|
-
overlayX: 'start',
|
|
1987
|
-
overlayY: 'top',
|
|
1988
|
-
},
|
|
1989
|
-
{
|
|
1990
|
-
originX: 'end',
|
|
1991
|
-
originY: 'top',
|
|
1992
|
-
overlayX: 'start',
|
|
1993
|
-
overlayY: 'bottom',
|
|
1994
|
-
},
|
|
1995
|
-
];
|
|
1996
|
-
}
|
|
1997
|
-
ngOnInit() { }
|
|
1998
|
-
_resetColumns(event) {
|
|
1999
|
-
this._columnsAlterationsManager.clear();
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
|
-
DatatableColumnPreferencesButtonComponent.decorators = [
|
|
2003
|
-
{ type: Component, args: [{
|
|
2004
|
-
selector: 'seam-datatable-column-preferences-button',
|
|
2005
|
-
template: "<ng-template #colPrefsTpl>\n <seam-datatable-column-preferences></seam-datatable-column-preferences>\n</ng-template>\n\n<seam-menu #menu\n menuClass=\"list-group py-0 border-0 seam-datatable-action-menu\"\n animationType=\"fade\">\n <button seamMenuItem\n type=\"button\"\n class=\"list-group-item list-group-item-action py-1\"\n [seamPopover]=\"colPrefsTpl\">\n Show/Hide Columns\n </button>\n\n <button seamMenuItem\n type=\"button\"\n class=\"list-group-item list-group-item-action py-1\"\n (click)=\"_resetColumns($event)\">\n Reset Columns\n </button>\n</seam-menu>\n\n<button type=\"button\" class=\"btn btn-lightgray btn-sm\"\n [seamMenuToggle]=\"menu\"\n [positions]=\"_actionMenuPositions || []\"\n style=\"padding-left: 10px; padding-right: 10px;\"\n title=\"Column Preferences\">\n <seam-icon [icon]=\"icon\"></seam-icon>\n <span class=\"sr-only\">Column Preferences</span>\n</button>\n\n",
|
|
2006
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2007
|
-
styles: [""]
|
|
2008
|
-
},] }
|
|
2009
|
-
];
|
|
2010
|
-
DatatableColumnPreferencesButtonComponent.ctorParameters = () => [
|
|
2011
|
-
{ type: ColumnsAlterationsManagerService }
|
|
2012
|
-
];
|
|
2013
|
-
|
|
2014
|
-
class DatatableExportButtonComponent {
|
|
2015
|
-
constructor(_datatable, _toastr, _loading, _valueHelper, _data) {
|
|
2016
|
-
this._datatable = _datatable;
|
|
2017
|
-
this._toastr = _toastr;
|
|
2018
|
-
this._loading = _loading;
|
|
2019
|
-
this._valueHelper = _valueHelper;
|
|
2020
|
-
this._data = _data;
|
|
2021
|
-
this.icon = faFileDownload;
|
|
2022
|
-
if (this._data && this._data.exporters) {
|
|
2023
|
-
this.exporters = this._data.exporters;
|
|
2024
|
-
}
|
|
2025
|
-
}
|
|
2026
|
-
get disabled() {
|
|
2027
|
-
return !(this.exporters && this.exporters.length > 0);
|
|
2028
|
-
}
|
|
2029
|
-
ngOnInit() { }
|
|
2030
|
-
_onExporterClicked(exporter) {
|
|
2031
|
-
if (!exporter.export) {
|
|
2032
|
-
const msg = isDevMode()
|
|
2033
|
-
? `Exporter '${exporter.name}' is missing an export method.`
|
|
2034
|
-
: `${exporter.label} export is not available.`;
|
|
2035
|
-
this._toastr.error(msg, 'Data Export');
|
|
2036
|
-
}
|
|
2037
|
-
const export$ = combineLatest([
|
|
2038
|
-
this._datatable.rows$,
|
|
2039
|
-
this._datatable.columns$.pipe(map(cols => cols.filter(c => !isInternalColumn(c))))
|
|
2040
|
-
]).pipe(take(1), map(([rows, columns]) => {
|
|
2041
|
-
if (exporter.skipDataMapping) {
|
|
2042
|
-
return rows;
|
|
2043
|
-
}
|
|
2044
|
-
return this._mapExportData(columns || [], rows);
|
|
2045
|
-
}), concatMap(data => exporter.export(data)), catchError(err => {
|
|
2046
|
-
console.error(err);
|
|
2047
|
-
return of(false);
|
|
2048
|
-
}), tap(success => {
|
|
2049
|
-
if (success) {
|
|
2050
|
-
this._toastr.success(`${exporter.label} export complete.`, 'Data Export');
|
|
2051
|
-
}
|
|
2052
|
-
else {
|
|
2053
|
-
this._toastr.error(`${exporter.label} export failed.`, 'Data Export');
|
|
2054
|
-
}
|
|
2055
|
-
}));
|
|
2056
|
-
this._loading.while(export$).subscribe();
|
|
2057
|
-
}
|
|
2058
|
-
_mapExportData(columns, rows) {
|
|
2059
|
-
const data = [];
|
|
2060
|
-
for (const row of rows) {
|
|
2061
|
-
const newRow = {};
|
|
2062
|
-
for (const col of columns) {
|
|
2063
|
-
if (!col.exportIgnore) {
|
|
2064
|
-
const colName = col.exportHeader || col.name || col.prop;
|
|
2065
|
-
if (colName) {
|
|
2066
|
-
newRow[colName] = this._rowValue(col, row);
|
|
2067
|
-
}
|
|
2068
|
-
}
|
|
2069
|
-
}
|
|
2070
|
-
data.push(newRow);
|
|
2071
|
-
}
|
|
2072
|
-
return data;
|
|
2073
|
-
}
|
|
2074
|
-
_rowValue(column, row) {
|
|
2075
|
-
if (hasProperty(column, 'exportValue')) {
|
|
2076
|
-
const context = { value: column.prop ? row[column.prop] : undefined, row };
|
|
2077
|
-
return this._valueHelper.evalSync(column.exportValue, context);
|
|
2078
|
-
}
|
|
2079
|
-
const colProp = column.prop;
|
|
2080
|
-
if (colProp) {
|
|
2081
|
-
return row[colProp];
|
|
2082
|
-
}
|
|
2083
|
-
return undefined;
|
|
2084
|
-
}
|
|
2085
|
-
}
|
|
2086
|
-
DatatableExportButtonComponent.decorators = [
|
|
2087
|
-
{ type: Component, args: [{
|
|
2088
|
-
selector: 'seam-datatable-export-button',
|
|
2089
|
-
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",
|
|
2090
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2091
|
-
styles: [":host{display:inline-block}\n"]
|
|
2092
|
-
},] }
|
|
2093
|
-
];
|
|
2094
|
-
DatatableExportButtonComponent.ctorParameters = () => [
|
|
2095
|
-
{ type: DatatableComponent, decorators: [{ type: Inject, args: [THESEAM_DATATABLE,] }] },
|
|
2096
|
-
{ type: ToastrService },
|
|
2097
|
-
{ type: TheSeamLoadingOverlayService },
|
|
2098
|
-
{ type: DynamicValueHelperService },
|
|
2099
|
-
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [THESEAM_DYNAMIC_DATA,] }] }
|
|
2100
|
-
];
|
|
2101
|
-
DatatableExportButtonComponent.propDecorators = {
|
|
2102
|
-
exporters: [{ type: Input }]
|
|
2103
|
-
};
|
|
2104
|
-
|
|
2105
|
-
class DatatableMenuBarColumnCenterComponent {
|
|
2106
|
-
constructor() { }
|
|
2107
|
-
ngOnInit() {
|
|
2108
|
-
}
|
|
2109
|
-
}
|
|
2110
|
-
DatatableMenuBarColumnCenterComponent.decorators = [
|
|
2111
|
-
{ type: Component, args: [{
|
|
2112
|
-
selector: 'seam-datatable-menu-bar-column-center',
|
|
2113
|
-
template: "<ng-content></ng-content>\n",
|
|
2114
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2115
|
-
styles: [":host{display:flex;flex-direction:row;flex:1 1 auto;justify-content:center}\n"]
|
|
2116
|
-
},] }
|
|
2117
|
-
];
|
|
2118
|
-
DatatableMenuBarColumnCenterComponent.ctorParameters = () => [];
|
|
2119
|
-
|
|
2120
|
-
class DatatableMenuBarColumnLeftComponent {
|
|
2121
|
-
constructor() { }
|
|
2122
|
-
ngOnInit() {
|
|
2123
|
-
}
|
|
2124
|
-
}
|
|
2125
|
-
DatatableMenuBarColumnLeftComponent.decorators = [
|
|
2126
|
-
{ type: Component, args: [{
|
|
2127
|
-
selector: 'seam-datatable-menu-bar-column-left',
|
|
2128
|
-
template: "<ng-content></ng-content>\n",
|
|
2129
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2130
|
-
styles: [":host{display:flex;flex-direction:row;flex:1 1 0%;justify-content:flex-start}\n"]
|
|
2131
|
-
},] }
|
|
2132
|
-
];
|
|
2133
|
-
DatatableMenuBarColumnLeftComponent.ctorParameters = () => [];
|
|
2134
|
-
|
|
2135
|
-
class DatatableMenuBarColumnRightComponent {
|
|
2136
|
-
constructor() { }
|
|
2137
|
-
ngOnInit() {
|
|
2138
|
-
}
|
|
2139
|
-
}
|
|
2140
|
-
DatatableMenuBarColumnRightComponent.decorators = [
|
|
2141
|
-
{ type: Component, args: [{
|
|
2142
|
-
selector: 'seam-datatable-menu-bar-column-right',
|
|
2143
|
-
template: "<ng-content></ng-content>\n",
|
|
2144
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2145
|
-
styles: [":host{display:flex;flex-direction:row;flex:1 1 0%;justify-content:flex-end}\n"]
|
|
2146
|
-
},] }
|
|
2147
|
-
];
|
|
2148
|
-
DatatableMenuBarColumnRightComponent.ctorParameters = () => [];
|
|
2149
|
-
|
|
2150
|
-
class DatatableMenuBarRowComponent {
|
|
2151
|
-
constructor() { }
|
|
2152
|
-
ngOnInit() {
|
|
2153
|
-
}
|
|
2154
|
-
}
|
|
2155
|
-
DatatableMenuBarRowComponent.decorators = [
|
|
2156
|
-
{ type: Component, args: [{
|
|
2157
|
-
selector: 'seam-datatable-menu-bar-row',
|
|
2158
|
-
template: "<ng-content></ng-content>\n",
|
|
2159
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2160
|
-
styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap}\n"]
|
|
2161
|
-
},] }
|
|
2162
|
-
];
|
|
2163
|
-
DatatableMenuBarRowComponent.ctorParameters = () => [];
|
|
2164
|
-
|
|
2165
|
-
const THESEAM_MENUBAR_ITEM_DATA = new InjectionToken('MenubarItemData');
|
|
2166
|
-
|
|
2167
|
-
class DatatableMenuBarTextComponent {
|
|
2168
|
-
constructor(_menuBar, _data) {
|
|
2169
|
-
this._menuBar = _menuBar;
|
|
2170
|
-
this._data = _data;
|
|
2171
|
-
if (notNullOrUndefined(this._data)) {
|
|
2172
|
-
if (hasProperty(this._data, 'value')) {
|
|
2173
|
-
this.value = this._data.value;
|
|
2174
|
-
}
|
|
2175
|
-
}
|
|
2176
|
-
}
|
|
2177
|
-
ngOnInit() { }
|
|
2178
|
-
}
|
|
2179
|
-
DatatableMenuBarTextComponent.decorators = [
|
|
2180
|
-
{ type: Component, args: [{
|
|
2181
|
-
selector: 'seam-datatable-menu-bar-text',
|
|
2182
|
-
template: "{{ value }}\n",
|
|
2183
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2184
|
-
styles: [""]
|
|
2185
|
-
},] }
|
|
2186
|
-
];
|
|
2187
|
-
DatatableMenuBarTextComponent.ctorParameters = () => [
|
|
2188
|
-
{ type: DatatableMenuBarComponent },
|
|
2189
|
-
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [THESEAM_MENUBAR_ITEM_DATA,] }] }
|
|
2190
|
-
];
|
|
2191
|
-
DatatableMenuBarTextComponent.propDecorators = {
|
|
2192
|
-
value: [{ type: Input }]
|
|
2193
|
-
};
|
|
2194
|
-
|
|
2195
|
-
class DatatableActionMenuItemDirective {
|
|
2196
|
-
constructor(_modal, _dynamicComponentLoader, _http) {
|
|
2197
|
-
this._modal = _modal;
|
|
2198
|
-
this._dynamicComponentLoader = _dynamicComponentLoader;
|
|
2199
|
-
this._http = _http;
|
|
2200
|
-
this._listGroupItem = true;
|
|
2201
|
-
this._listGroupItemAction = true;
|
|
2202
|
-
this.click = new EventEmitter();
|
|
2203
|
-
}
|
|
2204
|
-
ngOnInit() { }
|
|
2205
|
-
ngOnDestroy() { }
|
|
2206
|
-
}
|
|
2207
|
-
DatatableActionMenuItemDirective.decorators = [
|
|
2208
|
-
{ type: Directive, args: [{
|
|
2209
|
-
selector: '[seamDatatableActionMenuItem]'
|
|
2210
|
-
},] }
|
|
2211
|
-
];
|
|
2212
|
-
DatatableActionMenuItemDirective.ctorParameters = () => [
|
|
2213
|
-
{ type: Modal },
|
|
2214
|
-
{ type: TheSeamDynamicComponentLoader },
|
|
2215
|
-
{ type: HttpClient, decorators: [{ type: Optional }] }
|
|
2216
|
-
];
|
|
2217
|
-
DatatableActionMenuItemDirective.propDecorators = {
|
|
2218
|
-
_listGroupItem: [{ type: HostBinding, args: ['class.list-group-item',] }],
|
|
2219
|
-
_listGroupItemAction: [{ type: HostBinding, args: ['class.list-group-item-action',] }],
|
|
2220
|
-
label: [{ type: Input }],
|
|
2221
|
-
href: [{ type: Input, args: ['attr.href',] }],
|
|
2222
|
-
target: [{ type: Input }],
|
|
2223
|
-
queryParams: [{ type: Input }],
|
|
2224
|
-
fragment: [{ type: Input }],
|
|
2225
|
-
queryParamsHandling: [{ type: Input }],
|
|
2226
|
-
preserveFragment: [{ type: Input }],
|
|
2227
|
-
skipLocationChange: [{ type: Input }],
|
|
2228
|
-
replaceUrl: [{ type: Input }],
|
|
2229
|
-
state: [{ type: Input }],
|
|
2230
|
-
routerLink: [{ type: Input }],
|
|
2231
|
-
confirmDialog: [{ type: Input }],
|
|
2232
|
-
row: [{ type: Input }],
|
|
2233
|
-
click: [{ type: Output }]
|
|
2234
|
-
};
|
|
2235
|
-
|
|
2236
|
-
class DatatableActionMenuToggleDirective {
|
|
2237
|
-
constructor(_elementRef, _viewContainerRef, _overlay) {
|
|
2238
|
-
this._elementRef = _elementRef;
|
|
2239
|
-
this._viewContainerRef = _viewContainerRef;
|
|
2240
|
-
this._overlay = _overlay;
|
|
2241
|
-
this._active = false;
|
|
2242
|
-
this._actionDown = false;
|
|
2243
|
-
}
|
|
2244
|
-
_onKeydown(event) {
|
|
2245
|
-
if (event.keyCode === ESCAPE) {
|
|
2246
|
-
this.disable();
|
|
2247
|
-
}
|
|
2248
|
-
}
|
|
2249
|
-
_onClick(event) {
|
|
2250
|
-
this.toggle();
|
|
2251
|
-
}
|
|
2252
|
-
_mouseDown(event) { this.onInputDown(event); }
|
|
2253
|
-
_pointerDown(event) { this.onInputDown(event); }
|
|
2254
|
-
_mouseUp(event) { this.onInputUp(event); }
|
|
2255
|
-
_pointerUp(event) { this.onInputUp(event); }
|
|
2256
|
-
get active() { return this._active; }
|
|
2257
|
-
toggle() {
|
|
2258
|
-
if (this._active) {
|
|
2259
|
-
this.disable();
|
|
2260
|
-
}
|
|
2261
|
-
else {
|
|
2262
|
-
this.enable();
|
|
2263
|
-
}
|
|
2264
|
-
}
|
|
2265
|
-
enable() {
|
|
2266
|
-
if (this.active) {
|
|
2267
|
-
return;
|
|
2268
|
-
}
|
|
2269
|
-
if (!this.seamDatatableActionMenuToggle) {
|
|
2270
|
-
return;
|
|
2271
|
-
}
|
|
2272
|
-
this._overlayRef = this._overlay.create({
|
|
2273
|
-
hasBackdrop: false,
|
|
2274
|
-
positionStrategy: this.getOverlayPosition(this._elementRef.nativeElement),
|
|
2275
|
-
});
|
|
2276
|
-
this._overlayRef.attach(new TemplatePortal(this.seamDatatableActionMenuToggle, this._viewContainerRef));
|
|
2277
|
-
this._active = true;
|
|
2278
|
-
}
|
|
2279
|
-
disable() {
|
|
2280
|
-
var _a;
|
|
2281
|
-
if (!this.active) {
|
|
2282
|
-
return;
|
|
2283
|
-
}
|
|
2284
|
-
if ((_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.hasAttached()) {
|
|
2285
|
-
this._overlayRef.detach();
|
|
2286
|
-
}
|
|
2287
|
-
this._active = false;
|
|
2288
|
-
}
|
|
2289
|
-
getOverlayPosition(origin) {
|
|
2290
|
-
const positionStrategy = this._overlay.position()
|
|
2291
|
-
.flexibleConnectedTo(origin)
|
|
2292
|
-
.withPositions(this.getPositions())
|
|
2293
|
-
.withFlexibleDimensions(false)
|
|
2294
|
-
.withPush(false);
|
|
2295
|
-
return positionStrategy;
|
|
2296
|
-
}
|
|
2297
|
-
getPositions() {
|
|
2298
|
-
return [
|
|
2299
|
-
{
|
|
2300
|
-
originX: 'start',
|
|
2301
|
-
originY: 'bottom',
|
|
2302
|
-
overlayX: 'end',
|
|
2303
|
-
overlayY: 'top',
|
|
2304
|
-
},
|
|
2305
|
-
{
|
|
2306
|
-
originX: 'start',
|
|
2307
|
-
originY: 'top',
|
|
2308
|
-
overlayX: 'end',
|
|
2309
|
-
overlayY: 'bottom',
|
|
2310
|
-
},
|
|
2311
|
-
{
|
|
2312
|
-
originX: 'end',
|
|
2313
|
-
originY: 'bottom',
|
|
2314
|
-
overlayX: 'start',
|
|
2315
|
-
overlayY: 'top',
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
originX: 'end',
|
|
2319
|
-
originY: 'top',
|
|
2320
|
-
overlayX: 'start',
|
|
2321
|
-
overlayY: 'bottom',
|
|
2322
|
-
},
|
|
2323
|
-
];
|
|
2324
|
-
}
|
|
2325
|
-
onFocusChangeOverlay(event) {
|
|
2326
|
-
if (event === null) {
|
|
2327
|
-
if (!this._actionDown) {
|
|
2328
|
-
// this.disable()
|
|
2329
|
-
}
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
onInputDown(event) {
|
|
2333
|
-
this._actionDown = true;
|
|
2334
|
-
}
|
|
2335
|
-
onInputUp(event) {
|
|
2336
|
-
this._actionDown = false;
|
|
2337
|
-
}
|
|
2338
|
-
}
|
|
2339
|
-
DatatableActionMenuToggleDirective.decorators = [
|
|
2340
|
-
{ type: Directive, args: [{
|
|
2341
|
-
selector: '[seamDatatableActionMenuToggle]',
|
|
2342
|
-
exportAs: 'seamDatatableActionMenuToggle'
|
|
2343
|
-
},] }
|
|
2344
|
-
];
|
|
2345
|
-
DatatableActionMenuToggleDirective.ctorParameters = () => [
|
|
2346
|
-
{ type: ElementRef },
|
|
2347
|
-
{ type: ViewContainerRef },
|
|
2348
|
-
{ type: Overlay }
|
|
2349
|
-
];
|
|
2350
|
-
DatatableActionMenuToggleDirective.propDecorators = {
|
|
2351
|
-
seamDatatableActionMenuToggle: [{ type: Input }],
|
|
2352
|
-
_onKeydown: [{ type: HostListener, args: ['document:keydown', ['$event'],] }],
|
|
2353
|
-
_onClick: [{ type: HostListener, args: ['click', ['$event'],] }],
|
|
2354
|
-
_mouseDown: [{ type: HostListener, args: ['mousedown', ['$event'],] }],
|
|
2355
|
-
_pointerDown: [{ type: HostListener, args: ['pointerdown', ['$event'],] }],
|
|
2356
|
-
_mouseUp: [{ type: HostListener, args: ['mouseup', ['$event'],] }],
|
|
2357
|
-
_pointerUp: [{ type: HostListener, args: ['pointerup', ['$event'],] }]
|
|
2358
|
-
};
|
|
2359
|
-
|
|
2360
|
-
class DatatableGqlDataSource extends DatatableDataSource {
|
|
2361
|
-
connect(collectionViewer) {
|
|
2362
|
-
throw new Error('Method not implemented.');
|
|
2363
|
-
// return combineLatest([
|
|
2364
|
-
// this.sorts$,
|
|
2365
|
-
// this.filterStates$,
|
|
2366
|
-
// this.page$
|
|
2367
|
-
// ]).pipe()
|
|
2368
|
-
}
|
|
2369
|
-
disconnect(collectionViewer) {
|
|
2370
|
-
throw new Error('Method not implemented.');
|
|
2371
|
-
}
|
|
2372
|
-
}
|
|
2373
|
-
|
|
2374
|
-
class TheSeamDatatableScrollbarHelperService {
|
|
2375
|
-
constructor(_ngZone, _scrollbars) {
|
|
2376
|
-
this._ngZone = _ngZone;
|
|
2377
|
-
this._scrollbars = _scrollbars;
|
|
2378
|
-
this.width = 0;
|
|
2379
|
-
/**
|
|
2380
|
-
* Animates programmatic scrolling, such as switching pages.
|
|
2381
|
-
*
|
|
2382
|
-
* NOTE: Animating the scrolling works, but the datatable may need changes
|
|
2383
|
-
* before this is enabled, because it seems a little stuttery when it moves.
|
|
2384
|
-
*/
|
|
2385
|
-
this.animatedScrolling = false;
|
|
2386
|
-
this.animatedScrollingTime = 250;
|
|
2387
|
-
}
|
|
2388
|
-
onInitScroller(scroller) {
|
|
2389
|
-
this._scrollbars.initializeInstance(scroller.parentElement, {
|
|
2390
|
-
callbacks: {
|
|
2391
|
-
onScroll: (e) => {
|
|
2392
|
-
this._ngZone.run(() => {
|
|
2393
|
-
scroller.onScrolled(e);
|
|
2394
|
-
});
|
|
2395
|
-
}
|
|
2396
|
-
}
|
|
2397
|
-
});
|
|
2398
|
-
}
|
|
2399
|
-
onDestroyScroller(scroller) {
|
|
2400
|
-
this._scrollbars.destroyInstance(scroller.parentElement);
|
|
2401
|
-
}
|
|
2402
|
-
setOffset(scroller, offsetY) {
|
|
2403
|
-
this._ngZone.runOutsideAngular(() => {
|
|
2404
|
-
if (this.animatedScrolling) {
|
|
2405
|
-
this._scrollbars.getInstance(scroller.parentElement)
|
|
2406
|
-
.scroll({ y: offsetY }, this.animatedScrollingTime);
|
|
2407
|
-
}
|
|
2408
|
-
else {
|
|
2409
|
-
this._scrollbars.getInstance(scroller.parentElement)
|
|
2410
|
-
.scroll({ y: offsetY });
|
|
2411
|
-
}
|
|
2412
|
-
});
|
|
2413
|
-
}
|
|
2414
|
-
}
|
|
2415
|
-
TheSeamDatatableScrollbarHelperService.decorators = [
|
|
2416
|
-
{ type: Injectable }
|
|
2417
|
-
];
|
|
2418
|
-
TheSeamDatatableScrollbarHelperService.ctorParameters = () => [
|
|
2419
|
-
{ type: NgZone },
|
|
2420
|
-
{ type: OverlayScrollbarsService }
|
|
2421
|
-
];
|
|
2422
|
-
|
|
2423
|
-
function withStoredColumnInfo(columns, preferenceColumns) {
|
|
2424
|
-
const _columns = [];
|
|
2425
|
-
for (const col of columns) {
|
|
2426
|
-
const storedCol = preferenceColumns.find(v => v.prop === col.prop);
|
|
2427
|
-
if (storedCol) {
|
|
2428
|
-
const _col = Object.assign({}, col);
|
|
2429
|
-
if (hasProperty(storedCol, 'width')) {
|
|
2430
|
-
_col.width = Math.max(storedCol.width, 0);
|
|
2431
|
-
}
|
|
2432
|
-
_col.canAutoResize = storedCol.canAutoResize;
|
|
2433
|
-
_columns.push(_col);
|
|
2434
|
-
}
|
|
2435
|
-
else {
|
|
2436
|
-
_columns.push(col);
|
|
2437
|
-
}
|
|
2438
|
-
}
|
|
2439
|
-
return _columns;
|
|
2440
|
-
}
|
|
2441
|
-
|
|
2442
|
-
class TheSeamDatatableModule {
|
|
2443
|
-
}
|
|
2444
|
-
TheSeamDatatableModule.decorators = [
|
|
2445
|
-
{ type: NgModule, args: [{
|
|
2446
|
-
declarations: [
|
|
2447
|
-
DatatableComponent,
|
|
2448
|
-
DatatableCellTplDirective,
|
|
2449
|
-
DatatableColumnComponent,
|
|
2450
|
-
DatatableActionMenuComponent,
|
|
2451
|
-
DatatableActionMenuToggleDirective,
|
|
2452
|
-
DatatableActionMenuItemComponent,
|
|
2453
|
-
DatatableMenuBarComponent,
|
|
2454
|
-
DatatableFilterDirective,
|
|
2455
|
-
DatatableRowActionItemDirective,
|
|
2456
|
-
DatatableExportButtonComponent,
|
|
2457
|
-
TheSeamDatatableRowDetailDirective,
|
|
2458
|
-
DatatableRowDetailTplDirective,
|
|
2459
|
-
TheSeamDatatableFooterDirective,
|
|
2460
|
-
DatatableFooterTplDirective,
|
|
2461
|
-
DatatableColumnPreferencesComponent,
|
|
2462
|
-
DatatableColumnPreferencesButtonComponent,
|
|
2463
|
-
DatatableActionMenuItemDirective,
|
|
2464
|
-
DatatableMenuBarRowComponent,
|
|
2465
|
-
DatatableMenuBarColumnLeftComponent,
|
|
2466
|
-
DatatableMenuBarColumnCenterComponent,
|
|
2467
|
-
DatatableMenuBarColumnRightComponent,
|
|
2468
|
-
DatatableMenuBarTextComponent,
|
|
2469
|
-
],
|
|
2470
|
-
imports: [
|
|
2471
|
-
CommonModule,
|
|
2472
|
-
NgxDatatableModule,
|
|
2473
|
-
FontAwesomeModule,
|
|
2474
|
-
OverlayModule,
|
|
2475
|
-
A11yModule,
|
|
2476
|
-
TheSeamSharedModule,
|
|
2477
|
-
RouterModule,
|
|
2478
|
-
TheSeamMenuModule,
|
|
2479
|
-
TheSeamButtonsModule,
|
|
2480
|
-
TheSeamIconModule,
|
|
2481
|
-
ToastrModule,
|
|
2482
|
-
TheSeamLoadingModule,
|
|
2483
|
-
PortalModule,
|
|
2484
|
-
TheSeamConfirmDialogModule,
|
|
2485
|
-
TheSeamPopoverModule,
|
|
2486
|
-
TheSeamCheckboxModule,
|
|
2487
|
-
TheSeamFormFieldModule,
|
|
2488
|
-
ReactiveFormsModule,
|
|
2489
|
-
TheSeamTableCellTypeModule
|
|
2490
|
-
],
|
|
2491
|
-
exports: [
|
|
2492
|
-
DatatableComponent,
|
|
2493
|
-
DatatableCellTplDirective,
|
|
2494
|
-
DatatableColumnComponent,
|
|
2495
|
-
DatatableActionMenuComponent,
|
|
2496
|
-
DatatableActionMenuItemComponent,
|
|
2497
|
-
DatatableMenuBarComponent,
|
|
2498
|
-
DatatableFilterDirective,
|
|
2499
|
-
DatatableRowActionItemDirective,
|
|
2500
|
-
DatatableExportButtonComponent,
|
|
2501
|
-
TheSeamDatatableRowDetailDirective,
|
|
2502
|
-
DatatableRowDetailTplDirective,
|
|
2503
|
-
TheSeamDatatableFooterDirective,
|
|
2504
|
-
DatatableFooterTplDirective,
|
|
2505
|
-
DatatableColumnPreferencesComponent,
|
|
2506
|
-
DatatableColumnPreferencesButtonComponent,
|
|
2507
|
-
DatatableActionMenuItemDirective,
|
|
2508
|
-
DatatableMenuBarRowComponent,
|
|
2509
|
-
DatatableMenuBarColumnLeftComponent,
|
|
2510
|
-
DatatableMenuBarColumnCenterComponent,
|
|
2511
|
-
DatatableMenuBarColumnRightComponent,
|
|
2512
|
-
DatatableMenuBarTextComponent
|
|
2513
|
-
],
|
|
2514
|
-
providers: [
|
|
2515
|
-
{ provide: ScrollbarHelper, useClass: TheSeamDatatableScrollbarHelperService }
|
|
2516
|
-
],
|
|
2517
|
-
entryComponents: [
|
|
2518
|
-
DatatableColumnPreferencesComponent,
|
|
2519
|
-
DatatableExportButtonComponent,
|
|
2520
|
-
DatatableMenuBarTextComponent
|
|
2521
|
-
]
|
|
2522
|
-
},] }
|
|
2523
|
-
];
|
|
2524
|
-
|
|
2525
|
-
/**
|
|
2526
|
-
* Generated bundle index. Do not edit.
|
|
2527
|
-
*/
|
|
2528
|
-
|
|
2529
|
-
export { CURRENT_DATATABLE_PREFERENCES_VERSION, DatatableActionMenuComponent, DatatableActionMenuItemComponent, DatatableActionMenuItemDirective, DatatableActionMenuToggleDirective, DatatableCellTplDirective, DatatableColumnChangesService, DatatableColumnComponent, DatatableColumnPreferencesButtonComponent, DatatableColumnPreferencesComponent, DatatableComponent, DatatableDataSource, DatatableExportButtonComponent, DatatableFilterDirective, DatatableFooterTplDirective, DatatableGqlDataSource, DatatableMenuBarColumnCenterComponent, DatatableMenuBarColumnLeftComponent, DatatableMenuBarColumnRightComponent, DatatableMenuBarComponent, DatatableMenuBarRowComponent, DatatableMenuBarTextComponent, DatatablePreferencesService, DatatableRowActionItemDirective, DatatableRowDetailTplDirective, EMPTY_DATATABLE_PREFERENCES, THESEAM_DATATABLE, THESEAM_DATATABLE_PREFERENCES_ACCESSOR, THESEAM_MENUBAR_ITEM_DATA, TheSeamDatatableFooterDirective, TheSeamDatatableModule, TheSeamDatatableRowDetailDirective, TheSeamDatatableScrollbarHelperService, _THESEAM_DATATABLE, _THESEAM_DATATABLE_ACCESSOR, _THESEAM_DATA_FILTER_CONTAINER, withStoredColumnInfo, THESEAM_DATATABLE_ACCESSOR as ɵa, ColumnsManagerService as ɵb, ColumnsAlterationsManagerService as ɵc };
|
|
2530
|
-
//# sourceMappingURL=theseam-ui-common-datatable.js.map
|