@theseam/ui-common 0.3.14-beta.2 → 0.3.15-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/asset-reader/asset-reader-helper.service.d.ts +3 -0
- package/asset-reader/asset-reader.module.d.ts +5 -0
- package/asset-reader/encrypted-asset-link.directive.d.ts +3 -0
- package/asset-reader/index.d.ts +5 -0
- package/assets/storybook-intro.gif +0 -0
- package/breadcrumbs/breadcrumb.d.ts +1 -1
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.d.ts +4 -3
- package/breadcrumbs/breadcrumbs-resolver.d.ts +1 -1
- package/breadcrumbs/breadcrumbs.module.d.ts +7 -0
- package/breadcrumbs/breadcrumbs.service.d.ts +3 -0
- package/breadcrumbs/index.d.ts +5 -0
- package/buttons/badge-button/badge-button.component.d.ts +5 -0
- package/buttons/button/button.component.d.ts +7 -0
- package/buttons/buttons.module.d.ts +10 -0
- package/buttons/index.d.ts +5 -0
- package/buttons/progress-circle-button/progress-circle-button.component.d.ts +3 -0
- package/buttons/toggle-button/toggle-button.component.d.ts +3 -0
- package/card/card-action/card-action.component.d.ts +3 -0
- package/card/card-body/card-body.component.d.ts +5 -4
- package/card/card-footer/card-footer.component.d.ts +4 -4
- package/card/card-header/card-header.component.d.ts +4 -4
- package/card/card.component.d.ts +4 -4
- package/card/card.module.d.ts +11 -0
- package/card/index.d.ts +5 -0
- package/carousel/carousel-slide.directive.d.ts +8 -0
- package/carousel/carousel.component.d.ts +85 -0
- package/carousel/carousel.module.d.ts +11 -0
- package/carousel/index.d.ts +5 -0
- package/carousel/public-api.d.ts +3 -0
- package/checkbox/checkbox.component.d.ts +5 -4
- package/checkbox/checkbox.module.d.ts +7 -0
- package/checkbox/index.d.ts +5 -0
- package/checkbox/public-api.d.ts +1 -0
- package/checkbox/testing/checkbox.harness.d.ts +49 -0
- package/checkbox/testing/index.d.ts +1 -0
- package/confirm-dialog/confirm-click.directive.d.ts +3 -0
- package/confirm-dialog/confirm-dialog.component.d.ts +3 -0
- package/confirm-dialog/confirm-dialog.module.d.ts +10 -0
- package/confirm-dialog/confirm-dialog.service.d.ts +3 -0
- package/confirm-dialog/index.d.ts +5 -0
- package/core/common-behaviors/active.d.ts +2 -2
- package/core/common-behaviors/constructor.d.ts +1 -1
- package/core/common-behaviors/disabled.d.ts +2 -2
- package/core/common-behaviors/initialized.d.ts +2 -2
- package/core/common-behaviors/size.d.ts +1 -1
- package/core/common-behaviors/tabindex.d.ts +1 -1
- package/core/common-behaviors/theme.d.ts +1 -1
- package/core/index.d.ts +5 -0
- package/core/input-decorators/input-boolean.decorator.d.ts +1 -1
- package/core/input-decorators/input-number.decorator.d.ts +1 -1
- package/data-exporter/data-exporter.d.ts +1 -1
- package/data-exporter/data-exporter.module.d.ts +4 -0
- package/data-exporter/exporters/csv-exporter.d.ts +3 -0
- package/data-exporter/exporters/xlsx-exporter.d.ts +3 -0
- package/data-exporter/index.d.ts +5 -0
- package/data-filters/data-filter.d.ts +4 -4
- package/data-filters/data-filters.module.d.ts +13 -0
- package/data-filters/filters/data-filter-search/data-filter-search.component.d.ts +6 -3
- package/data-filters/filters/data-filter-search/search-filter-options.d.ts +1 -1
- package/data-filters/filters/data-filter-text/data-filter-text.component.d.ts +5 -2
- package/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.d.ts +5 -2
- package/data-filters/index.d.ts +5 -0
- package/datatable/datatable/datatable.component.d.ts +8 -0
- package/datatable/datatable-action-menu/datatable-action-menu.component.d.ts +3 -0
- package/datatable/datatable-action-menu-item/datatable-action-menu-item.component.d.ts +3 -0
- package/datatable/datatable-column/datatable-column.component.d.ts +6 -4
- package/datatable/datatable-column-preferences/datatable-column-preferences.component.d.ts +5 -2
- package/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.d.ts +4 -3
- package/datatable/datatable-export-button/datatable-export-button.component.d.ts +4 -3
- package/datatable/datatable-footer/datatable-footer-tpl.directive.d.ts +3 -0
- package/datatable/datatable-footer/datatable-footer.directive.d.ts +3 -0
- package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +5 -5
- package/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.d.ts +4 -4
- package/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.d.ts +4 -4
- package/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.d.ts +4 -4
- package/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.d.ts +4 -4
- package/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.d.ts +4 -3
- package/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.d.ts +3 -0
- package/datatable/datatable-row-detail/datatable-row-detail.directive.d.ts +3 -0
- package/datatable/datatable.module.d.ts +45 -0
- package/datatable/directives/datatable-action-menu-item.directive.d.ts +5 -4
- package/datatable/directives/datatable-action-menu-toggle.directive.d.ts +3 -0
- package/datatable/directives/datatable-cell-tpl.directive.d.ts +3 -0
- package/datatable/directives/datatable-filter.directive.d.ts +3 -0
- package/datatable/directives/datatable-row-action-item.directive.d.ts +3 -0
- package/datatable/index.d.ts +5 -0
- package/datatable/models/action-item-column-position.d.ts +7 -2
- package/datatable/models/preferences.d.ts +1 -1
- package/datatable/models/table-column.d.ts +1 -1
- package/datatable/services/columns-alterations-manager.service.d.ts +3 -0
- package/datatable/services/columns-manager.service.d.ts +6 -1
- package/datatable/services/datatable-column-changes.service.d.ts +3 -0
- package/datatable/services/datatable-preferences.service.d.ts +3 -0
- package/datatable/services/datatable-scrollbar-helper.service.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.d.ts +4 -3
- package/datatable-dynamic/datatable-dynamic-def.d.ts +3 -3
- package/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.d.ts +6 -4
- package/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.d.ts +1 -1
- package/datatable-dynamic/datatable-dynamic.component.d.ts +4 -4
- package/datatable-dynamic/datatable-dynamic.module.d.ts +20 -0
- package/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.d.ts +6 -4
- package/datatable-dynamic/dynamic-datatable-def.service.d.ts +3 -0
- package/datatable-dynamic/dynamic-datatable-row-actions.service.d.ts +3 -0
- package/datatable-dynamic/index.d.ts +5 -0
- package/datatable-dynamic/models/dynamic-datatable-action-menu-record.d.ts +1 -1
- package/datatable-dynamic/models/dynamic-datatable-menu-bar.d.ts +2 -2
- package/dynamic/action/api/dynamic-action-api.service.d.ts +3 -0
- package/dynamic/action/dynamic-action-helper.service.d.ts +3 -0
- package/dynamic/action/link/dynamic-action-link.service.d.ts +3 -0
- package/dynamic/action/modal/dynamic-action-modal-def.d.ts +1 -1
- package/dynamic/action/modal/dynamic-action-modal.service.d.ts +3 -0
- package/dynamic/dynamic-value-helper.service.d.ts +8 -4
- package/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.d.ts +3 -0
- package/dynamic/evaluators/jexl-evaluator/jexl-evaluator.d.ts +6 -2
- package/dynamic/index.d.ts +5 -0
- package/dynamic/models/dynamic-value-base-type.d.ts +1 -1
- package/dynamic/models/dynamic-value-evaluatable-type.d.ts +2 -1
- package/dynamic/models/dynamic-value-primitive.d.ts +1 -1
- package/dynamic/models/dynamic-value.d.ts +1 -1
- package/dynamic/tokens/api-config.d.ts +1 -1
- package/dynamic-component-loader/dynamic-component-loader.module.d.ts +7 -3
- package/dynamic-component-loader/dynamic-component-loader.service.d.ts +7 -6
- package/dynamic-component-loader/dynamic-component-manifest.d.ts +4 -4
- package/dynamic-component-loader/index.d.ts +5 -0
- package/esm2020/asset-reader/asset-reader-helper.service.mjs +70 -0
- package/esm2020/asset-reader/asset-reader.module.mjs +20 -0
- package/esm2020/asset-reader/encrypted-asset-link.directive.mjs +74 -0
- package/esm2020/breadcrumbs/breadcrumb.mjs +2 -0
- package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +18 -0
- package/esm2020/breadcrumbs/breadcrumbs-resolver.mjs +2 -0
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +28 -0
- package/esm2020/breadcrumbs/breadcrumbs.service.mjs +156 -0
- package/esm2020/buttons/badge-button/badge-button.component.mjs +62 -0
- package/esm2020/buttons/button/button.component.mjs +84 -0
- package/esm2020/buttons/buttons.module.mjs +51 -0
- package/esm2020/buttons/progress-circle-button/progress-circle-button.component.mjs +52 -0
- package/esm2020/buttons/toggle-button/toggle-button.component.mjs +79 -0
- package/esm2020/card/card-action/card-action.component.mjs +31 -0
- package/esm2020/card/card-body/card-body.component.mjs +32 -0
- package/esm2020/card/card-footer/card-footer.component.mjs +11 -0
- package/esm2020/card/card-header/card-header.component.mjs +21 -0
- package/esm2020/card/card.component.mjs +17 -0
- package/esm2020/card/card.module.mjs +48 -0
- package/esm2020/carousel/carousel-slide.directive.mjs +16 -0
- package/esm2020/carousel/carousel.component.mjs +211 -0
- package/esm2020/carousel/carousel.module.mjs +38 -0
- package/esm2020/carousel/public-api.mjs +4 -0
- package/esm2020/carousel/theseam-ui-common-carousel.mjs +5 -0
- package/esm2020/checkbox/checkbox.component.mjs +280 -0
- package/esm2020/checkbox/checkbox.module.mjs +28 -0
- package/esm2020/checkbox/public-api.mjs +4 -0
- package/esm2020/checkbox/testing/checkbox.harness.mjs +63 -0
- package/esm2020/checkbox/testing/index.mjs +2 -0
- package/esm2020/confirm-dialog/confirm-click.directive.mjs +69 -0
- package/esm2020/confirm-dialog/confirm-dialog.component.mjs +24 -0
- package/esm2020/confirm-dialog/confirm-dialog.module.mjs +47 -0
- package/esm2020/confirm-dialog/confirm-dialog.service.mjs +38 -0
- package/esm2020/core/common-behaviors/active.mjs +14 -0
- package/esm2020/core/common-behaviors/disabled.mjs +21 -0
- package/esm2020/core/common-behaviors/initialized.mjs +63 -0
- package/esm2020/core/common-behaviors/size.mjs +24 -0
- package/esm2020/core/common-behaviors/tabindex.mjs +23 -0
- package/esm2020/core/common-behaviors/theme.mjs +24 -0
- package/esm2020/core/input-decorators/input-boolean.decorator.mjs +26 -0
- package/esm2020/core/input-decorators/input-number.decorator.mjs +26 -0
- package/esm2020/data-exporter/data-exporter.module.mjs +25 -0
- package/esm2020/data-exporter/exporters/csv-exporter.mjs +35 -0
- package/esm2020/data-exporter/exporters/xlsx-exporter.mjs +33 -0
- package/esm2020/data-filters/data-filter.mjs +25 -0
- package/esm2020/data-filters/data-filters.module.mjs +66 -0
- package/esm2020/data-filters/filters/data-filter-search/data-filter-search.component.mjs +121 -0
- package/esm2020/data-filters/filters/data-filter-text/data-filter-text.component.mjs +148 -0
- package/esm2020/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.mjs +166 -0
- package/esm2020/datatable/datatable/datatable.component.mjs +686 -0
- package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +100 -0
- package/esm2020/datatable/datatable-action-menu-item/datatable-action-menu-item.component.mjs +48 -0
- package/esm2020/datatable/datatable-column/datatable-column.component.mjs +107 -0
- package/esm2020/datatable/datatable-column-preferences/datatable-column-preferences.component.mjs +67 -0
- package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +51 -0
- package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +106 -0
- package/esm2020/datatable/datatable-footer/datatable-footer-tpl.directive.mjs +16 -0
- package/esm2020/datatable/datatable-footer/datatable-footer.directive.mjs +24 -0
- package/esm2020/datatable/datatable-menu-bar/datatable-menu-bar.component.mjs +49 -0
- package/esm2020/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.mjs +11 -0
- package/esm2020/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.mjs +11 -0
- package/esm2020/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.mjs +11 -0
- package/esm2020/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.mjs +11 -0
- package/esm2020/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.mjs +30 -0
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.mjs +16 -0
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail.directive.mjs +77 -0
- package/esm2020/datatable/datatable.module.mjs +205 -0
- package/esm2020/datatable/directives/datatable-action-menu-item.directive.mjs +62 -0
- package/esm2020/datatable/directives/datatable-action-menu-toggle.directive.mjs +137 -0
- package/esm2020/datatable/directives/datatable-cell-tpl.directive.mjs +16 -0
- package/esm2020/datatable/directives/datatable-filter.directive.mjs +27 -0
- package/esm2020/datatable/directives/datatable-row-action-item.directive.mjs +16 -0
- package/esm2020/datatable/models/action-item-column-position.mjs +5 -0
- package/esm2020/datatable/models/columns-alteration.mjs +38 -0
- package/esm2020/datatable/models/columns-alterations/order.columns-alteration.mjs +83 -0
- package/esm2020/datatable/models/datatable-gql-data-source.mjs +15 -0
- package/esm2020/datatable/models/internal-column-props.mjs +15 -0
- package/esm2020/datatable/models/sort-item.mjs +2 -0
- package/esm2020/datatable/services/columns-alterations-manager.service.mjs +136 -0
- package/esm2020/datatable/services/columns-manager.service.mjs +286 -0
- package/esm2020/datatable/services/datatable-column-changes.service.mjs +20 -0
- package/esm2020/datatable/services/datatable-preferences.service.mjs +166 -0
- package/esm2020/datatable/services/datatable-scrollbar-helper.service.mjs +50 -0
- package/esm2020/datatable/theseam-ui-common-datatable.mjs +5 -0
- package/esm2020/datatable/utils/map-columns-alterations-states.mjs +42 -0
- package/esm2020/datatable/utils/set-column-defaults.mjs +10 -0
- package/esm2020/datatable/utils/with-stored-column-info.mjs +20 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +118 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.mjs +50 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.mjs +148 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.mjs +2 -0
- package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +75 -0
- package/esm2020/datatable-dynamic/datatable-dynamic.module.mjs +80 -0
- package/esm2020/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.mjs +400 -0
- package/esm2020/datatable-dynamic/dynamic-datatable-def.service.mjs +88 -0
- package/esm2020/datatable-dynamic/dynamic-datatable-row-actions.service.mjs +46 -0
- package/esm2020/datatable-dynamic/models/dynamic-datatable-menu-bar.mjs +2 -0
- package/esm2020/dynamic/action/api/dynamic-action-api.service.mjs +209 -0
- package/esm2020/dynamic/action/dynamic-action-helper.service.mjs +158 -0
- package/esm2020/dynamic/action/link/dynamic-action-link.service.mjs +47 -0
- package/esm2020/dynamic/action/modal/dynamic-action-modal-def.mjs +2 -0
- package/esm2020/dynamic/action/modal/dynamic-action-modal.service.mjs +85 -0
- package/esm2020/dynamic/dynamic-value-helper.service.mjs +105 -0
- package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.mjs +30 -0
- package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-evaluator.mjs +32 -0
- package/esm2020/dynamic/models/dynamic-value-evaluatable-type.mjs +2 -0
- package/esm2020/dynamic-component-loader/dynamic-component-loader.module.mjs +50 -0
- package/esm2020/dynamic-component-loader/dynamic-component-loader.service.mjs +78 -0
- package/esm2020/dynamic-component-loader/dynamic-component-manifest.mjs +2 -0
- package/esm2020/footer-bar/footer-bar/footer-bar.component.mjs +11 -0
- package/esm2020/footer-bar/footer-bar.module.mjs +20 -0
- package/esm2020/form-field/form-field-error.directive.mjs +30 -0
- package/esm2020/form-field/form-field-help-text.directive.mjs +16 -0
- package/esm2020/form-field/form-field-label-tpl.directive.mjs +16 -0
- package/esm2020/form-field/form-field-required-indicator.component.mjs +46 -0
- package/esm2020/form-field/form-field-tokens.mjs +3 -0
- package/esm2020/form-field/form-field.component.mjs +221 -0
- package/esm2020/form-field/form-field.module.mjs +61 -0
- package/esm2020/form-field/input.directive.mjs +220 -0
- package/esm2020/form-field/public-api.mjs +10 -0
- package/esm2020/form-field/testing/form-field-required-indicator.harness.mjs +8 -0
- package/esm2020/form-field/testing/index.mjs +2 -0
- package/esm2020/form-field-error/form-field-error/form-field-error.component.mjs +26 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.mjs +26 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item.directive.mjs +18 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list.component.mjs +384 -0
- package/esm2020/form-field-error/form-field-error.module.mjs +39 -0
- package/esm2020/framework/base-layout/base-layout.component.mjs +133 -0
- package/esm2020/framework/base-layout/base-layout.module.mjs +80 -0
- package/esm2020/framework/base-layout/directives/base-layout-content-footer.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-content-header.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-content.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +66 -0
- package/esm2020/framework/base-layout/directives/base-layout-side-bar-footer.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-side-bar-header.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-side-bar.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-top-bar.directive.mjs +16 -0
- package/esm2020/framework/base-layout/index.mjs +15 -0
- package/esm2020/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.mjs +16 -0
- package/esm2020/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.mjs +23 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.mjs +119 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.mjs +177 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.component.mjs +206 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.service.mjs +172 -0
- package/esm2020/framework/dashboard/dashboard-widgets-tokens.mjs +3 -0
- package/esm2020/framework/dashboard/dashboard.component.mjs +24 -0
- package/esm2020/framework/dashboard/dashboard.module.mjs +60 -0
- package/esm2020/framework/dynamic-router/dynamic-route-def.mjs +2 -0
- package/esm2020/framework/dynamic-router/dynamic-router.module.mjs +28 -0
- package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.mjs +256 -0
- package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.mjs +116 -0
- package/esm2020/framework/dynamic-router/resolvers/hierarchy-level.resolver.mjs +26 -0
- package/esm2020/framework/nav/horizontal-nav/horizontal-nav.component.mjs +55 -0
- package/esm2020/framework/nav/nav-item/nav-item.component.mjs +227 -0
- package/esm2020/framework/nav/nav-utils.mjs +107 -0
- package/esm2020/framework/nav/nav.module.mjs +67 -0
- package/esm2020/framework/nav/nav.service.mjs +204 -0
- package/esm2020/framework/schema-form/schema-form-framework.component.mjs +18 -0
- package/esm2020/framework/schema-form/schema-form-framework.mjs +30 -0
- package/esm2020/framework/schema-form/schema-form.module.mjs +52 -0
- package/esm2020/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.mjs +43 -0
- package/esm2020/framework/schema-form-controls/schema-form-controls.module.mjs +79 -0
- package/esm2020/framework/schema-form-controls/schema-form-input/schema-form-input.component.mjs +34 -0
- package/esm2020/framework/schema-form-controls/schema-form-number/schema-form-number.component.mjs +40 -0
- package/esm2020/framework/schema-form-controls/schema-form-select/schema-form-select.component.mjs +38 -0
- package/esm2020/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.mjs +46 -0
- package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +144 -0
- package/esm2020/framework/side-nav/index.mjs +8 -0
- package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +169 -0
- package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +40 -0
- package/esm2020/framework/side-nav/side-nav-tokens.mjs +3 -0
- package/esm2020/framework/side-nav/side-nav-utils.mjs +80 -0
- package/esm2020/framework/side-nav/side-nav.component.mjs +372 -0
- package/esm2020/framework/side-nav/side-nav.models.mjs +2 -0
- package/esm2020/framework/side-nav/side-nav.module.mjs +32 -0
- package/esm2020/framework/side-nav/side-nav.service.mjs +178 -0
- package/esm2020/framework/theseam-ui-common-framework.mjs +5 -0
- package/esm2020/framework/top-bar/index.mjs +10 -0
- package/esm2020/framework/top-bar/top-bar-compact-menu-btn-detail.directive.mjs +16 -0
- package/esm2020/framework/top-bar/top-bar-item.directive.mjs +22 -0
- package/esm2020/framework/top-bar/top-bar-menu-btn-detail.directive.mjs +16 -0
- package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +56 -0
- package/esm2020/framework/top-bar/top-bar-menu.directive.mjs +19 -0
- package/esm2020/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.mjs +16 -0
- package/esm2020/framework/top-bar/top-bar-title/top-bar-title.component.mjs +17 -0
- package/esm2020/framework/top-bar/top-bar.component.mjs +141 -0
- package/esm2020/framework/top-bar/top-bar.module.mjs +83 -0
- package/esm2020/google-maps/google-maps/google-maps.component.mjs +298 -0
- package/esm2020/google-maps/google-maps-api-loader/google-maps-api-loader.mjs +3 -0
- package/esm2020/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.mjs +103 -0
- package/esm2020/google-maps/google-maps-api-loader/noop-google-maps-api-loader.mjs +25 -0
- package/esm2020/google-maps/google-maps-contextmenu.mjs +114 -0
- package/esm2020/google-maps/google-maps-controls.service.mjs +67 -0
- package/esm2020/google-maps/google-maps-feature-helpers.mjs +211 -0
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +209 -0
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.mjs +165 -0
- package/esm2020/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.mjs +58 -0
- package/esm2020/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.mjs +115 -0
- package/esm2020/google-maps/google-maps.module.mjs +70 -0
- package/esm2020/google-maps/google-maps.service.mjs +355 -0
- package/esm2020/google-maps/map-control.component.mjs +66 -0
- package/esm2020/google-maps/map-file-drop/map-file-drop.component.mjs +128 -0
- package/esm2020/google-maps/map-value-manager.service.mjs +48 -0
- package/esm2020/google-maps/public-api.mjs +17 -0
- package/esm2020/google-maps/theseam-ui-common-google-maps.mjs +5 -0
- package/esm2020/graphql/datatable/create-page-info-observable.mjs +38 -0
- package/esm2020/graphql/datatable/datatable-graphql-query-ref.mjs +212 -0
- package/esm2020/graphql/datatable/datatable-graphql.service.mjs +50 -0
- package/esm2020/graphql/datatable/datatable-helpers.mjs +175 -0
- package/esm2020/graphql/datatable/get-page-info.mjs +10 -0
- package/esm2020/graphql/datatable/map-filter-states.mjs +63 -0
- package/esm2020/graphql/utils/inline-variables.mjs +51 -0
- package/esm2020/graphql/utils/parse-hints.mjs +108 -0
- package/esm2020/graphql/utils/to-gql.mjs +40 -0
- package/esm2020/icon/icon/icon.component.mjs +139 -0
- package/esm2020/icon/icon-btn/icon-btn.component.mjs +183 -0
- package/esm2020/icon/icon-notification/icon-notification.component.mjs +124 -0
- package/esm2020/icon/icon.module.mjs +38 -0
- package/esm2020/icon/utils/get-known-icon.mjs +82 -0
- package/esm2020/layout/breakpoint-aliases.mjs +11 -0
- package/esm2020/layout/layout.module.mjs +25 -0
- package/esm2020/layout/layout.service.mjs +32 -0
- package/esm2020/layout/observe-media-query.mjs +41 -0
- package/esm2020/loading/loading/loading.component.mjs +26 -0
- package/esm2020/loading/loading-overlay.service.mjs +58 -0
- package/esm2020/loading/loading.module.mjs +41 -0
- package/esm2020/menu/menu-divider.component.mjs +13 -0
- package/esm2020/menu/menu-footer/menu-footer.component.mjs +32 -0
- package/esm2020/menu/menu-footer-action/menu-footer-action.component.mjs +54 -0
- package/esm2020/menu/menu-header/menu-header.component.mjs +32 -0
- package/esm2020/menu/menu-item.component.mjs +130 -0
- package/esm2020/menu/menu-toggle.directive.mjs +256 -0
- package/esm2020/menu/menu.component.mjs +177 -0
- package/esm2020/menu/menu.module.mjs +67 -0
- package/esm2020/modal/directives/modal-close.directive.mjs +74 -0
- package/esm2020/modal/directives/modal-footer-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-header-icon-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-header-title-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-title.directive.mjs +20 -0
- package/esm2020/modal/directives/modal.directive.mjs +25 -0
- package/esm2020/modal/modal/modal.component.mjs +162 -0
- package/esm2020/modal/modal-body/modal-body.component.mjs +21 -0
- package/esm2020/modal/modal-config.mjs +47 -0
- package/esm2020/modal/modal-container/modal-container.component.mjs +245 -0
- package/esm2020/modal/modal-footer/modal-footer.component.mjs +17 -0
- package/esm2020/modal/modal-header/modal-header.component.mjs +28 -0
- package/esm2020/modal/modal-ref.mjs +171 -0
- package/esm2020/modal/modal.models.mjs +3 -0
- package/esm2020/modal/modal.module.mjs +127 -0
- package/esm2020/modal/modal.service.mjs +352 -0
- package/esm2020/modal/route-modal/route-modal.component.mjs +62 -0
- package/esm2020/popover/popover/popover.component.mjs +156 -0
- package/esm2020/popover/popover.directive.mjs +260 -0
- package/esm2020/popover/popover.module.mjs +40 -0
- package/esm2020/progress/progress-circle/progress-circle.component.mjs +65 -0
- package/esm2020/progress/progress.module.mjs +24 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/scrollbar/overlay-scrollbar.directive.mjs +60 -0
- package/esm2020/scrollbar/overlay-scrollbars-config.mjs +13 -0
- package/esm2020/scrollbar/overlay-scrollbars.service.mjs +83 -0
- package/esm2020/scrollbar/scrollbar.module.mjs +30 -0
- package/esm2020/services/asset-loader.service.mjs +32 -0
- package/esm2020/services/font-loader.service.mjs +83 -0
- package/esm2020/services/router-helpers.service.mjs +25 -0
- package/esm2020/shared/components/password-input-reveal/password-input-reveal.component.mjs +49 -0
- package/esm2020/shared/directives/auto-focus.directive.mjs +54 -0
- package/esm2020/shared/directives/click-outside.directive.mjs +52 -0
- package/esm2020/shared/directives/disable-control.directive.mjs +27 -0
- package/esm2020/shared/directives/elem-resized.directive.mjs +28 -0
- package/esm2020/shared/directives/hover-class-toggle.directive.mjs +88 -0
- package/esm2020/shared/directives/hover-class.directive.mjs +82 -0
- package/esm2020/shared/directives/ng-select-extra.directive.mjs +184 -0
- package/esm2020/shared/directives/ngx-quill-extra.directive.mjs +61 -0
- package/esm2020/shared/pipes/mask-chars.pipe.mjs +25 -0
- package/esm2020/shared/pipes/truncate.pipe.mjs +23 -0
- package/esm2020/shared/shared.module.mjs +93 -0
- package/esm2020/storage/local-storage.service.mjs +78 -0
- package/esm2020/storage/localstorage-memory.mjs +64 -0
- package/esm2020/story-helpers/arg-type-helpers.mjs +35 -0
- package/esm2020/story-helpers/initial-route.service.mjs +27 -0
- package/esm2020/story-helpers/on-story-bootstrapped-exec.mjs +61 -0
- package/esm2020/story-helpers/on-story-bootstrapped-trigger.mjs +39 -0
- package/esm2020/story-helpers/public-api.mjs +15 -0
- package/esm2020/story-helpers/routes-arg-type.mjs +19 -0
- package/esm2020/story-helpers/story-empty-with-route.component.mjs +12 -0
- package/esm2020/story-helpers/story-empty.component.mjs +11 -0
- package/esm2020/story-helpers/story-helper-components.module.mjs +42 -0
- package/esm2020/story-helpers/story-initial-route.mjs +28 -0
- package/esm2020/story-helpers/story-modal-container.component.mjs +90 -0
- package/esm2020/story-helpers/story-toastr.service.mjs +36 -0
- package/esm2020/tabbed/directives/tabbed-tab-content.directive.mjs +17 -0
- package/esm2020/tabbed/directives/tabbed-tab.directive.mjs +37 -0
- package/esm2020/tabbed/public-api.mjs +9 -0
- package/esm2020/tabbed/tabbed-content/tabbed-content.component.mjs +16 -0
- package/esm2020/tabbed/tabbed-item/tabbed-item.component.mjs +33 -0
- package/esm2020/tabbed/tabbed-models.mjs +2 -0
- package/esm2020/tabbed/tabbed.component.mjs +112 -0
- package/esm2020/tabbed/tabbed.module.mjs +54 -0
- package/esm2020/tabbed/tabbed.service.mjs +30 -0
- package/esm2020/table/table/table.component.mjs +96 -0
- package/esm2020/table/table.module.mjs +32 -0
- package/esm2020/table-cell-type/services/table-cell-types-helpers.service.mjs +67 -0
- package/esm2020/table-cell-type/table-cell-type-export-props.mjs +2 -0
- package/esm2020/table-cell-type/table-cell-type-models.mjs +2 -0
- package/esm2020/table-cell-type/table-cell-type-selector.component.mjs +100 -0
- package/esm2020/table-cell-type/table-cell-type.module.mjs +29 -0
- package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.mjs +86 -0
- package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.component.mjs +52 -0
- package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.mjs +84 -0
- package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.mjs +175 -0
- package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.mjs +82 -0
- package/esm2020/table-cell-types/table-cell-type-manifests.mjs +92 -0
- package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.mjs +67 -0
- package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.mjs +168 -0
- package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.mjs +77 -0
- package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +197 -0
- package/esm2020/table-cell-types/table-cell-types.module.mjs +118 -0
- package/esm2020/table-cell-types/theseam-ui-common-table-cell-types.mjs +5 -0
- package/esm2020/tel-input/intl-tel-input.mjs +55 -0
- package/esm2020/tel-input/phone-number.pipe.mjs +49 -0
- package/esm2020/tel-input/tel-input/tel-input.component.mjs +186 -0
- package/esm2020/tel-input/tel-input-validator.mjs +27 -0
- package/esm2020/tel-input/tel-input.directive.mjs +210 -0
- package/esm2020/tel-input/tel-input.module.mjs +42 -0
- package/esm2020/tel-input/utils/add-country-code.mjs +23 -0
- package/esm2020/tel-input/utils/get-validation-error-message.mjs +12 -0
- package/esm2020/tel-input/utils/process-country-codes.mjs +46 -0
- package/esm2020/testing/get-harness.mjs +13 -0
- package/esm2020/testing/render-story.mjs +10 -0
- package/esm2020/testing/story-expect.mjs +39 -0
- package/esm2020/tiled-select/components/tiled-select/tiled-select.component.mjs +214 -0
- package/esm2020/tiled-select/components/tiled-select-tile/tiled-select-tile.component.mjs +159 -0
- package/esm2020/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.mjs +63 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-icon-tpl.directive.mjs +17 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-label-tpl.directive.mjs +16 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-overlay.directive.mjs +19 -0
- package/esm2020/tiled-select/public-api.mjs +10 -0
- package/esm2020/tiled-select/testing/index.mjs +3 -0
- package/esm2020/tiled-select/testing/tiled-select-harness.mjs +21 -0
- package/esm2020/tiled-select/testing/tiled-select-tile-harness.mjs +23 -0
- package/esm2020/tiled-select/tiled-select.module.mjs +51 -0
- package/esm2020/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.mjs +11 -0
- package/esm2020/toggle-edit/toggle-edit-display-tpl.directive.mjs +16 -0
- package/esm2020/toggle-edit/toggle-edit-keyboard-listener.service.mjs +57 -0
- package/esm2020/toggle-edit/toggle-edit.component.mjs +414 -0
- package/esm2020/toggle-edit/toggle-edit.module.mjs +64 -0
- package/esm2020/toggle-group/toggle-group-option.directive.mjs +47 -0
- package/esm2020/toggle-group/toggle-group.directive.mjs +198 -0
- package/esm2020/toggle-group/toggle-group.module.mjs +33 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-can-deactivate.mjs +30 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +21 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.guard.mjs +38 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +17 -0
- package/esm2020/utils/array-move.mjs +62 -0
- package/esm2020/utils/cdk/get-closest-widget-cdk-drag.mjs +18 -0
- package/esm2020/utils/file-utils.mjs +49 -0
- package/esm2020/utils/form/get-control-path.mjs +38 -0
- package/esm2020/utils/geo-json/coerce-feature-collection.mjs +44 -0
- package/esm2020/utils/geo-json/geo-json-to-area.mjs +11 -0
- package/esm2020/utils/geo-json/is-feature-collection.validator.mjs +21 -0
- package/esm2020/utils/geo-json/is-only-geometry-types.mjs +23 -0
- package/esm2020/utils/geo-json/is-only-geometry-types.validator.mjs +32 -0
- package/esm2020/utils/geo-json/merge-polygons.mjs +35 -0
- package/esm2020/utils/geo-json/min-max-points.validator.mjs +56 -0
- package/esm2020/utils/geo-json/no-inner-rings.validator.mjs +63 -0
- package/esm2020/utils/geo-json/read-geo-file.mjs +93 -0
- package/esm2020/utils/geo-json/split-multi-polygons.mjs +29 -0
- package/esm2020/utils/has-property.mjs +7 -0
- package/esm2020/utils/load-style-sheet.mjs +14 -0
- package/esm2020/utils/load-style.mjs +13 -0
- package/esm2020/utils/obj-utils.mjs +26 -0
- package/esm2020/utils/polling-ticker.mjs +121 -0
- package/esm2020/utils/router/operators/activated-routes-with-data-property.mjs +11 -0
- package/esm2020/utils/router/route-snapshot-path-full.mjs +5 -0
- package/esm2020/utils/router/route-snapshot-path-relative.mjs +4 -0
- package/esm2020/utils/router/will-have-data-prop.mjs +10 -0
- package/esm2020/utils/subscriber-count.mjs +45 -0
- package/esm2020/utils/toggle-attribute.mjs +36 -0
- package/esm2020/utils/wait-on-condition-async.mjs +30 -0
- package/esm2020/vertical-list-filter/public-api.mjs +3 -0
- package/esm2020/vertical-list-filter/testing/index.mjs +2 -0
- package/esm2020/vertical-list-filter/testing/vertical-list-filter.harness.mjs +28 -0
- package/esm2020/vertical-list-filter/theseam-ui-common-vertical-list-filter.mjs +5 -0
- package/esm2020/vertical-list-filter/vertical-list-filter.component.mjs +52 -0
- package/esm2020/viewers/html-template-viewer/html-template-viewer.component.mjs +219 -0
- package/esm2020/viewers/html-template-viewer/html-template-viewer.module.mjs +32 -0
- package/esm2020/viewers/pdf-viewer/pdf-page/pdf-page.component.mjs +143 -0
- package/esm2020/viewers/pdf-viewer/pdf-renderer.service.mjs +28 -0
- package/esm2020/viewers/pdf-viewer/pdf-viewer.component.mjs +164 -0
- package/esm2020/viewers/pdf-viewer/pdf-viewer.module.mjs +33 -0
- package/esm2020/widget/directives/widget-drag-handle.directive.mjs +150 -0
- package/esm2020/widget/directives/widget-icon-tpl.directive.mjs +16 -0
- package/esm2020/widget/directives/widget-title-tpl.directive.mjs +16 -0
- package/esm2020/widget/widget/widget.component.mjs +142 -0
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.component.mjs +11 -0
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.module.mjs +30 -0
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.component.mjs +11 -0
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-description/widget-description.component.mjs +11 -0
- package/esm2020/widget/widget-content-components/widget-description/widget-description.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.component.mjs +39 -0
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.component.mjs +11 -0
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.component.mjs +11 -0
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.component.mjs +22 -0
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.mjs +17 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.mjs +124 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.module.mjs +46 -0
- package/esm2020/widget/widget-content-components/widget-table/widget-table.component.mjs +38 -0
- package/esm2020/widget/widget-content-components/widget-table/widget-table.module.mjs +32 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.mjs +13 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.mjs +41 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.mjs +11 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.mjs +17 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.component.mjs +122 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.module.mjs +48 -0
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.component.mjs +11 -0
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.module.mjs +27 -0
- package/esm2020/widget/widget-footer/widget-footer.component.mjs +11 -0
- package/esm2020/widget/widget-registry.service.mjs +56 -0
- package/esm2020/widget/widget.module.mjs +125 -0
- package/fesm2015/theseam-ui-common-asset-reader.mjs +186 -0
- package/fesm2015/theseam-ui-common-asset-reader.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs +201 -0
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-buttons.mjs +314 -0
- package/fesm2015/theseam-ui-common-buttons.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-card.mjs +153 -0
- package/fesm2015/theseam-ui-common-card.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-carousel.mjs +265 -0
- package/fesm2015/theseam-ui-common-carousel.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-checkbox.mjs +393 -0
- package/fesm2015/theseam-ui-common-checkbox.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs +173 -0
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-core.mjs +225 -0
- package/fesm2015/theseam-ui-common-core.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-data-exporter.mjs +93 -0
- package/fesm2015/theseam-ui-common-data-exporter.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-data-filters.mjs +508 -0
- package/fesm2015/theseam-ui-common-data-filters.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +998 -0
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-datatable.mjs +2818 -0
- package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs +135 -0
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-dynamic.mjs +722 -0
- package/fesm2015/theseam-ui-common-dynamic.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-footer-bar.mjs +35 -0
- package/fesm2015/theseam-ui-common-footer-bar.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-form-field-error.mjs +479 -0
- package/fesm2015/theseam-ui-common-form-field-error.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-form-field.mjs +601 -0
- package/fesm2015/theseam-ui-common-form-field.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-framework.mjs +3733 -0
- package/fesm2015/theseam-ui-common-framework.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-google-maps.mjs +1957 -0
- package/fesm2015/theseam-ui-common-google-maps.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-graphql.mjs +862 -0
- package/fesm2015/theseam-ui-common-graphql.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-icon.mjs +587 -0
- package/fesm2015/theseam-ui-common-icon.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-layout.mjs +101 -0
- package/fesm2015/theseam-ui-common-layout.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-loading.mjs +139 -0
- package/fesm2015/theseam-ui-common-loading.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-menu.mjs +810 -0
- package/fesm2015/theseam-ui-common-menu.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-modal.mjs +1378 -0
- package/fesm2015/theseam-ui-common-modal.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-models.mjs +52 -0
- package/fesm2015/theseam-ui-common-models.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-popover.mjs +498 -0
- package/fesm2015/theseam-ui-common-popover.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-progress.mjs +93 -0
- package/fesm2015/theseam-ui-common-progress.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-scrollbar.mjs +184 -0
- package/fesm2015/theseam-ui-common-scrollbar.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-services.mjs +139 -0
- package/fesm2015/theseam-ui-common-services.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-shared.mjs +739 -0
- package/fesm2015/theseam-ui-common-shared.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-storage.mjs +148 -0
- package/fesm2015/theseam-ui-common-storage.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-story-helpers.mjs +402 -0
- package/fesm2015/theseam-ui-common-story-helpers.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tabbed.mjs +281 -0
- package/fesm2015/theseam-ui-common-tabbed.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table-cell-type.mjs +201 -0
- package/fesm2015/theseam-ui-common-table-cell-type.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table-cell-types.mjs +1134 -0
- package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table.mjs +128 -0
- package/fesm2015/theseam-ui-common-table.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tel-input.mjs +765 -0
- package/fesm2015/theseam-ui-common-tel-input.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-testing.mjs +192 -0
- package/fesm2015/theseam-ui-common-testing.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tiled-select.mjs +571 -0
- package/fesm2015/theseam-ui-common-tiled-select.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-toggle-edit.mjs +560 -0
- package/fesm2015/theseam-ui-common-toggle-edit.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-toggle-group.mjs +279 -0
- package/fesm2015/theseam-ui-common-toggle-group.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs +106 -0
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-utils.mjs +1319 -0
- package/fesm2015/theseam-ui-common-utils.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-validators.mjs +94 -0
- package/fesm2015/theseam-ui-common-validators.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-vertical-list-filter.mjs +96 -0
- package/fesm2015/theseam-ui-common-vertical-list-filter.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-viewers.mjs +602 -0
- package/fesm2015/theseam-ui-common-viewers.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-widget.mjs +1243 -0
- package/fesm2015/theseam-ui-common-widget.mjs.map +1 -0
- package/fesm2015/theseam-ui-common.mjs +6 -0
- package/fesm2015/theseam-ui-common.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-asset-reader.mjs +184 -0
- package/fesm2020/theseam-ui-common-asset-reader.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs +201 -0
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-buttons.mjs +314 -0
- package/fesm2020/theseam-ui-common-buttons.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-card.mjs +151 -0
- package/fesm2020/theseam-ui-common-card.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-carousel.mjs +265 -0
- package/fesm2020/theseam-ui-common-carousel.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-checkbox.mjs +375 -0
- package/fesm2020/theseam-ui-common-checkbox.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs +173 -0
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-core.mjs +233 -0
- package/fesm2020/theseam-ui-common-core.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-data-exporter.mjs +93 -0
- package/fesm2020/theseam-ui-common-data-exporter.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-data-filters.mjs +500 -0
- package/fesm2020/theseam-ui-common-data-filters.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +986 -0
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-datatable.mjs +2811 -0
- package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs +133 -0
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-dynamic.mjs +689 -0
- package/fesm2020/theseam-ui-common-dynamic.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-footer-bar.mjs +35 -0
- package/fesm2020/theseam-ui-common-footer-bar.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-form-field-error.mjs +483 -0
- package/fesm2020/theseam-ui-common-form-field-error.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-form-field.mjs +594 -0
- package/fesm2020/theseam-ui-common-form-field.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-framework.mjs +3734 -0
- package/fesm2020/theseam-ui-common-framework.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-google-maps.mjs +1948 -0
- package/fesm2020/theseam-ui-common-google-maps.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-graphql.mjs +868 -0
- package/fesm2020/theseam-ui-common-graphql.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-icon.mjs +587 -0
- package/fesm2020/theseam-ui-common-icon.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-layout.mjs +111 -0
- package/fesm2020/theseam-ui-common-layout.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-loading.mjs +138 -0
- package/fesm2020/theseam-ui-common-loading.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-menu.mjs +797 -0
- package/fesm2020/theseam-ui-common-menu.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-modal.mjs +1370 -0
- package/fesm2020/theseam-ui-common-modal.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-models.mjs +55 -0
- package/fesm2020/theseam-ui-common-models.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-popover.mjs +495 -0
- package/fesm2020/theseam-ui-common-popover.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-progress.mjs +93 -0
- package/fesm2020/theseam-ui-common-progress.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-scrollbar.mjs +184 -0
- package/fesm2020/theseam-ui-common-scrollbar.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-services.mjs +140 -0
- package/fesm2020/theseam-ui-common-services.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-shared.mjs +733 -0
- package/fesm2020/theseam-ui-common-shared.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-storage.mjs +148 -0
- package/fesm2020/theseam-ui-common-storage.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-story-helpers.mjs +402 -0
- package/fesm2020/theseam-ui-common-story-helpers.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tabbed.mjs +279 -0
- package/fesm2020/theseam-ui-common-tabbed.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table-cell-type.mjs +198 -0
- package/fesm2020/theseam-ui-common-table-cell-type.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table-cell-types.mjs +1109 -0
- package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table.mjs +132 -0
- package/fesm2020/theseam-ui-common-table.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tel-input.mjs +750 -0
- package/fesm2020/theseam-ui-common-tel-input.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-testing.mjs +188 -0
- package/fesm2020/theseam-ui-common-testing.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tiled-select.mjs +557 -0
- package/fesm2020/theseam-ui-common-tiled-select.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-toggle-edit.mjs +553 -0
- package/fesm2020/theseam-ui-common-toggle-edit.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-toggle-group.mjs +276 -0
- package/fesm2020/theseam-ui-common-toggle-group.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs +106 -0
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-utils.mjs +1296 -0
- package/fesm2020/theseam-ui-common-utils.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-validators.mjs +94 -0
- package/fesm2020/theseam-ui-common-validators.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-vertical-list-filter.mjs +87 -0
- package/fesm2020/theseam-ui-common-vertical-list-filter.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-viewers.mjs +598 -0
- package/fesm2020/theseam-ui-common-viewers.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-widget.mjs +1239 -0
- package/fesm2020/theseam-ui-common-widget.mjs.map +1 -0
- package/fesm2020/theseam-ui-common.mjs +6 -0
- package/fesm2020/theseam-ui-common.mjs.map +1 -0
- package/footer-bar/footer-bar/footer-bar.component.d.ts +4 -4
- package/footer-bar/footer-bar.module.d.ts +6 -0
- package/footer-bar/index.d.ts +5 -0
- package/form-field/form-field-error.directive.d.ts +3 -0
- package/form-field/form-field-help-text.directive.d.ts +3 -0
- package/form-field/form-field-label-tpl.directive.d.ts +3 -0
- package/form-field/form-field-required-indicator.component.d.ts +5 -3
- package/form-field/form-field-tokens.d.ts +2 -0
- package/form-field/form-field.component.d.ts +3 -0
- package/form-field/form-field.module.d.ts +14 -0
- package/form-field/index.d.ts +5 -0
- package/form-field/input.directive.d.ts +3 -0
- package/form-field/public-api.d.ts +2 -0
- package/form-field/testing/form-field-required-indicator.harness.d.ts +5 -0
- package/form-field/testing/index.d.ts +1 -0
- package/form-field-error/form-field-error/form-field-error.component.d.ts +4 -4
- package/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list-item.directive.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list.component.d.ts +5 -3
- package/form-field-error/form-field-error.module.d.ts +9 -0
- package/form-field-error/index.d.ts +5 -0
- package/framework/base-layout/base-layout-action.d.ts +1 -1
- package/framework/base-layout/base-layout.component.d.ts +3 -0
- package/framework/base-layout/base-layout.module.d.ts +18 -0
- package/framework/base-layout/directives/base-layout-content-footer.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-content-header.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-content.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-side-bar-footer.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-side-bar-header.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-side-bar.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-top-bar.directive.d.ts +3 -0
- package/framework/base-layout/index.d.ts +2 -0
- package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.d.ts +5 -4
- package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.d.ts +8 -6
- package/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.d.ts +5 -1
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.service.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets-tokens.d.ts +7 -0
- package/framework/dashboard/dashboard.component.d.ts +3 -1
- package/framework/dashboard/dashboard.module.d.ts +15 -0
- package/framework/dynamic-router/dynamic-router.module.d.ts +7 -0
- package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.d.ts +5 -3
- package/framework/dynamic-router/resolvers/hierarchy-level.resolver.d.ts +3 -1
- package/framework/index.d.ts +5 -0
- package/framework/nav/horizontal-nav/horizontal-nav.component.d.ts +5 -3
- package/framework/nav/nav-item/nav-item.component.d.ts +3 -0
- package/framework/nav/nav.models.d.ts +3 -3
- package/framework/nav/nav.module.d.ts +15 -0
- package/framework/nav/nav.service.d.ts +3 -0
- package/framework/schema-form/schema-form-framework.component.d.ts +3 -0
- package/framework/schema-form/schema-form-framework.d.ts +3 -0
- package/framework/schema-form/schema-form.module.d.ts +8 -0
- package/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-controls.module.d.ts +18 -0
- package/framework/schema-form-controls/schema-form-input/schema-form-input.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-number/schema-form-number.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-select/schema-form-select.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +4 -1
- package/framework/side-nav/index.d.ts +1 -0
- package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +7 -13
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +5 -4
- package/framework/side-nav/side-nav-tokens.d.ts +6 -0
- package/framework/side-nav/side-nav.component.d.ts +5 -2
- package/framework/side-nav/side-nav.models.d.ts +8 -2
- package/framework/side-nav/side-nav.module.d.ts +7 -0
- package/framework/side-nav/side-nav.service.d.ts +3 -0
- package/framework/top-bar/index.d.ts +2 -0
- package/framework/top-bar/top-bar-compact-menu-btn-detail.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-item.directive.d.ts +4 -1
- package/framework/top-bar/top-bar-menu-btn-detail.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +5 -4
- package/framework/top-bar/top-bar-menu.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-title/top-bar-title.component.d.ts +4 -4
- package/framework/top-bar/top-bar.component.d.ts +5 -4
- package/framework/top-bar/top-bar.module.d.ts +19 -0
- package/google-maps/google-maps/google-maps.component.d.ts +18 -11
- package/google-maps/google-maps-api-loader/google-maps-api-loader.d.ts +4 -0
- package/google-maps/google-maps-api-loader/lazy-google-maps-api-loader.d.ts +73 -0
- package/google-maps/google-maps-api-loader/noop-google-maps-api-loader.d.ts +13 -0
- package/google-maps/google-maps-contextmenu.d.ts +1 -1
- package/google-maps/google-maps-controls.service.d.ts +3 -0
- package/google-maps/google-maps-feature-helpers.d.ts +1 -1
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.d.ts +6 -4
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.d.ts +4 -1
- package/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.d.ts +3 -0
- package/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.d.ts +3 -0
- package/google-maps/google-maps.module.d.ts +18 -0
- package/google-maps/google-maps.service.d.ts +4 -1
- package/google-maps/index.d.ts +5 -0
- package/google-maps/map-control.component.d.ts +3 -0
- package/google-maps/map-controls-service.d.ts +1 -1
- package/google-maps/map-file-drop/map-file-drop.component.d.ts +3 -0
- package/google-maps/map-value-manager.service.d.ts +4 -1
- package/google-maps/public-api.d.ts +3 -0
- package/graphql/datatable/datatable-graphql-query-ref.d.ts +2 -3
- package/graphql/datatable/datatable-graphql.service.d.ts +4 -1
- package/graphql/datatable/datatable-helpers.d.ts +2 -2
- package/graphql/datatable/map-filter-states.d.ts +2 -2
- package/graphql/datatable/map-page-info.d.ts +1 -1
- package/graphql/datatable/mapper-context.d.ts +1 -1
- package/graphql/index.d.ts +5 -0
- package/graphql/models/gql-datatable-accessor.d.ts +1 -1
- package/graphql/models/hint-transformer.d.ts +1 -1
- package/icon/icon/icon.component.d.ts +4 -1
- package/icon/icon-btn/icon-btn.component.d.ts +5 -3
- package/icon/icon-notification/icon-notification.component.d.ts +3 -0
- package/icon/icon.d.ts +1 -1
- package/icon/icon.module.d.ts +9 -0
- package/icon/index.d.ts +5 -0
- package/index.d.ts +5 -0
- package/layout/breakpoint-aliases.d.ts +1 -1
- package/layout/index.d.ts +5 -0
- package/layout/layout.module.d.ts +6 -0
- package/layout/layout.service.d.ts +3 -0
- package/loading/index.d.ts +5 -0
- package/loading/loading/loading.component.d.ts +4 -4
- package/loading/loading-overlay.service.d.ts +3 -0
- package/loading/loading.models.d.ts +1 -1
- package/loading/loading.module.d.ts +9 -0
- package/menu/index.d.ts +5 -0
- package/menu/menu-divider.component.d.ts +3 -0
- package/menu/menu-footer/menu-footer.component.d.ts +3 -0
- package/menu/menu-footer-action/menu-footer-action.component.d.ts +3 -0
- package/menu/menu-header/menu-header.component.d.ts +3 -0
- package/menu/menu-item.component.d.ts +5 -3
- package/menu/menu-toggle.directive.d.ts +3 -0
- package/menu/menu.component.d.ts +3 -0
- package/menu/menu.module.d.ts +14 -0
- package/modal/README.md +5 -0
- package/modal/directives/modal-close.directive.d.ts +3 -0
- package/modal/directives/modal-footer-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-header-icon-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-header-title-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-title.directive.d.ts +3 -0
- package/modal/directives/modal.directive.d.ts +3 -0
- package/modal/index.d.ts +5 -0
- package/modal/modal/modal.component.d.ts +8 -6
- package/modal/modal-body/modal-body.component.d.ts +4 -4
- package/modal/modal-config.d.ts +1 -1
- package/modal/modal-container/modal-container.component.d.ts +5 -2
- package/modal/modal-footer/modal-footer.component.d.ts +4 -4
- package/modal/modal-header/modal-header.component.d.ts +4 -4
- package/modal/modal.models.d.ts +2 -2
- package/modal/modal.module.d.ts +23 -0
- package/modal/modal.service.d.ts +3 -0
- package/modal/route-modal/route-modal.component.d.ts +5 -3
- package/models/component-type.d.ts +1 -1
- package/models/index.d.ts +5 -0
- package/models/size-prefixes.d.ts +1 -1
- package/models/size-types.d.ts +1 -1
- package/models/theme-prefixes.d.ts +1 -1
- package/models/theme-types.d.ts +2 -2
- package/package.json +418 -24
- package/popover/index.d.ts +5 -0
- package/popover/popover/popover.component.d.ts +3 -0
- package/popover/popover.directive.d.ts +3 -0
- package/popover/popover.module.d.ts +9 -0
- package/progress/index.d.ts +5 -0
- package/progress/progress-circle/progress-circle.component.d.ts +3 -1
- package/progress/progress.module.d.ts +6 -0
- package/scrollbar/index.d.ts +5 -0
- package/scrollbar/overlay-scrollbar.directive.d.ts +5 -3
- package/scrollbar/overlay-scrollbars-config-model.d.ts +1 -1
- package/scrollbar/overlay-scrollbars.service.d.ts +3 -0
- package/scrollbar/scrollbar.module.d.ts +6 -0
- package/services/asset-loader.service.d.ts +3 -1
- package/services/font-loader.service.d.ts +4 -2
- package/services/index.d.ts +5 -0
- package/services/router-helpers.service.d.ts +3 -0
- package/shared/components/password-input-reveal/password-input-reveal.component.d.ts +3 -0
- package/shared/directives/auto-focus.directive.d.ts +3 -0
- package/shared/directives/click-outside.directive.d.ts +3 -0
- package/shared/directives/disable-control.directive.d.ts +3 -0
- package/shared/directives/elem-resized.directive.d.ts +3 -0
- package/shared/directives/hover-class-toggle.directive.d.ts +3 -0
- package/shared/directives/hover-class.directive.d.ts +3 -0
- package/shared/directives/ng-select-extra.directive.d.ts +3 -0
- package/shared/directives/ngx-quill-extra.directive.d.ts +3 -0
- package/shared/index.d.ts +5 -0
- package/shared/pipes/mask-chars.pipe.d.ts +3 -0
- package/shared/pipes/truncate.pipe.d.ts +3 -0
- package/shared/shared.module.d.ts +20 -0
- package/storage/index.d.ts +5 -0
- package/storage/local-storage.service.d.ts +3 -0
- package/story-helpers/arg-type-helpers.d.ts +2 -1
- package/story-helpers/index.d.ts +5 -0
- package/story-helpers/initial-route.service.d.ts +3 -0
- package/story-helpers/on-story-bootstrapped-exec.d.ts +1 -6
- package/story-helpers/public-api.d.ts +0 -1
- package/story-helpers/routes-arg-type.d.ts +7 -2
- package/story-helpers/story-empty-with-route.component.d.ts +3 -0
- package/story-helpers/story-empty.component.d.ts +3 -0
- package/story-helpers/story-helper-components.module.d.ts +10 -0
- package/story-helpers/story-initial-route.d.ts +4 -0
- package/story-helpers/story-modal-container.component.d.ts +3 -0
- package/story-helpers/story-toastr.service.d.ts +3 -0
- package/styles/bootstrap/_bootstrap.scss +34 -34
- package/styles/bootstrap/_bs-utilities.scss +3 -3
- package/styles/theme.scss +3 -3
- package/styles/vendor/ngx-datatable/_ngx-datatable.scss +39 -13
- package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +25 -15
- package/styles/vendor/quill/_quill.scss +3 -3
- package/tabbed/directives/tabbed-tab-content.directive.d.ts +5 -2
- package/tabbed/directives/tabbed-tab.directive.d.ts +5 -1
- package/tabbed/index.d.ts +5 -0
- package/tabbed/public-api.d.ts +1 -0
- package/tabbed/tabbed-content/tabbed-content.component.d.ts +6 -6
- package/tabbed/tabbed-item/tabbed-item.component.d.ts +6 -4
- package/tabbed/tabbed-models.d.ts +12 -0
- package/tabbed/tabbed.component.d.ts +3 -0
- package/tabbed/tabbed.module.d.ts +12 -0
- package/tabbed/tabbed.service.d.ts +3 -1
- package/table/index.d.ts +5 -0
- package/table/table/table.component.d.ts +7 -5
- package/table/table.module.d.ts +8 -0
- package/table-cell-type/index.d.ts +5 -0
- package/table-cell-type/services/table-cell-types-helpers.service.d.ts +3 -0
- package/table-cell-type/table-cell-type-models.d.ts +4 -4
- package/table-cell-type/table-cell-type-name.d.ts +1 -1
- package/table-cell-type/table-cell-type-selector.component.d.ts +6 -4
- package/table-cell-type/table-cell-type.module.d.ts +7 -0
- package/table-cell-types/index.d.ts +5 -0
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.d.ts +1 -1
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.d.ts +5 -3
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency.d.ts +1 -1
- package/table-cell-types/table-cell-type-date/table-cell-type-date.component.d.ts +5 -3
- package/table-cell-types/table-cell-type-date/table-cell-type-date.d.ts +1 -1
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +1 -1
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.d.ts +5 -3
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.d.ts +1 -1
- package/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.d.ts +1 -1
- package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +6 -4
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +1 -1
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.d.ts +5 -3
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer.d.ts +1 -1
- package/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.d.ts +5 -3
- package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.d.ts +1 -1
- package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.d.ts +5 -3
- package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.d.ts +1 -1
- package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.d.ts +5 -3
- package/table-cell-types/table-cell-type-string/table-cell-type-string-config.d.ts +1 -1
- package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +4 -1
- package/table-cell-types/table-cell-types.module.d.ts +24 -0
- package/tel-input/README.md +27 -0
- package/tel-input/index.d.ts +5 -0
- package/tel-input/phone-number.pipe.d.ts +3 -0
- package/tel-input/tel-input/tel-input.component.d.ts +5 -2
- package/tel-input/tel-input-validator.d.ts +3 -3
- package/tel-input/tel-input.directive.d.ts +3 -0
- package/tel-input/tel-input.module.d.ts +10 -0
- package/tel-input/utils/coerce-phone-number-format.d.ts +1 -1
- package/testing/index.d.ts +5 -0
- package/tiled-select/components/tiled-select/tiled-select.component.d.ts +6 -4
- package/tiled-select/components/tiled-select-tile/tiled-select-tile.component.d.ts +3 -0
- package/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.d.ts +4 -4
- package/tiled-select/directives/tiled-select-tile-icon-tpl.directive.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-label-tpl.directive.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-overlay.directive.d.ts +3 -0
- package/tiled-select/index.d.ts +5 -0
- package/tiled-select/public-api.d.ts +1 -0
- package/tiled-select/testing/index.d.ts +2 -0
- package/tiled-select/testing/tiled-select-harness.d.ts +9 -0
- package/tiled-select/testing/tiled-select-tile-harness.d.ts +17 -0
- package/tiled-select/tiled-select.models.d.ts +2 -2
- package/tiled-select/tiled-select.module.d.ts +12 -0
- package/toggle-edit/index.d.ts +5 -0
- package/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.d.ts +4 -4
- package/toggle-edit/toggle-edit-display-tpl.directive.d.ts +3 -0
- package/toggle-edit/toggle-edit-keyboard-listener.service.d.ts +3 -0
- package/toggle-edit/toggle-edit.component.d.ts +3 -0
- package/toggle-edit/toggle-edit.module.d.ts +16 -0
- package/toggle-group/index.d.ts +5 -0
- package/toggle-group/toggle-group-option.directive.d.ts +3 -0
- package/toggle-group/toggle-group.directive.d.ts +3 -1
- package/toggle-group/toggle-group.module.d.ts +8 -0
- package/unsaved-changes-dialog/index.d.ts +5 -0
- package/unsaved-changes-dialog/unsaved-changes-can-deactivate.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +4 -4
- package/unsaved-changes-dialog/unsaved-changes-dialog.guard.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.module.d.ts +5 -0
- package/utils/file-utils.d.ts +1 -1
- package/utils/geo-json/read-geo-file.d.ts +1 -1
- package/utils/index.d.ts +5 -0
- package/utils/obj-utils.d.ts +2 -2
- package/utils/polling-ticker.d.ts +1 -1
- package/utils/subscriber-count.d.ts +1 -1
- package/validators/index.d.ts +5 -0
- package/vertical-list-filter/index.d.ts +5 -0
- package/vertical-list-filter/public-api.d.ts +2 -0
- package/vertical-list-filter/testing/index.d.ts +1 -0
- package/vertical-list-filter/testing/vertical-list-filter.harness.d.ts +9 -0
- package/vertical-list-filter/vertical-list-filter.component.d.ts +17 -0
- package/viewers/html-template-viewer/html-template-viewer.component.d.ts +3 -0
- package/viewers/html-template-viewer/html-template-viewer.module.d.ts +8 -0
- package/viewers/index.d.ts +5 -0
- package/viewers/pdf-viewer/pdf-page/pdf-page.component.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-renderer.service.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-viewer.component.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-viewer.module.d.ts +8 -0
- package/widget/directives/widget-drag-handle.directive.d.ts +4 -1
- package/widget/directives/widget-icon-tpl.directive.d.ts +3 -0
- package/widget/directives/widget-title-tpl.directive.d.ts +3 -0
- package/widget/index.d.ts +5 -0
- package/widget/widget/widget.component.d.ts +4 -6
- package/widget/widget-content-components/widget-button-group/widget-button-group.component.d.ts +4 -4
- package/widget/widget-content-components/widget-button-group/widget-button-group.module.d.ts +7 -0
- package/widget/widget-content-components/widget-content-header/widget-content-header.component.d.ts +4 -4
- package/widget/widget-content-components/widget-content-header/widget-content-header.module.d.ts +6 -0
- package/widget/widget-content-components/widget-description/widget-description.component.d.ts +3 -0
- package/widget/widget-content-components/widget-description/widget-description.module.d.ts +6 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.d.ts +5 -3
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.module.d.ts +6 -0
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.d.ts +4 -4
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.module.d.ts +6 -0
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.d.ts +4 -4
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.module.d.ts +6 -0
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.d.ts +5 -3
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.module.d.ts +6 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.d.ts +3 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.d.ts +15 -7
- package/widget/widget-content-components/widget-list-group/widget-list-group.component.d.ts +4 -4
- package/widget/widget-content-components/widget-list-group/widget-list-group.module.d.ts +9 -0
- package/widget/widget-content-components/widget-table/widget-table.component.d.ts +3 -1
- package/widget/widget-content-components/widget-table/widget-table.module.d.ts +8 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.d.ts +4 -4
- package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.d.ts +5 -3
- package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.d.ts +4 -4
- package/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile.component.d.ts +5 -0
- package/widget/widget-content-components/widget-tile/widget-tile.module.d.ts +11 -0
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.d.ts +4 -4
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.module.d.ts +7 -0
- package/widget/widget-footer/widget-footer.component.d.ts +4 -4
- package/widget/widget-registry.service.d.ts +3 -0
- package/widget/widget.module.d.ts +28 -0
- package/asset-reader/package.json +0 -11
- package/asset-reader/theseam-ui-common-asset-reader.d.ts +0 -4
- package/asset-reader/theseam-ui-common-asset-reader.metadata.json +0 -1
- package/assets/.gitkeep +0 -0
- package/assets/vendor/intl-tel-input/css/intlTelInput.min.css +0 -1
- package/assets/vendor/intl-tel-input/img/flags.png +0 -0
- package/assets/vendor/intl-tel-input/img/flags@2x.png +0 -0
- package/assets/vendor/intl-tel-input/js/utils.js +0 -502
- package/breadcrumbs/package.json +0 -11
- package/breadcrumbs/theseam-ui-common-breadcrumbs.d.ts +0 -4
- package/breadcrumbs/theseam-ui-common-breadcrumbs.metadata.json +0 -1
- package/bundles/theseam-ui-common-asset-reader.umd.js +0 -531
- package/bundles/theseam-ui-common-asset-reader.umd.js.map +0 -1
- package/bundles/theseam-ui-common-breadcrumbs.umd.js +0 -586
- package/bundles/theseam-ui-common-breadcrumbs.umd.js.map +0 -1
- package/bundles/theseam-ui-common-buttons.umd.js +0 -719
- package/bundles/theseam-ui-common-buttons.umd.js.map +0 -1
- package/bundles/theseam-ui-common-card.umd.js +0 -480
- package/bundles/theseam-ui-common-card.umd.js.map +0 -1
- package/bundles/theseam-ui-common-checkbox.umd.js +0 -650
- package/bundles/theseam-ui-common-checkbox.umd.js.map +0 -1
- package/bundles/theseam-ui-common-confirm-dialog.umd.js +0 -491
- package/bundles/theseam-ui-common-confirm-dialog.umd.js.map +0 -1
- package/bundles/theseam-ui-common-core.umd.js +0 -604
- package/bundles/theseam-ui-common-core.umd.js.map +0 -1
- package/bundles/theseam-ui-common-data-exporter.umd.js +0 -96
- package/bundles/theseam-ui-common-data-exporter.umd.js.map +0 -1
- package/bundles/theseam-ui-common-data-filters.umd.js +0 -891
- package/bundles/theseam-ui-common-data-filters.umd.js.map +0 -1
- package/bundles/theseam-ui-common-datatable-dynamic.umd.js +0 -1499
- package/bundles/theseam-ui-common-datatable-dynamic.umd.js.map +0 -1
- package/bundles/theseam-ui-common-datatable.umd.js +0 -3246
- package/bundles/theseam-ui-common-datatable.umd.js.map +0 -1
- package/bundles/theseam-ui-common-dynamic-component-loader.umd.js +0 -178
- package/bundles/theseam-ui-common-dynamic-component-loader.umd.js.map +0 -1
- package/bundles/theseam-ui-common-dynamic.umd.js +0 -1252
- package/bundles/theseam-ui-common-dynamic.umd.js.map +0 -1
- package/bundles/theseam-ui-common-footer-bar.umd.js +0 -49
- package/bundles/theseam-ui-common-footer-bar.umd.js.map +0 -1
- package/bundles/theseam-ui-common-form-field-error.umd.js +0 -884
- package/bundles/theseam-ui-common-form-field-error.umd.js.map +0 -1
- package/bundles/theseam-ui-common-form-field.umd.js +0 -914
- package/bundles/theseam-ui-common-form-field.umd.js.map +0 -1
- package/bundles/theseam-ui-common-framework.umd.js +0 -4270
- package/bundles/theseam-ui-common-framework.umd.js.map +0 -1
- package/bundles/theseam-ui-common-google-maps.umd.js +0 -2234
- package/bundles/theseam-ui-common-google-maps.umd.js.map +0 -1
- package/bundles/theseam-ui-common-graphql.umd.js +0 -1307
- package/bundles/theseam-ui-common-graphql.umd.js.map +0 -1
- package/bundles/theseam-ui-common-icon.umd.js +0 -890
- package/bundles/theseam-ui-common-icon.umd.js.map +0 -1
- package/bundles/theseam-ui-common-layout.umd.js +0 -126
- package/bundles/theseam-ui-common-layout.umd.js.map +0 -1
- package/bundles/theseam-ui-common-loading.umd.js +0 -152
- package/bundles/theseam-ui-common-loading.umd.js.map +0 -1
- package/bundles/theseam-ui-common-menu.umd.js +0 -1157
- package/bundles/theseam-ui-common-menu.umd.js.map +0 -1
- package/bundles/theseam-ui-common-modal.umd.js +0 -1718
- package/bundles/theseam-ui-common-modal.umd.js.map +0 -1
- package/bundles/theseam-ui-common-models.umd.js +0 -63
- package/bundles/theseam-ui-common-models.umd.js.map +0 -1
- package/bundles/theseam-ui-common-popover.umd.js +0 -504
- package/bundles/theseam-ui-common-popover.umd.js.map +0 -1
- package/bundles/theseam-ui-common-progress.umd.js +0 -420
- package/bundles/theseam-ui-common-progress.umd.js.map +0 -1
- package/bundles/theseam-ui-common-scrollbar.umd.js +0 -238
- package/bundles/theseam-ui-common-scrollbar.umd.js.map +0 -1
- package/bundles/theseam-ui-common-services.umd.js +0 -176
- package/bundles/theseam-ui-common-services.umd.js.map +0 -1
- package/bundles/theseam-ui-common-shared.umd.js +0 -1115
- package/bundles/theseam-ui-common-shared.umd.js.map +0 -1
- package/bundles/theseam-ui-common-storage.umd.js +0 -176
- package/bundles/theseam-ui-common-storage.umd.js.map +0 -1
- package/bundles/theseam-ui-common-story-helpers.umd.js +0 -795
- package/bundles/theseam-ui-common-story-helpers.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tabbed.umd.js +0 -628
- package/bundles/theseam-ui-common-tabbed.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table-cell-type.umd.js +0 -220
- package/bundles/theseam-ui-common-table-cell-type.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table-cell-types.umd.js +0 -1484
- package/bundles/theseam-ui-common-table-cell-types.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table.umd.js +0 -475
- package/bundles/theseam-ui-common-table.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tel-input.umd.js +0 -1107
- package/bundles/theseam-ui-common-tel-input.umd.js.map +0 -1
- package/bundles/theseam-ui-common-testing.umd.js +0 -568
- package/bundles/theseam-ui-common-testing.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tiled-select.umd.js +0 -866
- package/bundles/theseam-ui-common-tiled-select.umd.js.map +0 -1
- package/bundles/theseam-ui-common-toggle-edit.umd.js +0 -891
- package/bundles/theseam-ui-common-toggle-edit.umd.js.map +0 -1
- package/bundles/theseam-ui-common-toggle-group.umd.js +0 -629
- package/bundles/theseam-ui-common-toggle-group.umd.js.map +0 -1
- package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js +0 -134
- package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js.map +0 -1
- package/bundles/theseam-ui-common-utils.umd.js +0 -1890
- package/bundles/theseam-ui-common-utils.umd.js.map +0 -1
- package/bundles/theseam-ui-common-validators.umd.js +0 -105
- package/bundles/theseam-ui-common-validators.umd.js.map +0 -1
- package/bundles/theseam-ui-common-viewers.umd.js +0 -962
- package/bundles/theseam-ui-common-viewers.umd.js.map +0 -1
- package/bundles/theseam-ui-common-widget.umd.js +0 -1710
- package/bundles/theseam-ui-common-widget.umd.js.map +0 -1
- package/bundles/theseam-ui-common.umd.js +0 -54
- package/bundles/theseam-ui-common.umd.js.map +0 -1
- package/buttons/package.json +0 -11
- package/buttons/theseam-ui-common-buttons.d.ts +0 -4
- package/buttons/theseam-ui-common-buttons.metadata.json +0 -1
- package/card/package.json +0 -11
- package/card/theseam-ui-common-card.d.ts +0 -4
- package/card/theseam-ui-common-card.metadata.json +0 -1
- package/checkbox/package.json +0 -11
- package/checkbox/theseam-ui-common-checkbox.d.ts +0 -4
- package/checkbox/theseam-ui-common-checkbox.metadata.json +0 -1
- package/confirm-dialog/package.json +0 -11
- package/confirm-dialog/theseam-ui-common-confirm-dialog.d.ts +0 -4
- package/confirm-dialog/theseam-ui-common-confirm-dialog.metadata.json +0 -1
- package/core/package.json +0 -11
- package/core/theseam-ui-common-core.d.ts +0 -4
- package/core/theseam-ui-common-core.metadata.json +0 -1
- package/data-exporter/package.json +0 -11
- package/data-exporter/theseam-ui-common-data-exporter.d.ts +0 -4
- package/data-exporter/theseam-ui-common-data-exporter.metadata.json +0 -1
- package/data-filters/package.json +0 -11
- package/data-filters/theseam-ui-common-data-filters.d.ts +0 -4
- package/data-filters/theseam-ui-common-data-filters.metadata.json +0 -1
- package/datatable/package.json +0 -11
- package/datatable/theseam-ui-common-datatable.d.ts +0 -7
- package/datatable/theseam-ui-common-datatable.metadata.json +0 -1
- package/datatable-dynamic/package.json +0 -11
- package/datatable-dynamic/theseam-ui-common-datatable-dynamic.d.ts +0 -4
- package/datatable-dynamic/theseam-ui-common-datatable-dynamic.metadata.json +0 -1
- package/dynamic/package.json +0 -11
- package/dynamic/theseam-ui-common-dynamic.d.ts +0 -4
- package/dynamic/theseam-ui-common-dynamic.metadata.json +0 -1
- package/dynamic-component-loader/package.json +0 -11
- package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.d.ts +0 -4
- package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.metadata.json +0 -1
- package/esm2015/asset-reader/asset-reader-helper.service.js +0 -68
- package/esm2015/asset-reader/asset-reader.module.js +0 -15
- package/esm2015/asset-reader/encrypted-asset-link.directive.js +0 -69
- package/esm2015/breadcrumbs/breadcrumb.js +0 -2
- package/esm2015/breadcrumbs/breadcrumbs/breadcrumbs.component.js +0 -22
- package/esm2015/breadcrumbs/breadcrumbs-resolver.js +0 -2
- package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -21
- package/esm2015/breadcrumbs/breadcrumbs.service.js +0 -158
- package/esm2015/buttons/badge-button/badge-button.component.js +0 -79
- package/esm2015/buttons/button/button.component.js +0 -111
- package/esm2015/buttons/buttons.module.js +0 -34
- package/esm2015/buttons/progress-circle-button/progress-circle-button.component.js +0 -60
- package/esm2015/buttons/toggle-button/toggle-button.component.js +0 -88
- package/esm2015/card/card-action/card-action.component.js +0 -27
- package/esm2015/card/card-body/card-body.component.js +0 -32
- package/esm2015/card/card-footer/card-footer.component.js +0 -15
- package/esm2015/card/card-header/card-header.component.js +0 -22
- package/esm2015/card/card.component.js +0 -20
- package/esm2015/card/card.module.js +0 -33
- package/esm2015/checkbox/checkbox.component.js +0 -276
- package/esm2015/checkbox/checkbox.module.js +0 -21
- package/esm2015/checkbox/public-api.js +0 -3
- package/esm2015/confirm-dialog/confirm-click.directive.js +0 -62
- package/esm2015/confirm-dialog/confirm-dialog.component.js +0 -20
- package/esm2015/confirm-dialog/confirm-dialog.module.js +0 -35
- package/esm2015/confirm-dialog/confirm-dialog.service.js +0 -38
- package/esm2015/core/common-behaviors/active.js +0 -13
- package/esm2015/core/common-behaviors/disabled.js +0 -20
- package/esm2015/core/common-behaviors/initialized.js +0 -62
- package/esm2015/core/common-behaviors/size.js +0 -24
- package/esm2015/core/common-behaviors/tabindex.js +0 -22
- package/esm2015/core/common-behaviors/theme.js +0 -24
- package/esm2015/core/input-decorators/input-boolean.decorator.js +0 -27
- package/esm2015/core/input-decorators/input-number.decorator.js +0 -27
- package/esm2015/data-exporter/data-exporter.module.js +0 -17
- package/esm2015/data-exporter/exporters/csv-exporter.js +0 -32
- package/esm2015/data-exporter/exporters/xlsx-exporter.js +0 -30
- package/esm2015/data-filters/data-filter.js +0 -25
- package/esm2015/data-filters/data-filters.module.js +0 -50
- package/esm2015/data-filters/filters/data-filter-search/data-filter-search.component.js +0 -110
- package/esm2015/data-filters/filters/data-filter-text/data-filter-text.component.js +0 -138
- package/esm2015/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.js +0 -151
- package/esm2015/datatable/datatable/datatable.component.js +0 -576
- package/esm2015/datatable/datatable-action-menu/datatable-action-menu.component.js +0 -101
- package/esm2015/datatable/datatable-action-menu-item/datatable-action-menu-item.component.js +0 -30
- package/esm2015/datatable/datatable-column/datatable-column.component.js +0 -83
- package/esm2015/datatable/datatable-column-preferences/datatable-column-preferences.component.js +0 -63
- package/esm2015/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.js +0 -52
- package/esm2015/datatable/datatable-export-button/datatable-export-button.component.js +0 -101
- package/esm2015/datatable/datatable-footer/datatable-footer-tpl.directive.js +0 -15
- package/esm2015/datatable/datatable-footer/datatable-footer.directive.js +0 -18
- package/esm2015/datatable/datatable-menu-bar/datatable-menu-bar.component.js +0 -55
- package/esm2015/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.js +0 -32
- package/esm2015/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.js +0 -15
- package/esm2015/datatable/datatable-row-detail/datatable-row-detail.directive.js +0 -69
- package/esm2015/datatable/datatable.module.js +0 -126
- package/esm2015/datatable/directives/datatable-action-menu-item.directive.js +0 -46
- package/esm2015/datatable/directives/datatable-action-menu-toggle.directive.js +0 -128
- package/esm2015/datatable/directives/datatable-cell-tpl.directive.js +0 -15
- package/esm2015/datatable/directives/datatable-filter.directive.js +0 -21
- package/esm2015/datatable/directives/datatable-row-action-item.directive.js +0 -15
- package/esm2015/datatable/models/action-item-column-position.js +0 -2
- package/esm2015/datatable/models/columns-alteration.js +0 -38
- package/esm2015/datatable/models/columns-alterations/order.columns-alteration.js +0 -81
- package/esm2015/datatable/models/datatable-gql-data-source.js +0 -15
- package/esm2015/datatable/models/internal-column-props.js +0 -15
- package/esm2015/datatable/models/sort-item.js +0 -2
- package/esm2015/datatable/services/columns-alterations-manager.service.js +0 -134
- package/esm2015/datatable/services/columns-manager.service.js +0 -270
- package/esm2015/datatable/services/datatable-column-changes.service.js +0 -17
- package/esm2015/datatable/services/datatable-preferences.service.js +0 -159
- package/esm2015/datatable/services/datatable-scrollbar-helper.service.js +0 -51
- package/esm2015/datatable/theseam-ui-common-datatable.js +0 -8
- package/esm2015/datatable/utils/map-columns-alterations-states.js +0 -39
- package/esm2015/datatable/utils/set-column-defaults.js +0 -10
- package/esm2015/datatable/utils/with-stored-column-info.js +0 -20
- package/esm2015/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.js +0 -119
- package/esm2015/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.js +0 -53
- package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.js +0 -160
- package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.js +0 -2
- package/esm2015/datatable-dynamic/datatable-dynamic.component.js +0 -75
- package/esm2015/datatable-dynamic/datatable-dynamic.module.js +0 -49
- package/esm2015/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.js +0 -408
- package/esm2015/datatable-dynamic/dynamic-datatable-def.service.js +0 -84
- package/esm2015/datatable-dynamic/dynamic-datatable-row-actions.service.js +0 -47
- package/esm2015/datatable-dynamic/models/dynamic-datatable-menu-bar.js +0 -2
- package/esm2015/dynamic/action/api/dynamic-action-api.service.js +0 -215
- package/esm2015/dynamic/action/dynamic-action-helper.service.js +0 -163
- package/esm2015/dynamic/action/link/dynamic-action-link.service.js +0 -50
- package/esm2015/dynamic/action/modal/dynamic-action-modal-def.js +0 -2
- package/esm2015/dynamic/action/modal/dynamic-action-modal.service.js +0 -92
- package/esm2015/dynamic/dynamic-value-helper.service.js +0 -101
- package/esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.js +0 -33
- package/esm2015/dynamic/evaluators/jexl-evaluator/jexl-evaluator.js +0 -30
- package/esm2015/dynamic/models/dynamic-value-evaluatable-type.js +0 -2
- package/esm2015/dynamic-component-loader/dynamic-component-loader.module.js +0 -47
- package/esm2015/dynamic-component-loader/dynamic-component-loader.service.js +0 -91
- package/esm2015/dynamic-component-loader/dynamic-component-manifest.js +0 -2
- package/esm2015/footer-bar/footer-bar/footer-bar.component.js +0 -16
- package/esm2015/footer-bar/footer-bar.module.js +0 -15
- package/esm2015/form-field/form-field-error.directive.js +0 -28
- package/esm2015/form-field/form-field-help-text.directive.js +0 -15
- package/esm2015/form-field/form-field-label-tpl.directive.js +0 -15
- package/esm2015/form-field/form-field-required-indicator.component.js +0 -38
- package/esm2015/form-field/form-field.component.js +0 -193
- package/esm2015/form-field/form-field.module.js +0 -40
- package/esm2015/form-field/input.directive.js +0 -195
- package/esm2015/form-field/public-api.js +0 -8
- package/esm2015/form-field-error/form-field-error/form-field-error.component.js +0 -27
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.js +0 -25
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item.directive.js +0 -18
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list.component.js +0 -370
- package/esm2015/form-field-error/form-field-error.module.js +0 -28
- package/esm2015/framework/base-layout/base-layout.component.js +0 -125
- package/esm2015/framework/base-layout/base-layout.module.js +0 -51
- package/esm2015/framework/base-layout/directives/base-layout-content-footer.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-content-header.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-content.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-nav-toggle.directive.js +0 -51
- package/esm2015/framework/base-layout/directives/base-layout-side-bar-footer.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-side-bar-header.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-side-bar.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-top-bar.directive.js +0 -15
- package/esm2015/framework/base-layout/index.js +0 -13
- package/esm2015/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.js +0 -19
- package/esm2015/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.js +0 -25
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.js +0 -121
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.js +0 -173
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.component.js +0 -176
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.service.js +0 -165
- package/esm2015/framework/dashboard/dashboard.component.js +0 -25
- package/esm2015/framework/dashboard/dashboard.module.js +0 -39
- package/esm2015/framework/dynamic-router/dynamic-route-def.js +0 -2
- package/esm2015/framework/dynamic-router/dynamic-router.module.js +0 -21
- package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.js +0 -256
- package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.js +0 -114
- package/esm2015/framework/dynamic-router/resolvers/hierarchy-level.resolver.js +0 -26
- package/esm2015/framework/nav/horizontal-nav/horizontal-nav.component.js +0 -53
- package/esm2015/framework/nav/nav-item/nav-item.component.js +0 -180
- package/esm2015/framework/nav/nav-utils.js +0 -110
- package/esm2015/framework/nav/nav.module.js +0 -42
- package/esm2015/framework/nav/nav.service.js +0 -200
- package/esm2015/framework/schema-form/schema-form-framework.component.js +0 -16
- package/esm2015/framework/schema-form/schema-form-framework.js +0 -27
- package/esm2015/framework/schema-form/schema-form.module.js +0 -35
- package/esm2015/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.js +0 -41
- package/esm2015/framework/schema-form-controls/schema-form-controls.module.js +0 -50
- package/esm2015/framework/schema-form-controls/schema-form-input/schema-form-input.component.js +0 -34
- package/esm2015/framework/schema-form-controls/schema-form-number/schema-form-number.component.js +0 -40
- package/esm2015/framework/schema-form-controls/schema-form-select/schema-form-select.component.js +0 -36
- package/esm2015/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.js +0 -46
- package/esm2015/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.js +0 -142
- package/esm2015/framework/side-nav/index.js +0 -7
- package/esm2015/framework/side-nav/side-nav-item/side-nav-item.component.js +0 -157
- package/esm2015/framework/side-nav/side-nav-toggle/side-nav-toggle.component.js +0 -36
- package/esm2015/framework/side-nav/side-nav-utils.js +0 -81
- package/esm2015/framework/side-nav/side-nav.component.js +0 -261
- package/esm2015/framework/side-nav/side-nav.models.js +0 -2
- package/esm2015/framework/side-nav/side-nav.module.js +0 -39
- package/esm2015/framework/side-nav/side-nav.service.js +0 -174
- package/esm2015/framework/theseam-ui-common-framework.js +0 -18
- package/esm2015/framework/top-bar/index.js +0 -8
- package/esm2015/framework/top-bar/top-bar-compact-menu-btn-detail.directive.js +0 -15
- package/esm2015/framework/top-bar/top-bar-item.directive.js +0 -22
- package/esm2015/framework/top-bar/top-bar-menu-btn-detail.directive.js +0 -15
- package/esm2015/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.js +0 -54
- package/esm2015/framework/top-bar/top-bar-menu.directive.js +0 -16
- package/esm2015/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.js +0 -15
- package/esm2015/framework/top-bar/top-bar-title/top-bar-title.component.js +0 -20
- package/esm2015/framework/top-bar/top-bar.component.js +0 -121
- package/esm2015/framework/top-bar/top-bar.module.js +0 -52
- package/esm2015/google-maps/google-maps/google-maps.component.js +0 -261
- package/esm2015/google-maps/google-maps-contextmenu.js +0 -113
- package/esm2015/google-maps/google-maps-controls.service.js +0 -70
- package/esm2015/google-maps/google-maps-feature-helpers.js +0 -186
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.js +0 -195
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.js +0 -163
- package/esm2015/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.js +0 -57
- package/esm2015/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.js +0 -119
- package/esm2015/google-maps/google-maps.module.js +0 -45
- package/esm2015/google-maps/google-maps.service.js +0 -354
- package/esm2015/google-maps/map-control.component.js +0 -65
- package/esm2015/google-maps/map-file-drop/map-file-drop.component.js +0 -135
- package/esm2015/google-maps/map-value-manager.service.js +0 -46
- package/esm2015/google-maps/public-api.js +0 -14
- package/esm2015/google-maps/theseam-ui-common-google-maps.js +0 -6
- package/esm2015/graphql/datatable/create-page-info-observable.js +0 -38
- package/esm2015/graphql/datatable/datatable-graphql-query-ref.js +0 -236
- package/esm2015/graphql/datatable/datatable-graphql.service.js +0 -35
- package/esm2015/graphql/datatable/datatable-helpers.js +0 -170
- package/esm2015/graphql/datatable/get-page-info.js +0 -11
- package/esm2015/graphql/datatable/map-filter-states.js +0 -64
- package/esm2015/graphql/utils/inline-variables.js +0 -50
- package/esm2015/graphql/utils/parse-hints.js +0 -116
- package/esm2015/graphql/utils/to-gql.js +0 -40
- package/esm2015/icon/icon/icon.component.js +0 -125
- package/esm2015/icon/icon-btn/icon-btn.component.js +0 -136
- package/esm2015/icon/icon-notification/icon-notification.component.js +0 -120
- package/esm2015/icon/icon.module.js +0 -27
- package/esm2015/icon/utils/get-known-icon.js +0 -82
- package/esm2015/layout/breakpoint-aliases.js +0 -11
- package/esm2015/layout/layout.module.js +0 -18
- package/esm2015/layout/layout.service.js +0 -34
- package/esm2015/layout/observe-media-query.js +0 -41
- package/esm2015/loading/loading/loading.component.js +0 -28
- package/esm2015/loading/loading-overlay.service.js +0 -59
- package/esm2015/loading/loading.module.js +0 -29
- package/esm2015/menu/menu-divider.component.js +0 -15
- package/esm2015/menu/menu-footer/menu-footer.component.js +0 -32
- package/esm2015/menu/menu-footer-action/menu-footer-action.component.js +0 -48
- package/esm2015/menu/menu-header/menu-header.component.js +0 -32
- package/esm2015/menu/menu-item.component.js +0 -127
- package/esm2015/menu/menu-toggle.directive.js +0 -253
- package/esm2015/menu/menu.component.js +0 -174
- package/esm2015/menu/menu.module.js +0 -43
- package/esm2015/modal/directives/modal-close.directive.js +0 -63
- package/esm2015/modal/directives/modal-footer-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-header-icon-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-header-title-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-title.directive.js +0 -19
- package/esm2015/modal/directives/modal.directive.js +0 -25
- package/esm2015/modal/modal/modal.component.js +0 -149
- package/esm2015/modal/modal-body/modal-body.component.js +0 -22
- package/esm2015/modal/modal-config.js +0 -47
- package/esm2015/modal/modal-container/modal-container.component.js +0 -220
- package/esm2015/modal/modal-footer/modal-footer.component.js +0 -20
- package/esm2015/modal/modal-header/modal-header.component.js +0 -26
- package/esm2015/modal/modal-ref.js +0 -171
- package/esm2015/modal/modal.models.js +0 -3
- package/esm2015/modal/modal.module.js +0 -83
- package/esm2015/modal/modal.service.js +0 -343
- package/esm2015/modal/route-modal/route-modal.component.js +0 -68
- package/esm2015/popover/popover/popover.component.js +0 -149
- package/esm2015/popover/popover.directive.js +0 -257
- package/esm2015/popover/popover.module.js +0 -30
- package/esm2015/progress/progress-circle/progress-circle.component.js +0 -63
- package/esm2015/progress/progress.module.js +0 -19
- package/esm2015/public_api.js +0 -43
- package/esm2015/scrollbar/overlay-scrollbar.directive.js +0 -61
- package/esm2015/scrollbar/overlay-scrollbars-config.js +0 -13
- package/esm2015/scrollbar/overlay-scrollbars.service.js +0 -87
- package/esm2015/scrollbar/scrollbar.module.js +0 -25
- package/esm2015/services/asset-loader.service.js +0 -33
- package/esm2015/services/font-loader.service.js +0 -81
- package/esm2015/services/router-helpers.service.js +0 -26
- package/esm2015/shared/components/password-input-reveal/password-input-reveal.component.js +0 -71
- package/esm2015/shared/directives/auto-focus.directive.js +0 -53
- package/esm2015/shared/directives/click-outside.directive.js +0 -49
- package/esm2015/shared/directives/disable-control.directive.js +0 -27
- package/esm2015/shared/directives/elem-resized.directive.js +0 -29
- package/esm2015/shared/directives/hover-class-toggle.directive.js +0 -80
- package/esm2015/shared/directives/hover-class.directive.js +0 -74
- package/esm2015/shared/directives/ng-select-extra.directive.js +0 -177
- package/esm2015/shared/directives/ngx-quill-extra.directive.js +0 -60
- package/esm2015/shared/pipes/mask-chars.pipe.js +0 -21
- package/esm2015/shared/pipes/truncate.pipe.js +0 -19
- package/esm2015/shared/shared.module.js +0 -58
- package/esm2015/storage/local-storage.service.js +0 -77
- package/esm2015/storage/localstorage-memory.js +0 -64
- package/esm2015/story-helpers/arg-type-helpers.js +0 -34
- package/esm2015/story-helpers/args-to-tpl.js +0 -76
- package/esm2015/story-helpers/initial-route.service.js +0 -27
- package/esm2015/story-helpers/on-story-bootstrapped-exec.js +0 -64
- package/esm2015/story-helpers/on-story-bootstrapped-trigger.js +0 -38
- package/esm2015/story-helpers/public-api.js +0 -15
- package/esm2015/story-helpers/routes-arg-type.js +0 -18
- package/esm2015/story-helpers/story-empty-with-route.component.js +0 -7
- package/esm2015/story-helpers/story-empty.component.js +0 -7
- package/esm2015/story-helpers/story-helper-components.module.js +0 -29
- package/esm2015/story-helpers/story-initial-route.js +0 -24
- package/esm2015/story-helpers/story-modal-container.component.js +0 -77
- package/esm2015/story-helpers/story-toastr.service.js +0 -33
- package/esm2015/tabbed/directives/tabbed-tab-content.directive.js +0 -14
- package/esm2015/tabbed/directives/tabbed-tab.directive.js +0 -36
- package/esm2015/tabbed/public-api.js +0 -8
- package/esm2015/tabbed/tabbed-content/tabbed-content.component.js +0 -17
- package/esm2015/tabbed/tabbed-item/tabbed-item.component.js +0 -30
- package/esm2015/tabbed/tabbed.component.js +0 -111
- package/esm2015/tabbed/tabbed.module.js +0 -36
- package/esm2015/tabbed/tabbed.service.js +0 -28
- package/esm2015/table/table/table.component.js +0 -90
- package/esm2015/table/table.module.js +0 -23
- package/esm2015/table-cell-type/services/table-cell-types-helpers.service.js +0 -70
- package/esm2015/table-cell-type/table-cell-type-export-props.js +0 -2
- package/esm2015/table-cell-type/table-cell-type-models.js +0 -2
- package/esm2015/table-cell-type/table-cell-type-selector.component.js +0 -94
- package/esm2015/table-cell-type/table-cell-type.module.js +0 -23
- package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.js +0 -89
- package/esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.component.js +0 -52
- package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.js +0 -87
- package/esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.js +0 -166
- package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.js +0 -85
- package/esm2015/table-cell-types/table-cell-type-manifests.js +0 -103
- package/esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.js +0 -66
- package/esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.js +0 -160
- package/esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.js +0 -78
- package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string.component.js +0 -180
- package/esm2015/table-cell-types/table-cell-types.module.js +0 -78
- package/esm2015/table-cell-types/theseam-ui-common-table-cell-types.js +0 -5
- package/esm2015/tel-input/intl-tel-input.js +0 -55
- package/esm2015/tel-input/phone-number.pipe.js +0 -51
- package/esm2015/tel-input/tel-input/tel-input.component.js +0 -175
- package/esm2015/tel-input/tel-input-validator.js +0 -27
- package/esm2015/tel-input/tel-input.directive.js +0 -209
- package/esm2015/tel-input/tel-input.module.js +0 -29
- package/esm2015/tel-input/utils/add-country-code.js +0 -23
- package/esm2015/tel-input/utils/get-validation-error-message.js +0 -12
- package/esm2015/tel-input/utils/process-country-codes.js +0 -49
- package/esm2015/testing/get-harness.js +0 -16
- package/esm2015/testing/render-story.js +0 -12
- package/esm2015/testing/story-expect.js +0 -39
- package/esm2015/tiled-select/components/tiled-select/tiled-select.component.js +0 -205
- package/esm2015/tiled-select/components/tiled-select-tile/tiled-select-tile.component.js +0 -128
- package/esm2015/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.js +0 -54
- package/esm2015/tiled-select/directives/tiled-select-tile-icon-tpl.directive.js +0 -16
- package/esm2015/tiled-select/directives/tiled-select-tile-label-tpl.directive.js +0 -15
- package/esm2015/tiled-select/directives/tiled-select-tile-overlay.directive.js +0 -19
- package/esm2015/tiled-select/public-api.js +0 -10
- package/esm2015/tiled-select/tiled-select.module.js +0 -35
- package/esm2015/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.js +0 -15
- package/esm2015/toggle-edit/toggle-edit-display-tpl.directive.js +0 -15
- package/esm2015/toggle-edit/toggle-edit-keyboard-listener.service.js +0 -56
- package/esm2015/toggle-edit/toggle-edit.component.js +0 -403
- package/esm2015/toggle-edit/toggle-edit.module.js +0 -40
- package/esm2015/toggle-group/toggle-group-option.directive.js +0 -44
- package/esm2015/toggle-group/toggle-group.directive.js +0 -192
- package/esm2015/toggle-group/toggle-group.module.js +0 -24
- package/esm2015/unsaved-changes-dialog/unsaved-changes-can-deactivate.js +0 -27
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.component.js +0 -20
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.guard.js +0 -35
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.module.js +0 -12
- package/esm2015/utils/array-move.js +0 -62
- package/esm2015/utils/cdk/get-closest-widget-cdk-drag.js +0 -18
- package/esm2015/utils/file-utils.js +0 -68
- package/esm2015/utils/form/get-control-path.js +0 -37
- package/esm2015/utils/geo-json/coerce-feature-collection.js +0 -44
- package/esm2015/utils/geo-json/geo-json-to-area.js +0 -11
- package/esm2015/utils/geo-json/is-feature-collection.validator.js +0 -21
- package/esm2015/utils/geo-json/is-only-geometry-types.js +0 -23
- package/esm2015/utils/geo-json/is-only-geometry-types.validator.js +0 -32
- package/esm2015/utils/geo-json/merge-polygons.js +0 -35
- package/esm2015/utils/geo-json/min-max-points.validator.js +0 -56
- package/esm2015/utils/geo-json/no-inner-rings.validator.js +0 -63
- package/esm2015/utils/geo-json/read-geo-file.js +0 -99
- package/esm2015/utils/geo-json/split-multi-polygons.js +0 -29
- package/esm2015/utils/has-property.js +0 -7
- package/esm2015/utils/load-style-sheet.js +0 -14
- package/esm2015/utils/load-style.js +0 -13
- package/esm2015/utils/obj-utils.js +0 -27
- package/esm2015/utils/polling-ticker.js +0 -121
- package/esm2015/utils/router/operators/activated-routes-with-data-property.js +0 -11
- package/esm2015/utils/router/route-snapshot-path-full.js +0 -5
- package/esm2015/utils/router/route-snapshot-path-relative.js +0 -4
- package/esm2015/utils/router/will-have-data-prop.js +0 -10
- package/esm2015/utils/subscriber-count.js +0 -46
- package/esm2015/utils/toggle-attribute.js +0 -35
- package/esm2015/utils/wait-on-condition-async.js +0 -33
- package/esm2015/viewers/html-template-viewer/html-template-viewer.component.js +0 -219
- package/esm2015/viewers/html-template-viewer/html-template-viewer.module.js +0 -23
- package/esm2015/viewers/pdf-viewer/pdf-page/pdf-page.component.js +0 -134
- package/esm2015/viewers/pdf-viewer/pdf-renderer.service.js +0 -27
- package/esm2015/viewers/pdf-viewer/pdf-viewer.component.js +0 -149
- package/esm2015/viewers/pdf-viewer/pdf-viewer.module.js +0 -24
- package/esm2015/widget/directives/widget-drag-handle.directive.js +0 -146
- package/esm2015/widget/directives/widget-icon-tpl.directive.js +0 -15
- package/esm2015/widget/directives/widget-title-tpl.directive.js +0 -15
- package/esm2015/widget/widget/widget.component.js +0 -121
- package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.module.js +0 -22
- package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-description/widget-description.component.js +0 -12
- package/esm2015/widget/widget-content-components/widget-description/widget-description.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.component.js +0 -39
- package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.component.js +0 -31
- package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.js +0 -16
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.js +0 -162
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.component.js +0 -19
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.module.js +0 -31
- package/esm2015/widget/widget-content-components/widget-table/widget-table.component.js +0 -35
- package/esm2015/widget/widget-content-components/widget-table/widget-table.module.js +0 -23
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.js +0 -19
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.js +0 -43
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.js +0 -16
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile.component.js +0 -110
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile.module.js +0 -33
- package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.component.js +0 -15
- package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.module.js +0 -21
- package/esm2015/widget/widget-footer/widget-footer.component.js +0 -16
- package/esm2015/widget/widget-registry.service.js +0 -56
- package/esm2015/widget/widget.module.js +0 -70
- package/fesm2015/theseam-ui-common-asset-reader.js +0 -173
- package/fesm2015/theseam-ui-common-asset-reader.js.map +0 -1
- package/fesm2015/theseam-ui-common-breadcrumbs.js +0 -203
- package/fesm2015/theseam-ui-common-breadcrumbs.js.map +0 -1
- package/fesm2015/theseam-ui-common-buttons.js +0 -362
- package/fesm2015/theseam-ui-common-buttons.js.map +0 -1
- package/fesm2015/theseam-ui-common-card.js +0 -145
- package/fesm2015/theseam-ui-common-card.js.map +0 -1
- package/fesm2015/theseam-ui-common-checkbox.js +0 -302
- package/fesm2015/theseam-ui-common-checkbox.js.map +0 -1
- package/fesm2015/theseam-ui-common-confirm-dialog.js +0 -153
- package/fesm2015/theseam-ui-common-confirm-dialog.js.map +0 -1
- package/fesm2015/theseam-ui-common-core.js +0 -231
- package/fesm2015/theseam-ui-common-core.js.map +0 -1
- package/fesm2015/theseam-ui-common-data-exporter.js +0 -81
- package/fesm2015/theseam-ui-common-data-exporter.js.map +0 -1
- package/fesm2015/theseam-ui-common-data-filters.js +0 -455
- package/fesm2015/theseam-ui-common-data-filters.js.map +0 -1
- package/fesm2015/theseam-ui-common-datatable-dynamic.js +0 -991
- package/fesm2015/theseam-ui-common-datatable-dynamic.js.map +0 -1
- package/fesm2015/theseam-ui-common-datatable.js +0 -2550
- package/fesm2015/theseam-ui-common-datatable.js.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic-component-loader.js +0 -143
- package/fesm2015/theseam-ui-common-dynamic-component-loader.js.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic.js +0 -700
- package/fesm2015/theseam-ui-common-dynamic.js.map +0 -1
- package/fesm2015/theseam-ui-common-footer-bar.js +0 -36
- package/fesm2015/theseam-ui-common-footer-bar.js.map +0 -1
- package/fesm2015/theseam-ui-common-form-field-error.js +0 -464
- package/fesm2015/theseam-ui-common-form-field-error.js.map +0 -1
- package/fesm2015/theseam-ui-common-form-field.js +0 -506
- package/fesm2015/theseam-ui-common-form-field.js.map +0 -1
- package/fesm2015/theseam-ui-common-framework.js +0 -3400
- package/fesm2015/theseam-ui-common-framework.js.map +0 -1
- package/fesm2015/theseam-ui-common-google-maps.js +0 -1748
- package/fesm2015/theseam-ui-common-google-maps.js.map +0 -1
- package/fesm2015/theseam-ui-common-graphql.js +0 -881
- package/fesm2015/theseam-ui-common-graphql.js.map +0 -1
- package/fesm2015/theseam-ui-common-icon.js +0 -518
- package/fesm2015/theseam-ui-common-icon.js.map +0 -1
- package/fesm2015/theseam-ui-common-layout.js +0 -98
- package/fesm2015/theseam-ui-common-layout.js.map +0 -1
- package/fesm2015/theseam-ui-common-loading.js +0 -131
- package/fesm2015/theseam-ui-common-loading.js.map +0 -1
- package/fesm2015/theseam-ui-common-menu.js +0 -767
- package/fesm2015/theseam-ui-common-menu.js.map +0 -1
- package/fesm2015/theseam-ui-common-modal.js +0 -1282
- package/fesm2015/theseam-ui-common-modal.js.map +0 -1
- package/fesm2015/theseam-ui-common-models.js +0 -54
- package/fesm2015/theseam-ui-common-models.js.map +0 -1
- package/fesm2015/theseam-ui-common-popover.js +0 -476
- package/fesm2015/theseam-ui-common-popover.js.map +0 -1
- package/fesm2015/theseam-ui-common-progress.js +0 -87
- package/fesm2015/theseam-ui-common-progress.js.map +0 -1
- package/fesm2015/theseam-ui-common-scrollbar.js +0 -184
- package/fesm2015/theseam-ui-common-scrollbar.js.map +0 -1
- package/fesm2015/theseam-ui-common-services.js +0 -140
- package/fesm2015/theseam-ui-common-services.js.map +0 -1
- package/fesm2015/theseam-ui-common-shared.js +0 -696
- package/fesm2015/theseam-ui-common-shared.js.map +0 -1
- package/fesm2015/theseam-ui-common-storage.js +0 -147
- package/fesm2015/theseam-ui-common-storage.js.map +0 -1
- package/fesm2015/theseam-ui-common-story-helpers.js +0 -441
- package/fesm2015/theseam-ui-common-story-helpers.js.map +0 -1
- package/fesm2015/theseam-ui-common-tabbed.js +0 -262
- package/fesm2015/theseam-ui-common-tabbed.js.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-type.js +0 -191
- package/fesm2015/theseam-ui-common-table-cell-type.js.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-types.js +0 -1079
- package/fesm2015/theseam-ui-common-table-cell-types.js.map +0 -1
- package/fesm2015/theseam-ui-common-table.js +0 -118
- package/fesm2015/theseam-ui-common-table.js.map +0 -1
- package/fesm2015/theseam-ui-common-tel-input.js +0 -733
- package/fesm2015/theseam-ui-common-tel-input.js.map +0 -1
- package/fesm2015/theseam-ui-common-testing.js +0 -191
- package/fesm2015/theseam-ui-common-testing.js.map +0 -1
- package/fesm2015/theseam-ui-common-tiled-select.js +0 -461
- package/fesm2015/theseam-ui-common-tiled-select.js.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-edit.js +0 -521
- package/fesm2015/theseam-ui-common-toggle-edit.js.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-group.js +0 -260
- package/fesm2015/theseam-ui-common-toggle-group.js.map +0 -1
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js +0 -97
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js.map +0 -1
- package/fesm2015/theseam-ui-common-utils.js +0 -1321
- package/fesm2015/theseam-ui-common-utils.js.map +0 -1
- package/fesm2015/theseam-ui-common-validators.js +0 -94
- package/fesm2015/theseam-ui-common-validators.js.map +0 -1
- package/fesm2015/theseam-ui-common-viewers.js +0 -563
- package/fesm2015/theseam-ui-common-viewers.js.map +0 -1
- package/fesm2015/theseam-ui-common-widget.js +0 -1189
- package/fesm2015/theseam-ui-common-widget.js.map +0 -1
- package/fesm2015/theseam-ui-common.js +0 -47
- package/fesm2015/theseam-ui-common.js.map +0 -1
- package/footer-bar/package.json +0 -11
- package/footer-bar/theseam-ui-common-footer-bar.d.ts +0 -4
- package/footer-bar/theseam-ui-common-footer-bar.metadata.json +0 -1
- package/form-field/package.json +0 -11
- package/form-field/theseam-ui-common-form-field.d.ts +0 -4
- package/form-field/theseam-ui-common-form-field.metadata.json +0 -1
- package/form-field-error/package.json +0 -11
- package/form-field-error/theseam-ui-common-form-field-error.d.ts +0 -4
- package/form-field-error/theseam-ui-common-form-field-error.metadata.json +0 -1
- package/framework/package.json +0 -11
- package/framework/theseam-ui-common-framework.d.ts +0 -17
- package/framework/theseam-ui-common-framework.metadata.json +0 -1
- package/google-maps/package.json +0 -11
- package/google-maps/theseam-ui-common-google-maps.d.ts +0 -5
- package/google-maps/theseam-ui-common-google-maps.metadata.json +0 -1
- package/graphql/package.json +0 -11
- package/graphql/theseam-ui-common-graphql.d.ts +0 -4
- package/graphql/theseam-ui-common-graphql.metadata.json +0 -1
- package/icon/package.json +0 -11
- package/icon/theseam-ui-common-icon.d.ts +0 -4
- package/icon/theseam-ui-common-icon.metadata.json +0 -1
- package/layout/package.json +0 -11
- package/layout/theseam-ui-common-layout.d.ts +0 -4
- package/layout/theseam-ui-common-layout.metadata.json +0 -1
- package/loading/package.json +0 -11
- package/loading/theseam-ui-common-loading.d.ts +0 -4
- package/loading/theseam-ui-common-loading.metadata.json +0 -1
- package/menu/package.json +0 -11
- package/menu/theseam-ui-common-menu.d.ts +0 -4
- package/menu/theseam-ui-common-menu.metadata.json +0 -1
- package/modal/package.json +0 -11
- package/modal/theseam-ui-common-modal.d.ts +0 -4
- package/modal/theseam-ui-common-modal.metadata.json +0 -1
- package/models/package.json +0 -11
- package/models/theseam-ui-common-models.d.ts +0 -4
- package/models/theseam-ui-common-models.metadata.json +0 -1
- package/popover/package.json +0 -11
- package/popover/theseam-ui-common-popover.d.ts +0 -4
- package/popover/theseam-ui-common-popover.metadata.json +0 -1
- package/progress/package.json +0 -11
- package/progress/theseam-ui-common-progress.d.ts +0 -4
- package/progress/theseam-ui-common-progress.metadata.json +0 -1
- package/scrollbar/package.json +0 -11
- package/scrollbar/theseam-ui-common-scrollbar.d.ts +0 -4
- package/scrollbar/theseam-ui-common-scrollbar.metadata.json +0 -1
- package/services/package.json +0 -11
- package/services/theseam-ui-common-services.d.ts +0 -4
- package/services/theseam-ui-common-services.metadata.json +0 -1
- package/shared/package.json +0 -11
- package/shared/theseam-ui-common-shared.d.ts +0 -4
- package/shared/theseam-ui-common-shared.metadata.json +0 -1
- package/storage/package.json +0 -11
- package/storage/theseam-ui-common-storage.d.ts +0 -4
- package/storage/theseam-ui-common-storage.metadata.json +0 -1
- package/story-helpers/args-to-tpl.d.ts +0 -24
- package/story-helpers/package.json +0 -11
- package/story-helpers/theseam-ui-common-story-helpers.d.ts +0 -4
- package/story-helpers/theseam-ui-common-story-helpers.metadata.json +0 -1
- package/tabbed/package.json +0 -11
- package/tabbed/theseam-ui-common-tabbed.d.ts +0 -4
- package/tabbed/theseam-ui-common-tabbed.metadata.json +0 -1
- package/table/package.json +0 -11
- package/table/theseam-ui-common-table.d.ts +0 -4
- package/table/theseam-ui-common-table.metadata.json +0 -1
- package/table-cell-type/package.json +0 -11
- package/table-cell-type/theseam-ui-common-table-cell-type.d.ts +0 -4
- package/table-cell-type/theseam-ui-common-table-cell-type.metadata.json +0 -1
- package/table-cell-types/package.json +0 -11
- package/table-cell-types/theseam-ui-common-table-cell-types.d.ts +0 -6
- package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +0 -1
- package/tel-input/package.json +0 -11
- package/tel-input/theseam-ui-common-tel-input.d.ts +0 -4
- package/tel-input/theseam-ui-common-tel-input.metadata.json +0 -1
- package/testing/package.json +0 -11
- package/testing/theseam-ui-common-testing.d.ts +0 -4
- package/testing/theseam-ui-common-testing.metadata.json +0 -1
- package/theseam-ui-common.d.ts +0 -4
- package/theseam-ui-common.metadata.json +0 -1
- package/tiled-select/package.json +0 -11
- package/tiled-select/theseam-ui-common-tiled-select.d.ts +0 -4
- package/tiled-select/theseam-ui-common-tiled-select.metadata.json +0 -1
- package/toggle-edit/package.json +0 -11
- package/toggle-edit/theseam-ui-common-toggle-edit.d.ts +0 -4
- package/toggle-edit/theseam-ui-common-toggle-edit.metadata.json +0 -1
- package/toggle-group/package.json +0 -11
- package/toggle-group/theseam-ui-common-toggle-group.d.ts +0 -4
- package/toggle-group/theseam-ui-common-toggle-group.metadata.json +0 -1
- package/unsaved-changes-dialog/package.json +0 -11
- package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.d.ts +0 -4
- package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.metadata.json +0 -1
- package/utils/package.json +0 -11
- package/utils/theseam-ui-common-utils.d.ts +0 -4
- package/utils/theseam-ui-common-utils.metadata.json +0 -1
- package/validators/package.json +0 -11
- package/validators/theseam-ui-common-validators.d.ts +0 -4
- package/validators/theseam-ui-common-validators.metadata.json +0 -1
- package/viewers/package.json +0 -11
- package/viewers/theseam-ui-common-viewers.d.ts +0 -4
- package/viewers/theseam-ui-common-viewers.metadata.json +0 -1
- package/widget/package.json +0 -11
- package/widget/theseam-ui-common-widget.d.ts +0 -4
- package/widget/theseam-ui-common-widget.metadata.json +0 -1
- /package/{esm2015/asset-reader/encrypted-asset-reader.js → esm2020/asset-reader/encrypted-asset-reader.mjs} +0 -0
- /package/{esm2015/asset-reader/public-api.js → esm2020/asset-reader/public-api.mjs} +0 -0
- /package/{esm2015/asset-reader/theseam-ui-common-asset-reader.js → esm2020/asset-reader/theseam-ui-common-asset-reader.mjs} +0 -0
- /package/{esm2015/breadcrumbs/public-api.js → esm2020/breadcrumbs/public-api.mjs} +0 -0
- /package/{esm2015/breadcrumbs/theseam-ui-common-breadcrumbs.js → esm2020/breadcrumbs/theseam-ui-common-breadcrumbs.mjs} +0 -0
- /package/{esm2015/buttons/public-api.js → esm2020/buttons/public-api.mjs} +0 -0
- /package/{esm2015/buttons/theseam-ui-common-buttons.js → esm2020/buttons/theseam-ui-common-buttons.mjs} +0 -0
- /package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
- /package/{esm2015/card/theseam-ui-common-card.js → esm2020/card/theseam-ui-common-card.mjs} +0 -0
- /package/{esm2015/checkbox/theseam-ui-common-checkbox.js → esm2020/checkbox/theseam-ui-common-checkbox.mjs} +0 -0
- /package/{esm2015/confirm-dialog/public-api.js → esm2020/confirm-dialog/public-api.mjs} +0 -0
- /package/{esm2015/confirm-dialog/theseam-ui-common-confirm-dialog.js → esm2020/confirm-dialog/theseam-ui-common-confirm-dialog.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/constructor.js → esm2020/core/common-behaviors/constructor.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/element-ref.js → esm2020/core/common-behaviors/element-ref.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/index.js → esm2020/core/common-behaviors/index.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/renderer2.js → esm2020/core/common-behaviors/renderer2.mjs} +0 -0
- /package/{esm2015/core/input-decorators/index.js → esm2020/core/input-decorators/index.mjs} +0 -0
- /package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +0 -0
- /package/{esm2015/core/theseam-ui-common-core.js → esm2020/core/theseam-ui-common-core.mjs} +0 -0
- /package/{esm2015/data-exporter/data-exporter.js → esm2020/data-exporter/data-exporter.mjs} +0 -0
- /package/{esm2015/data-exporter/public-api.js → esm2020/data-exporter/public-api.mjs} +0 -0
- /package/{esm2015/data-exporter/theseam-ui-common-data-exporter.js → esm2020/data-exporter/theseam-ui-common-data-exporter.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter-container.js → esm2020/data-filters/data-filter-container.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter-def.js → esm2020/data-filters/data-filter-def.mjs} +0 -0
- /package/{esm2015/data-filters/filters/data-filter-search/search-filter-options.js → esm2020/data-filters/filters/data-filter-search/search-filter-options.mjs} +0 -0
- /package/{esm2015/data-filters/filters/data-filter-text/text-filter-options.js → esm2020/data-filters/filters/data-filter-text/text-filter-options.mjs} +0 -0
- /package/{esm2015/data-filters/public-api.js → esm2020/data-filters/public-api.mjs} +0 -0
- /package/{esm2015/data-filters/theseam-ui-common-data-filters.js → esm2020/data-filters/theseam-ui-common-data-filters.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/hide-column.columns-alteration.js → esm2020/datatable/models/columns-alterations/hide-column.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/sort.columns-alteration.js → esm2020/datatable/models/columns-alterations/sort.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/width.columns-alteration.js → esm2020/datatable/models/columns-alterations/width.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-accessor.js → esm2020/datatable/models/datatable-accessor.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-data-source.js → esm2020/datatable/models/datatable-data-source.mjs} +0 -0
- /package/{esm2015/datatable/models/menubar-item-data.js → esm2020/datatable/models/menubar-item-data.mjs} +0 -0
- /package/{esm2015/datatable/models/page-info.js → esm2020/datatable/models/page-info.mjs} +0 -0
- /package/{esm2015/datatable/models/preferences-accessor.js → esm2020/datatable/models/preferences-accessor.mjs} +0 -0
- /package/{esm2015/datatable/models/preferences.js → esm2020/datatable/models/preferences.mjs} +0 -0
- /package/{esm2015/datatable/models/sort-event.js → esm2020/datatable/models/sort-event.mjs} +0 -0
- /package/{esm2015/datatable/models/table-column.js → esm2020/datatable/models/table-column.mjs} +0 -0
- /package/{esm2015/datatable/public-api.js → esm2020/datatable/public-api.mjs} +0 -0
- /package/{esm2015/datatable/tokens/datatable-accessor.js → esm2020/datatable/tokens/datatable-accessor.mjs} +0 -0
- /package/{esm2015/datatable/tokens/datatable-preferences-accessor.js → esm2020/datatable/tokens/datatable-preferences-accessor.mjs} +0 -0
- /package/{esm2015/datatable/tokens/menubar-item-data.js → esm2020/datatable/tokens/menubar-item-data.mjs} +0 -0
- /package/{esm2015/datatable/utils/create-action-menu-column.js → esm2020/datatable/utils/create-action-menu-column.mjs} +0 -0
- /package/{esm2015/datatable/utils/create-checkbox-column.js → esm2020/datatable/utils/create-checkbox-column.mjs} +0 -0
- /package/{esm2015/datatable/utils/get-column-prop.js → esm2020/datatable/utils/get-column-prop.mjs} +0 -0
- /package/{esm2015/datatable/utils/remove-unused-diffs.js → esm2020/datatable/utils/remove-unused-diffs.mjs} +0 -0
- /package/{esm2015/datatable/utils/translate-templates.js → esm2020/datatable/utils/translate-templates.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-def.js → esm2020/datatable-dynamic/datatable-dynamic-def.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-menu-bar-token.js → esm2020/datatable-dynamic/datatable-dynamic-menu-bar-token.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-action-menu-record.js → esm2020/datatable-dynamic/models/dynamic-datatable-action-menu-record.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-filter-menu-item.js → esm2020/datatable-dynamic/models/dynamic-datatable-filter-menu-item.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action-context.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action-context.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/index.js → esm2020/datatable-dynamic/models/index.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/public-api.js → esm2020/datatable-dynamic/public-api.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/theseam-ui-common-datatable-dynamic.js → esm2020/datatable-dynamic/theseam-ui-common-datatable-dynamic.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/index.js → esm2020/datatable-dynamic/utils/index.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api-def.js → esm2020/dynamic/action/api/dynamic-action-api-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api-errors.js → esm2020/dynamic/action/api/dynamic-action-api-errors.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api.js → esm2020/dynamic/action/api/dynamic-action-api.mjs} +0 -0
- /package/{esm2015/dynamic/action/index.js → esm2020/dynamic/action/index.mjs} +0 -0
- /package/{esm2015/dynamic/action/link/dynamic-action-link-def.js → esm2020/dynamic/action/link/dynamic-action-link-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/link/dynamic-action-link.js → esm2020/dynamic/action/link/dynamic-action-link.mjs} +0 -0
- /package/{esm2015/dynamic/action/modal/dynamic-action-modal.js → esm2020/dynamic/action/modal/dynamic-action-modal.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.js → esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/index.js → esm2020/dynamic/evaluators/exporters-data-evaluator/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/index.js → esm2020/dynamic/evaluators/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/jexl-evaluator/index.js → esm2020/dynamic/evaluators/jexl-evaluator/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/jexl-evaluator/jexl-value.js → esm2020/dynamic/evaluators/jexl-evaluator/jexl-value.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-confirm-def.js → esm2020/dynamic/models/dynamic-action-confirm-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-context.js → esm2020/dynamic/models/dynamic-action-context.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-def.js → esm2020/dynamic/models/dynamic-action-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-anchor-def.js → esm2020/dynamic/models/dynamic-action-ui-anchor-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-button-def.js → esm2020/dynamic/models/dynamic-action-ui-button-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-def.js → esm2020/dynamic/models/dynamic-action-ui-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action.js → esm2020/dynamic/models/dynamic-action.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-base-type.js → esm2020/dynamic/models/dynamic-value-base-type.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-evaluator.js → esm2020/dynamic/models/dynamic-value-evaluator.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-primitive.js → esm2020/dynamic/models/dynamic-value-primitive.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-type.js → esm2020/dynamic/models/dynamic-value-type.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value.js → esm2020/dynamic/models/dynamic-value.mjs} +0 -0
- /package/{esm2015/dynamic/models/index.js → esm2020/dynamic/models/index.mjs} +0 -0
- /package/{esm2015/dynamic/public-api.js → esm2020/dynamic/public-api.mjs} +0 -0
- /package/{esm2015/dynamic/theseam-ui-common-dynamic.js → esm2020/dynamic/theseam-ui-common-dynamic.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/api-config.js → esm2020/dynamic/tokens/api-config.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-action.js → esm2020/dynamic/tokens/dynamic-action.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-data.js → esm2020/dynamic/tokens/dynamic-data.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-value-evaluator.js → esm2020/dynamic/tokens/dynamic-value-evaluator.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/index.js → esm2020/dynamic/tokens/index.mjs} +0 -0
- /package/{esm2015/dynamic/utils/index.js → esm2020/dynamic/utils/index.mjs} +0 -0
- /package/{esm2015/dynamic/utils/is-action-type.js → esm2020/dynamic/utils/is-action-type.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/dynamic-component-tokens.js → esm2020/dynamic-component-loader/dynamic-component-tokens.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/public-api.js → esm2020/dynamic-component-loader/public-api.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.js → esm2020/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.mjs} +0 -0
- /package/{esm2015/footer-bar/public-api.js → esm2020/footer-bar/public-api.mjs} +0 -0
- /package/{esm2015/footer-bar/theseam-ui-common-footer-bar.js → esm2020/footer-bar/theseam-ui-common-footer-bar.mjs} +0 -0
- /package/{esm2015/form-field/theseam-ui-common-form-field.js → esm2020/form-field/theseam-ui-common-form-field.mjs} +0 -0
- /package/{esm2015/form-field-error/public-api.js → esm2020/form-field-error/public-api.mjs} +0 -0
- /package/{esm2015/form-field-error/theseam-ui-common-form-field-error.js → esm2020/form-field-error/theseam-ui-common-form-field-error.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-action.js → esm2020/framework/base-layout/base-layout-action.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-nav.js → esm2020/framework/base-layout/base-layout-nav.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-ref.js → esm2020/framework/base-layout/base-layout-ref.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-tokens.js → esm2020/framework/base-layout/base-layout-tokens.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-item.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-item.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.mjs} +0 -0
- /package/{esm2015/framework/dashboard/index.js → esm2020/framework/dashboard/index.mjs} +0 -0
- /package/{esm2015/framework/dynamic-router/index.js → esm2020/framework/dynamic-router/index.mjs} +0 -0
- /package/{esm2015/framework/nav/index.js → esm2020/framework/nav/index.mjs} +0 -0
- /package/{esm2015/framework/nav/nav.models.js → esm2020/framework/nav/nav.models.mjs} +0 -0
- /package/{esm2015/framework/public-api.js → esm2020/framework/public-api.mjs} +0 -0
- /package/{esm2015/framework/schema-form/index.js → esm2020/framework/schema-form/index.mjs} +0 -0
- /package/{esm2015/google-maps/map-controls-service.js → esm2020/google-maps/map-controls-service.mjs} +0 -0
- /package/{esm2015/graphql/datatable/index.js → esm2020/graphql/datatable/index.mjs} +0 -0
- /package/{esm2015/graphql/datatable/map-page-info.js → esm2020/graphql/datatable/map-page-info.mjs} +0 -0
- /package/{esm2015/graphql/datatable/mapper-context.js → esm2020/graphql/datatable/mapper-context.mjs} +0 -0
- /package/{esm2015/graphql/models/direction.js → esm2020/graphql/models/direction.mjs} +0 -0
- /package/{esm2015/graphql/models/gql-datatable-accessor.js → esm2020/graphql/models/gql-datatable-accessor.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-definition.js → esm2020/graphql/models/hint-definition.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-transform-operation.js → esm2020/graphql/models/hint-transform-operation.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-transformer.js → esm2020/graphql/models/hint-transformer.mjs} +0 -0
- /package/{esm2015/graphql/models/hints-kind.js → esm2020/graphql/models/hints-kind.mjs} +0 -0
- /package/{esm2015/graphql/models/hints-token.js → esm2020/graphql/models/hints-token.mjs} +0 -0
- /package/{esm2015/graphql/models/index.js → esm2020/graphql/models/index.mjs} +0 -0
- /package/{esm2015/graphql/models/query-processing-config.js → esm2020/graphql/models/query-processing-config.mjs} +0 -0
- /package/{esm2015/graphql/models/variable.js → esm2020/graphql/models/variable.mjs} +0 -0
- /package/{esm2015/graphql/public-api.js → esm2020/graphql/public-api.mjs} +0 -0
- /package/{esm2015/graphql/theseam-ui-common-graphql.js → esm2020/graphql/theseam-ui-common-graphql.mjs} +0 -0
- /package/{esm2015/graphql/utils/contains-variable.js → esm2020/graphql/utils/contains-variable.mjs} +0 -0
- /package/{esm2015/graphql/utils/gql-var.js → esm2020/graphql/utils/gql-var.mjs} +0 -0
- /package/{esm2015/graphql/utils/hints-tokens-containing-hint.js → esm2020/graphql/utils/hints-tokens-containing-hint.mjs} +0 -0
- /package/{esm2015/graphql/utils/index.js → esm2020/graphql/utils/index.mjs} +0 -0
- /package/{esm2015/graphql/utils/parse-comments.js → esm2020/graphql/utils/parse-comments.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable-definition.js → esm2020/graphql/utils/remove-variable-definition.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable-definitions-not-defined.js → esm2020/graphql/utils/remove-variable-definitions-not-defined.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable.js → esm2020/graphql/utils/remove-variable.mjs} +0 -0
- /package/{esm2015/icon/icon.js → esm2020/icon/icon.mjs} +0 -0
- /package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
- /package/{esm2015/icon/theseam-ui-common-icon.js → esm2020/icon/theseam-ui-common-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/file-extension-icon.js → esm2020/icon/utils/file-extension-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/index.js → esm2020/icon/utils/index.mjs} +0 -0
- /package/{esm2015/layout/public-api.js → esm2020/layout/public-api.mjs} +0 -0
- /package/{esm2015/layout/theseam-ui-common-layout.js → esm2020/layout/theseam-ui-common-layout.mjs} +0 -0
- /package/{esm2015/loading/loading-themes.js → esm2020/loading/loading-themes.mjs} +0 -0
- /package/{esm2015/loading/loading.models.js → esm2020/loading/loading.models.mjs} +0 -0
- /package/{esm2015/loading/public-api.js → esm2020/loading/public-api.mjs} +0 -0
- /package/{esm2015/loading/theseam-ui-common-loading.js → esm2020/loading/theseam-ui-common-loading.mjs} +0 -0
- /package/{esm2015/menu/menu-animations.js → esm2020/menu/menu-animations.mjs} +0 -0
- /package/{esm2015/menu/menu-panel-token.js → esm2020/menu/menu-panel-token.mjs} +0 -0
- /package/{esm2015/menu/menu-panel.js → esm2020/menu/menu-panel.mjs} +0 -0
- /package/{esm2015/menu/public-api.js → esm2020/menu/public-api.mjs} +0 -0
- /package/{esm2015/menu/theseam-ui-common-menu.js → esm2020/menu/theseam-ui-common-menu.mjs} +0 -0
- /package/{esm2015/modal/modal-injectors.js → esm2020/modal/modal-injectors.mjs} +0 -0
- /package/{esm2015/modal/modal-utils.js → esm2020/modal/modal-utils.mjs} +0 -0
- /package/{esm2015/modal/public-api.js → esm2020/modal/public-api.mjs} +0 -0
- /package/{esm2015/modal/theseam-ui-common-modal.js → esm2020/modal/theseam-ui-common-modal.mjs} +0 -0
- /package/{esm2015/models/component-type.js → esm2020/models/component-type.mjs} +0 -0
- /package/{esm2015/models/http-status-codes.js → esm2020/models/http-status-codes.mjs} +0 -0
- /package/{esm2015/models/public-api.js → esm2020/models/public-api.mjs} +0 -0
- /package/{esm2015/models/size-prefixes.js → esm2020/models/size-prefixes.mjs} +0 -0
- /package/{esm2015/models/size-types.js → esm2020/models/size-types.mjs} +0 -0
- /package/{esm2015/models/theme-names.js → esm2020/models/theme-names.mjs} +0 -0
- /package/{esm2015/models/theme-prefixes.js → esm2020/models/theme-prefixes.mjs} +0 -0
- /package/{esm2015/models/theme-types.js → esm2020/models/theme-types.mjs} +0 -0
- /package/{esm2015/models/theseam-ui-common-models.js → esm2020/models/theseam-ui-common-models.mjs} +0 -0
- /package/{esm2015/popover/popover-animations.js → esm2020/popover/popover-animations.mjs} +0 -0
- /package/{esm2015/popover/public-api.js → esm2020/popover/public-api.mjs} +0 -0
- /package/{esm2015/popover/theseam-ui-common-popover.js → esm2020/popover/theseam-ui-common-popover.mjs} +0 -0
- /package/{esm2015/progress/public-api.js → esm2020/progress/public-api.mjs} +0 -0
- /package/{esm2015/progress/theseam-ui-common-progress.js → esm2020/progress/theseam-ui-common-progress.mjs} +0 -0
- /package/{esm2015/scrollbar/overlay-scrollbars-config-model.js → esm2020/scrollbar/overlay-scrollbars-config-model.mjs} +0 -0
- /package/{esm2015/scrollbar/public-api.js → esm2020/scrollbar/public-api.mjs} +0 -0
- /package/{esm2015/scrollbar/theseam-ui-common-scrollbar.js → esm2020/scrollbar/theseam-ui-common-scrollbar.mjs} +0 -0
- /package/{esm2015/services/public-api.js → esm2020/services/public-api.mjs} +0 -0
- /package/{esm2015/services/theseam-ui-common-services.js → esm2020/services/theseam-ui-common-services.mjs} +0 -0
- /package/{esm2015/shared/components/index.js → esm2020/shared/components/index.mjs} +0 -0
- /package/{esm2015/shared/directives/index.js → esm2020/shared/directives/index.mjs} +0 -0
- /package/{esm2015/shared/pipes/index.js → esm2020/shared/pipes/index.mjs} +0 -0
- /package/{esm2015/shared/public-api.js → esm2020/shared/public-api.mjs} +0 -0
- /package/{esm2015/shared/theseam-ui-common-shared.js → esm2020/shared/theseam-ui-common-shared.mjs} +0 -0
- /package/{esm2015/storage/public-api.js → esm2020/storage/public-api.mjs} +0 -0
- /package/{esm2015/storage/theseam-ui-common-storage.js → esm2020/storage/theseam-ui-common-storage.mjs} +0 -0
- /package/{esm2015/story-helpers/initial-route-factory.js → esm2020/story-helpers/initial-route-factory.mjs} +0 -0
- /package/{esm2015/story-helpers/route-button.js → esm2020/story-helpers/route-button.mjs} +0 -0
- /package/{esm2015/story-helpers/theseam-ui-common-story-helpers.js → esm2020/story-helpers/theseam-ui-common-story-helpers.mjs} +0 -0
- /package/{esm2015/tabbed/theseam-ui-common-tabbed.js → esm2020/tabbed/theseam-ui-common-tabbed.mjs} +0 -0
- /package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
- /package/{esm2015/table/theseam-ui-common-table.js → esm2020/table/theseam-ui-common-table.mjs} +0 -0
- /package/{esm2015/table-cell-type/public-api.js → esm2020/table-cell-type/public-api.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-action.js → esm2020/table-cell-type/table-cell-type-action.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-column.js → esm2020/table-cell-type/table-cell-type-column.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-config.js → esm2020/table-cell-type/table-cell-type-config.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-manifest-provider.js → esm2020/table-cell-type/table-cell-type-manifest-provider.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-name.js → esm2020/table-cell-type/table-cell-type-name.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-tokens.js → esm2020/table-cell-type/table-cell-type-tokens.mjs} +0 -0
- /package/{esm2015/table-cell-type/theseam-ui-common-table-cell-type.js → esm2020/table-cell-type/theseam-ui-common-table-cell-type.mjs} +0 -0
- /package/{esm2015/table-cell-types/public-api.js → esm2020/table-cell-types/public-api.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date-config.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.js → esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.js → esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.js → esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.js → esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-string/table-cell-type-string-config.js → esm2020/table-cell-types/table-cell-type-string/table-cell-type-string-config.mjs} +0 -0
- /package/{esm2015/tel-input/models/index.js → esm2020/tel-input/models/index.mjs} +0 -0
- /package/{esm2015/tel-input/models/tel-input-country-data.js → esm2020/tel-input/models/tel-input-country-data.mjs} +0 -0
- /package/{esm2015/tel-input/models/tel-input-number-format-name.js → esm2020/tel-input/models/tel-input-number-format-name.mjs} +0 -0
- /package/{esm2015/tel-input/public-api.js → esm2020/tel-input/public-api.mjs} +0 -0
- /package/{esm2015/tel-input/tel-input-constants.js → esm2020/tel-input/tel-input-constants.mjs} +0 -0
- /package/{esm2015/tel-input/theseam-ui-common-tel-input.js → esm2020/tel-input/theseam-ui-common-tel-input.mjs} +0 -0
- /package/{esm2015/tel-input/utils/coerce-phone-number-format.js → esm2020/tel-input/utils/coerce-phone-number-format.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-country-code.js → esm2020/tel-input/utils/get-country-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-dial-code.js → esm2020/tel-input/utils/get-dial-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-global-intl-tel-input-globals.js → esm2020/tel-input/utils/get-global-intl-tel-input-globals.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-global-intl-tel-input-utils.js → esm2020/tel-input/utils/get-global-intl-tel-input-utils.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-intl-tel-input-utils.js → esm2020/tel-input/utils/get-intl-tel-input-utils.mjs} +0 -0
- /package/{esm2015/tel-input/utils/index.js → esm2020/tel-input/utils/index.mjs} +0 -0
- /package/{esm2015/testing/current-tick-time.js → esm2020/testing/current-tick-time.mjs} +0 -0
- /package/{esm2015/testing/fake-toastr.js → esm2020/testing/fake-toastr.mjs} +0 -0
- /package/{esm2015/testing/public-api.js → esm2020/testing/public-api.mjs} +0 -0
- /package/{esm2015/testing/theseam-ui-common-testing.js → esm2020/testing/theseam-ui-common-testing.mjs} +0 -0
- /package/{esm2015/testing/tick-helper.js → esm2020/testing/tick-helper.mjs} +0 -0
- /package/{esm2015/theseam-ui-common.js → esm2020/theseam-ui-common.mjs} +0 -0
- /package/{esm2015/tiled-select/theseam-ui-common-tiled-select.js → esm2020/tiled-select/theseam-ui-common-tiled-select.mjs} +0 -0
- /package/{esm2015/tiled-select/tiled-select.models.js → esm2020/tiled-select/tiled-select.models.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/can-toggle-edit.js → esm2020/toggle-edit/models/can-toggle-edit.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/index.js → esm2020/toggle-edit/models/index.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/toggle-edit-ref.js → esm2020/toggle-edit/models/toggle-edit-ref.mjs} +0 -0
- /package/{esm2015/toggle-edit/public-api.js → esm2020/toggle-edit/public-api.mjs} +0 -0
- /package/{esm2015/toggle-edit/theseam-ui-common-toggle-edit.js → esm2020/toggle-edit/theseam-ui-common-toggle-edit.mjs} +0 -0
- /package/{esm2015/toggle-group/public-api.js → esm2020/toggle-group/public-api.mjs} +0 -0
- /package/{esm2015/toggle-group/theseam-ui-common-toggle-group.js → esm2020/toggle-group/theseam-ui-common-toggle-group.mjs} +0 -0
- /package/{esm2015/unsaved-changes-dialog/public-api.js → esm2020/unsaved-changes-dialog/public-api.mjs} +0 -0
- /package/{esm2015/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.js → esm2020/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.mjs} +0 -0
- /package/{esm2015/utils/calc-percentage.js → esm2020/utils/calc-percentage.mjs} +0 -0
- /package/{esm2015/utils/create-padding.js → esm2020/utils/create-padding.mjs} +0 -0
- /package/{esm2015/utils/form/get-control-name.js → esm2020/utils/form/get-control-name.mjs} +0 -0
- /package/{esm2015/utils/form/has-required-control.js → esm2020/utils/form/has-required-control.mjs} +0 -0
- /package/{esm2015/utils/form/is-empty-input-value.js → esm2020/utils/form/is-empty-input-value.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-is-different.js → esm2020/utils/form/observe-control-is-different.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-status.js → esm2020/utils/form/observe-control-status.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-valid.js → esm2020/utils/form/observe-control-valid.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-value-change.js → esm2020/utils/form/observe-control-value-change.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-value.js → esm2020/utils/form/observe-control-value.mjs} +0 -0
- /package/{esm2015/utils/form/wait-on-non-pending-status.js → esm2020/utils/form/wait-on-non-pending-status.mjs} +0 -0
- /package/{esm2015/utils/fractional-digits-count.js → esm2020/utils/fractional-digits-count.mjs} +0 -0
- /package/{esm2015/utils/geo-json/no-kinks.validator.js → esm2020/utils/geo-json/no-kinks.validator.mjs} +0 -0
- /package/{esm2015/utils/get-attribute.js → esm2020/utils/get-attribute.mjs} +0 -0
- /package/{esm2015/utils/has-attribute.js → esm2020/utils/has-attribute.mjs} +0 -0
- /package/{esm2015/utils/input-masks.js → esm2020/utils/input-masks.mjs} +0 -0
- /package/{esm2015/utils/is-absolute-url.js → esm2020/utils/is-absolute-url.mjs} +0 -0
- /package/{esm2015/utils/is-null-or-undefined.js → esm2020/utils/is-null-or-undefined.mjs} +0 -0
- /package/{esm2015/utils/is-numeric.js → esm2020/utils/is-numeric.mjs} +0 -0
- /package/{esm2015/utils/not-null-or-undefined.js → esm2020/utils/not-null-or-undefined.mjs} +0 -0
- /package/{esm2015/utils/observe-query-list.js → esm2020/utils/observe-query-list.mjs} +0 -0
- /package/{esm2015/utils/operators/index.js → esm2020/utils/operators/index.mjs} +0 -0
- /package/{esm2015/utils/operators/map-each.js → esm2020/utils/operators/map-each.mjs} +0 -0
- /package/{esm2015/utils/operators/tap-first.js → esm2020/utils/operators/tap-first.mjs} +0 -0
- /package/{esm2015/utils/pad-end.js → esm2020/utils/pad-end.mjs} +0 -0
- /package/{esm2015/utils/pad-start.js → esm2020/utils/pad-start.mjs} +0 -0
- /package/{esm2015/utils/public-api.js → esm2020/utils/public-api.mjs} +0 -0
- /package/{esm2015/utils/refreshable.js → esm2020/utils/refreshable.mjs} +0 -0
- /package/{esm2015/utils/router/index.js → esm2020/utils/router/index.mjs} +0 -0
- /package/{esm2015/utils/router/is-empty-url-route.js → esm2020/utils/router/is-empty-url-route.mjs} +0 -0
- /package/{esm2015/utils/router/leaf-child-route.js → esm2020/utils/router/leaf-child-route.mjs} +0 -0
- /package/{esm2015/utils/theseam-ui-common-utils.js → esm2020/utils/theseam-ui-common-utils.mjs} +0 -0
- /package/{esm2015/utils/wrap-into-observable.js → esm2020/utils/wrap-into-observable.mjs} +0 -0
- /package/{esm2015/validators/decimal.validator.js → esm2020/validators/decimal.validator.mjs} +0 -0
- /package/{esm2015/validators/email-exists.validator.js → esm2020/validators/email-exists.validator.mjs} +0 -0
- /package/{esm2015/validators/integer.validator.js → esm2020/validators/integer.validator.mjs} +0 -0
- /package/{esm2015/validators/phone-length.validator.js → esm2020/validators/phone-length.validator.mjs} +0 -0
- /package/{esm2015/validators/public-api.js → esm2020/validators/public-api.mjs} +0 -0
- /package/{esm2015/validators/tax-id.validator.js → esm2020/validators/tax-id.validator.mjs} +0 -0
- /package/{esm2015/validators/theseam-ui-common-validators.js → esm2020/validators/theseam-ui-common-validators.mjs} +0 -0
- /package/{esm2015/viewers/html-template-viewer/index.js → esm2020/viewers/html-template-viewer/index.mjs} +0 -0
- /package/{esm2015/viewers/pdf-viewer/index.js → esm2020/viewers/pdf-viewer/index.mjs} +0 -0
- /package/{esm2015/viewers/public-api.js → esm2020/viewers/public-api.mjs} +0 -0
- /package/{esm2015/viewers/theseam-ui-common-viewers.js → esm2020/viewers/theseam-ui-common-viewers.mjs} +0 -0
- /package/{esm2015/widget/public-api.js → esm2020/widget/public-api.mjs} +0 -0
- /package/{esm2015/widget/theseam-ui-common-widget.js → esm2020/widget/theseam-ui-common-widget.mjs} +0 -0
- /package/{esm2015/widget/widget-registry.models.js → esm2020/widget/widget-registry.models.mjs} +0 -0
- /package/{esm2015/widget/widget-token.js → esm2020/widget/widget-token.mjs} +0 -0
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { isEmptyInputValue } from '../form/is-empty-input-value';
|
|
2
|
-
import { coerceFeatureCollection } from './coerce-feature-collection';
|
|
3
|
-
export const IS_FEATURE_COLLECTION_VALIDATOR_NAME = 'is-feature-collection';
|
|
4
|
-
export function isFeatureCollectionValidator() {
|
|
5
|
-
return (control) => {
|
|
6
|
-
// Don't need to validate if there isn't a value. Use `Validators.required` for that.
|
|
7
|
-
if (isEmptyInputValue(control.value)) {
|
|
8
|
-
return null; // don't validate empty values to allow optional controls
|
|
9
|
-
}
|
|
10
|
-
const value = coerceFeatureCollection(control.value);
|
|
11
|
-
if (value === null) {
|
|
12
|
-
return {
|
|
13
|
-
[IS_FEATURE_COLLECTION_VALIDATOR_NAME]: {
|
|
14
|
-
reason: `Must be a FeatureCollection.`,
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
return null;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtZmVhdHVyZS1jb2xsZWN0aW9uLnZhbGlkYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWNvbW1vbi91dG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F0dXJlLWNvbGxlY3Rpb24nXG5cbmV4cG9ydCBjb25zdCBJU19GRUFUVVJFX0NPTExFQ1RJT05fVkFMSURBVE9SX05BTUUgPSAnaXMtZmVhdHVyZS1jb2xsZWN0aW9uJ1xuXG5leHBvcnQgZnVuY3Rpb24gaXNGZWF0dXJlQ29sbGVjdGlvblZhbGlkYXRvcigpOiBWYWxpZGF0b3JGbiB7XG4gIHJldHVybiAoY29udHJvbDogQWJzdHJhY3RDb250cm9sKSA9PiB7XG4gICAgLy8gRG9uJ3QgbmVlZCB0byB2YWxpZGF0ZSBpZiB0aGVyZSBpc24ndCBhIHZhbHVlLiBVc2UgYFZhbGlkYXRvcnMucmVxdWlyZWRgIGZvciB0aGF0LlxuICAgIGlmIChpc0VtcHR5SW5wdXRWYWx1ZShjb250cm9sLnZhbHVlKSkge1xuICAgICAgcmV0dXJuIG51bGwgLy8gZG9uJ3QgdmFsaWRhdGUgZW1wdHkgdmFsdWVzIHRvIGFsbG93IG9wdGlvbmFsIGNvbnRyb2xzXG4gICAgfVxuXG4gICAgY29uc3QgdmFsdWUgPSBjb2VyY2VGZWF0dXJlQ29sbGVjdGlvbihjb250cm9sLnZhbHVlKVxuXG4gICAgaWYgKHZhbHVlID09PSBudWxsKSB7XG4gICAgICByZXR1cm4ge1xuICAgICAgICBbSVNfRkVBVFVSRV9DT0xMRUNUSU9OX1ZBTElEQVRPUl9OQU1FXToge1xuICAgICAgICAgIHJlYXNvbjogYE11c3QgYmUgYSBGZWF0dXJlQ29sbGVjdGlvbi5gLFxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgcmV0dXJuIG51bGxcbiAgfVxufVxuIl19
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Returns true if the GeoJSON is only specifies geometries.
|
|
3
|
-
*/
|
|
4
|
-
export function isOnlyGeometryTypes(featureCollection, types) {
|
|
5
|
-
if (types.length === 0) {
|
|
6
|
-
if (featureCollection.features.length > 0) {
|
|
7
|
-
// If no types are specified then there can't be any specified types found.
|
|
8
|
-
return false;
|
|
9
|
-
}
|
|
10
|
-
else {
|
|
11
|
-
// If no types are specified and there are no features then there is
|
|
12
|
-
// nothing to say a specified type isn't found.
|
|
13
|
-
return true;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
for (const f of featureCollection.features) {
|
|
17
|
-
if (types.indexOf(f.geometry.type) === -1) {
|
|
18
|
-
return false;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtb25seS1nZW9tZXRyeS10eXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWNvbW1vbi91dGlscy9nZW8tanNvbi9pcy1vbmx5LWdlb21ldHJ5LXR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBOztHQUVHO0FBQ0gsTUFBTSxVQUFVLG1CQUFtQixDQUFDLGlCQUFvQyxFQUFFLEtBQXlCO0lBQ2pHLElBQUksS0FBSyxDQUFDLE1BQU0sS0FBSyxDQUFDLEVBQUU7UUFDdEIsSUFBSSxpQkFBaUIsQ0FBQyxRQUFRLENBQUMsTUFBTSxHQUFHLENBQUMsRUFBRTtZQUN6QywyRUFBMkU7WUFDM0UsT0FBTyxLQUFLLENBQUE7U0FDYjthQUFNO1lBQ0wsb0VBQW9FO1lBQ3BFLCtDQUErQztZQUMvQyxPQUFPLElBQUksQ0FBQTtTQUNaO0tBQ0Y7SUFFRCxLQUFLLE1BQU0sQ0FBQyxJQUFJLGlCQUFpQixDQUFDLFFBQVEsRUFBRTtRQUMxQyxJQUFJLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLEN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mYWxzZVxuICAgIH1cbiAgfVxuXG4gIHJldHVybiB0cnVlXG59XG4iXX0=
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { isEmptyInputValue } from '../form/is-empty-input-value';
|
|
2
|
-
import { coerceFeatureCollection } from './coerce-feature-collection';
|
|
3
|
-
import { isOnlyGeometryTypes } from './is-only-geometry-types';
|
|
4
|
-
export const IS_ONLY_GEOMETRY_TYPES_VALIDATOR_NAME = 'is-only-geometry-types';
|
|
5
|
-
export function isOnlyGeometryTypesValidator(types) {
|
|
6
|
-
return (control) => {
|
|
7
|
-
// Don't need to validate if there isn't a value. Use `Validators.required` for that.
|
|
8
|
-
if (isEmptyInputValue(control.value)) {
|
|
9
|
-
return null; // don't validate empty values to allow optional controls
|
|
10
|
-
}
|
|
11
|
-
const value = coerceFeatureCollection(control.value);
|
|
12
|
-
if (value === null) {
|
|
13
|
-
// If there isn't a FeatureCollection then there is nothing to validate.
|
|
14
|
-
// Use 'isFeatureCollection' to validate the value is a FeatureCollection.
|
|
15
|
-
return null;
|
|
16
|
-
}
|
|
17
|
-
if (!isOnlyGeometryTypes(value, types)) {
|
|
18
|
-
const typesNotAllowed = value.features
|
|
19
|
-
.map(f => f.geometry.type)
|
|
20
|
-
.filter(t => types.indexOf(t) === -1);
|
|
21
|
-
const distinctTypesNotAllowed = Array.from(new Set(typesNotAllowed));
|
|
22
|
-
return {
|
|
23
|
-
[IS_ONLY_GEOMETRY_TYPES_VALIDATOR_NAME]: {
|
|
24
|
-
reason: `Only geometry type${(types.length === 1 ? '' : 's')} ${types.join(', ')} allowed.`,
|
|
25
|
-
notAllowedGeometryTypesFound: distinctTypesNotAllowed,
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
return null;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtb25seS1nZW9tZXRyeS10eXBlcy52YWxp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ICAgICAgICAuZmlsdGVyKHQgPT4gdHlwZXMuaW5kZXhPZih0KSA9PT0gLTEpXG4gICAgICBjb25zdCBkaXN0aW5jdFR5cGVzTm90QWxsb3dlZCA9IEFycmF5LmZyb20obmV3IFNldCh0eXBlc05vdEFsbG93ZWQpKVxuICAgICAgcmV0dXJuIHtcbiAgICAgICAgW0lTX09OTFlfR0VPTUVUUllfVFlQRVNfVkFMSURBVE9SX05BTUVdOiB7XG4gICAgICAgICAgcmVhc29uOiBgT25seSBnZW9tZXRyeSB0eXBlJHsodHlwZXMubGVuZ3RoID09PSAxID8gJycgOiAncycpfSAke3R5cGVzLmpvaW4oJywgJyl9IGFsbG93ZWQuYCxcbiAgICAgICAgICBub3RBbGxvd2VkR2VvbWV0cnlUeXBlc0ZvdW5kOiBkaXN0aW5jdFR5cGVzTm90QWxsb3dlZCxcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiBudWxsXG4gIH1cbn1cblxuXG4iXX0=
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Merge Polygon and MultiPolygon geometries into a single MultiPolygon. Any
|
|
3
|
-
* properties, other than 'coordinates', of the Polygons and MultiPolygons will
|
|
4
|
-
* be lost.
|
|
5
|
-
*
|
|
6
|
-
* NOTE: Polygons and MultPolygons in a GeometryCollection will not be merged.
|
|
7
|
-
*/
|
|
8
|
-
export function mergePolygons(featureCollection) {
|
|
9
|
-
const multiPolygon = {
|
|
10
|
-
type: 'MultiPolygon',
|
|
11
|
-
coordinates: [],
|
|
12
|
-
};
|
|
13
|
-
for (let i = 0; i < featureCollection.features.length; i++) {
|
|
14
|
-
const f = featureCollection.features[i];
|
|
15
|
-
if (f.geometry.type === 'Polygon') {
|
|
16
|
-
multiPolygon.coordinates.push(f.geometry.coordinates);
|
|
17
|
-
featureCollection.features.splice(i, 1);
|
|
18
|
-
i--;
|
|
19
|
-
}
|
|
20
|
-
else if (f.geometry.type === 'MultiPolygon') {
|
|
21
|
-
multiPolygon.coordinates.push(...f.geometry.coordinates);
|
|
22
|
-
featureCollection.features.splice(i, 1);
|
|
23
|
-
i--;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
if (multiPolygon.coordinates.length > 0) {
|
|
27
|
-
const feature = {
|
|
28
|
-
type: 'Feature',
|
|
29
|
-
geometry: multiPolygon,
|
|
30
|
-
properties: {},
|
|
31
|
-
};
|
|
32
|
-
featureCollection.features.push(feature);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVyZ2UtcG9seWdvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1jb21tb24vdXRpbHMvZ2VvLWpzb24vbWVyZ2UtcG9seWdvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBTUE7Ozs7OztHQU1HO0FBQ0gsTUFBTSxVQUFVLGFBQWEsQ0FBQyxpQkFBb0M7SUFDaEUsTUFBTSxZQUFZLEdBQWlCO1FBQ2pDLElBQUksRUFBRSxjQUFjO1FBQ3BCLFdBQVcsRUFBRSxFQUFFO0tBQ2hCLENBQUE7SUFFRCxLQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsaUJBQWlCLENBQUMsUUFBUSxDQUFDLE1BQU0sRUFBRSxDQUFDLEVBQUUsRUFBRTtRQUMxRCxNQUFNLENBQUMsR0FBRyxpQkFBaUIsQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUE7UUFDdkMsSUFBSSxDQUFDLENBQUMsUUFBUSxDQUFDLElBQUksS0FBSyxTQUFTLEVBQUU7WUFDakMsWUFBWSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxXQUFXLENBQUMsQ0FBQTtZQUN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0ge1xuICAgICAgdHlwZTogJ0ZlYXR1cmUnLFxuICAgICAgZ2VvbWV0cnk6IG11bHRpUG9seWdvbixcbiAgICAgIHByb3BlcnRpZXM6IHsgfSxcbiAgICB9XG4gICAgZmVhdHVyZUNvbGxlY3Rpb24uZmVhdHVyZXMucHVzaChmZWF0dXJlKVxuICB9XG59XG4iXX0=
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { isEmptyInputValue } from '../form/is-empty-input-value';
|
|
2
|
-
import { notNullOrUndefined } from '../not-null-or-undefined';
|
|
3
|
-
import { coerceFeatureCollection } from './coerce-feature-collection';
|
|
4
|
-
export const MIN_MAX_POINTS_VALIDATOR_NAME = 'min-max-points';
|
|
5
|
-
export function minMaxPointsValidator(min = 3, max) {
|
|
6
|
-
return (control) => {
|
|
7
|
-
// Don't need to validate if there isn't a value. Use `Validators.required` for that.
|
|
8
|
-
if (isEmptyInputValue(control.value)) {
|
|
9
|
-
return null; // don't validate empty values to allow optional controls
|
|
10
|
-
}
|
|
11
|
-
const value = coerceFeatureCollection(control.value);
|
|
12
|
-
if (value === null) {
|
|
13
|
-
return null;
|
|
14
|
-
}
|
|
15
|
-
if (collectionViolatesMinMax(value, min, max)) {
|
|
16
|
-
const reason = notNullOrUndefined(max) ?
|
|
17
|
-
`A polygon must have between ${min} and ${max} points.` :
|
|
18
|
-
`A polygon must have at least ${min} points.`;
|
|
19
|
-
return {
|
|
20
|
-
[MIN_MAX_POINTS_VALIDATOR_NAME]: {
|
|
21
|
-
reason: reason
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
return null;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Checks if a FeatureCollection contains any geometries with an incomplete polygon.
|
|
30
|
-
*
|
|
31
|
-
* NOTE: Does not consider GeometryCollection.
|
|
32
|
-
*/
|
|
33
|
-
function collectionViolatesMinMax(featureCollection, min, max) {
|
|
34
|
-
for (const f of featureCollection.features) {
|
|
35
|
-
if (f.geometry.type === 'Polygon') {
|
|
36
|
-
if (polygonViolatesMinMax(f.geometry.coordinates[0].length, min, max)) {
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
else if (f.geometry.type === 'MultiPolygon') {
|
|
41
|
-
for (const coords of f.geometry.coordinates) {
|
|
42
|
-
if (polygonViolatesMinMax(coords[0].length, min, max)) {
|
|
43
|
-
return true;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
return false;
|
|
49
|
-
}
|
|
50
|
-
function polygonViolatesMinMax(coordinateLength, min, max) {
|
|
51
|
-
if (coordinateLength < min || (notNullOrUndefined(max) && max > min && coordinateLength > max)) {
|
|
52
|
-
return true;
|
|
53
|
-
}
|
|
54
|
-
return false;
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWluLW1heC1wb2ludHMudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktY29tbW9uL3V0aWxzL2dlby1qc29uL21pbi1tYXgtcG9pbnRzLnZhbGlkYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQTtBQUNoRSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQTtBQUM3RCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQTtBQUVyRSxNQUFNLENBQUMsTUFBTSw2QkFBNkIsR0FBRyxnQkFBZ0IsQ0FBQTtBQUU3RCxNQUFNLFVBQVUscUJBQXFCLENBQUMsTUFBMEIsQ0FBQyxFQUFFLEdBQXdCO0lBQ3pGLE9BQU8sQ0FB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ubGVuZ3RoLCBtaW4sIG1heCkpIHtcbiAgICAgICAgICByZXR1cm4gdHJ1ZVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgcmV0dXJuIGZhbHNlXG59XG5cbmZ1bmN0aW9uIHBvbHlnb25WaW9sYXRlc01pbk1heChjb29yZGluYXRlTGVuZ3RoOiBudW1iZXIsIG1pbjogbnVtYmVyLCBtYXg6IG51bWJlciB8IHVuZGVmaW5lZCk6IGJvb2xlYW4ge1xuICBpZiAoY29vcmRpbmF0ZUxlbmd0aCA8IG1pbiB8fCAobm90TnVsbE9yVW5kZWZpbmVkKG1heCkgJiYgbWF4ID4gbWluICYmIGNvb3JkaW5hdGVMZW5ndGggPiBtYXgpKSB7XG4gICAgcmV0dXJuIHRydWVcbiAgfVxuXG4gIHJldHVybiBmYWxzZVxufVxuIl19
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { isEmptyInputValue } from '../form/is-empty-input-value';
|
|
2
|
-
import { coerceFeatureCollection } from './coerce-feature-collection';
|
|
3
|
-
export const NO_INNER_RINGS_VALIDATOR_NAME = 'no-inner-rings';
|
|
4
|
-
/**
|
|
5
|
-
* Validates that a FeatureCollection does not contain any Polygon with inner
|
|
6
|
-
* rings("holes").
|
|
7
|
-
*
|
|
8
|
-
* NOTE: Only considers Polygon and MultiPolygon. Does not consider
|
|
9
|
-
* GeometryCollection.
|
|
10
|
-
*/
|
|
11
|
-
export function noInnerRingsValidator() {
|
|
12
|
-
return (control) => {
|
|
13
|
-
// Don't need to validate if there isn't a value. Use `Validators.required` for that.
|
|
14
|
-
if (isEmptyInputValue(control.value)) {
|
|
15
|
-
return null; // don't validate empty values to allow optional controls
|
|
16
|
-
}
|
|
17
|
-
const value = coerceFeatureCollection(control.value);
|
|
18
|
-
if (value === null) {
|
|
19
|
-
// If there isn't a FeatureCollection then there is nothing to validate.
|
|
20
|
-
// Use 'isFeatureCollection' to validate the value is a FeatureCollection.
|
|
21
|
-
return null;
|
|
22
|
-
}
|
|
23
|
-
if (hasInnerRing(value)) {
|
|
24
|
-
return {
|
|
25
|
-
[NO_INNER_RINGS_VALIDATOR_NAME]: {
|
|
26
|
-
reason: `A shape cannot have an inner ring.`
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
return null;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Checks if a FeatureCollection contains any geometries with an inner
|
|
35
|
-
* ring("hole").
|
|
36
|
-
*
|
|
37
|
-
* NOTE: Does not consider GeometryCollection.
|
|
38
|
-
*/
|
|
39
|
-
function hasInnerRing(featureCollection) {
|
|
40
|
-
for (const f of featureCollection.features) {
|
|
41
|
-
// The spec says the right-hand rule must be followed, but also specifies
|
|
42
|
-
// that tools should not reject polygons that do not follow the right-hand
|
|
43
|
-
// rule. It does specify that the first ring must be the exterior ring and
|
|
44
|
-
// the others must be the interior. So, this should be safe to just check
|
|
45
|
-
// if there are multiple rings, instead of checking their winding orders.
|
|
46
|
-
//
|
|
47
|
-
// Polygon spec: https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.6
|
|
48
|
-
if (f.geometry.type === 'Polygon') {
|
|
49
|
-
if (f.geometry.coordinates.length > 1) {
|
|
50
|
-
return true;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
else if (f.geometry.type === 'MultiPolygon') {
|
|
54
|
-
for (const coords of f.geometry.coordinates) {
|
|
55
|
-
if (coords.length > 1) {
|
|
56
|
-
return true;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return false;
|
|
62
|
-
}
|
|
63
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm8taW5uZXItcmluZ3MudmFsaWRhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktY29tbW9uL3V0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ZWFkIG9mIGNoZWNraW5nIHRoZWlyIHdpbmRpbmcgb3JkZXJzLlxuICAgIC8vXG4gICAgLy8gUG9seWdvbiBzcGVjOiBodHRwczovL2RhdGF0cmFja2VyLmlldGYub3JnL2RvYy9odG1sL3JmYzc5NDYjc2VjdGlvbi0zLjEuNlxuICAgIGlmIChmLmdlb21ldHJ5LnR5cGUgPT09ICdQb2x5Z29uJykge1xuICAgICAgaWYgKGYuZ2VvbWV0cnkuY29vcmRpbmF0ZXMubGVuZ3RoID4gMSkge1xuICAgICAgICByZXR1cm4gdHJ1ZVxuICAgICAgfVxuICAgIH0gZWxzZSBpZiAoZi5nZW9tZXRyeS50eXBlID09PSAnTXVsdGlQb2x5Z29uJykge1xuICAgICAgZm9yIChjb25zdCBjb29yZHMgb2YgZi5nZW9tZXRyeS5jb29yZGluYXRlcykge1xuICAgICAgICBpZiAoY29vcmRzLmxlbmd0aCA+IDEpIHtcbiAgICAgICAgICByZXR1cm4gdHJ1ZVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgcmV0dXJuIGZhbHNlXG59XG4iXX0=
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { isDevMode } from '@angular/core';
|
|
3
|
-
import fileType from '@marklb/file-type';
|
|
4
|
-
const Buffer = require('buffer/').Buffer;
|
|
5
|
-
import shp from 'shpjs';
|
|
6
|
-
import { readFileAsync } from '../file-utils';
|
|
7
|
-
import { withoutProperty } from '../obj-utils';
|
|
8
|
-
/**
|
|
9
|
-
* Reads a File, or buffer of file content, in GeoJSON or ESRI Shapefile format
|
|
10
|
-
* and returns a GeoJSON `FeatureCollection`.
|
|
11
|
-
*/
|
|
12
|
-
export function readGeoFile(fileOrBuffer) {
|
|
13
|
-
var _a;
|
|
14
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
15
|
-
const buffer = yield coerceFileOrBufferToBuffer(fileOrBuffer);
|
|
16
|
-
if (isShpFile(buffer)) {
|
|
17
|
-
return yield parseShpFile(buffer);
|
|
18
|
-
}
|
|
19
|
-
else if (((_a = fileType(buffer)) === null || _a === void 0 ? void 0 : _a.mime) === 'application/zip') {
|
|
20
|
-
try {
|
|
21
|
-
return yield parseShpZip(buffer);
|
|
22
|
-
}
|
|
23
|
-
catch (e) {
|
|
24
|
-
// NOTE: If 'shpjs' updates or we switch to a fork, where it doesn't use
|
|
25
|
-
// node buffers, then we can remove this rethrow.
|
|
26
|
-
if (isDevMode()) {
|
|
27
|
-
if (e.message === 'nodebuffer is not supported by this platform') {
|
|
28
|
-
console.warn('Try adding Buffer polyfill.\n' +
|
|
29
|
-
'Install: npm install buffer\n' +
|
|
30
|
-
'Add `global.Buffer = global.Buffer || require(\'buffer\').Buffer` to "src/polyfills.ts"');
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
throw e;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return parseGeoJson(buffer);
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
function coerceFileOrBufferToBuffer(fileOrBuffer) {
|
|
40
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
-
if (fileOrBuffer instanceof File) {
|
|
42
|
-
const arrBuf = yield readFileAsync(fileOrBuffer);
|
|
43
|
-
return Buffer.from(arrBuf);
|
|
44
|
-
}
|
|
45
|
-
return Buffer.from(fileOrBuffer);
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
// NOTE: Our current version of file-type does not detect shp files. We can
|
|
49
|
-
// remove this function when file-types is upgraded.
|
|
50
|
-
function isShpFile(buffer) {
|
|
51
|
-
const header = [0x27, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00];
|
|
52
|
-
const offset = 2;
|
|
53
|
-
if (buffer.length < (header.length + offset)) {
|
|
54
|
-
return false;
|
|
55
|
-
}
|
|
56
|
-
for (let i = 0; i < header.length; i++) {
|
|
57
|
-
if (header[i] !== buffer[i + offset]) {
|
|
58
|
-
return false;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
|
-
function parseShpFile(buffer) {
|
|
64
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
-
const geometries = yield shp.parseShp(buffer, undefined);
|
|
66
|
-
const featCollection = {
|
|
67
|
-
type: 'FeatureCollection',
|
|
68
|
-
features: geometries.map(geom => ({
|
|
69
|
-
type: 'Feature',
|
|
70
|
-
geometry: geom,
|
|
71
|
-
properties: {}
|
|
72
|
-
}))
|
|
73
|
-
};
|
|
74
|
-
return featCollection;
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
function parseShpZip(buffer) {
|
|
78
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
-
let featCollection = yield shp.parseZip(buffer, undefined);
|
|
80
|
-
if (Array.isArray(featCollection)) {
|
|
81
|
-
if (featCollection.length === 0) {
|
|
82
|
-
throw Error(`Shape data not found.`);
|
|
83
|
-
}
|
|
84
|
-
else if (featCollection.length > 1) {
|
|
85
|
-
throw Error(`Multiple shape files not supported.`);
|
|
86
|
-
}
|
|
87
|
-
featCollection = featCollection[0];
|
|
88
|
-
}
|
|
89
|
-
return withoutProperty(featCollection, 'fileName');
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
function parseGeoJson(buffer) {
|
|
93
|
-
const json = JSON.parse(buffer.toString());
|
|
94
|
-
if ((json === null || json === void 0 ? void 0 : json.type) === 'FeatureCollection' && Array.isArray(json === null || json === void 0 ? void 0 : json.features)) {
|
|
95
|
-
return json;
|
|
96
|
-
}
|
|
97
|
-
throw Error(`Unable to parse as GeoJSON.`);
|
|
98
|
-
}
|
|
99
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1nZW8tZmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy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3IoYFNoYXBlIGRhdGEgbm90IGZvdW5kLmApXG4gICAgfSBlbHNlIGlmIChmZWF0Q29sbGVjdGlvbi5sZW5ndGggPiAxKSB7XG4gICAgICB0aHJvdyBFcnJvcihgTXVsdGlwbGUgc2hhcGUgZmlsZXMgbm90IHN1cHBvcnRlZC5gKVxuICAgIH1cbiAgICBmZWF0Q29sbGVjdGlvbiA9IGZlYXRDb2xsZWN0aW9uWzBdXG4gIH1cbiAgcmV0dXJuIHdpdGhvdXRQcm9wZXJ0eShmZWF0Q29sbGVjdGlvbiwgJ2ZpbGVOYW1lJylcbn1cblxuZnVuY3Rpb24gcGFyc2VHZW9Kc29uKGJ1ZmZlcjogQnVmZmVyKTogRmVhdHVyZUNvbGxlY3Rpb24ge1xuICBjb25zdCBqc29uID0gSlNPTi5wYXJzZShidWZmZXIudG9TdHJpbmcoKSlcblxuICBpZiAoanNvbj8udHlwZSA9PT0gJ0ZlYXR1cmVDb2xsZWN0aW9uJyAmJiBBcnJheS5pc0FycmF5KGpzb24/LmZlYXR1cmVzKSkge1xuICAgIHJldHVybiBqc29uIGFzIEZlYXR1cmVDb2xsZWN0aW9uXG4gIH1cblxuICB0aHJvdyBFcnJvcihgVW5hYmxlIHRvIHBhcnNlIGFzIEdlb0pTT04uYClcbn1cbiJdfQ==
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Split all MultiPolygon into Polygon. Any properties, other than
|
|
3
|
-
* 'coordinates', of the MultiPolygons will be lost.
|
|
4
|
-
*
|
|
5
|
-
* NOTE: MultiPolygons in a GeometryCollection will not be split.
|
|
6
|
-
*/
|
|
7
|
-
export function splitMultiPolygons(featureCollection) {
|
|
8
|
-
for (let i = 0; i < featureCollection.features.length; i++) {
|
|
9
|
-
if (featureCollection.features[i]) {
|
|
10
|
-
const geometry = featureCollection.features[i].geometry;
|
|
11
|
-
if (geometry.type === 'MultiPolygon') {
|
|
12
|
-
const features = splitMultPolygon(geometry).map(p => ({
|
|
13
|
-
type: 'Feature',
|
|
14
|
-
geometry: p,
|
|
15
|
-
properties: {},
|
|
16
|
-
}));
|
|
17
|
-
featureCollection.features.splice(i, 1, ...features);
|
|
18
|
-
i += Math.max(features.length - 1, 0);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
function splitMultPolygon(multiPolygon) {
|
|
24
|
-
return multiPolygon.coordinates.map(c => ({
|
|
25
|
-
type: 'Polygon',
|
|
26
|
-
coordinates: c,
|
|
27
|
-
}));
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BsaXQtbXVsdGktcG9seWdvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1jb21tb24vdXRpbHMvZ2VvLWpzb24vc3BsaXQtbXVsdGktcG9seWdvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT0E7Ozs7O0dBS0c7QUFDSCxNQUFNLFVBQVUsa0JBQWtCLENBQUMsaUJBQW9DO0lBQ3JFLEtBQUssSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxpQkFBaUIsQ0FBQyxRQUFRLENBQUMsTUFBTSxFQUFFLENBQUMsRUFBRSxFQUFFO1FBQzFELElBQUksaUJBQWlCLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQyxFQUFFO1lBQ2pDLE1BQU0sUUFBUSxHQUFHLGlCQUFpQixDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsQ0FBQyxRQUFRLENBQUE7WUFDdkQsSUFBSSxRQUFRLENBQUMsSUFBSSxLQUFLLGNBQWMsRUFBRTtnQkFDcEMsTUFBTSxRQUFRLEdBQUcsZ0JBQWdCLENBQUMsUUFBUSxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLENB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verflow.com/a/59361497/7926298
|
|
2
|
-
export function hasProperty(style, prop
|
|
3
|
-
// ): style is T & { [P in K]-?: Exclude<T[K], undefined> } {
|
|
4
|
-
) {
|
|
5
|
-
return style.hasOwnProperty(prop) && style[prop] !== undefined;
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFzLXByb3BlcnR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktY29tbW9uL3V0aWxzL2hhcy1wcm9wZXJ0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx1REFBdUQ7QUFDdkQsTUFBTSxVQUFVLFdBQVcsQ0FDekIsS0FBUSxFQUNSLElBQU87QUFDVCw2REFBNkQ7O0lBRTNELE9BQU8sS0FBSyxDQUFDLGNBQWMsQ0FBQyxJQUFJLENBQUMsSUFBSSxLQUFLLENBQUMsSUFBSSxDQUFDLEtBQUssU0FBUyxDQUFBO0FBQ2hFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBTb3VyY2U6IGh0dHBzOi8vc3RhY2tvdmVyZmxvdy5jb20vYS81OTM2MTQ5Ny83OTI2Mjk4XG5leHBvcnQgZnVuY3Rpb24gaGFzUHJvcGVydHk8VCBleHRlbmRzIG9iamVjdCwgSyBleHRlbmRzIGtleW9mIFQ+KFxuICBzdHlsZTogVCxcbiAgcHJvcDogS1xuLy8gKTogc3R5bGUgaXMgVCAmIHsgW1AgaW4gS10tPzogRXhjbHVkZTxUW0tdLCB1bmRlZmluZWQ+IH0ge1xuKTogc3R5bGUgaXMgVCAmIFJlcXVpcmVkPFJlY29yZDxLLCBFeGNsdWRlPFRbS10sIHVuZGVmaW5lZD4+PiB7XG4gIHJldHVybiBzdHlsZS5oYXNPd25Qcm9wZXJ0eShwcm9wKSAmJiBzdHlsZVtwcm9wXSAhPT0gdW5kZWZpbmVkXG59XG4iXX0=
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export function loadStyleSheet(path) {
|
|
2
|
-
return new Promise((resolve, reject) => {
|
|
3
|
-
const s = document.createElement('link');
|
|
4
|
-
s.onload = () => resolve(s);
|
|
5
|
-
s.onerror = (e) => {
|
|
6
|
-
document.head.removeChild(s);
|
|
7
|
-
reject(e);
|
|
8
|
-
};
|
|
9
|
-
s.rel = 'stylesheet';
|
|
10
|
-
s.href = path;
|
|
11
|
-
document.head.appendChild(s);
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZC1zdHlsZS1zaGVldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWNvbW1vbi91dGlscy9sb2FkLXN0eWxlLXNoZWV0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSxjQUFjLENBQUMsSUFBWTtJQUN6QyxPQUFPLElBQUksT0FBTyxDQUFDLENBQUMsT0FBTyxFQUFFLE1BQU0sRUFBRSxFQUFFO1FBQ3JDLE1BQU0sQ0FBQyxHQUFHLFFBQVEsQ0FBQyxhQUFhLENBQUMsTUFBTSxDQUFDLENBQUE7UUFDeEMsQ0FBQyxDQUFDLE1BQU0sR0FBRyxHQUFHLEVBQUUsQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLENBQUE7UUFDM0IsQ0FBQyxDQUFDLE9BQU8sR0FBRyxDQUFDLENBQUMsRUFBRSxFQUFFO1lBQ2hCLFFBQVEsQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLENBQUMsQ0FBQyxDQUFBO1lBQzVCLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQTtRQUNYLENBQUMsQ0FBQTtRQUNELENBQUMsQ0FBQyxHQUFHLEdBQUcsWUFBWSxDQUFBO1FBQ3BCLENBQUMsQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFBO1FBQ2IsUUFBUSxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsQ0FBQyxDQUFDLENBQUE7SUFDOUIsQ0FBQyxDQUFDLENBQUE7QUFDSixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIGxvYWRTdHlsZVNoZWV0KHBhdGg6IHN0cmluZyk6IFByb21pc2U8SFRNTExpbmtFbGVtZW50PiB7XG4gIHJldHVybiBuZXcgUHJvbWlzZSgocmVzb2x2ZSwgcmVqZWN0KSA9PiB7XG4gICAgY29uc3QgcyA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2xpbmsnKVxuICAgIHMub25sb2FkID0gKCkgPT4gcmVzb2x2ZShzKVxuICAgIHMub25lcnJvciA9IChlKSA9PiB7XG4gICAgICBkb2N1bWVudC5oZWFkLnJlbW92ZUNoaWxkKHMpXG4gICAgICByZWplY3QoZSlcbiAgICB9XG4gICAgcy5yZWwgPSAnc3R5bGVzaGVldCdcbiAgICBzLmhyZWYgPSBwYXRoXG4gICAgZG9jdW1lbnQuaGVhZC5hcHBlbmRDaGlsZChzKVxuICB9KVxufVxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export function loadStyle(content) {
|
|
2
|
-
return new Promise((resolve, reject) => {
|
|
3
|
-
const s = document.createElement('style');
|
|
4
|
-
s.onload = () => resolve(s);
|
|
5
|
-
s.onerror = (e) => {
|
|
6
|
-
document.head.removeChild(s);
|
|
7
|
-
reject(e);
|
|
8
|
-
};
|
|
9
|
-
s.innerHTML = content;
|
|
10
|
-
document.head.appendChild(s);
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZC1zdHlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjp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ge1xuICAgICAgZG9jdW1lbnQuaGVhZC5yZW1vdmVDaGlsZChzKVxuICAgICAgcmVqZWN0KGUpXG4gICAgfVxuICAgIHMuaW5uZXJIVE1MID0gY29udGVudFxuICAgIGRvY3VtZW50LmhlYWQuYXBwZW5kQ2hpbGQocylcbiAgfSlcbn1cbiJdfQ==
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { __rest } from "tslib";
|
|
2
|
-
/** Returns object without property */
|
|
3
|
-
export function withoutProperty(obj, propName) {
|
|
4
|
-
const _a = obj, _b = propName, _ = _a[_b], without = __rest(_a, [typeof _b === "symbol" ? _b : _b + ""]);
|
|
5
|
-
return without;
|
|
6
|
-
}
|
|
7
|
-
/** Returns object without properties */
|
|
8
|
-
export function withoutProperties(obj, propNames) {
|
|
9
|
-
let without = obj;
|
|
10
|
-
for (const propName of propNames) {
|
|
11
|
-
without = withoutProperty(without, propName);
|
|
12
|
-
}
|
|
13
|
-
return without;
|
|
14
|
-
}
|
|
15
|
-
/** Delete property of object */
|
|
16
|
-
export function deleteProperty(obj, propName) {
|
|
17
|
-
if (obj.hasOwnProperty(propName)) {
|
|
18
|
-
delete obj[propName];
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
/** Delete properties of object */
|
|
22
|
-
export function deleteProperties(obj, propNames) {
|
|
23
|
-
for (const propName of propNames) {
|
|
24
|
-
deleteProperty(obj, propName);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JqLXV0aWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktY29tbW9uL3V0aWxzL29iai11dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsc0NBQXNDO0FBQ3RDLE1BQU0sVUFBVSxlQUFlLENBQXVCLEdBQU0sRUFBRSxRQUFXO0lBQ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|
|
1
|
-
import { isObservable, Observable } from 'rxjs';
|
|
2
|
-
class IntervalTimer {
|
|
3
|
-
constructor(_callback, intervalTime, startOnInit = true) {
|
|
4
|
-
this._callback = _callback;
|
|
5
|
-
this._intervalId = null;
|
|
6
|
-
this._intervalTime = intervalTime;
|
|
7
|
-
if (startOnInit) {
|
|
8
|
-
this.start();
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
set intervalTime(time) {
|
|
12
|
-
this._intervalTime = time;
|
|
13
|
-
}
|
|
14
|
-
start() {
|
|
15
|
-
if (this._intervalId === null) {
|
|
16
|
-
this._intervalId = window.setInterval(() => {
|
|
17
|
-
this._callback();
|
|
18
|
-
}, this._intervalTime);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
stop() {
|
|
22
|
-
if (this._intervalId !== null) {
|
|
23
|
-
clearInterval(this._intervalId);
|
|
24
|
-
this._intervalId = null;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
reset(newIntervalTime) {
|
|
28
|
-
if (newIntervalTime) {
|
|
29
|
-
this.intervalTime = newIntervalTime;
|
|
30
|
-
}
|
|
31
|
-
this.stop();
|
|
32
|
-
this.start();
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
// tslint:disable:no-inferrable-types
|
|
36
|
-
export class PollingTickerOptions {
|
|
37
|
-
constructor() {
|
|
38
|
-
this.emitOnInit = true;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
// tslint:enable:no-inferrable-types
|
|
42
|
-
// TODO: Simplify complexity.
|
|
43
|
-
/**
|
|
44
|
-
* Call an action and emits the result to its subscriber on an interval or when
|
|
45
|
-
* ticker emits. When the ticker emits, the interval time will reset.
|
|
46
|
-
*
|
|
47
|
-
* When subscribed to, the action will be called and emitted right away unless
|
|
48
|
-
* the `emitOnInit` option is set to false.
|
|
49
|
-
*/
|
|
50
|
-
export function pollingTicker(action, pollingInterval, ticker, options) {
|
|
51
|
-
return new Observable((subscriber) => {
|
|
52
|
-
const _opts = Object.assign(Object.assign({}, (new PollingTickerOptions())), (options || {}));
|
|
53
|
-
let timer = null;
|
|
54
|
-
let actionSub = null;
|
|
55
|
-
let tickerSub = null;
|
|
56
|
-
try {
|
|
57
|
-
const handleAction = () => {
|
|
58
|
-
if (timer) {
|
|
59
|
-
timer.stop();
|
|
60
|
-
}
|
|
61
|
-
const actionResult = action();
|
|
62
|
-
if (isObservable(actionResult)) {
|
|
63
|
-
if (actionSub) {
|
|
64
|
-
actionSub.unsubscribe();
|
|
65
|
-
}
|
|
66
|
-
actionSub = actionResult.subscribe((v) => { subscriber.next(v); if (timer) {
|
|
67
|
-
timer.reset();
|
|
68
|
-
} }, (err) => { subscriber.error(err); }, () => {
|
|
69
|
-
actionSub = null;
|
|
70
|
-
if (timer) {
|
|
71
|
-
timer.start();
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
subscriber.next(actionResult);
|
|
77
|
-
}
|
|
78
|
-
if (timer) {
|
|
79
|
-
timer.start();
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
if (_opts.emitOnInit) {
|
|
83
|
-
handleAction();
|
|
84
|
-
}
|
|
85
|
-
if (pollingInterval) {
|
|
86
|
-
timer = new IntervalTimer(() => {
|
|
87
|
-
handleAction();
|
|
88
|
-
}, pollingInterval);
|
|
89
|
-
}
|
|
90
|
-
if (ticker) {
|
|
91
|
-
tickerSub = ticker.subscribe(newPollingInterval => {
|
|
92
|
-
if (newPollingInterval && timer) {
|
|
93
|
-
timer.stop();
|
|
94
|
-
if (newPollingInterval) {
|
|
95
|
-
timer.intervalTime = newPollingInterval;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
handleAction();
|
|
99
|
-
if (timer) {
|
|
100
|
-
timer.reset();
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
catch (err) {
|
|
106
|
-
subscriber.error(err);
|
|
107
|
-
}
|
|
108
|
-
return () => {
|
|
109
|
-
if (timer) {
|
|
110
|
-
timer.stop();
|
|
111
|
-
}
|
|
112
|
-
if (actionSub) {
|
|
113
|
-
actionSub.unsubscribe();
|
|
114
|
-
}
|
|
115
|
-
if (tickerSub) {
|
|
116
|
-
tickerSub.unsubscribe();
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9sbGluZy10aWNrZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1jb21tb24vdXRpbHMvcG9sbGluZy10aWNrZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxVQUFVLEVBQTRCLE1BQU0sTUFBTSxDQUFBO0FBRXpFLE1BQU0sYUFBYTtJQUtqQixZQUNVLFNBQXFCLEVBQzdCLFlBQW9CLEVBQ3BCLGNBQXVCLElBQUk7UUFGbkIsY0FBUyxHQUFULFNBQVMsQ0FBWTtRQUh2QixnQkFBVyxHQUFrQixJQUFJLENBQUE7UUFPdkMsSUFBSSxDQUFDLGFBQWEsR0FBRyxZQUFZLENBQUE7UUFDakMsSUFBSSxXQUFXLEVBQUU7WUFDZixJQUFJLENBQUMsS0FBSyxFQUFFLENBQUE7U0FDYjtJQUNILENBQUM7SUFFRCxJQUFJLFlBQVksQ0FBQyxJQUFZO1FBQzNCLElBQUksQ0FBQyxhQUFhLEdBQUcsSUFBSSxDQUFBO0lBQzNCLENBQUM7SUFFTSxLQUFLO1FBQ1YsSUFBSSxJQUFJLENBQUMsV0FBVyxLQUFLLElBQUksRUFBRTtZQUM3QixJQUFJLENBQUMsV0FBVyxHQUFHLE1BQU0sQ0FBQyxXQUFXLENBQUMsR0FBRyxFQUFFO2dCQUN6QyxJQUFJLENBQUMs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Y3Rpb25TdWIgPSBudWxsXG4gICAgICAgICAgICAgIGlmICh0aW1lcikgeyB0aW1lci5zdGFydCgpIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICApXG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgc3Vic2NyaWJlci5uZXh0KGFjdGlvblJlc3VsdClcbiAgICAgICAgfVxuICAgICAgICBpZiAodGltZXIpIHsgdGltZXIuc3RhcnQoKSB9XG4gICAgICB9XG5cbiAgICAgIGlmIChfb3B0cy5lbWl0T25Jbml0KSB7XG4gICAgICAgIGhhbmRsZUFjdGlvbigpXG4gICAgICB9XG5cbiAgICAgIGlmIChwb2xsaW5nSW50ZXJ2YWwpIHtcbiAgICAgICAgdGltZXIgPSBuZXcgSW50ZXJ2YWxUaW1lcigoKSA9PiB7XG4gICAgICAgICAgaGFuZGxlQWN0aW9uKClcbiAgICAgICAgfSwgcG9sbGluZ0ludGVydmFsKVxuICAgICAgfVxuXG4gICAgICBpZiAodGlja2VyKSB7XG4gICAgICAgIHRpY2tlclN1YiA9IHRpY2tlci5zdWJzY3JpYmUobmV3UG9sbGluZ0ludGVydmFsID0+IHtcbiAgICAgICAgICBpZiAobmV3UG9sbGluZ0ludGVydmFsICYmIHRpbWVyKSB7XG4gICAgICAgICAgICB0aW1lci5zdG9wKClcbiAgICAgICAgICAgIGlmIChuZXdQb2xsaW5nSW50ZXJ2YWwpIHtcbiAgICAgICAgICAgICAgdGltZXIuaW50ZXJ2YWxUaW1lID0gbmV3UG9sbGluZ0ludGVydmFsXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICAgIGhhbmRsZUFjdGlvbigpXG4gICAgICAgICAgaWYgKHRpbWVyKSB7IHRpbWVyLnJlc2V0KCkgfVxuICAgICAgICB9KVxuICAgICAgfVxuICAgIH0gY2F0Y2ggKGVycikge1xuICAgICAgc3Vic2NyaWJlci5lcnJvcihlcnIpXG4gICAgfVxuXG4gICAgcmV0dXJuICgpID0+IHtcbiAgICAgIGlmICh0aW1lcikge1xuICAgICAgICB0aW1lci5zdG9wKClcbiAgICAgIH1cbiAgICAgIGlmIChhY3Rpb25TdWIpIHtcbiAgICAgICAgYWN0aW9uU3ViLnVuc3Vic2NyaWJlKClcbiAgICAgIH1cbiAgICAgIGlmICh0aWNrZXJTdWIpIHtcbiAgICAgICAgdGlja2VyU3ViLnVuc3Vic2NyaWJlKClcbiAgICAgIH1cbiAgICB9XG4gIH0pXG59XG4iXX0=
|