@theseam/ui-common 0.4.30 → 1.0.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/ai/index.d.ts +2 -0
- package/asset-reader/index.d.ts +67 -5
- package/breadcrumbs/index.d.ts +46 -5
- package/buttons/index.d.ts +220 -5
- package/card/index.d.ts +46 -5
- package/carousel/index.d.ts +100 -5
- package/checkbox/index.d.ts +200 -5
- package/confirm-dialog/index.d.ts +64 -5
- package/core/index.d.ts +139 -5
- package/data-exporter/index.d.ts +60 -5
- package/data-filters/index.d.ts +219 -5
- package/datatable/index.d.ts +1339 -5
- package/datatable-alterations-display/index.d.ts +101 -0
- package/datatable-dynamic/index.d.ts +548 -5
- package/dynamic/index.d.ts +469 -5
- package/dynamic-component-loader/index.d.ts +42 -5
- package/fesm2022/theseam-ui-common-ai.mjs +6 -0
- package/fesm2022/theseam-ui-common-ai.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-asset-reader.mjs +193 -0
- package/fesm2022/theseam-ui-common-asset-reader.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-breadcrumbs.mjs +171 -0
- package/fesm2022/theseam-ui-common-breadcrumbs.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-buttons.mjs +478 -0
- package/fesm2022/theseam-ui-common-buttons.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-card.mjs +128 -0
- package/fesm2022/theseam-ui-common-card.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-carousel.mjs +269 -0
- package/fesm2022/theseam-ui-common-carousel.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-checkbox.mjs +393 -0
- package/fesm2022/theseam-ui-common-checkbox.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-confirm-dialog.mjs +183 -0
- package/fesm2022/theseam-ui-common-confirm-dialog.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-core.mjs +229 -0
- package/fesm2022/theseam-ui-common-core.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-data-exporter.mjs +89 -0
- package/fesm2022/theseam-ui-common-data-exporter.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-data-filters.mjs +516 -0
- package/fesm2022/theseam-ui-common-data-filters.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-datatable-alterations-display.mjs +350 -0
- package/fesm2022/theseam-ui-common-datatable-alterations-display.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-datatable-dynamic.mjs +1096 -0
- package/fesm2022/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-datatable.mjs +4263 -0
- package/fesm2022/theseam-ui-common-datatable.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-dynamic-component-loader.mjs +134 -0
- package/fesm2022/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-dynamic.mjs +699 -0
- package/fesm2022/theseam-ui-common-dynamic.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-footer-bar.mjs +38 -0
- package/fesm2022/theseam-ui-common-footer-bar.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-form-field-error.mjs +494 -0
- package/fesm2022/theseam-ui-common-form-field-error.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-form-field.mjs +675 -0
- package/fesm2022/theseam-ui-common-form-field.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-framework.mjs +4018 -0
- package/fesm2022/theseam-ui-common-framework.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-google-maps.mjs +2191 -0
- package/fesm2022/theseam-ui-common-google-maps.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-graphql.mjs +1745 -0
- package/fesm2022/theseam-ui-common-graphql.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-icon.mjs +646 -0
- package/fesm2022/theseam-ui-common-icon.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-layout.mjs +118 -0
- package/fesm2022/theseam-ui-common-layout.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-loading.mjs +130 -0
- package/fesm2022/theseam-ui-common-loading.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-menu.mjs +1322 -0
- package/fesm2022/theseam-ui-common-menu.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-modal.mjs +1447 -0
- package/fesm2022/theseam-ui-common-modal.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-models.mjs +55 -0
- package/fesm2022/theseam-ui-common-models.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-navigation-reload.mjs +72 -0
- package/fesm2022/theseam-ui-common-navigation-reload.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-popover.mjs +520 -0
- package/fesm2022/theseam-ui-common-popover.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-progress.mjs +97 -0
- package/fesm2022/theseam-ui-common-progress.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-rich-text.mjs +782 -0
- package/fesm2022/theseam-ui-common-rich-text.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-scrollbar.mjs +158 -0
- package/fesm2022/theseam-ui-common-scrollbar.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-services.mjs +281 -0
- package/fesm2022/theseam-ui-common-services.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-shared.mjs +719 -0
- package/fesm2022/theseam-ui-common-shared.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-storage.mjs +146 -0
- package/fesm2022/theseam-ui-common-storage.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-story-helpers.mjs +512 -0
- package/fesm2022/theseam-ui-common-story-helpers.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-tabbed.mjs +292 -0
- package/fesm2022/theseam-ui-common-tabbed.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-table-cell-type.mjs +211 -0
- package/fesm2022/theseam-ui-common-table-cell-type.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-table-cell-types.mjs +1207 -0
- package/fesm2022/theseam-ui-common-table-cell-types.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-table.mjs +341 -0
- package/fesm2022/theseam-ui-common-table.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-tel-input.mjs +843 -0
- package/fesm2022/theseam-ui-common-tel-input.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-testing.mjs +315 -0
- package/fesm2022/theseam-ui-common-testing.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-tiled-select.mjs +584 -0
- package/fesm2022/theseam-ui-common-tiled-select.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-toggle-edit.mjs +517 -0
- package/fesm2022/theseam-ui-common-toggle-edit.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-toggle-group.mjs +269 -0
- package/fesm2022/theseam-ui-common-toggle-group.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-tooltip.mjs +592 -0
- package/fesm2022/theseam-ui-common-tooltip.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-unsaved-changes-dialog.mjs +78 -0
- package/fesm2022/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-utils.mjs +1366 -0
- package/fesm2022/theseam-ui-common-utils.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-validators.mjs +94 -0
- package/fesm2022/theseam-ui-common-validators.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-vertical-list-filter.mjs +85 -0
- package/fesm2022/theseam-ui-common-vertical-list-filter.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-viewers.mjs +566 -0
- package/fesm2022/theseam-ui-common-viewers.mjs.map +1 -0
- package/fesm2022/theseam-ui-common-widget.mjs +1466 -0
- package/fesm2022/theseam-ui-common-widget.mjs.map +1 -0
- package/fesm2022/theseam-ui-common.mjs +7 -0
- package/fesm2022/theseam-ui-common.mjs.map +1 -0
- package/footer-bar/index.d.ts +15 -5
- package/form-field/index.d.ts +255 -5
- package/form-field-error/index.d.ts +102 -5
- package/framework/index.d.ts +1372 -5
- package/framework/nav/nav-item/nav-item.component.scss +3 -1
- package/framework/nav/styles/_themes/light/_variables.scss +6 -4
- package/framework/nav/styles/_themes/primary/_variables.scss +6 -4
- package/framework/side-nav/side-nav-item/side-nav-item.component.scss +3 -1
- package/framework/side-nav/styles/_themes/light/_variables.scss +3 -1
- package/framework/side-nav/styles/_themes/primary/_variables.scss +7 -5
- package/google-maps/index.d.ts +657 -5
- package/graphql/index.d.ts +336 -5
- package/icon/index.d.ts +193 -5
- package/index.d.ts +2 -5
- package/layout/index.d.ts +61 -5
- package/loading/index.d.ts +42 -5
- package/menu/index.d.ts +437 -5
- package/modal/index.d.ts +531 -5
- package/models/index.d.ts +36 -5
- package/navigation-reload/index.d.ts +24 -5
- package/package.json +185 -316
- package/popover/index.d.ts +127 -5
- package/progress/index.d.ts +38 -5
- package/progress/progress-circle/styles/_variables.scss +5 -3
- package/rich-text/index.d.ts +537 -5
- package/scrollbar/index.d.ts +95 -5
- package/services/index.d.ts +129 -5
- package/shared/index.d.ts +229 -5
- package/storage/index.d.ts +35 -5
- package/story-helpers/index.d.ts +184 -5
- package/styles/bootstrap/_bs-variables.scss +5 -3
- package/styles/vendor/ngx-datatable/_ngx-datatable.scss +1 -1
- package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +6 -4
- package/styles/vendor/quill/_quill.scss +2 -2
- package/tabbed/index.d.ts +108 -5
- package/table/index.d.ts +110 -5
- package/table-cell-type/index.d.ts +145 -5
- package/table-cell-types/index.d.ts +537 -5
- package/tel-input/index.d.ts +532 -5
- package/testing/index.d.ts +220 -5
- package/tiled-select/index.d.ts +179 -5
- package/toggle-edit/index.d.ts +160 -5
- package/toggle-group/index.d.ts +61 -5
- package/tooltip/index.d.ts +118 -0
- package/unsaved-changes-dialog/index.d.ts +24 -5
- package/utils/index.d.ts +434 -5
- package/validators/index.d.ts +49 -5
- package/vertical-list-filter/index.d.ts +31 -5
- package/viewers/index.d.ts +173 -5
- package/widget/index.d.ts +535 -5
- package/asset-reader/asset-reader-helper.service.d.ts +0 -10
- package/asset-reader/asset-reader.module.d.ts +0 -7
- package/asset-reader/encrypted-asset-link.directive.d.ts +0 -26
- package/asset-reader/encrypted-asset-reader.d.ts +0 -24
- package/asset-reader/public-api.d.ts +0 -4
- package/breadcrumbs/breadcrumb.d.ts +0 -11
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.d.ts +0 -11
- package/breadcrumbs/breadcrumbs-resolver.d.ts +0 -5
- package/breadcrumbs/breadcrumbs.module.d.ts +0 -9
- package/breadcrumbs/breadcrumbs.service.d.ts +0 -23
- package/breadcrumbs/public-api.d.ts +0 -5
- package/buttons/badge-button/badge-button.component.d.ts +0 -23
- package/buttons/button/button.component.d.ts +0 -35
- package/buttons/buttons.module.d.ts +0 -12
- package/buttons/progress-circle-button/progress-circle-button.component.d.ts +0 -22
- package/buttons/public-api.d.ts +0 -6
- package/buttons/testing/anchor-badge-button.harness.d.ts +0 -16
- package/buttons/testing/anchor-button.harness.d.ts +0 -16
- package/buttons/testing/badge-button.harness.d.ts +0 -15
- package/buttons/testing/base-badge-button.harness.d.ts +0 -15
- package/buttons/testing/base-button.harness.d.ts +0 -19
- package/buttons/testing/button.harness.d.ts +0 -15
- package/buttons/testing/index.d.ts +0 -5
- package/buttons/testing/toggle-button.harness.d.ts +0 -21
- package/buttons/toggle-button/toggle-button.component.d.ts +0 -29
- package/card/card-action/card-action.component.d.ts +0 -12
- package/card/card-body/card-body.component.d.ts +0 -13
- package/card/card-footer/card-footer.component.d.ts +0 -5
- package/card/card-header/card-header.component.d.ts +0 -7
- package/card/card.component.d.ts +0 -6
- package/card/card.module.d.ts +0 -13
- package/card/public-api.d.ts +0 -6
- package/carousel/carousel-slide.directive.d.ts +0 -8
- package/carousel/carousel.component.d.ts +0 -85
- package/carousel/carousel.module.d.ts +0 -11
- package/carousel/public-api.d.ts +0 -3
- package/checkbox/checkbox.component.d.ts +0 -141
- package/checkbox/checkbox.module.d.ts +0 -8
- package/checkbox/public-api.d.ts +0 -3
- package/checkbox/testing/checkbox.harness.d.ts +0 -49
- package/checkbox/testing/index.d.ts +0 -1
- package/confirm-dialog/confirm-click.directive.d.ts +0 -31
- package/confirm-dialog/confirm-dialog.component.d.ts +0 -16
- package/confirm-dialog/confirm-dialog.module.d.ts +0 -12
- package/confirm-dialog/confirm-dialog.service.d.ts +0 -18
- package/confirm-dialog/public-api.d.ts +0 -4
- package/core/common-behaviors/active.d.ts +0 -8
- package/core/common-behaviors/constructor.d.ts +0 -9
- package/core/common-behaviors/disabled.d.ts +0 -17
- package/core/common-behaviors/element-ref.d.ts +0 -4
- package/core/common-behaviors/index.d.ts +0 -9
- package/core/common-behaviors/initialized.d.ts +0 -30
- package/core/common-behaviors/renderer2.d.ts +0 -4
- package/core/common-behaviors/size.d.ts +0 -9
- package/core/common-behaviors/tabindex.d.ts +0 -18
- package/core/common-behaviors/theme.d.ts +0 -10
- package/core/input-decorators/index.d.ts +0 -2
- package/core/input-decorators/input-boolean.decorator.d.ts +0 -12
- package/core/input-decorators/input-number.decorator.d.ts +0 -12
- package/core/public-api.d.ts +0 -2
- package/data-exporter/data-exporter.d.ts +0 -30
- package/data-exporter/data-exporter.module.d.ts +0 -6
- package/data-exporter/exporters/csv-exporter.d.ts +0 -11
- package/data-exporter/exporters/xlsx-exporter.d.ts +0 -11
- package/data-exporter/public-api.d.ts +0 -4
- package/data-filters/data-filter-container.d.ts +0 -8
- package/data-filters/data-filter-def.d.ts +0 -10
- package/data-filters/data-filter.d.ts +0 -53
- package/data-filters/data-filters.module.d.ts +0 -15
- package/data-filters/filters/data-filter-search/data-filter-search.component.d.ts +0 -39
- package/data-filters/filters/data-filter-search/search-filter-options.d.ts +0 -2
- package/data-filters/filters/data-filter-text/data-filter-text.component.d.ts +0 -37
- package/data-filters/filters/data-filter-text/text-filter-options.d.ts +0 -25
- package/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.d.ts +0 -46
- package/data-filters/public-api.d.ts +0 -9
- package/datatable/datatable/datatable.component.d.ts +0 -266
- package/datatable/datatable-action-menu/datatable-action-menu.component.d.ts +0 -23
- package/datatable/datatable-action-menu-item/datatable-action-menu-item.component.d.ts +0 -33
- package/datatable/datatable-column/datatable-column.component.d.ts +0 -44
- package/datatable/datatable-column-filter-menu/datatable-column-filter-menu.component.d.ts +0 -25
- package/datatable/datatable-column-filter-search-date/datatable-column-filter-search-date.component.d.ts +0 -18
- package/datatable/datatable-column-filter-search-numeric/datatable-column-filter-search-numeric.component.d.ts +0 -16
- package/datatable/datatable-column-filter-search-text/datatable-column-filter-search-text.component.d.ts +0 -15
- package/datatable/datatable-column-preferences/datatable-column-preferences.component.d.ts +0 -18
- package/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.d.ts +0 -13
- package/datatable/datatable-export-button/datatable-export-button.component.d.ts +0 -25
- package/datatable/datatable-footer/datatable-footer-tpl.directive.d.ts +0 -8
- package/datatable/datatable-footer/datatable-footer.directive.d.ts +0 -9
- package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +0 -17
- package/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.d.ts +0 -5
- package/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.d.ts +0 -5
- package/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.d.ts +0 -5
- package/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.d.ts +0 -5
- package/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.d.ts +0 -11
- package/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.d.ts +0 -8
- package/datatable/datatable-row-detail/datatable-row-detail.directive.d.ts +0 -40
- package/datatable/datatable.module.d.ts +0 -56
- package/datatable/directives/datatable-action-menu-item.directive.d.ts +0 -36
- package/datatable/directives/datatable-action-menu-toggle.directive.d.ts +0 -30
- package/datatable/directives/datatable-cell-tpl.directive.d.ts +0 -8
- package/datatable/directives/datatable-column-filter-tpl.directive.d.ts +0 -8
- package/datatable/directives/datatable-column-filter.directive.d.ts +0 -10
- package/datatable/directives/datatable-filter.directive.d.ts +0 -9
- package/datatable/directives/datatable-row-action-item.directive.d.ts +0 -8
- package/datatable/models/action-item-column-position.d.ts +0 -13
- package/datatable/models/columns-alteration.d.ts +0 -61
- package/datatable/models/columns-alterations/hide-column.columns-alteration.d.ts +0 -15
- package/datatable/models/columns-alterations/order.columns-alteration.d.ts +0 -20
- package/datatable/models/columns-alterations/sort.columns-alteration.d.ts +0 -14
- package/datatable/models/columns-alterations/width.columns-alteration.d.ts +0 -16
- package/datatable/models/columns-data-filter.d.ts +0 -57
- package/datatable/models/columns-data-filters/models.d.ts +0 -65
- package/datatable/models/columns-data-filters/search-date.columns-data-filter.d.ts +0 -23
- package/datatable/models/columns-data-filters/search-numeric.columns-data-filter.d.ts +0 -22
- package/datatable/models/columns-data-filters/search-text.columns-data-filter.d.ts +0 -21
- package/datatable/models/columns-data-filters/utils.d.ts +0 -15
- package/datatable/models/datatable-accessor.d.ts +0 -21
- package/datatable/models/datatable-config.d.ts +0 -97
- package/datatable/models/datatable-data-source.d.ts +0 -14
- package/datatable/models/datatable-gql-data-source.d.ts +0 -7
- package/datatable/models/internal-column-props.d.ts +0 -7
- package/datatable/models/menubar-item-data.d.ts +0 -3
- package/datatable/models/page-info.d.ts +0 -18
- package/datatable/models/preferences-accessor.d.ts +0 -3
- package/datatable/models/preferences.d.ts +0 -18
- package/datatable/models/sort-event.d.ts +0 -4
- package/datatable/models/sort-item.d.ts +0 -5
- package/datatable/models/table-column.d.ts +0 -35
- package/datatable/public-api.d.ts +0 -54
- package/datatable/services/columns-alterations-manager.service.d.ts +0 -42
- package/datatable/services/columns-filters.service.d.ts +0 -29
- package/datatable/services/columns-manager.service.d.ts +0 -65
- package/datatable/services/datatable-column-changes.service.d.ts +0 -9
- package/datatable/services/datatable-preferences.service.d.ts +0 -22
- package/datatable/services/datatable-scrollbar-helper.service.d.ts +0 -22
- package/datatable/tokens/datatable-accessor.d.ts +0 -3
- package/datatable/tokens/datatable-preferences-accessor.d.ts +0 -3
- package/datatable/tokens/menubar-item-data.d.ts +0 -3
- package/datatable/utils/create-action-menu-column.d.ts +0 -3
- package/datatable/utils/create-checkbox-column.d.ts +0 -3
- package/datatable/utils/get-column-prop.d.ts +0 -5
- package/datatable/utils/map-columns-alterations-states.d.ts +0 -2
- package/datatable/utils/remove-unused-diffs.d.ts +0 -7
- package/datatable/utils/set-column-defaults.d.ts +0 -2
- package/datatable/utils/translate-templates.d.ts +0 -2
- package/datatable/utils/with-stored-column-info.d.ts +0 -3
- package/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.d.ts +0 -33
- package/datatable-dynamic/datatable-dynamic-def.d.ts +0 -71
- package/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.d.ts +0 -18
- package/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.d.ts +0 -63
- package/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.d.ts +0 -16
- package/datatable-dynamic/datatable-dynamic-menu-bar-token.d.ts +0 -3
- package/datatable-dynamic/datatable-dynamic.component.d.ts +0 -89
- package/datatable-dynamic/datatable-dynamic.module.d.ts +0 -22
- package/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.d.ts +0 -75
- package/datatable-dynamic/dynamic-datatable-def.service.d.ts +0 -62
- package/datatable-dynamic/dynamic-datatable-row-actions.service.d.ts +0 -19
- package/datatable-dynamic/models/dynamic-datatable-action-menu-record.d.ts +0 -17
- package/datatable-dynamic/models/dynamic-datatable-filter-menu-item.d.ts +0 -7
- package/datatable-dynamic/models/dynamic-datatable-menu-bar.d.ts +0 -63
- package/datatable-dynamic/models/dynamic-datatable-row-action-context.d.ts +0 -5
- package/datatable-dynamic/models/dynamic-datatable-row-action.d.ts +0 -17
- package/datatable-dynamic/models/index.d.ts +0 -5
- package/datatable-dynamic/public-api.d.ts +0 -13
- package/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.d.ts +0 -2
- package/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.d.ts +0 -2
- package/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.d.ts +0 -2
- package/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.d.ts +0 -2
- package/datatable-dynamic/utils/index.d.ts +0 -4
- package/dynamic/action/api/dynamic-action-api-def.d.ts +0 -35
- package/dynamic/action/api/dynamic-action-api-errors.d.ts +0 -1
- package/dynamic/action/api/dynamic-action-api.d.ts +0 -3
- package/dynamic/action/api/dynamic-action-api.service.d.ts +0 -33
- package/dynamic/action/dynamic-action-helper.service.d.ts +0 -39
- package/dynamic/action/index.d.ts +0 -10
- package/dynamic/action/link/dynamic-action-link-def.d.ts +0 -58
- package/dynamic/action/link/dynamic-action-link.d.ts +0 -3
- package/dynamic/action/link/dynamic-action-link.service.d.ts +0 -17
- package/dynamic/action/modal/dynamic-action-modal-def.d.ts +0 -10
- package/dynamic/action/modal/dynamic-action-modal.d.ts +0 -3
- package/dynamic/action/modal/dynamic-action-modal.service.d.ts +0 -32
- package/dynamic/dynamic-value-helper.service.d.ts +0 -38
- package/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.d.ts +0 -19
- package/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.d.ts +0 -8
- package/dynamic/evaluators/exporters-data-evaluator/index.d.ts +0 -2
- package/dynamic/evaluators/index.d.ts +0 -2
- package/dynamic/evaluators/jexl-evaluator/index.d.ts +0 -2
- package/dynamic/evaluators/jexl-evaluator/jexl-evaluator.d.ts +0 -13
- package/dynamic/evaluators/jexl-evaluator/jexl-value.d.ts +0 -11
- package/dynamic/models/dynamic-action-confirm-def.d.ts +0 -10
- package/dynamic/models/dynamic-action-context.d.ts +0 -2
- package/dynamic/models/dynamic-action-def.d.ts +0 -9
- package/dynamic/models/dynamic-action-ui-anchor-def.d.ts +0 -39
- package/dynamic/models/dynamic-action-ui-button-def.d.ts +0 -13
- package/dynamic/models/dynamic-action-ui-def.d.ts +0 -37
- package/dynamic/models/dynamic-action.d.ts +0 -11
- package/dynamic/models/dynamic-value-base-type.d.ts +0 -4
- package/dynamic/models/dynamic-value-evaluatable-type.d.ts +0 -3
- package/dynamic/models/dynamic-value-evaluator.d.ts +0 -6
- package/dynamic/models/dynamic-value-primitive.d.ts +0 -1
- package/dynamic/models/dynamic-value-type.d.ts +0 -4
- package/dynamic/models/dynamic-value.d.ts +0 -3
- package/dynamic/models/index.d.ts +0 -13
- package/dynamic/public-api.d.ts +0 -6
- package/dynamic/tokens/api-config.d.ts +0 -30
- package/dynamic/tokens/dynamic-action.d.ts +0 -3
- package/dynamic/tokens/dynamic-data.d.ts +0 -2
- package/dynamic/tokens/dynamic-value-evaluator.d.ts +0 -3
- package/dynamic/tokens/index.d.ts +0 -4
- package/dynamic/utils/index.d.ts +0 -1
- package/dynamic/utils/is-action-type.d.ts +0 -2
- package/dynamic-component-loader/dynamic-component-loader.module.d.ts +0 -11
- package/dynamic-component-loader/dynamic-component-loader.service.d.ts +0 -16
- package/dynamic-component-loader/dynamic-component-manifest.d.ts +0 -9
- package/dynamic-component-loader/dynamic-component-tokens.d.ts +0 -4
- package/dynamic-component-loader/public-api.d.ts +0 -4
- package/esm2020/asset-reader/asset-reader-helper.service.mjs +0 -70
- package/esm2020/asset-reader/asset-reader.module.mjs +0 -20
- package/esm2020/asset-reader/encrypted-asset-link.directive.mjs +0 -74
- package/esm2020/asset-reader/encrypted-asset-reader.mjs +0 -20
- package/esm2020/asset-reader/public-api.mjs +0 -5
- package/esm2020/asset-reader/theseam-ui-common-asset-reader.mjs +0 -5
- package/esm2020/breadcrumbs/breadcrumb.mjs +0 -2
- package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +0 -18
- package/esm2020/breadcrumbs/breadcrumbs-resolver.mjs +0 -2
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +0 -28
- package/esm2020/breadcrumbs/breadcrumbs.service.mjs +0 -156
- package/esm2020/breadcrumbs/public-api.mjs +0 -6
- package/esm2020/breadcrumbs/theseam-ui-common-breadcrumbs.mjs +0 -5
- package/esm2020/buttons/badge-button/badge-button.component.mjs +0 -62
- package/esm2020/buttons/button/button.component.mjs +0 -85
- package/esm2020/buttons/buttons.module.mjs +0 -51
- package/esm2020/buttons/progress-circle-button/progress-circle-button.component.mjs +0 -52
- package/esm2020/buttons/public-api.mjs +0 -7
- package/esm2020/buttons/testing/anchor-badge-button.harness.mjs +0 -18
- package/esm2020/buttons/testing/anchor-button.harness.mjs +0 -18
- package/esm2020/buttons/testing/badge-button.harness.mjs +0 -14
- package/esm2020/buttons/testing/base-badge-button.harness.mjs +0 -29
- package/esm2020/buttons/testing/base-button.harness.mjs +0 -41
- package/esm2020/buttons/testing/button.harness.mjs +0 -16
- package/esm2020/buttons/testing/index.mjs +0 -6
- package/esm2020/buttons/testing/toggle-button.harness.mjs +0 -25
- package/esm2020/buttons/theseam-ui-common-buttons.mjs +0 -5
- package/esm2020/buttons/toggle-button/toggle-button.component.mjs +0 -79
- package/esm2020/card/card-action/card-action.component.mjs +0 -31
- package/esm2020/card/card-body/card-body.component.mjs +0 -32
- package/esm2020/card/card-footer/card-footer.component.mjs +0 -11
- package/esm2020/card/card-header/card-header.component.mjs +0 -21
- package/esm2020/card/card.component.mjs +0 -17
- package/esm2020/card/card.module.mjs +0 -48
- package/esm2020/card/public-api.mjs +0 -7
- package/esm2020/card/theseam-ui-common-card.mjs +0 -5
- package/esm2020/carousel/carousel-slide.directive.mjs +0 -16
- package/esm2020/carousel/carousel.component.mjs +0 -212
- package/esm2020/carousel/carousel.module.mjs +0 -38
- package/esm2020/carousel/public-api.mjs +0 -4
- package/esm2020/carousel/theseam-ui-common-carousel.mjs +0 -5
- package/esm2020/checkbox/checkbox.component.mjs +0 -285
- package/esm2020/checkbox/checkbox.module.mjs +0 -21
- package/esm2020/checkbox/public-api.mjs +0 -4
- package/esm2020/checkbox/testing/checkbox.harness.mjs +0 -63
- package/esm2020/checkbox/testing/index.mjs +0 -2
- package/esm2020/checkbox/theseam-ui-common-checkbox.mjs +0 -5
- package/esm2020/confirm-dialog/confirm-click.directive.mjs +0 -71
- package/esm2020/confirm-dialog/confirm-dialog.component.mjs +0 -38
- package/esm2020/confirm-dialog/confirm-dialog.module.mjs +0 -47
- package/esm2020/confirm-dialog/confirm-dialog.service.mjs +0 -41
- package/esm2020/confirm-dialog/public-api.mjs +0 -5
- package/esm2020/confirm-dialog/theseam-ui-common-confirm-dialog.mjs +0 -5
- package/esm2020/core/common-behaviors/active.mjs +0 -14
- package/esm2020/core/common-behaviors/constructor.mjs +0 -9
- package/esm2020/core/common-behaviors/disabled.mjs +0 -21
- package/esm2020/core/common-behaviors/element-ref.mjs +0 -2
- package/esm2020/core/common-behaviors/index.mjs +0 -10
- package/esm2020/core/common-behaviors/initialized.mjs +0 -63
- package/esm2020/core/common-behaviors/renderer2.mjs +0 -2
- package/esm2020/core/common-behaviors/size.mjs +0 -24
- package/esm2020/core/common-behaviors/tabindex.mjs +0 -23
- package/esm2020/core/common-behaviors/theme.mjs +0 -24
- package/esm2020/core/input-decorators/index.mjs +0 -3
- package/esm2020/core/input-decorators/input-boolean.decorator.mjs +0 -26
- package/esm2020/core/input-decorators/input-number.decorator.mjs +0 -26
- package/esm2020/core/public-api.mjs +0 -3
- package/esm2020/core/theseam-ui-common-core.mjs +0 -5
- package/esm2020/data-exporter/data-exporter.mjs +0 -7
- package/esm2020/data-exporter/data-exporter.module.mjs +0 -25
- package/esm2020/data-exporter/exporters/csv-exporter.mjs +0 -35
- package/esm2020/data-exporter/exporters/xlsx-exporter.mjs +0 -33
- package/esm2020/data-exporter/public-api.mjs +0 -5
- package/esm2020/data-exporter/theseam-ui-common-data-exporter.mjs +0 -5
- package/esm2020/data-filters/data-filter-container.mjs +0 -3
- package/esm2020/data-filters/data-filter-def.mjs +0 -3
- package/esm2020/data-filters/data-filter.mjs +0 -25
- package/esm2020/data-filters/data-filters.module.mjs +0 -66
- package/esm2020/data-filters/filters/data-filter-search/data-filter-search.component.mjs +0 -121
- package/esm2020/data-filters/filters/data-filter-search/search-filter-options.mjs +0 -2
- package/esm2020/data-filters/filters/data-filter-text/data-filter-text.component.mjs +0 -148
- package/esm2020/data-filters/filters/data-filter-text/text-filter-options.mjs +0 -2
- package/esm2020/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.mjs +0 -166
- package/esm2020/data-filters/public-api.mjs +0 -10
- package/esm2020/data-filters/theseam-ui-common-data-filters.mjs +0 -5
- package/esm2020/datatable/datatable/datatable.component.mjs +0 -879
- package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +0 -112
- package/esm2020/datatable/datatable-action-menu-item/datatable-action-menu-item.component.mjs +0 -50
- package/esm2020/datatable/datatable-column/datatable-column.component.mjs +0 -107
- package/esm2020/datatable/datatable-column-filter-menu/datatable-column-filter-menu.component.mjs +0 -55
- package/esm2020/datatable/datatable-column-filter-search-date/datatable-column-filter-search-date.component.mjs +0 -54
- package/esm2020/datatable/datatable-column-filter-search-numeric/datatable-column-filter-search-numeric.component.mjs +0 -48
- package/esm2020/datatable/datatable-column-filter-search-text/datatable-column-filter-search-text.component.mjs +0 -44
- package/esm2020/datatable/datatable-column-preferences/datatable-column-preferences.component.mjs +0 -67
- package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +0 -51
- package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +0 -106
- package/esm2020/datatable/datatable-footer/datatable-footer-tpl.directive.mjs +0 -16
- package/esm2020/datatable/datatable-footer/datatable-footer.directive.mjs +0 -24
- package/esm2020/datatable/datatable-menu-bar/datatable-menu-bar.component.mjs +0 -49
- package/esm2020/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.mjs +0 -11
- package/esm2020/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.mjs +0 -11
- package/esm2020/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.mjs +0 -11
- package/esm2020/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.mjs +0 -11
- package/esm2020/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.mjs +0 -30
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.mjs +0 -16
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail.directive.mjs +0 -77
- package/esm2020/datatable/datatable.module.mjs +0 -247
- package/esm2020/datatable/directives/datatable-action-menu-item.directive.mjs +0 -62
- package/esm2020/datatable/directives/datatable-action-menu-toggle.directive.mjs +0 -137
- package/esm2020/datatable/directives/datatable-cell-tpl.directive.mjs +0 -16
- package/esm2020/datatable/directives/datatable-column-filter-tpl.directive.mjs +0 -16
- package/esm2020/datatable/directives/datatable-column-filter.directive.mjs +0 -26
- package/esm2020/datatable/directives/datatable-filter.directive.mjs +0 -27
- package/esm2020/datatable/directives/datatable-row-action-item.directive.mjs +0 -16
- package/esm2020/datatable/models/action-item-column-position.mjs +0 -5
- package/esm2020/datatable/models/columns-alteration.mjs +0 -38
- package/esm2020/datatable/models/columns-alterations/hide-column.columns-alteration.mjs +0 -38
- package/esm2020/datatable/models/columns-alterations/order.columns-alteration.mjs +0 -83
- package/esm2020/datatable/models/columns-alterations/sort.columns-alteration.mjs +0 -33
- package/esm2020/datatable/models/columns-alterations/width.columns-alteration.mjs +0 -41
- package/esm2020/datatable/models/columns-data-filter.mjs +0 -10
- package/esm2020/datatable/models/columns-data-filters/models.mjs +0 -74
- package/esm2020/datatable/models/columns-data-filters/search-date.columns-data-filter.mjs +0 -113
- package/esm2020/datatable/models/columns-data-filters/search-numeric.columns-data-filter.mjs +0 -104
- package/esm2020/datatable/models/columns-data-filters/search-text.columns-data-filter.mjs +0 -86
- package/esm2020/datatable/models/columns-data-filters/utils.mjs +0 -28
- package/esm2020/datatable/models/datatable-accessor.mjs +0 -2
- package/esm2020/datatable/models/datatable-config.mjs +0 -3
- package/esm2020/datatable/models/datatable-data-source.mjs +0 -42
- package/esm2020/datatable/models/datatable-gql-data-source.mjs +0 -15
- package/esm2020/datatable/models/internal-column-props.mjs +0 -15
- package/esm2020/datatable/models/menubar-item-data.mjs +0 -2
- package/esm2020/datatable/models/page-info.mjs +0 -2
- package/esm2020/datatable/models/preferences-accessor.mjs +0 -2
- package/esm2020/datatable/models/preferences.mjs +0 -6
- package/esm2020/datatable/models/sort-event.mjs +0 -2
- package/esm2020/datatable/models/sort-item.mjs +0 -2
- package/esm2020/datatable/models/table-column.mjs +0 -2
- package/esm2020/datatable/public-api.mjs +0 -55
- package/esm2020/datatable/services/columns-alterations-manager.service.mjs +0 -136
- package/esm2020/datatable/services/columns-filters.service.mjs +0 -109
- package/esm2020/datatable/services/columns-manager.service.mjs +0 -286
- package/esm2020/datatable/services/datatable-column-changes.service.mjs +0 -20
- package/esm2020/datatable/services/datatable-preferences.service.mjs +0 -94
- package/esm2020/datatable/services/datatable-scrollbar-helper.service.mjs +0 -50
- package/esm2020/datatable/theseam-ui-common-datatable.mjs +0 -5
- package/esm2020/datatable/tokens/datatable-accessor.mjs +0 -3
- package/esm2020/datatable/tokens/datatable-preferences-accessor.mjs +0 -3
- package/esm2020/datatable/tokens/menubar-item-data.mjs +0 -3
- package/esm2020/datatable/utils/create-action-menu-column.mjs +0 -19
- package/esm2020/datatable/utils/create-checkbox-column.mjs +0 -15
- package/esm2020/datatable/utils/get-column-prop.mjs +0 -9
- package/esm2020/datatable/utils/map-columns-alterations-states.mjs +0 -42
- package/esm2020/datatable/utils/remove-unused-diffs.mjs +0 -9
- package/esm2020/datatable/utils/set-column-defaults.mjs +0 -10
- package/esm2020/datatable/utils/translate-templates.mjs +0 -12
- package/esm2020/datatable/utils/with-stored-column-info.mjs +0 -20
- package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +0 -118
- package/esm2020/datatable-dynamic/datatable-dynamic-def.mjs +0 -2
- package/esm2020/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.mjs +0 -50
- package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.mjs +0 -148
- package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.mjs +0 -2
- package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-token.mjs +0 -3
- package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +0 -75
- package/esm2020/datatable-dynamic/datatable-dynamic.module.mjs +0 -80
- package/esm2020/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.mjs +0 -400
- package/esm2020/datatable-dynamic/dynamic-datatable-def.service.mjs +0 -88
- package/esm2020/datatable-dynamic/dynamic-datatable-row-actions.service.mjs +0 -46
- package/esm2020/datatable-dynamic/models/dynamic-datatable-action-menu-record.mjs +0 -2
- package/esm2020/datatable-dynamic/models/dynamic-datatable-filter-menu-item.mjs +0 -2
- package/esm2020/datatable-dynamic/models/dynamic-datatable-menu-bar.mjs +0 -2
- package/esm2020/datatable-dynamic/models/dynamic-datatable-row-action-context.mjs +0 -2
- package/esm2020/datatable-dynamic/models/dynamic-datatable-row-action.mjs +0 -2
- package/esm2020/datatable-dynamic/models/index.mjs +0 -6
- package/esm2020/datatable-dynamic/public-api.mjs +0 -14
- package/esm2020/datatable-dynamic/theseam-ui-common-datatable-dynamic.mjs +0 -5
- package/esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.mjs +0 -8
- package/esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.mjs +0 -13
- package/esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.mjs +0 -6
- package/esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.mjs +0 -6
- package/esm2020/datatable-dynamic/utils/index.mjs +0 -5
- package/esm2020/dynamic/action/api/dynamic-action-api-def.mjs +0 -2
- package/esm2020/dynamic/action/api/dynamic-action-api-errors.mjs +0 -4
- package/esm2020/dynamic/action/api/dynamic-action-api.mjs +0 -2
- package/esm2020/dynamic/action/api/dynamic-action-api.service.mjs +0 -209
- package/esm2020/dynamic/action/dynamic-action-helper.service.mjs +0 -158
- package/esm2020/dynamic/action/index.mjs +0 -11
- package/esm2020/dynamic/action/link/dynamic-action-link-def.mjs +0 -2
- package/esm2020/dynamic/action/link/dynamic-action-link.mjs +0 -2
- package/esm2020/dynamic/action/link/dynamic-action-link.service.mjs +0 -47
- package/esm2020/dynamic/action/modal/dynamic-action-modal-def.mjs +0 -2
- package/esm2020/dynamic/action/modal/dynamic-action-modal.mjs +0 -2
- package/esm2020/dynamic/action/modal/dynamic-action-modal.service.mjs +0 -85
- package/esm2020/dynamic/dynamic-value-helper.service.mjs +0 -105
- package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.mjs +0 -30
- package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.mjs +0 -2
- package/esm2020/dynamic/evaluators/exporters-data-evaluator/index.mjs +0 -3
- package/esm2020/dynamic/evaluators/index.mjs +0 -3
- package/esm2020/dynamic/evaluators/jexl-evaluator/index.mjs +0 -3
- package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-evaluator.mjs +0 -32
- package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-value.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-action-confirm-def.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-action-context.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-action-def.mjs +0 -3
- package/esm2020/dynamic/models/dynamic-action-ui-anchor-def.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-action-ui-button-def.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-action-ui-def.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-action.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-value-base-type.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-value-evaluatable-type.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-value-evaluator.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-value-primitive.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-value-type.mjs +0 -2
- package/esm2020/dynamic/models/dynamic-value.mjs +0 -2
- package/esm2020/dynamic/models/index.mjs +0 -14
- package/esm2020/dynamic/public-api.mjs +0 -7
- package/esm2020/dynamic/theseam-ui-common-dynamic.mjs +0 -5
- package/esm2020/dynamic/tokens/api-config.mjs +0 -29
- package/esm2020/dynamic/tokens/dynamic-action.mjs +0 -3
- package/esm2020/dynamic/tokens/dynamic-data.mjs +0 -3
- package/esm2020/dynamic/tokens/dynamic-value-evaluator.mjs +0 -3
- package/esm2020/dynamic/tokens/index.mjs +0 -5
- package/esm2020/dynamic/utils/index.mjs +0 -2
- package/esm2020/dynamic/utils/is-action-type.mjs +0 -4
- package/esm2020/dynamic-component-loader/dynamic-component-loader.module.mjs +0 -50
- package/esm2020/dynamic-component-loader/dynamic-component-loader.service.mjs +0 -78
- package/esm2020/dynamic-component-loader/dynamic-component-manifest.mjs +0 -2
- package/esm2020/dynamic-component-loader/dynamic-component-tokens.mjs +0 -5
- package/esm2020/dynamic-component-loader/public-api.mjs +0 -5
- package/esm2020/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.mjs +0 -5
- package/esm2020/footer-bar/footer-bar/footer-bar.component.mjs +0 -11
- package/esm2020/footer-bar/footer-bar.module.mjs +0 -20
- package/esm2020/footer-bar/public-api.mjs +0 -3
- package/esm2020/footer-bar/theseam-ui-common-footer-bar.mjs +0 -5
- package/esm2020/form-field/form-field-error.directive.mjs +0 -30
- package/esm2020/form-field/form-field-help-text.directive.mjs +0 -16
- package/esm2020/form-field/form-field-label-tpl.directive.mjs +0 -16
- package/esm2020/form-field/form-field-required-indicator.component.mjs +0 -61
- package/esm2020/form-field/form-field-tokens.mjs +0 -3
- package/esm2020/form-field/form-field.component.mjs +0 -221
- package/esm2020/form-field/form-field.module.mjs +0 -61
- package/esm2020/form-field/input.directive.mjs +0 -227
- package/esm2020/form-field/public-api.mjs +0 -10
- package/esm2020/form-field/testing/form-field-required-indicator.harness.mjs +0 -8
- package/esm2020/form-field/testing/form-field.harness.mjs +0 -45
- package/esm2020/form-field/testing/index.mjs +0 -3
- package/esm2020/form-field/theseam-ui-common-form-field.mjs +0 -5
- package/esm2020/form-field-error/form-field-error/form-field-error.component.mjs +0 -26
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.mjs +0 -26
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item.directive.mjs +0 -18
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list.component.mjs +0 -384
- package/esm2020/form-field-error/form-field-error.module.mjs +0 -39
- package/esm2020/form-field-error/public-api.mjs +0 -6
- package/esm2020/form-field-error/theseam-ui-common-form-field-error.mjs +0 -5
- package/esm2020/framework/base-layout/base-layout-action.mjs +0 -2
- package/esm2020/framework/base-layout/base-layout-nav.mjs +0 -2
- package/esm2020/framework/base-layout/base-layout-ref.mjs +0 -2
- package/esm2020/framework/base-layout/base-layout-tokens.mjs +0 -3
- package/esm2020/framework/base-layout/base-layout.component.mjs +0 -133
- package/esm2020/framework/base-layout/base-layout.module.mjs +0 -80
- package/esm2020/framework/base-layout/directives/base-layout-content-footer.directive.mjs +0 -16
- package/esm2020/framework/base-layout/directives/base-layout-content-header.directive.mjs +0 -16
- package/esm2020/framework/base-layout/directives/base-layout-content.directive.mjs +0 -16
- package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +0 -66
- package/esm2020/framework/base-layout/directives/base-layout-side-bar-footer.directive.mjs +0 -16
- package/esm2020/framework/base-layout/directives/base-layout-side-bar-header.directive.mjs +0 -16
- package/esm2020/framework/base-layout/directives/base-layout-side-bar.directive.mjs +0 -16
- package/esm2020/framework/base-layout/directives/base-layout-top-bar.directive.mjs +0 -16
- package/esm2020/framework/base-layout/index.mjs +0 -15
- package/esm2020/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.mjs +0 -16
- package/esm2020/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.mjs +0 -23
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.mjs +0 -119
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-item.mjs +0 -2
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.mjs +0 -3
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.mjs +0 -2
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.mjs +0 -177
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.component.mjs +0 -207
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.service.mjs +0 -181
- package/esm2020/framework/dashboard/dashboard-widgets-tokens.mjs +0 -3
- package/esm2020/framework/dashboard/dashboard.component.mjs +0 -24
- package/esm2020/framework/dashboard/dashboard.module.mjs +0 -60
- package/esm2020/framework/dashboard/index.mjs +0 -12
- package/esm2020/framework/dynamic-router/dynamic-route-def.mjs +0 -2
- package/esm2020/framework/dynamic-router/dynamic-router.module.mjs +0 -28
- package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.mjs +0 -256
- package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.mjs +0 -116
- package/esm2020/framework/dynamic-router/index.mjs +0 -6
- package/esm2020/framework/dynamic-router/resolvers/hierarchy-level.resolver.mjs +0 -26
- package/esm2020/framework/nav/horizontal-nav/horizontal-nav.component.mjs +0 -55
- package/esm2020/framework/nav/index.mjs +0 -6
- package/esm2020/framework/nav/nav-item/nav-item.component.mjs +0 -227
- package/esm2020/framework/nav/nav-utils.mjs +0 -107
- package/esm2020/framework/nav/nav.models.mjs +0 -2
- package/esm2020/framework/nav/nav.module.mjs +0 -67
- package/esm2020/framework/nav/nav.service.mjs +0 -204
- package/esm2020/framework/public-api.mjs +0 -8
- package/esm2020/framework/schema-form/index.mjs +0 -5
- package/esm2020/framework/schema-form/schema-form-framework.component.mjs +0 -21
- package/esm2020/framework/schema-form/schema-form-framework.mjs +0 -85
- package/esm2020/framework/schema-form/schema-form-widget.mjs +0 -2
- package/esm2020/framework/schema-form/schema-form.module.mjs +0 -45
- package/esm2020/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.mjs +0 -53
- package/esm2020/framework/schema-form-controls/schema-form-divider/schema-form-divider.component.mjs +0 -20
- package/esm2020/framework/schema-form-controls/schema-form-input/schema-form-input.component.mjs +0 -43
- package/esm2020/framework/schema-form-controls/schema-form-number/schema-form-number.component.mjs +0 -49
- package/esm2020/framework/schema-form-controls/schema-form-select/schema-form-select.component.mjs +0 -48
- package/esm2020/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.mjs +0 -54
- package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +0 -156
- package/esm2020/framework/schema-form-controls/schema-form-tel/schema-form-tel.component.mjs +0 -48
- package/esm2020/framework/schema-form-controls/schema-form-tiled-select/schema-form-tiled-select.component.mjs +0 -57
- package/esm2020/framework/side-nav/index.mjs +0 -8
- package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +0 -186
- package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +0 -40
- package/esm2020/framework/side-nav/side-nav-tokens.mjs +0 -7
- package/esm2020/framework/side-nav/side-nav-utils.mjs +0 -90
- package/esm2020/framework/side-nav/side-nav.component.mjs +0 -408
- package/esm2020/framework/side-nav/side-nav.models.mjs +0 -2
- package/esm2020/framework/side-nav/side-nav.module.mjs +0 -32
- package/esm2020/framework/side-nav/side-nav.service.mjs +0 -178
- package/esm2020/framework/theseam-ui-common-framework.mjs +0 -5
- package/esm2020/framework/top-bar/index.mjs +0 -10
- package/esm2020/framework/top-bar/top-bar-compact-menu-btn-detail.directive.mjs +0 -16
- package/esm2020/framework/top-bar/top-bar-item.directive.mjs +0 -22
- package/esm2020/framework/top-bar/top-bar-menu-btn-detail.directive.mjs +0 -16
- package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +0 -56
- package/esm2020/framework/top-bar/top-bar-menu.directive.mjs +0 -19
- package/esm2020/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.mjs +0 -16
- package/esm2020/framework/top-bar/top-bar-title/top-bar-title.component.mjs +0 -17
- package/esm2020/framework/top-bar/top-bar.component.mjs +0 -141
- package/esm2020/framework/top-bar/top-bar.module.mjs +0 -83
- package/esm2020/google-maps/google-maps/google-maps.component.mjs +0 -333
- package/esm2020/google-maps/google-maps-api-loader/google-maps-api-loader.mjs +0 -3
- package/esm2020/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.mjs +0 -104
- package/esm2020/google-maps/google-maps-api-loader/noop-google-maps-api-loader.mjs +0 -25
- package/esm2020/google-maps/google-maps-contextmenu.mjs +0 -114
- package/esm2020/google-maps/google-maps-controls.service.mjs +0 -67
- package/esm2020/google-maps/google-maps-feature-helpers.mjs +0 -223
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +0 -209
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.mjs +0 -165
- package/esm2020/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.mjs +0 -58
- package/esm2020/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.mjs +0 -115
- package/esm2020/google-maps/google-maps.module.mjs +0 -72
- package/esm2020/google-maps/google-maps.service.mjs +0 -429
- package/esm2020/google-maps/map-control.component.mjs +0 -66
- package/esm2020/google-maps/map-controls-service.mjs +0 -4
- package/esm2020/google-maps/map-file-drop/map-file-drop.component.mjs +0 -128
- package/esm2020/google-maps/map-value-manager.service.mjs +0 -48
- package/esm2020/google-maps/public-api.mjs +0 -18
- package/esm2020/google-maps/theseam-ui-common-google-maps.mjs +0 -5
- package/esm2020/graphql/datatable/create-page-info-observable.mjs +0 -38
- package/esm2020/graphql/datatable/datatable-graphql-query-ref.mjs +0 -212
- package/esm2020/graphql/datatable/datatable-graphql.service.mjs +0 -50
- package/esm2020/graphql/datatable/datatable-helpers.mjs +0 -175
- package/esm2020/graphql/datatable/get-page-info.mjs +0 -10
- package/esm2020/graphql/datatable/index.mjs +0 -10
- package/esm2020/graphql/datatable/map-filter-states.mjs +0 -63
- package/esm2020/graphql/datatable/map-page-info.mjs +0 -14
- package/esm2020/graphql/datatable/map-search-date-columns-data-filter-state-to-gql.mjs +0 -139
- package/esm2020/graphql/datatable/map-search-numeric-columns-data-filter-state-to-gql.mjs +0 -75
- package/esm2020/graphql/datatable/map-search-text-columns-data-filter-state-to-gql.mjs +0 -44
- package/esm2020/graphql/datatable/mapper-context.mjs +0 -2
- package/esm2020/graphql/models/direction.mjs +0 -8
- package/esm2020/graphql/models/gql-datatable-accessor.mjs +0 -2
- package/esm2020/graphql/models/hint-definition.mjs +0 -2
- package/esm2020/graphql/models/hint-transform-operation.mjs +0 -2
- package/esm2020/graphql/models/hint-transformer.mjs +0 -2
- package/esm2020/graphql/models/hints-kind.mjs +0 -9
- package/esm2020/graphql/models/hints-token.mjs +0 -2
- package/esm2020/graphql/models/index.mjs +0 -10
- package/esm2020/graphql/models/query-processing-config.mjs +0 -2
- package/esm2020/graphql/models/variable.mjs +0 -7
- package/esm2020/graphql/public-api.mjs +0 -3
- package/esm2020/graphql/theseam-ui-common-graphql.mjs +0 -5
- package/esm2020/graphql/utils/contains-variable.mjs +0 -14
- package/esm2020/graphql/utils/gql-var.mjs +0 -4
- package/esm2020/graphql/utils/hints-tokens-containing-hint.mjs +0 -4
- package/esm2020/graphql/utils/index.mjs +0 -11
- package/esm2020/graphql/utils/inline-variables.mjs +0 -51
- package/esm2020/graphql/utils/parse-comments.mjs +0 -24
- package/esm2020/graphql/utils/parse-hints.mjs +0 -108
- package/esm2020/graphql/utils/remove-variable-definition.mjs +0 -14
- package/esm2020/graphql/utils/remove-variable-definitions-not-defined.mjs +0 -19
- package/esm2020/graphql/utils/remove-variable.mjs +0 -22
- package/esm2020/graphql/utils/to-gql.mjs +0 -40
- package/esm2020/icon/icon/icon.component.mjs +0 -139
- package/esm2020/icon/icon-btn/icon-btn.component.mjs +0 -183
- package/esm2020/icon/icon-notification/icon-notification.component.mjs +0 -124
- package/esm2020/icon/icon.mjs +0 -2
- package/esm2020/icon/icon.module.mjs +0 -38
- package/esm2020/icon/public-api.mjs +0 -7
- package/esm2020/icon/theseam-ui-common-icon.mjs +0 -5
- package/esm2020/icon/utils/file-extension-icon.mjs +0 -33
- package/esm2020/icon/utils/get-known-icon.mjs +0 -82
- package/esm2020/icon/utils/index.mjs +0 -3
- package/esm2020/layout/breakpoint-aliases.mjs +0 -11
- package/esm2020/layout/layout.module.mjs +0 -25
- package/esm2020/layout/layout.service.mjs +0 -32
- package/esm2020/layout/observe-media-query.mjs +0 -41
- package/esm2020/layout/public-api.mjs +0 -5
- package/esm2020/layout/theseam-ui-common-layout.mjs +0 -5
- package/esm2020/loading/loading/loading.component.mjs +0 -26
- package/esm2020/loading/loading-overlay.service.mjs +0 -58
- package/esm2020/loading/loading-themes.mjs +0 -18
- package/esm2020/loading/loading.models.mjs +0 -2
- package/esm2020/loading/loading.module.mjs +0 -41
- package/esm2020/loading/public-api.mjs +0 -6
- package/esm2020/loading/theseam-ui-common-loading.mjs +0 -5
- package/esm2020/menu/menu-animations.mjs +0 -58
- package/esm2020/menu/menu-divider.component.mjs +0 -13
- package/esm2020/menu/menu-footer/menu-footer.component.mjs +0 -32
- package/esm2020/menu/menu-footer-action/menu-footer-action.component.mjs +0 -54
- package/esm2020/menu/menu-header/menu-header.component.mjs +0 -32
- package/esm2020/menu/menu-item.component.mjs +0 -158
- package/esm2020/menu/menu-panel-token.mjs +0 -6
- package/esm2020/menu/menu-panel.mjs +0 -2
- package/esm2020/menu/menu-toggle.directive.mjs +0 -427
- package/esm2020/menu/menu.component.mjs +0 -200
- package/esm2020/menu/menu.module.mjs +0 -67
- package/esm2020/menu/public-api.mjs +0 -16
- package/esm2020/menu/testing/menu-footer.harness.mjs +0 -28
- package/esm2020/menu/testing/menu-header.harness.mjs +0 -23
- package/esm2020/menu/testing/menu-item.harness.mjs +0 -59
- package/esm2020/menu/testing/menu.harness.mjs +0 -163
- package/esm2020/menu/testing/utils.mjs +0 -13
- package/esm2020/menu/theseam-ui-common-menu.mjs +0 -5
- package/esm2020/modal/directives/modal-close.directive.mjs +0 -74
- package/esm2020/modal/directives/modal-footer-tpl.directive.mjs +0 -16
- package/esm2020/modal/directives/modal-header-icon-tpl.directive.mjs +0 -16
- package/esm2020/modal/directives/modal-header-title-tpl.directive.mjs +0 -16
- package/esm2020/modal/directives/modal-title.directive.mjs +0 -20
- package/esm2020/modal/directives/modal.directive.mjs +0 -25
- package/esm2020/modal/modal/modal.component.mjs +0 -162
- package/esm2020/modal/modal-body/modal-body.component.mjs +0 -21
- package/esm2020/modal/modal-config.mjs +0 -47
- package/esm2020/modal/modal-container/modal-container.component.mjs +0 -245
- package/esm2020/modal/modal-footer/modal-footer.component.mjs +0 -17
- package/esm2020/modal/modal-header/modal-header.component.mjs +0 -28
- package/esm2020/modal/modal-injectors.mjs +0 -23
- package/esm2020/modal/modal-ref.mjs +0 -171
- package/esm2020/modal/modal-utils.mjs +0 -14
- package/esm2020/modal/modal.models.mjs +0 -3
- package/esm2020/modal/modal.module.mjs +0 -127
- package/esm2020/modal/modal.service.mjs +0 -352
- package/esm2020/modal/public-api.mjs +0 -20
- package/esm2020/modal/route-modal/route-modal.component.mjs +0 -62
- package/esm2020/modal/theseam-ui-common-modal.mjs +0 -5
- package/esm2020/models/component-type.mjs +0 -4
- package/esm2020/models/http-status-codes.mjs +0 -20
- package/esm2020/models/public-api.mjs +0 -8
- package/esm2020/models/size-prefixes.mjs +0 -2
- package/esm2020/models/size-types.mjs +0 -2
- package/esm2020/models/theme-names.mjs +0 -26
- package/esm2020/models/theme-prefixes.mjs +0 -2
- package/esm2020/models/theme-types.mjs +0 -2
- package/esm2020/models/theseam-ui-common-models.mjs +0 -5
- package/esm2020/navigation-reload/navigation-reload.config.mjs +0 -2
- package/esm2020/navigation-reload/navigation-reload.provider.mjs +0 -14
- package/esm2020/navigation-reload/navigation-reload.service.mjs +0 -54
- package/esm2020/navigation-reload/public-api.mjs +0 -4
- package/esm2020/navigation-reload/theseam-ui-common-navigation-reload.mjs +0 -5
- package/esm2020/popover/popover/popover.component.mjs +0 -160
- package/esm2020/popover/popover-animations.mjs +0 -46
- package/esm2020/popover/popover.directive.mjs +0 -264
- package/esm2020/popover/popover.module.mjs +0 -40
- package/esm2020/popover/public-api.mjs +0 -5
- package/esm2020/popover/theseam-ui-common-popover.mjs +0 -5
- package/esm2020/progress/progress-circle/progress-circle.component.mjs +0 -65
- package/esm2020/progress/progress.module.mjs +0 -24
- package/esm2020/progress/public-api.mjs +0 -3
- package/esm2020/progress/theseam-ui-common-progress.mjs +0 -5
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/rich-text/public-api.mjs +0 -5
- package/esm2020/rich-text/rich-text/rich-text.component.mjs +0 -594
- package/esm2020/rich-text/rich-text.module.mjs +0 -32
- package/esm2020/rich-text/theseam-ui-common-rich-text.mjs +0 -5
- package/esm2020/rich-text/utils/models.mjs +0 -24
- package/esm2020/rich-text/utils/utils.mjs +0 -123
- package/esm2020/scrollbar/overlay-scrollbar.directive.mjs +0 -60
- package/esm2020/scrollbar/overlay-scrollbars-config-model.mjs +0 -2
- package/esm2020/scrollbar/overlay-scrollbars-config.mjs +0 -13
- package/esm2020/scrollbar/overlay-scrollbars.service.mjs +0 -83
- package/esm2020/scrollbar/public-api.mjs +0 -6
- package/esm2020/scrollbar/scrollbar.module.mjs +0 -30
- package/esm2020/scrollbar/theseam-ui-common-scrollbar.mjs +0 -5
- package/esm2020/services/asset-loader.service.mjs +0 -32
- package/esm2020/services/font-loader.service.mjs +0 -83
- package/esm2020/services/preferences/preferences-accessor.mjs +0 -2
- package/esm2020/services/preferences/preferences-manager.service.mjs +0 -69
- package/esm2020/services/preferences/preferences-record.mjs +0 -72
- package/esm2020/services/preferences/preferences.models.mjs +0 -2
- package/esm2020/services/public-api.mjs +0 -8
- package/esm2020/services/router-helpers.service.mjs +0 -25
- package/esm2020/services/theseam-ui-common-services.mjs +0 -5
- package/esm2020/shared/components/index.mjs +0 -2
- package/esm2020/shared/components/password-input-reveal/password-input-reveal.component.mjs +0 -49
- package/esm2020/shared/directives/auto-focus.directive.mjs +0 -54
- package/esm2020/shared/directives/click-outside.directive.mjs +0 -52
- package/esm2020/shared/directives/disable-control.directive.mjs +0 -27
- package/esm2020/shared/directives/elem-resized.directive.mjs +0 -28
- package/esm2020/shared/directives/hover-class-toggle.directive.mjs +0 -88
- package/esm2020/shared/directives/hover-class.directive.mjs +0 -82
- package/esm2020/shared/directives/index.mjs +0 -9
- package/esm2020/shared/directives/ng-select-extra.directive.mjs +0 -184
- package/esm2020/shared/directives/ngx-quill-extra.directive.mjs +0 -61
- package/esm2020/shared/pipes/index.mjs +0 -3
- package/esm2020/shared/pipes/mask-chars.pipe.mjs +0 -25
- package/esm2020/shared/pipes/truncate.pipe.mjs +0 -23
- package/esm2020/shared/public-api.mjs +0 -5
- package/esm2020/shared/shared.module.mjs +0 -93
- package/esm2020/shared/theseam-ui-common-shared.mjs +0 -5
- package/esm2020/storage/local-storage.service.mjs +0 -78
- package/esm2020/storage/localstorage-memory.mjs +0 -64
- package/esm2020/storage/public-api.mjs +0 -2
- package/esm2020/storage/theseam-ui-common-storage.mjs +0 -5
- package/esm2020/story-helpers/arg-type-helpers.mjs +0 -31
- package/esm2020/story-helpers/args-to-tpl.mjs +0 -83
- package/esm2020/story-helpers/initial-route-factory.mjs +0 -4
- package/esm2020/story-helpers/initial-route.service.mjs +0 -27
- package/esm2020/story-helpers/on-story-bootstrapped-exec.mjs +0 -61
- package/esm2020/story-helpers/on-story-bootstrapped-trigger.mjs +0 -39
- package/esm2020/story-helpers/public-api.mjs +0 -16
- package/esm2020/story-helpers/route-button.mjs +0 -12
- package/esm2020/story-helpers/routes-arg-type.mjs +0 -19
- package/esm2020/story-helpers/story-empty-with-route.component.mjs +0 -12
- package/esm2020/story-helpers/story-empty.component.mjs +0 -11
- package/esm2020/story-helpers/story-helper-components.module.mjs +0 -42
- package/esm2020/story-helpers/story-initial-route.mjs +0 -28
- package/esm2020/story-helpers/story-modal-container.component.mjs +0 -90
- package/esm2020/story-helpers/story-preferences-accessor.service.mjs +0 -34
- package/esm2020/story-helpers/story-toastr.service.mjs +0 -36
- package/esm2020/story-helpers/theseam-ui-common-story-helpers.mjs +0 -5
- package/esm2020/tabbed/directives/tabbed-tab-content.directive.mjs +0 -17
- package/esm2020/tabbed/directives/tabbed-tab.directive.mjs +0 -37
- package/esm2020/tabbed/public-api.mjs +0 -9
- package/esm2020/tabbed/tabbed-content/tabbed-content.component.mjs +0 -16
- package/esm2020/tabbed/tabbed-item/tabbed-item.component.mjs +0 -33
- package/esm2020/tabbed/tabbed-models.mjs +0 -2
- package/esm2020/tabbed/tabbed.component.mjs +0 -119
- package/esm2020/tabbed/tabbed.module.mjs +0 -54
- package/esm2020/tabbed/tabbed.service.mjs +0 -30
- package/esm2020/tabbed/theseam-ui-common-tabbed.mjs +0 -5
- package/esm2020/table/public-api.mjs +0 -6
- package/esm2020/table/table/table.component.mjs +0 -181
- package/esm2020/table/table-cell-tpl.directive.mjs +0 -17
- package/esm2020/table/table-column-header-tpl.directive.mjs +0 -17
- package/esm2020/table/table-column.component.mjs +0 -68
- package/esm2020/table/table.module.mjs +0 -48
- package/esm2020/table/theseam-ui-common-table.mjs +0 -5
- package/esm2020/table-cell-type/public-api.mjs +0 -12
- package/esm2020/table-cell-type/services/table-cell-types-helpers.service.mjs +0 -67
- package/esm2020/table-cell-type/table-cell-type-action.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-column.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-config.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-export-props.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-manifest-provider.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-models.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-name.mjs +0 -2
- package/esm2020/table-cell-type/table-cell-type-selector.component.mjs +0 -100
- package/esm2020/table-cell-type/table-cell-type-tokens.mjs +0 -4
- package/esm2020/table-cell-type/table-cell-type.module.mjs +0 -29
- package/esm2020/table-cell-type/theseam-ui-common-table-cell-type.mjs +0 -5
- package/esm2020/table-cell-types/public-api.mjs +0 -23
- package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.mjs +0 -86
- package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.component.mjs +0 -52
- package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.mjs +0 -84
- package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.mjs +0 -175
- package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.mjs +0 -82
- package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-manifests.mjs +0 -92
- package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.mjs +0 -67
- package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.mjs +0 -168
- package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.mjs +0 -77
- package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string-config.mjs +0 -2
- package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +0 -197
- package/esm2020/table-cell-types/table-cell-types.module.mjs +0 -118
- package/esm2020/table-cell-types/theseam-ui-common-table-cell-types.mjs +0 -5
- package/esm2020/tel-input/intl-tel-input.mjs +0 -55
- package/esm2020/tel-input/models/index.mjs +0 -3
- package/esm2020/tel-input/models/tel-input-country-data.mjs +0 -2
- package/esm2020/tel-input/models/tel-input-number-format-name.mjs +0 -8
- package/esm2020/tel-input/phone-number.pipe.mjs +0 -49
- package/esm2020/tel-input/public-api.mjs +0 -11
- package/esm2020/tel-input/tel-input/tel-input.component.mjs +0 -198
- package/esm2020/tel-input/tel-input-constants.mjs +0 -18
- package/esm2020/tel-input/tel-input-validator.mjs +0 -27
- package/esm2020/tel-input/tel-input.directive.mjs +0 -209
- package/esm2020/tel-input/tel-input.module.mjs +0 -43
- package/esm2020/tel-input/testing/tel-input.harness.mjs +0 -49
- package/esm2020/tel-input/theseam-ui-common-tel-input.mjs +0 -5
- package/esm2020/tel-input/utils/add-country-code.mjs +0 -23
- package/esm2020/tel-input/utils/coerce-phone-number-format.mjs +0 -22
- package/esm2020/tel-input/utils/get-country-code.mjs +0 -9
- package/esm2020/tel-input/utils/get-dial-code.mjs +0 -45
- package/esm2020/tel-input/utils/get-global-intl-tel-input-globals.mjs +0 -4
- package/esm2020/tel-input/utils/get-global-intl-tel-input-utils.mjs +0 -4
- package/esm2020/tel-input/utils/get-intl-tel-input-utils.mjs +0 -17
- package/esm2020/tel-input/utils/get-validation-error-message.mjs +0 -12
- package/esm2020/tel-input/utils/index.mjs +0 -10
- package/esm2020/tel-input/utils/process-country-codes.mjs +0 -46
- package/esm2020/testing/current-tick-time.mjs +0 -16
- package/esm2020/testing/fake-toastr.mjs +0 -29
- package/esm2020/testing/get-harness.mjs +0 -19
- package/esm2020/testing/harnesses/ng-select-dropdown.harness.mjs +0 -39
- package/esm2020/testing/harnesses/ng-select-option.harness.mjs +0 -26
- package/esm2020/testing/harnesses/ng-select.harness.mjs +0 -104
- package/esm2020/testing/public-api.mjs +0 -10
- package/esm2020/testing/render-story.mjs +0 -10
- package/esm2020/testing/story-expect.mjs +0 -40
- package/esm2020/testing/theseam-ui-common-testing.mjs +0 -5
- package/esm2020/testing/tick-helper.mjs +0 -74
- package/esm2020/theseam-ui-common.mjs +0 -5
- package/esm2020/tiled-select/components/tiled-select/tiled-select.component.mjs +0 -214
- package/esm2020/tiled-select/components/tiled-select-tile/tiled-select-tile.component.mjs +0 -159
- package/esm2020/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.mjs +0 -63
- package/esm2020/tiled-select/directives/tiled-select-tile-icon-tpl.directive.mjs +0 -17
- package/esm2020/tiled-select/directives/tiled-select-tile-label-tpl.directive.mjs +0 -16
- package/esm2020/tiled-select/directives/tiled-select-tile-overlay.directive.mjs +0 -19
- package/esm2020/tiled-select/public-api.mjs +0 -10
- package/esm2020/tiled-select/testing/index.mjs +0 -3
- package/esm2020/tiled-select/testing/tiled-select-harness.mjs +0 -21
- package/esm2020/tiled-select/testing/tiled-select-tile-harness.mjs +0 -23
- package/esm2020/tiled-select/theseam-ui-common-tiled-select.mjs +0 -5
- package/esm2020/tiled-select/tiled-select.models.mjs +0 -2
- package/esm2020/tiled-select/tiled-select.module.mjs +0 -51
- package/esm2020/toggle-edit/models/can-toggle-edit.mjs +0 -2
- package/esm2020/toggle-edit/models/index.mjs +0 -3
- package/esm2020/toggle-edit/models/toggle-edit-ref.mjs +0 -2
- package/esm2020/toggle-edit/public-api.mjs +0 -7
- package/esm2020/toggle-edit/theseam-ui-common-toggle-edit.mjs +0 -5
- package/esm2020/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.mjs +0 -11
- package/esm2020/toggle-edit/toggle-edit-display-tpl.directive.mjs +0 -16
- package/esm2020/toggle-edit/toggle-edit-keyboard-listener.service.mjs +0 -57
- package/esm2020/toggle-edit/toggle-edit.component.mjs +0 -414
- package/esm2020/toggle-edit/toggle-edit.module.mjs +0 -64
- package/esm2020/toggle-group/public-api.mjs +0 -4
- package/esm2020/toggle-group/theseam-ui-common-toggle-group.mjs +0 -5
- package/esm2020/toggle-group/toggle-group-option.directive.mjs +0 -47
- package/esm2020/toggle-group/toggle-group.directive.mjs +0 -199
- package/esm2020/toggle-group/toggle-group.module.mjs +0 -33
- package/esm2020/unsaved-changes-dialog/public-api.mjs +0 -5
- package/esm2020/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.mjs +0 -5
- package/esm2020/unsaved-changes-dialog/unsaved-changes-can-deactivate.mjs +0 -30
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +0 -21
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.guard.mjs +0 -38
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +0 -17
- package/esm2020/utils/array-move.mjs +0 -62
- package/esm2020/utils/calc-percentage.mjs +0 -4
- package/esm2020/utils/cdk/get-closest-widget-cdk-drag.mjs +0 -18
- package/esm2020/utils/create-padding.mjs +0 -17
- package/esm2020/utils/file-utils.mjs +0 -49
- package/esm2020/utils/form/get-control-name.mjs +0 -31
- package/esm2020/utils/form/get-control-path.mjs +0 -38
- package/esm2020/utils/form/has-required-control.mjs +0 -50
- package/esm2020/utils/form/is-empty-input-value.mjs +0 -6
- package/esm2020/utils/form/observe-control-is-different.mjs +0 -18
- package/esm2020/utils/form/observe-control-status.mjs +0 -17
- package/esm2020/utils/form/observe-control-valid.mjs +0 -30
- package/esm2020/utils/form/observe-control-value-change.mjs +0 -10
- package/esm2020/utils/form/observe-control-value.mjs +0 -11
- package/esm2020/utils/form/wait-on-non-pending-status.mjs +0 -18
- package/esm2020/utils/fractional-digits-count.mjs +0 -19
- package/esm2020/utils/geo-json/close-polygons.mjs +0 -38
- package/esm2020/utils/geo-json/coerce-feature-collection.mjs +0 -44
- package/esm2020/utils/geo-json/geo-json-to-area.mjs +0 -11
- package/esm2020/utils/geo-json/is-feature-collection.validator.mjs +0 -21
- package/esm2020/utils/geo-json/is-only-geometry-types.mjs +0 -23
- package/esm2020/utils/geo-json/is-only-geometry-types.validator.mjs +0 -32
- package/esm2020/utils/geo-json/merge-polygons.mjs +0 -35
- package/esm2020/utils/geo-json/min-max-points.validator.mjs +0 -56
- package/esm2020/utils/geo-json/no-empty-feature-collection.validator.mjs +0 -24
- package/esm2020/utils/geo-json/no-inner-rings.validator.mjs +0 -63
- package/esm2020/utils/geo-json/no-kinks.validator.mjs +0 -39
- package/esm2020/utils/geo-json/read-geo-file.mjs +0 -93
- package/esm2020/utils/geo-json/split-multi-polygons.mjs +0 -29
- package/esm2020/utils/get-attribute.mjs +0 -7
- package/esm2020/utils/has-attribute.mjs +0 -7
- package/esm2020/utils/has-property.mjs +0 -7
- package/esm2020/utils/input-masks.mjs +0 -2
- package/esm2020/utils/is-absolute-url.mjs +0 -17
- package/esm2020/utils/is-null-or-undefined-or-empty.mjs +0 -4
- package/esm2020/utils/is-null-or-undefined.mjs +0 -4
- package/esm2020/utils/is-numeric.mjs +0 -4
- package/esm2020/utils/load-style-sheet.mjs +0 -14
- package/esm2020/utils/load-style.mjs +0 -13
- package/esm2020/utils/not-null-or-undefined-or-empty.mjs +0 -4
- package/esm2020/utils/not-null-or-undefined.mjs +0 -4
- package/esm2020/utils/obj-utils.mjs +0 -26
- package/esm2020/utils/observe-query-list.mjs +0 -5
- package/esm2020/utils/operators/index.mjs +0 -3
- package/esm2020/utils/operators/map-each.mjs +0 -6
- package/esm2020/utils/operators/tap-first.mjs +0 -14
- package/esm2020/utils/pad-end.mjs +0 -9
- package/esm2020/utils/pad-start.mjs +0 -9
- package/esm2020/utils/polling-ticker.mjs +0 -121
- package/esm2020/utils/public-api.mjs +0 -54
- package/esm2020/utils/refreshable.mjs +0 -65
- package/esm2020/utils/router/index.mjs +0 -7
- package/esm2020/utils/router/is-empty-url-route.mjs +0 -4
- package/esm2020/utils/router/leaf-child-route.mjs +0 -8
- package/esm2020/utils/router/operators/activated-routes-with-data-property.mjs +0 -11
- package/esm2020/utils/router/route-snapshot-path-full.mjs +0 -5
- package/esm2020/utils/router/route-snapshot-path-relative.mjs +0 -4
- package/esm2020/utils/router/will-have-data-prop.mjs +0 -10
- package/esm2020/utils/subscriber-count.mjs +0 -45
- package/esm2020/utils/theseam-ui-common-utils.mjs +0 -5
- package/esm2020/utils/toggle-attribute.mjs +0 -36
- package/esm2020/utils/wait-on-condition-async.mjs +0 -30
- package/esm2020/utils/wrap-into-observable.mjs +0 -8
- package/esm2020/validators/decimal.validator.mjs +0 -25
- package/esm2020/validators/email-exists.validator.mjs +0 -18
- package/esm2020/validators/integer.validator.mjs +0 -25
- package/esm2020/validators/phone-length.validator.mjs +0 -8
- package/esm2020/validators/public-api.mjs +0 -6
- package/esm2020/validators/tax-id.validator.mjs +0 -13
- package/esm2020/validators/theseam-ui-common-validators.mjs +0 -5
- package/esm2020/vertical-list-filter/public-api.mjs +0 -3
- package/esm2020/vertical-list-filter/testing/index.mjs +0 -2
- package/esm2020/vertical-list-filter/testing/vertical-list-filter.harness.mjs +0 -28
- package/esm2020/vertical-list-filter/theseam-ui-common-vertical-list-filter.mjs +0 -5
- package/esm2020/vertical-list-filter/vertical-list-filter.component.mjs +0 -52
- package/esm2020/viewers/html-template-viewer/html-template-viewer.component.mjs +0 -219
- package/esm2020/viewers/html-template-viewer/html-template-viewer.module.mjs +0 -32
- package/esm2020/viewers/html-template-viewer/index.mjs +0 -3
- package/esm2020/viewers/pdf-viewer/index.mjs +0 -4
- package/esm2020/viewers/pdf-viewer/pdf-page/pdf-page.component.mjs +0 -143
- package/esm2020/viewers/pdf-viewer/pdf-renderer.service.mjs +0 -28
- package/esm2020/viewers/pdf-viewer/pdf-viewer.component.mjs +0 -164
- package/esm2020/viewers/pdf-viewer/pdf-viewer.module.mjs +0 -33
- package/esm2020/viewers/public-api.mjs +0 -3
- package/esm2020/viewers/theseam-ui-common-viewers.mjs +0 -5
- package/esm2020/widget/directives/widget-drag-handle.directive.mjs +0 -150
- package/esm2020/widget/directives/widget-icon-tpl.directive.mjs +0 -16
- package/esm2020/widget/directives/widget-title-tpl.directive.mjs +0 -16
- package/esm2020/widget/preferences/widget-preferences.models.mjs +0 -5
- package/esm2020/widget/preferences/widget-preferences.service.mjs +0 -78
- package/esm2020/widget/preferences/widget-preferences.token.mjs +0 -3
- package/esm2020/widget/public-api.mjs +0 -42
- package/esm2020/widget/theseam-ui-common-widget.mjs +0 -5
- package/esm2020/widget/widget/widget.component.mjs +0 -214
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.module.mjs +0 -30
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.module.mjs +0 -24
- package/esm2020/widget/widget-content-components/widget-description/widget-description.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-description/widget-description.module.mjs +0 -24
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.component.mjs +0 -39
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.module.mjs +0 -24
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.module.mjs +0 -24
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.module.mjs +0 -24
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.component.mjs +0 -22
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.module.mjs +0 -24
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.mjs +0 -17
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.mjs +0 -124
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.component.mjs +0 -14
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.module.mjs +0 -46
- package/esm2020/widget/widget-content-components/widget-table/widget-table.component.mjs +0 -38
- package/esm2020/widget/widget-content-components/widget-table/widget-table.module.mjs +0 -32
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.mjs +0 -13
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.mjs +0 -41
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.mjs +0 -17
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.component.mjs +0 -122
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.module.mjs +0 -48
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.component.mjs +0 -11
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.module.mjs +0 -27
- package/esm2020/widget/widget-footer/widget-footer.component.mjs +0 -11
- package/esm2020/widget/widget-registry.models.mjs +0 -2
- package/esm2020/widget/widget-registry.service.mjs +0 -56
- package/esm2020/widget/widget-token.mjs +0 -5
- package/esm2020/widget/widget.models.mjs +0 -2
- package/esm2020/widget/widget.module.mjs +0 -125
- package/fesm2015/theseam-ui-common-asset-reader.mjs +0 -186
- package/fesm2015/theseam-ui-common-asset-reader.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs +0 -201
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-buttons.mjs +0 -492
- package/fesm2015/theseam-ui-common-buttons.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-card.mjs +0 -153
- package/fesm2015/theseam-ui-common-card.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-carousel.mjs +0 -266
- package/fesm2015/theseam-ui-common-carousel.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-checkbox.mjs +0 -391
- package/fesm2015/theseam-ui-common-checkbox.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs +0 -192
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-core.mjs +0 -225
- package/fesm2015/theseam-ui-common-core.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-data-exporter.mjs +0 -93
- package/fesm2015/theseam-ui-common-data-exporter.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-data-filters.mjs +0 -508
- package/fesm2015/theseam-ui-common-data-filters.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +0 -998
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-datatable.mjs +0 -3685
- package/fesm2015/theseam-ui-common-datatable.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs +0 -135
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic.mjs +0 -722
- package/fesm2015/theseam-ui-common-dynamic.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-footer-bar.mjs +0 -35
- package/fesm2015/theseam-ui-common-footer-bar.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-form-field-error.mjs +0 -479
- package/fesm2015/theseam-ui-common-form-field-error.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-form-field.mjs +0 -670
- package/fesm2015/theseam-ui-common-form-field.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-framework.mjs +0 -3891
- package/fesm2015/theseam-ui-common-framework.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-google-maps.mjs +0 -2083
- package/fesm2015/theseam-ui-common-google-maps.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-graphql.mjs +0 -1115
- package/fesm2015/theseam-ui-common-graphql.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-icon.mjs +0 -587
- package/fesm2015/theseam-ui-common-icon.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-layout.mjs +0 -101
- package/fesm2015/theseam-ui-common-layout.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-loading.mjs +0 -139
- package/fesm2015/theseam-ui-common-loading.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-menu.mjs +0 -1361
- package/fesm2015/theseam-ui-common-menu.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-modal.mjs +0 -1378
- package/fesm2015/theseam-ui-common-modal.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-models.mjs +0 -52
- package/fesm2015/theseam-ui-common-models.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-navigation-reload.mjs +0 -75
- package/fesm2015/theseam-ui-common-navigation-reload.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-popover.mjs +0 -506
- package/fesm2015/theseam-ui-common-popover.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-progress.mjs +0 -93
- package/fesm2015/theseam-ui-common-progress.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-rich-text.mjs +0 -767
- package/fesm2015/theseam-ui-common-rich-text.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-scrollbar.mjs +0 -184
- package/fesm2015/theseam-ui-common-scrollbar.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-services.mjs +0 -273
- package/fesm2015/theseam-ui-common-services.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-shared.mjs +0 -739
- package/fesm2015/theseam-ui-common-shared.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-storage.mjs +0 -148
- package/fesm2015/theseam-ui-common-storage.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-story-helpers.mjs +0 -514
- package/fesm2015/theseam-ui-common-story-helpers.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-tabbed.mjs +0 -288
- package/fesm2015/theseam-ui-common-tabbed.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-type.mjs +0 -201
- package/fesm2015/theseam-ui-common-table-cell-type.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-types.mjs +0 -1134
- package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-table.mjs +0 -320
- package/fesm2015/theseam-ui-common-table.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-tel-input.mjs +0 -841
- package/fesm2015/theseam-ui-common-tel-input.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-testing.mjs +0 -395
- package/fesm2015/theseam-ui-common-testing.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-tiled-select.mjs +0 -571
- package/fesm2015/theseam-ui-common-tiled-select.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-edit.mjs +0 -560
- package/fesm2015/theseam-ui-common-toggle-edit.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-group.mjs +0 -281
- package/fesm2015/theseam-ui-common-toggle-group.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs +0 -106
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-utils.mjs +0 -1387
- package/fesm2015/theseam-ui-common-utils.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-validators.mjs +0 -94
- package/fesm2015/theseam-ui-common-validators.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-vertical-list-filter.mjs +0 -96
- package/fesm2015/theseam-ui-common-vertical-list-filter.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-viewers.mjs +0 -602
- package/fesm2015/theseam-ui-common-viewers.mjs.map +0 -1
- package/fesm2015/theseam-ui-common-widget.mjs +0 -1395
- package/fesm2015/theseam-ui-common-widget.mjs.map +0 -1
- package/fesm2015/theseam-ui-common.mjs +0 -6
- package/fesm2015/theseam-ui-common.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-asset-reader.mjs +0 -184
- package/fesm2020/theseam-ui-common-asset-reader.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs +0 -201
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-buttons.mjs +0 -466
- package/fesm2020/theseam-ui-common-buttons.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-card.mjs +0 -151
- package/fesm2020/theseam-ui-common-card.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-carousel.mjs +0 -266
- package/fesm2020/theseam-ui-common-carousel.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-checkbox.mjs +0 -373
- package/fesm2020/theseam-ui-common-checkbox.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs +0 -192
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-core.mjs +0 -233
- package/fesm2020/theseam-ui-common-core.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-data-exporter.mjs +0 -93
- package/fesm2020/theseam-ui-common-data-exporter.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-data-filters.mjs +0 -500
- package/fesm2020/theseam-ui-common-data-filters.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +0 -986
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-datatable.mjs +0 -3662
- package/fesm2020/theseam-ui-common-datatable.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs +0 -133
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-dynamic.mjs +0 -689
- package/fesm2020/theseam-ui-common-dynamic.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-footer-bar.mjs +0 -35
- package/fesm2020/theseam-ui-common-footer-bar.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-form-field-error.mjs +0 -483
- package/fesm2020/theseam-ui-common-form-field-error.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-form-field.mjs +0 -659
- package/fesm2020/theseam-ui-common-form-field.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-framework.mjs +0 -3883
- package/fesm2020/theseam-ui-common-framework.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-google-maps.mjs +0 -2072
- package/fesm2020/theseam-ui-common-google-maps.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-graphql.mjs +0 -1121
- package/fesm2020/theseam-ui-common-graphql.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-icon.mjs +0 -587
- package/fesm2020/theseam-ui-common-icon.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-layout.mjs +0 -111
- package/fesm2020/theseam-ui-common-layout.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-loading.mjs +0 -138
- package/fesm2020/theseam-ui-common-loading.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-menu.mjs +0 -1288
- package/fesm2020/theseam-ui-common-menu.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-modal.mjs +0 -1370
- package/fesm2020/theseam-ui-common-modal.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-models.mjs +0 -55
- package/fesm2020/theseam-ui-common-models.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-navigation-reload.mjs +0 -74
- package/fesm2020/theseam-ui-common-navigation-reload.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-popover.mjs +0 -503
- package/fesm2020/theseam-ui-common-popover.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-progress.mjs +0 -93
- package/fesm2020/theseam-ui-common-progress.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-rich-text.mjs +0 -773
- package/fesm2020/theseam-ui-common-rich-text.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-scrollbar.mjs +0 -184
- package/fesm2020/theseam-ui-common-scrollbar.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-services.mjs +0 -274
- package/fesm2020/theseam-ui-common-services.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-shared.mjs +0 -733
- package/fesm2020/theseam-ui-common-shared.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-storage.mjs +0 -148
- package/fesm2020/theseam-ui-common-storage.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-story-helpers.mjs +0 -512
- package/fesm2020/theseam-ui-common-story-helpers.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-tabbed.mjs +0 -286
- package/fesm2020/theseam-ui-common-tabbed.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-table-cell-type.mjs +0 -198
- package/fesm2020/theseam-ui-common-table-cell-type.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-table-cell-types.mjs +0 -1109
- package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-table.mjs +0 -322
- package/fesm2020/theseam-ui-common-table.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-tel-input.mjs +0 -810
- package/fesm2020/theseam-ui-common-tel-input.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-testing.mjs +0 -359
- package/fesm2020/theseam-ui-common-testing.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-tiled-select.mjs +0 -557
- package/fesm2020/theseam-ui-common-tiled-select.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-toggle-edit.mjs +0 -553
- package/fesm2020/theseam-ui-common-toggle-edit.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-toggle-group.mjs +0 -277
- package/fesm2020/theseam-ui-common-toggle-group.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs +0 -106
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-utils.mjs +0 -1364
- package/fesm2020/theseam-ui-common-utils.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-validators.mjs +0 -94
- package/fesm2020/theseam-ui-common-validators.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-vertical-list-filter.mjs +0 -87
- package/fesm2020/theseam-ui-common-vertical-list-filter.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-viewers.mjs +0 -598
- package/fesm2020/theseam-ui-common-viewers.mjs.map +0 -1
- package/fesm2020/theseam-ui-common-widget.mjs +0 -1387
- package/fesm2020/theseam-ui-common-widget.mjs.map +0 -1
- package/fesm2020/theseam-ui-common.mjs +0 -6
- package/fesm2020/theseam-ui-common.mjs.map +0 -1
- package/footer-bar/footer-bar/footer-bar.component.d.ts +0 -5
- package/footer-bar/footer-bar.module.d.ts +0 -8
- package/footer-bar/public-api.d.ts +0 -2
- package/form-field/form-field-error.directive.d.ts +0 -15
- package/form-field/form-field-help-text.directive.d.ts +0 -8
- package/form-field/form-field-label-tpl.directive.d.ts +0 -8
- package/form-field/form-field-required-indicator.component.d.ts +0 -16
- package/form-field/form-field-tokens.d.ts +0 -2
- package/form-field/form-field.component.d.ts +0 -117
- package/form-field/form-field.module.d.ts +0 -16
- package/form-field/input.directive.d.ts +0 -70
- package/form-field/public-api.d.ts +0 -9
- package/form-field/testing/form-field-required-indicator.harness.d.ts +0 -5
- package/form-field/testing/form-field.harness.d.ts +0 -14
- package/form-field/testing/index.d.ts +0 -2
- package/form-field-error/form-field-error/form-field-error.component.d.ts +0 -8
- package/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.d.ts +0 -12
- package/form-field-error/form-field-error-list/form-field-error-list-item.directive.d.ts +0 -9
- package/form-field-error/form-field-error-list/form-field-error-list.component.d.ts +0 -65
- package/form-field-error/form-field-error.module.d.ts +0 -11
- package/form-field-error/public-api.d.ts +0 -5
- package/framework/base-layout/base-layout-action.d.ts +0 -31
- package/framework/base-layout/base-layout-nav.d.ts +0 -18
- package/framework/base-layout/base-layout-ref.d.ts +0 -14
- package/framework/base-layout/base-layout-tokens.d.ts +0 -3
- package/framework/base-layout/base-layout.component.d.ts +0 -48
- package/framework/base-layout/base-layout.module.d.ts +0 -20
- package/framework/base-layout/directives/base-layout-content-footer.directive.d.ts +0 -9
- package/framework/base-layout/directives/base-layout-content-header.directive.d.ts +0 -9
- package/framework/base-layout/directives/base-layout-content.directive.d.ts +0 -9
- package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +0 -22
- package/framework/base-layout/directives/base-layout-side-bar-footer.directive.d.ts +0 -9
- package/framework/base-layout/directives/base-layout-side-bar-header.directive.d.ts +0 -9
- package/framework/base-layout/directives/base-layout-side-bar.directive.d.ts +0 -9
- package/framework/base-layout/directives/base-layout-top-bar.directive.d.ts +0 -9
- package/framework/base-layout/index.d.ts +0 -14
- package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.d.ts +0 -9
- package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.d.ts +0 -13
- package/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.d.ts +0 -50
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-item.d.ts +0 -43
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.d.ts +0 -3
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.d.ts +0 -15
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.d.ts +0 -30
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.d.ts +0 -62
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.service.d.ts +0 -37
- package/framework/dashboard/dashboard-widgets-tokens.d.ts +0 -7
- package/framework/dashboard/dashboard.component.d.ts +0 -10
- package/framework/dashboard/dashboard.module.d.ts +0 -17
- package/framework/dashboard/index.d.ts +0 -11
- package/framework/dynamic-router/dynamic-route-def.d.ts +0 -8
- package/framework/dynamic-router/dynamic-router.module.d.ts +0 -9
- package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.d.ts +0 -5
- package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.d.ts +0 -25
- package/framework/dynamic-router/index.d.ts +0 -5
- package/framework/dynamic-router/resolvers/hierarchy-level.resolver.d.ts +0 -9
- package/framework/nav/horizontal-nav/horizontal-nav.component.d.ts +0 -25
- package/framework/nav/index.d.ts +0 -5
- package/framework/nav/nav-item/nav-item.component.d.ts +0 -74
- package/framework/nav/nav-utils.d.ts +0 -20
- package/framework/nav/nav.models.d.ts +0 -77
- package/framework/nav/nav.module.d.ts +0 -17
- package/framework/nav/nav.service.d.ts +0 -27
- package/framework/public-api.d.ts +0 -7
- package/framework/schema-form/index.d.ts +0 -4
- package/framework/schema-form/schema-form-framework.component.d.ts +0 -8
- package/framework/schema-form/schema-form-framework.d.ts +0 -32
- package/framework/schema-form/schema-form-widget.d.ts +0 -61
- package/framework/schema-form/schema-form.module.d.ts +0 -9
- package/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.d.ts +0 -25
- package/framework/schema-form-controls/schema-form-divider/schema-form-divider.component.d.ts +0 -12
- package/framework/schema-form-controls/schema-form-input/schema-form-input.component.d.ts +0 -23
- package/framework/schema-form-controls/schema-form-number/schema-form-number.component.d.ts +0 -26
- package/framework/schema-form-controls/schema-form-select/schema-form-select.component.d.ts +0 -24
- package/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.d.ts +0 -22
- package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +0 -38
- package/framework/schema-form-controls/schema-form-tel/schema-form-tel.component.d.ts +0 -23
- package/framework/schema-form-controls/schema-form-tiled-select/schema-form-tiled-select.component.d.ts +0 -32
- package/framework/side-nav/index.d.ts +0 -7
- package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +0 -70
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +0 -14
- package/framework/side-nav/side-nav-tokens.d.ts +0 -14
- package/framework/side-nav/side-nav-utils.d.ts +0 -24
- package/framework/side-nav/side-nav.component.d.ts +0 -66
- package/framework/side-nav/side-nav.models.d.ts +0 -93
- package/framework/side-nav/side-nav.module.d.ts +0 -9
- package/framework/side-nav/side-nav.service.d.ts +0 -24
- package/framework/top-bar/index.d.ts +0 -9
- package/framework/top-bar/top-bar-compact-menu-btn-detail.directive.d.ts +0 -8
- package/framework/top-bar/top-bar-item.directive.d.ts +0 -11
- package/framework/top-bar/top-bar-menu-btn-detail.directive.d.ts +0 -8
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +0 -26
- package/framework/top-bar/top-bar-menu.directive.d.ts +0 -8
- package/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.d.ts +0 -8
- package/framework/top-bar/top-bar-title/top-bar-title.component.d.ts +0 -7
- package/framework/top-bar/top-bar.component.d.ts +0 -85
- package/framework/top-bar/top-bar.module.d.ts +0 -21
- package/google-maps/google-maps/google-maps.component.d.ts +0 -105
- package/google-maps/google-maps-api-loader/google-maps-api-loader.d.ts +0 -4
- package/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.d.ts +0 -74
- package/google-maps/google-maps-api-loader/noop-google-maps-api-loader.d.ts +0 -13
- package/google-maps/google-maps-contextmenu.d.ts +0 -15
- package/google-maps/google-maps-controls.service.d.ts +0 -26
- package/google-maps/google-maps-feature-helpers.d.ts +0 -41
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.d.ts +0 -106
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.d.ts +0 -83
- package/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.d.ts +0 -24
- package/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.d.ts +0 -37
- package/google-maps/google-maps.module.d.ts +0 -20
- package/google-maps/google-maps.service.d.ts +0 -65
- package/google-maps/map-control.component.d.ts +0 -23
- package/google-maps/map-controls-service.d.ts +0 -13
- package/google-maps/map-file-drop/map-file-drop.component.d.ts +0 -37
- package/google-maps/map-value-manager.service.d.ts +0 -21
- package/google-maps/public-api.d.ts +0 -17
- package/graphql/datatable/create-page-info-observable.d.ts +0 -4
- package/graphql/datatable/datatable-graphql-query-ref.d.ts +0 -64
- package/graphql/datatable/datatable-graphql.service.d.ts +0 -29
- package/graphql/datatable/datatable-helpers.d.ts +0 -12
- package/graphql/datatable/get-page-info.d.ts +0 -4
- package/graphql/datatable/index.d.ts +0 -9
- package/graphql/datatable/map-filter-states.d.ts +0 -18
- package/graphql/datatable/map-page-info.d.ts +0 -11
- package/graphql/datatable/map-search-date-columns-data-filter-state-to-gql.d.ts +0 -4
- package/graphql/datatable/map-search-numeric-columns-data-filter-state-to-gql.d.ts +0 -4
- package/graphql/datatable/map-search-text-columns-data-filter-state-to-gql.d.ts +0 -4
- package/graphql/datatable/mapper-context.d.ts +0 -6
- package/graphql/models/direction.d.ts +0 -6
- package/graphql/models/gql-datatable-accessor.d.ts +0 -9
- package/graphql/models/hint-definition.d.ts +0 -7
- package/graphql/models/hint-transform-operation.d.ts +0 -5
- package/graphql/models/hint-transformer.d.ts +0 -3
- package/graphql/models/hints-kind.d.ts +0 -7
- package/graphql/models/hints-token.d.ts +0 -7
- package/graphql/models/index.d.ts +0 -9
- package/graphql/models/query-processing-config.d.ts +0 -13
- package/graphql/models/variable.d.ts +0 -5
- package/graphql/public-api.d.ts +0 -2
- package/graphql/utils/contains-variable.d.ts +0 -2
- package/graphql/utils/gql-var.d.ts +0 -3
- package/graphql/utils/hints-tokens-containing-hint.d.ts +0 -2
- package/graphql/utils/index.d.ts +0 -10
- package/graphql/utils/inline-variables.d.ts +0 -2
- package/graphql/utils/parse-comments.d.ts +0 -2
- package/graphql/utils/parse-hints.d.ts +0 -17
- package/graphql/utils/remove-variable-definition.d.ts +0 -2
- package/graphql/utils/remove-variable-definitions-not-defined.d.ts +0 -3
- package/graphql/utils/remove-variable.d.ts +0 -2
- package/graphql/utils/to-gql.d.ts +0 -1
- package/icon/icon/icon.component.d.ts +0 -57
- package/icon/icon-btn/icon-btn.component.d.ts +0 -76
- package/icon/icon-notification/icon-notification.component.d.ts +0 -50
- package/icon/icon.d.ts +0 -2
- package/icon/icon.module.d.ts +0 -11
- package/icon/public-api.d.ts +0 -6
- package/icon/utils/file-extension-icon.d.ts +0 -3
- package/icon/utils/get-known-icon.d.ts +0 -2
- package/icon/utils/index.d.ts +0 -2
- package/layout/breakpoint-aliases.d.ts +0 -20
- package/layout/layout.module.d.ts +0 -8
- package/layout/layout.service.d.ts +0 -23
- package/layout/observe-media-query.d.ts +0 -8
- package/layout/public-api.d.ts +0 -4
- package/loading/loading/loading.component.d.ts +0 -9
- package/loading/loading-overlay.service.d.ts +0 -16
- package/loading/loading-themes.d.ts +0 -3
- package/loading/loading.models.d.ts +0 -1
- package/loading/loading.module.d.ts +0 -13
- package/loading/public-api.d.ts +0 -5
- package/menu/menu-animations.d.ts +0 -8
- package/menu/menu-divider.component.d.ts +0 -5
- package/menu/menu-footer/menu-footer.component.d.ts +0 -12
- package/menu/menu-footer-action/menu-footer-action.component.d.ts +0 -22
- package/menu/menu-header/menu-header.component.d.ts +0 -12
- package/menu/menu-item.component.d.ts +0 -54
- package/menu/menu-panel-token.d.ts +0 -6
- package/menu/menu-panel.d.ts +0 -20
- package/menu/menu-toggle.directive.d.ts +0 -83
- package/menu/menu.component.d.ts +0 -79
- package/menu/menu.module.d.ts +0 -16
- package/menu/public-api.d.ts +0 -15
- package/menu/testing/menu-footer.harness.d.ts +0 -22
- package/menu/testing/menu-header.harness.d.ts +0 -18
- package/menu/testing/menu-item.harness.d.ts +0 -37
- package/menu/testing/menu.harness.d.ts +0 -74
- package/menu/testing/utils.d.ts +0 -5
- package/modal/directives/modal-close.directive.d.ts +0 -23
- package/modal/directives/modal-footer-tpl.directive.d.ts +0 -8
- package/modal/directives/modal-header-icon-tpl.directive.d.ts +0 -8
- package/modal/directives/modal-header-title-tpl.directive.d.ts +0 -8
- package/modal/directives/modal-title.directive.d.ts +0 -9
- package/modal/directives/modal.directive.d.ts +0 -11
- package/modal/modal/modal.component.d.ts +0 -58
- package/modal/modal-body/modal-body.component.d.ts +0 -7
- package/modal/modal-config.d.ts +0 -93
- package/modal/modal-container/modal-container.component.d.ts +0 -81
- package/modal/modal-footer/modal-footer.component.d.ts +0 -6
- package/modal/modal-header/modal-header.component.d.ts +0 -11
- package/modal/modal-injectors.d.ts +0 -23
- package/modal/modal-ref.d.ts +0 -52
- package/modal/modal-utils.d.ts +0 -8
- package/modal/modal.models.d.ts +0 -24
- package/modal/modal.module.d.ts +0 -25
- package/modal/modal.service.d.ts +0 -98
- package/modal/public-api.d.ts +0 -19
- package/modal/route-modal/route-modal.component.d.ts +0 -18
- package/models/component-type.d.ts +0 -2
- package/models/http-status-codes.d.ts +0 -18
- package/models/public-api.d.ts +0 -7
- package/models/size-prefixes.d.ts +0 -1
- package/models/size-types.d.ts +0 -1
- package/models/theme-names.d.ts +0 -2
- package/models/theme-prefixes.d.ts +0 -1
- package/models/theme-types.d.ts +0 -2
- package/navigation-reload/navigation-reload.config.d.ts +0 -5
- package/navigation-reload/navigation-reload.provider.d.ts +0 -3
- package/navigation-reload/navigation-reload.service.d.ts +0 -13
- package/navigation-reload/public-api.d.ts +0 -3
- package/popover/popover/popover.component.d.ts +0 -50
- package/popover/popover-animations.d.ts +0 -4
- package/popover/popover.directive.d.ts +0 -61
- package/popover/popover.module.d.ts +0 -11
- package/popover/public-api.d.ts +0 -4
- package/progress/progress-circle/progress-circle.component.d.ts +0 -29
- package/progress/progress.module.d.ts +0 -8
- package/progress/public-api.d.ts +0 -2
- package/public_api.d.ts +0 -2
- package/rich-text/public-api.d.ts +0 -4
- package/rich-text/rich-text/rich-text.component.d.ts +0 -194
- package/rich-text/rich-text.module.d.ts +0 -10
- package/rich-text/utils/models.d.ts +0 -343
- package/rich-text/utils/utils.d.ts +0 -14
- package/scrollbar/overlay-scrollbar.directive.d.ts +0 -23
- package/scrollbar/overlay-scrollbars-config-model.d.ts +0 -2
- package/scrollbar/overlay-scrollbars-config.d.ts +0 -51
- package/scrollbar/overlay-scrollbars.service.d.ts +0 -23
- package/scrollbar/public-api.d.ts +0 -5
- package/scrollbar/scrollbar.module.d.ts +0 -8
- package/services/asset-loader.service.d.ts +0 -15
- package/services/font-loader.service.d.ts +0 -45
- package/services/preferences/preferences-accessor.d.ts +0 -15
- package/services/preferences/preferences-manager.service.d.ts +0 -15
- package/services/preferences/preferences-record.d.ts +0 -28
- package/services/preferences/preferences.models.d.ts +0 -3
- package/services/public-api.d.ts +0 -7
- package/services/router-helpers.service.d.ts +0 -10
- package/shared/components/index.d.ts +0 -1
- package/shared/components/password-input-reveal/password-input-reveal.component.d.ts +0 -17
- package/shared/directives/auto-focus.directive.d.ts +0 -18
- package/shared/directives/click-outside.directive.d.ts +0 -13
- package/shared/directives/disable-control.directive.d.ts +0 -9
- package/shared/directives/elem-resized.directive.d.ts +0 -20
- package/shared/directives/hover-class-toggle.directive.d.ts +0 -36
- package/shared/directives/hover-class.directive.d.ts +0 -31
- package/shared/directives/index.d.ts +0 -8
- package/shared/directives/ng-select-extra.directive.d.ts +0 -42
- package/shared/directives/ngx-quill-extra.directive.d.ts +0 -23
- package/shared/pipes/index.d.ts +0 -2
- package/shared/pipes/mask-chars.pipe.d.ts +0 -7
- package/shared/pipes/truncate.pipe.d.ts +0 -7
- package/shared/public-api.d.ts +0 -4
- package/shared/shared.module.d.ts +0 -22
- package/storage/local-storage.service.d.ts +0 -31
- package/storage/localstorage-memory.d.ts +0 -37
- package/storage/public-api.d.ts +0 -1
- package/story-helpers/arg-type-helpers.d.ts +0 -6
- package/story-helpers/args-to-tpl.d.ts +0 -25
- package/story-helpers/initial-route-factory.d.ts +0 -2
- package/story-helpers/initial-route.service.d.ts +0 -10
- package/story-helpers/on-story-bootstrapped-exec.d.ts +0 -24
- package/story-helpers/on-story-bootstrapped-trigger.d.ts +0 -23
- package/story-helpers/public-api.d.ts +0 -15
- package/story-helpers/route-button.d.ts +0 -5
- package/story-helpers/routes-arg-type.d.ts +0 -7
- package/story-helpers/story-empty-with-route.component.d.ts +0 -5
- package/story-helpers/story-empty.component.d.ts +0 -5
- package/story-helpers/story-helper-components.module.d.ts +0 -12
- package/story-helpers/story-initial-route.d.ts +0 -8
- package/story-helpers/story-modal-container.component.d.ts +0 -23
- package/story-helpers/story-preferences-accessor.service.d.ts +0 -19
- package/story-helpers/story-toastr.service.d.ts +0 -33
- package/tabbed/directives/tabbed-tab-content.directive.d.ts +0 -7
- package/tabbed/directives/tabbed-tab.directive.d.ts +0 -13
- package/tabbed/public-api.d.ts +0 -8
- package/tabbed/tabbed-content/tabbed-content.component.d.ts +0 -7
- package/tabbed/tabbed-item/tabbed-item.component.d.ts +0 -16
- package/tabbed/tabbed-models.d.ts +0 -12
- package/tabbed/tabbed.component.d.ts +0 -44
- package/tabbed/tabbed.module.d.ts +0 -14
- package/tabbed/tabbed.service.d.ts +0 -10
- package/table/public-api.d.ts +0 -5
- package/table/table/table.component.d.ts +0 -63
- package/table/table-cell-tpl.directive.d.ts +0 -7
- package/table/table-column-header-tpl.directive.d.ts +0 -7
- package/table/table-column.component.d.ts +0 -24
- package/table/table.module.d.ts +0 -13
- package/table-cell-type/public-api.d.ts +0 -11
- package/table-cell-type/services/table-cell-types-helpers.service.d.ts +0 -18
- package/table-cell-type/table-cell-type-action.d.ts +0 -13
- package/table-cell-type/table-cell-type-column.d.ts +0 -12
- package/table-cell-type/table-cell-type-config.d.ts +0 -12
- package/table-cell-type/table-cell-type-export-props.d.ts +0 -15
- package/table-cell-type/table-cell-type-manifest-provider.d.ts +0 -7
- package/table-cell-type/table-cell-type-models.d.ts +0 -39
- package/table-cell-type/table-cell-type-name.d.ts +0 -1
- package/table-cell-type/table-cell-type-selector.component.d.ts +0 -27
- package/table-cell-type/table-cell-type-tokens.d.ts +0 -4
- package/table-cell-type/table-cell-type.module.d.ts +0 -9
- package/table-cell-types/public-api.d.ts +0 -22
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.d.ts +0 -44
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.d.ts +0 -21
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency.d.ts +0 -3
- package/table-cell-types/table-cell-type-date/table-cell-type-date-config.d.ts +0 -9
- package/table-cell-types/table-cell-type-date/table-cell-type-date.component.d.ts +0 -14
- package/table-cell-types/table-cell-type-date/table-cell-type-date.d.ts +0 -3
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +0 -38
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.d.ts +0 -21
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.d.ts +0 -3
- package/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.d.ts +0 -34
- package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +0 -55
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +0 -30
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.d.ts +0 -21
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer.d.ts +0 -3
- package/table-cell-types/table-cell-type-manifests.d.ts +0 -11
- package/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.d.ts +0 -13
- package/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.d.ts +0 -19
- package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.d.ts +0 -29
- package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.d.ts +0 -50
- package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.d.ts +0 -49
- package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.d.ts +0 -23
- package/table-cell-types/table-cell-type-string/table-cell-type-string-config.d.ts +0 -18
- package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +0 -57
- package/table-cell-types/table-cell-types.module.d.ts +0 -26
- package/tel-input/intl-tel-input.d.ts +0 -300
- package/tel-input/models/index.d.ts +0 -2
- package/tel-input/models/tel-input-country-data.d.ts +0 -9
- package/tel-input/models/tel-input-number-format-name.d.ts +0 -4
- package/tel-input/phone-number.pipe.d.ts +0 -14
- package/tel-input/public-api.d.ts +0 -10
- package/tel-input/tel-input/tel-input.component.d.ts +0 -86
- package/tel-input/tel-input-constants.d.ts +0 -4
- package/tel-input/tel-input-validator.d.ts +0 -7
- package/tel-input/tel-input.directive.d.ts +0 -35
- package/tel-input/tel-input.module.d.ts +0 -12
- package/tel-input/testing/tel-input.harness.d.ts +0 -19
- package/tel-input/utils/add-country-code.d.ts +0 -7
- package/tel-input/utils/coerce-phone-number-format.d.ts +0 -7
- package/tel-input/utils/get-country-code.d.ts +0 -2
- package/tel-input/utils/get-dial-code.d.ts +0 -9
- package/tel-input/utils/get-global-intl-tel-input-globals.d.ts +0 -2
- package/tel-input/utils/get-global-intl-tel-input-utils.d.ts +0 -2
- package/tel-input/utils/get-intl-tel-input-utils.d.ts +0 -2
- package/tel-input/utils/get-validation-error-message.d.ts +0 -5
- package/tel-input/utils/index.d.ts +0 -9
- package/tel-input/utils/process-country-codes.d.ts +0 -8
- package/testing/current-tick-time.d.ts +0 -13
- package/testing/fake-toastr.d.ts +0 -30
- package/testing/get-harness.d.ts +0 -7
- package/testing/harnesses/ng-select-dropdown.harness.d.ts +0 -23
- package/testing/harnesses/ng-select-option.harness.d.ts +0 -18
- package/testing/harnesses/ng-select.harness.d.ts +0 -50
- package/testing/public-api.d.ts +0 -9
- package/testing/render-story.d.ts +0 -2
- package/testing/story-expect.d.ts +0 -6
- package/testing/tick-helper.d.ts +0 -70
- package/tiled-select/components/tiled-select/tiled-select.component.d.ts +0 -56
- package/tiled-select/components/tiled-select-tile/tiled-select-tile.component.d.ts +0 -45
- package/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.d.ts +0 -26
- package/tiled-select/directives/tiled-select-tile-icon-tpl.directive.d.ts +0 -8
- package/tiled-select/directives/tiled-select-tile-label-tpl.directive.d.ts +0 -8
- package/tiled-select/directives/tiled-select-tile-overlay.directive.d.ts +0 -10
- package/tiled-select/public-api.d.ts +0 -9
- package/tiled-select/testing/index.d.ts +0 -2
- package/tiled-select/testing/tiled-select-harness.d.ts +0 -9
- package/tiled-select/testing/tiled-select-tile-harness.d.ts +0 -17
- package/tiled-select/tiled-select.models.d.ts +0 -13
- package/tiled-select/tiled-select.module.d.ts +0 -14
- package/toggle-edit/models/can-toggle-edit.d.ts +0 -7
- package/toggle-edit/models/index.d.ts +0 -2
- package/toggle-edit/models/toggle-edit-ref.d.ts +0 -30
- package/toggle-edit/public-api.d.ts +0 -6
- package/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.d.ts +0 -5
- package/toggle-edit/toggle-edit-display-tpl.directive.d.ts +0 -8
- package/toggle-edit/toggle-edit-keyboard-listener.service.d.ts +0 -17
- package/toggle-edit/toggle-edit.component.d.ts +0 -93
- package/toggle-edit/toggle-edit.module.d.ts +0 -18
- package/toggle-group/public-api.d.ts +0 -3
- package/toggle-group/toggle-group-option.directive.d.ts +0 -18
- package/toggle-group/toggle-group.directive.d.ts +0 -38
- package/toggle-group/toggle-group.module.d.ts +0 -10
- package/unsaved-changes-dialog/public-api.d.ts +0 -4
- package/unsaved-changes-dialog/unsaved-changes-can-deactivate.d.ts +0 -7
- package/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +0 -5
- package/unsaved-changes-dialog/unsaved-changes-dialog.guard.d.ts +0 -11
- package/unsaved-changes-dialog/unsaved-changes-dialog.module.d.ts +0 -7
- package/utils/array-move.d.ts +0 -49
- package/utils/calc-percentage.d.ts +0 -1
- package/utils/cdk/get-closest-widget-cdk-drag.d.ts +0 -8
- package/utils/create-padding.d.ts +0 -1
- package/utils/file-utils.d.ts +0 -12
- package/utils/form/get-control-name.d.ts +0 -22
- package/utils/form/get-control-path.d.ts +0 -27
- package/utils/form/has-required-control.d.ts +0 -31
- package/utils/form/is-empty-input-value.d.ts +0 -1
- package/utils/form/observe-control-is-different.d.ts +0 -13
- package/utils/form/observe-control-status.d.ts +0 -7
- package/utils/form/observe-control-valid.d.ts +0 -14
- package/utils/form/observe-control-value-change.d.ts +0 -9
- package/utils/form/observe-control-value.d.ts +0 -6
- package/utils/form/wait-on-non-pending-status.d.ts +0 -12
- package/utils/fractional-digits-count.d.ts +0 -8
- package/utils/geo-json/close-polygons.d.ts +0 -9
- package/utils/geo-json/coerce-feature-collection.d.ts +0 -2
- package/utils/geo-json/geo-json-to-area.d.ts +0 -6
- package/utils/geo-json/is-feature-collection.validator.d.ts +0 -3
- package/utils/geo-json/is-only-geometry-types.d.ts +0 -5
- package/utils/geo-json/is-only-geometry-types.validator.d.ts +0 -4
- package/utils/geo-json/merge-polygons.d.ts +0 -9
- package/utils/geo-json/min-max-points.validator.d.ts +0 -3
- package/utils/geo-json/no-empty-feature-collection.validator.d.ts +0 -3
- package/utils/geo-json/no-inner-rings.validator.d.ts +0 -10
- package/utils/geo-json/no-kinks.validator.d.ts +0 -3
- package/utils/geo-json/read-geo-file.d.ts +0 -7
- package/utils/geo-json/split-multi-polygons.d.ts +0 -8
- package/utils/get-attribute.d.ts +0 -4
- package/utils/has-attribute.d.ts +0 -4
- package/utils/has-property.d.ts +0 -1
- package/utils/input-masks.d.ts +0 -1
- package/utils/is-absolute-url.d.ts +0 -1
- package/utils/is-null-or-undefined-or-empty.d.ts +0 -1
- package/utils/is-null-or-undefined.d.ts +0 -1
- package/utils/is-numeric.d.ts +0 -1
- package/utils/load-style-sheet.d.ts +0 -1
- package/utils/load-style.d.ts +0 -1
- package/utils/not-null-or-undefined-or-empty.d.ts +0 -1
- package/utils/not-null-or-undefined.d.ts +0 -1
- package/utils/obj-utils.d.ts +0 -8
- package/utils/observe-query-list.d.ts +0 -3
- package/utils/operators/index.d.ts +0 -2
- package/utils/operators/map-each.d.ts +0 -2
- package/utils/operators/tap-first.d.ts +0 -5
- package/utils/pad-end.d.ts +0 -1
- package/utils/pad-start.d.ts +0 -1
- package/utils/polling-ticker.d.ts +0 -13
- package/utils/public-api.d.ts +0 -53
- package/utils/refreshable.d.ts +0 -20
- package/utils/router/index.d.ts +0 -6
- package/utils/router/is-empty-url-route.d.ts +0 -2
- package/utils/router/leaf-child-route.d.ts +0 -2
- package/utils/router/operators/activated-routes-with-data-property.d.ts +0 -7
- package/utils/router/route-snapshot-path-full.d.ts +0 -2
- package/utils/router/route-snapshot-path-relative.d.ts +0 -2
- package/utils/router/will-have-data-prop.d.ts +0 -2
- package/utils/subscriber-count.d.ts +0 -13
- package/utils/toggle-attribute.d.ts +0 -16
- package/utils/wait-on-condition-async.d.ts +0 -1
- package/utils/wrap-into-observable.d.ts +0 -2
- package/validators/decimal.validator.d.ts +0 -9
- package/validators/email-exists.validator.d.ts +0 -10
- package/validators/integer.validator.d.ts +0 -9
- package/validators/phone-length.validator.d.ts +0 -7
- package/validators/public-api.d.ts +0 -5
- package/validators/tax-id.validator.d.ts +0 -11
- package/vertical-list-filter/public-api.d.ts +0 -2
- package/vertical-list-filter/testing/index.d.ts +0 -1
- package/vertical-list-filter/testing/vertical-list-filter.harness.d.ts +0 -9
- package/vertical-list-filter/vertical-list-filter.component.d.ts +0 -17
- package/viewers/html-template-viewer/html-template-viewer.component.d.ts +0 -70
- package/viewers/html-template-viewer/html-template-viewer.module.d.ts +0 -10
- package/viewers/html-template-viewer/index.d.ts +0 -2
- package/viewers/pdf-viewer/index.d.ts +0 -3
- package/viewers/pdf-viewer/pdf-page/pdf-page.component.d.ts +0 -42
- package/viewers/pdf-viewer/pdf-renderer.service.d.ts +0 -9
- package/viewers/pdf-viewer/pdf-viewer.component.d.ts +0 -62
- package/viewers/pdf-viewer/pdf-viewer.module.d.ts +0 -10
- package/viewers/public-api.d.ts +0 -2
- package/widget/directives/widget-drag-handle.directive.d.ts +0 -56
- package/widget/directives/widget-icon-tpl.directive.d.ts +0 -8
- package/widget/directives/widget-title-tpl.directive.d.ts +0 -8
- package/widget/preferences/widget-preferences.models.d.ts +0 -8
- package/widget/preferences/widget-preferences.service.d.ts +0 -21
- package/widget/preferences/widget-preferences.token.d.ts +0 -3
- package/widget/public-api.d.ts +0 -41
- package/widget/widget/widget.component.d.ts +0 -85
- package/widget/widget-content-components/widget-button-group/widget-button-group.component.d.ts +0 -5
- package/widget/widget-content-components/widget-button-group/widget-button-group.module.d.ts +0 -9
- package/widget/widget-content-components/widget-content-header/widget-content-header.component.d.ts +0 -5
- package/widget/widget-content-components/widget-content-header/widget-content-header.module.d.ts +0 -8
- package/widget/widget-content-components/widget-description/widget-description.component.d.ts +0 -5
- package/widget/widget-content-components/widget-description/widget-description.module.d.ts +0 -8
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.d.ts +0 -17
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.module.d.ts +0 -8
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.d.ts +0 -5
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.module.d.ts +0 -8
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.d.ts +0 -5
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.module.d.ts +0 -8
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.d.ts +0 -14
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.module.d.ts +0 -8
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.d.ts +0 -8
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.d.ts +0 -65
- package/widget/widget-content-components/widget-list-group/widget-list-group.component.d.ts +0 -5
- package/widget/widget-content-components/widget-list-group/widget-list-group.module.d.ts +0 -11
- package/widget/widget-content-components/widget-table/widget-table.component.d.ts +0 -16
- package/widget/widget-content-components/widget-table/widget-table.module.d.ts +0 -10
- package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.d.ts +0 -5
- package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.d.ts +0 -17
- package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.d.ts +0 -5
- package/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.d.ts +0 -8
- package/widget/widget-content-components/widget-tile/widget-tile.component.d.ts +0 -51
- package/widget/widget-content-components/widget-tile/widget-tile.module.d.ts +0 -13
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.d.ts +0 -5
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.module.d.ts +0 -9
- package/widget/widget-footer/widget-footer.component.d.ts +0 -5
- package/widget/widget-registry.models.d.ts +0 -20
- package/widget/widget-registry.service.d.ts +0 -19
- package/widget/widget-token.d.ts +0 -6
- package/widget/widget.models.d.ts +0 -7
- package/widget/widget.module.d.ts +0 -30
|
@@ -0,0 +1,1447 @@
|
|
|
1
|
+
import * as i1 from '@angular/cdk/a11y';
|
|
2
|
+
import { A11yModule } from '@angular/cdk/a11y';
|
|
3
|
+
import * as i1$1 from '@angular/cdk/overlay';
|
|
4
|
+
import { BlockScrollStrategy, ViewportRuler, Overlay, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
|
|
5
|
+
import * as i3 from '@angular/cdk/portal';
|
|
6
|
+
import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
7
|
+
import * as i3$1 from '@angular/common';
|
|
8
|
+
import { CommonModule } from '@angular/common';
|
|
9
|
+
import * as i0 from '@angular/core';
|
|
10
|
+
import { InjectionToken, DOCUMENT, HostListener, ViewChild, HostBinding, Optional, Inject, Component, inject, Injector, SkipSelf, Injectable, Input, Directive, ContentChild, forwardRef, EventEmitter, isDevMode, Output, NgModule } from '@angular/core';
|
|
11
|
+
import * as i5 from '@angular/forms';
|
|
12
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
13
|
+
import * as i1$2 from '@angular/router';
|
|
14
|
+
import { RouterModule } from '@angular/router';
|
|
15
|
+
import * as i4$1 from '@fortawesome/angular-fontawesome';
|
|
16
|
+
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
17
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
18
|
+
import { Subject, defer, of } from 'rxjs';
|
|
19
|
+
import { distinctUntilChanged, filter, map, startWith, switchMap, takeUntil } from 'rxjs/operators';
|
|
20
|
+
import { trigger, state, transition, style, animate } from '@angular/animations';
|
|
21
|
+
import { ESCAPE } from '@angular/cdk/keycodes';
|
|
22
|
+
import * as i3$2 from '@theseam/ui-common/scrollbar';
|
|
23
|
+
import * as i4 from '@theseam/ui-common/dynamic-component-loader';
|
|
24
|
+
import { __decorate } from 'tslib';
|
|
25
|
+
import { InputBoolean } from '@theseam/ui-common/core';
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Finds the closest MatDialogRef to an element by looking at the DOM.
|
|
29
|
+
* @param element Element relative to which to look for a dialog.
|
|
30
|
+
* @param openDialogs References to the currently-open dialogs.
|
|
31
|
+
*/
|
|
32
|
+
function getClosestModal(element, openDialogs) {
|
|
33
|
+
let parent = element.nativeElement.parentElement;
|
|
34
|
+
while (parent && !parent.classList.contains('seam-modal-container')) {
|
|
35
|
+
parent = parent.parentElement;
|
|
36
|
+
}
|
|
37
|
+
const parentId = parent ? parent.id : null;
|
|
38
|
+
return parentId ? openDialogs.find(dialog => dialog.id === parentId) : null;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// tslint:disable:no-inferrable-types
|
|
42
|
+
class ModalConfig {
|
|
43
|
+
/** Component to use as the container for the dialog. */
|
|
44
|
+
containerComponent;
|
|
45
|
+
/**
|
|
46
|
+
* Where the attached component should live in Angular's *logical* component tree.
|
|
47
|
+
* This affects what is available for injection and the change detection order for the
|
|
48
|
+
* component instantiated inside of the dialog. This does not affect where the dialog
|
|
49
|
+
* content will be rendered.
|
|
50
|
+
*/
|
|
51
|
+
viewContainerRef;
|
|
52
|
+
/** The id of the dialog. */
|
|
53
|
+
id;
|
|
54
|
+
/** The ARIA role of the dialog. */
|
|
55
|
+
role = 'dialog';
|
|
56
|
+
/** Custom class(es) for the overlay panel. */
|
|
57
|
+
panelClass = '';
|
|
58
|
+
/** Whether the dialog has a background. */
|
|
59
|
+
hasBackdrop = true;
|
|
60
|
+
/** Custom class(es) for the backdrop. */
|
|
61
|
+
backdropClass = '';
|
|
62
|
+
/** Whether the dialog can be closed by user interaction. */
|
|
63
|
+
disableClose = false;
|
|
64
|
+
/** The width of the dialog. */
|
|
65
|
+
width = '100%';
|
|
66
|
+
/** The height of the dialog. */
|
|
67
|
+
height = '';
|
|
68
|
+
/** The minimum width of the dialog. */
|
|
69
|
+
minWidth = '';
|
|
70
|
+
/** The minimum height of the dialog. */
|
|
71
|
+
minHeight = '';
|
|
72
|
+
/** The maximum width of the dialog. */
|
|
73
|
+
maxWidth = '';
|
|
74
|
+
/** The maximum height of the dialog. */
|
|
75
|
+
maxHeight = '';
|
|
76
|
+
/** The position of the dialog. */
|
|
77
|
+
position;
|
|
78
|
+
/** Data to be injected into the dialog content. */
|
|
79
|
+
data = null;
|
|
80
|
+
/** The layout direction for the dialog content. */
|
|
81
|
+
direction;
|
|
82
|
+
/** ID of the element that describes the dialog. */
|
|
83
|
+
ariaDescribedBy = null;
|
|
84
|
+
/** Aria label to assign to the dialog element */
|
|
85
|
+
ariaLabel = null;
|
|
86
|
+
/** Whether the dialog should focus the first focusable element on open. */
|
|
87
|
+
autoFocus = true;
|
|
88
|
+
/** Duration of the enter animation. Has to be a valid CSS value (e.g. 100ms). */
|
|
89
|
+
enterAnimationDuration = '225ms';
|
|
90
|
+
/** Duration of the exit animation. Has to be a valid CSS value (e.g. 50ms). */
|
|
91
|
+
exitAnimationDuration = '225ms';
|
|
92
|
+
/** Bootstrap modal sizes */
|
|
93
|
+
modalSize;
|
|
94
|
+
}
|
|
95
|
+
// tslint:enable:no-inferrable-types
|
|
96
|
+
function mergeModalConfigs(a, b) {
|
|
97
|
+
return { ...a, ...b };
|
|
98
|
+
}
|
|
99
|
+
/** Injection token that can be used to specify modal options. */
|
|
100
|
+
const LIB_MODAL_CONFIG = new InjectionToken('seamModalConfig');
|
|
101
|
+
|
|
102
|
+
function throwDialogContentAlreadyAttachedError() {
|
|
103
|
+
throw Error('Attempting to attach dialog content after content is already attached');
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Internal component that wraps user-provided dialog content.
|
|
107
|
+
* @docs-private
|
|
108
|
+
*/
|
|
109
|
+
class ModalContainerComponent extends BasePortalOutlet {
|
|
110
|
+
_elementRef;
|
|
111
|
+
_focusTrapFactory;
|
|
112
|
+
_changeDetectorRef;
|
|
113
|
+
_document;
|
|
114
|
+
_config;
|
|
115
|
+
get _idAttr() { return this._id; }
|
|
116
|
+
// @HostBinding is used in the class as it is expected to be extended. Since @Component decorator
|
|
117
|
+
// metadata is not inherited by child classes, instead the host binding data is defined in a way
|
|
118
|
+
// that can be inherited.
|
|
119
|
+
// tslint:disable:no-host-decorator-in-concrete
|
|
120
|
+
get _ariaLabel() { return this._config.ariaLabel || null; }
|
|
121
|
+
get _ariaDescribedBy() { return this._config.ariaDescribedBy; }
|
|
122
|
+
get _role() { return this._config.role; }
|
|
123
|
+
// @HostBinding('attr.tabindex') get _tabindex() { return -1 }
|
|
124
|
+
_seamModalContainer = true;
|
|
125
|
+
_id;
|
|
126
|
+
constructor(_elementRef, _focusTrapFactory, _changeDetectorRef, _document,
|
|
127
|
+
/** The dialog configuration. */
|
|
128
|
+
_config) {
|
|
129
|
+
super();
|
|
130
|
+
this._elementRef = _elementRef;
|
|
131
|
+
this._focusTrapFactory = _focusTrapFactory;
|
|
132
|
+
this._changeDetectorRef = _changeDetectorRef;
|
|
133
|
+
this._document = _document;
|
|
134
|
+
this._config = _config;
|
|
135
|
+
this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement, {
|
|
136
|
+
defer: true,
|
|
137
|
+
});
|
|
138
|
+
// We use a Subject with a distinctUntilChanged, rather than a callback attached to .done,
|
|
139
|
+
// because some browsers fire the done event twice and we don't want to emit duplicate events.
|
|
140
|
+
// See: https://github.com/angular/angular/issues/24084
|
|
141
|
+
this._animationDone.pipe(distinctUntilChanged((x, y) => {
|
|
142
|
+
return x.fromState === y.fromState && x.toState === y.toState;
|
|
143
|
+
})).subscribe(event => {
|
|
144
|
+
// Emit lifecycle events based on animation `done` callback.
|
|
145
|
+
if (event.toState === 'enter') {
|
|
146
|
+
this._autoFocusFirstTabbableElement();
|
|
147
|
+
this._afterEnter.next();
|
|
148
|
+
this._afterEnter.complete();
|
|
149
|
+
}
|
|
150
|
+
if (event.fromState === 'enter' && (event.toState === 'void' || event.toState === 'exit')) {
|
|
151
|
+
this._returnFocusAfterDialog();
|
|
152
|
+
this._afterExit.next();
|
|
153
|
+
this._afterExit.complete();
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
/** State of the dialog animation. */
|
|
158
|
+
_state = 'enter';
|
|
159
|
+
/** Element that was focused before the dialog was opened. Save this to restore upon close. */
|
|
160
|
+
_elementFocusedBeforeDialogWasOpened = null;
|
|
161
|
+
/** The class that traps and manages focus within the dialog. */
|
|
162
|
+
_focusTrap;
|
|
163
|
+
_modalDialog = true;
|
|
164
|
+
_modalDialogCentered = true;
|
|
165
|
+
get _modalDialogSm() { return this._config.modalSize === 'sm'; }
|
|
166
|
+
get _modalDialogLg() { return this._config.modalSize === 'lg'; }
|
|
167
|
+
get _modalDialogXl() { return this._config.modalSize === 'xl'; }
|
|
168
|
+
/** The portal host inside of this container into which the dialog content will be loaded. */
|
|
169
|
+
_portalHost;
|
|
170
|
+
/** A subject emitting before the dialog enters the view. */
|
|
171
|
+
_beforeEnter = new Subject();
|
|
172
|
+
/** A subject emitting after the dialog enters the view. */
|
|
173
|
+
_afterEnter = new Subject();
|
|
174
|
+
/** A subject emitting before the dialog exits the view. */
|
|
175
|
+
_beforeExit = new Subject();
|
|
176
|
+
/** A subject emitting after the dialog exits the view. */
|
|
177
|
+
_afterExit = new Subject();
|
|
178
|
+
/** Stream of animation `done` events. */
|
|
179
|
+
_animationDone = new Subject();
|
|
180
|
+
// NOTE: For current bootstrap style modal
|
|
181
|
+
_onClick(event) {
|
|
182
|
+
event.stopPropagation();
|
|
183
|
+
}
|
|
184
|
+
/** Destroy focus trap to place focus back to the element focused before the dialog opened. */
|
|
185
|
+
ngOnDestroy() {
|
|
186
|
+
this._focusTrap.destroy();
|
|
187
|
+
this._animationDone.complete();
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Attach a ComponentPortal as content to this dialog container.
|
|
191
|
+
* @param portal Portal to be attached as the dialog content.
|
|
192
|
+
*/
|
|
193
|
+
attachComponentPortal(portal) {
|
|
194
|
+
if (!this._portalHost) {
|
|
195
|
+
throw Error(`_portalHost not found.`);
|
|
196
|
+
}
|
|
197
|
+
if (this._portalHost.hasAttached()) {
|
|
198
|
+
throwDialogContentAlreadyAttachedError();
|
|
199
|
+
}
|
|
200
|
+
this._savePreviouslyFocusedElement();
|
|
201
|
+
return this._portalHost.attachComponentPortal(portal);
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Attach a TemplatePortal as content to this dialog container.
|
|
205
|
+
* @param portal Portal to be attached as the dialog content.
|
|
206
|
+
*/
|
|
207
|
+
attachTemplatePortal(portal) {
|
|
208
|
+
if (!this._portalHost) {
|
|
209
|
+
throw Error(`_portalHost not found.`);
|
|
210
|
+
}
|
|
211
|
+
if (this._portalHost.hasAttached()) {
|
|
212
|
+
throwDialogContentAlreadyAttachedError();
|
|
213
|
+
}
|
|
214
|
+
this._savePreviouslyFocusedElement();
|
|
215
|
+
return this._portalHost.attachTemplatePortal(portal);
|
|
216
|
+
}
|
|
217
|
+
/** Emit lifecycle events based on animation `start` callback. */
|
|
218
|
+
_onAnimationStart(event) {
|
|
219
|
+
if (event.toState === 'enter') {
|
|
220
|
+
this._beforeEnter.next();
|
|
221
|
+
this._beforeEnter.complete();
|
|
222
|
+
}
|
|
223
|
+
if (event.fromState === 'enter' && (event.toState === 'void' || event.toState === 'exit')) {
|
|
224
|
+
this._beforeExit.next();
|
|
225
|
+
this._beforeExit.complete();
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
/** Starts the dialog exit animation. */
|
|
229
|
+
_startExiting() {
|
|
230
|
+
this._state = 'exit';
|
|
231
|
+
// Mark the container for check so it can react if the
|
|
232
|
+
// view container is using OnPush change detection.
|
|
233
|
+
this._changeDetectorRef.markForCheck();
|
|
234
|
+
}
|
|
235
|
+
/** Saves a reference to the element that was focused before the dialog was opened. */
|
|
236
|
+
_savePreviouslyFocusedElement() {
|
|
237
|
+
if (this._document) {
|
|
238
|
+
this._elementFocusedBeforeDialogWasOpened = this._document.activeElement;
|
|
239
|
+
// Move focus onto the dialog immediately in order to prevent the user from accidentally
|
|
240
|
+
// opening multiple dialogs at the same time. Needs to be async, because the element
|
|
241
|
+
// may not be focusable immediately.
|
|
242
|
+
Promise.resolve().then(() => this._elementRef.nativeElement.focus());
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Autofocus the first tabbable element inside of the dialog, if there is not a tabbable element,
|
|
247
|
+
* focus the dialog instead.
|
|
248
|
+
*/
|
|
249
|
+
_autoFocusFirstTabbableElement() {
|
|
250
|
+
// If were to attempt to focus immediately, then the content of the dialog would not yet be
|
|
251
|
+
// ready in instances where change detection has to run first. To deal with this, we simply
|
|
252
|
+
// wait for the microtask queue to be empty.
|
|
253
|
+
if (this._config.autoFocus) {
|
|
254
|
+
this._focusTrap.focusInitialElementWhenReady().then(hasMovedFocus => {
|
|
255
|
+
// If we didn't find any focusable elements inside the dialog, focus the
|
|
256
|
+
// container so the user can't tab into other elements behind it.
|
|
257
|
+
if (!hasMovedFocus) {
|
|
258
|
+
this._elementRef.nativeElement.focus();
|
|
259
|
+
}
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
/** Returns the focus to the element focused before the dialog was open. */
|
|
264
|
+
_returnFocusAfterDialog() {
|
|
265
|
+
const toFocus = this._elementFocusedBeforeDialogWasOpened;
|
|
266
|
+
// We need the extra check, because IE can set the `activeElement` to null in some cases.
|
|
267
|
+
if (toFocus && typeof toFocus.focus === 'function') {
|
|
268
|
+
toFocus.focus();
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
getNativeElement() {
|
|
272
|
+
return this._elementRef.nativeElement;
|
|
273
|
+
}
|
|
274
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalContainerComponent, deps: [{ token: i0.ElementRef }, { token: i1.ConfigurableFocusTrapFactory }, { token: i0.ChangeDetectorRef }, { token: DOCUMENT, optional: true }, { token: ModalConfig }], target: i0.ɵɵFactoryTarget.Component });
|
|
275
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: ModalContainerComponent, isStandalone: false, selector: "seam-modal-container", host: { listeners: { "@dialog.start": "_onAnimationStart($event)", "@dialog.done": "_animationDone.next($event)", "click": "_onClick($event)" }, properties: { "@dialog": "{\n value: _state,\n params: {\n enterAnimationDuration: _config.enterAnimationDuration,\n exitAnimationDuration: _config.exitAnimationDuration\n }\n }", "attr.id": "this._idAttr", "attr.aria-label": "this._ariaLabel", "attr.aria-describedby": "this._ariaDescribedBy", "attr.role": "this._role", "class.seam-modal-container": "this._seamModalContainer", "class.modal-dialog": "this._modalDialog", "class.modal-dialog-centered": "this._modalDialogCentered", "class.modal-sm": "this._modalDialogSm", "class.modal-lg": "this._modalDialogLg", "class.modal-xl": "this._modalDialogXl" } }, viewQueries: [{ propertyName: "_portalHost", first: true, predicate: CdkPortalOutlet /*, { static: true }*/, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"modal-content\" [tabindex]=\"-1\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n", styles: [":host[tabindex=\"-1\"]:focus:not(:focus-visible){outline:0!important}\n"], dependencies: [{ kind: "directive", type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [
|
|
276
|
+
trigger('dialog', [
|
|
277
|
+
state('enter', style({ opacity: 1 })),
|
|
278
|
+
state('exit, void', style({ opacity: 0 })),
|
|
279
|
+
transition('* => enter', animate('{{enterAnimationDuration}}')),
|
|
280
|
+
transition('* => exit, * => void', animate('{{exitAnimationDuration}}')),
|
|
281
|
+
])
|
|
282
|
+
] });
|
|
283
|
+
}
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalContainerComponent, decorators: [{
|
|
285
|
+
type: Component,
|
|
286
|
+
args: [{ selector: 'seam-modal-container', animations: [
|
|
287
|
+
trigger('dialog', [
|
|
288
|
+
state('enter', style({ opacity: 1 })),
|
|
289
|
+
state('exit, void', style({ opacity: 0 })),
|
|
290
|
+
transition('* => enter', animate('{{enterAnimationDuration}}')),
|
|
291
|
+
transition('* => exit, * => void', animate('{{exitAnimationDuration}}')),
|
|
292
|
+
])
|
|
293
|
+
], host: {
|
|
294
|
+
'[@dialog]': `{
|
|
295
|
+
value: _state,
|
|
296
|
+
params: {
|
|
297
|
+
enterAnimationDuration: _config.enterAnimationDuration,
|
|
298
|
+
exitAnimationDuration: _config.exitAnimationDuration
|
|
299
|
+
}
|
|
300
|
+
}`,
|
|
301
|
+
'(@dialog.start)': '_onAnimationStart($event)',
|
|
302
|
+
'(@dialog.done)': '_animationDone.next($event)',
|
|
303
|
+
}, standalone: false, template: "<div class=\"modal-content\" [tabindex]=\"-1\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n", styles: [":host[tabindex=\"-1\"]:focus:not(:focus-visible){outline:0!important}\n"] }]
|
|
304
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.ConfigurableFocusTrapFactory }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
305
|
+
type: Optional
|
|
306
|
+
}, {
|
|
307
|
+
type: Inject,
|
|
308
|
+
args: [DOCUMENT]
|
|
309
|
+
}] }, { type: ModalConfig }], propDecorators: { _idAttr: [{
|
|
310
|
+
type: HostBinding,
|
|
311
|
+
args: ['attr.id']
|
|
312
|
+
}], _ariaLabel: [{
|
|
313
|
+
type: HostBinding,
|
|
314
|
+
args: ['attr.aria-label']
|
|
315
|
+
}], _ariaDescribedBy: [{
|
|
316
|
+
type: HostBinding,
|
|
317
|
+
args: ['attr.aria-describedby']
|
|
318
|
+
}], _role: [{
|
|
319
|
+
type: HostBinding,
|
|
320
|
+
args: ['attr.role']
|
|
321
|
+
}], _seamModalContainer: [{
|
|
322
|
+
type: HostBinding,
|
|
323
|
+
args: ['class.seam-modal-container']
|
|
324
|
+
}], _modalDialog: [{
|
|
325
|
+
type: HostBinding,
|
|
326
|
+
args: ['class.modal-dialog']
|
|
327
|
+
}], _modalDialogCentered: [{
|
|
328
|
+
type: HostBinding,
|
|
329
|
+
args: ['class.modal-dialog-centered']
|
|
330
|
+
}], _modalDialogSm: [{
|
|
331
|
+
type: HostBinding,
|
|
332
|
+
args: ['class.modal-sm']
|
|
333
|
+
}], _modalDialogLg: [{
|
|
334
|
+
type: HostBinding,
|
|
335
|
+
args: ['class.modal-lg']
|
|
336
|
+
}], _modalDialogXl: [{
|
|
337
|
+
type: HostBinding,
|
|
338
|
+
args: ['class.modal-xl']
|
|
339
|
+
}], _portalHost: [{
|
|
340
|
+
type: ViewChild,
|
|
341
|
+
args: [CdkPortalOutlet /*, { static: true }*/, { static: true }]
|
|
342
|
+
}], _onClick: [{
|
|
343
|
+
type: HostListener,
|
|
344
|
+
args: ['click', ['$event']]
|
|
345
|
+
}] } });
|
|
346
|
+
|
|
347
|
+
/** Injection token that determines the scroll handling while the dialog is open. */
|
|
348
|
+
const MODAL_SCROLL_STRATEGY = new InjectionToken('ModalScrollStrategy', {
|
|
349
|
+
providedIn: 'root',
|
|
350
|
+
factory: () => {
|
|
351
|
+
const injector = inject(Injector);
|
|
352
|
+
return () => new BlockScrollStrategy(injector.get(ViewportRuler), injector.get(DOCUMENT));
|
|
353
|
+
},
|
|
354
|
+
});
|
|
355
|
+
/** Injection token for the Dialog's Data. */
|
|
356
|
+
const MODAL_DATA = new InjectionToken('ModalData');
|
|
357
|
+
/** Injection token for the DialogConfig. */
|
|
358
|
+
const MODAL_CONFIG = new InjectionToken('ModalConfig');
|
|
359
|
+
/** Injection token for the Dialog's DialogContainer component. */
|
|
360
|
+
const MODAL_CONTAINER = new InjectionToken('ModalContainer');
|
|
361
|
+
/** @docs-private */
|
|
362
|
+
function THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay) {
|
|
363
|
+
return () => overlay.scrollStrategies.block();
|
|
364
|
+
}
|
|
365
|
+
/** @docs-private */
|
|
366
|
+
const THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER = {
|
|
367
|
+
provide: MODAL_SCROLL_STRATEGY,
|
|
368
|
+
deps: [Overlay],
|
|
369
|
+
useFactory: THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER_FACTORY,
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
const DRAG_CLOSE_THRESHOLD = 5;
|
|
373
|
+
/** Unique id for the created dialog. */
|
|
374
|
+
let uniqueId = 0;
|
|
375
|
+
/**
|
|
376
|
+
* Reference to a dialog opened via the Dialog service.
|
|
377
|
+
*/
|
|
378
|
+
class ModalRef {
|
|
379
|
+
_overlayRef;
|
|
380
|
+
_containerInstance;
|
|
381
|
+
id;
|
|
382
|
+
/** The instance of the component in the dialog. */
|
|
383
|
+
componentInstance = null;
|
|
384
|
+
/** Whether the user is allowed to close the dialog. */
|
|
385
|
+
disableClose;
|
|
386
|
+
/** Result to be passed to afterClosed. */
|
|
387
|
+
_result;
|
|
388
|
+
_clickOutsideCleanup = null;
|
|
389
|
+
constructor(_overlayRef, _containerInstance, id = `seam-modal-${uniqueId++}`) {
|
|
390
|
+
this._overlayRef = _overlayRef;
|
|
391
|
+
this._containerInstance = _containerInstance;
|
|
392
|
+
this.id = id;
|
|
393
|
+
// Pass the id along to the container.
|
|
394
|
+
_containerInstance._id = id;
|
|
395
|
+
// If the dialog has a backdrop, handle clicks from the backdrop.
|
|
396
|
+
if (_containerInstance._config.hasBackdrop) {
|
|
397
|
+
_overlayRef.backdropClick().subscribe(() => {
|
|
398
|
+
if (!this.disableClose) {
|
|
399
|
+
this.close();
|
|
400
|
+
}
|
|
401
|
+
});
|
|
402
|
+
this._clickOutsideCleanup = this._initCloseOnClickOutside();
|
|
403
|
+
}
|
|
404
|
+
this.beforeClosed().subscribe(() => {
|
|
405
|
+
this._overlayRef.detachBackdrop();
|
|
406
|
+
});
|
|
407
|
+
this.afterClosed().subscribe(() => {
|
|
408
|
+
this._overlayRef.detach();
|
|
409
|
+
this._overlayRef.dispose();
|
|
410
|
+
this.componentInstance = null;
|
|
411
|
+
});
|
|
412
|
+
// Close when escape keydown event occurs
|
|
413
|
+
_overlayRef.keydownEvents()
|
|
414
|
+
// tslint:disable-next-line:deprecation
|
|
415
|
+
.pipe(filter(event => event.keyCode === ESCAPE && !this.disableClose))
|
|
416
|
+
.subscribe(() => this.close());
|
|
417
|
+
}
|
|
418
|
+
_initCloseOnClickOutside() {
|
|
419
|
+
const close = () => {
|
|
420
|
+
if (!this.disableClose) {
|
|
421
|
+
this.close();
|
|
422
|
+
}
|
|
423
|
+
};
|
|
424
|
+
const isInContainer = (target) => {
|
|
425
|
+
return this._containerInstance.getNativeElement().contains(target);
|
|
426
|
+
};
|
|
427
|
+
const getPosition = (event) => {
|
|
428
|
+
return { x: event.clientX, y: event.clientY };
|
|
429
|
+
};
|
|
430
|
+
const dist = (x1, y1, x2, y2) => {
|
|
431
|
+
return Math.sqrt(Math.pow((x2 - x1), 2) + Math.pow((y2 - y1), 2));
|
|
432
|
+
};
|
|
433
|
+
let pressed = false;
|
|
434
|
+
let pressedPosition = null;
|
|
435
|
+
const _handlePressDown = (event) => {
|
|
436
|
+
pressed = true;
|
|
437
|
+
pressedPosition = getPosition(event);
|
|
438
|
+
};
|
|
439
|
+
const _handlePressUp = (event) => {
|
|
440
|
+
if (pressedPosition) {
|
|
441
|
+
const target = event.target;
|
|
442
|
+
if (target && !isInContainer(target)) {
|
|
443
|
+
const currentPosition = getPosition(event);
|
|
444
|
+
const d = dist(currentPosition.x, currentPosition.y, pressedPosition.x, pressedPosition.y);
|
|
445
|
+
if (d < DRAG_CLOSE_THRESHOLD) {
|
|
446
|
+
close();
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
pressedPosition = null;
|
|
450
|
+
}
|
|
451
|
+
else if (pressed) {
|
|
452
|
+
close();
|
|
453
|
+
}
|
|
454
|
+
pressed = false;
|
|
455
|
+
};
|
|
456
|
+
this._overlayRef.overlayElement.addEventListener('mousedown', _handlePressDown);
|
|
457
|
+
this._overlayRef.overlayElement.addEventListener('pointerdown', _handlePressDown);
|
|
458
|
+
this._overlayRef.overlayElement.addEventListener('mouseup', _handlePressUp);
|
|
459
|
+
this._overlayRef.overlayElement.addEventListener('pointerup', _handlePressUp);
|
|
460
|
+
return () => {
|
|
461
|
+
this._overlayRef.overlayElement.removeEventListener('mousedown', _handlePressDown);
|
|
462
|
+
this._overlayRef.overlayElement.removeEventListener('pointerdown', _handlePressDown);
|
|
463
|
+
this._overlayRef.overlayElement.removeEventListener('mouseup', _handlePressUp);
|
|
464
|
+
this._overlayRef.overlayElement.removeEventListener('pointerup', _handlePressUp);
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
/** Gets an observable that emits when the overlay's backdrop has been clicked. */
|
|
468
|
+
backdropClick() {
|
|
469
|
+
return this._overlayRef.backdropClick();
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* Close the dialog.
|
|
473
|
+
* @param dialogResult Optional result to return to the dialog opener.
|
|
474
|
+
*/
|
|
475
|
+
close(dialogResult) {
|
|
476
|
+
this._result = dialogResult;
|
|
477
|
+
this._containerInstance._startExiting();
|
|
478
|
+
if (this._clickOutsideCleanup) {
|
|
479
|
+
this._clickOutsideCleanup();
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* Updates the dialog's position.
|
|
484
|
+
* @param position New dialog position.
|
|
485
|
+
*/
|
|
486
|
+
updatePosition(position) {
|
|
487
|
+
const strategy = this._getPositionStrategy();
|
|
488
|
+
if (position && (position.left || position.right)) {
|
|
489
|
+
position.left ? strategy.left(position.left) : strategy.right(position.right);
|
|
490
|
+
}
|
|
491
|
+
else {
|
|
492
|
+
strategy.centerHorizontally();
|
|
493
|
+
}
|
|
494
|
+
if (position && (position.top || position.bottom)) {
|
|
495
|
+
position.top ? strategy.top(position.top) : strategy.bottom(position.bottom);
|
|
496
|
+
}
|
|
497
|
+
else {
|
|
498
|
+
strategy.centerVertically();
|
|
499
|
+
}
|
|
500
|
+
this._overlayRef.updatePosition();
|
|
501
|
+
return this;
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* Gets an observable that emits when keydown events are targeted on the overlay.
|
|
505
|
+
*/
|
|
506
|
+
keydownEvents() {
|
|
507
|
+
return this._overlayRef.keydownEvents();
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* Updates the dialog's width and height, defined, min and max.
|
|
511
|
+
* @param size New size for the overlay.
|
|
512
|
+
*/
|
|
513
|
+
updateSize(size) {
|
|
514
|
+
if (size.width) {
|
|
515
|
+
// tslint:disable-next-line:deprecation
|
|
516
|
+
this._getPositionStrategy().width(size.width.toString());
|
|
517
|
+
}
|
|
518
|
+
if (size.height) {
|
|
519
|
+
// tslint:disable-next-line:deprecation
|
|
520
|
+
this._getPositionStrategy().height(size.height.toString());
|
|
521
|
+
}
|
|
522
|
+
this._overlayRef.updateSize(size);
|
|
523
|
+
this._overlayRef.updatePosition();
|
|
524
|
+
return this;
|
|
525
|
+
}
|
|
526
|
+
/** Fetches the position strategy object from the overlay ref. */
|
|
527
|
+
_getPositionStrategy() {
|
|
528
|
+
return this._overlayRef.getConfig().positionStrategy;
|
|
529
|
+
}
|
|
530
|
+
/** Gets an observable that emits when dialog begins opening. */
|
|
531
|
+
beforeOpened() {
|
|
532
|
+
return this._containerInstance._beforeEnter.asObservable();
|
|
533
|
+
}
|
|
534
|
+
/** Gets an observable that emits when dialog is finished opening. */
|
|
535
|
+
afterOpened() {
|
|
536
|
+
return this._containerInstance._afterEnter.asObservable();
|
|
537
|
+
}
|
|
538
|
+
/** Gets an observable that emits when dialog begins closing. */
|
|
539
|
+
beforeClosed() {
|
|
540
|
+
return this._containerInstance._beforeExit.pipe(map(() => this._result));
|
|
541
|
+
}
|
|
542
|
+
/** Gets an observable that emits when dialog is finished closing. */
|
|
543
|
+
afterClosed() {
|
|
544
|
+
return this._containerInstance._afterExit.pipe(map(() => this._result));
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Service to open modal dialogs.
|
|
550
|
+
*/
|
|
551
|
+
class Modal {
|
|
552
|
+
overlay;
|
|
553
|
+
injector;
|
|
554
|
+
_parentDialog;
|
|
555
|
+
_scrollbars;
|
|
556
|
+
_dynamicComponentLoaderModule;
|
|
557
|
+
_scrollStrategy;
|
|
558
|
+
_dialogRefConstructor = ModalRef;
|
|
559
|
+
/** Stream that emits when all dialogs are closed. */
|
|
560
|
+
get _afterAllClosed() {
|
|
561
|
+
return this._parentDialog ? this._parentDialog.afterAllClosed : this._afterAllClosedBase;
|
|
562
|
+
}
|
|
563
|
+
_afterAllClosedBase = new Subject();
|
|
564
|
+
afterAllClosed = defer(() => this.openDialogs.length
|
|
565
|
+
? this._afterAllClosed : this._afterAllClosed.pipe(startWith(undefined)));
|
|
566
|
+
/** Stream that emits when a dialog is opened. */
|
|
567
|
+
get afterOpened() {
|
|
568
|
+
return this._parentDialog ? this._parentDialog.afterOpened : this._afterOpened;
|
|
569
|
+
}
|
|
570
|
+
_afterOpened = new Subject();
|
|
571
|
+
/** Stream that emits when a dialog is opened. */
|
|
572
|
+
get openDialogs() {
|
|
573
|
+
return this._parentDialog ? this._parentDialog.openDialogs : this._openDialogs;
|
|
574
|
+
}
|
|
575
|
+
_openDialogs = [];
|
|
576
|
+
constructor(overlay, injector, scrollStrategy, _parentDialog, location, _scrollbars, _dynamicComponentLoaderModule) {
|
|
577
|
+
this.overlay = overlay;
|
|
578
|
+
this.injector = injector;
|
|
579
|
+
this._parentDialog = _parentDialog;
|
|
580
|
+
this._scrollbars = _scrollbars;
|
|
581
|
+
this._dynamicComponentLoaderModule = _dynamicComponentLoaderModule;
|
|
582
|
+
// Close all of the dialogs when the user goes forwards/backwards in history or when the
|
|
583
|
+
// location hash changes. Note that this usually doesn't include clicking on links (unless
|
|
584
|
+
// the user is using the `HashLocationStrategy`).
|
|
585
|
+
if (!_parentDialog && location) {
|
|
586
|
+
location.subscribe(() => this.closeAll());
|
|
587
|
+
}
|
|
588
|
+
this._scrollStrategy = scrollStrategy;
|
|
589
|
+
}
|
|
590
|
+
/** Gets an open dialog by id. */
|
|
591
|
+
getById(id) {
|
|
592
|
+
return this._openDialogs.find(ref => ref.id === id);
|
|
593
|
+
}
|
|
594
|
+
/** Closes all open dialogs. */
|
|
595
|
+
closeAll() {
|
|
596
|
+
this.openDialogs.forEach(ref => ref.close());
|
|
597
|
+
}
|
|
598
|
+
/** Opens a dialog from a component. */
|
|
599
|
+
openFromComponent(component, config) {
|
|
600
|
+
const _config = this._applyConfigDefaults(config);
|
|
601
|
+
if (_config.id && this.getById(_config.id)) {
|
|
602
|
+
throw Error(`Modal with id "${_config.id}" exists already. The modal id must be unique.`);
|
|
603
|
+
}
|
|
604
|
+
const overlayRef = this._createOverlay(_config);
|
|
605
|
+
const dialogContainer = this._attachDialogContainer(overlayRef, _config);
|
|
606
|
+
const dialogRef = this._attachDialogContentForComponent(component, dialogContainer, overlayRef, _config);
|
|
607
|
+
this.registerDialogRef(dialogRef);
|
|
608
|
+
return dialogRef;
|
|
609
|
+
}
|
|
610
|
+
/** Opens a dialog from a template. */
|
|
611
|
+
openFromTemplate(template, config) {
|
|
612
|
+
const _config = this._applyConfigDefaults(config);
|
|
613
|
+
if (_config.id && this.getById(_config.id)) {
|
|
614
|
+
throw Error(`Modal with id "${_config.id}" exists already. The modal id must be unique.`);
|
|
615
|
+
}
|
|
616
|
+
const overlayRef = this._createOverlay(_config);
|
|
617
|
+
const dialogContainer = this._attachDialogContainer(overlayRef, _config);
|
|
618
|
+
const dialogRef = this._attachDialogContentForTemplate(template, dialogContainer, overlayRef, _config);
|
|
619
|
+
this.registerDialogRef(dialogRef);
|
|
620
|
+
return dialogRef;
|
|
621
|
+
}
|
|
622
|
+
/** Opens a dialog from a lazy-loaded component. */
|
|
623
|
+
openFromLazyComponent(componentId, config) {
|
|
624
|
+
const _config = this._applyConfigDefaults(config);
|
|
625
|
+
if (_config.id && this.getById(_config.id)) {
|
|
626
|
+
throw Error(`Modal with id "${_config.id}" exists already. The modal id must be unique.`);
|
|
627
|
+
}
|
|
628
|
+
return this._dynamicComponentLoaderModule
|
|
629
|
+
.getComponentFactory(componentId)
|
|
630
|
+
.pipe(switchMap(componentFactory => {
|
|
631
|
+
const modalRef = this.openFromComponent(componentFactory.componentType, _config);
|
|
632
|
+
return of(modalRef);
|
|
633
|
+
}));
|
|
634
|
+
}
|
|
635
|
+
ngOnDestroy() {
|
|
636
|
+
// Only close all the dialogs at this level.
|
|
637
|
+
this._openDialogs.forEach(ref => ref.close());
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* Forwards emitting events for when dialogs are opened and all dialogs are closed.
|
|
641
|
+
*/
|
|
642
|
+
registerDialogRef(dialogRef) {
|
|
643
|
+
this.openDialogs.push(dialogRef);
|
|
644
|
+
let cleanupScroll;
|
|
645
|
+
const dialogBeforeOpenSub = dialogRef.beforeOpened().subscribe(() => {
|
|
646
|
+
cleanupScroll = this._registerDialogRefScrollEvents(dialogRef);
|
|
647
|
+
dialogBeforeOpenSub.unsubscribe();
|
|
648
|
+
});
|
|
649
|
+
const dialogBeforeCloseSub = dialogRef.beforeClosed().subscribe(() => {
|
|
650
|
+
// TODO: Do I need to destroy the instance? I feel like I should, but the
|
|
651
|
+
// way I have this implemented currently causes the native scrollbar to
|
|
652
|
+
// appear before the element is removed from the DOM.
|
|
653
|
+
// this._scrollbars.destroyInstance(dialogRef._overlayRef.overlayElement)
|
|
654
|
+
if (cleanupScroll) {
|
|
655
|
+
cleanupScroll();
|
|
656
|
+
}
|
|
657
|
+
dialogBeforeCloseSub.unsubscribe();
|
|
658
|
+
});
|
|
659
|
+
const dialogOpenSub = dialogRef.afterOpened().subscribe(() => {
|
|
660
|
+
this.afterOpened.next(dialogRef);
|
|
661
|
+
dialogOpenSub.unsubscribe();
|
|
662
|
+
});
|
|
663
|
+
const dialogCloseSub = dialogRef.afterClosed().subscribe(() => {
|
|
664
|
+
// this._scrollbars.destroyInstance(dialogRef._overlayRef.overlayElement)
|
|
665
|
+
const dialogIndex = this._openDialogs.indexOf(dialogRef);
|
|
666
|
+
if (dialogIndex > -1) {
|
|
667
|
+
this._openDialogs.splice(dialogIndex, 1);
|
|
668
|
+
}
|
|
669
|
+
if (!this._openDialogs.length) {
|
|
670
|
+
this._afterAllClosedBase.next();
|
|
671
|
+
dialogCloseSub.unsubscribe();
|
|
672
|
+
}
|
|
673
|
+
});
|
|
674
|
+
}
|
|
675
|
+
// TODO: Cleanup. This was rushed together fast and became an unefficient mess.
|
|
676
|
+
_registerDialogRefScrollEvents(dialogRef) {
|
|
677
|
+
const _scrollbarMouseDownListener = () => {
|
|
678
|
+
if (dialogRef) {
|
|
679
|
+
dialogRef.disableClose = true;
|
|
680
|
+
}
|
|
681
|
+
};
|
|
682
|
+
const _scrollbarMouseUpListener = () => {
|
|
683
|
+
setTimeout(() => { if (dialogRef) {
|
|
684
|
+
dialogRef.disableClose = false;
|
|
685
|
+
} });
|
|
686
|
+
};
|
|
687
|
+
let verticalHandleElement;
|
|
688
|
+
let horizontalHandleElement;
|
|
689
|
+
this._scrollbars.initializeInstance(dialogRef._overlayRef.overlayElement, {
|
|
690
|
+
callbacks: {
|
|
691
|
+
onInitialized: () => {
|
|
692
|
+
// console.log('onInitialized')
|
|
693
|
+
setTimeout(() => {
|
|
694
|
+
const instance = this._scrollbars.getInstance(dialogRef._overlayRef.overlayElement);
|
|
695
|
+
if (instance) {
|
|
696
|
+
verticalHandleElement = instance.getElements().scrollbarVertical.handle;
|
|
697
|
+
if (verticalHandleElement) {
|
|
698
|
+
verticalHandleElement.addEventListener('mousedown', _scrollbarMouseDownListener);
|
|
699
|
+
verticalHandleElement.addEventListener('touchstart', _scrollbarMouseDownListener);
|
|
700
|
+
}
|
|
701
|
+
horizontalHandleElement = instance.getElements().scrollbarHorizontal.handle;
|
|
702
|
+
if (horizontalHandleElement) {
|
|
703
|
+
horizontalHandleElement.addEventListener('mousedown', _scrollbarMouseDownListener);
|
|
704
|
+
horizontalHandleElement.addEventListener('touchstart', _scrollbarMouseDownListener);
|
|
705
|
+
}
|
|
706
|
+
if (verticalHandleElement || horizontalHandleElement) {
|
|
707
|
+
document.addEventListener('mouseup', _scrollbarMouseUpListener);
|
|
708
|
+
document.addEventListener('touchend', _scrollbarMouseUpListener);
|
|
709
|
+
document.addEventListener('touchcancel', _scrollbarMouseUpListener);
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
});
|
|
713
|
+
},
|
|
714
|
+
onDestroyed: () => {
|
|
715
|
+
// console.log('onDestroyed')
|
|
716
|
+
// // const instance = this._scrollbars.getInstance(dialogRef._overlayRef.overlayElement)
|
|
717
|
+
// // const scrollElem = instance.getElements().scrollbarVertical.handle
|
|
718
|
+
// if (verticalHandleElement) {
|
|
719
|
+
// verticalHandleElement.removeEventListener('mousedown', _scrollbarMouseDownListener)
|
|
720
|
+
// verticalHandleElement.removeEventListener('touchstart', _scrollbarMouseDownListener)
|
|
721
|
+
// }
|
|
722
|
+
// if (horizontalHandleElement) {
|
|
723
|
+
// horizontalHandleElement.removeEventListener('mousedown', _scrollbarMouseDownListener)
|
|
724
|
+
// horizontalHandleElement.removeEventListener('touchstart', _scrollbarMouseDownListener)
|
|
725
|
+
// }
|
|
726
|
+
// if (verticalHandleElement || horizontalHandleElement) {
|
|
727
|
+
// document.removeEventListener('mouseup', _scrollbarMouseUpListener)
|
|
728
|
+
// document.removeEventListener('touchend', _scrollbarMouseUpListener)
|
|
729
|
+
// document.removeEventListener('touchcancel', _scrollbarMouseUpListener)
|
|
730
|
+
// }
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
});
|
|
734
|
+
// Cleans up the registered events.
|
|
735
|
+
return () => {
|
|
736
|
+
// console.log('scrollevents cleanup')
|
|
737
|
+
// const instance = this._scrollbars.getInstance(dialogRef._overlayRef.overlayElement)
|
|
738
|
+
// const scrollElem = instance.getElements().scrollbarVertical.handle
|
|
739
|
+
if (verticalHandleElement) {
|
|
740
|
+
verticalHandleElement.removeEventListener('mousedown', _scrollbarMouseDownListener);
|
|
741
|
+
verticalHandleElement.removeEventListener('touchstart', _scrollbarMouseDownListener);
|
|
742
|
+
}
|
|
743
|
+
if (horizontalHandleElement) {
|
|
744
|
+
horizontalHandleElement.removeEventListener('mousedown', _scrollbarMouseDownListener);
|
|
745
|
+
horizontalHandleElement.removeEventListener('touchstart', _scrollbarMouseDownListener);
|
|
746
|
+
}
|
|
747
|
+
if (verticalHandleElement || horizontalHandleElement) {
|
|
748
|
+
document.removeEventListener('mouseup', _scrollbarMouseUpListener);
|
|
749
|
+
document.removeEventListener('touchend', _scrollbarMouseUpListener);
|
|
750
|
+
document.removeEventListener('touchcancel', _scrollbarMouseUpListener);
|
|
751
|
+
}
|
|
752
|
+
};
|
|
753
|
+
}
|
|
754
|
+
/**
|
|
755
|
+
* Creates an overlay config from a dialog config.
|
|
756
|
+
* @param config The dialog configuration.
|
|
757
|
+
* @returns The overlay configuration.
|
|
758
|
+
*/
|
|
759
|
+
_createOverlay(config) {
|
|
760
|
+
let panelClass = (config.panelClass || []);
|
|
761
|
+
if (typeof panelClass === 'string') {
|
|
762
|
+
panelClass = [panelClass];
|
|
763
|
+
}
|
|
764
|
+
panelClass = [...panelClass, 'modal', 'd-block', 'overflow-auto'];
|
|
765
|
+
const overlayConfig = new OverlayConfig({
|
|
766
|
+
positionStrategy: this.overlay.position().global(),
|
|
767
|
+
scrollStrategy: this._scrollStrategy(),
|
|
768
|
+
panelClass,
|
|
769
|
+
hasBackdrop: config.hasBackdrop,
|
|
770
|
+
direction: config.direction,
|
|
771
|
+
minWidth: config.minWidth,
|
|
772
|
+
minHeight: config.minHeight,
|
|
773
|
+
maxWidth: config.maxWidth,
|
|
774
|
+
maxHeight: config.maxHeight
|
|
775
|
+
});
|
|
776
|
+
if (config.backdropClass) {
|
|
777
|
+
overlayConfig.backdropClass = config.backdropClass;
|
|
778
|
+
}
|
|
779
|
+
return this.overlay.create(overlayConfig);
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* Attaches an MatDialogContainer to a dialog's already-created overlay.
|
|
783
|
+
* @param overlay Reference to the dialog's underlying overlay.
|
|
784
|
+
* @param config The dialog configuration.
|
|
785
|
+
* @returns A promise resolving to a ComponentRef for the attached container.
|
|
786
|
+
*/
|
|
787
|
+
_attachDialogContainer(overlay, config) {
|
|
788
|
+
const container = config.containerComponent || this.injector.get(MODAL_CONTAINER, ModalContainerComponent);
|
|
789
|
+
const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
|
|
790
|
+
const injector = Injector.create({
|
|
791
|
+
parent: userInjector || this.injector,
|
|
792
|
+
providers: [
|
|
793
|
+
{ provide: ModalConfig, useValue: config },
|
|
794
|
+
],
|
|
795
|
+
});
|
|
796
|
+
const containerPortal = new ComponentPortal(container, config.viewContainerRef, injector);
|
|
797
|
+
const containerRef = overlay.attach(containerPortal);
|
|
798
|
+
containerRef.instance._config = config;
|
|
799
|
+
return containerRef.instance;
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* Attaches the user-provided component to the already-created MatDialogContainer.
|
|
803
|
+
* @param componentOrTemplateRef The type of component being loaded into the dialog,
|
|
804
|
+
* or a TemplateRef to instantiate as the content.
|
|
805
|
+
* @param dialogContainer Reference to the wrapping MatDialogContainer.
|
|
806
|
+
* @param overlayRef Reference to the overlay in which the dialog resides.
|
|
807
|
+
* @param config The dialog configuration.
|
|
808
|
+
* @returns A promise resolving to the MatDialogRef that should be returned to the user.
|
|
809
|
+
*/
|
|
810
|
+
_attachDialogContentForComponent(componentOrTemplateRef, dialogContainer, overlayRef, config) {
|
|
811
|
+
// Create a reference to the dialog we're creating in order to give the user a handle
|
|
812
|
+
// to modify and close it.
|
|
813
|
+
// eslint-disable-next-line new-cap
|
|
814
|
+
const dialogRef = new this._dialogRefConstructor(overlayRef, dialogContainer, config.id);
|
|
815
|
+
const injector = this._createInjector(config, dialogRef, dialogContainer);
|
|
816
|
+
const contentRef = dialogContainer.attachComponentPortal(new ComponentPortal(componentOrTemplateRef, undefined, injector));
|
|
817
|
+
dialogRef.componentInstance = contentRef.instance;
|
|
818
|
+
dialogRef.disableClose = config.disableClose;
|
|
819
|
+
dialogRef.updateSize({ width: config.width, height: config.height })
|
|
820
|
+
.updatePosition(config.position);
|
|
821
|
+
return dialogRef;
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
* Attaches the user-provided component to the already-created MatDialogContainer.
|
|
825
|
+
* @param componentOrTemplateRef The type of component being loaded into the dialog,
|
|
826
|
+
* or a TemplateRef to instantiate as the content.
|
|
827
|
+
* @param dialogContainer Reference to the wrapping MatDialogContainer.
|
|
828
|
+
* @param overlayRef Reference to the overlay in which the dialog resides.
|
|
829
|
+
* @param config The dialog configuration.
|
|
830
|
+
* @returns A promise resolving to the MatDialogRef that should be returned to the user.
|
|
831
|
+
*/
|
|
832
|
+
_attachDialogContentForTemplate(componentOrTemplateRef, dialogContainer, overlayRef, config) {
|
|
833
|
+
// Create a reference to the dialog we're creating in order to give the user a handle
|
|
834
|
+
// to modify and close it.
|
|
835
|
+
// eslint-disable-next-line new-cap
|
|
836
|
+
const dialogRef = new this._dialogRefConstructor(overlayRef, dialogContainer, config.id);
|
|
837
|
+
dialogContainer.attachTemplatePortal(new TemplatePortal(componentOrTemplateRef, null, { $implicit: config.data, dialogRef }));
|
|
838
|
+
dialogRef.updateSize({ width: config.width, height: config.height })
|
|
839
|
+
.updatePosition(config.position);
|
|
840
|
+
return dialogRef;
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* Creates a custom injector to be used inside the dialog. This allows a component loaded inside
|
|
844
|
+
* of a dialog to close itself and, optionally, to return a value.
|
|
845
|
+
* @param config Config object that is used to construct the dialog.
|
|
846
|
+
* @param dialogRef Reference to the dialog.
|
|
847
|
+
* @param container Dialog container element that wraps all of the contents.
|
|
848
|
+
* @returns The custom injector that can be used inside the dialog.
|
|
849
|
+
*/
|
|
850
|
+
_createInjector(config, dialogRef, dialogContainer) {
|
|
851
|
+
const userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;
|
|
852
|
+
const providers = [
|
|
853
|
+
{ provide: MODAL_CONTAINER, useValue: dialogContainer },
|
|
854
|
+
{ provide: MODAL_DATA, useValue: config.data },
|
|
855
|
+
];
|
|
856
|
+
if (config.direction &&
|
|
857
|
+
(!userInjector || !userInjector.get(Directionality, null))) {
|
|
858
|
+
providers.push({
|
|
859
|
+
provide: Directionality,
|
|
860
|
+
useValue: {
|
|
861
|
+
value: config.direction,
|
|
862
|
+
change: of(),
|
|
863
|
+
},
|
|
864
|
+
});
|
|
865
|
+
}
|
|
866
|
+
return Injector.create({ parent: userInjector || this.injector, providers });
|
|
867
|
+
}
|
|
868
|
+
/**
|
|
869
|
+
* Expands the provided configuration object to include the default values for properties which
|
|
870
|
+
* are undefined.
|
|
871
|
+
*/
|
|
872
|
+
_applyConfigDefaults(config) {
|
|
873
|
+
const dialogConfig = this.injector.get(MODAL_CONFIG, ModalConfig);
|
|
874
|
+
// eslint-disable-next-line new-cap
|
|
875
|
+
return { ...new dialogConfig(), ...config };
|
|
876
|
+
}
|
|
877
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: Modal, deps: [{ token: i1$1.Overlay }, { token: i0.Injector }, { token: MODAL_SCROLL_STRATEGY }, { token: Modal, optional: true, skipSelf: true }, { token: i3$1.Location, optional: true }, { token: i3$2.TheSeamOverlayScrollbarsService }, { token: i4.TheSeamDynamicComponentLoader }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
878
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: Modal, providedIn: 'root' });
|
|
879
|
+
}
|
|
880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: Modal, decorators: [{
|
|
881
|
+
type: Injectable,
|
|
882
|
+
args: [{ providedIn: 'root' }]
|
|
883
|
+
}], ctorParameters: () => [{ type: i1$1.Overlay }, { type: i0.Injector }, { type: undefined, decorators: [{
|
|
884
|
+
type: Inject,
|
|
885
|
+
args: [MODAL_SCROLL_STRATEGY]
|
|
886
|
+
}] }, { type: Modal, decorators: [{
|
|
887
|
+
type: Optional
|
|
888
|
+
}, {
|
|
889
|
+
type: SkipSelf
|
|
890
|
+
}] }, { type: i3$1.Location, decorators: [{
|
|
891
|
+
type: Optional
|
|
892
|
+
}] }, { type: i3$2.TheSeamOverlayScrollbarsService }, { type: i4.TheSeamDynamicComponentLoader }] });
|
|
893
|
+
|
|
894
|
+
class ModalCloseDirective {
|
|
895
|
+
_elementRef;
|
|
896
|
+
_modal;
|
|
897
|
+
_modalRef;
|
|
898
|
+
modalRef;
|
|
899
|
+
// @HostBinding('class.close') _closeCss = true
|
|
900
|
+
get _attrType() { return this.type; }
|
|
901
|
+
type = 'button';
|
|
902
|
+
get _attrAriaLabel() { return this.ariaLabel || null; }
|
|
903
|
+
/** Screenreader label for the button. */
|
|
904
|
+
ariaLabel;
|
|
905
|
+
seamModalClose;
|
|
906
|
+
// NOTE: This will most likely be temporary.
|
|
907
|
+
seamModalNext;
|
|
908
|
+
seamModalNextConfig;
|
|
909
|
+
_onClick() {
|
|
910
|
+
if (this.modalRef) {
|
|
911
|
+
if (this.seamModalNext) {
|
|
912
|
+
this.modalRef.afterClosed().subscribe(() => {
|
|
913
|
+
if (typeof this.seamModalNext === 'string') {
|
|
914
|
+
this._modal.openFromLazyComponent(this.seamModalNext, this.seamModalNextConfig).subscribe();
|
|
915
|
+
}
|
|
916
|
+
else {
|
|
917
|
+
this._modal.openFromComponent(this.seamModalNext, this.seamModalNextConfig);
|
|
918
|
+
}
|
|
919
|
+
});
|
|
920
|
+
}
|
|
921
|
+
this.modalRef.close(this.seamModalClose);
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
constructor(_elementRef, _modal, _modalRef) {
|
|
925
|
+
this._elementRef = _elementRef;
|
|
926
|
+
this._modal = _modal;
|
|
927
|
+
this._modalRef = _modalRef;
|
|
928
|
+
this.modalRef = _modalRef;
|
|
929
|
+
}
|
|
930
|
+
ngOnInit() {
|
|
931
|
+
if (!this.modalRef) {
|
|
932
|
+
// When this directive is included in a dialog via TemplateRef (rather than being
|
|
933
|
+
// in a Component), the DialogRef isn't available via injection because embedded
|
|
934
|
+
// views cannot be given a custom injector. Instead, we look up the DialogRef by
|
|
935
|
+
// ID. This must occur in `onInit`, as the ID binding for the dialog container won't
|
|
936
|
+
// be resolved at constructor time.
|
|
937
|
+
this.modalRef = getClosestModal(this._elementRef, this._modal.openDialogs);
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalCloseDirective, deps: [{ token: i0.ElementRef }, { token: Modal }, { token: ModalRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
941
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.0", type: ModalCloseDirective, isStandalone: false, selector: "button[seamModalClose]", inputs: { type: "type", ariaLabel: ["aria-label", "ariaLabel"], seamModalClose: "seamModalClose", seamModalNext: "seamModalNext", seamModalNextConfig: "seamModalNextConfig" }, host: { listeners: { "click": "_onClick()" }, properties: { "attr.type": "this._attrType", "attr.aria-label": "this._attrAriaLabel" } }, exportAs: ["seamModalClose"], ngImport: i0 });
|
|
942
|
+
}
|
|
943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalCloseDirective, decorators: [{
|
|
944
|
+
type: Directive,
|
|
945
|
+
args: [{
|
|
946
|
+
selector: 'button[seamModalClose]',
|
|
947
|
+
exportAs: 'seamModalClose',
|
|
948
|
+
standalone: false
|
|
949
|
+
}]
|
|
950
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: Modal }, { type: ModalRef, decorators: [{
|
|
951
|
+
type: Optional
|
|
952
|
+
}] }], propDecorators: { _attrType: [{
|
|
953
|
+
type: HostBinding,
|
|
954
|
+
args: ['attr.type']
|
|
955
|
+
}], type: [{
|
|
956
|
+
type: Input
|
|
957
|
+
}], _attrAriaLabel: [{
|
|
958
|
+
type: HostBinding,
|
|
959
|
+
args: ['attr.aria-label']
|
|
960
|
+
}], ariaLabel: [{
|
|
961
|
+
type: Input,
|
|
962
|
+
args: ['aria-label']
|
|
963
|
+
}], seamModalClose: [{
|
|
964
|
+
type: Input
|
|
965
|
+
}], seamModalNext: [{
|
|
966
|
+
type: Input
|
|
967
|
+
}], seamModalNextConfig: [{
|
|
968
|
+
type: Input
|
|
969
|
+
}], _onClick: [{
|
|
970
|
+
type: HostListener,
|
|
971
|
+
args: ['click']
|
|
972
|
+
}] } });
|
|
973
|
+
|
|
974
|
+
class ModalFooterTplDirective {
|
|
975
|
+
template;
|
|
976
|
+
constructor(template) {
|
|
977
|
+
this.template = template;
|
|
978
|
+
}
|
|
979
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalFooterTplDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
980
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.0", type: ModalFooterTplDirective, isStandalone: false, selector: "[seamModalFooterTpl]", ngImport: i0 });
|
|
981
|
+
}
|
|
982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalFooterTplDirective, decorators: [{
|
|
983
|
+
type: Directive,
|
|
984
|
+
args: [{
|
|
985
|
+
selector: '[seamModalFooterTpl]',
|
|
986
|
+
standalone: false
|
|
987
|
+
}]
|
|
988
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
989
|
+
|
|
990
|
+
class ModalHeaderIconTplDirective {
|
|
991
|
+
template;
|
|
992
|
+
constructor(template) {
|
|
993
|
+
this.template = template;
|
|
994
|
+
}
|
|
995
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalHeaderIconTplDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
996
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.0", type: ModalHeaderIconTplDirective, isStandalone: false, selector: "[seamModalHeaderIconTpl]", ngImport: i0 });
|
|
997
|
+
}
|
|
998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalHeaderIconTplDirective, decorators: [{
|
|
999
|
+
type: Directive,
|
|
1000
|
+
args: [{
|
|
1001
|
+
selector: '[seamModalHeaderIconTpl]',
|
|
1002
|
+
standalone: false
|
|
1003
|
+
}]
|
|
1004
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
1005
|
+
|
|
1006
|
+
class ModalHeaderTitleTplDirective {
|
|
1007
|
+
template;
|
|
1008
|
+
constructor(template) {
|
|
1009
|
+
this.template = template;
|
|
1010
|
+
}
|
|
1011
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalHeaderTitleTplDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1012
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.0", type: ModalHeaderTitleTplDirective, isStandalone: false, selector: "[seamModalHeaderTitleTpl]", ngImport: i0 });
|
|
1013
|
+
}
|
|
1014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalHeaderTitleTplDirective, decorators: [{
|
|
1015
|
+
type: Directive,
|
|
1016
|
+
args: [{
|
|
1017
|
+
selector: '[seamModalHeaderTitleTpl]',
|
|
1018
|
+
standalone: false
|
|
1019
|
+
}]
|
|
1020
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
1021
|
+
|
|
1022
|
+
class ModalTitleDirective {
|
|
1023
|
+
_elementRef;
|
|
1024
|
+
_modalTitleCss = true;
|
|
1025
|
+
constructor(_elementRef) {
|
|
1026
|
+
this._elementRef = _elementRef;
|
|
1027
|
+
}
|
|
1028
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1029
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.0", type: ModalTitleDirective, isStandalone: false, selector: "[seamModalTitle]", host: { properties: { "class.modal-title": "this._modalTitleCss" } }, ngImport: i0 });
|
|
1030
|
+
}
|
|
1031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalTitleDirective, decorators: [{
|
|
1032
|
+
type: Directive,
|
|
1033
|
+
args: [{
|
|
1034
|
+
selector: '[seamModalTitle]',
|
|
1035
|
+
standalone: false
|
|
1036
|
+
}]
|
|
1037
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { _modalTitleCss: [{
|
|
1038
|
+
type: HostBinding,
|
|
1039
|
+
args: ['class.modal-title']
|
|
1040
|
+
}] } });
|
|
1041
|
+
|
|
1042
|
+
// TODO: Make this work for current modal usage.
|
|
1043
|
+
class ModalDirective {
|
|
1044
|
+
template;
|
|
1045
|
+
modal;
|
|
1046
|
+
constructor(template, modal) {
|
|
1047
|
+
this.template = template;
|
|
1048
|
+
this.modal = modal;
|
|
1049
|
+
}
|
|
1050
|
+
open() {
|
|
1051
|
+
// console.log('[ModalDirective] open')
|
|
1052
|
+
const ref = this.modal.openFromTemplate(this.template);
|
|
1053
|
+
// ref.backdropClick().subscribe(e => console.log('backdropClick', e))
|
|
1054
|
+
}
|
|
1055
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalDirective, deps: [{ token: i0.TemplateRef }, { token: Modal }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1056
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.0", type: ModalDirective, isStandalone: false, selector: "[seamModal]", exportAs: ["seamModal"], ngImport: i0 });
|
|
1057
|
+
}
|
|
1058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalDirective, decorators: [{
|
|
1059
|
+
type: Directive,
|
|
1060
|
+
args: [{
|
|
1061
|
+
selector: '[seamModal]',
|
|
1062
|
+
exportAs: 'seamModal',
|
|
1063
|
+
standalone: false
|
|
1064
|
+
}]
|
|
1065
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }, { type: Modal }] });
|
|
1066
|
+
|
|
1067
|
+
class ModalBodyComponent {
|
|
1068
|
+
_modalBodyCss = true;
|
|
1069
|
+
_paddingCss = true;
|
|
1070
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1071
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: ModalBodyComponent, isStandalone: false, selector: "seam-modal-body", host: { properties: { "class.modal-body": "this._modalBodyCss", "class.p-3": "this._paddingCss" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] });
|
|
1072
|
+
}
|
|
1073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalBodyComponent, decorators: [{
|
|
1074
|
+
type: Component,
|
|
1075
|
+
args: [{ selector: 'seam-modal-body', standalone: false, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
|
|
1076
|
+
}], propDecorators: { _modalBodyCss: [{
|
|
1077
|
+
type: HostBinding,
|
|
1078
|
+
args: ['class.modal-body']
|
|
1079
|
+
}], _paddingCss: [{
|
|
1080
|
+
type: HostBinding,
|
|
1081
|
+
args: ['class.p-3']
|
|
1082
|
+
}] } });
|
|
1083
|
+
|
|
1084
|
+
class ModalFooterComponent {
|
|
1085
|
+
_modalFooterCss = true;
|
|
1086
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1087
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: ModalFooterComponent, isStandalone: false, selector: "seam-modal-footer", host: { properties: { "class.modal-footer": "this._modalFooterCss" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""] });
|
|
1088
|
+
}
|
|
1089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalFooterComponent, decorators: [{
|
|
1090
|
+
type: Component,
|
|
1091
|
+
args: [{ selector: 'seam-modal-footer', standalone: false, template: "<ng-content></ng-content>\n" }]
|
|
1092
|
+
}], propDecorators: { _modalFooterCss: [{
|
|
1093
|
+
type: HostBinding,
|
|
1094
|
+
args: ['class.modal-footer']
|
|
1095
|
+
}] } });
|
|
1096
|
+
|
|
1097
|
+
class ModalHeaderComponent {
|
|
1098
|
+
_modalHeaderCss = true;
|
|
1099
|
+
hasCloseBtn = true;
|
|
1100
|
+
_titleDirective;
|
|
1101
|
+
_closeDirective;
|
|
1102
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1103
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: ModalHeaderComponent, isStandalone: false, selector: "seam-modal-header", inputs: { hasCloseBtn: "hasCloseBtn" }, host: { properties: { "class.modal-header": "this._modalHeaderCss" } }, queries: [{ propertyName: "_titleDirective", first: true, predicate: ModalTitleDirective, descendants: true, static: true }, { propertyName: "_closeDirective", first: true, predicate: ModalCloseDirective, descendants: true, static: true }], ngImport: i0, template: "<ng-content></ng-content>\n\n<!-- <button seamModalClose>\n <span aria-hidden=\"true\">×</span>\n</button> -->\n\n<!-- seam-modal-header-close -->\n", styles: [""] });
|
|
1104
|
+
}
|
|
1105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalHeaderComponent, decorators: [{
|
|
1106
|
+
type: Component,
|
|
1107
|
+
args: [{ selector: 'seam-modal-header', standalone: false, template: "<ng-content></ng-content>\n\n<!-- <button seamModalClose>\n <span aria-hidden=\"true\">×</span>\n</button> -->\n\n<!-- seam-modal-header-close -->\n" }]
|
|
1108
|
+
}], propDecorators: { _modalHeaderCss: [{
|
|
1109
|
+
type: HostBinding,
|
|
1110
|
+
args: ['class.modal-header']
|
|
1111
|
+
}], hasCloseBtn: [{
|
|
1112
|
+
type: Input
|
|
1113
|
+
}], _titleDirective: [{
|
|
1114
|
+
type: ContentChild,
|
|
1115
|
+
args: [ModalTitleDirective, { static: true }]
|
|
1116
|
+
}], _closeDirective: [{
|
|
1117
|
+
type: ContentChild,
|
|
1118
|
+
args: [ModalCloseDirective, { static: true }]
|
|
1119
|
+
}] } });
|
|
1120
|
+
|
|
1121
|
+
const THESEAM_MODAL_CONTAINER = new InjectionToken('seamModalContainer');
|
|
1122
|
+
|
|
1123
|
+
const LIB_MODAL = {
|
|
1124
|
+
provide: THESEAM_MODAL_CONTAINER,
|
|
1125
|
+
// tslint:disable-next-line:no-use-before-declare
|
|
1126
|
+
useExisting: forwardRef(() => ModalComponent),
|
|
1127
|
+
multi: true,
|
|
1128
|
+
};
|
|
1129
|
+
class ModalComponent {
|
|
1130
|
+
_viewContainerRef;
|
|
1131
|
+
_overlay;
|
|
1132
|
+
_route;
|
|
1133
|
+
static ngAcceptInputType_showCloseBtn;
|
|
1134
|
+
set closeOnKeyPressed(value) { this._closeOnKeyPressed = Array.isArray(value) ? value : []; }
|
|
1135
|
+
get closeOnKeyPressed() { return this._closeOnKeyPressed; }
|
|
1136
|
+
_closeOnKeyPressed = [ESCAPE];
|
|
1137
|
+
showCloseBtn = true;
|
|
1138
|
+
titleText;
|
|
1139
|
+
get icon() { return this._iconUrl || this._iconObj; }
|
|
1140
|
+
set icon(value) {
|
|
1141
|
+
if (typeof value === 'string') {
|
|
1142
|
+
this._iconUrl = value;
|
|
1143
|
+
this._iconObj = undefined;
|
|
1144
|
+
}
|
|
1145
|
+
else {
|
|
1146
|
+
this._iconUrl = undefined;
|
|
1147
|
+
this._iconObj = value;
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
_iconUrl;
|
|
1151
|
+
_iconObj;
|
|
1152
|
+
get iconTpl() {
|
|
1153
|
+
return this._iconTpl || (this._queryIconTpl && this._queryIconTpl.template);
|
|
1154
|
+
}
|
|
1155
|
+
set iconTpl(value) {
|
|
1156
|
+
this._iconTpl = value;
|
|
1157
|
+
}
|
|
1158
|
+
_iconTpl;
|
|
1159
|
+
get titleTpl() {
|
|
1160
|
+
return this._titleTpl || (this._queryTitleTpl && this._queryTitleTpl.template);
|
|
1161
|
+
}
|
|
1162
|
+
set titleTpl(value) {
|
|
1163
|
+
this._titleTpl = value;
|
|
1164
|
+
}
|
|
1165
|
+
_titleTpl;
|
|
1166
|
+
get footerTpl() {
|
|
1167
|
+
return this._footerTpl || (this._queryFooterTpl && this._queryFooterTpl.template);
|
|
1168
|
+
}
|
|
1169
|
+
set footerTpl(value) {
|
|
1170
|
+
this._footerTpl = value;
|
|
1171
|
+
}
|
|
1172
|
+
_footerTpl;
|
|
1173
|
+
modalClosed = new EventEmitter();
|
|
1174
|
+
_overlayRef;
|
|
1175
|
+
overlayDetached = new EventEmitter();
|
|
1176
|
+
_queryIconTpl;
|
|
1177
|
+
_queryTitleTpl;
|
|
1178
|
+
_queryFooterTpl;
|
|
1179
|
+
_modalTpl;
|
|
1180
|
+
/** Makes the modal container a form with this formGroup. */
|
|
1181
|
+
form;
|
|
1182
|
+
/** Emit the `(ngSubmit)` event. NOTE: Only if `form` is defined. */
|
|
1183
|
+
formSubmit = new EventEmitter();
|
|
1184
|
+
constructor(_viewContainerRef, _overlay, _route) {
|
|
1185
|
+
this._viewContainerRef = _viewContainerRef;
|
|
1186
|
+
this._overlay = _overlay;
|
|
1187
|
+
this._route = _route;
|
|
1188
|
+
if (isDevMode()) {
|
|
1189
|
+
// eslint-disable-next-line no-console
|
|
1190
|
+
console.warn('seamModal has some issues with its design. Use the Modal service for now, because seamModal will have breaking changes or be removed soon.');
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
ngOnDestroy() {
|
|
1194
|
+
this.close();
|
|
1195
|
+
}
|
|
1196
|
+
ngAfterViewInit() {
|
|
1197
|
+
if (this.isRouteModal()) {
|
|
1198
|
+
this.open();
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
open(portal) {
|
|
1202
|
+
if (this._overlayRef && this._overlayRef.hasAttached()) {
|
|
1203
|
+
return;
|
|
1204
|
+
}
|
|
1205
|
+
const positionStrategy = this._overlay.position()
|
|
1206
|
+
.global()
|
|
1207
|
+
.centerHorizontally()
|
|
1208
|
+
.centerVertically();
|
|
1209
|
+
this._overlayRef = this._overlay.create({
|
|
1210
|
+
hasBackdrop: true,
|
|
1211
|
+
positionStrategy
|
|
1212
|
+
});
|
|
1213
|
+
this._overlayRef.detachments().subscribe(_ => this.overlayDetached.emit());
|
|
1214
|
+
this._overlayRef.backdropClick().subscribe(_ => this.close());
|
|
1215
|
+
this._overlayRef.keydownEvents()
|
|
1216
|
+
// tslint:disable-next-line:deprecation
|
|
1217
|
+
.pipe(filter(e => e.keyCode === ESCAPE))
|
|
1218
|
+
.subscribe(_ => this.close());
|
|
1219
|
+
let portalToAttach = portal;
|
|
1220
|
+
if (!portalToAttach) {
|
|
1221
|
+
if (!this._modalTpl) {
|
|
1222
|
+
throw new Error(`_modalTpl not found.`);
|
|
1223
|
+
}
|
|
1224
|
+
portalToAttach = new TemplatePortal(this._modalTpl, this._viewContainerRef);
|
|
1225
|
+
}
|
|
1226
|
+
this._overlayRef.attach(portalToAttach);
|
|
1227
|
+
}
|
|
1228
|
+
close() {
|
|
1229
|
+
if (!this._overlayRef || !this._overlayRef.hasAttached()) {
|
|
1230
|
+
return;
|
|
1231
|
+
}
|
|
1232
|
+
this._overlayRef.detach();
|
|
1233
|
+
this.modalClosed.emit();
|
|
1234
|
+
}
|
|
1235
|
+
_onSubmit() {
|
|
1236
|
+
this.formSubmit.emit();
|
|
1237
|
+
}
|
|
1238
|
+
isRouteModal() {
|
|
1239
|
+
return this._route.outlet === 'modal';
|
|
1240
|
+
}
|
|
1241
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalComponent, deps: [{ token: i0.ViewContainerRef }, { token: i1$1.Overlay }, { token: i1$2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
1242
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: ModalComponent, isStandalone: false, selector: "seam-modal", inputs: { closeOnKeyPressed: "closeOnKeyPressed", showCloseBtn: "showCloseBtn", titleText: "titleText", icon: "icon", iconTpl: "iconTpl", titleTpl: "titleTpl", footerTpl: "footerTpl", form: "form" }, outputs: { modalClosed: "modalClosed", overlayDetached: "overlayDetached", formSubmit: "formSubmit" }, providers: [LIB_MODAL], queries: [{ propertyName: "_queryIconTpl", first: true, predicate: ModalHeaderIconTplDirective, descendants: true, static: true }, { propertyName: "_queryTitleTpl", first: true, predicate: ModalHeaderTitleTplDirective, descendants: true, static: true }, { propertyName: "_queryFooterTpl", first: true, predicate: ModalFooterTplDirective, descendants: true, static: true }], viewQueries: [{ propertyName: "_modalTpl", first: true, predicate: ["modalTpl"], descendants: true, static: true }], ngImport: i0, template: "<ng-template #modalTpl>\n <form *ngIf=\"form\" [formGroup]=\"form\" (ngSubmit)=\"_onSubmit()\" class=\"p-4\" style=\"max-width: 800px\">\n <ng-container *ngTemplateOutlet=\"modalContent\"></ng-container>\n </form>\n\n <div *ngIf=\"!form\" class=\"p-4\" style=\"max-width: 800px\">\n <ng-container *ngTemplateOutlet=\"modalContent\"></ng-container>\n </div>\n\n <ng-template #modalContent>\n <div class=\"modal-content\">\n <div class=\"modal-header py-2\">\n <h4 class=\"modal-title\">\n <span class=\"pr-2 modal-header-icon\">\n <ng-container *ngIf=\"iconTpl; else noIconTpl\">\n <ng-template\n [ngTemplateOutlet]=\"iconTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: icon, icon: icon }\">\n </ng-template>\n </ng-container>\n <ng-template #noIconTpl>\n <fa-icon *ngIf=\"_iconObj\"\n class=\"modal-header-icon--fa\"\n [icon]=\"_iconObj\"\n size=\"sm\"></fa-icon>\n <img *ngIf=\"_iconUrl\"\n class=\"modal-header-icon--img\"\n [src]=\"_iconUrl\" [alt]=\"titleText\">\n </ng-template>\n </span>\n\n <span class=\"modal-header-title\">\n <ng-container *ngIf=\"titleTpl; else noTitleTpl\">\n <ng-template\n [ngTemplateOutlet]=\"titleTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: titleText, title: titleText }\">\n </ng-template>\n </ng-container>\n <ng-template #noTitleTpl>{{ titleText }}</ng-template>\n </span>\n </h4>\n <button *ngIf=\"showCloseBtn\"\n type=\"button\"\n class=\"close\"\n (click)=\"close()\"\n aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <ng-content></ng-content>\n </div>\n <div *ngIf=\"_queryFooterTpl\" class=\"modal-footer p-2\">\n <ng-container *ngComponentOutlet=\"$any(_queryFooterTpl.template)\"></ng-container>\n </div>\n </div>\n </ng-template>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "directive", type: i3$1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] });
|
|
1243
|
+
}
|
|
1244
|
+
__decorate([
|
|
1245
|
+
InputBoolean()
|
|
1246
|
+
], ModalComponent.prototype, "showCloseBtn", void 0);
|
|
1247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalComponent, decorators: [{
|
|
1248
|
+
type: Component,
|
|
1249
|
+
args: [{ selector: 'seam-modal', providers: [LIB_MODAL], standalone: false, template: "<ng-template #modalTpl>\n <form *ngIf=\"form\" [formGroup]=\"form\" (ngSubmit)=\"_onSubmit()\" class=\"p-4\" style=\"max-width: 800px\">\n <ng-container *ngTemplateOutlet=\"modalContent\"></ng-container>\n </form>\n\n <div *ngIf=\"!form\" class=\"p-4\" style=\"max-width: 800px\">\n <ng-container *ngTemplateOutlet=\"modalContent\"></ng-container>\n </div>\n\n <ng-template #modalContent>\n <div class=\"modal-content\">\n <div class=\"modal-header py-2\">\n <h4 class=\"modal-title\">\n <span class=\"pr-2 modal-header-icon\">\n <ng-container *ngIf=\"iconTpl; else noIconTpl\">\n <ng-template\n [ngTemplateOutlet]=\"iconTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: icon, icon: icon }\">\n </ng-template>\n </ng-container>\n <ng-template #noIconTpl>\n <fa-icon *ngIf=\"_iconObj\"\n class=\"modal-header-icon--fa\"\n [icon]=\"_iconObj\"\n size=\"sm\"></fa-icon>\n <img *ngIf=\"_iconUrl\"\n class=\"modal-header-icon--img\"\n [src]=\"_iconUrl\" [alt]=\"titleText\">\n </ng-template>\n </span>\n\n <span class=\"modal-header-title\">\n <ng-container *ngIf=\"titleTpl; else noTitleTpl\">\n <ng-template\n [ngTemplateOutlet]=\"titleTpl\"\n [ngTemplateOutletContext]=\"{ $implicit: titleText, title: titleText }\">\n </ng-template>\n </ng-container>\n <ng-template #noTitleTpl>{{ titleText }}</ng-template>\n </span>\n </h4>\n <button *ngIf=\"showCloseBtn\"\n type=\"button\"\n class=\"close\"\n (click)=\"close()\"\n aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <ng-content></ng-content>\n </div>\n <div *ngIf=\"_queryFooterTpl\" class=\"modal-footer p-2\">\n <ng-container *ngComponentOutlet=\"$any(_queryFooterTpl.template)\"></ng-container>\n </div>\n </div>\n </ng-template>\n</ng-template>\n" }]
|
|
1250
|
+
}], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: i1$1.Overlay }, { type: i1$2.ActivatedRoute }], propDecorators: { closeOnKeyPressed: [{
|
|
1251
|
+
type: Input
|
|
1252
|
+
}], showCloseBtn: [{
|
|
1253
|
+
type: Input
|
|
1254
|
+
}], titleText: [{
|
|
1255
|
+
type: Input
|
|
1256
|
+
}], icon: [{
|
|
1257
|
+
type: Input
|
|
1258
|
+
}], iconTpl: [{
|
|
1259
|
+
type: Input
|
|
1260
|
+
}], titleTpl: [{
|
|
1261
|
+
type: Input
|
|
1262
|
+
}], footerTpl: [{
|
|
1263
|
+
type: Input
|
|
1264
|
+
}], modalClosed: [{
|
|
1265
|
+
type: Output
|
|
1266
|
+
}], overlayDetached: [{
|
|
1267
|
+
type: Output
|
|
1268
|
+
}], _queryIconTpl: [{
|
|
1269
|
+
type: ContentChild,
|
|
1270
|
+
args: [ModalHeaderIconTplDirective, { static: true }]
|
|
1271
|
+
}], _queryTitleTpl: [{
|
|
1272
|
+
type: ContentChild,
|
|
1273
|
+
args: [ModalHeaderTitleTplDirective, { static: true }]
|
|
1274
|
+
}], _queryFooterTpl: [{
|
|
1275
|
+
type: ContentChild,
|
|
1276
|
+
args: [ModalFooterTplDirective, { static: true }]
|
|
1277
|
+
}], _modalTpl: [{
|
|
1278
|
+
type: ViewChild,
|
|
1279
|
+
args: ['modalTpl', { static: true }]
|
|
1280
|
+
}], form: [{
|
|
1281
|
+
type: Input
|
|
1282
|
+
}], formSubmit: [{
|
|
1283
|
+
type: Output
|
|
1284
|
+
}] } });
|
|
1285
|
+
|
|
1286
|
+
class RouteModalComponent {
|
|
1287
|
+
_route;
|
|
1288
|
+
_router;
|
|
1289
|
+
_modal;
|
|
1290
|
+
_ngUnsubscribe = new Subject();
|
|
1291
|
+
// @ViewChild(ModalComponent, { static: true }) _modal: ModalComponent
|
|
1292
|
+
constructor(_route, _router, _modal) {
|
|
1293
|
+
this._route = _route;
|
|
1294
|
+
this._router = _router;
|
|
1295
|
+
this._modal = _modal;
|
|
1296
|
+
}
|
|
1297
|
+
ngOnInit() {
|
|
1298
|
+
this._route.data
|
|
1299
|
+
.pipe(takeUntil(this._ngUnsubscribe))
|
|
1300
|
+
.subscribe(data => {
|
|
1301
|
+
// console.log('data', data)
|
|
1302
|
+
if (data.routeComponent) {
|
|
1303
|
+
// console.log(this._route.snapshot)
|
|
1304
|
+
const modalRef = this._modal.openFromComponent(data.routeComponent, {
|
|
1305
|
+
modalSize: 'lg',
|
|
1306
|
+
data
|
|
1307
|
+
});
|
|
1308
|
+
modalRef.afterClosed().subscribe(() => {
|
|
1309
|
+
const parent = this.getOutletParent();
|
|
1310
|
+
this._router.navigate([{ outlets: { modal: null, primary: ['.'] } }],
|
|
1311
|
+
// { relativeTo: this._route.parent }
|
|
1312
|
+
{ relativeTo: parent });
|
|
1313
|
+
});
|
|
1314
|
+
}
|
|
1315
|
+
});
|
|
1316
|
+
}
|
|
1317
|
+
ngOnDestroy() {
|
|
1318
|
+
this._ngUnsubscribe.next(undefined);
|
|
1319
|
+
this._ngUnsubscribe.complete();
|
|
1320
|
+
}
|
|
1321
|
+
getOutletParent() {
|
|
1322
|
+
let route = this._route;
|
|
1323
|
+
while (route && route.outlet !== 'modal') {
|
|
1324
|
+
route = route.parent;
|
|
1325
|
+
}
|
|
1326
|
+
return route ? route.parent : route;
|
|
1327
|
+
}
|
|
1328
|
+
_onDetached() {
|
|
1329
|
+
if (this.isRouteModal()) {
|
|
1330
|
+
this._router.navigate([{ outlets: { modal: null, primary: ['.'] } }], { relativeTo: this._route.parent });
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
isRouteModal() {
|
|
1334
|
+
return this._route.outlet === 'modal';
|
|
1335
|
+
}
|
|
1336
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RouteModalComponent, deps: [{ token: i1$2.ActivatedRoute }, { token: i1$2.Router }, { token: Modal }], target: i0.ɵɵFactoryTarget.Component });
|
|
1337
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: RouteModalComponent, isStandalone: false, selector: "seam-route-modal", ngImport: i0, template: "<!-- <seam-modal (overlayDetached)=\"_onDetached()\">\n <router-outlet></router-outlet>\n</seam-modal> -->\n", styles: [""] });
|
|
1338
|
+
}
|
|
1339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RouteModalComponent, decorators: [{
|
|
1340
|
+
type: Component,
|
|
1341
|
+
args: [{ selector: 'seam-route-modal', standalone: false, template: "<!-- <seam-modal (overlayDetached)=\"_onDetached()\">\n <router-outlet></router-outlet>\n</seam-modal> -->\n" }]
|
|
1342
|
+
}], ctorParameters: () => [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: Modal }] });
|
|
1343
|
+
|
|
1344
|
+
class TheSeamModalModule {
|
|
1345
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: TheSeamModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1346
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.0", ngImport: i0, type: TheSeamModalModule, declarations: [ModalComponent,
|
|
1347
|
+
ModalFooterTplDirective,
|
|
1348
|
+
ModalHeaderIconTplDirective,
|
|
1349
|
+
ModalHeaderTitleTplDirective,
|
|
1350
|
+
RouteModalComponent,
|
|
1351
|
+
ModalDirective,
|
|
1352
|
+
ModalContainerComponent,
|
|
1353
|
+
ModalHeaderComponent,
|
|
1354
|
+
ModalTitleDirective,
|
|
1355
|
+
ModalBodyComponent,
|
|
1356
|
+
ModalFooterComponent,
|
|
1357
|
+
ModalCloseDirective], imports: [CommonModule,
|
|
1358
|
+
OverlayModule,
|
|
1359
|
+
FontAwesomeModule,
|
|
1360
|
+
RouterModule,
|
|
1361
|
+
ReactiveFormsModule,
|
|
1362
|
+
PortalModule,
|
|
1363
|
+
A11yModule], exports: [ModalComponent,
|
|
1364
|
+
ModalFooterTplDirective,
|
|
1365
|
+
ModalHeaderIconTplDirective,
|
|
1366
|
+
ModalHeaderTitleTplDirective,
|
|
1367
|
+
RouteModalComponent,
|
|
1368
|
+
ModalDirective,
|
|
1369
|
+
// Re-export the PortalModule so that people extending the `CdkDialogContainer`
|
|
1370
|
+
// don't have to remember to import it or be faced with an unhelpful error.
|
|
1371
|
+
PortalModule,
|
|
1372
|
+
ModalHeaderComponent,
|
|
1373
|
+
ModalTitleDirective,
|
|
1374
|
+
ModalBodyComponent,
|
|
1375
|
+
ModalFooterComponent,
|
|
1376
|
+
ModalCloseDirective] });
|
|
1377
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: TheSeamModalModule, providers: [
|
|
1378
|
+
THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER,
|
|
1379
|
+
{ provide: MODAL_CONTAINER, useValue: ModalContainerComponent },
|
|
1380
|
+
{ provide: MODAL_CONFIG, useValue: ModalConfig },
|
|
1381
|
+
], imports: [CommonModule,
|
|
1382
|
+
OverlayModule,
|
|
1383
|
+
FontAwesomeModule,
|
|
1384
|
+
RouterModule,
|
|
1385
|
+
ReactiveFormsModule,
|
|
1386
|
+
PortalModule,
|
|
1387
|
+
A11yModule,
|
|
1388
|
+
// Re-export the PortalModule so that people extending the `CdkDialogContainer`
|
|
1389
|
+
// don't have to remember to import it or be faced with an unhelpful error.
|
|
1390
|
+
PortalModule] });
|
|
1391
|
+
}
|
|
1392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: TheSeamModalModule, decorators: [{
|
|
1393
|
+
type: NgModule,
|
|
1394
|
+
args: [{
|
|
1395
|
+
declarations: [
|
|
1396
|
+
ModalComponent,
|
|
1397
|
+
ModalFooterTplDirective,
|
|
1398
|
+
ModalHeaderIconTplDirective,
|
|
1399
|
+
ModalHeaderTitleTplDirective,
|
|
1400
|
+
RouteModalComponent,
|
|
1401
|
+
ModalDirective,
|
|
1402
|
+
ModalContainerComponent,
|
|
1403
|
+
ModalHeaderComponent,
|
|
1404
|
+
ModalTitleDirective,
|
|
1405
|
+
ModalBodyComponent,
|
|
1406
|
+
ModalFooterComponent,
|
|
1407
|
+
ModalCloseDirective
|
|
1408
|
+
],
|
|
1409
|
+
imports: [
|
|
1410
|
+
CommonModule,
|
|
1411
|
+
OverlayModule,
|
|
1412
|
+
FontAwesomeModule,
|
|
1413
|
+
RouterModule,
|
|
1414
|
+
ReactiveFormsModule,
|
|
1415
|
+
PortalModule,
|
|
1416
|
+
A11yModule,
|
|
1417
|
+
],
|
|
1418
|
+
exports: [
|
|
1419
|
+
ModalComponent,
|
|
1420
|
+
ModalFooterTplDirective,
|
|
1421
|
+
ModalHeaderIconTplDirective,
|
|
1422
|
+
ModalHeaderTitleTplDirective,
|
|
1423
|
+
RouteModalComponent,
|
|
1424
|
+
ModalDirective,
|
|
1425
|
+
// Re-export the PortalModule so that people extending the `CdkDialogContainer`
|
|
1426
|
+
// don't have to remember to import it or be faced with an unhelpful error.
|
|
1427
|
+
PortalModule,
|
|
1428
|
+
ModalHeaderComponent,
|
|
1429
|
+
ModalTitleDirective,
|
|
1430
|
+
ModalBodyComponent,
|
|
1431
|
+
ModalFooterComponent,
|
|
1432
|
+
ModalCloseDirective
|
|
1433
|
+
],
|
|
1434
|
+
providers: [
|
|
1435
|
+
THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER,
|
|
1436
|
+
{ provide: MODAL_CONTAINER, useValue: ModalContainerComponent },
|
|
1437
|
+
{ provide: MODAL_CONFIG, useValue: ModalConfig },
|
|
1438
|
+
]
|
|
1439
|
+
}]
|
|
1440
|
+
}] });
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* Generated bundle index. Do not edit.
|
|
1444
|
+
*/
|
|
1445
|
+
|
|
1446
|
+
export { LIB_MODAL, LIB_MODAL_CONFIG, MODAL_CONFIG, MODAL_CONTAINER, MODAL_DATA, MODAL_SCROLL_STRATEGY, Modal, ModalBodyComponent, ModalCloseDirective, ModalComponent, ModalConfig, ModalContainerComponent, ModalDirective, ModalFooterComponent, ModalFooterTplDirective, ModalHeaderComponent, ModalHeaderIconTplDirective, ModalHeaderTitleTplDirective, ModalRef, ModalTitleDirective, RouteModalComponent, THESEAM_MODAL_CONTAINER, THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER, THESEAM_MODAL_SCROLL_STRATEGY_PROVIDER_FACTORY, TheSeamModalModule, getClosestModal, mergeModalConfigs, throwDialogContentAlreadyAttachedError };
|
|
1447
|
+
//# sourceMappingURL=theseam-ui-common-modal.mjs.map
|