@theseam/ui-common 0.3.10 → 0.4.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/asset-reader/asset-reader-helper.service.d.ts +3 -0
- package/asset-reader/asset-reader.module.d.ts +5 -0
- package/asset-reader/encrypted-asset-link.directive.d.ts +3 -0
- package/asset-reader/index.d.ts +5 -0
- package/breadcrumbs/_breadcrumbs-theme.scss +3 -3
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.d.ts +3 -0
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.scss +10 -10
- package/breadcrumbs/breadcrumbs.module.d.ts +7 -0
- package/breadcrumbs/breadcrumbs.service.d.ts +3 -0
- package/breadcrumbs/index.d.ts +5 -0
- package/buttons/badge-button/badge-button.component.d.ts +5 -0
- package/buttons/button/button.component.d.ts +7 -0
- package/buttons/buttons.module.d.ts +10 -0
- package/buttons/index.d.ts +5 -0
- package/buttons/progress-circle-button/progress-circle-button.component.d.ts +3 -0
- package/buttons/toggle-button/toggle-button.component.d.ts +3 -0
- package/card/card-action/card-action.component.d.ts +3 -0
- package/card/card-body/card-body.component.d.ts +3 -0
- package/card/card-footer/card-footer.component.d.ts +3 -0
- package/card/card-header/card-header.component.d.ts +3 -0
- package/card/card.component.d.ts +3 -0
- package/card/card.module.d.ts +11 -0
- package/card/index.d.ts +5 -0
- package/checkbox/checkbox.component.d.ts +3 -0
- package/checkbox/checkbox.module.d.ts +7 -0
- package/checkbox/index.d.ts +5 -0
- package/checkbox/public-api.d.ts +1 -0
- package/checkbox/testing/checkbox.harness.d.ts +49 -0
- package/checkbox/testing/index.d.ts +1 -0
- package/confirm-dialog/confirm-click.directive.d.ts +3 -0
- package/confirm-dialog/confirm-dialog.component.d.ts +3 -0
- package/confirm-dialog/confirm-dialog.module.d.ts +10 -0
- package/confirm-dialog/confirm-dialog.service.d.ts +3 -0
- package/confirm-dialog/index.d.ts +5 -0
- package/core/index.d.ts +5 -0
- package/core/input-decorators/input-boolean.decorator.d.ts +1 -1
- package/core/input-decorators/input-number.decorator.d.ts +1 -1
- package/data-exporter/data-exporter.module.d.ts +4 -0
- package/data-exporter/exporters/csv-exporter.d.ts +3 -0
- package/data-exporter/exporters/xlsx-exporter.d.ts +3 -0
- package/data-exporter/index.d.ts +5 -0
- package/data-filters/data-filters.module.d.ts +13 -0
- package/data-filters/filters/data-filter-search/data-filter-search.component.d.ts +6 -3
- package/data-filters/filters/data-filter-text/data-filter-text.component.d.ts +5 -2
- package/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.d.ts +5 -2
- package/data-filters/index.d.ts +5 -0
- package/datatable/datatable/datatable.component.d.ts +3 -0
- package/datatable/datatable-action-menu/datatable-action-menu.component.d.ts +3 -0
- package/datatable/datatable-action-menu-item/datatable-action-menu-item.component.d.ts +3 -0
- package/datatable/datatable-column/datatable-column.component.d.ts +3 -0
- package/datatable/datatable-column-preferences/datatable-column-preferences.component.d.ts +5 -2
- package/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.d.ts +3 -0
- package/datatable/datatable-export-button/datatable-export-button.component.d.ts +3 -0
- package/datatable/datatable-footer/datatable-footer-tpl.directive.d.ts +3 -0
- package/datatable/datatable-footer/datatable-footer.directive.d.ts +3 -0
- package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.d.ts +3 -0
- package/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.d.ts +3 -0
- package/datatable/datatable-row-detail/datatable-row-detail.directive.d.ts +3 -0
- package/datatable/datatable.module.d.ts +45 -0
- package/datatable/directives/datatable-action-menu-item.directive.d.ts +3 -0
- package/datatable/directives/datatable-action-menu-toggle.directive.d.ts +3 -0
- package/datatable/directives/datatable-cell-tpl.directive.d.ts +3 -0
- package/datatable/directives/datatable-filter.directive.d.ts +3 -0
- package/datatable/directives/datatable-row-action-item.directive.d.ts +3 -0
- package/datatable/index.d.ts +5 -0
- package/datatable/services/columns-alterations-manager.service.d.ts +3 -0
- package/datatable/services/columns-manager.service.d.ts +3 -0
- package/datatable/services/datatable-column-changes.service.d.ts +3 -0
- package/datatable/services/datatable-preferences.service.d.ts +3 -0
- package/datatable/services/datatable-scrollbar-helper.service.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic.module.d.ts +20 -0
- package/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.d.ts +3 -0
- package/datatable-dynamic/dynamic-datatable-def.service.d.ts +3 -0
- package/datatable-dynamic/dynamic-datatable-row-actions.service.d.ts +3 -0
- package/datatable-dynamic/index.d.ts +5 -0
- package/datatable-dynamic/models/dynamic-datatable-menu-bar.d.ts +2 -2
- package/dynamic/action/api/dynamic-action-api.service.d.ts +3 -0
- package/dynamic/action/dynamic-action-helper.service.d.ts +3 -0
- package/dynamic/action/link/dynamic-action-link.service.d.ts +3 -0
- package/dynamic/action/modal/dynamic-action-modal.service.d.ts +3 -0
- package/dynamic/dynamic-value-helper.service.d.ts +7 -3
- package/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.d.ts +3 -0
- package/dynamic/evaluators/jexl-evaluator/jexl-evaluator.d.ts +6 -2
- package/dynamic/index.d.ts +5 -0
- package/dynamic/models/dynamic-value-evaluatable-type.d.ts +2 -1
- package/dynamic-component-loader/dynamic-component-loader.module.d.ts +7 -3
- package/dynamic-component-loader/dynamic-component-loader.service.d.ts +7 -6
- package/dynamic-component-loader/dynamic-component-manifest.d.ts +4 -4
- package/dynamic-component-loader/index.d.ts +5 -0
- package/esm2020/asset-reader/asset-reader-helper.service.mjs +68 -0
- package/esm2020/asset-reader/asset-reader.module.mjs +20 -0
- package/esm2020/asset-reader/encrypted-asset-link.directive.mjs +74 -0
- package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +19 -0
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +28 -0
- package/esm2020/breadcrumbs/breadcrumbs.service.mjs +156 -0
- package/esm2020/buttons/badge-button/badge-button.component.mjs +60 -0
- package/esm2020/buttons/button/button.component.mjs +82 -0
- package/esm2020/buttons/buttons.module.mjs +51 -0
- package/esm2020/buttons/progress-circle-button/progress-circle-button.component.mjs +52 -0
- package/esm2020/buttons/toggle-button/toggle-button.component.mjs +79 -0
- package/esm2020/card/card-action/card-action.component.mjs +31 -0
- package/esm2020/card/card-body/card-body.component.mjs +33 -0
- package/esm2020/card/card-footer/card-footer.component.mjs +14 -0
- package/esm2020/card/card-header/card-header.component.mjs +23 -0
- package/esm2020/card/card.component.mjs +19 -0
- package/esm2020/card/card.module.mjs +48 -0
- package/esm2020/checkbox/checkbox.component.mjs +281 -0
- package/esm2020/checkbox/checkbox.module.mjs +28 -0
- package/esm2020/checkbox/public-api.mjs +4 -0
- package/esm2020/checkbox/testing/checkbox.harness.mjs +63 -0
- package/esm2020/checkbox/testing/index.mjs +2 -0
- package/esm2020/confirm-dialog/confirm-click.directive.mjs +69 -0
- package/esm2020/confirm-dialog/confirm-dialog.component.mjs +24 -0
- package/esm2020/confirm-dialog/confirm-dialog.module.mjs +47 -0
- package/esm2020/confirm-dialog/confirm-dialog.service.mjs +38 -0
- package/esm2020/data-exporter/data-exporter.module.mjs +25 -0
- package/esm2020/data-exporter/exporters/csv-exporter.mjs +35 -0
- package/esm2020/data-exporter/exporters/xlsx-exporter.mjs +33 -0
- package/esm2020/data-filters/data-filters.module.mjs +66 -0
- package/esm2020/data-filters/filters/data-filter-search/data-filter-search.component.mjs +121 -0
- package/esm2020/data-filters/filters/data-filter-text/data-filter-text.component.mjs +148 -0
- package/esm2020/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.mjs +163 -0
- package/esm2020/datatable/datatable/datatable.component.mjs +665 -0
- package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +100 -0
- package/esm2020/datatable/datatable-action-menu-item/datatable-action-menu-item.component.mjs +47 -0
- package/esm2020/datatable/datatable-column/datatable-column.component.mjs +108 -0
- package/esm2020/datatable/datatable-column-preferences/datatable-column-preferences.component.mjs +67 -0
- package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +52 -0
- package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +106 -0
- package/esm2020/datatable/datatable-footer/datatable-footer-tpl.directive.mjs +16 -0
- package/esm2020/datatable/datatable-footer/datatable-footer.directive.mjs +24 -0
- package/esm2020/datatable/datatable-menu-bar/datatable-menu-bar.component.mjs +53 -0
- package/esm2020/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.mjs +31 -0
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.mjs +16 -0
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail.directive.mjs +77 -0
- package/esm2020/datatable/datatable.module.mjs +205 -0
- package/esm2020/datatable/directives/datatable-action-menu-item.directive.mjs +63 -0
- package/esm2020/datatable/directives/datatable-action-menu-toggle.directive.mjs +137 -0
- package/esm2020/datatable/directives/datatable-cell-tpl.directive.mjs +16 -0
- package/esm2020/datatable/directives/datatable-filter.directive.mjs +27 -0
- package/esm2020/datatable/directives/datatable-row-action-item.directive.mjs +16 -0
- package/esm2020/datatable/services/columns-alterations-manager.service.mjs +136 -0
- package/esm2020/datatable/services/columns-manager.service.mjs +261 -0
- package/esm2020/datatable/services/datatable-column-changes.service.mjs +20 -0
- package/esm2020/datatable/services/datatable-preferences.service.mjs +165 -0
- package/esm2020/datatable/services/datatable-scrollbar-helper.service.mjs +50 -0
- package/esm2020/datatable/theseam-ui-common-datatable.mjs +5 -0
- package/esm2020/datatable/utils/with-stored-column-info.mjs +20 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +119 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.mjs +50 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.mjs +149 -0
- package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +77 -0
- package/esm2020/datatable-dynamic/datatable-dynamic.module.mjs +80 -0
- package/esm2020/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.mjs +400 -0
- package/esm2020/datatable-dynamic/dynamic-datatable-def.service.mjs +88 -0
- package/esm2020/datatable-dynamic/dynamic-datatable-row-actions.service.mjs +46 -0
- package/esm2020/datatable-dynamic/models/dynamic-datatable-menu-bar.mjs +2 -0
- package/esm2020/dynamic/action/api/dynamic-action-api.service.mjs +206 -0
- package/esm2020/dynamic/action/dynamic-action-helper.service.mjs +157 -0
- package/esm2020/dynamic/action/link/dynamic-action-link.service.mjs +47 -0
- package/esm2020/dynamic/action/modal/dynamic-action-modal.service.mjs +85 -0
- package/esm2020/dynamic/dynamic-value-helper.service.mjs +102 -0
- package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.mjs +30 -0
- package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-evaluator.mjs +32 -0
- package/esm2020/dynamic/models/dynamic-value-evaluatable-type.mjs +2 -0
- package/esm2020/dynamic-component-loader/dynamic-component-loader.module.mjs +50 -0
- package/esm2020/dynamic-component-loader/dynamic-component-loader.service.mjs +78 -0
- package/esm2020/dynamic-component-loader/dynamic-component-manifest.mjs +2 -0
- package/esm2020/footer-bar/footer-bar/footer-bar.component.mjs +14 -0
- package/esm2020/footer-bar/footer-bar.module.mjs +20 -0
- package/esm2020/form-field/form-field-error.directive.mjs +30 -0
- package/esm2020/form-field/form-field-help-text.directive.mjs +16 -0
- package/esm2020/form-field/form-field-label-tpl.directive.mjs +16 -0
- package/esm2020/form-field/form-field-required-indicator.component.mjs +46 -0
- package/esm2020/form-field/form-field-tokens.mjs +3 -0
- package/esm2020/form-field/form-field.component.mjs +221 -0
- package/esm2020/form-field/form-field.module.mjs +61 -0
- package/esm2020/form-field/input.directive.mjs +219 -0
- package/esm2020/form-field/public-api.mjs +10 -0
- package/esm2020/form-field/testing/form-field-required-indicator.harness.mjs +8 -0
- package/esm2020/form-field/testing/index.mjs +2 -0
- package/esm2020/form-field-error/form-field-error/form-field-error.component.mjs +28 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.mjs +26 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item.directive.mjs +18 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list.component.mjs +384 -0
- package/esm2020/form-field-error/form-field-error.module.mjs +39 -0
- package/esm2020/framework/base-layout/base-layout.component.mjs +122 -0
- package/esm2020/framework/base-layout/base-layout.module.mjs +75 -0
- package/esm2020/framework/base-layout/directives/base-layout-content-footer.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-content-header.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-content.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +50 -0
- package/esm2020/framework/base-layout/directives/base-layout-side-bar-footer.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-side-bar.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-top-bar.directive.mjs +16 -0
- package/esm2020/framework/base-layout/index.mjs +14 -0
- package/esm2020/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.mjs +18 -0
- package/esm2020/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.mjs +24 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.mjs +119 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.mjs +176 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.component.mjs +206 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.service.mjs +170 -0
- package/esm2020/framework/dashboard/dashboard-widgets-tokens.mjs +3 -0
- package/esm2020/framework/dashboard/dashboard.component.mjs +24 -0
- package/esm2020/framework/dashboard/dashboard.module.mjs +60 -0
- package/esm2020/framework/dynamic-router/dynamic-router.module.mjs +28 -0
- package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.mjs +117 -0
- package/esm2020/framework/dynamic-router/resolvers/hierarchy-level.resolver.mjs +27 -0
- package/esm2020/framework/schema-form/schema-form-framework.component.mjs +18 -0
- package/esm2020/framework/schema-form/schema-form-framework.mjs +30 -0
- package/esm2020/framework/schema-form/schema-form.module.mjs +52 -0
- package/esm2020/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.mjs +43 -0
- package/esm2020/framework/schema-form-controls/schema-form-controls.module.mjs +79 -0
- package/esm2020/framework/schema-form-controls/schema-form-input/schema-form-input.component.mjs +34 -0
- package/esm2020/framework/schema-form-controls/schema-form-number/schema-form-number.component.mjs +40 -0
- package/esm2020/framework/schema-form-controls/schema-form-select/schema-form-select.component.mjs +38 -0
- package/esm2020/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.mjs +46 -0
- package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +143 -0
- package/esm2020/framework/side-nav/index.mjs +8 -0
- package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +206 -0
- package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +34 -0
- package/esm2020/framework/side-nav/side-nav-tokens.mjs +3 -0
- package/esm2020/framework/side-nav/side-nav-utils.mjs +79 -0
- package/esm2020/framework/side-nav/side-nav.component.mjs +295 -0
- package/esm2020/framework/side-nav/side-nav.module.mjs +62 -0
- package/esm2020/framework/side-nav/side-nav.service.mjs +178 -0
- package/esm2020/framework/theseam-ui-common-framework.mjs +5 -0
- package/esm2020/framework/top-bar/top-bar-item.directive.mjs +16 -0
- package/esm2020/framework/top-bar/top-bar-menu-btn-detail.directive.mjs +16 -0
- package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +56 -0
- package/esm2020/framework/top-bar/top-bar-menu.directive.mjs +19 -0
- package/esm2020/framework/top-bar/top-bar-title/top-bar-title.component.mjs +19 -0
- package/esm2020/framework/top-bar/top-bar.component.mjs +99 -0
- package/esm2020/framework/top-bar/top-bar.module.mjs +73 -0
- package/esm2020/google-maps/google-maps/google-maps.component.mjs +301 -0
- package/esm2020/google-maps/google-maps-api-loader/google-maps-api-loader.mjs +3 -0
- package/esm2020/google-maps/google-maps-controls.service.mjs +67 -0
- package/esm2020/google-maps/google-maps-feature-helpers.mjs +211 -0
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +210 -0
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.mjs +165 -0
- package/esm2020/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.mjs +58 -0
- package/esm2020/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.mjs +115 -0
- package/esm2020/google-maps/google-maps.module.mjs +70 -0
- package/esm2020/google-maps/google-maps.service.mjs +355 -0
- package/esm2020/google-maps/map-control.component.mjs +66 -0
- package/esm2020/google-maps/map-file-drop/map-file-drop.component.mjs +128 -0
- package/esm2020/google-maps/map-value-manager.service.mjs +48 -0
- package/esm2020/google-maps/theseam-ui-common-google-maps.mjs +5 -0
- package/esm2020/graphql/datatable/create-page-info-observable.mjs +38 -0
- package/esm2020/graphql/datatable/datatable-graphql-query-ref.mjs +238 -0
- package/esm2020/graphql/datatable/datatable-graphql.service.mjs +50 -0
- package/esm2020/graphql/datatable/datatable-helpers.mjs +175 -0
- package/esm2020/graphql/datatable/get-page-info.mjs +10 -0
- package/esm2020/graphql/datatable/map-filter-states.mjs +62 -0
- package/esm2020/graphql/utils/parse-hints.mjs +108 -0
- package/esm2020/icon/icon/icon.component.mjs +139 -0
- package/esm2020/icon/icon-btn/icon-btn.component.mjs +184 -0
- package/esm2020/icon/icon-notification/icon-notification.component.mjs +124 -0
- package/esm2020/icon/icon.module.mjs +38 -0
- package/esm2020/layout/layout.module.mjs +25 -0
- package/esm2020/layout/layout.service.mjs +22 -0
- package/esm2020/loading/loading/loading.component.mjs +27 -0
- package/esm2020/loading/loading-overlay.service.mjs +58 -0
- package/esm2020/loading/loading.module.mjs +41 -0
- package/esm2020/menu/menu-divider.component.mjs +13 -0
- package/esm2020/menu/menu-footer/menu-footer.component.mjs +32 -0
- package/esm2020/menu/menu-footer-action/menu-footer-action.component.mjs +54 -0
- package/esm2020/menu/menu-header/menu-header.component.mjs +32 -0
- package/esm2020/menu/menu-item.component.mjs +131 -0
- package/esm2020/menu/menu-toggle.directive.mjs +251 -0
- package/esm2020/menu/menu.component.mjs +177 -0
- package/esm2020/menu/menu.module.mjs +67 -0
- package/esm2020/modal/directives/modal-close.directive.mjs +74 -0
- package/esm2020/modal/directives/modal-footer-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-header-icon-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-header-title-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-title.directive.mjs +20 -0
- package/esm2020/modal/directives/modal.directive.mjs +25 -0
- package/esm2020/modal/modal/modal.component.mjs +163 -0
- package/esm2020/modal/modal-body/modal-body.component.mjs +23 -0
- package/esm2020/modal/modal-config.mjs +47 -0
- package/esm2020/modal/modal-container/modal-container.component.mjs +245 -0
- package/esm2020/modal/modal-footer/modal-footer.component.mjs +19 -0
- package/esm2020/modal/modal-header/modal-header.component.mjs +30 -0
- package/esm2020/modal/modal.models.mjs +3 -0
- package/esm2020/modal/modal.module.mjs +127 -0
- package/esm2020/modal/modal.service.mjs +349 -0
- package/esm2020/modal/route-modal/route-modal.component.mjs +63 -0
- package/esm2020/popover/popover/popover.component.mjs +156 -0
- package/esm2020/popover/popover.directive.mjs +260 -0
- package/esm2020/popover/popover.module.mjs +40 -0
- package/esm2020/progress/progress-circle/progress-circle.component.mjs +65 -0
- package/esm2020/progress/progress.module.mjs +24 -0
- package/esm2020/scrollbar/overlay-scrollbar.directive.mjs +61 -0
- package/esm2020/scrollbar/overlay-scrollbars-config.mjs +13 -0
- package/esm2020/scrollbar/overlay-scrollbars.service.mjs +83 -0
- package/esm2020/scrollbar/scrollbar.module.mjs +30 -0
- package/esm2020/services/asset-loader.service.mjs +33 -0
- package/esm2020/services/font-loader.service.mjs +84 -0
- package/esm2020/services/router-helpers.service.mjs +25 -0
- package/esm2020/shared/components/password-input-reveal/password-input-reveal.component.mjs +49 -0
- package/esm2020/shared/directives/auto-focus.directive.mjs +54 -0
- package/esm2020/shared/directives/click-outside.directive.mjs +52 -0
- package/esm2020/shared/directives/disable-control.directive.mjs +27 -0
- package/esm2020/shared/directives/elem-resized.directive.mjs +28 -0
- package/esm2020/shared/directives/hover-class-toggle.directive.mjs +88 -0
- package/esm2020/shared/directives/hover-class.directive.mjs +82 -0
- package/esm2020/shared/directives/ng-select-extra.directive.mjs +184 -0
- package/esm2020/shared/directives/ngx-quill-extra.directive.mjs +61 -0
- package/esm2020/shared/pipes/mask-chars.pipe.mjs +25 -0
- package/esm2020/shared/pipes/truncate.pipe.mjs +23 -0
- package/esm2020/shared/shared.module.mjs +93 -0
- package/esm2020/storage/local-storage.service.mjs +78 -0
- package/esm2020/story-helpers/arg-type-helpers.mjs +35 -0
- package/esm2020/story-helpers/args-to-tpl.mjs +72 -0
- package/esm2020/story-helpers/initial-route.service.mjs +27 -0
- package/esm2020/story-helpers/on-story-bootstrapped-exec.mjs +61 -0
- package/esm2020/story-helpers/on-story-bootstrapped-trigger.mjs +38 -0
- package/esm2020/story-helpers/routes-arg-type.mjs +19 -0
- package/esm2020/story-helpers/story-empty-with-route.component.mjs +12 -0
- package/esm2020/story-helpers/story-empty.component.mjs +11 -0
- package/esm2020/story-helpers/story-helper-components.module.mjs +42 -0
- package/esm2020/story-helpers/story-initial-route.mjs +28 -0
- package/esm2020/story-helpers/story-modal-container.component.mjs +90 -0
- package/esm2020/story-helpers/story-toastr.service.mjs +36 -0
- package/esm2020/tabbed/directives/tabbed-tab-content.directive.mjs +17 -0
- package/esm2020/tabbed/directives/tabbed-tab.directive.mjs +36 -0
- package/esm2020/tabbed/public-api.mjs +9 -0
- package/esm2020/tabbed/tabbed-content/tabbed-content.component.mjs +18 -0
- package/esm2020/tabbed/tabbed-item/tabbed-item.component.mjs +34 -0
- package/esm2020/tabbed/tabbed-models.mjs +2 -0
- package/esm2020/tabbed/tabbed.component.mjs +112 -0
- package/esm2020/tabbed/tabbed.module.mjs +54 -0
- package/esm2020/tabbed/tabbed.service.mjs +30 -0
- package/esm2020/table/table/table.component.mjs +97 -0
- package/esm2020/table/table.module.mjs +32 -0
- package/esm2020/table-cell-type/services/table-cell-types-helpers.service.mjs +67 -0
- package/esm2020/table-cell-type/table-cell-type-selector.component.mjs +101 -0
- package/esm2020/table-cell-type/table-cell-type.module.mjs +29 -0
- package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.mjs +86 -0
- package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.component.mjs +56 -0
- package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.mjs +84 -0
- package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.mjs +175 -0
- package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.mjs +82 -0
- package/esm2020/table-cell-types/table-cell-type-manifests.mjs +92 -0
- package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.mjs +68 -0
- package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.mjs +167 -0
- package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.mjs +78 -0
- package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +192 -0
- package/esm2020/table-cell-types/table-cell-types.module.mjs +118 -0
- package/esm2020/table-cell-types/theseam-ui-common-table-cell-types.mjs +5 -0
- package/esm2020/tel-input/phone-number.pipe.mjs +49 -0
- package/esm2020/tel-input/tel-input/tel-input.component.mjs +187 -0
- package/esm2020/tel-input/tel-input-validator.mjs +27 -0
- package/esm2020/tel-input/tel-input.directive.mjs +218 -0
- package/esm2020/tel-input/tel-input.module.mjs +42 -0
- package/esm2020/tel-input/utils/get-validation-error-message.mjs +12 -0
- package/esm2020/testing/get-harness.mjs +13 -0
- package/esm2020/testing/render-story.mjs +10 -0
- package/esm2020/testing/story-expect.mjs +38 -0
- package/esm2020/tiled-select/components/tiled-select/tiled-select.component.mjs +215 -0
- package/esm2020/tiled-select/components/tiled-select-tile/tiled-select-tile.component.mjs +160 -0
- package/esm2020/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.mjs +64 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-icon-tpl.directive.mjs +17 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-label-tpl.directive.mjs +16 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-overlay.directive.mjs +19 -0
- package/esm2020/tiled-select/public-api.mjs +10 -0
- package/esm2020/tiled-select/testing/index.mjs +3 -0
- package/esm2020/tiled-select/testing/tiled-select-harness.mjs +21 -0
- package/esm2020/tiled-select/testing/tiled-select-tile-harness.mjs +23 -0
- package/esm2020/tiled-select/tiled-select.module.mjs +51 -0
- package/esm2020/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.mjs +14 -0
- package/esm2020/toggle-edit/toggle-edit-display-tpl.directive.mjs +16 -0
- package/esm2020/toggle-edit/toggle-edit-keyboard-listener.service.mjs +57 -0
- package/esm2020/toggle-edit/toggle-edit.component.mjs +414 -0
- package/esm2020/toggle-edit/toggle-edit.module.mjs +64 -0
- package/esm2020/toggle-group/toggle-group-option.directive.mjs +47 -0
- package/esm2020/toggle-group/toggle-group.directive.mjs +198 -0
- package/esm2020/toggle-group/toggle-group.module.mjs +33 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-can-deactivate.mjs +30 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +24 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.guard.mjs +37 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +17 -0
- package/esm2020/utils/file-utils.mjs +50 -0
- package/esm2020/utils/geo-json/coerce-feature-collection.mjs +44 -0
- package/esm2020/utils/geo-json/geo-json-to-area.mjs +11 -0
- package/esm2020/utils/geo-json/is-feature-collection.validator.mjs +21 -0
- package/esm2020/utils/geo-json/is-only-geometry-types.mjs +23 -0
- package/esm2020/utils/geo-json/is-only-geometry-types.validator.mjs +32 -0
- package/esm2020/utils/geo-json/merge-polygons.mjs +35 -0
- package/esm2020/utils/geo-json/no-inner-rings.validator.mjs +63 -0
- package/esm2020/utils/geo-json/read-geo-file.mjs +89 -0
- package/esm2020/utils/geo-json/split-multi-polygons.mjs +29 -0
- package/esm2020/utils/obj-utils.mjs +26 -0
- package/esm2020/utils/polling-ticker.mjs +121 -0
- package/esm2020/utils/subscriber-count.mjs +44 -0
- package/esm2020/utils/wait-on-condition-async.mjs +30 -0
- package/esm2020/viewers/html-template-viewer/html-template-viewer.component.mjs +219 -0
- package/esm2020/viewers/html-template-viewer/html-template-viewer.module.mjs +32 -0
- package/esm2020/viewers/pdf-viewer/pdf-page/pdf-page.component.mjs +142 -0
- package/esm2020/viewers/pdf-viewer/pdf-renderer.service.mjs +28 -0
- package/esm2020/viewers/pdf-viewer/pdf-viewer.component.mjs +163 -0
- package/esm2020/viewers/pdf-viewer/pdf-viewer.module.mjs +33 -0
- package/esm2020/widget/directives/widget-drag-handle.directive.mjs +150 -0
- package/esm2020/widget/directives/widget-icon-tpl.directive.mjs +16 -0
- package/esm2020/widget/directives/widget-title-tpl.directive.mjs +16 -0
- package/esm2020/widget/widget/widget.component.mjs +145 -0
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.module.mjs +30 -0
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-description/widget-description.component.mjs +11 -0
- package/esm2020/widget/widget-content-components/widget-description/widget-description.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.component.mjs +40 -0
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.component.mjs +13 -0
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.component.mjs +22 -0
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.mjs +17 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.mjs +127 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.component.mjs +16 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.module.mjs +46 -0
- package/esm2020/widget/widget-content-components/widget-table/widget-table.component.mjs +38 -0
- package/esm2020/widget/widget-content-components/widget-table/widget-table.module.mjs +32 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.mjs +16 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.mjs +42 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.mjs +17 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.component.mjs +121 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.module.mjs +48 -0
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.module.mjs +27 -0
- package/esm2020/widget/widget-footer/widget-footer.component.mjs +13 -0
- package/esm2020/widget/widget-registry.service.mjs +55 -0
- package/esm2020/widget/widget.module.mjs +125 -0
- package/fesm2015/theseam-ui-common-asset-reader.mjs +184 -0
- package/fesm2015/theseam-ui-common-asset-reader.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs +202 -0
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-buttons.mjs +310 -0
- package/fesm2015/theseam-ui-common-buttons.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-card.mjs +161 -0
- package/fesm2015/theseam-ui-common-card.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-checkbox.mjs +394 -0
- package/fesm2015/theseam-ui-common-checkbox.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs +173 -0
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-core.mjs +223 -0
- package/fesm2015/theseam-ui-common-core.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-data-exporter.mjs +93 -0
- package/fesm2015/theseam-ui-common-data-exporter.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-data-filters.mjs +505 -0
- package/fesm2015/theseam-ui-common-data-filters.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +1002 -0
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-datatable.mjs +2780 -0
- package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs +135 -0
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-dynamic.mjs +710 -0
- package/fesm2015/theseam-ui-common-dynamic.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-footer-bar.mjs +38 -0
- package/fesm2015/theseam-ui-common-footer-bar.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-form-field-error.mjs +481 -0
- package/fesm2015/theseam-ui-common-form-field-error.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-form-field.mjs +600 -0
- package/fesm2015/theseam-ui-common-form-field.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-framework.mjs +2990 -0
- package/fesm2015/theseam-ui-common-framework.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-google-maps.mjs +1837 -0
- package/fesm2015/theseam-ui-common-google-maps.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-graphql.mjs +886 -0
- package/fesm2015/theseam-ui-common-graphql.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-icon.mjs +588 -0
- package/fesm2015/theseam-ui-common-icon.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-layout.mjs +92 -0
- package/fesm2015/theseam-ui-common-layout.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-loading.mjs +140 -0
- package/fesm2015/theseam-ui-common-loading.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-menu.mjs +806 -0
- package/fesm2015/theseam-ui-common-menu.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-modal.mjs +1383 -0
- package/fesm2015/theseam-ui-common-modal.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-models.mjs +52 -0
- package/fesm2015/theseam-ui-common-models.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-popover.mjs +498 -0
- package/fesm2015/theseam-ui-common-popover.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-progress.mjs +93 -0
- package/fesm2015/theseam-ui-common-progress.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-scrollbar.mjs +185 -0
- package/fesm2015/theseam-ui-common-scrollbar.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-services.mjs +141 -0
- package/fesm2015/theseam-ui-common-services.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-shared.mjs +739 -0
- package/fesm2015/theseam-ui-common-shared.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-storage.mjs +148 -0
- package/fesm2015/theseam-ui-common-storage.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-story-helpers.mjs +477 -0
- package/fesm2015/theseam-ui-common-story-helpers.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tabbed.mjs +283 -0
- package/fesm2015/theseam-ui-common-tabbed.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table-cell-type.mjs +202 -0
- package/fesm2015/theseam-ui-common-table-cell-type.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table-cell-types.mjs +1134 -0
- package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table.mjs +129 -0
- package/fesm2015/theseam-ui-common-table.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tel-input.mjs +777 -0
- package/fesm2015/theseam-ui-common-tel-input.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-testing.mjs +192 -0
- package/fesm2015/theseam-ui-common-testing.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tiled-select.mjs +574 -0
- package/fesm2015/theseam-ui-common-tiled-select.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-toggle-edit.mjs +563 -0
- package/fesm2015/theseam-ui-common-toggle-edit.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-toggle-group.mjs +279 -0
- package/fesm2015/theseam-ui-common-toggle-group.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs +108 -0
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-utils.mjs +1314 -0
- package/fesm2015/theseam-ui-common-utils.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-validators.mjs +94 -0
- package/fesm2015/theseam-ui-common-validators.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-viewers.mjs +600 -0
- package/fesm2015/theseam-ui-common-viewers.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-widget.mjs +1273 -0
- package/fesm2015/theseam-ui-common-widget.mjs.map +1 -0
- package/fesm2015/theseam-ui-common.mjs +47 -0
- package/fesm2015/theseam-ui-common.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-asset-reader.mjs +182 -0
- package/fesm2020/theseam-ui-common-asset-reader.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs +202 -0
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-buttons.mjs +310 -0
- package/fesm2020/theseam-ui-common-buttons.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-card.mjs +159 -0
- package/fesm2020/theseam-ui-common-card.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-checkbox.mjs +376 -0
- package/fesm2020/theseam-ui-common-checkbox.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs +173 -0
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-core.mjs +231 -0
- package/fesm2020/theseam-ui-common-core.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-data-exporter.mjs +93 -0
- package/fesm2020/theseam-ui-common-data-exporter.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-data-filters.mjs +497 -0
- package/fesm2020/theseam-ui-common-data-filters.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +990 -0
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-datatable.mjs +2773 -0
- package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs +133 -0
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-dynamic.mjs +677 -0
- package/fesm2020/theseam-ui-common-dynamic.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-footer-bar.mjs +38 -0
- package/fesm2020/theseam-ui-common-footer-bar.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-form-field-error.mjs +485 -0
- package/fesm2020/theseam-ui-common-form-field-error.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-form-field.mjs +593 -0
- package/fesm2020/theseam-ui-common-form-field.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-framework.mjs +2988 -0
- package/fesm2020/theseam-ui-common-framework.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-google-maps.mjs +1831 -0
- package/fesm2020/theseam-ui-common-google-maps.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-graphql.mjs +892 -0
- package/fesm2020/theseam-ui-common-graphql.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-icon.mjs +588 -0
- package/fesm2020/theseam-ui-common-icon.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-layout.mjs +94 -0
- package/fesm2020/theseam-ui-common-layout.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-loading.mjs +139 -0
- package/fesm2020/theseam-ui-common-loading.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-menu.mjs +793 -0
- package/fesm2020/theseam-ui-common-menu.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-modal.mjs +1375 -0
- package/fesm2020/theseam-ui-common-modal.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-models.mjs +54 -0
- package/fesm2020/theseam-ui-common-models.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-popover.mjs +495 -0
- package/fesm2020/theseam-ui-common-popover.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-progress.mjs +93 -0
- package/fesm2020/theseam-ui-common-progress.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-scrollbar.mjs +185 -0
- package/fesm2020/theseam-ui-common-scrollbar.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-services.mjs +142 -0
- package/fesm2020/theseam-ui-common-services.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-shared.mjs +733 -0
- package/fesm2020/theseam-ui-common-shared.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-storage.mjs +148 -0
- package/fesm2020/theseam-ui-common-storage.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-story-helpers.mjs +473 -0
- package/fesm2020/theseam-ui-common-story-helpers.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tabbed.mjs +281 -0
- package/fesm2020/theseam-ui-common-tabbed.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table-cell-type.mjs +199 -0
- package/fesm2020/theseam-ui-common-table-cell-type.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table-cell-types.mjs +1109 -0
- package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table.mjs +133 -0
- package/fesm2020/theseam-ui-common-table.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tel-input.mjs +762 -0
- package/fesm2020/theseam-ui-common-tel-input.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-testing.mjs +187 -0
- package/fesm2020/theseam-ui-common-testing.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tiled-select.mjs +560 -0
- package/fesm2020/theseam-ui-common-tiled-select.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-toggle-edit.mjs +556 -0
- package/fesm2020/theseam-ui-common-toggle-edit.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-toggle-group.mjs +276 -0
- package/fesm2020/theseam-ui-common-toggle-group.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs +108 -0
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-utils.mjs +1291 -0
- package/fesm2020/theseam-ui-common-utils.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-validators.mjs +94 -0
- package/fesm2020/theseam-ui-common-validators.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-viewers.mjs +596 -0
- package/fesm2020/theseam-ui-common-viewers.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-widget.mjs +1269 -0
- package/fesm2020/theseam-ui-common-widget.mjs.map +1 -0
- package/fesm2020/theseam-ui-common.mjs +47 -0
- package/fesm2020/theseam-ui-common.mjs.map +1 -0
- package/footer-bar/footer-bar/footer-bar.component.d.ts +3 -0
- package/footer-bar/footer-bar.module.d.ts +6 -0
- package/footer-bar/index.d.ts +5 -0
- package/form-field/form-field-error.directive.d.ts +3 -0
- package/form-field/form-field-help-text.directive.d.ts +3 -0
- package/form-field/form-field-label-tpl.directive.d.ts +3 -0
- package/form-field/form-field-required-indicator.component.d.ts +5 -3
- package/form-field/form-field-tokens.d.ts +2 -0
- package/form-field/form-field.component.d.ts +3 -0
- package/form-field/form-field.module.d.ts +14 -0
- package/form-field/index.d.ts +5 -0
- package/form-field/input.directive.d.ts +3 -0
- package/form-field/public-api.d.ts +2 -0
- package/form-field/testing/form-field-required-indicator.harness.d.ts +5 -0
- package/form-field/testing/index.d.ts +1 -0
- package/form-field-error/form-field-error/form-field-error.component.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list-item.directive.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list.component.d.ts +3 -0
- package/form-field-error/form-field-error.module.d.ts +9 -0
- package/form-field-error/index.d.ts +5 -0
- package/framework/base-layout/base-layout.component.d.ts +3 -0
- package/framework/base-layout/base-layout.module.d.ts +17 -0
- package/framework/base-layout/directives/base-layout-content-footer.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-content-header.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-content.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-side-bar-footer.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-side-bar.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-top-bar.directive.d.ts +3 -0
- package/framework/base-layout/index.d.ts +1 -0
- package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.d.ts +3 -0
- package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.d.ts +6 -3
- package/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.d.ts +5 -1
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.service.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets-tokens.d.ts +7 -0
- package/framework/dashboard/dashboard.component.d.ts +3 -0
- package/framework/dashboard/dashboard.module.d.ts +15 -0
- package/framework/dynamic-router/dynamic-router.module.d.ts +7 -0
- package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.d.ts +3 -0
- package/framework/dynamic-router/resolvers/hierarchy-level.resolver.d.ts +3 -0
- package/framework/index.d.ts +5 -0
- package/framework/schema-form/schema-form-framework.component.d.ts +3 -0
- package/framework/schema-form/schema-form-framework.d.ts +3 -0
- package/framework/schema-form/schema-form.module.d.ts +8 -0
- package/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-controls.module.d.ts +18 -0
- package/framework/schema-form-controls/schema-form-input/schema-form-input.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-number/schema-form-number.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-select/schema-form-select.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +3 -0
- package/framework/side-nav/index.d.ts +1 -0
- package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +5 -2
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +3 -0
- package/framework/side-nav/side-nav-tokens.d.ts +6 -0
- package/framework/side-nav/side-nav.component.d.ts +4 -1
- package/framework/side-nav/side-nav.module.d.ts +15 -0
- package/framework/side-nav/side-nav.service.d.ts +3 -0
- package/framework/top-bar/top-bar-item.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-menu-btn-detail.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +3 -0
- package/framework/top-bar/top-bar-menu.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-title/top-bar-title.component.d.ts +3 -0
- package/framework/top-bar/top-bar.component.d.ts +4 -1
- package/framework/top-bar/top-bar.module.d.ts +17 -0
- package/google-maps/google-maps/google-maps.component.d.ts +15 -4
- package/google-maps/google-maps-api-loader/google-maps-api-loader.d.ts +4 -0
- package/google-maps/google-maps-contextmenu.d.ts +1 -1
- package/google-maps/google-maps-controls.service.d.ts +3 -0
- package/google-maps/google-maps-feature-helpers.d.ts +1 -1
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.d.ts +7 -0
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.d.ts +7 -0
- package/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.d.ts +3 -0
- package/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.d.ts +3 -0
- package/google-maps/google-maps.module.d.ts +18 -0
- package/google-maps/google-maps.service.d.ts +5 -0
- package/google-maps/index.d.ts +5 -0
- package/google-maps/map-control.component.d.ts +3 -0
- package/google-maps/map-controls-service.d.ts +1 -0
- package/google-maps/map-file-drop/map-file-drop.component.d.ts +3 -0
- package/google-maps/map-value-manager.service.d.ts +3 -0
- package/graphql/datatable/datatable-graphql.service.d.ts +3 -0
- package/graphql/index.d.ts +5 -0
- package/icon/icon/icon.component.d.ts +3 -0
- package/icon/icon-btn/icon-btn.component.d.ts +3 -0
- package/icon/icon-notification/icon-notification.component.d.ts +3 -0
- package/icon/icon.module.d.ts +9 -0
- package/icon/index.d.ts +5 -0
- package/index.d.ts +5 -0
- package/layout/index.d.ts +5 -0
- package/layout/layout.module.d.ts +6 -0
- package/layout/layout.service.d.ts +3 -0
- package/loading/index.d.ts +5 -0
- package/loading/loading/loading.component.d.ts +3 -0
- package/loading/loading-overlay.service.d.ts +3 -0
- package/loading/loading.module.d.ts +9 -0
- package/menu/index.d.ts +5 -0
- package/menu/menu-divider.component.d.ts +3 -0
- package/menu/menu-footer/menu-footer.component.d.ts +3 -0
- package/menu/menu-footer-action/menu-footer-action.component.d.ts +3 -0
- package/menu/menu-header/menu-header.component.d.ts +3 -0
- package/menu/menu-item.component.d.ts +3 -0
- package/menu/menu-toggle.directive.d.ts +3 -0
- package/menu/menu.component.d.ts +3 -0
- package/menu/menu.module.d.ts +14 -0
- package/modal/README.md +5 -0
- package/modal/directives/modal-close.directive.d.ts +3 -0
- package/modal/directives/modal-footer-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-header-icon-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-header-title-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-title.directive.d.ts +3 -0
- package/modal/directives/modal.directive.d.ts +3 -0
- package/modal/index.d.ts +5 -0
- package/modal/modal/modal.component.d.ts +5 -2
- package/modal/modal-body/modal-body.component.d.ts +3 -0
- package/modal/modal-container/modal-container.component.d.ts +5 -2
- package/modal/modal-footer/modal-footer.component.d.ts +3 -0
- package/modal/modal-header/modal-header.component.d.ts +3 -0
- package/modal/modal.models.d.ts +2 -2
- package/modal/modal.module.d.ts +23 -0
- package/modal/modal.service.d.ts +3 -0
- package/modal/route-modal/route-modal.component.d.ts +3 -0
- package/models/index.d.ts +5 -0
- package/package.json +400 -22
- package/popover/index.d.ts +5 -0
- package/popover/popover/popover.component.d.ts +3 -0
- package/popover/popover.directive.d.ts +3 -0
- package/popover/popover.module.d.ts +9 -0
- package/progress/index.d.ts +5 -0
- package/progress/progress-circle/progress-circle.component.d.ts +3 -0
- package/progress/progress.module.d.ts +6 -0
- package/scrollbar/index.d.ts +5 -0
- package/scrollbar/overlay-scrollbar.directive.d.ts +3 -0
- package/scrollbar/overlay-scrollbars.service.d.ts +3 -0
- package/scrollbar/scrollbar.module.d.ts +6 -0
- package/services/asset-loader.service.d.ts +3 -0
- package/services/font-loader.service.d.ts +3 -0
- package/services/index.d.ts +5 -0
- package/services/router-helpers.service.d.ts +3 -0
- package/shared/components/password-input-reveal/password-input-reveal.component.d.ts +3 -0
- package/shared/directives/auto-focus.directive.d.ts +3 -0
- package/shared/directives/click-outside.directive.d.ts +3 -0
- package/shared/directives/disable-control.directive.d.ts +3 -0
- package/shared/directives/elem-resized.directive.d.ts +3 -0
- package/shared/directives/hover-class-toggle.directive.d.ts +3 -0
- package/shared/directives/hover-class.directive.d.ts +3 -0
- package/shared/directives/ng-select-extra.directive.d.ts +3 -0
- package/shared/directives/ngx-quill-extra.directive.d.ts +3 -0
- package/shared/index.d.ts +5 -0
- package/shared/pipes/mask-chars.pipe.d.ts +3 -0
- package/shared/pipes/truncate.pipe.d.ts +3 -0
- package/shared/shared.module.d.ts +20 -0
- package/storage/index.d.ts +5 -0
- package/storage/local-storage.service.d.ts +3 -0
- package/story-helpers/arg-type-helpers.d.ts +2 -1
- package/story-helpers/args-to-tpl.d.ts +1 -1
- package/story-helpers/index.d.ts +5 -0
- package/story-helpers/initial-route.service.d.ts +3 -0
- package/story-helpers/on-story-bootstrapped-exec.d.ts +1 -6
- package/story-helpers/routes-arg-type.d.ts +7 -2
- package/story-helpers/story-empty-with-route.component.d.ts +3 -0
- package/story-helpers/story-empty.component.d.ts +3 -0
- package/story-helpers/story-helper-components.module.d.ts +10 -0
- package/story-helpers/story-initial-route.d.ts +4 -0
- package/story-helpers/story-modal-container.component.d.ts +3 -0
- package/story-helpers/story-toastr.service.d.ts +3 -0
- package/tabbed/directives/tabbed-tab-content.directive.d.ts +5 -1
- package/tabbed/directives/tabbed-tab.directive.d.ts +5 -1
- package/tabbed/index.d.ts +5 -0
- package/tabbed/public-api.d.ts +1 -0
- package/tabbed/tabbed-content/tabbed-content.component.d.ts +5 -2
- package/tabbed/tabbed-item/tabbed-item.component.d.ts +5 -1
- package/tabbed/tabbed-models.d.ts +12 -0
- package/tabbed/tabbed.component.d.ts +3 -0
- package/tabbed/tabbed.module.d.ts +12 -0
- package/tabbed/tabbed.service.d.ts +3 -0
- package/table/index.d.ts +5 -0
- package/table/table/table.component.d.ts +3 -0
- package/table/table.module.d.ts +8 -0
- package/table-cell-type/index.d.ts +5 -0
- package/table-cell-type/services/table-cell-types-helpers.service.d.ts +3 -0
- package/table-cell-type/table-cell-type-selector.component.d.ts +3 -0
- package/table-cell-type/table-cell-type.module.d.ts +7 -0
- package/table-cell-types/index.d.ts +5 -0
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-date/table-cell-type-date.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +3 -0
- package/table-cell-types/table-cell-types.module.d.ts +24 -0
- package/tel-input/index.d.ts +5 -0
- package/tel-input/phone-number.pipe.d.ts +3 -0
- package/tel-input/tel-input/tel-input.component.d.ts +5 -2
- package/tel-input/tel-input-validator.d.ts +3 -3
- package/tel-input/tel-input.directive.d.ts +8 -0
- package/tel-input/tel-input.module.d.ts +10 -0
- package/testing/index.d.ts +5 -0
- package/tiled-select/components/tiled-select/tiled-select.component.d.ts +3 -0
- package/tiled-select/components/tiled-select-tile/tiled-select-tile.component.d.ts +3 -0
- package/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-icon-tpl.directive.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-label-tpl.directive.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-overlay.directive.d.ts +3 -0
- package/tiled-select/index.d.ts +5 -0
- package/tiled-select/public-api.d.ts +1 -0
- package/tiled-select/testing/index.d.ts +2 -0
- package/tiled-select/testing/tiled-select-harness.d.ts +9 -0
- package/tiled-select/testing/tiled-select-tile-harness.d.ts +17 -0
- package/tiled-select/tiled-select.module.d.ts +12 -0
- package/toggle-edit/index.d.ts +5 -0
- package/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.d.ts +3 -0
- package/toggle-edit/toggle-edit-display-tpl.directive.d.ts +3 -0
- package/toggle-edit/toggle-edit-keyboard-listener.service.d.ts +3 -0
- package/toggle-edit/toggle-edit.component.d.ts +3 -0
- package/toggle-edit/toggle-edit.module.d.ts +16 -0
- package/toggle-group/index.d.ts +5 -0
- package/toggle-group/toggle-group-option.directive.d.ts +3 -0
- package/toggle-group/toggle-group.directive.d.ts +3 -0
- package/toggle-group/toggle-group.module.d.ts +8 -0
- package/unsaved-changes-dialog/index.d.ts +5 -0
- package/unsaved-changes-dialog/unsaved-changes-can-deactivate.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.guard.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.module.d.ts +5 -0
- package/utils/index.d.ts +5 -0
- package/utils/obj-utils.d.ts +1 -1
- package/validators/index.d.ts +5 -0
- package/viewers/html-template-viewer/html-template-viewer.component.d.ts +3 -0
- package/viewers/html-template-viewer/html-template-viewer.module.d.ts +8 -0
- package/viewers/index.d.ts +5 -0
- package/viewers/pdf-viewer/pdf-page/pdf-page.component.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-renderer.service.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-viewer.component.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-viewer.module.d.ts +8 -0
- package/widget/directives/widget-drag-handle.directive.d.ts +3 -0
- package/widget/directives/widget-icon-tpl.directive.d.ts +3 -0
- package/widget/directives/widget-title-tpl.directive.d.ts +3 -0
- package/widget/index.d.ts +5 -0
- package/widget/widget/widget.component.d.ts +3 -0
- package/widget/widget-content-components/widget-button-group/widget-button-group.component.d.ts +3 -0
- package/widget/widget-content-components/widget-button-group/widget-button-group.module.d.ts +7 -0
- package/widget/widget-content-components/widget-content-header/widget-content-header.component.d.ts +3 -0
- package/widget/widget-content-components/widget-content-header/widget-content-header.module.d.ts +6 -0
- package/widget/widget-content-components/widget-description/widget-description.component.d.ts +3 -0
- package/widget/widget-content-components/widget-description/widget-description.module.d.ts +6 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.d.ts +3 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.module.d.ts +6 -0
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.d.ts +3 -0
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.module.d.ts +6 -0
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.d.ts +3 -0
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.module.d.ts +6 -0
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.d.ts +3 -0
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.module.d.ts +6 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.d.ts +3 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.d.ts +11 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.component.d.ts +3 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.module.d.ts +9 -0
- package/widget/widget-content-components/widget-table/widget-table.component.d.ts +3 -0
- package/widget/widget-content-components/widget-table/widget-table.module.d.ts +8 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile.component.d.ts +5 -0
- package/widget/widget-content-components/widget-tile/widget-tile.module.d.ts +11 -0
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.module.d.ts +7 -0
- package/widget/widget-footer/widget-footer.component.d.ts +3 -0
- package/widget/widget-registry.service.d.ts +3 -0
- package/widget/widget.module.d.ts +28 -0
- package/asset-reader/package.json +0 -11
- package/asset-reader/theseam-ui-common-asset-reader.d.ts +0 -4
- package/asset-reader/theseam-ui-common-asset-reader.metadata.json +0 -1
- package/assets/.gitkeep +0 -0
- package/assets/vendor/intl-tel-input/css/intlTelInput.min.css +0 -1
- package/assets/vendor/intl-tel-input/img/flags.png +0 -0
- package/assets/vendor/intl-tel-input/img/flags@2x.png +0 -0
- package/assets/vendor/intl-tel-input/js/utils.js +0 -502
- package/breadcrumbs/package.json +0 -11
- package/breadcrumbs/theseam-ui-common-breadcrumbs.d.ts +0 -4
- package/breadcrumbs/theseam-ui-common-breadcrumbs.metadata.json +0 -1
- package/bundles/theseam-ui-common-asset-reader.umd.js +0 -531
- package/bundles/theseam-ui-common-asset-reader.umd.js.map +0 -1
- package/bundles/theseam-ui-common-breadcrumbs.umd.js +0 -586
- package/bundles/theseam-ui-common-breadcrumbs.umd.js.map +0 -1
- package/bundles/theseam-ui-common-buttons.umd.js +0 -719
- package/bundles/theseam-ui-common-buttons.umd.js.map +0 -1
- package/bundles/theseam-ui-common-card.umd.js +0 -480
- package/bundles/theseam-ui-common-card.umd.js.map +0 -1
- package/bundles/theseam-ui-common-checkbox.umd.js +0 -650
- package/bundles/theseam-ui-common-checkbox.umd.js.map +0 -1
- package/bundles/theseam-ui-common-confirm-dialog.umd.js +0 -491
- package/bundles/theseam-ui-common-confirm-dialog.umd.js.map +0 -1
- package/bundles/theseam-ui-common-core.umd.js +0 -604
- package/bundles/theseam-ui-common-core.umd.js.map +0 -1
- package/bundles/theseam-ui-common-data-exporter.umd.js +0 -96
- package/bundles/theseam-ui-common-data-exporter.umd.js.map +0 -1
- package/bundles/theseam-ui-common-data-filters.umd.js +0 -891
- package/bundles/theseam-ui-common-data-filters.umd.js.map +0 -1
- package/bundles/theseam-ui-common-datatable-dynamic.umd.js +0 -1499
- package/bundles/theseam-ui-common-datatable-dynamic.umd.js.map +0 -1
- package/bundles/theseam-ui-common-datatable.umd.js +0 -3222
- package/bundles/theseam-ui-common-datatable.umd.js.map +0 -1
- package/bundles/theseam-ui-common-dynamic-component-loader.umd.js +0 -178
- package/bundles/theseam-ui-common-dynamic-component-loader.umd.js.map +0 -1
- package/bundles/theseam-ui-common-dynamic.umd.js +0 -1252
- package/bundles/theseam-ui-common-dynamic.umd.js.map +0 -1
- package/bundles/theseam-ui-common-footer-bar.umd.js +0 -49
- package/bundles/theseam-ui-common-footer-bar.umd.js.map +0 -1
- package/bundles/theseam-ui-common-form-field-error.umd.js +0 -884
- package/bundles/theseam-ui-common-form-field-error.umd.js.map +0 -1
- package/bundles/theseam-ui-common-form-field.umd.js +0 -914
- package/bundles/theseam-ui-common-form-field.umd.js.map +0 -1
- package/bundles/theseam-ui-common-framework.umd.js +0 -3379
- package/bundles/theseam-ui-common-framework.umd.js.map +0 -1
- package/bundles/theseam-ui-common-google-maps.umd.js +0 -2234
- package/bundles/theseam-ui-common-google-maps.umd.js.map +0 -1
- package/bundles/theseam-ui-common-graphql.umd.js +0 -1307
- package/bundles/theseam-ui-common-graphql.umd.js.map +0 -1
- package/bundles/theseam-ui-common-icon.umd.js +0 -890
- package/bundles/theseam-ui-common-icon.umd.js.map +0 -1
- package/bundles/theseam-ui-common-layout.umd.js +0 -117
- package/bundles/theseam-ui-common-layout.umd.js.map +0 -1
- package/bundles/theseam-ui-common-loading.umd.js +0 -152
- package/bundles/theseam-ui-common-loading.umd.js.map +0 -1
- package/bundles/theseam-ui-common-menu.umd.js +0 -1153
- package/bundles/theseam-ui-common-menu.umd.js.map +0 -1
- package/bundles/theseam-ui-common-modal.umd.js +0 -1718
- package/bundles/theseam-ui-common-modal.umd.js.map +0 -1
- package/bundles/theseam-ui-common-models.umd.js +0 -63
- package/bundles/theseam-ui-common-models.umd.js.map +0 -1
- package/bundles/theseam-ui-common-popover.umd.js +0 -504
- package/bundles/theseam-ui-common-popover.umd.js.map +0 -1
- package/bundles/theseam-ui-common-progress.umd.js +0 -420
- package/bundles/theseam-ui-common-progress.umd.js.map +0 -1
- package/bundles/theseam-ui-common-scrollbar.umd.js +0 -238
- package/bundles/theseam-ui-common-scrollbar.umd.js.map +0 -1
- package/bundles/theseam-ui-common-services.umd.js +0 -176
- package/bundles/theseam-ui-common-services.umd.js.map +0 -1
- package/bundles/theseam-ui-common-shared.umd.js +0 -1115
- package/bundles/theseam-ui-common-shared.umd.js.map +0 -1
- package/bundles/theseam-ui-common-storage.umd.js +0 -176
- package/bundles/theseam-ui-common-storage.umd.js.map +0 -1
- package/bundles/theseam-ui-common-story-helpers.umd.js +0 -795
- package/bundles/theseam-ui-common-story-helpers.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tabbed.umd.js +0 -628
- package/bundles/theseam-ui-common-tabbed.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table-cell-type.umd.js +0 -220
- package/bundles/theseam-ui-common-table-cell-type.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table-cell-types.umd.js +0 -1485
- package/bundles/theseam-ui-common-table-cell-types.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table.umd.js +0 -475
- package/bundles/theseam-ui-common-table.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tel-input.umd.js +0 -1107
- package/bundles/theseam-ui-common-tel-input.umd.js.map +0 -1
- package/bundles/theseam-ui-common-testing.umd.js +0 -568
- package/bundles/theseam-ui-common-testing.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tiled-select.umd.js +0 -866
- package/bundles/theseam-ui-common-tiled-select.umd.js.map +0 -1
- package/bundles/theseam-ui-common-toggle-edit.umd.js +0 -891
- package/bundles/theseam-ui-common-toggle-edit.umd.js.map +0 -1
- package/bundles/theseam-ui-common-toggle-group.umd.js +0 -629
- package/bundles/theseam-ui-common-toggle-group.umd.js.map +0 -1
- package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js +0 -134
- package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js.map +0 -1
- package/bundles/theseam-ui-common-utils.umd.js +0 -1890
- package/bundles/theseam-ui-common-utils.umd.js.map +0 -1
- package/bundles/theseam-ui-common-validators.umd.js +0 -105
- package/bundles/theseam-ui-common-validators.umd.js.map +0 -1
- package/bundles/theseam-ui-common-viewers.umd.js +0 -962
- package/bundles/theseam-ui-common-viewers.umd.js.map +0 -1
- package/bundles/theseam-ui-common-widget.umd.js +0 -1710
- package/bundles/theseam-ui-common-widget.umd.js.map +0 -1
- package/bundles/theseam-ui-common.umd.js +0 -54
- package/bundles/theseam-ui-common.umd.js.map +0 -1
- package/buttons/package.json +0 -11
- package/buttons/theseam-ui-common-buttons.d.ts +0 -4
- package/buttons/theseam-ui-common-buttons.metadata.json +0 -1
- package/card/package.json +0 -11
- package/card/theseam-ui-common-card.d.ts +0 -4
- package/card/theseam-ui-common-card.metadata.json +0 -1
- package/checkbox/package.json +0 -11
- package/checkbox/theseam-ui-common-checkbox.d.ts +0 -4
- package/checkbox/theseam-ui-common-checkbox.metadata.json +0 -1
- package/confirm-dialog/package.json +0 -11
- package/confirm-dialog/theseam-ui-common-confirm-dialog.d.ts +0 -4
- package/confirm-dialog/theseam-ui-common-confirm-dialog.metadata.json +0 -1
- package/core/package.json +0 -11
- package/core/theseam-ui-common-core.d.ts +0 -4
- package/core/theseam-ui-common-core.metadata.json +0 -1
- package/data-exporter/package.json +0 -11
- package/data-exporter/theseam-ui-common-data-exporter.d.ts +0 -4
- package/data-exporter/theseam-ui-common-data-exporter.metadata.json +0 -1
- package/data-filters/package.json +0 -11
- package/data-filters/theseam-ui-common-data-filters.d.ts +0 -4
- package/data-filters/theseam-ui-common-data-filters.metadata.json +0 -1
- package/datatable/package.json +0 -11
- package/datatable/theseam-ui-common-datatable.d.ts +0 -7
- package/datatable/theseam-ui-common-datatable.metadata.json +0 -1
- package/datatable-dynamic/package.json +0 -11
- package/datatable-dynamic/theseam-ui-common-datatable-dynamic.d.ts +0 -4
- package/datatable-dynamic/theseam-ui-common-datatable-dynamic.metadata.json +0 -1
- package/dynamic/package.json +0 -11
- package/dynamic/theseam-ui-common-dynamic.d.ts +0 -4
- package/dynamic/theseam-ui-common-dynamic.metadata.json +0 -1
- package/dynamic-component-loader/package.json +0 -11
- package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.d.ts +0 -4
- package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.metadata.json +0 -1
- package/esm2015/asset-reader/asset-reader-helper.service.js +0 -68
- package/esm2015/asset-reader/asset-reader.module.js +0 -15
- package/esm2015/asset-reader/encrypted-asset-link.directive.js +0 -69
- package/esm2015/breadcrumbs/breadcrumbs/breadcrumbs.component.js +0 -22
- package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -21
- package/esm2015/breadcrumbs/breadcrumbs.service.js +0 -158
- package/esm2015/buttons/badge-button/badge-button.component.js +0 -79
- package/esm2015/buttons/button/button.component.js +0 -111
- package/esm2015/buttons/buttons.module.js +0 -34
- package/esm2015/buttons/progress-circle-button/progress-circle-button.component.js +0 -60
- package/esm2015/buttons/toggle-button/toggle-button.component.js +0 -88
- package/esm2015/card/card-action/card-action.component.js +0 -27
- package/esm2015/card/card-body/card-body.component.js +0 -32
- package/esm2015/card/card-footer/card-footer.component.js +0 -15
- package/esm2015/card/card-header/card-header.component.js +0 -22
- package/esm2015/card/card.component.js +0 -20
- package/esm2015/card/card.module.js +0 -33
- package/esm2015/checkbox/checkbox.component.js +0 -276
- package/esm2015/checkbox/checkbox.module.js +0 -21
- package/esm2015/checkbox/public-api.js +0 -3
- package/esm2015/confirm-dialog/confirm-click.directive.js +0 -62
- package/esm2015/confirm-dialog/confirm-dialog.component.js +0 -20
- package/esm2015/confirm-dialog/confirm-dialog.module.js +0 -35
- package/esm2015/confirm-dialog/confirm-dialog.service.js +0 -38
- package/esm2015/data-exporter/data-exporter.module.js +0 -17
- package/esm2015/data-exporter/exporters/csv-exporter.js +0 -32
- package/esm2015/data-exporter/exporters/xlsx-exporter.js +0 -30
- package/esm2015/data-filters/data-filters.module.js +0 -50
- package/esm2015/data-filters/filters/data-filter-search/data-filter-search.component.js +0 -110
- package/esm2015/data-filters/filters/data-filter-text/data-filter-text.component.js +0 -138
- package/esm2015/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.js +0 -151
- package/esm2015/datatable/datatable/datatable.component.js +0 -570
- package/esm2015/datatable/datatable-action-menu/datatable-action-menu.component.js +0 -101
- package/esm2015/datatable/datatable-action-menu-item/datatable-action-menu-item.component.js +0 -30
- package/esm2015/datatable/datatable-column/datatable-column.component.js +0 -83
- package/esm2015/datatable/datatable-column-preferences/datatable-column-preferences.component.js +0 -63
- package/esm2015/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.js +0 -52
- package/esm2015/datatable/datatable-export-button/datatable-export-button.component.js +0 -101
- package/esm2015/datatable/datatable-footer/datatable-footer-tpl.directive.js +0 -15
- package/esm2015/datatable/datatable-footer/datatable-footer.directive.js +0 -18
- package/esm2015/datatable/datatable-menu-bar/datatable-menu-bar.component.js +0 -55
- package/esm2015/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.js +0 -32
- package/esm2015/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.js +0 -15
- package/esm2015/datatable/datatable-row-detail/datatable-row-detail.directive.js +0 -69
- package/esm2015/datatable/datatable.module.js +0 -126
- package/esm2015/datatable/directives/datatable-action-menu-item.directive.js +0 -46
- package/esm2015/datatable/directives/datatable-action-menu-toggle.directive.js +0 -128
- package/esm2015/datatable/directives/datatable-cell-tpl.directive.js +0 -15
- package/esm2015/datatable/directives/datatable-filter.directive.js +0 -21
- package/esm2015/datatable/directives/datatable-row-action-item.directive.js +0 -15
- package/esm2015/datatable/services/columns-alterations-manager.service.js +0 -134
- package/esm2015/datatable/services/columns-manager.service.js +0 -257
- package/esm2015/datatable/services/datatable-column-changes.service.js +0 -17
- package/esm2015/datatable/services/datatable-preferences.service.js +0 -159
- package/esm2015/datatable/services/datatable-scrollbar-helper.service.js +0 -51
- package/esm2015/datatable/theseam-ui-common-datatable.js +0 -8
- package/esm2015/datatable/utils/with-stored-column-info.js +0 -20
- package/esm2015/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.js +0 -119
- package/esm2015/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.js +0 -53
- package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.js +0 -160
- package/esm2015/datatable-dynamic/datatable-dynamic.component.js +0 -75
- package/esm2015/datatable-dynamic/datatable-dynamic.module.js +0 -49
- package/esm2015/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.js +0 -408
- package/esm2015/datatable-dynamic/dynamic-datatable-def.service.js +0 -84
- package/esm2015/datatable-dynamic/dynamic-datatable-row-actions.service.js +0 -47
- package/esm2015/datatable-dynamic/models/dynamic-datatable-menu-bar.js +0 -2
- package/esm2015/dynamic/action/api/dynamic-action-api.service.js +0 -215
- package/esm2015/dynamic/action/dynamic-action-helper.service.js +0 -163
- package/esm2015/dynamic/action/link/dynamic-action-link.service.js +0 -50
- package/esm2015/dynamic/action/modal/dynamic-action-modal.service.js +0 -92
- package/esm2015/dynamic/dynamic-value-helper.service.js +0 -101
- package/esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.js +0 -33
- package/esm2015/dynamic/evaluators/jexl-evaluator/jexl-evaluator.js +0 -30
- package/esm2015/dynamic/models/dynamic-value-evaluatable-type.js +0 -2
- package/esm2015/dynamic-component-loader/dynamic-component-loader.module.js +0 -47
- package/esm2015/dynamic-component-loader/dynamic-component-loader.service.js +0 -91
- package/esm2015/dynamic-component-loader/dynamic-component-manifest.js +0 -2
- package/esm2015/footer-bar/footer-bar/footer-bar.component.js +0 -16
- package/esm2015/footer-bar/footer-bar.module.js +0 -15
- package/esm2015/form-field/form-field-error.directive.js +0 -28
- package/esm2015/form-field/form-field-help-text.directive.js +0 -15
- package/esm2015/form-field/form-field-label-tpl.directive.js +0 -15
- package/esm2015/form-field/form-field-required-indicator.component.js +0 -38
- package/esm2015/form-field/form-field.component.js +0 -193
- package/esm2015/form-field/form-field.module.js +0 -40
- package/esm2015/form-field/input.directive.js +0 -195
- package/esm2015/form-field/public-api.js +0 -8
- package/esm2015/form-field-error/form-field-error/form-field-error.component.js +0 -27
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.js +0 -25
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item.directive.js +0 -18
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list.component.js +0 -370
- package/esm2015/form-field-error/form-field-error.module.js +0 -28
- package/esm2015/framework/base-layout/base-layout.component.js +0 -117
- package/esm2015/framework/base-layout/base-layout.module.js +0 -48
- package/esm2015/framework/base-layout/directives/base-layout-content-footer.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-content-header.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-content.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-nav-toggle.directive.js +0 -37
- package/esm2015/framework/base-layout/directives/base-layout-side-bar-footer.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-side-bar.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-top-bar.directive.js +0 -15
- package/esm2015/framework/base-layout/index.js +0 -13
- package/esm2015/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.js +0 -19
- package/esm2015/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.js +0 -25
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.js +0 -121
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.js +0 -173
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.component.js +0 -176
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.service.js +0 -165
- package/esm2015/framework/dashboard/dashboard.component.js +0 -25
- package/esm2015/framework/dashboard/dashboard.module.js +0 -39
- package/esm2015/framework/dynamic-router/dynamic-router.module.js +0 -21
- package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.js +0 -114
- package/esm2015/framework/dynamic-router/resolvers/hierarchy-level.resolver.js +0 -26
- package/esm2015/framework/schema-form/schema-form-framework.component.js +0 -16
- package/esm2015/framework/schema-form/schema-form-framework.js +0 -27
- package/esm2015/framework/schema-form/schema-form.module.js +0 -35
- package/esm2015/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.js +0 -41
- package/esm2015/framework/schema-form-controls/schema-form-controls.module.js +0 -50
- package/esm2015/framework/schema-form-controls/schema-form-input/schema-form-input.component.js +0 -34
- package/esm2015/framework/schema-form-controls/schema-form-number/schema-form-number.component.js +0 -40
- package/esm2015/framework/schema-form-controls/schema-form-select/schema-form-select.component.js +0 -36
- package/esm2015/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.js +0 -46
- package/esm2015/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.js +0 -142
- package/esm2015/framework/side-nav/index.js +0 -7
- package/esm2015/framework/side-nav/side-nav-item/side-nav-item.component.js +0 -151
- package/esm2015/framework/side-nav/side-nav-toggle/side-nav-toggle.component.js +0 -36
- package/esm2015/framework/side-nav/side-nav-utils.js +0 -81
- package/esm2015/framework/side-nav/side-nav.component.js +0 -212
- package/esm2015/framework/side-nav/side-nav.module.js +0 -39
- package/esm2015/framework/side-nav/side-nav.service.js +0 -174
- package/esm2015/framework/theseam-ui-common-framework.js +0 -14
- package/esm2015/framework/top-bar/top-bar-item.directive.js +0 -15
- package/esm2015/framework/top-bar/top-bar-menu-btn-detail.directive.js +0 -15
- package/esm2015/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.js +0 -53
- package/esm2015/framework/top-bar/top-bar-menu.directive.js +0 -16
- package/esm2015/framework/top-bar/top-bar-title/top-bar-title.component.js +0 -20
- package/esm2015/framework/top-bar/top-bar.component.js +0 -84
- package/esm2015/framework/top-bar/top-bar.module.js +0 -46
- package/esm2015/google-maps/google-maps/google-maps.component.js +0 -261
- package/esm2015/google-maps/google-maps-controls.service.js +0 -70
- package/esm2015/google-maps/google-maps-feature-helpers.js +0 -186
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.js +0 -195
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.js +0 -163
- package/esm2015/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.js +0 -57
- package/esm2015/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.js +0 -119
- package/esm2015/google-maps/google-maps.module.js +0 -45
- package/esm2015/google-maps/google-maps.service.js +0 -354
- package/esm2015/google-maps/map-control.component.js +0 -65
- package/esm2015/google-maps/map-file-drop/map-file-drop.component.js +0 -135
- package/esm2015/google-maps/map-value-manager.service.js +0 -46
- package/esm2015/google-maps/theseam-ui-common-google-maps.js +0 -6
- package/esm2015/graphql/datatable/create-page-info-observable.js +0 -38
- package/esm2015/graphql/datatable/datatable-graphql-query-ref.js +0 -236
- package/esm2015/graphql/datatable/datatable-graphql.service.js +0 -35
- package/esm2015/graphql/datatable/datatable-helpers.js +0 -170
- package/esm2015/graphql/datatable/get-page-info.js +0 -11
- package/esm2015/graphql/datatable/map-filter-states.js +0 -64
- package/esm2015/graphql/utils/parse-hints.js +0 -116
- package/esm2015/icon/icon/icon.component.js +0 -125
- package/esm2015/icon/icon-btn/icon-btn.component.js +0 -136
- package/esm2015/icon/icon-notification/icon-notification.component.js +0 -120
- package/esm2015/icon/icon.module.js +0 -27
- package/esm2015/layout/layout.module.js +0 -18
- package/esm2015/layout/layout.service.js +0 -24
- package/esm2015/loading/loading/loading.component.js +0 -28
- package/esm2015/loading/loading-overlay.service.js +0 -59
- package/esm2015/loading/loading.module.js +0 -29
- package/esm2015/menu/menu-divider.component.js +0 -15
- package/esm2015/menu/menu-footer/menu-footer.component.js +0 -32
- package/esm2015/menu/menu-footer-action/menu-footer-action.component.js +0 -48
- package/esm2015/menu/menu-header/menu-header.component.js +0 -32
- package/esm2015/menu/menu-item.component.js +0 -127
- package/esm2015/menu/menu-toggle.directive.js +0 -249
- package/esm2015/menu/menu.component.js +0 -174
- package/esm2015/menu/menu.module.js +0 -43
- package/esm2015/modal/directives/modal-close.directive.js +0 -63
- package/esm2015/modal/directives/modal-footer-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-header-icon-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-header-title-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-title.directive.js +0 -19
- package/esm2015/modal/directives/modal.directive.js +0 -25
- package/esm2015/modal/modal/modal.component.js +0 -149
- package/esm2015/modal/modal-body/modal-body.component.js +0 -22
- package/esm2015/modal/modal-config.js +0 -47
- package/esm2015/modal/modal-container/modal-container.component.js +0 -220
- package/esm2015/modal/modal-footer/modal-footer.component.js +0 -20
- package/esm2015/modal/modal-header/modal-header.component.js +0 -26
- package/esm2015/modal/modal.models.js +0 -3
- package/esm2015/modal/modal.module.js +0 -83
- package/esm2015/modal/modal.service.js +0 -343
- package/esm2015/modal/route-modal/route-modal.component.js +0 -68
- package/esm2015/popover/popover/popover.component.js +0 -149
- package/esm2015/popover/popover.directive.js +0 -257
- package/esm2015/popover/popover.module.js +0 -30
- package/esm2015/progress/progress-circle/progress-circle.component.js +0 -63
- package/esm2015/progress/progress.module.js +0 -19
- package/esm2015/scrollbar/overlay-scrollbar.directive.js +0 -61
- package/esm2015/scrollbar/overlay-scrollbars-config.js +0 -13
- package/esm2015/scrollbar/overlay-scrollbars.service.js +0 -87
- package/esm2015/scrollbar/scrollbar.module.js +0 -25
- package/esm2015/services/asset-loader.service.js +0 -33
- package/esm2015/services/font-loader.service.js +0 -81
- package/esm2015/services/router-helpers.service.js +0 -26
- package/esm2015/shared/components/password-input-reveal/password-input-reveal.component.js +0 -71
- package/esm2015/shared/directives/auto-focus.directive.js +0 -53
- package/esm2015/shared/directives/click-outside.directive.js +0 -49
- package/esm2015/shared/directives/disable-control.directive.js +0 -27
- package/esm2015/shared/directives/elem-resized.directive.js +0 -29
- package/esm2015/shared/directives/hover-class-toggle.directive.js +0 -80
- package/esm2015/shared/directives/hover-class.directive.js +0 -74
- package/esm2015/shared/directives/ng-select-extra.directive.js +0 -177
- package/esm2015/shared/directives/ngx-quill-extra.directive.js +0 -60
- package/esm2015/shared/pipes/mask-chars.pipe.js +0 -21
- package/esm2015/shared/pipes/truncate.pipe.js +0 -19
- package/esm2015/shared/shared.module.js +0 -58
- package/esm2015/storage/local-storage.service.js +0 -77
- package/esm2015/story-helpers/arg-type-helpers.js +0 -34
- package/esm2015/story-helpers/args-to-tpl.js +0 -76
- package/esm2015/story-helpers/initial-route.service.js +0 -27
- package/esm2015/story-helpers/on-story-bootstrapped-exec.js +0 -64
- package/esm2015/story-helpers/on-story-bootstrapped-trigger.js +0 -38
- package/esm2015/story-helpers/routes-arg-type.js +0 -18
- package/esm2015/story-helpers/story-empty-with-route.component.js +0 -7
- package/esm2015/story-helpers/story-empty.component.js +0 -7
- package/esm2015/story-helpers/story-helper-components.module.js +0 -29
- package/esm2015/story-helpers/story-initial-route.js +0 -24
- package/esm2015/story-helpers/story-modal-container.component.js +0 -77
- package/esm2015/story-helpers/story-toastr.service.js +0 -33
- package/esm2015/tabbed/directives/tabbed-tab-content.directive.js +0 -14
- package/esm2015/tabbed/directives/tabbed-tab.directive.js +0 -36
- package/esm2015/tabbed/public-api.js +0 -8
- package/esm2015/tabbed/tabbed-content/tabbed-content.component.js +0 -17
- package/esm2015/tabbed/tabbed-item/tabbed-item.component.js +0 -30
- package/esm2015/tabbed/tabbed.component.js +0 -111
- package/esm2015/tabbed/tabbed.module.js +0 -36
- package/esm2015/tabbed/tabbed.service.js +0 -28
- package/esm2015/table/table/table.component.js +0 -90
- package/esm2015/table/table.module.js +0 -23
- package/esm2015/table-cell-type/services/table-cell-types-helpers.service.js +0 -70
- package/esm2015/table-cell-type/table-cell-type-selector.component.js +0 -94
- package/esm2015/table-cell-type/table-cell-type.module.js +0 -23
- package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.js +0 -89
- package/esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.component.js +0 -55
- package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.js +0 -87
- package/esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.js +0 -166
- package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.js +0 -85
- package/esm2015/table-cell-types/table-cell-type-manifests.js +0 -103
- package/esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.js +0 -66
- package/esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.js +0 -160
- package/esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.js +0 -78
- package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string.component.js +0 -178
- package/esm2015/table-cell-types/table-cell-types.module.js +0 -78
- package/esm2015/table-cell-types/theseam-ui-common-table-cell-types.js +0 -5
- package/esm2015/tel-input/phone-number.pipe.js +0 -51
- package/esm2015/tel-input/tel-input/tel-input.component.js +0 -175
- package/esm2015/tel-input/tel-input-validator.js +0 -27
- package/esm2015/tel-input/tel-input.directive.js +0 -209
- package/esm2015/tel-input/tel-input.module.js +0 -29
- package/esm2015/tel-input/utils/get-validation-error-message.js +0 -12
- package/esm2015/testing/get-harness.js +0 -16
- package/esm2015/testing/render-story.js +0 -12
- package/esm2015/testing/story-expect.js +0 -39
- package/esm2015/tiled-select/components/tiled-select/tiled-select.component.js +0 -205
- package/esm2015/tiled-select/components/tiled-select-tile/tiled-select-tile.component.js +0 -128
- package/esm2015/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.js +0 -54
- package/esm2015/tiled-select/directives/tiled-select-tile-icon-tpl.directive.js +0 -16
- package/esm2015/tiled-select/directives/tiled-select-tile-label-tpl.directive.js +0 -15
- package/esm2015/tiled-select/directives/tiled-select-tile-overlay.directive.js +0 -19
- package/esm2015/tiled-select/public-api.js +0 -10
- package/esm2015/tiled-select/tiled-select.module.js +0 -35
- package/esm2015/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.js +0 -15
- package/esm2015/toggle-edit/toggle-edit-display-tpl.directive.js +0 -15
- package/esm2015/toggle-edit/toggle-edit-keyboard-listener.service.js +0 -56
- package/esm2015/toggle-edit/toggle-edit.component.js +0 -403
- package/esm2015/toggle-edit/toggle-edit.module.js +0 -40
- package/esm2015/toggle-group/toggle-group-option.directive.js +0 -44
- package/esm2015/toggle-group/toggle-group.directive.js +0 -192
- package/esm2015/toggle-group/toggle-group.module.js +0 -24
- package/esm2015/unsaved-changes-dialog/unsaved-changes-can-deactivate.js +0 -27
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.component.js +0 -20
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.guard.js +0 -35
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.module.js +0 -12
- package/esm2015/utils/file-utils.js +0 -68
- package/esm2015/utils/geo-json/coerce-feature-collection.js +0 -44
- package/esm2015/utils/geo-json/geo-json-to-area.js +0 -11
- package/esm2015/utils/geo-json/is-feature-collection.validator.js +0 -21
- package/esm2015/utils/geo-json/is-only-geometry-types.js +0 -23
- package/esm2015/utils/geo-json/is-only-geometry-types.validator.js +0 -32
- package/esm2015/utils/geo-json/merge-polygons.js +0 -35
- package/esm2015/utils/geo-json/no-inner-rings.validator.js +0 -63
- package/esm2015/utils/geo-json/read-geo-file.js +0 -99
- package/esm2015/utils/geo-json/split-multi-polygons.js +0 -29
- package/esm2015/utils/obj-utils.js +0 -27
- package/esm2015/utils/polling-ticker.js +0 -121
- package/esm2015/utils/subscriber-count.js +0 -46
- package/esm2015/utils/wait-on-condition-async.js +0 -33
- package/esm2015/viewers/html-template-viewer/html-template-viewer.component.js +0 -219
- package/esm2015/viewers/html-template-viewer/html-template-viewer.module.js +0 -23
- package/esm2015/viewers/pdf-viewer/pdf-page/pdf-page.component.js +0 -134
- package/esm2015/viewers/pdf-viewer/pdf-renderer.service.js +0 -27
- package/esm2015/viewers/pdf-viewer/pdf-viewer.component.js +0 -149
- package/esm2015/viewers/pdf-viewer/pdf-viewer.module.js +0 -24
- package/esm2015/widget/directives/widget-drag-handle.directive.js +0 -146
- package/esm2015/widget/directives/widget-icon-tpl.directive.js +0 -15
- package/esm2015/widget/directives/widget-title-tpl.directive.js +0 -15
- package/esm2015/widget/widget/widget.component.js +0 -121
- package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.module.js +0 -22
- package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-description/widget-description.component.js +0 -12
- package/esm2015/widget/widget-content-components/widget-description/widget-description.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.component.js +0 -39
- package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.component.js +0 -31
- package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.js +0 -16
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.js +0 -162
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.component.js +0 -19
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.module.js +0 -31
- package/esm2015/widget/widget-content-components/widget-table/widget-table.component.js +0 -35
- package/esm2015/widget/widget-content-components/widget-table/widget-table.module.js +0 -23
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.js +0 -19
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.js +0 -43
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.js +0 -16
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile.component.js +0 -110
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile.module.js +0 -33
- package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.component.js +0 -15
- package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.module.js +0 -21
- package/esm2015/widget/widget-footer/widget-footer.component.js +0 -16
- package/esm2015/widget/widget-registry.service.js +0 -56
- package/esm2015/widget/widget.module.js +0 -70
- package/fesm2015/theseam-ui-common-asset-reader.js +0 -173
- package/fesm2015/theseam-ui-common-asset-reader.js.map +0 -1
- package/fesm2015/theseam-ui-common-breadcrumbs.js +0 -203
- package/fesm2015/theseam-ui-common-breadcrumbs.js.map +0 -1
- package/fesm2015/theseam-ui-common-buttons.js +0 -362
- package/fesm2015/theseam-ui-common-buttons.js.map +0 -1
- package/fesm2015/theseam-ui-common-card.js +0 -145
- package/fesm2015/theseam-ui-common-card.js.map +0 -1
- package/fesm2015/theseam-ui-common-checkbox.js +0 -302
- package/fesm2015/theseam-ui-common-checkbox.js.map +0 -1
- package/fesm2015/theseam-ui-common-confirm-dialog.js +0 -153
- package/fesm2015/theseam-ui-common-confirm-dialog.js.map +0 -1
- package/fesm2015/theseam-ui-common-core.js +0 -231
- package/fesm2015/theseam-ui-common-core.js.map +0 -1
- package/fesm2015/theseam-ui-common-data-exporter.js +0 -81
- package/fesm2015/theseam-ui-common-data-exporter.js.map +0 -1
- package/fesm2015/theseam-ui-common-data-filters.js +0 -455
- package/fesm2015/theseam-ui-common-data-filters.js.map +0 -1
- package/fesm2015/theseam-ui-common-datatable-dynamic.js +0 -991
- package/fesm2015/theseam-ui-common-datatable-dynamic.js.map +0 -1
- package/fesm2015/theseam-ui-common-datatable.js +0 -2530
- package/fesm2015/theseam-ui-common-datatable.js.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic-component-loader.js +0 -143
- package/fesm2015/theseam-ui-common-dynamic-component-loader.js.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic.js +0 -700
- package/fesm2015/theseam-ui-common-dynamic.js.map +0 -1
- package/fesm2015/theseam-ui-common-footer-bar.js +0 -36
- package/fesm2015/theseam-ui-common-footer-bar.js.map +0 -1
- package/fesm2015/theseam-ui-common-form-field-error.js +0 -464
- package/fesm2015/theseam-ui-common-form-field-error.js.map +0 -1
- package/fesm2015/theseam-ui-common-form-field.js +0 -506
- package/fesm2015/theseam-ui-common-form-field.js.map +0 -1
- package/fesm2015/theseam-ui-common-framework.js +0 -2685
- package/fesm2015/theseam-ui-common-framework.js.map +0 -1
- package/fesm2015/theseam-ui-common-google-maps.js +0 -1748
- package/fesm2015/theseam-ui-common-google-maps.js.map +0 -1
- package/fesm2015/theseam-ui-common-graphql.js +0 -881
- package/fesm2015/theseam-ui-common-graphql.js.map +0 -1
- package/fesm2015/theseam-ui-common-icon.js +0 -518
- package/fesm2015/theseam-ui-common-icon.js.map +0 -1
- package/fesm2015/theseam-ui-common-layout.js +0 -89
- package/fesm2015/theseam-ui-common-layout.js.map +0 -1
- package/fesm2015/theseam-ui-common-loading.js +0 -131
- package/fesm2015/theseam-ui-common-loading.js.map +0 -1
- package/fesm2015/theseam-ui-common-menu.js +0 -763
- package/fesm2015/theseam-ui-common-menu.js.map +0 -1
- package/fesm2015/theseam-ui-common-modal.js +0 -1282
- package/fesm2015/theseam-ui-common-modal.js.map +0 -1
- package/fesm2015/theseam-ui-common-models.js +0 -54
- package/fesm2015/theseam-ui-common-models.js.map +0 -1
- package/fesm2015/theseam-ui-common-popover.js +0 -476
- package/fesm2015/theseam-ui-common-popover.js.map +0 -1
- package/fesm2015/theseam-ui-common-progress.js +0 -87
- package/fesm2015/theseam-ui-common-progress.js.map +0 -1
- package/fesm2015/theseam-ui-common-scrollbar.js +0 -184
- package/fesm2015/theseam-ui-common-scrollbar.js.map +0 -1
- package/fesm2015/theseam-ui-common-services.js +0 -140
- package/fesm2015/theseam-ui-common-services.js.map +0 -1
- package/fesm2015/theseam-ui-common-shared.js +0 -696
- package/fesm2015/theseam-ui-common-shared.js.map +0 -1
- package/fesm2015/theseam-ui-common-storage.js +0 -147
- package/fesm2015/theseam-ui-common-storage.js.map +0 -1
- package/fesm2015/theseam-ui-common-story-helpers.js +0 -441
- package/fesm2015/theseam-ui-common-story-helpers.js.map +0 -1
- package/fesm2015/theseam-ui-common-tabbed.js +0 -262
- package/fesm2015/theseam-ui-common-tabbed.js.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-type.js +0 -191
- package/fesm2015/theseam-ui-common-table-cell-type.js.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-types.js +0 -1080
- package/fesm2015/theseam-ui-common-table-cell-types.js.map +0 -1
- package/fesm2015/theseam-ui-common-table.js +0 -118
- package/fesm2015/theseam-ui-common-table.js.map +0 -1
- package/fesm2015/theseam-ui-common-tel-input.js +0 -733
- package/fesm2015/theseam-ui-common-tel-input.js.map +0 -1
- package/fesm2015/theseam-ui-common-testing.js +0 -191
- package/fesm2015/theseam-ui-common-testing.js.map +0 -1
- package/fesm2015/theseam-ui-common-tiled-select.js +0 -461
- package/fesm2015/theseam-ui-common-tiled-select.js.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-edit.js +0 -521
- package/fesm2015/theseam-ui-common-toggle-edit.js.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-group.js +0 -260
- package/fesm2015/theseam-ui-common-toggle-group.js.map +0 -1
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js +0 -97
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js.map +0 -1
- package/fesm2015/theseam-ui-common-utils.js +0 -1321
- package/fesm2015/theseam-ui-common-utils.js.map +0 -1
- package/fesm2015/theseam-ui-common-validators.js +0 -94
- package/fesm2015/theseam-ui-common-validators.js.map +0 -1
- package/fesm2015/theseam-ui-common-viewers.js +0 -563
- package/fesm2015/theseam-ui-common-viewers.js.map +0 -1
- package/fesm2015/theseam-ui-common-widget.js +0 -1189
- package/fesm2015/theseam-ui-common-widget.js.map +0 -1
- package/fesm2015/theseam-ui-common.js +0 -47
- package/fesm2015/theseam-ui-common.js.map +0 -1
- package/footer-bar/package.json +0 -11
- package/footer-bar/theseam-ui-common-footer-bar.d.ts +0 -4
- package/footer-bar/theseam-ui-common-footer-bar.metadata.json +0 -1
- package/form-field/package.json +0 -11
- package/form-field/theseam-ui-common-form-field.d.ts +0 -4
- package/form-field/theseam-ui-common-form-field.metadata.json +0 -1
- package/form-field-error/package.json +0 -11
- package/form-field-error/theseam-ui-common-form-field-error.d.ts +0 -4
- package/form-field-error/theseam-ui-common-form-field-error.metadata.json +0 -1
- package/framework/base-layout/_base-layout-theme.scss +0 -3
- package/framework/base-layout/base-layout.component.scss +0 -95
- package/framework/base-layout/styles/_utilities.scss +0 -3
- package/framework/base-layout/styles/_variables.scss +0 -23
- package/framework/dashboard/_dashboard-theme.scss +0 -3
- package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.scss +0 -0
- package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.scss +0 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.scss +0 -48
- package/framework/dashboard/dashboard.component.scss +0 -0
- package/framework/dashboard/styles/_utilities.scss +0 -3
- package/framework/dashboard/styles/_variables.scss +0 -2
- package/framework/package.json +0 -11
- package/framework/side-nav/_side-nav-theme.scss +0 -5
- package/framework/side-nav/side-nav-item/side-nav-item.component.scss +0 -185
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.scss +0 -32
- package/framework/side-nav/side-nav.component.scss +0 -47
- package/framework/side-nav/styles/_themes/light/_variables.scss +0 -29
- package/framework/side-nav/styles/_themes/primary/_variables.scss +0 -31
- package/framework/side-nav/styles/_utilities.scss +0 -3
- package/framework/side-nav/styles/_variables.scss +0 -2
- package/framework/theseam-ui-common-framework.d.ts +0 -13
- package/framework/theseam-ui-common-framework.metadata.json +0 -1
- package/framework/top-bar/_top-bar-theme.scss +0 -5
- package/framework/top-bar/styles/_utilities.scss +0 -3
- package/framework/top-bar/styles/_variables.scss +0 -18
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.scss +0 -15
- package/framework/top-bar/top-bar-title/top-bar-title.component.scss +0 -6
- package/framework/top-bar/top-bar.component.scss +0 -39
- package/google-maps/package.json +0 -11
- package/google-maps/theseam-ui-common-google-maps.d.ts +0 -5
- package/google-maps/theseam-ui-common-google-maps.metadata.json +0 -1
- package/graphql/package.json +0 -11
- package/graphql/theseam-ui-common-graphql.d.ts +0 -4
- package/graphql/theseam-ui-common-graphql.metadata.json +0 -1
- package/icon/package.json +0 -11
- package/icon/theseam-ui-common-icon.d.ts +0 -4
- package/icon/theseam-ui-common-icon.metadata.json +0 -1
- package/layout/package.json +0 -11
- package/layout/theseam-ui-common-layout.d.ts +0 -4
- package/layout/theseam-ui-common-layout.metadata.json +0 -1
- package/loading/package.json +0 -11
- package/loading/theseam-ui-common-loading.d.ts +0 -4
- package/loading/theseam-ui-common-loading.metadata.json +0 -1
- package/menu/package.json +0 -11
- package/menu/theseam-ui-common-menu.d.ts +0 -4
- package/menu/theseam-ui-common-menu.metadata.json +0 -1
- package/modal/package.json +0 -11
- package/modal/theseam-ui-common-modal.d.ts +0 -4
- package/modal/theseam-ui-common-modal.metadata.json +0 -1
- package/models/package.json +0 -11
- package/models/theseam-ui-common-models.d.ts +0 -4
- package/models/theseam-ui-common-models.metadata.json +0 -1
- package/popover/package.json +0 -11
- package/popover/theseam-ui-common-popover.d.ts +0 -4
- package/popover/theseam-ui-common-popover.metadata.json +0 -1
- package/progress/package.json +0 -11
- package/progress/progress-circle/_progress-circle-theme.scss +0 -3
- package/progress/progress-circle/progress-circle.component.scss +0 -105
- package/progress/progress-circle/styles/_utilities.scss +0 -3
- package/progress/progress-circle/styles/_variables.scss +0 -8
- package/progress/theseam-ui-common-progress.d.ts +0 -4
- package/progress/theseam-ui-common-progress.metadata.json +0 -1
- package/scrollbar/package.json +0 -11
- package/scrollbar/theseam-ui-common-scrollbar.d.ts +0 -4
- package/scrollbar/theseam-ui-common-scrollbar.metadata.json +0 -1
- package/services/package.json +0 -11
- package/services/theseam-ui-common-services.d.ts +0 -4
- package/services/theseam-ui-common-services.metadata.json +0 -1
- package/shared/package.json +0 -11
- package/shared/theseam-ui-common-shared.d.ts +0 -4
- package/shared/theseam-ui-common-shared.metadata.json +0 -1
- package/storage/package.json +0 -11
- package/storage/theseam-ui-common-storage.d.ts +0 -4
- package/storage/theseam-ui-common-storage.metadata.json +0 -1
- package/story-helpers/package.json +0 -11
- package/story-helpers/theseam-ui-common-story-helpers.d.ts +0 -4
- package/story-helpers/theseam-ui-common-story-helpers.metadata.json +0 -1
- package/styles/_storybook-fixes.scss +0 -7
- package/styles/_variables.scss +0 -0
- package/styles/bootstrap/_bootstrap.scss +0 -45
- package/styles/bootstrap/_bs-styles.scss +0 -105
- package/styles/bootstrap/_bs-utilities.scss +0 -5
- package/styles/bootstrap/_bs-variables.scss +0 -141
- package/styles/common/_forms.scss +0 -15
- package/styles/common/_global.scss +0 -9
- package/styles/common/_hacks.scss +0 -14
- package/styles/common/_table.scss +0 -119
- package/styles/common/_text.scss +0 -1
- package/styles/theme.scss +0 -19
- package/styles/utilities.scss +0 -14
- package/styles/vendor/_vendor.scss +0 -3
- package/styles/vendor/ng-select/_ng-select-bs4.scss +0 -445
- package/styles/vendor/ngx-datatable/_ngx-datatable.scss +0 -501
- package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +0 -174
- package/styles/vendor/ngx-datatable/_themes/dark/_variables.scss +0 -166
- package/styles/vendor/ngx-datatable/_themes/material/_variables.scss +0 -165
- package/styles/vendor/ngx-datatable/_variables.scss +0 -3
- package/styles/vendor/quill/_quill.scss +0 -26
- package/tabbed/package.json +0 -11
- package/tabbed/theseam-ui-common-tabbed.d.ts +0 -4
- package/tabbed/theseam-ui-common-tabbed.metadata.json +0 -1
- package/table/package.json +0 -11
- package/table/theseam-ui-common-table.d.ts +0 -4
- package/table/theseam-ui-common-table.metadata.json +0 -1
- package/table-cell-type/package.json +0 -11
- package/table-cell-type/theseam-ui-common-table-cell-type.d.ts +0 -4
- package/table-cell-type/theseam-ui-common-table-cell-type.metadata.json +0 -1
- package/table-cell-types/package.json +0 -11
- package/table-cell-types/theseam-ui-common-table-cell-types.d.ts +0 -6
- package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +0 -1
- package/tel-input/package.json +0 -11
- package/tel-input/theseam-ui-common-tel-input.d.ts +0 -4
- package/tel-input/theseam-ui-common-tel-input.metadata.json +0 -1
- package/testing/package.json +0 -11
- package/testing/theseam-ui-common-testing.d.ts +0 -4
- package/testing/theseam-ui-common-testing.metadata.json +0 -1
- package/theseam-ui-common.d.ts +0 -4
- package/theseam-ui-common.metadata.json +0 -1
- package/tiled-select/package.json +0 -11
- package/tiled-select/theseam-ui-common-tiled-select.d.ts +0 -4
- package/tiled-select/theseam-ui-common-tiled-select.metadata.json +0 -1
- package/toggle-edit/package.json +0 -11
- package/toggle-edit/theseam-ui-common-toggle-edit.d.ts +0 -4
- package/toggle-edit/theseam-ui-common-toggle-edit.metadata.json +0 -1
- package/toggle-group/package.json +0 -11
- package/toggle-group/theseam-ui-common-toggle-group.d.ts +0 -4
- package/toggle-group/theseam-ui-common-toggle-group.metadata.json +0 -1
- package/unsaved-changes-dialog/package.json +0 -11
- package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.d.ts +0 -4
- package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.metadata.json +0 -1
- package/utils/package.json +0 -11
- package/utils/theseam-ui-common-utils.d.ts +0 -4
- package/utils/theseam-ui-common-utils.metadata.json +0 -1
- package/validators/package.json +0 -11
- package/validators/theseam-ui-common-validators.d.ts +0 -4
- package/validators/theseam-ui-common-validators.metadata.json +0 -1
- package/viewers/package.json +0 -11
- package/viewers/theseam-ui-common-viewers.d.ts +0 -4
- package/viewers/theseam-ui-common-viewers.metadata.json +0 -1
- package/widget/_widget-theme.scss +0 -15
- package/widget/package.json +0 -11
- package/widget/styles/_utilities.scss +0 -3
- package/widget/styles/_variables.scss +0 -30
- package/widget/theseam-ui-common-widget.d.ts +0 -4
- package/widget/theseam-ui-common-widget.metadata.json +0 -1
- package/widget/widget/widget.component.scss +0 -109
- package/widget/widget-content-components/widget-button-group/widget-button-group.component.scss +0 -3
- package/widget/widget-content-components/widget-content-header/widget-content-header.component.scss +0 -6
- package/widget/widget-content-components/widget-description/widget-description.component.scss +0 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.scss +0 -9
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.scss +0 -8
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.scss +0 -7
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.scss +0 -5
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.scss +0 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.component.scss +0 -0
- package/widget/widget-content-components/widget-table/widget-table.component.scss +0 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.scss +0 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.scss +0 -5
- package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.scss +0 -14
- package/widget/widget-content-components/widget-tile/widget-tile.component.scss +0 -70
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.scss +0 -6
- package/widget/widget-footer/widget-footer.component.scss +0 -16
- /package/{esm2015/asset-reader/encrypted-asset-reader.js → esm2020/asset-reader/encrypted-asset-reader.mjs} +0 -0
- /package/{esm2015/asset-reader/public-api.js → esm2020/asset-reader/public-api.mjs} +0 -0
- /package/{esm2015/asset-reader/theseam-ui-common-asset-reader.js → esm2020/asset-reader/theseam-ui-common-asset-reader.mjs} +0 -0
- /package/{esm2015/breadcrumbs/breadcrumb.js → esm2020/breadcrumbs/breadcrumb.mjs} +0 -0
- /package/{esm2015/breadcrumbs/breadcrumbs-resolver.js → esm2020/breadcrumbs/breadcrumbs-resolver.mjs} +0 -0
- /package/{esm2015/breadcrumbs/public-api.js → esm2020/breadcrumbs/public-api.mjs} +0 -0
- /package/{esm2015/breadcrumbs/theseam-ui-common-breadcrumbs.js → esm2020/breadcrumbs/theseam-ui-common-breadcrumbs.mjs} +0 -0
- /package/{esm2015/buttons/public-api.js → esm2020/buttons/public-api.mjs} +0 -0
- /package/{esm2015/buttons/theseam-ui-common-buttons.js → esm2020/buttons/theseam-ui-common-buttons.mjs} +0 -0
- /package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
- /package/{esm2015/card/theseam-ui-common-card.js → esm2020/card/theseam-ui-common-card.mjs} +0 -0
- /package/{esm2015/checkbox/theseam-ui-common-checkbox.js → esm2020/checkbox/theseam-ui-common-checkbox.mjs} +0 -0
- /package/{esm2015/confirm-dialog/public-api.js → esm2020/confirm-dialog/public-api.mjs} +0 -0
- /package/{esm2015/confirm-dialog/theseam-ui-common-confirm-dialog.js → esm2020/confirm-dialog/theseam-ui-common-confirm-dialog.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/active.js → esm2020/core/common-behaviors/active.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/constructor.js → esm2020/core/common-behaviors/constructor.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/disabled.js → esm2020/core/common-behaviors/disabled.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/element-ref.js → esm2020/core/common-behaviors/element-ref.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/index.js → esm2020/core/common-behaviors/index.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/initialized.js → esm2020/core/common-behaviors/initialized.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/renderer2.js → esm2020/core/common-behaviors/renderer2.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/size.js → esm2020/core/common-behaviors/size.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/tabindex.js → esm2020/core/common-behaviors/tabindex.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/theme.js → esm2020/core/common-behaviors/theme.mjs} +0 -0
- /package/{esm2015/core/input-decorators/index.js → esm2020/core/input-decorators/index.mjs} +0 -0
- /package/{esm2015/core/input-decorators/input-boolean.decorator.js → esm2020/core/input-decorators/input-boolean.decorator.mjs} +0 -0
- /package/{esm2015/core/input-decorators/input-number.decorator.js → esm2020/core/input-decorators/input-number.decorator.mjs} +0 -0
- /package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +0 -0
- /package/{esm2015/core/theseam-ui-common-core.js → esm2020/core/theseam-ui-common-core.mjs} +0 -0
- /package/{esm2015/data-exporter/data-exporter.js → esm2020/data-exporter/data-exporter.mjs} +0 -0
- /package/{esm2015/data-exporter/public-api.js → esm2020/data-exporter/public-api.mjs} +0 -0
- /package/{esm2015/data-exporter/theseam-ui-common-data-exporter.js → esm2020/data-exporter/theseam-ui-common-data-exporter.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter-container.js → esm2020/data-filters/data-filter-container.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter-def.js → esm2020/data-filters/data-filter-def.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter.js → esm2020/data-filters/data-filter.mjs} +0 -0
- /package/{esm2015/data-filters/filters/data-filter-search/search-filter-options.js → esm2020/data-filters/filters/data-filter-search/search-filter-options.mjs} +0 -0
- /package/{esm2015/data-filters/filters/data-filter-text/text-filter-options.js → esm2020/data-filters/filters/data-filter-text/text-filter-options.mjs} +0 -0
- /package/{esm2015/data-filters/public-api.js → esm2020/data-filters/public-api.mjs} +0 -0
- /package/{esm2015/data-filters/theseam-ui-common-data-filters.js → esm2020/data-filters/theseam-ui-common-data-filters.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alteration.js → esm2020/datatable/models/columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/hide-column.columns-alteration.js → esm2020/datatable/models/columns-alterations/hide-column.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/order.columns-alteration.js → esm2020/datatable/models/columns-alterations/order.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/sort.columns-alteration.js → esm2020/datatable/models/columns-alterations/sort.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/width.columns-alteration.js → esm2020/datatable/models/columns-alterations/width.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-accessor.js → esm2020/datatable/models/datatable-accessor.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-data-source.js → esm2020/datatable/models/datatable-data-source.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-gql-data-source.js → esm2020/datatable/models/datatable-gql-data-source.mjs} +0 -0
- /package/{esm2015/datatable/models/internal-column-props.js → esm2020/datatable/models/internal-column-props.mjs} +0 -0
- /package/{esm2015/datatable/models/menubar-item-data.js → esm2020/datatable/models/menubar-item-data.mjs} +0 -0
- /package/{esm2015/datatable/models/page-info.js → esm2020/datatable/models/page-info.mjs} +0 -0
- /package/{esm2015/datatable/models/preferences-accessor.js → esm2020/datatable/models/preferences-accessor.mjs} +0 -0
- /package/{esm2015/datatable/models/preferences.js → esm2020/datatable/models/preferences.mjs} +0 -0
- /package/{esm2015/datatable/models/sort-event.js → esm2020/datatable/models/sort-event.mjs} +0 -0
- /package/{esm2015/datatable/models/sort-item.js → esm2020/datatable/models/sort-item.mjs} +0 -0
- /package/{esm2015/datatable/models/table-column.js → esm2020/datatable/models/table-column.mjs} +0 -0
- /package/{esm2015/datatable/public-api.js → esm2020/datatable/public-api.mjs} +0 -0
- /package/{esm2015/datatable/tokens/datatable-accessor.js → esm2020/datatable/tokens/datatable-accessor.mjs} +0 -0
- /package/{esm2015/datatable/tokens/datatable-preferences-accessor.js → esm2020/datatable/tokens/datatable-preferences-accessor.mjs} +0 -0
- /package/{esm2015/datatable/tokens/menubar-item-data.js → esm2020/datatable/tokens/menubar-item-data.mjs} +0 -0
- /package/{esm2015/datatable/utils/create-action-menu-column.js → esm2020/datatable/utils/create-action-menu-column.mjs} +0 -0
- /package/{esm2015/datatable/utils/create-checkbox-column.js → esm2020/datatable/utils/create-checkbox-column.mjs} +0 -0
- /package/{esm2015/datatable/utils/get-column-prop.js → esm2020/datatable/utils/get-column-prop.mjs} +0 -0
- /package/{esm2015/datatable/utils/map-columns-alterations-states.js → esm2020/datatable/utils/map-columns-alterations-states.mjs} +0 -0
- /package/{esm2015/datatable/utils/remove-unused-diffs.js → esm2020/datatable/utils/remove-unused-diffs.mjs} +0 -0
- /package/{esm2015/datatable/utils/set-column-defaults.js → esm2020/datatable/utils/set-column-defaults.mjs} +0 -0
- /package/{esm2015/datatable/utils/translate-templates.js → esm2020/datatable/utils/translate-templates.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-def.js → esm2020/datatable-dynamic/datatable-dynamic-def.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.js → esm2020/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-menu-bar-token.js → esm2020/datatable-dynamic/datatable-dynamic-menu-bar-token.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-action-menu-record.js → esm2020/datatable-dynamic/models/dynamic-datatable-action-menu-record.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-filter-menu-item.js → esm2020/datatable-dynamic/models/dynamic-datatable-filter-menu-item.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action-context.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action-context.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/index.js → esm2020/datatable-dynamic/models/index.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/public-api.js → esm2020/datatable-dynamic/public-api.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/theseam-ui-common-datatable-dynamic.js → esm2020/datatable-dynamic/theseam-ui-common-datatable-dynamic.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/index.js → esm2020/datatable-dynamic/utils/index.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api-def.js → esm2020/dynamic/action/api/dynamic-action-api-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api-errors.js → esm2020/dynamic/action/api/dynamic-action-api-errors.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api.js → esm2020/dynamic/action/api/dynamic-action-api.mjs} +0 -0
- /package/{esm2015/dynamic/action/index.js → esm2020/dynamic/action/index.mjs} +0 -0
- /package/{esm2015/dynamic/action/link/dynamic-action-link-def.js → esm2020/dynamic/action/link/dynamic-action-link-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/link/dynamic-action-link.js → esm2020/dynamic/action/link/dynamic-action-link.mjs} +0 -0
- /package/{esm2015/dynamic/action/modal/dynamic-action-modal-def.js → esm2020/dynamic/action/modal/dynamic-action-modal-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/modal/dynamic-action-modal.js → esm2020/dynamic/action/modal/dynamic-action-modal.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.js → esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/index.js → esm2020/dynamic/evaluators/exporters-data-evaluator/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/index.js → esm2020/dynamic/evaluators/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/jexl-evaluator/index.js → esm2020/dynamic/evaluators/jexl-evaluator/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/jexl-evaluator/jexl-value.js → esm2020/dynamic/evaluators/jexl-evaluator/jexl-value.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-confirm-def.js → esm2020/dynamic/models/dynamic-action-confirm-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-context.js → esm2020/dynamic/models/dynamic-action-context.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-def.js → esm2020/dynamic/models/dynamic-action-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-anchor-def.js → esm2020/dynamic/models/dynamic-action-ui-anchor-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-button-def.js → esm2020/dynamic/models/dynamic-action-ui-button-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-def.js → esm2020/dynamic/models/dynamic-action-ui-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action.js → esm2020/dynamic/models/dynamic-action.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-base-type.js → esm2020/dynamic/models/dynamic-value-base-type.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-evaluator.js → esm2020/dynamic/models/dynamic-value-evaluator.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-primitive.js → esm2020/dynamic/models/dynamic-value-primitive.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-type.js → esm2020/dynamic/models/dynamic-value-type.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value.js → esm2020/dynamic/models/dynamic-value.mjs} +0 -0
- /package/{esm2015/dynamic/models/index.js → esm2020/dynamic/models/index.mjs} +0 -0
- /package/{esm2015/dynamic/public-api.js → esm2020/dynamic/public-api.mjs} +0 -0
- /package/{esm2015/dynamic/theseam-ui-common-dynamic.js → esm2020/dynamic/theseam-ui-common-dynamic.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/api-config.js → esm2020/dynamic/tokens/api-config.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-action.js → esm2020/dynamic/tokens/dynamic-action.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-data.js → esm2020/dynamic/tokens/dynamic-data.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-value-evaluator.js → esm2020/dynamic/tokens/dynamic-value-evaluator.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/index.js → esm2020/dynamic/tokens/index.mjs} +0 -0
- /package/{esm2015/dynamic/utils/index.js → esm2020/dynamic/utils/index.mjs} +0 -0
- /package/{esm2015/dynamic/utils/is-action-type.js → esm2020/dynamic/utils/is-action-type.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/dynamic-component-tokens.js → esm2020/dynamic-component-loader/dynamic-component-tokens.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/public-api.js → esm2020/dynamic-component-loader/public-api.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.js → esm2020/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.mjs} +0 -0
- /package/{esm2015/footer-bar/public-api.js → esm2020/footer-bar/public-api.mjs} +0 -0
- /package/{esm2015/footer-bar/theseam-ui-common-footer-bar.js → esm2020/footer-bar/theseam-ui-common-footer-bar.mjs} +0 -0
- /package/{esm2015/form-field/theseam-ui-common-form-field.js → esm2020/form-field/theseam-ui-common-form-field.mjs} +0 -0
- /package/{esm2015/form-field-error/public-api.js → esm2020/form-field-error/public-api.mjs} +0 -0
- /package/{esm2015/form-field-error/theseam-ui-common-form-field-error.js → esm2020/form-field-error/theseam-ui-common-form-field-error.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-action.js → esm2020/framework/base-layout/base-layout-action.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-nav.js → esm2020/framework/base-layout/base-layout-nav.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-ref.js → esm2020/framework/base-layout/base-layout-ref.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-tokens.js → esm2020/framework/base-layout/base-layout-tokens.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-item.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-item.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.mjs} +0 -0
- /package/{esm2015/framework/dashboard/index.js → esm2020/framework/dashboard/index.mjs} +0 -0
- /package/{esm2015/framework/dynamic-router/dynamic-route-def.js → esm2020/framework/dynamic-router/dynamic-route-def.mjs} +0 -0
- /package/{esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.js → esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.mjs} +0 -0
- /package/{esm2015/framework/dynamic-router/index.js → esm2020/framework/dynamic-router/index.mjs} +0 -0
- /package/{esm2015/framework/public-api.js → esm2020/framework/public-api.mjs} +0 -0
- /package/{esm2015/framework/schema-form/index.js → esm2020/framework/schema-form/index.mjs} +0 -0
- /package/{esm2015/framework/side-nav/side-nav.models.js → esm2020/framework/side-nav/side-nav.models.mjs} +0 -0
- /package/{esm2015/framework/top-bar/index.js → esm2020/framework/top-bar/index.mjs} +0 -0
- /package/{esm2015/google-maps/google-maps-contextmenu.js → esm2020/google-maps/google-maps-contextmenu.mjs} +0 -0
- /package/{esm2015/google-maps/map-controls-service.js → esm2020/google-maps/map-controls-service.mjs} +0 -0
- /package/{esm2015/google-maps/public-api.js → esm2020/google-maps/public-api.mjs} +0 -0
- /package/{esm2015/graphql/datatable/index.js → esm2020/graphql/datatable/index.mjs} +0 -0
- /package/{esm2015/graphql/datatable/map-page-info.js → esm2020/graphql/datatable/map-page-info.mjs} +0 -0
- /package/{esm2015/graphql/datatable/mapper-context.js → esm2020/graphql/datatable/mapper-context.mjs} +0 -0
- /package/{esm2015/graphql/models/direction.js → esm2020/graphql/models/direction.mjs} +0 -0
- /package/{esm2015/graphql/models/gql-datatable-accessor.js → esm2020/graphql/models/gql-datatable-accessor.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-definition.js → esm2020/graphql/models/hint-definition.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-transform-operation.js → esm2020/graphql/models/hint-transform-operation.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-transformer.js → esm2020/graphql/models/hint-transformer.mjs} +0 -0
- /package/{esm2015/graphql/models/hints-kind.js → esm2020/graphql/models/hints-kind.mjs} +0 -0
- /package/{esm2015/graphql/models/hints-token.js → esm2020/graphql/models/hints-token.mjs} +0 -0
- /package/{esm2015/graphql/models/index.js → esm2020/graphql/models/index.mjs} +0 -0
- /package/{esm2015/graphql/models/query-processing-config.js → esm2020/graphql/models/query-processing-config.mjs} +0 -0
- /package/{esm2015/graphql/models/variable.js → esm2020/graphql/models/variable.mjs} +0 -0
- /package/{esm2015/graphql/public-api.js → esm2020/graphql/public-api.mjs} +0 -0
- /package/{esm2015/graphql/theseam-ui-common-graphql.js → esm2020/graphql/theseam-ui-common-graphql.mjs} +0 -0
- /package/{esm2015/graphql/utils/contains-variable.js → esm2020/graphql/utils/contains-variable.mjs} +0 -0
- /package/{esm2015/graphql/utils/gql-var.js → esm2020/graphql/utils/gql-var.mjs} +0 -0
- /package/{esm2015/graphql/utils/hints-tokens-containing-hint.js → esm2020/graphql/utils/hints-tokens-containing-hint.mjs} +0 -0
- /package/{esm2015/graphql/utils/index.js → esm2020/graphql/utils/index.mjs} +0 -0
- /package/{esm2015/graphql/utils/inline-variables.js → esm2020/graphql/utils/inline-variables.mjs} +0 -0
- /package/{esm2015/graphql/utils/parse-comments.js → esm2020/graphql/utils/parse-comments.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable-definition.js → esm2020/graphql/utils/remove-variable-definition.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable-definitions-not-defined.js → esm2020/graphql/utils/remove-variable-definitions-not-defined.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable.js → esm2020/graphql/utils/remove-variable.mjs} +0 -0
- /package/{esm2015/graphql/utils/to-gql.js → esm2020/graphql/utils/to-gql.mjs} +0 -0
- /package/{esm2015/icon/icon.js → esm2020/icon/icon.mjs} +0 -0
- /package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
- /package/{esm2015/icon/theseam-ui-common-icon.js → esm2020/icon/theseam-ui-common-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/file-extension-icon.js → esm2020/icon/utils/file-extension-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/get-known-icon.js → esm2020/icon/utils/get-known-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/index.js → esm2020/icon/utils/index.mjs} +0 -0
- /package/{esm2015/layout/breakpoint-aliases.js → esm2020/layout/breakpoint-aliases.mjs} +0 -0
- /package/{esm2015/layout/observe-media-query.js → esm2020/layout/observe-media-query.mjs} +0 -0
- /package/{esm2015/layout/public-api.js → esm2020/layout/public-api.mjs} +0 -0
- /package/{esm2015/layout/theseam-ui-common-layout.js → esm2020/layout/theseam-ui-common-layout.mjs} +0 -0
- /package/{esm2015/loading/loading-themes.js → esm2020/loading/loading-themes.mjs} +0 -0
- /package/{esm2015/loading/loading.models.js → esm2020/loading/loading.models.mjs} +0 -0
- /package/{esm2015/loading/public-api.js → esm2020/loading/public-api.mjs} +0 -0
- /package/{esm2015/loading/theseam-ui-common-loading.js → esm2020/loading/theseam-ui-common-loading.mjs} +0 -0
- /package/{esm2015/menu/menu-animations.js → esm2020/menu/menu-animations.mjs} +0 -0
- /package/{esm2015/menu/menu-panel-token.js → esm2020/menu/menu-panel-token.mjs} +0 -0
- /package/{esm2015/menu/menu-panel.js → esm2020/menu/menu-panel.mjs} +0 -0
- /package/{esm2015/menu/public-api.js → esm2020/menu/public-api.mjs} +0 -0
- /package/{esm2015/menu/theseam-ui-common-menu.js → esm2020/menu/theseam-ui-common-menu.mjs} +0 -0
- /package/{esm2015/modal/modal-injectors.js → esm2020/modal/modal-injectors.mjs} +0 -0
- /package/{esm2015/modal/modal-ref.js → esm2020/modal/modal-ref.mjs} +0 -0
- /package/{esm2015/modal/modal-utils.js → esm2020/modal/modal-utils.mjs} +0 -0
- /package/{esm2015/modal/public-api.js → esm2020/modal/public-api.mjs} +0 -0
- /package/{esm2015/modal/theseam-ui-common-modal.js → esm2020/modal/theseam-ui-common-modal.mjs} +0 -0
- /package/{esm2015/models/component-type.js → esm2020/models/component-type.mjs} +0 -0
- /package/{esm2015/models/http-status-codes.js → esm2020/models/http-status-codes.mjs} +0 -0
- /package/{esm2015/models/public-api.js → esm2020/models/public-api.mjs} +0 -0
- /package/{esm2015/models/size-prefixes.js → esm2020/models/size-prefixes.mjs} +0 -0
- /package/{esm2015/models/size-types.js → esm2020/models/size-types.mjs} +0 -0
- /package/{esm2015/models/theme-names.js → esm2020/models/theme-names.mjs} +0 -0
- /package/{esm2015/models/theme-prefixes.js → esm2020/models/theme-prefixes.mjs} +0 -0
- /package/{esm2015/models/theme-types.js → esm2020/models/theme-types.mjs} +0 -0
- /package/{esm2015/models/theseam-ui-common-models.js → esm2020/models/theseam-ui-common-models.mjs} +0 -0
- /package/{esm2015/popover/popover-animations.js → esm2020/popover/popover-animations.mjs} +0 -0
- /package/{esm2015/popover/public-api.js → esm2020/popover/public-api.mjs} +0 -0
- /package/{esm2015/popover/theseam-ui-common-popover.js → esm2020/popover/theseam-ui-common-popover.mjs} +0 -0
- /package/{esm2015/progress/public-api.js → esm2020/progress/public-api.mjs} +0 -0
- /package/{esm2015/progress/theseam-ui-common-progress.js → esm2020/progress/theseam-ui-common-progress.mjs} +0 -0
- /package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- /package/{esm2015/scrollbar/overlay-scrollbars-config-model.js → esm2020/scrollbar/overlay-scrollbars-config-model.mjs} +0 -0
- /package/{esm2015/scrollbar/public-api.js → esm2020/scrollbar/public-api.mjs} +0 -0
- /package/{esm2015/scrollbar/theseam-ui-common-scrollbar.js → esm2020/scrollbar/theseam-ui-common-scrollbar.mjs} +0 -0
- /package/{esm2015/services/public-api.js → esm2020/services/public-api.mjs} +0 -0
- /package/{esm2015/services/theseam-ui-common-services.js → esm2020/services/theseam-ui-common-services.mjs} +0 -0
- /package/{esm2015/shared/components/index.js → esm2020/shared/components/index.mjs} +0 -0
- /package/{esm2015/shared/directives/index.js → esm2020/shared/directives/index.mjs} +0 -0
- /package/{esm2015/shared/pipes/index.js → esm2020/shared/pipes/index.mjs} +0 -0
- /package/{esm2015/shared/public-api.js → esm2020/shared/public-api.mjs} +0 -0
- /package/{esm2015/shared/theseam-ui-common-shared.js → esm2020/shared/theseam-ui-common-shared.mjs} +0 -0
- /package/{esm2015/storage/localstorage-memory.js → esm2020/storage/localstorage-memory.mjs} +0 -0
- /package/{esm2015/storage/public-api.js → esm2020/storage/public-api.mjs} +0 -0
- /package/{esm2015/storage/theseam-ui-common-storage.js → esm2020/storage/theseam-ui-common-storage.mjs} +0 -0
- /package/{esm2015/story-helpers/initial-route-factory.js → esm2020/story-helpers/initial-route-factory.mjs} +0 -0
- /package/{esm2015/story-helpers/public-api.js → esm2020/story-helpers/public-api.mjs} +0 -0
- /package/{esm2015/story-helpers/route-button.js → esm2020/story-helpers/route-button.mjs} +0 -0
- /package/{esm2015/story-helpers/theseam-ui-common-story-helpers.js → esm2020/story-helpers/theseam-ui-common-story-helpers.mjs} +0 -0
- /package/{esm2015/tabbed/theseam-ui-common-tabbed.js → esm2020/tabbed/theseam-ui-common-tabbed.mjs} +0 -0
- /package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
- /package/{esm2015/table/theseam-ui-common-table.js → esm2020/table/theseam-ui-common-table.mjs} +0 -0
- /package/{esm2015/table-cell-type/public-api.js → esm2020/table-cell-type/public-api.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-action.js → esm2020/table-cell-type/table-cell-type-action.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-column.js → esm2020/table-cell-type/table-cell-type-column.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-config.js → esm2020/table-cell-type/table-cell-type-config.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-export-props.js → esm2020/table-cell-type/table-cell-type-export-props.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-manifest-provider.js → esm2020/table-cell-type/table-cell-type-manifest-provider.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-models.js → esm2020/table-cell-type/table-cell-type-models.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-name.js → esm2020/table-cell-type/table-cell-type-name.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-tokens.js → esm2020/table-cell-type/table-cell-type-tokens.mjs} +0 -0
- /package/{esm2015/table-cell-type/theseam-ui-common-table-cell-type.js → esm2020/table-cell-type/theseam-ui-common-table-cell-type.mjs} +0 -0
- /package/{esm2015/table-cell-types/public-api.js → esm2020/table-cell-types/public-api.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date-config.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.js → esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.js → esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.js → esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.js → esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-string/table-cell-type-string-config.js → esm2020/table-cell-types/table-cell-type-string/table-cell-type-string-config.mjs} +0 -0
- /package/{esm2015/tel-input/intl-tel-input.js → esm2020/tel-input/intl-tel-input.mjs} +0 -0
- /package/{esm2015/tel-input/models/index.js → esm2020/tel-input/models/index.mjs} +0 -0
- /package/{esm2015/tel-input/models/tel-input-country-data.js → esm2020/tel-input/models/tel-input-country-data.mjs} +0 -0
- /package/{esm2015/tel-input/models/tel-input-number-format-name.js → esm2020/tel-input/models/tel-input-number-format-name.mjs} +0 -0
- /package/{esm2015/tel-input/public-api.js → esm2020/tel-input/public-api.mjs} +0 -0
- /package/{esm2015/tel-input/tel-input-constants.js → esm2020/tel-input/tel-input-constants.mjs} +0 -0
- /package/{esm2015/tel-input/theseam-ui-common-tel-input.js → esm2020/tel-input/theseam-ui-common-tel-input.mjs} +0 -0
- /package/{esm2015/tel-input/utils/add-country-code.js → esm2020/tel-input/utils/add-country-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/coerce-phone-number-format.js → esm2020/tel-input/utils/coerce-phone-number-format.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-country-code.js → esm2020/tel-input/utils/get-country-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-dial-code.js → esm2020/tel-input/utils/get-dial-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-global-intl-tel-input-globals.js → esm2020/tel-input/utils/get-global-intl-tel-input-globals.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-global-intl-tel-input-utils.js → esm2020/tel-input/utils/get-global-intl-tel-input-utils.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-intl-tel-input-utils.js → esm2020/tel-input/utils/get-intl-tel-input-utils.mjs} +0 -0
- /package/{esm2015/tel-input/utils/index.js → esm2020/tel-input/utils/index.mjs} +0 -0
- /package/{esm2015/tel-input/utils/process-country-codes.js → esm2020/tel-input/utils/process-country-codes.mjs} +0 -0
- /package/{esm2015/testing/current-tick-time.js → esm2020/testing/current-tick-time.mjs} +0 -0
- /package/{esm2015/testing/fake-toastr.js → esm2020/testing/fake-toastr.mjs} +0 -0
- /package/{esm2015/testing/public-api.js → esm2020/testing/public-api.mjs} +0 -0
- /package/{esm2015/testing/theseam-ui-common-testing.js → esm2020/testing/theseam-ui-common-testing.mjs} +0 -0
- /package/{esm2015/testing/tick-helper.js → esm2020/testing/tick-helper.mjs} +0 -0
- /package/{esm2015/theseam-ui-common.js → esm2020/theseam-ui-common.mjs} +0 -0
- /package/{esm2015/tiled-select/theseam-ui-common-tiled-select.js → esm2020/tiled-select/theseam-ui-common-tiled-select.mjs} +0 -0
- /package/{esm2015/tiled-select/tiled-select.models.js → esm2020/tiled-select/tiled-select.models.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/can-toggle-edit.js → esm2020/toggle-edit/models/can-toggle-edit.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/index.js → esm2020/toggle-edit/models/index.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/toggle-edit-ref.js → esm2020/toggle-edit/models/toggle-edit-ref.mjs} +0 -0
- /package/{esm2015/toggle-edit/public-api.js → esm2020/toggle-edit/public-api.mjs} +0 -0
- /package/{esm2015/toggle-edit/theseam-ui-common-toggle-edit.js → esm2020/toggle-edit/theseam-ui-common-toggle-edit.mjs} +0 -0
- /package/{esm2015/toggle-group/public-api.js → esm2020/toggle-group/public-api.mjs} +0 -0
- /package/{esm2015/toggle-group/theseam-ui-common-toggle-group.js → esm2020/toggle-group/theseam-ui-common-toggle-group.mjs} +0 -0
- /package/{esm2015/unsaved-changes-dialog/public-api.js → esm2020/unsaved-changes-dialog/public-api.mjs} +0 -0
- /package/{esm2015/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.js → esm2020/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.mjs} +0 -0
- /package/{esm2015/utils/array-move.js → esm2020/utils/array-move.mjs} +0 -0
- /package/{esm2015/utils/calc-percentage.js → esm2020/utils/calc-percentage.mjs} +0 -0
- /package/{esm2015/utils/cdk/get-closest-widget-cdk-drag.js → esm2020/utils/cdk/get-closest-widget-cdk-drag.mjs} +0 -0
- /package/{esm2015/utils/create-padding.js → esm2020/utils/create-padding.mjs} +0 -0
- /package/{esm2015/utils/form/get-control-name.js → esm2020/utils/form/get-control-name.mjs} +0 -0
- /package/{esm2015/utils/form/get-control-path.js → esm2020/utils/form/get-control-path.mjs} +0 -0
- /package/{esm2015/utils/form/has-required-control.js → esm2020/utils/form/has-required-control.mjs} +0 -0
- /package/{esm2015/utils/form/is-empty-input-value.js → esm2020/utils/form/is-empty-input-value.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-is-different.js → esm2020/utils/form/observe-control-is-different.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-status.js → esm2020/utils/form/observe-control-status.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-valid.js → esm2020/utils/form/observe-control-valid.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-value-change.js → esm2020/utils/form/observe-control-value-change.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-value.js → esm2020/utils/form/observe-control-value.mjs} +0 -0
- /package/{esm2015/utils/form/wait-on-non-pending-status.js → esm2020/utils/form/wait-on-non-pending-status.mjs} +0 -0
- /package/{esm2015/utils/fractional-digits-count.js → esm2020/utils/fractional-digits-count.mjs} +0 -0
- /package/{esm2015/utils/geo-json/min-max-points.validator.js → esm2020/utils/geo-json/min-max-points.validator.mjs} +0 -0
- /package/{esm2015/utils/geo-json/no-kinks.validator.js → esm2020/utils/geo-json/no-kinks.validator.mjs} +0 -0
- /package/{esm2015/utils/get-attribute.js → esm2020/utils/get-attribute.mjs} +0 -0
- /package/{esm2015/utils/has-attribute.js → esm2020/utils/has-attribute.mjs} +0 -0
- /package/{esm2015/utils/has-property.js → esm2020/utils/has-property.mjs} +0 -0
- /package/{esm2015/utils/input-masks.js → esm2020/utils/input-masks.mjs} +0 -0
- /package/{esm2015/utils/is-absolute-url.js → esm2020/utils/is-absolute-url.mjs} +0 -0
- /package/{esm2015/utils/is-null-or-undefined.js → esm2020/utils/is-null-or-undefined.mjs} +0 -0
- /package/{esm2015/utils/is-numeric.js → esm2020/utils/is-numeric.mjs} +0 -0
- /package/{esm2015/utils/load-style-sheet.js → esm2020/utils/load-style-sheet.mjs} +0 -0
- /package/{esm2015/utils/load-style.js → esm2020/utils/load-style.mjs} +0 -0
- /package/{esm2015/utils/not-null-or-undefined.js → esm2020/utils/not-null-or-undefined.mjs} +0 -0
- /package/{esm2015/utils/observe-query-list.js → esm2020/utils/observe-query-list.mjs} +0 -0
- /package/{esm2015/utils/operators/index.js → esm2020/utils/operators/index.mjs} +0 -0
- /package/{esm2015/utils/operators/map-each.js → esm2020/utils/operators/map-each.mjs} +0 -0
- /package/{esm2015/utils/operators/tap-first.js → esm2020/utils/operators/tap-first.mjs} +0 -0
- /package/{esm2015/utils/pad-end.js → esm2020/utils/pad-end.mjs} +0 -0
- /package/{esm2015/utils/pad-start.js → esm2020/utils/pad-start.mjs} +0 -0
- /package/{esm2015/utils/public-api.js → esm2020/utils/public-api.mjs} +0 -0
- /package/{esm2015/utils/refreshable.js → esm2020/utils/refreshable.mjs} +0 -0
- /package/{esm2015/utils/router/index.js → esm2020/utils/router/index.mjs} +0 -0
- /package/{esm2015/utils/router/is-empty-url-route.js → esm2020/utils/router/is-empty-url-route.mjs} +0 -0
- /package/{esm2015/utils/router/leaf-child-route.js → esm2020/utils/router/leaf-child-route.mjs} +0 -0
- /package/{esm2015/utils/router/operators/activated-routes-with-data-property.js → esm2020/utils/router/operators/activated-routes-with-data-property.mjs} +0 -0
- /package/{esm2015/utils/router/route-snapshot-path-full.js → esm2020/utils/router/route-snapshot-path-full.mjs} +0 -0
- /package/{esm2015/utils/router/route-snapshot-path-relative.js → esm2020/utils/router/route-snapshot-path-relative.mjs} +0 -0
- /package/{esm2015/utils/router/will-have-data-prop.js → esm2020/utils/router/will-have-data-prop.mjs} +0 -0
- /package/{esm2015/utils/theseam-ui-common-utils.js → esm2020/utils/theseam-ui-common-utils.mjs} +0 -0
- /package/{esm2015/utils/toggle-attribute.js → esm2020/utils/toggle-attribute.mjs} +0 -0
- /package/{esm2015/utils/wrap-into-observable.js → esm2020/utils/wrap-into-observable.mjs} +0 -0
- /package/{esm2015/validators/decimal.validator.js → esm2020/validators/decimal.validator.mjs} +0 -0
- /package/{esm2015/validators/email-exists.validator.js → esm2020/validators/email-exists.validator.mjs} +0 -0
- /package/{esm2015/validators/integer.validator.js → esm2020/validators/integer.validator.mjs} +0 -0
- /package/{esm2015/validators/phone-length.validator.js → esm2020/validators/phone-length.validator.mjs} +0 -0
- /package/{esm2015/validators/public-api.js → esm2020/validators/public-api.mjs} +0 -0
- /package/{esm2015/validators/tax-id.validator.js → esm2020/validators/tax-id.validator.mjs} +0 -0
- /package/{esm2015/validators/theseam-ui-common-validators.js → esm2020/validators/theseam-ui-common-validators.mjs} +0 -0
- /package/{esm2015/viewers/html-template-viewer/index.js → esm2020/viewers/html-template-viewer/index.mjs} +0 -0
- /package/{esm2015/viewers/pdf-viewer/index.js → esm2020/viewers/pdf-viewer/index.mjs} +0 -0
- /package/{esm2015/viewers/public-api.js → esm2020/viewers/public-api.mjs} +0 -0
- /package/{esm2015/viewers/theseam-ui-common-viewers.js → esm2020/viewers/theseam-ui-common-viewers.mjs} +0 -0
- /package/{esm2015/widget/public-api.js → esm2020/widget/public-api.mjs} +0 -0
- /package/{esm2015/widget/theseam-ui-common-widget.js → esm2020/widget/theseam-ui-common-widget.mjs} +0 -0
- /package/{esm2015/widget/widget-registry.models.js → esm2020/widget/widget-registry.models.mjs} +0 -0
- /package/{esm2015/widget/widget-token.js → esm2020/widget/widget-token.mjs} +0 -0
|
@@ -1,1890 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs/operators'), require('rxjs'), require('@turf/area'), require('@turf/helpers'), require('@turf/kinks'), require('@angular/core'), require('@marklb/file-type'), require('shpjs')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@theseam/ui-common/utils', ['exports', 'rxjs/operators', 'rxjs', '@turf/area', '@turf/helpers', '@turf/kinks', '@angular/core', '@marklb/file-type', 'shpjs'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.theseam = global.theseam || {}, global.theseam["ui-common"] = global.theseam["ui-common"] || {}, global.theseam["ui-common"].utils = {}), global.rxjs.operators, global.rxjs, global.area, global.helpers, global.kinks, global.ng.core, global.fileType, global.shp));
|
|
5
|
-
})(this, (function (exports, operators, rxjs, area, helpers, kinks, core, fileType, shp) { 'use strict';
|
|
6
|
-
|
|
7
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
-
|
|
9
|
-
var area__default = /*#__PURE__*/_interopDefaultLegacy(area);
|
|
10
|
-
var kinks__default = /*#__PURE__*/_interopDefaultLegacy(kinks);
|
|
11
|
-
var fileType__default = /*#__PURE__*/_interopDefaultLegacy(fileType);
|
|
12
|
-
var shp__default = /*#__PURE__*/_interopDefaultLegacy(shp);
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
function getAttribute(element, name) {
|
|
18
|
-
return element.getAttribute(name);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
function hasAttribute(element, name) {
|
|
25
|
-
return element.hasAttribute(name);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Finds the closest CdkDrag to an element by looking at the DOM.
|
|
30
|
-
* @param element Element relative to which to look for a cdkDrag.
|
|
31
|
-
* @param openDialogs References to the currently available cdkDrag.
|
|
32
|
-
*/
|
|
33
|
-
function getClosestWidgetCdkDrag(element, dragDirectives) {
|
|
34
|
-
var parent = element.nativeElement.parentElement;
|
|
35
|
-
while (parent && !(parent.classList.contains('cdk-drag') && hasAttribute(parent, 'data-widget-id'))) {
|
|
36
|
-
parent = parent.parentElement;
|
|
37
|
-
}
|
|
38
|
-
var parentId = parent ? getAttribute(parent, 'data-widget-id') : null;
|
|
39
|
-
return parentId ?
|
|
40
|
-
dragDirectives.find(function (drag) { return getAttribute(drag.getRootElement(), 'data-widget-id') === parentId; })
|
|
41
|
-
: null;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Get the name of the control.
|
|
46
|
-
*
|
|
47
|
-
* Example:
|
|
48
|
-
*
|
|
49
|
-
* ```js
|
|
50
|
-
* const group = new FormGroup({
|
|
51
|
-
* name: new Control(),
|
|
52
|
-
* age: new Control()
|
|
53
|
-
* })
|
|
54
|
-
*
|
|
55
|
-
* for (const c of group.controls) {
|
|
56
|
-
* console.log(getControlName(c))
|
|
57
|
-
* }
|
|
58
|
-
*
|
|
59
|
-
* // Output:
|
|
60
|
-
* // >> 'name'
|
|
61
|
-
* // >> 'age'
|
|
62
|
-
* ```
|
|
63
|
-
*/
|
|
64
|
-
function getControlName(c) {
|
|
65
|
-
if (!c.parent) {
|
|
66
|
-
return null;
|
|
67
|
-
}
|
|
68
|
-
// NOTE: Typed as 'any' because using string for array index is not valid for
|
|
69
|
-
// array index type, but it works and we actually want the index as a string
|
|
70
|
-
// anyway.
|
|
71
|
-
var controls = c.parent.controls;
|
|
72
|
-
return Object.keys(controls).find(function (name) { return c === controls[name]; }) || null;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Get the path to a control.
|
|
77
|
-
*
|
|
78
|
-
* The path is built by walking back the `parent` properties until `parent` is
|
|
79
|
-
* `null`.
|
|
80
|
-
*
|
|
81
|
-
* Example:
|
|
82
|
-
*
|
|
83
|
-
* ```js
|
|
84
|
-
* const group = new FormGroup({
|
|
85
|
-
* name: new FormControl(),
|
|
86
|
-
* address: new FormGroup({
|
|
87
|
-
* city: new FormControl(),
|
|
88
|
-
* state: new FormControl()
|
|
89
|
-
* })
|
|
90
|
-
* })
|
|
91
|
-
*
|
|
92
|
-
* const control = group.get('address.city')
|
|
93
|
-
* console.log(getControlPath(control))
|
|
94
|
-
*
|
|
95
|
-
* // Output:
|
|
96
|
-
* >> 'address.city'
|
|
97
|
-
* ```
|
|
98
|
-
*
|
|
99
|
-
*/
|
|
100
|
-
function getControlPath(c, path) {
|
|
101
|
-
if (path === void 0) { path = ''; }
|
|
102
|
-
path = getControlName(c) + path;
|
|
103
|
-
if (c.parent && getControlName(c.parent)) {
|
|
104
|
-
path = '.' + path;
|
|
105
|
-
return getControlPath(c.parent, path);
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
return path;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Observe the value of a control.
|
|
114
|
-
*/
|
|
115
|
-
function observeControlValue(control) {
|
|
116
|
-
return rxjs.of(control)
|
|
117
|
-
.pipe(operators.switchMap(function (_control) { return _control.valueChanges
|
|
118
|
-
.pipe(operators.startWith(_control.value)); }));
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* Observe the changed state of the input value from the time this function is
|
|
123
|
-
* called.
|
|
124
|
-
*
|
|
125
|
-
* When this function is called the value is stored. Each time the control's
|
|
126
|
-
* value changes the value is compared with the initial value. Currenly the
|
|
127
|
-
* values are compared as stringified objects using `JSON.stringify`.
|
|
128
|
-
*
|
|
129
|
-
* TODO: Allow the value compare implementation to be optionally changed.
|
|
130
|
-
*/
|
|
131
|
-
function observeControlIsDifferent(control) {
|
|
132
|
-
var _initial = JSON.stringify(control.value);
|
|
133
|
-
return observeControlValue(control)
|
|
134
|
-
.pipe(operators.map(function (value) { return JSON.stringify(value) !== _initial; }), operators.distinctUntilChanged());
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* Wait on the status of a form control to not be `'PENDING'`.
|
|
139
|
-
*
|
|
140
|
-
* NOTE: This function is mainly just a work around for an issue where
|
|
141
|
-
* `statusChanges` sometimes emits `'Pending'` without emitting another state
|
|
142
|
-
* when complete. Seems to happen with async validators if the value changes
|
|
143
|
-
* before completing, even if the validator completes(subscription `complete`
|
|
144
|
-
* if observable).
|
|
145
|
-
*/
|
|
146
|
-
function waitOnNonPendingStatus(control) {
|
|
147
|
-
return rxjs.merge(control.statusChanges, rxjs.interval(30).pipe(operators.mapTo(control), operators.map(function (c) { return c.status; })))
|
|
148
|
-
.pipe(operators.startWith(control.status))
|
|
149
|
-
.pipe(operators.filter(function (v) { return v !== 'PENDING'; }))
|
|
150
|
-
.pipe(operators.take(1));
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* Observe the status of a control using a work around for status not changing
|
|
155
|
-
* after pending.
|
|
156
|
-
*/
|
|
157
|
-
function observeControlStatus(control) {
|
|
158
|
-
return rxjs.of(control)
|
|
159
|
-
.pipe(operators.switchMap(function (_control) { return _control.statusChanges
|
|
160
|
-
.pipe(operators.startWith(_control.status))
|
|
161
|
-
.pipe(operators.switchMap(function (status) { return status === 'PENDING'
|
|
162
|
-
? waitOnNonPendingStatus(control)
|
|
163
|
-
.pipe(operators.startWith(status))
|
|
164
|
-
: rxjs.of(status); })); }));
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Observe the valid state of a control.
|
|
169
|
-
*
|
|
170
|
-
* By default `waitOnPending` is false and the control states map to:
|
|
171
|
-
* 'VALID' => true
|
|
172
|
-
* 'INVALID' => false
|
|
173
|
-
* 'PENDING' => false
|
|
174
|
-
*
|
|
175
|
-
* If `waitOnPending` is true the valid result when 'PENDING' remains the same
|
|
176
|
-
* as it was before 'PENDING' until it is no longer 'PENDING'.
|
|
177
|
-
*/
|
|
178
|
-
function observeControlValid(control, waitOnPending) {
|
|
179
|
-
if (waitOnPending === void 0) { waitOnPending = false; }
|
|
180
|
-
if (waitOnPending) {
|
|
181
|
-
return observeControlStatus(control)
|
|
182
|
-
.pipe(operators.distinctUntilChanged())
|
|
183
|
-
.pipe(operators.startWith(undefined))
|
|
184
|
-
.pipe(operators.pairwise())
|
|
185
|
-
.pipe(operators.map(function (v) { return ({ previous: v[0], current: v[1] }); }))
|
|
186
|
-
.pipe(operators.map(function (v) { return v.current === 'PENDING' ? v.previous : v.current; }))
|
|
187
|
-
.pipe(operators.map(function (status) { return status === 'VALID'; }));
|
|
188
|
-
}
|
|
189
|
-
else {
|
|
190
|
-
return observeControlStatus(control)
|
|
191
|
-
.pipe(operators.distinctUntilChanged())
|
|
192
|
-
.pipe(operators.map(function (status) { return status === 'VALID'; }));
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Observe the value of a control with the previous.
|
|
198
|
-
*/
|
|
199
|
-
function observeControlValueChange(control) {
|
|
200
|
-
return observeControlValue(control)
|
|
201
|
-
.pipe(operators.startWith(undefined), operators.pairwise(), operators.map(function (v) { return ({ previous: v[0], current: v[1] }); }));
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
// Source: https://stackoverflow.com/a/59361497/7926298
|
|
205
|
-
function hasProperty(style, prop
|
|
206
|
-
// ): style is T & { [P in K]-?: Exclude<T[K], undefined> } {
|
|
207
|
-
) {
|
|
208
|
-
return style.hasOwnProperty(prop) && style[prop] !== undefined;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Check if control has a required control.
|
|
213
|
-
*
|
|
214
|
-
* ----------------------------------------------------------------------------
|
|
215
|
-
* NOTE: I am not sure about if this should be used or not.
|
|
216
|
-
*
|
|
217
|
-
* From my understanding this assumes that all the validators do not have some
|
|
218
|
-
* unexpected side-effect from being called like this. It could be argued that
|
|
219
|
-
* the validator is flawed and should be fixed if that is the case, but I am not
|
|
220
|
-
* convinced that is correct yet.
|
|
221
|
-
*
|
|
222
|
-
* An example that I think is valid for this argument: A FormControl configured
|
|
223
|
-
* to only check validators when a specific condition happens, because of a
|
|
224
|
-
* reason that it has to do a long process. In that situation should this
|
|
225
|
-
* function be smart enough to consider that or is it up to the validator to
|
|
226
|
-
* consider this function possibly being used.
|
|
227
|
-
*
|
|
228
|
-
* This seems to assume the required validator will always be a synchronous
|
|
229
|
-
* validator. That is a valid assumption if thinking about showing a required
|
|
230
|
-
* state in the UI, but a FormControl does not neccessarily have to be used in
|
|
231
|
-
* UI. So, I think it could be valid to have an async validator that uses the
|
|
232
|
-
* name `required` for it error, but I do not have a good example, so I could be
|
|
233
|
-
* wrong.
|
|
234
|
-
* ----------------------------------------------------------------------------
|
|
235
|
-
*
|
|
236
|
-
* Source: https://gist.github.com/jsdevtom/5589af349a395b37e699b67417ef025b
|
|
237
|
-
* @experimental
|
|
238
|
-
* @ignore
|
|
239
|
-
*/
|
|
240
|
-
function hasRequiredControl(abstractControl) {
|
|
241
|
-
if (abstractControl.validator) {
|
|
242
|
-
var validator = abstractControl.validator({});
|
|
243
|
-
if (validator && validator.required) {
|
|
244
|
-
return true;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
var _abstractControl = abstractControl;
|
|
248
|
-
if (hasProperty(_abstractControl, 'controls')) {
|
|
249
|
-
for (var controlName in _abstractControl.controls) {
|
|
250
|
-
if (_abstractControl.controls[controlName]) {
|
|
251
|
-
if (hasRequiredControl(_abstractControl.controls[controlName])) {
|
|
252
|
-
return true;
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
return false;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
// Source: https://github.com/angular/angular/blob/master/packages/forms/src/validators.ts#L16
|
|
261
|
-
function isEmptyInputValue(value) {
|
|
262
|
-
// we don't check for string here so it also works with arrays
|
|
263
|
-
return value == null || value.length === 0;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
function mapEach(predicate) {
|
|
267
|
-
return function (source$) { return source$.pipe(operators.switchMap(function (v) { return rxjs.from(v).pipe(operators.map(function (m) { return predicate(m); }), operators.toArray()); })); };
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* Like tap, but only calls predicate on first emission.
|
|
272
|
-
*/
|
|
273
|
-
function tapFirst(predicate) {
|
|
274
|
-
var _initialized = false;
|
|
275
|
-
return function (source$) { return source$.pipe(operators.tap(function (v) {
|
|
276
|
-
if (!_initialized) {
|
|
277
|
-
predicate(v);
|
|
278
|
-
_initialized = true;
|
|
279
|
-
}
|
|
280
|
-
})); };
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
function leafChildRoute(activatedRoute) {
|
|
284
|
-
var route = activatedRoute;
|
|
285
|
-
while (route.firstChild) {
|
|
286
|
-
route = route.firstChild;
|
|
287
|
-
}
|
|
288
|
-
return route;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
function hasRouteConfigDataProp(route, prop) {
|
|
292
|
-
return !!(route && route.routeConfig && route.routeConfig.data && route.routeConfig.data.hasOwnProperty(prop));
|
|
293
|
-
}
|
|
294
|
-
function hasRouteConfigResolveProp(route, prop) {
|
|
295
|
-
return !!(route && route.routeConfig && route.routeConfig.resolve && route.routeConfig.resolve.hasOwnProperty(prop));
|
|
296
|
-
}
|
|
297
|
-
function willHaveDataProp(route, prop) {
|
|
298
|
-
return hasRouteConfigDataProp(route, prop) || hasRouteConfigResolveProp(route, prop);
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
function activatedRoutesWithDataProperty(prop, mustHaveDefined) {
|
|
302
|
-
if (mustHaveDefined === void 0) { mustHaveDefined = false; }
|
|
303
|
-
var _data = function (r) { return r.data.pipe(operators.map(function (_d) { return ({ route: r, data: _d }); })); };
|
|
304
|
-
return function (source$) { return source$.pipe(operators.map(function (route) { return leafChildRoute(route); }), operators.map(function (route) { return route.pathFromRoot; }), operators.switchMap(function (routes) { return rxjs.combineLatest(routes.map(function (r) { return _data(r); })); }), operators.map(function (v) { return v.filter(function (_v) { return _v.data.hasOwnProperty(prop); }); }), operators.map(function (v) { return mustHaveDefined
|
|
305
|
-
? v.filter(function (_v) { return willHaveDataProp(_v.route, prop); })
|
|
306
|
-
: v; })); };
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
function routeSnapshotPathRelative(route) {
|
|
310
|
-
return route.url.reduce(function (path, urlSegment) { return path += '/' + urlSegment.path; }, '');
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
function routeSnapshotPathFull(route) {
|
|
314
|
-
return route.pathFromRoot.reduce(function (path, _route) { return path += routeSnapshotPathRelative(_route); }, '');
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
function isEmptyUrlRoute(activatedRoute) {
|
|
318
|
-
return activatedRoute.snapshot.url.length === 0;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
// TODO: Make this more thorough and maybe error on unrecognized.
|
|
322
|
-
function coerceFeatureCollection(value) {
|
|
323
|
-
return parseValue(value);
|
|
324
|
-
}
|
|
325
|
-
/**
|
|
326
|
-
* Parses the value to a FeatureCollection object or null if it is not a
|
|
327
|
-
* FeatureCollection.
|
|
328
|
-
*/
|
|
329
|
-
function parseValue(value) {
|
|
330
|
-
var _value = parseStringValue(value);
|
|
331
|
-
if (isFeatureCollectionValue(_value)) {
|
|
332
|
-
return _value;
|
|
333
|
-
}
|
|
334
|
-
return null;
|
|
335
|
-
}
|
|
336
|
-
/**
|
|
337
|
-
* Tries to parse the value to an object, in case the value is a stringified
|
|
338
|
-
* json.
|
|
339
|
-
*/
|
|
340
|
-
function parseStringValue(value) {
|
|
341
|
-
if (typeof value === 'string') {
|
|
342
|
-
try {
|
|
343
|
-
return JSON.parse(value);
|
|
344
|
-
}
|
|
345
|
-
catch (_a) {
|
|
346
|
-
return null;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
return value;
|
|
350
|
-
}
|
|
351
|
-
/**
|
|
352
|
-
* Checks if the value is a FeatureCollection.
|
|
353
|
-
*
|
|
354
|
-
* NOTE: This is not a thorough FeatureCollection check. It only checks that the
|
|
355
|
-
* value is an object resembling a GeoJSON.FeatureCollection, enough for the
|
|
356
|
-
* validator.
|
|
357
|
-
*/
|
|
358
|
-
function isFeatureCollectionValue(value) {
|
|
359
|
-
if (value === undefined || value === null) {
|
|
360
|
-
return false;
|
|
361
|
-
}
|
|
362
|
-
return value.type === 'FeatureCollection' && Array.isArray(value.features);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
*
|
|
367
|
-
*/
|
|
368
|
-
function geoJsonToArea(geoJson, units) {
|
|
369
|
-
if (units === void 0) { units = 'acres'; }
|
|
370
|
-
var area_mSqr = area__default["default"](geoJson);
|
|
371
|
-
var acres = helpers.convertArea(area_mSqr, 'meters', units);
|
|
372
|
-
return acres;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
var IS_FEATURE_COLLECTION_VALIDATOR_NAME = 'is-feature-collection';
|
|
376
|
-
function isFeatureCollectionValidator() {
|
|
377
|
-
return function (control) {
|
|
378
|
-
var _a;
|
|
379
|
-
// Don't need to validate if there isn't a value. Use `Validators.required` for that.
|
|
380
|
-
if (isEmptyInputValue(control.value)) {
|
|
381
|
-
return null; // don't validate empty values to allow optional controls
|
|
382
|
-
}
|
|
383
|
-
var value = coerceFeatureCollection(control.value);
|
|
384
|
-
if (value === null) {
|
|
385
|
-
return _a = {},
|
|
386
|
-
_a[IS_FEATURE_COLLECTION_VALIDATOR_NAME] = {
|
|
387
|
-
reason: "Must be a FeatureCollection.",
|
|
388
|
-
},
|
|
389
|
-
_a;
|
|
390
|
-
}
|
|
391
|
-
return null;
|
|
392
|
-
};
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
/*! *****************************************************************************
|
|
396
|
-
Copyright (c) Microsoft Corporation.
|
|
397
|
-
|
|
398
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
399
|
-
purpose with or without fee is hereby granted.
|
|
400
|
-
|
|
401
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
402
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
403
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
404
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
405
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
406
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
407
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
408
|
-
***************************************************************************** */
|
|
409
|
-
/* global Reflect, Promise */
|
|
410
|
-
var extendStatics = function (d, b) {
|
|
411
|
-
extendStatics = Object.setPrototypeOf ||
|
|
412
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
413
|
-
function (d, b) { for (var p in b)
|
|
414
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
415
|
-
d[p] = b[p]; };
|
|
416
|
-
return extendStatics(d, b);
|
|
417
|
-
};
|
|
418
|
-
function __extends(d, b) {
|
|
419
|
-
if (typeof b !== "function" && b !== null)
|
|
420
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
421
|
-
extendStatics(d, b);
|
|
422
|
-
function __() { this.constructor = d; }
|
|
423
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
424
|
-
}
|
|
425
|
-
var __assign = function () {
|
|
426
|
-
__assign = Object.assign || function __assign(t) {
|
|
427
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
428
|
-
s = arguments[i];
|
|
429
|
-
for (var p in s)
|
|
430
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
431
|
-
t[p] = s[p];
|
|
432
|
-
}
|
|
433
|
-
return t;
|
|
434
|
-
};
|
|
435
|
-
return __assign.apply(this, arguments);
|
|
436
|
-
};
|
|
437
|
-
function __rest(s, e) {
|
|
438
|
-
var t = {};
|
|
439
|
-
for (var p in s)
|
|
440
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
441
|
-
t[p] = s[p];
|
|
442
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
443
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
444
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
445
|
-
t[p[i]] = s[p[i]];
|
|
446
|
-
}
|
|
447
|
-
return t;
|
|
448
|
-
}
|
|
449
|
-
function __decorate(decorators, target, key, desc) {
|
|
450
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
451
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
452
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
453
|
-
else
|
|
454
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
455
|
-
if (d = decorators[i])
|
|
456
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
457
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
458
|
-
}
|
|
459
|
-
function __param(paramIndex, decorator) {
|
|
460
|
-
return function (target, key) { decorator(target, key, paramIndex); };
|
|
461
|
-
}
|
|
462
|
-
function __metadata(metadataKey, metadataValue) {
|
|
463
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
464
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
465
|
-
}
|
|
466
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
467
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
468
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
469
|
-
function fulfilled(value) { try {
|
|
470
|
-
step(generator.next(value));
|
|
471
|
-
}
|
|
472
|
-
catch (e) {
|
|
473
|
-
reject(e);
|
|
474
|
-
} }
|
|
475
|
-
function rejected(value) { try {
|
|
476
|
-
step(generator["throw"](value));
|
|
477
|
-
}
|
|
478
|
-
catch (e) {
|
|
479
|
-
reject(e);
|
|
480
|
-
} }
|
|
481
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
482
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
483
|
-
});
|
|
484
|
-
}
|
|
485
|
-
function __generator(thisArg, body) {
|
|
486
|
-
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
487
|
-
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
488
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
489
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
490
|
-
function step(op) {
|
|
491
|
-
if (f)
|
|
492
|
-
throw new TypeError("Generator is already executing.");
|
|
493
|
-
while (_)
|
|
494
|
-
try {
|
|
495
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
496
|
-
return t;
|
|
497
|
-
if (y = 0, t)
|
|
498
|
-
op = [op[0] & 2, t.value];
|
|
499
|
-
switch (op[0]) {
|
|
500
|
-
case 0:
|
|
501
|
-
case 1:
|
|
502
|
-
t = op;
|
|
503
|
-
break;
|
|
504
|
-
case 4:
|
|
505
|
-
_.label++;
|
|
506
|
-
return { value: op[1], done: false };
|
|
507
|
-
case 5:
|
|
508
|
-
_.label++;
|
|
509
|
-
y = op[1];
|
|
510
|
-
op = [0];
|
|
511
|
-
continue;
|
|
512
|
-
case 7:
|
|
513
|
-
op = _.ops.pop();
|
|
514
|
-
_.trys.pop();
|
|
515
|
-
continue;
|
|
516
|
-
default:
|
|
517
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
518
|
-
_ = 0;
|
|
519
|
-
continue;
|
|
520
|
-
}
|
|
521
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
522
|
-
_.label = op[1];
|
|
523
|
-
break;
|
|
524
|
-
}
|
|
525
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
526
|
-
_.label = t[1];
|
|
527
|
-
t = op;
|
|
528
|
-
break;
|
|
529
|
-
}
|
|
530
|
-
if (t && _.label < t[2]) {
|
|
531
|
-
_.label = t[2];
|
|
532
|
-
_.ops.push(op);
|
|
533
|
-
break;
|
|
534
|
-
}
|
|
535
|
-
if (t[2])
|
|
536
|
-
_.ops.pop();
|
|
537
|
-
_.trys.pop();
|
|
538
|
-
continue;
|
|
539
|
-
}
|
|
540
|
-
op = body.call(thisArg, _);
|
|
541
|
-
}
|
|
542
|
-
catch (e) {
|
|
543
|
-
op = [6, e];
|
|
544
|
-
y = 0;
|
|
545
|
-
}
|
|
546
|
-
finally {
|
|
547
|
-
f = t = 0;
|
|
548
|
-
}
|
|
549
|
-
if (op[0] & 5)
|
|
550
|
-
throw op[1];
|
|
551
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
555
|
-
if (k2 === undefined)
|
|
556
|
-
k2 = k;
|
|
557
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
558
|
-
}) : (function (o, m, k, k2) {
|
|
559
|
-
if (k2 === undefined)
|
|
560
|
-
k2 = k;
|
|
561
|
-
o[k2] = m[k];
|
|
562
|
-
});
|
|
563
|
-
function __exportStar(m, o) {
|
|
564
|
-
for (var p in m)
|
|
565
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
566
|
-
__createBinding(o, m, p);
|
|
567
|
-
}
|
|
568
|
-
function __values(o) {
|
|
569
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
570
|
-
if (m)
|
|
571
|
-
return m.call(o);
|
|
572
|
-
if (o && typeof o.length === "number")
|
|
573
|
-
return {
|
|
574
|
-
next: function () {
|
|
575
|
-
if (o && i >= o.length)
|
|
576
|
-
o = void 0;
|
|
577
|
-
return { value: o && o[i++], done: !o };
|
|
578
|
-
}
|
|
579
|
-
};
|
|
580
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
581
|
-
}
|
|
582
|
-
function __read(o, n) {
|
|
583
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
584
|
-
if (!m)
|
|
585
|
-
return o;
|
|
586
|
-
var i = m.call(o), r, ar = [], e;
|
|
587
|
-
try {
|
|
588
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
589
|
-
ar.push(r.value);
|
|
590
|
-
}
|
|
591
|
-
catch (error) {
|
|
592
|
-
e = { error: error };
|
|
593
|
-
}
|
|
594
|
-
finally {
|
|
595
|
-
try {
|
|
596
|
-
if (r && !r.done && (m = i["return"]))
|
|
597
|
-
m.call(i);
|
|
598
|
-
}
|
|
599
|
-
finally {
|
|
600
|
-
if (e)
|
|
601
|
-
throw e.error;
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
return ar;
|
|
605
|
-
}
|
|
606
|
-
/** @deprecated */
|
|
607
|
-
function __spread() {
|
|
608
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
609
|
-
ar = ar.concat(__read(arguments[i]));
|
|
610
|
-
return ar;
|
|
611
|
-
}
|
|
612
|
-
/** @deprecated */
|
|
613
|
-
function __spreadArrays() {
|
|
614
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
615
|
-
s += arguments[i].length;
|
|
616
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
617
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
618
|
-
r[k] = a[j];
|
|
619
|
-
return r;
|
|
620
|
-
}
|
|
621
|
-
function __spreadArray(to, from, pack) {
|
|
622
|
-
if (pack || arguments.length === 2)
|
|
623
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
624
|
-
if (ar || !(i in from)) {
|
|
625
|
-
if (!ar)
|
|
626
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
627
|
-
ar[i] = from[i];
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
631
|
-
}
|
|
632
|
-
function __await(v) {
|
|
633
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
634
|
-
}
|
|
635
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
636
|
-
if (!Symbol.asyncIterator)
|
|
637
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
638
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
639
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
640
|
-
function verb(n) { if (g[n])
|
|
641
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
642
|
-
function resume(n, v) { try {
|
|
643
|
-
step(g[n](v));
|
|
644
|
-
}
|
|
645
|
-
catch (e) {
|
|
646
|
-
settle(q[0][3], e);
|
|
647
|
-
} }
|
|
648
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
649
|
-
function fulfill(value) { resume("next", value); }
|
|
650
|
-
function reject(value) { resume("throw", value); }
|
|
651
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
652
|
-
resume(q[0][0], q[0][1]); }
|
|
653
|
-
}
|
|
654
|
-
function __asyncDelegator(o) {
|
|
655
|
-
var i, p;
|
|
656
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
657
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
658
|
-
}
|
|
659
|
-
function __asyncValues(o) {
|
|
660
|
-
if (!Symbol.asyncIterator)
|
|
661
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
662
|
-
var m = o[Symbol.asyncIterator], i;
|
|
663
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
664
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
665
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
666
|
-
}
|
|
667
|
-
function __makeTemplateObject(cooked, raw) {
|
|
668
|
-
if (Object.defineProperty) {
|
|
669
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
670
|
-
}
|
|
671
|
-
else {
|
|
672
|
-
cooked.raw = raw;
|
|
673
|
-
}
|
|
674
|
-
return cooked;
|
|
675
|
-
}
|
|
676
|
-
;
|
|
677
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
678
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
679
|
-
}) : function (o, v) {
|
|
680
|
-
o["default"] = v;
|
|
681
|
-
};
|
|
682
|
-
function __importStar(mod) {
|
|
683
|
-
if (mod && mod.__esModule)
|
|
684
|
-
return mod;
|
|
685
|
-
var result = {};
|
|
686
|
-
if (mod != null)
|
|
687
|
-
for (var k in mod)
|
|
688
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
689
|
-
__createBinding(result, mod, k);
|
|
690
|
-
__setModuleDefault(result, mod);
|
|
691
|
-
return result;
|
|
692
|
-
}
|
|
693
|
-
function __importDefault(mod) {
|
|
694
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
695
|
-
}
|
|
696
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
697
|
-
if (kind === "a" && !f)
|
|
698
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
699
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
700
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
701
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
702
|
-
}
|
|
703
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
704
|
-
if (kind === "m")
|
|
705
|
-
throw new TypeError("Private method is not writable");
|
|
706
|
-
if (kind === "a" && !f)
|
|
707
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
708
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
709
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
710
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
/**
|
|
714
|
-
* Returns true if the GeoJSON is only specifies geometries.
|
|
715
|
-
*/
|
|
716
|
-
function isOnlyGeometryTypes(featureCollection, types) {
|
|
717
|
-
var e_1, _a;
|
|
718
|
-
if (types.length === 0) {
|
|
719
|
-
if (featureCollection.features.length > 0) {
|
|
720
|
-
// If no types are specified then there can't be any specified types found.
|
|
721
|
-
return false;
|
|
722
|
-
}
|
|
723
|
-
else {
|
|
724
|
-
// If no types are specified and there are no features then there is
|
|
725
|
-
// nothing to say a specified type isn't found.
|
|
726
|
-
return true;
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
try {
|
|
730
|
-
for (var _b = __values(featureCollection.features), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
731
|
-
var f = _c.value;
|
|
732
|
-
if (types.indexOf(f.geometry.type) === -1) {
|
|
733
|
-
return false;
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
738
|
-
finally {
|
|
739
|
-
try {
|
|
740
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
741
|
-
}
|
|
742
|
-
finally { if (e_1) throw e_1.error; }
|
|
743
|
-
}
|
|
744
|
-
return true;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
var IS_ONLY_GEOMETRY_TYPES_VALIDATOR_NAME = 'is-only-geometry-types';
|
|
748
|
-
function isOnlyGeometryTypesValidator(types) {
|
|
749
|
-
return function (control) {
|
|
750
|
-
var _a;
|
|
751
|
-
// Don't need to validate if there isn't a value. Use `Validators.required` for that.
|
|
752
|
-
if (isEmptyInputValue(control.value)) {
|
|
753
|
-
return null; // don't validate empty values to allow optional controls
|
|
754
|
-
}
|
|
755
|
-
var value = coerceFeatureCollection(control.value);
|
|
756
|
-
if (value === null) {
|
|
757
|
-
// If there isn't a FeatureCollection then there is nothing to validate.
|
|
758
|
-
// Use 'isFeatureCollection' to validate the value is a FeatureCollection.
|
|
759
|
-
return null;
|
|
760
|
-
}
|
|
761
|
-
if (!isOnlyGeometryTypes(value, types)) {
|
|
762
|
-
var typesNotAllowed = value.features
|
|
763
|
-
.map(function (f) { return f.geometry.type; })
|
|
764
|
-
.filter(function (t) { return types.indexOf(t) === -1; });
|
|
765
|
-
var distinctTypesNotAllowed = Array.from(new Set(typesNotAllowed));
|
|
766
|
-
return _a = {},
|
|
767
|
-
_a[IS_ONLY_GEOMETRY_TYPES_VALIDATOR_NAME] = {
|
|
768
|
-
reason: "Only geometry type" + (types.length === 1 ? '' : 's') + " " + types.join(', ') + " allowed.",
|
|
769
|
-
notAllowedGeometryTypesFound: distinctTypesNotAllowed,
|
|
770
|
-
},
|
|
771
|
-
_a;
|
|
772
|
-
}
|
|
773
|
-
return null;
|
|
774
|
-
};
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
/**
|
|
778
|
-
* Merge Polygon and MultiPolygon geometries into a single MultiPolygon. Any
|
|
779
|
-
* properties, other than 'coordinates', of the Polygons and MultiPolygons will
|
|
780
|
-
* be lost.
|
|
781
|
-
*
|
|
782
|
-
* NOTE: Polygons and MultPolygons in a GeometryCollection will not be merged.
|
|
783
|
-
*/
|
|
784
|
-
function mergePolygons(featureCollection) {
|
|
785
|
-
var _a;
|
|
786
|
-
var multiPolygon = {
|
|
787
|
-
type: 'MultiPolygon',
|
|
788
|
-
coordinates: [],
|
|
789
|
-
};
|
|
790
|
-
for (var i = 0; i < featureCollection.features.length; i++) {
|
|
791
|
-
var f = featureCollection.features[i];
|
|
792
|
-
if (f.geometry.type === 'Polygon') {
|
|
793
|
-
multiPolygon.coordinates.push(f.geometry.coordinates);
|
|
794
|
-
featureCollection.features.splice(i, 1);
|
|
795
|
-
i--;
|
|
796
|
-
}
|
|
797
|
-
else if (f.geometry.type === 'MultiPolygon') {
|
|
798
|
-
(_a = multiPolygon.coordinates).push.apply(_a, __spreadArray([], __read(f.geometry.coordinates)));
|
|
799
|
-
featureCollection.features.splice(i, 1);
|
|
800
|
-
i--;
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
if (multiPolygon.coordinates.length > 0) {
|
|
804
|
-
var feature = {
|
|
805
|
-
type: 'Feature',
|
|
806
|
-
geometry: multiPolygon,
|
|
807
|
-
properties: {},
|
|
808
|
-
};
|
|
809
|
-
featureCollection.features.push(feature);
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
function notNullOrUndefined(value) {
|
|
814
|
-
return value !== null && value !== undefined;
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
var MIN_MAX_POINTS_VALIDATOR_NAME = 'min-max-points';
|
|
818
|
-
function minMaxPointsValidator(min, max) {
|
|
819
|
-
if (min === void 0) { min = 3; }
|
|
820
|
-
return function (control) {
|
|
821
|
-
var _a;
|
|
822
|
-
// Don't need to validate if there isn't a value. Use `Validators.required` for that.
|
|
823
|
-
if (isEmptyInputValue(control.value)) {
|
|
824
|
-
return null; // don't validate empty values to allow optional controls
|
|
825
|
-
}
|
|
826
|
-
var value = coerceFeatureCollection(control.value);
|
|
827
|
-
if (value === null) {
|
|
828
|
-
return null;
|
|
829
|
-
}
|
|
830
|
-
if (collectionViolatesMinMax(value, min, max)) {
|
|
831
|
-
var reason = notNullOrUndefined(max) ?
|
|
832
|
-
"A polygon must have between " + min + " and " + max + " points." :
|
|
833
|
-
"A polygon must have at least " + min + " points.";
|
|
834
|
-
return _a = {},
|
|
835
|
-
_a[MIN_MAX_POINTS_VALIDATOR_NAME] = {
|
|
836
|
-
reason: reason
|
|
837
|
-
},
|
|
838
|
-
_a;
|
|
839
|
-
}
|
|
840
|
-
return null;
|
|
841
|
-
};
|
|
842
|
-
}
|
|
843
|
-
/**
|
|
844
|
-
* Checks if a FeatureCollection contains any geometries with an incomplete polygon.
|
|
845
|
-
*
|
|
846
|
-
* NOTE: Does not consider GeometryCollection.
|
|
847
|
-
*/
|
|
848
|
-
function collectionViolatesMinMax(featureCollection, min, max) {
|
|
849
|
-
var e_1, _a, e_2, _b;
|
|
850
|
-
try {
|
|
851
|
-
for (var _c = __values(featureCollection.features), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
852
|
-
var f = _d.value;
|
|
853
|
-
if (f.geometry.type === 'Polygon') {
|
|
854
|
-
if (polygonViolatesMinMax(f.geometry.coordinates[0].length, min, max)) {
|
|
855
|
-
return true;
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
else if (f.geometry.type === 'MultiPolygon') {
|
|
859
|
-
try {
|
|
860
|
-
for (var _e = (e_2 = void 0, __values(f.geometry.coordinates)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
861
|
-
var coords = _f.value;
|
|
862
|
-
if (polygonViolatesMinMax(coords[0].length, min, max)) {
|
|
863
|
-
return true;
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
868
|
-
finally {
|
|
869
|
-
try {
|
|
870
|
-
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
|
871
|
-
}
|
|
872
|
-
finally { if (e_2) throw e_2.error; }
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
878
|
-
finally {
|
|
879
|
-
try {
|
|
880
|
-
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
|
881
|
-
}
|
|
882
|
-
finally { if (e_1) throw e_1.error; }
|
|
883
|
-
}
|
|
884
|
-
return false;
|
|
885
|
-
}
|
|
886
|
-
function polygonViolatesMinMax(coordinateLength, min, max) {
|
|
887
|
-
if (coordinateLength < min || (notNullOrUndefined(max) && max > min && coordinateLength > max)) {
|
|
888
|
-
return true;
|
|
889
|
-
}
|
|
890
|
-
return false;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
var NO_INNER_RINGS_VALIDATOR_NAME = 'no-inner-rings';
|
|
894
|
-
/**
|
|
895
|
-
* Validates that a FeatureCollection does not contain any Polygon with inner
|
|
896
|
-
* rings("holes").
|
|
897
|
-
*
|
|
898
|
-
* NOTE: Only considers Polygon and MultiPolygon. Does not consider
|
|
899
|
-
* GeometryCollection.
|
|
900
|
-
*/
|
|
901
|
-
function noInnerRingsValidator() {
|
|
902
|
-
return function (control) {
|
|
903
|
-
var _a;
|
|
904
|
-
// Don't need to validate if there isn't a value. Use `Validators.required` for that.
|
|
905
|
-
if (isEmptyInputValue(control.value)) {
|
|
906
|
-
return null; // don't validate empty values to allow optional controls
|
|
907
|
-
}
|
|
908
|
-
var value = coerceFeatureCollection(control.value);
|
|
909
|
-
if (value === null) {
|
|
910
|
-
// If there isn't a FeatureCollection then there is nothing to validate.
|
|
911
|
-
// Use 'isFeatureCollection' to validate the value is a FeatureCollection.
|
|
912
|
-
return null;
|
|
913
|
-
}
|
|
914
|
-
if (hasInnerRing(value)) {
|
|
915
|
-
return _a = {},
|
|
916
|
-
_a[NO_INNER_RINGS_VALIDATOR_NAME] = {
|
|
917
|
-
reason: "A shape cannot have an inner ring."
|
|
918
|
-
},
|
|
919
|
-
_a;
|
|
920
|
-
}
|
|
921
|
-
return null;
|
|
922
|
-
};
|
|
923
|
-
}
|
|
924
|
-
/**
|
|
925
|
-
* Checks if a FeatureCollection contains any geometries with an inner
|
|
926
|
-
* ring("hole").
|
|
927
|
-
*
|
|
928
|
-
* NOTE: Does not consider GeometryCollection.
|
|
929
|
-
*/
|
|
930
|
-
function hasInnerRing(featureCollection) {
|
|
931
|
-
var e_1, _a, e_2, _b;
|
|
932
|
-
try {
|
|
933
|
-
for (var _c = __values(featureCollection.features), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
934
|
-
var f = _d.value;
|
|
935
|
-
// The spec says the right-hand rule must be followed, but also specifies
|
|
936
|
-
// that tools should not reject polygons that do not follow the right-hand
|
|
937
|
-
// rule. It does specify that the first ring must be the exterior ring and
|
|
938
|
-
// the others must be the interior. So, this should be safe to just check
|
|
939
|
-
// if there are multiple rings, instead of checking their winding orders.
|
|
940
|
-
//
|
|
941
|
-
// Polygon spec: https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.6
|
|
942
|
-
if (f.geometry.type === 'Polygon') {
|
|
943
|
-
if (f.geometry.coordinates.length > 1) {
|
|
944
|
-
return true;
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
else if (f.geometry.type === 'MultiPolygon') {
|
|
948
|
-
try {
|
|
949
|
-
for (var _e = (e_2 = void 0, __values(f.geometry.coordinates)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
950
|
-
var coords = _f.value;
|
|
951
|
-
if (coords.length > 1) {
|
|
952
|
-
return true;
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
}
|
|
956
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
957
|
-
finally {
|
|
958
|
-
try {
|
|
959
|
-
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
|
960
|
-
}
|
|
961
|
-
finally { if (e_2) throw e_2.error; }
|
|
962
|
-
}
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
967
|
-
finally {
|
|
968
|
-
try {
|
|
969
|
-
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
|
970
|
-
}
|
|
971
|
-
finally { if (e_1) throw e_1.error; }
|
|
972
|
-
}
|
|
973
|
-
return false;
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
var kinkableGeometryTypes = ['LineString', 'MultiLineString', 'MultiPolygon', 'Polygon'];
|
|
977
|
-
var NO_KINKS_VALIDATOR_NAME = 'no-kinks';
|
|
978
|
-
function noKinksValidator() {
|
|
979
|
-
return function (control) {
|
|
980
|
-
var e_1, _a, _b;
|
|
981
|
-
// Don't need to validate if there isn't a value. Use `Validators.required` for that.
|
|
982
|
-
if (isEmptyInputValue(control.value)) {
|
|
983
|
-
return null; // don't validate empty values to allow optional controls
|
|
984
|
-
}
|
|
985
|
-
var value = coerceFeatureCollection(control.value);
|
|
986
|
-
if (value === null) {
|
|
987
|
-
return null;
|
|
988
|
-
}
|
|
989
|
-
var kinksFound = [];
|
|
990
|
-
try {
|
|
991
|
-
for (var _c = __values(value.features), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
992
|
-
var f = _d.value;
|
|
993
|
-
if (kinkableGeometryTypes.indexOf(f.geometry.type) !== -1) {
|
|
994
|
-
var _kinks = kinks__default["default"](f);
|
|
995
|
-
if (_kinks.features.length > 0) {
|
|
996
|
-
kinksFound.push({
|
|
997
|
-
feature: f,
|
|
998
|
-
kinks: _kinks,
|
|
999
|
-
});
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1005
|
-
finally {
|
|
1006
|
-
try {
|
|
1007
|
-
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
|
1008
|
-
}
|
|
1009
|
-
finally { if (e_1) throw e_1.error; }
|
|
1010
|
-
}
|
|
1011
|
-
if (kinksFound.length > 0) {
|
|
1012
|
-
return _b = {},
|
|
1013
|
-
_b[NO_KINKS_VALIDATOR_NAME] = {
|
|
1014
|
-
reason: 'Paths should not intersect themselves.',
|
|
1015
|
-
featuresWithKink: kinksFound,
|
|
1016
|
-
},
|
|
1017
|
-
_b;
|
|
1018
|
-
}
|
|
1019
|
-
return null;
|
|
1020
|
-
};
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
// import { Buffer } from 'buffer/'
|
|
1024
|
-
var Buffer$1 = require('buffer/').Buffer;
|
|
1025
|
-
function readFileAsync(file) {
|
|
1026
|
-
return new Promise(function (resolve, reject) {
|
|
1027
|
-
var reader = new FileReader();
|
|
1028
|
-
reader.onload = function () {
|
|
1029
|
-
resolve(reader.result);
|
|
1030
|
-
};
|
|
1031
|
-
reader.readAsArrayBuffer(file);
|
|
1032
|
-
});
|
|
1033
|
-
}
|
|
1034
|
-
function readFileAsDataUrlAsync(file) {
|
|
1035
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1036
|
-
return __generator(this, function (_a) {
|
|
1037
|
-
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1038
|
-
var reader = new FileReader();
|
|
1039
|
-
reader.onload = function () {
|
|
1040
|
-
resolve(reader.result);
|
|
1041
|
-
};
|
|
1042
|
-
reader.readAsDataURL(file);
|
|
1043
|
-
})];
|
|
1044
|
-
});
|
|
1045
|
-
});
|
|
1046
|
-
}
|
|
1047
|
-
function fileBufferToBlob(fileBuffer, defaultMime) {
|
|
1048
|
-
if (defaultMime === void 0) { defaultMime = 'application/octet-stream'; }
|
|
1049
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1050
|
-
var fType, mime, blob;
|
|
1051
|
-
return __generator(this, function (_a) {
|
|
1052
|
-
fType = fileType__default["default"](fileBuffer);
|
|
1053
|
-
mime = (fType) ? fType.mime : defaultMime;
|
|
1054
|
-
blob = new Blob([fileBuffer], { type: mime });
|
|
1055
|
-
return [2 /*return*/, blob];
|
|
1056
|
-
});
|
|
1057
|
-
});
|
|
1058
|
-
}
|
|
1059
|
-
function fileBufferToObjectUrl(fileBuffer, defaultMime) {
|
|
1060
|
-
if (defaultMime === void 0) { defaultMime = 'application/octet-stream'; }
|
|
1061
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1062
|
-
var file, fileURL;
|
|
1063
|
-
return __generator(this, function (_a) {
|
|
1064
|
-
switch (_a.label) {
|
|
1065
|
-
case 0: return [4 /*yield*/, fileBufferToBlob(fileBuffer, defaultMime)];
|
|
1066
|
-
case 1:
|
|
1067
|
-
file = _a.sent();
|
|
1068
|
-
fileURL = URL.createObjectURL(file);
|
|
1069
|
-
return [2 /*return*/, fileURL];
|
|
1070
|
-
}
|
|
1071
|
-
});
|
|
1072
|
-
});
|
|
1073
|
-
}
|
|
1074
|
-
function fileDataFromBuffer(fileBuffer, defaultMime) {
|
|
1075
|
-
if (defaultMime === void 0) { defaultMime = 'application/octet-stream'; }
|
|
1076
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1077
|
-
var _fileBuffer, fType, ext, mime, blob, fileData;
|
|
1078
|
-
return __generator(this, function (_a) {
|
|
1079
|
-
_fileBuffer = Buffer$1.from(fileBuffer);
|
|
1080
|
-
fType = fileType__default["default"](_fileBuffer);
|
|
1081
|
-
ext = fType && fType.ext || undefined;
|
|
1082
|
-
mime = fType ? fType.mime : defaultMime;
|
|
1083
|
-
blob = new Blob([_fileBuffer], { type: mime });
|
|
1084
|
-
fileData = { ext: ext, mime: mime, blob: blob };
|
|
1085
|
-
return [2 /*return*/, fileData];
|
|
1086
|
-
});
|
|
1087
|
-
});
|
|
1088
|
-
}
|
|
1089
|
-
function openBlob(blob, target, filename) {
|
|
1090
|
-
// NOTE: IE and MSEdge do not allow Blob resources as a source for
|
|
1091
|
-
// tabs or iframes. msSaveOrOpenBlob is used as a workaround. I
|
|
1092
|
-
// haven't been able to find a way to just open the Blob file in
|
|
1093
|
-
// another tab yet for IE or MSEdge.
|
|
1094
|
-
if (window.navigator.msSaveOrOpenBlob) {
|
|
1095
|
-
window.navigator.msSaveOrOpenBlob(blob, filename);
|
|
1096
|
-
}
|
|
1097
|
-
else {
|
|
1098
|
-
var url = URL.createObjectURL(blob);
|
|
1099
|
-
var win = window.open(url, target);
|
|
1100
|
-
// TODO: Consider if always setting opener to null is to restrictive
|
|
1101
|
-
// if (win && target && target.toLowerCase() === '_blank') {
|
|
1102
|
-
// win.opener = null
|
|
1103
|
-
// }
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
|
-
/** Returns object without property */
|
|
1108
|
-
function withoutProperty(obj, propName) {
|
|
1109
|
-
var _a = obj, _b = propName, _ = _a[_b], without = __rest(_a, [typeof _b === "symbol" ? _b : _b + ""]);
|
|
1110
|
-
return without;
|
|
1111
|
-
}
|
|
1112
|
-
/** Returns object without properties */
|
|
1113
|
-
function withoutProperties(obj, propNames) {
|
|
1114
|
-
var e_1, _c;
|
|
1115
|
-
var without = obj;
|
|
1116
|
-
try {
|
|
1117
|
-
for (var propNames_1 = __values(propNames), propNames_1_1 = propNames_1.next(); !propNames_1_1.done; propNames_1_1 = propNames_1.next()) {
|
|
1118
|
-
var propName = propNames_1_1.value;
|
|
1119
|
-
without = withoutProperty(without, propName);
|
|
1120
|
-
}
|
|
1121
|
-
}
|
|
1122
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1123
|
-
finally {
|
|
1124
|
-
try {
|
|
1125
|
-
if (propNames_1_1 && !propNames_1_1.done && (_c = propNames_1.return)) _c.call(propNames_1);
|
|
1126
|
-
}
|
|
1127
|
-
finally { if (e_1) throw e_1.error; }
|
|
1128
|
-
}
|
|
1129
|
-
return without;
|
|
1130
|
-
}
|
|
1131
|
-
/** Delete property of object */
|
|
1132
|
-
function deleteProperty(obj, propName) {
|
|
1133
|
-
if (obj.hasOwnProperty(propName)) {
|
|
1134
|
-
delete obj[propName];
|
|
1135
|
-
}
|
|
1136
|
-
}
|
|
1137
|
-
/** Delete properties of object */
|
|
1138
|
-
function deleteProperties(obj, propNames) {
|
|
1139
|
-
var e_2, _c;
|
|
1140
|
-
try {
|
|
1141
|
-
for (var propNames_2 = __values(propNames), propNames_2_1 = propNames_2.next(); !propNames_2_1.done; propNames_2_1 = propNames_2.next()) {
|
|
1142
|
-
var propName = propNames_2_1.value;
|
|
1143
|
-
deleteProperty(obj, propName);
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1147
|
-
finally {
|
|
1148
|
-
try {
|
|
1149
|
-
if (propNames_2_1 && !propNames_2_1.done && (_c = propNames_2.return)) _c.call(propNames_2);
|
|
1150
|
-
}
|
|
1151
|
-
finally { if (e_2) throw e_2.error; }
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1155
|
-
var Buffer = require('buffer/').Buffer;
|
|
1156
|
-
/**
|
|
1157
|
-
* Reads a File, or buffer of file content, in GeoJSON or ESRI Shapefile format
|
|
1158
|
-
* and returns a GeoJSON `FeatureCollection`.
|
|
1159
|
-
*/
|
|
1160
|
-
function readGeoFile(fileOrBuffer) {
|
|
1161
|
-
var _a;
|
|
1162
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1163
|
-
var buffer, e_1;
|
|
1164
|
-
return __generator(this, function (_b) {
|
|
1165
|
-
switch (_b.label) {
|
|
1166
|
-
case 0: return [4 /*yield*/, coerceFileOrBufferToBuffer(fileOrBuffer)];
|
|
1167
|
-
case 1:
|
|
1168
|
-
buffer = _b.sent();
|
|
1169
|
-
if (!isShpFile(buffer)) return [3 /*break*/, 3];
|
|
1170
|
-
return [4 /*yield*/, parseShpFile(buffer)];
|
|
1171
|
-
case 2: return [2 /*return*/, _b.sent()];
|
|
1172
|
-
case 3:
|
|
1173
|
-
if (!(((_a = fileType__default["default"](buffer)) === null || _a === void 0 ? void 0 : _a.mime) === 'application/zip')) return [3 /*break*/, 7];
|
|
1174
|
-
_b.label = 4;
|
|
1175
|
-
case 4:
|
|
1176
|
-
_b.trys.push([4, 6, , 7]);
|
|
1177
|
-
return [4 /*yield*/, parseShpZip(buffer)];
|
|
1178
|
-
case 5: return [2 /*return*/, _b.sent()];
|
|
1179
|
-
case 6:
|
|
1180
|
-
e_1 = _b.sent();
|
|
1181
|
-
// NOTE: If 'shpjs' updates or we switch to a fork, where it doesn't use
|
|
1182
|
-
// node buffers, then we can remove this rethrow.
|
|
1183
|
-
if (core.isDevMode()) {
|
|
1184
|
-
if (e_1.message === 'nodebuffer is not supported by this platform') {
|
|
1185
|
-
console.warn('Try adding Buffer polyfill.\n' +
|
|
1186
|
-
'Install: npm install buffer\n' +
|
|
1187
|
-
'Add `global.Buffer = global.Buffer || require(\'buffer\').Buffer` to "src/polyfills.ts"');
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
throw e_1;
|
|
1191
|
-
case 7: return [2 /*return*/, parseGeoJson(buffer)];
|
|
1192
|
-
}
|
|
1193
|
-
});
|
|
1194
|
-
});
|
|
1195
|
-
}
|
|
1196
|
-
function coerceFileOrBufferToBuffer(fileOrBuffer) {
|
|
1197
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1198
|
-
var arrBuf;
|
|
1199
|
-
return __generator(this, function (_b) {
|
|
1200
|
-
switch (_b.label) {
|
|
1201
|
-
case 0:
|
|
1202
|
-
if (!(fileOrBuffer instanceof File)) return [3 /*break*/, 2];
|
|
1203
|
-
return [4 /*yield*/, readFileAsync(fileOrBuffer)];
|
|
1204
|
-
case 1:
|
|
1205
|
-
arrBuf = _b.sent();
|
|
1206
|
-
return [2 /*return*/, Buffer.from(arrBuf)];
|
|
1207
|
-
case 2: return [2 /*return*/, Buffer.from(fileOrBuffer)];
|
|
1208
|
-
}
|
|
1209
|
-
});
|
|
1210
|
-
});
|
|
1211
|
-
}
|
|
1212
|
-
// NOTE: Our current version of file-type does not detect shp files. We can
|
|
1213
|
-
// remove this function when file-types is upgraded.
|
|
1214
|
-
function isShpFile(buffer) {
|
|
1215
|
-
var header = [0x27, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00];
|
|
1216
|
-
var offset = 2;
|
|
1217
|
-
if (buffer.length < (header.length + offset)) {
|
|
1218
|
-
return false;
|
|
1219
|
-
}
|
|
1220
|
-
for (var i = 0; i < header.length; i++) {
|
|
1221
|
-
if (header[i] !== buffer[i + offset]) {
|
|
1222
|
-
return false;
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
return true;
|
|
1226
|
-
}
|
|
1227
|
-
function parseShpFile(buffer) {
|
|
1228
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1229
|
-
var geometries, featCollection;
|
|
1230
|
-
return __generator(this, function (_b) {
|
|
1231
|
-
switch (_b.label) {
|
|
1232
|
-
case 0: return [4 /*yield*/, shp__default["default"].parseShp(buffer, undefined)];
|
|
1233
|
-
case 1:
|
|
1234
|
-
geometries = _b.sent();
|
|
1235
|
-
featCollection = {
|
|
1236
|
-
type: 'FeatureCollection',
|
|
1237
|
-
features: geometries.map(function (geom) { return ({
|
|
1238
|
-
type: 'Feature',
|
|
1239
|
-
geometry: geom,
|
|
1240
|
-
properties: {}
|
|
1241
|
-
}); })
|
|
1242
|
-
};
|
|
1243
|
-
return [2 /*return*/, featCollection];
|
|
1244
|
-
}
|
|
1245
|
-
});
|
|
1246
|
-
});
|
|
1247
|
-
}
|
|
1248
|
-
function parseShpZip(buffer) {
|
|
1249
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1250
|
-
var featCollection;
|
|
1251
|
-
return __generator(this, function (_b) {
|
|
1252
|
-
switch (_b.label) {
|
|
1253
|
-
case 0: return [4 /*yield*/, shp__default["default"].parseZip(buffer, undefined)];
|
|
1254
|
-
case 1:
|
|
1255
|
-
featCollection = _b.sent();
|
|
1256
|
-
if (Array.isArray(featCollection)) {
|
|
1257
|
-
if (featCollection.length === 0) {
|
|
1258
|
-
throw Error("Shape data not found.");
|
|
1259
|
-
}
|
|
1260
|
-
else if (featCollection.length > 1) {
|
|
1261
|
-
throw Error("Multiple shape files not supported.");
|
|
1262
|
-
}
|
|
1263
|
-
featCollection = featCollection[0];
|
|
1264
|
-
}
|
|
1265
|
-
return [2 /*return*/, withoutProperty(featCollection, 'fileName')];
|
|
1266
|
-
}
|
|
1267
|
-
});
|
|
1268
|
-
});
|
|
1269
|
-
}
|
|
1270
|
-
function parseGeoJson(buffer) {
|
|
1271
|
-
var json = JSON.parse(buffer.toString());
|
|
1272
|
-
if ((json === null || json === void 0 ? void 0 : json.type) === 'FeatureCollection' && Array.isArray(json === null || json === void 0 ? void 0 : json.features)) {
|
|
1273
|
-
return json;
|
|
1274
|
-
}
|
|
1275
|
-
throw Error("Unable to parse as GeoJSON.");
|
|
1276
|
-
}
|
|
1277
|
-
|
|
1278
|
-
/**
|
|
1279
|
-
* Split all MultiPolygon into Polygon. Any properties, other than
|
|
1280
|
-
* 'coordinates', of the MultiPolygons will be lost.
|
|
1281
|
-
*
|
|
1282
|
-
* NOTE: MultiPolygons in a GeometryCollection will not be split.
|
|
1283
|
-
*/
|
|
1284
|
-
function splitMultiPolygons(featureCollection) {
|
|
1285
|
-
var _a;
|
|
1286
|
-
for (var i = 0; i < featureCollection.features.length; i++) {
|
|
1287
|
-
if (featureCollection.features[i]) {
|
|
1288
|
-
var geometry = featureCollection.features[i].geometry;
|
|
1289
|
-
if (geometry.type === 'MultiPolygon') {
|
|
1290
|
-
var features = splitMultPolygon(geometry).map(function (p) { return ({
|
|
1291
|
-
type: 'Feature',
|
|
1292
|
-
geometry: p,
|
|
1293
|
-
properties: {},
|
|
1294
|
-
}); });
|
|
1295
|
-
(_a = featureCollection.features).splice.apply(_a, __spreadArray([i, 1], __read(features)));
|
|
1296
|
-
i += Math.max(features.length - 1, 0);
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1299
|
-
}
|
|
1300
|
-
}
|
|
1301
|
-
function splitMultPolygon(multiPolygon) {
|
|
1302
|
-
return multiPolygon.coordinates.map(function (c) { return ({
|
|
1303
|
-
type: 'Polygon',
|
|
1304
|
-
coordinates: c,
|
|
1305
|
-
}); });
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
|
-
// Based on source: https://github.com/sindresorhus/array-move/blob/main/index.js
|
|
1309
|
-
/**
|
|
1310
|
-
Moves the item to the new position in the input array. Useful for huge arrays
|
|
1311
|
-
where absolute performance is needed.
|
|
1312
|
-
|
|
1313
|
-
@param array - The array to modify.
|
|
1314
|
-
@param fromIndex - The index of item to move. If negative, it will begin that
|
|
1315
|
-
many elements from the end.
|
|
1316
|
-
@param toIndex - The index of where to move the item. If negative, it will
|
|
1317
|
-
begin that many elements from the end.
|
|
1318
|
-
@example
|
|
1319
|
-
```
|
|
1320
|
-
import { arrayMoveMutable } from '@theseam/ui-common/utils';
|
|
1321
|
-
|
|
1322
|
-
const input = ['a', 'b', 'c'];
|
|
1323
|
-
arrayMoveMutable(input, 1, 2);
|
|
1324
|
-
console.log(input);
|
|
1325
|
-
//=> ['a', 'c', 'b']
|
|
1326
|
-
```
|
|
1327
|
-
*/
|
|
1328
|
-
function arrayMoveMutable(array, fromIndex, toIndex) {
|
|
1329
|
-
var startIndex = fromIndex < 0 ? array.length + fromIndex : fromIndex;
|
|
1330
|
-
if (startIndex >= 0 && startIndex < array.length) {
|
|
1331
|
-
var endIndex = toIndex < 0 ? array.length + toIndex : toIndex;
|
|
1332
|
-
var _a = __read(array.splice(fromIndex, 1), 1), item = _a[0];
|
|
1333
|
-
array.splice(endIndex, 0, item);
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
/**
|
|
1337
|
-
Clones the given `array`, moves the item to a new position in the new array,
|
|
1338
|
-
and then returns the new array. The given `array` is not mutated.
|
|
1339
|
-
|
|
1340
|
-
@param array - The array with the item to move.
|
|
1341
|
-
@param fromIndex - The index of item to move. If negative, it will begin that
|
|
1342
|
-
many elements from the end.
|
|
1343
|
-
@param toIndex - The index of where to move the item. If negative, it will
|
|
1344
|
-
begin that many elements from the end.
|
|
1345
|
-
@returns A new array with the item moved to the new position.
|
|
1346
|
-
@example
|
|
1347
|
-
```
|
|
1348
|
-
import { arrayMoveImmutable } from '@theseam/ui-common/utils';
|
|
1349
|
-
|
|
1350
|
-
const input = ['a', 'b', 'c'];
|
|
1351
|
-
const array1 = arrayMoveImmutable(input, 1, 2);
|
|
1352
|
-
console.log(array1);
|
|
1353
|
-
//=> ['a', 'c', 'b']
|
|
1354
|
-
|
|
1355
|
-
const array2 = arrayMoveImmutable(input, -1, 0);
|
|
1356
|
-
console.log(array2);
|
|
1357
|
-
//=> ['c', 'a', 'b']
|
|
1358
|
-
|
|
1359
|
-
const array3 = arrayMoveImmutable(input, -2, -3);
|
|
1360
|
-
console.log(array3);
|
|
1361
|
-
//=> ['b', 'a', 'c']
|
|
1362
|
-
```
|
|
1363
|
-
*/
|
|
1364
|
-
function arrayMoveImmutable(array, fromIndex, toIndex) {
|
|
1365
|
-
var newArray = __spreadArray([], __read(array));
|
|
1366
|
-
arrayMoveMutable(newArray, fromIndex, toIndex);
|
|
1367
|
-
return newArray;
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
function calcPercentage(total, n) {
|
|
1371
|
-
return total && total > 0 ? (n / total) * 100 : 0;
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
/**
|
|
1375
|
-
* Polyfil for `Element.toggleAttribute`
|
|
1376
|
-
*
|
|
1377
|
-
* Toggles a value without a value. Useful for attributes, such as `disabled`,
|
|
1378
|
-
* `readonly`, and `hidden`, that only needs to exist on the `Element` without
|
|
1379
|
-
* requiring a value.
|
|
1380
|
-
*
|
|
1381
|
-
* Most browsers natively support this feature, but IE, which we still try to
|
|
1382
|
-
* support for at least the main parts of the app, has "Unknown" support of this
|
|
1383
|
-
* feature. Until IE support is dropped this polyfil should be used to toggle an
|
|
1384
|
-
* attribute.
|
|
1385
|
-
*
|
|
1386
|
-
* Source:
|
|
1387
|
-
* https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute#Polyfill
|
|
1388
|
-
*/
|
|
1389
|
-
function toggleAttribute(element, name, force) {
|
|
1390
|
-
if (force !== void 0) {
|
|
1391
|
-
force = !!force;
|
|
1392
|
-
}
|
|
1393
|
-
if (element.getAttribute(name) !== null) {
|
|
1394
|
-
if (force) {
|
|
1395
|
-
return true;
|
|
1396
|
-
}
|
|
1397
|
-
element.removeAttribute(name);
|
|
1398
|
-
return false;
|
|
1399
|
-
}
|
|
1400
|
-
else {
|
|
1401
|
-
if (force === false) {
|
|
1402
|
-
return false;
|
|
1403
|
-
}
|
|
1404
|
-
element.setAttribute(name, '');
|
|
1405
|
-
return true;
|
|
1406
|
-
}
|
|
1407
|
-
}
|
|
1408
|
-
|
|
1409
|
-
var phoneNumberMask = ['(', /[1-9]/, /\d/, /\d/, ')', ' ', /\d/, /\d/, /\d/, '-', /\d/, /\d/, /\d/, /\d/];
|
|
1410
|
-
|
|
1411
|
-
function isNullOrUndefined(value) {
|
|
1412
|
-
return value === undefined || value === null;
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
|
-
function loadStyle(content) {
|
|
1416
|
-
return new Promise(function (resolve, reject) {
|
|
1417
|
-
var s = document.createElement('style');
|
|
1418
|
-
s.onload = function () { return resolve(s); };
|
|
1419
|
-
s.onerror = function (e) {
|
|
1420
|
-
document.head.removeChild(s);
|
|
1421
|
-
reject(e);
|
|
1422
|
-
};
|
|
1423
|
-
s.innerHTML = content;
|
|
1424
|
-
document.head.appendChild(s);
|
|
1425
|
-
});
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
function loadStyleSheet(path) {
|
|
1429
|
-
return new Promise(function (resolve, reject) {
|
|
1430
|
-
var s = document.createElement('link');
|
|
1431
|
-
s.onload = function () { return resolve(s); };
|
|
1432
|
-
s.onerror = function (e) {
|
|
1433
|
-
document.head.removeChild(s);
|
|
1434
|
-
reject(e);
|
|
1435
|
-
};
|
|
1436
|
-
s.rel = 'stylesheet';
|
|
1437
|
-
s.href = path;
|
|
1438
|
-
document.head.appendChild(s);
|
|
1439
|
-
});
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
function waitOnConditionAsync(condition, timeoutDuration, throwOnTimeout) {
|
|
1443
|
-
if (timeoutDuration === void 0) { timeoutDuration = -1; }
|
|
1444
|
-
if (throwOnTimeout === void 0) { throwOnTimeout = true; }
|
|
1445
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1446
|
-
var timeStart, _waitFunc;
|
|
1447
|
-
return __generator(this, function (_a) {
|
|
1448
|
-
timeStart = new Date();
|
|
1449
|
-
_waitFunc = function (callback) {
|
|
1450
|
-
var conditionSuccess = false;
|
|
1451
|
-
if (condition()) {
|
|
1452
|
-
callback(true);
|
|
1453
|
-
conditionSuccess = true;
|
|
1454
|
-
}
|
|
1455
|
-
if (!conditionSuccess) {
|
|
1456
|
-
var timeNow = new Date();
|
|
1457
|
-
var duration = timeNow - timeStart;
|
|
1458
|
-
if (timeoutDuration > -1 && duration > timeoutDuration) {
|
|
1459
|
-
if (throwOnTimeout) {
|
|
1460
|
-
throw new Error('Timed out waiting on condition.');
|
|
1461
|
-
}
|
|
1462
|
-
else {
|
|
1463
|
-
callback(false);
|
|
1464
|
-
}
|
|
1465
|
-
}
|
|
1466
|
-
setTimeout(function () { _waitFunc(callback); }, 30);
|
|
1467
|
-
}
|
|
1468
|
-
};
|
|
1469
|
-
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
1470
|
-
var fn = function (b) {
|
|
1471
|
-
resolve(b);
|
|
1472
|
-
};
|
|
1473
|
-
_waitFunc(fn);
|
|
1474
|
-
})];
|
|
1475
|
-
});
|
|
1476
|
-
});
|
|
1477
|
-
}
|
|
1478
|
-
|
|
1479
|
-
var IntervalTimer = /** @class */ (function () {
|
|
1480
|
-
function IntervalTimer(_callback, intervalTime, startOnInit) {
|
|
1481
|
-
if (startOnInit === void 0) { startOnInit = true; }
|
|
1482
|
-
this._callback = _callback;
|
|
1483
|
-
this._intervalId = null;
|
|
1484
|
-
this._intervalTime = intervalTime;
|
|
1485
|
-
if (startOnInit) {
|
|
1486
|
-
this.start();
|
|
1487
|
-
}
|
|
1488
|
-
}
|
|
1489
|
-
Object.defineProperty(IntervalTimer.prototype, "intervalTime", {
|
|
1490
|
-
set: function (time) {
|
|
1491
|
-
this._intervalTime = time;
|
|
1492
|
-
},
|
|
1493
|
-
enumerable: false,
|
|
1494
|
-
configurable: true
|
|
1495
|
-
});
|
|
1496
|
-
IntervalTimer.prototype.start = function () {
|
|
1497
|
-
var _this = this;
|
|
1498
|
-
if (this._intervalId === null) {
|
|
1499
|
-
this._intervalId = window.setInterval(function () {
|
|
1500
|
-
_this._callback();
|
|
1501
|
-
}, this._intervalTime);
|
|
1502
|
-
}
|
|
1503
|
-
};
|
|
1504
|
-
IntervalTimer.prototype.stop = function () {
|
|
1505
|
-
if (this._intervalId !== null) {
|
|
1506
|
-
clearInterval(this._intervalId);
|
|
1507
|
-
this._intervalId = null;
|
|
1508
|
-
}
|
|
1509
|
-
};
|
|
1510
|
-
IntervalTimer.prototype.reset = function (newIntervalTime) {
|
|
1511
|
-
if (newIntervalTime) {
|
|
1512
|
-
this.intervalTime = newIntervalTime;
|
|
1513
|
-
}
|
|
1514
|
-
this.stop();
|
|
1515
|
-
this.start();
|
|
1516
|
-
};
|
|
1517
|
-
return IntervalTimer;
|
|
1518
|
-
}());
|
|
1519
|
-
// tslint:disable:no-inferrable-types
|
|
1520
|
-
var PollingTickerOptions = /** @class */ (function () {
|
|
1521
|
-
function PollingTickerOptions() {
|
|
1522
|
-
this.emitOnInit = true;
|
|
1523
|
-
}
|
|
1524
|
-
return PollingTickerOptions;
|
|
1525
|
-
}());
|
|
1526
|
-
// tslint:enable:no-inferrable-types
|
|
1527
|
-
// TODO: Simplify complexity.
|
|
1528
|
-
/**
|
|
1529
|
-
* Call an action and emits the result to its subscriber on an interval or when
|
|
1530
|
-
* ticker emits. When the ticker emits, the interval time will reset.
|
|
1531
|
-
*
|
|
1532
|
-
* When subscribed to, the action will be called and emitted right away unless
|
|
1533
|
-
* the `emitOnInit` option is set to false.
|
|
1534
|
-
*/
|
|
1535
|
-
function pollingTicker(action, pollingInterval, ticker, options) {
|
|
1536
|
-
return new rxjs.Observable(function (subscriber) {
|
|
1537
|
-
var _opts = Object.assign(Object.assign({}, (new PollingTickerOptions())), (options || {}));
|
|
1538
|
-
var timer = null;
|
|
1539
|
-
var actionSub = null;
|
|
1540
|
-
var tickerSub = null;
|
|
1541
|
-
try {
|
|
1542
|
-
var handleAction_1 = function () {
|
|
1543
|
-
if (timer) {
|
|
1544
|
-
timer.stop();
|
|
1545
|
-
}
|
|
1546
|
-
var actionResult = action();
|
|
1547
|
-
if (rxjs.isObservable(actionResult)) {
|
|
1548
|
-
if (actionSub) {
|
|
1549
|
-
actionSub.unsubscribe();
|
|
1550
|
-
}
|
|
1551
|
-
actionSub = actionResult.subscribe(function (v) {
|
|
1552
|
-
subscriber.next(v);
|
|
1553
|
-
if (timer) {
|
|
1554
|
-
timer.reset();
|
|
1555
|
-
}
|
|
1556
|
-
}, function (err) { subscriber.error(err); }, function () {
|
|
1557
|
-
actionSub = null;
|
|
1558
|
-
if (timer) {
|
|
1559
|
-
timer.start();
|
|
1560
|
-
}
|
|
1561
|
-
});
|
|
1562
|
-
}
|
|
1563
|
-
else {
|
|
1564
|
-
subscriber.next(actionResult);
|
|
1565
|
-
}
|
|
1566
|
-
if (timer) {
|
|
1567
|
-
timer.start();
|
|
1568
|
-
}
|
|
1569
|
-
};
|
|
1570
|
-
if (_opts.emitOnInit) {
|
|
1571
|
-
handleAction_1();
|
|
1572
|
-
}
|
|
1573
|
-
if (pollingInterval) {
|
|
1574
|
-
timer = new IntervalTimer(function () {
|
|
1575
|
-
handleAction_1();
|
|
1576
|
-
}, pollingInterval);
|
|
1577
|
-
}
|
|
1578
|
-
if (ticker) {
|
|
1579
|
-
tickerSub = ticker.subscribe(function (newPollingInterval) {
|
|
1580
|
-
if (newPollingInterval && timer) {
|
|
1581
|
-
timer.stop();
|
|
1582
|
-
if (newPollingInterval) {
|
|
1583
|
-
timer.intervalTime = newPollingInterval;
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
handleAction_1();
|
|
1587
|
-
if (timer) {
|
|
1588
|
-
timer.reset();
|
|
1589
|
-
}
|
|
1590
|
-
});
|
|
1591
|
-
}
|
|
1592
|
-
}
|
|
1593
|
-
catch (err) {
|
|
1594
|
-
subscriber.error(err);
|
|
1595
|
-
}
|
|
1596
|
-
return function () {
|
|
1597
|
-
if (timer) {
|
|
1598
|
-
timer.stop();
|
|
1599
|
-
}
|
|
1600
|
-
if (actionSub) {
|
|
1601
|
-
actionSub.unsubscribe();
|
|
1602
|
-
}
|
|
1603
|
-
if (tickerSub) {
|
|
1604
|
-
tickerSub.unsubscribe();
|
|
1605
|
-
}
|
|
1606
|
-
};
|
|
1607
|
-
});
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
var Refreshable = /** @class */ (function () {
|
|
1611
|
-
function Refreshable(action, pollingInterval) {
|
|
1612
|
-
var _this = this;
|
|
1613
|
-
this._initialized = false;
|
|
1614
|
-
this._pollingInterval = new rxjs.BehaviorSubject(0);
|
|
1615
|
-
this._ticker = new rxjs.Subject();
|
|
1616
|
-
this._pending = new rxjs.BehaviorSubject(false);
|
|
1617
|
-
/**
|
|
1618
|
-
* Intercepts the action call to monitor pending state
|
|
1619
|
-
*/
|
|
1620
|
-
this._actionHandler = function (action) {
|
|
1621
|
-
return function () {
|
|
1622
|
-
_this._pending.next(true);
|
|
1623
|
-
var actionResult = action();
|
|
1624
|
-
if (rxjs.isObservable(actionResult)) {
|
|
1625
|
-
return actionResult.pipe(operators.tap(function () { _this._pending.next(false); }));
|
|
1626
|
-
}
|
|
1627
|
-
else {
|
|
1628
|
-
_this._pending.next(true);
|
|
1629
|
-
return actionResult;
|
|
1630
|
-
}
|
|
1631
|
-
};
|
|
1632
|
-
};
|
|
1633
|
-
if (pollingInterval !== null && pollingInterval !== undefined) {
|
|
1634
|
-
this._pollingInterval.next(pollingInterval);
|
|
1635
|
-
}
|
|
1636
|
-
this.pending$ = this._pending.asObservable()
|
|
1637
|
-
.pipe(operators.distinctUntilChanged(), operators.shareReplay(1));
|
|
1638
|
-
this.data$ = pollingTicker(this._actionHandler(action), pollingInterval, this._ticker)
|
|
1639
|
-
.pipe(tapFirst(function () { return _this._initialized = true; }), operators.publishReplay(), operators.refCount());
|
|
1640
|
-
}
|
|
1641
|
-
Object.defineProperty(Refreshable.prototype, "initialized", {
|
|
1642
|
-
get: function () { return this._initialized; },
|
|
1643
|
-
enumerable: false,
|
|
1644
|
-
configurable: true
|
|
1645
|
-
});
|
|
1646
|
-
/**
|
|
1647
|
-
* Selects the data observable
|
|
1648
|
-
*/
|
|
1649
|
-
Refreshable.prototype.select = function (refresh) {
|
|
1650
|
-
if (refresh && this._initialized && !this._pending.value) {
|
|
1651
|
-
this._ticker.next();
|
|
1652
|
-
}
|
|
1653
|
-
return this.data$;
|
|
1654
|
-
};
|
|
1655
|
-
Refreshable.prototype.refresh = function () {
|
|
1656
|
-
var _this = this;
|
|
1657
|
-
var result$;
|
|
1658
|
-
if (this._initialized) {
|
|
1659
|
-
// TODO: Add a test and maybe refactor this to be more clear. It worked in
|
|
1660
|
-
// my manual tests, but there may be some situations where this doesn't
|
|
1661
|
-
// work, since the ticker isn't the only way to trigger a refresh. Right
|
|
1662
|
-
// now it should be fine, but if an async operator is added to be run
|
|
1663
|
-
// each time `data$` is subscribed to, then this could fail if the data
|
|
1664
|
-
// emits one extra time before the ticker is triggered.
|
|
1665
|
-
var _polled_1 = false;
|
|
1666
|
-
result$ = this.data$
|
|
1667
|
-
.pipe(operators.tap(function (_) { return !_polled_1 && (_polled_1 = true) && _this._ticker.next(); }), operators.skip(1));
|
|
1668
|
-
}
|
|
1669
|
-
else {
|
|
1670
|
-
result$ = this.data$;
|
|
1671
|
-
}
|
|
1672
|
-
return result$
|
|
1673
|
-
.pipe(operators.take(1), operators.mapTo(undefined));
|
|
1674
|
-
};
|
|
1675
|
-
return Refreshable;
|
|
1676
|
-
}());
|
|
1677
|
-
|
|
1678
|
-
function wrapIntoObservable(value) {
|
|
1679
|
-
if (rxjs.isObservable(value)) {
|
|
1680
|
-
return value;
|
|
1681
|
-
}
|
|
1682
|
-
return rxjs.from(Promise.resolve(value));
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
/**
|
|
1686
|
-
* Explaination:
|
|
1687
|
-
* ^ - beginning of the string
|
|
1688
|
-
* (?: - beginning of a non-captured group
|
|
1689
|
-
* [a-z]+ - any character of 'a' to 'z' 1 or more times
|
|
1690
|
-
* : - string (colon character)
|
|
1691
|
-
* )? - end of the non-captured group. Group appearing 0 or 1 times
|
|
1692
|
-
* // - string (two forward slash characters)
|
|
1693
|
-
* 'i' - non case-sensitive flag
|
|
1694
|
-
*
|
|
1695
|
-
* source: https://stackoverflow.com/a/19709846
|
|
1696
|
-
*/
|
|
1697
|
-
var IS_ABSOLUTE_URL_REGEX = new RegExp('^(?:[a-z]+:)?//', 'i');
|
|
1698
|
-
function isAbsoluteUrl(url) {
|
|
1699
|
-
return IS_ABSOLUTE_URL_REGEX.test(url);
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
/**
|
|
1703
|
-
* This is just for helping debug observables that aren't being unsubscribed
|
|
1704
|
-
* from correctly.
|
|
1705
|
-
*
|
|
1706
|
-
* If description is 'foo' then you can check the how many observers are
|
|
1707
|
-
* subscribed with the expression `__subscriberCounts['foo']`. In a debugger you
|
|
1708
|
-
* can add the expression to the "Watch" expressions or in Chrome Devtools
|
|
1709
|
-
* Console you can add it to the live expressions(Add live expressions by
|
|
1710
|
-
* clicking the eye the the left of the Console filter input).
|
|
1711
|
-
*/
|
|
1712
|
-
function subscriberCount(sourceObservable, description, countChangedFn) {
|
|
1713
|
-
if (countChangedFn === void 0) { countChangedFn = logOnChange; }
|
|
1714
|
-
var counter = 0;
|
|
1715
|
-
return new rxjs.Observable(function (subscriber) {
|
|
1716
|
-
var subscription = sourceObservable.subscribe(subscriber);
|
|
1717
|
-
counter++;
|
|
1718
|
-
if (countChangedFn !== undefined && countChangedFn !== null) {
|
|
1719
|
-
countChangedFn(description, counter, 'subscribed');
|
|
1720
|
-
}
|
|
1721
|
-
setGlobalSubscriberCount(description, counter);
|
|
1722
|
-
return function () {
|
|
1723
|
-
subscription.unsubscribe();
|
|
1724
|
-
counter--;
|
|
1725
|
-
if (countChangedFn !== undefined && countChangedFn !== null) {
|
|
1726
|
-
countChangedFn(description, counter, 'unsubscribed');
|
|
1727
|
-
}
|
|
1728
|
-
setGlobalSubscriberCount(description, counter);
|
|
1729
|
-
};
|
|
1730
|
-
});
|
|
1731
|
-
}
|
|
1732
|
-
var logOnChange = function (description, count, reason) {
|
|
1733
|
-
console.log(description + " subscriptions: " + count + " [" + reason + "]");
|
|
1734
|
-
};
|
|
1735
|
-
var ɵ0 = logOnChange;
|
|
1736
|
-
function getGlobalSubscriberCounts() {
|
|
1737
|
-
var w = window;
|
|
1738
|
-
if (w.__subscriberCounts === undefined || w.__subscriberCounts === null) {
|
|
1739
|
-
w.__subscriberCounts = {};
|
|
1740
|
-
}
|
|
1741
|
-
return w.__subscriberCounts;
|
|
1742
|
-
}
|
|
1743
|
-
function setGlobalSubscriberCount(description, count) {
|
|
1744
|
-
getGlobalSubscriberCounts()[description] = count;
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
|
-
function observeQueryList(queryList, emitCurrentValue) {
|
|
1748
|
-
if (emitCurrentValue === void 0) { emitCurrentValue = true; }
|
|
1749
|
-
return queryList.changes.pipe(operators.startWith(queryList), operators.map(function (v) { return v.toArray(); }));
|
|
1750
|
-
}
|
|
1751
|
-
|
|
1752
|
-
function createPadding(len, chars) {
|
|
1753
|
-
// if (chars.length <= len) {
|
|
1754
|
-
// return chars
|
|
1755
|
-
// }
|
|
1756
|
-
if (chars.length === 0) {
|
|
1757
|
-
throw Error("Padding characters must be at least 1 char length.");
|
|
1758
|
-
}
|
|
1759
|
-
var str = chars;
|
|
1760
|
-
while (str.length < len) {
|
|
1761
|
-
str += chars;
|
|
1762
|
-
}
|
|
1763
|
-
if (str.length > len) {
|
|
1764
|
-
str = str.slice(0, len);
|
|
1765
|
-
}
|
|
1766
|
-
return str;
|
|
1767
|
-
}
|
|
1768
|
-
|
|
1769
|
-
function padEnd(stringToPad, paddingLength, paddingChars) {
|
|
1770
|
-
if (paddingLength === void 0) { paddingLength = 0; }
|
|
1771
|
-
if (paddingChars === void 0) { paddingChars = ' '; }
|
|
1772
|
-
var strLength = paddingLength ? stringToPad.length : 0;
|
|
1773
|
-
if (!paddingLength || strLength >= paddingLength) {
|
|
1774
|
-
return stringToPad;
|
|
1775
|
-
}
|
|
1776
|
-
return stringToPad + createPadding(paddingLength - strLength, paddingChars);
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
function padStart(stringToPad, paddingLength, paddingChars) {
|
|
1780
|
-
if (paddingLength === void 0) { paddingLength = 0; }
|
|
1781
|
-
if (paddingChars === void 0) { paddingChars = ' '; }
|
|
1782
|
-
var strLength = paddingLength ? stringToPad.length : 0;
|
|
1783
|
-
if (!paddingLength || strLength >= paddingLength) {
|
|
1784
|
-
return stringToPad;
|
|
1785
|
-
}
|
|
1786
|
-
return createPadding(paddingLength - strLength, paddingChars) + stringToPad;
|
|
1787
|
-
}
|
|
1788
|
-
|
|
1789
|
-
function isNumeric(value) {
|
|
1790
|
-
return !isNaN(Number(value) - parseFloat(value));
|
|
1791
|
-
}
|
|
1792
|
-
|
|
1793
|
-
/**
|
|
1794
|
-
* Returns the number of fractional digits.
|
|
1795
|
-
*
|
|
1796
|
-
* NOTE: This is intended for input validation, so trailing 0's will be included
|
|
1797
|
-
* in the total. Also, localization is not considered, so '.' is assumed to be
|
|
1798
|
-
* the fractional separator.
|
|
1799
|
-
*/
|
|
1800
|
-
function fractionalDigitsCount(value) {
|
|
1801
|
-
if (!isNumeric(value)) {
|
|
1802
|
-
return null;
|
|
1803
|
-
}
|
|
1804
|
-
var a = value.split('.');
|
|
1805
|
-
if (a.length !== 2) {
|
|
1806
|
-
return null;
|
|
1807
|
-
}
|
|
1808
|
-
return a[1].length;
|
|
1809
|
-
}
|
|
1810
|
-
|
|
1811
|
-
/**
|
|
1812
|
-
* Generated bundle index. Do not edit.
|
|
1813
|
-
*/
|
|
1814
|
-
|
|
1815
|
-
exports.IS_FEATURE_COLLECTION_VALIDATOR_NAME = IS_FEATURE_COLLECTION_VALIDATOR_NAME;
|
|
1816
|
-
exports.IS_ONLY_GEOMETRY_TYPES_VALIDATOR_NAME = IS_ONLY_GEOMETRY_TYPES_VALIDATOR_NAME;
|
|
1817
|
-
exports.MIN_MAX_POINTS_VALIDATOR_NAME = MIN_MAX_POINTS_VALIDATOR_NAME;
|
|
1818
|
-
exports.NO_INNER_RINGS_VALIDATOR_NAME = NO_INNER_RINGS_VALIDATOR_NAME;
|
|
1819
|
-
exports.NO_KINKS_VALIDATOR_NAME = NO_KINKS_VALIDATOR_NAME;
|
|
1820
|
-
exports.PollingTickerOptions = PollingTickerOptions;
|
|
1821
|
-
exports.Refreshable = Refreshable;
|
|
1822
|
-
exports.activatedRoutesWithDataProperty = activatedRoutesWithDataProperty;
|
|
1823
|
-
exports.arrayMoveImmutable = arrayMoveImmutable;
|
|
1824
|
-
exports.arrayMoveMutable = arrayMoveMutable;
|
|
1825
|
-
exports.calcPercentage = calcPercentage;
|
|
1826
|
-
exports.coerceFeatureCollection = coerceFeatureCollection;
|
|
1827
|
-
exports.createPadding = createPadding;
|
|
1828
|
-
exports.deleteProperties = deleteProperties;
|
|
1829
|
-
exports.deleteProperty = deleteProperty;
|
|
1830
|
-
exports.fileBufferToBlob = fileBufferToBlob;
|
|
1831
|
-
exports.fileBufferToObjectUrl = fileBufferToObjectUrl;
|
|
1832
|
-
exports.fileDataFromBuffer = fileDataFromBuffer;
|
|
1833
|
-
exports.fractionalDigitsCount = fractionalDigitsCount;
|
|
1834
|
-
exports.geoJsonToArea = geoJsonToArea;
|
|
1835
|
-
exports.getAttribute = getAttribute;
|
|
1836
|
-
exports.getClosestWidgetCdkDrag = getClosestWidgetCdkDrag;
|
|
1837
|
-
exports.getControlName = getControlName;
|
|
1838
|
-
exports.getControlPath = getControlPath;
|
|
1839
|
-
exports.hasAttribute = hasAttribute;
|
|
1840
|
-
exports.hasProperty = hasProperty;
|
|
1841
|
-
exports.hasRequiredControl = hasRequiredControl;
|
|
1842
|
-
exports.isAbsoluteUrl = isAbsoluteUrl;
|
|
1843
|
-
exports.isEmptyInputValue = isEmptyInputValue;
|
|
1844
|
-
exports.isEmptyUrlRoute = isEmptyUrlRoute;
|
|
1845
|
-
exports.isFeatureCollectionValidator = isFeatureCollectionValidator;
|
|
1846
|
-
exports.isNullOrUndefined = isNullOrUndefined;
|
|
1847
|
-
exports.isNumeric = isNumeric;
|
|
1848
|
-
exports.isOnlyGeometryTypes = isOnlyGeometryTypes;
|
|
1849
|
-
exports.isOnlyGeometryTypesValidator = isOnlyGeometryTypesValidator;
|
|
1850
|
-
exports.leafChildRoute = leafChildRoute;
|
|
1851
|
-
exports.loadStyle = loadStyle;
|
|
1852
|
-
exports.loadStyleSheet = loadStyleSheet;
|
|
1853
|
-
exports.mapEach = mapEach;
|
|
1854
|
-
exports.mergePolygons = mergePolygons;
|
|
1855
|
-
exports.minMaxPointsValidator = minMaxPointsValidator;
|
|
1856
|
-
exports.noInnerRingsValidator = noInnerRingsValidator;
|
|
1857
|
-
exports.noKinksValidator = noKinksValidator;
|
|
1858
|
-
exports.notNullOrUndefined = notNullOrUndefined;
|
|
1859
|
-
exports.observeControlIsDifferent = observeControlIsDifferent;
|
|
1860
|
-
exports.observeControlStatus = observeControlStatus;
|
|
1861
|
-
exports.observeControlValid = observeControlValid;
|
|
1862
|
-
exports.observeControlValue = observeControlValue;
|
|
1863
|
-
exports.observeControlValueChange = observeControlValueChange;
|
|
1864
|
-
exports.observeQueryList = observeQueryList;
|
|
1865
|
-
exports.openBlob = openBlob;
|
|
1866
|
-
exports.padEnd = padEnd;
|
|
1867
|
-
exports.padStart = padStart;
|
|
1868
|
-
exports.phoneNumberMask = phoneNumberMask;
|
|
1869
|
-
exports.pollingTicker = pollingTicker;
|
|
1870
|
-
exports.readFileAsDataUrlAsync = readFileAsDataUrlAsync;
|
|
1871
|
-
exports.readFileAsync = readFileAsync;
|
|
1872
|
-
exports.readGeoFile = readGeoFile;
|
|
1873
|
-
exports.routeSnapshotPathFull = routeSnapshotPathFull;
|
|
1874
|
-
exports.routeSnapshotPathRelative = routeSnapshotPathRelative;
|
|
1875
|
-
exports.splitMultiPolygons = splitMultiPolygons;
|
|
1876
|
-
exports.subscriberCount = subscriberCount;
|
|
1877
|
-
exports.tapFirst = tapFirst;
|
|
1878
|
-
exports.toggleAttribute = toggleAttribute;
|
|
1879
|
-
exports.waitOnConditionAsync = waitOnConditionAsync;
|
|
1880
|
-
exports.waitOnNonPendingStatus = waitOnNonPendingStatus;
|
|
1881
|
-
exports.willHaveDataProp = willHaveDataProp;
|
|
1882
|
-
exports.withoutProperties = withoutProperties;
|
|
1883
|
-
exports.withoutProperty = withoutProperty;
|
|
1884
|
-
exports.wrapIntoObservable = wrapIntoObservable;
|
|
1885
|
-
exports["ɵ0"] = ɵ0;
|
|
1886
|
-
|
|
1887
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1888
|
-
|
|
1889
|
-
}));
|
|
1890
|
-
//# sourceMappingURL=theseam-ui-common-utils.umd.js.map
|