@theseam/ui-common 0.3.11 → 0.4.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/asset-reader/asset-reader-helper.service.d.ts +3 -0
- package/asset-reader/asset-reader.module.d.ts +5 -0
- package/asset-reader/encrypted-asset-link.directive.d.ts +3 -0
- package/asset-reader/index.d.ts +5 -0
- package/breadcrumbs/_breadcrumbs-theme.scss +3 -3
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.d.ts +3 -0
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.scss +10 -10
- package/breadcrumbs/breadcrumbs.module.d.ts +7 -0
- package/breadcrumbs/breadcrumbs.service.d.ts +3 -0
- package/breadcrumbs/index.d.ts +5 -0
- package/buttons/badge-button/badge-button.component.d.ts +5 -0
- package/buttons/button/button.component.d.ts +7 -0
- package/buttons/buttons.module.d.ts +10 -0
- package/buttons/index.d.ts +5 -0
- package/buttons/progress-circle-button/progress-circle-button.component.d.ts +3 -0
- package/buttons/toggle-button/toggle-button.component.d.ts +3 -0
- package/card/card-action/card-action.component.d.ts +3 -0
- package/card/card-body/card-body.component.d.ts +3 -0
- package/card/card-footer/card-footer.component.d.ts +3 -0
- package/card/card-header/card-header.component.d.ts +3 -0
- package/card/card.component.d.ts +3 -0
- package/card/card.module.d.ts +11 -0
- package/card/index.d.ts +5 -0
- package/checkbox/checkbox.component.d.ts +3 -0
- package/checkbox/checkbox.module.d.ts +7 -0
- package/checkbox/index.d.ts +5 -0
- package/checkbox/public-api.d.ts +1 -0
- package/checkbox/testing/checkbox.harness.d.ts +49 -0
- package/checkbox/testing/index.d.ts +1 -0
- package/confirm-dialog/confirm-click.directive.d.ts +3 -0
- package/confirm-dialog/confirm-dialog.component.d.ts +3 -0
- package/confirm-dialog/confirm-dialog.module.d.ts +10 -0
- package/confirm-dialog/confirm-dialog.service.d.ts +3 -0
- package/confirm-dialog/index.d.ts +5 -0
- package/core/index.d.ts +5 -0
- package/core/input-decorators/input-boolean.decorator.d.ts +1 -1
- package/core/input-decorators/input-number.decorator.d.ts +1 -1
- package/data-exporter/data-exporter.module.d.ts +4 -0
- package/data-exporter/exporters/csv-exporter.d.ts +3 -0
- package/data-exporter/exporters/xlsx-exporter.d.ts +3 -0
- package/data-exporter/index.d.ts +5 -0
- package/data-filters/data-filters.module.d.ts +13 -0
- package/data-filters/filters/data-filter-search/data-filter-search.component.d.ts +6 -3
- package/data-filters/filters/data-filter-text/data-filter-text.component.d.ts +5 -2
- package/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.d.ts +5 -2
- package/data-filters/index.d.ts +5 -0
- package/datatable/datatable/datatable.component.d.ts +3 -0
- package/datatable/datatable-action-menu/datatable-action-menu.component.d.ts +3 -0
- package/datatable/datatable-action-menu-item/datatable-action-menu-item.component.d.ts +3 -0
- package/datatable/datatable-column/datatable-column.component.d.ts +3 -0
- package/datatable/datatable-column-preferences/datatable-column-preferences.component.d.ts +5 -2
- package/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.d.ts +3 -0
- package/datatable/datatable-export-button/datatable-export-button.component.d.ts +3 -0
- package/datatable/datatable-footer/datatable-footer-tpl.directive.d.ts +3 -0
- package/datatable/datatable-footer/datatable-footer.directive.d.ts +3 -0
- package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.d.ts +3 -0
- package/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.d.ts +3 -0
- package/datatable/datatable-row-detail/datatable-row-detail.directive.d.ts +3 -0
- package/datatable/datatable.module.d.ts +45 -0
- package/datatable/directives/datatable-action-menu-item.directive.d.ts +3 -0
- package/datatable/directives/datatable-action-menu-toggle.directive.d.ts +3 -0
- package/datatable/directives/datatable-cell-tpl.directive.d.ts +3 -0
- package/datatable/directives/datatable-filter.directive.d.ts +3 -0
- package/datatable/directives/datatable-row-action-item.directive.d.ts +3 -0
- package/datatable/index.d.ts +5 -0
- package/datatable/services/columns-alterations-manager.service.d.ts +3 -0
- package/datatable/services/columns-manager.service.d.ts +3 -0
- package/datatable/services/datatable-column-changes.service.d.ts +3 -0
- package/datatable/services/datatable-preferences.service.d.ts +3 -0
- package/datatable/services/datatable-scrollbar-helper.service.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic.module.d.ts +20 -0
- package/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.d.ts +3 -0
- package/datatable-dynamic/dynamic-datatable-def.service.d.ts +3 -0
- package/datatable-dynamic/dynamic-datatable-row-actions.service.d.ts +3 -0
- package/datatable-dynamic/index.d.ts +5 -0
- package/datatable-dynamic/models/dynamic-datatable-menu-bar.d.ts +2 -2
- package/dynamic/action/api/dynamic-action-api.service.d.ts +3 -0
- package/dynamic/action/dynamic-action-helper.service.d.ts +3 -0
- package/dynamic/action/link/dynamic-action-link.service.d.ts +3 -0
- package/dynamic/action/modal/dynamic-action-modal.service.d.ts +3 -0
- package/dynamic/dynamic-value-helper.service.d.ts +7 -3
- package/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.d.ts +3 -0
- package/dynamic/evaluators/jexl-evaluator/jexl-evaluator.d.ts +6 -2
- package/dynamic/index.d.ts +5 -0
- package/dynamic/models/dynamic-value-evaluatable-type.d.ts +2 -1
- package/dynamic-component-loader/dynamic-component-loader.module.d.ts +7 -3
- package/dynamic-component-loader/dynamic-component-loader.service.d.ts +7 -6
- package/dynamic-component-loader/dynamic-component-manifest.d.ts +4 -4
- package/dynamic-component-loader/index.d.ts +5 -0
- package/esm2020/asset-reader/asset-reader-helper.service.mjs +68 -0
- package/esm2020/asset-reader/asset-reader.module.mjs +20 -0
- package/esm2020/asset-reader/encrypted-asset-link.directive.mjs +74 -0
- package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +19 -0
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +28 -0
- package/esm2020/breadcrumbs/breadcrumbs.service.mjs +156 -0
- package/esm2020/buttons/badge-button/badge-button.component.mjs +60 -0
- package/esm2020/buttons/button/button.component.mjs +82 -0
- package/esm2020/buttons/buttons.module.mjs +51 -0
- package/esm2020/buttons/progress-circle-button/progress-circle-button.component.mjs +52 -0
- package/esm2020/buttons/toggle-button/toggle-button.component.mjs +79 -0
- package/esm2020/card/card-action/card-action.component.mjs +31 -0
- package/esm2020/card/card-body/card-body.component.mjs +33 -0
- package/esm2020/card/card-footer/card-footer.component.mjs +14 -0
- package/esm2020/card/card-header/card-header.component.mjs +23 -0
- package/esm2020/card/card.component.mjs +19 -0
- package/esm2020/card/card.module.mjs +48 -0
- package/esm2020/checkbox/checkbox.component.mjs +281 -0
- package/esm2020/checkbox/checkbox.module.mjs +28 -0
- package/esm2020/checkbox/public-api.mjs +4 -0
- package/esm2020/checkbox/testing/checkbox.harness.mjs +63 -0
- package/esm2020/checkbox/testing/index.mjs +2 -0
- package/esm2020/confirm-dialog/confirm-click.directive.mjs +69 -0
- package/esm2020/confirm-dialog/confirm-dialog.component.mjs +24 -0
- package/esm2020/confirm-dialog/confirm-dialog.module.mjs +47 -0
- package/esm2020/confirm-dialog/confirm-dialog.service.mjs +38 -0
- package/esm2020/data-exporter/data-exporter.module.mjs +25 -0
- package/esm2020/data-exporter/exporters/csv-exporter.mjs +35 -0
- package/esm2020/data-exporter/exporters/xlsx-exporter.mjs +33 -0
- package/esm2020/data-filters/data-filters.module.mjs +66 -0
- package/esm2020/data-filters/filters/data-filter-search/data-filter-search.component.mjs +121 -0
- package/esm2020/data-filters/filters/data-filter-text/data-filter-text.component.mjs +148 -0
- package/esm2020/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.mjs +163 -0
- package/esm2020/datatable/datatable/datatable.component.mjs +665 -0
- package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +100 -0
- package/esm2020/datatable/datatable-action-menu-item/datatable-action-menu-item.component.mjs +47 -0
- package/esm2020/datatable/datatable-column/datatable-column.component.mjs +108 -0
- package/esm2020/datatable/datatable-column-preferences/datatable-column-preferences.component.mjs +67 -0
- package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +52 -0
- package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +106 -0
- package/esm2020/datatable/datatable-footer/datatable-footer-tpl.directive.mjs +16 -0
- package/esm2020/datatable/datatable-footer/datatable-footer.directive.mjs +24 -0
- package/esm2020/datatable/datatable-menu-bar/datatable-menu-bar.component.mjs +53 -0
- package/esm2020/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.mjs +31 -0
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.mjs +16 -0
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail.directive.mjs +77 -0
- package/esm2020/datatable/datatable.module.mjs +205 -0
- package/esm2020/datatable/directives/datatable-action-menu-item.directive.mjs +63 -0
- package/esm2020/datatable/directives/datatable-action-menu-toggle.directive.mjs +137 -0
- package/esm2020/datatable/directives/datatable-cell-tpl.directive.mjs +16 -0
- package/esm2020/datatable/directives/datatable-filter.directive.mjs +27 -0
- package/esm2020/datatable/directives/datatable-row-action-item.directive.mjs +16 -0
- package/esm2020/datatable/services/columns-alterations-manager.service.mjs +136 -0
- package/esm2020/datatable/services/columns-manager.service.mjs +261 -0
- package/esm2020/datatable/services/datatable-column-changes.service.mjs +20 -0
- package/esm2020/datatable/services/datatable-preferences.service.mjs +165 -0
- package/esm2020/datatable/services/datatable-scrollbar-helper.service.mjs +50 -0
- package/esm2020/datatable/theseam-ui-common-datatable.mjs +5 -0
- package/esm2020/datatable/utils/with-stored-column-info.mjs +20 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +119 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.mjs +50 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.mjs +149 -0
- package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +77 -0
- package/esm2020/datatable-dynamic/datatable-dynamic.module.mjs +80 -0
- package/esm2020/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.mjs +400 -0
- package/esm2020/datatable-dynamic/dynamic-datatable-def.service.mjs +88 -0
- package/esm2020/datatable-dynamic/dynamic-datatable-row-actions.service.mjs +46 -0
- package/esm2020/datatable-dynamic/models/dynamic-datatable-menu-bar.mjs +2 -0
- package/esm2020/dynamic/action/api/dynamic-action-api.service.mjs +206 -0
- package/esm2020/dynamic/action/dynamic-action-helper.service.mjs +157 -0
- package/esm2020/dynamic/action/link/dynamic-action-link.service.mjs +47 -0
- package/esm2020/dynamic/action/modal/dynamic-action-modal.service.mjs +85 -0
- package/esm2020/dynamic/dynamic-value-helper.service.mjs +102 -0
- package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.mjs +30 -0
- package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-evaluator.mjs +32 -0
- package/esm2020/dynamic/models/dynamic-value-evaluatable-type.mjs +2 -0
- package/esm2020/dynamic-component-loader/dynamic-component-loader.module.mjs +50 -0
- package/esm2020/dynamic-component-loader/dynamic-component-loader.service.mjs +78 -0
- package/esm2020/dynamic-component-loader/dynamic-component-manifest.mjs +2 -0
- package/esm2020/footer-bar/footer-bar/footer-bar.component.mjs +14 -0
- package/esm2020/footer-bar/footer-bar.module.mjs +20 -0
- package/esm2020/form-field/form-field-error.directive.mjs +30 -0
- package/esm2020/form-field/form-field-help-text.directive.mjs +16 -0
- package/esm2020/form-field/form-field-label-tpl.directive.mjs +16 -0
- package/esm2020/form-field/form-field-required-indicator.component.mjs +46 -0
- package/esm2020/form-field/form-field-tokens.mjs +3 -0
- package/esm2020/form-field/form-field.component.mjs +221 -0
- package/esm2020/form-field/form-field.module.mjs +61 -0
- package/esm2020/form-field/input.directive.mjs +219 -0
- package/esm2020/form-field/public-api.mjs +10 -0
- package/esm2020/form-field/testing/form-field-required-indicator.harness.mjs +8 -0
- package/esm2020/form-field/testing/index.mjs +2 -0
- package/esm2020/form-field-error/form-field-error/form-field-error.component.mjs +28 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.mjs +26 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item.directive.mjs +18 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list.component.mjs +384 -0
- package/esm2020/form-field-error/form-field-error.module.mjs +39 -0
- package/esm2020/framework/base-layout/base-layout.component.mjs +122 -0
- package/esm2020/framework/base-layout/base-layout.module.mjs +75 -0
- package/esm2020/framework/base-layout/directives/base-layout-content-footer.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-content-header.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-content.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +50 -0
- package/esm2020/framework/base-layout/directives/base-layout-side-bar-footer.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-side-bar.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-top-bar.directive.mjs +16 -0
- package/esm2020/framework/base-layout/index.mjs +14 -0
- package/esm2020/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.mjs +18 -0
- package/esm2020/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.mjs +24 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.mjs +119 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.mjs +176 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.component.mjs +206 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.service.mjs +170 -0
- package/esm2020/framework/dashboard/dashboard-widgets-tokens.mjs +3 -0
- package/esm2020/framework/dashboard/dashboard.component.mjs +24 -0
- package/esm2020/framework/dashboard/dashboard.module.mjs +60 -0
- package/esm2020/framework/dynamic-router/dynamic-router.module.mjs +28 -0
- package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.mjs +117 -0
- package/esm2020/framework/dynamic-router/resolvers/hierarchy-level.resolver.mjs +27 -0
- package/esm2020/framework/schema-form/schema-form-framework.component.mjs +18 -0
- package/esm2020/framework/schema-form/schema-form-framework.mjs +30 -0
- package/esm2020/framework/schema-form/schema-form.module.mjs +52 -0
- package/esm2020/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.mjs +43 -0
- package/esm2020/framework/schema-form-controls/schema-form-controls.module.mjs +79 -0
- package/esm2020/framework/schema-form-controls/schema-form-input/schema-form-input.component.mjs +34 -0
- package/esm2020/framework/schema-form-controls/schema-form-number/schema-form-number.component.mjs +40 -0
- package/esm2020/framework/schema-form-controls/schema-form-select/schema-form-select.component.mjs +38 -0
- package/esm2020/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.mjs +46 -0
- package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +143 -0
- package/esm2020/framework/side-nav/index.mjs +8 -0
- package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +206 -0
- package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +34 -0
- package/esm2020/framework/side-nav/side-nav-tokens.mjs +3 -0
- package/esm2020/framework/side-nav/side-nav-utils.mjs +79 -0
- package/esm2020/framework/side-nav/side-nav.component.mjs +295 -0
- package/esm2020/framework/side-nav/side-nav.module.mjs +62 -0
- package/esm2020/framework/side-nav/side-nav.service.mjs +178 -0
- package/esm2020/framework/theseam-ui-common-framework.mjs +5 -0
- package/esm2020/framework/top-bar/top-bar-item.directive.mjs +16 -0
- package/esm2020/framework/top-bar/top-bar-menu-btn-detail.directive.mjs +16 -0
- package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +56 -0
- package/esm2020/framework/top-bar/top-bar-menu.directive.mjs +19 -0
- package/esm2020/framework/top-bar/top-bar-title/top-bar-title.component.mjs +19 -0
- package/esm2020/framework/top-bar/top-bar.component.mjs +99 -0
- package/esm2020/framework/top-bar/top-bar.module.mjs +73 -0
- package/esm2020/google-maps/google-maps/google-maps.component.mjs +301 -0
- package/esm2020/google-maps/google-maps-api-loader/google-maps-api-loader.mjs +3 -0
- package/esm2020/google-maps/google-maps-controls.service.mjs +67 -0
- package/esm2020/google-maps/google-maps-feature-helpers.mjs +211 -0
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +210 -0
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.mjs +165 -0
- package/esm2020/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.mjs +58 -0
- package/esm2020/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.mjs +115 -0
- package/esm2020/google-maps/google-maps.module.mjs +70 -0
- package/esm2020/google-maps/google-maps.service.mjs +355 -0
- package/esm2020/google-maps/map-control.component.mjs +66 -0
- package/esm2020/google-maps/map-file-drop/map-file-drop.component.mjs +128 -0
- package/esm2020/google-maps/map-value-manager.service.mjs +48 -0
- package/esm2020/google-maps/theseam-ui-common-google-maps.mjs +5 -0
- package/esm2020/graphql/datatable/create-page-info-observable.mjs +38 -0
- package/esm2020/graphql/datatable/datatable-graphql-query-ref.mjs +238 -0
- package/esm2020/graphql/datatable/datatable-graphql.service.mjs +50 -0
- package/esm2020/graphql/datatable/datatable-helpers.mjs +175 -0
- package/esm2020/graphql/datatable/get-page-info.mjs +10 -0
- package/esm2020/graphql/datatable/map-filter-states.mjs +62 -0
- package/esm2020/graphql/utils/parse-hints.mjs +108 -0
- package/esm2020/icon/icon/icon.component.mjs +139 -0
- package/esm2020/icon/icon-btn/icon-btn.component.mjs +184 -0
- package/esm2020/icon/icon-notification/icon-notification.component.mjs +124 -0
- package/esm2020/icon/icon.module.mjs +38 -0
- package/esm2020/layout/layout.module.mjs +25 -0
- package/esm2020/layout/layout.service.mjs +22 -0
- package/esm2020/loading/loading/loading.component.mjs +27 -0
- package/esm2020/loading/loading-overlay.service.mjs +58 -0
- package/esm2020/loading/loading.module.mjs +41 -0
- package/esm2020/menu/menu-divider.component.mjs +13 -0
- package/esm2020/menu/menu-footer/menu-footer.component.mjs +32 -0
- package/esm2020/menu/menu-footer-action/menu-footer-action.component.mjs +54 -0
- package/esm2020/menu/menu-header/menu-header.component.mjs +32 -0
- package/esm2020/menu/menu-item.component.mjs +131 -0
- package/esm2020/menu/menu-toggle.directive.mjs +251 -0
- package/esm2020/menu/menu.component.mjs +177 -0
- package/esm2020/menu/menu.module.mjs +67 -0
- package/esm2020/modal/directives/modal-close.directive.mjs +74 -0
- package/esm2020/modal/directives/modal-footer-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-header-icon-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-header-title-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-title.directive.mjs +20 -0
- package/esm2020/modal/directives/modal.directive.mjs +25 -0
- package/esm2020/modal/modal/modal.component.mjs +163 -0
- package/esm2020/modal/modal-body/modal-body.component.mjs +23 -0
- package/esm2020/modal/modal-config.mjs +47 -0
- package/esm2020/modal/modal-container/modal-container.component.mjs +245 -0
- package/esm2020/modal/modal-footer/modal-footer.component.mjs +19 -0
- package/esm2020/modal/modal-header/modal-header.component.mjs +30 -0
- package/esm2020/modal/modal.models.mjs +3 -0
- package/esm2020/modal/modal.module.mjs +127 -0
- package/esm2020/modal/modal.service.mjs +349 -0
- package/esm2020/modal/route-modal/route-modal.component.mjs +63 -0
- package/esm2020/popover/popover/popover.component.mjs +156 -0
- package/esm2020/popover/popover.directive.mjs +260 -0
- package/esm2020/popover/popover.module.mjs +40 -0
- package/esm2020/progress/progress-circle/progress-circle.component.mjs +65 -0
- package/esm2020/progress/progress.module.mjs +24 -0
- package/esm2020/scrollbar/overlay-scrollbar.directive.mjs +61 -0
- package/esm2020/scrollbar/overlay-scrollbars-config.mjs +13 -0
- package/esm2020/scrollbar/overlay-scrollbars.service.mjs +83 -0
- package/esm2020/scrollbar/scrollbar.module.mjs +30 -0
- package/esm2020/services/asset-loader.service.mjs +33 -0
- package/esm2020/services/font-loader.service.mjs +84 -0
- package/esm2020/services/router-helpers.service.mjs +25 -0
- package/esm2020/shared/components/password-input-reveal/password-input-reveal.component.mjs +49 -0
- package/esm2020/shared/directives/auto-focus.directive.mjs +54 -0
- package/esm2020/shared/directives/click-outside.directive.mjs +52 -0
- package/esm2020/shared/directives/disable-control.directive.mjs +27 -0
- package/esm2020/shared/directives/elem-resized.directive.mjs +28 -0
- package/esm2020/shared/directives/hover-class-toggle.directive.mjs +88 -0
- package/esm2020/shared/directives/hover-class.directive.mjs +82 -0
- package/esm2020/shared/directives/ng-select-extra.directive.mjs +184 -0
- package/esm2020/shared/directives/ngx-quill-extra.directive.mjs +61 -0
- package/esm2020/shared/pipes/mask-chars.pipe.mjs +25 -0
- package/esm2020/shared/pipes/truncate.pipe.mjs +23 -0
- package/esm2020/shared/shared.module.mjs +93 -0
- package/esm2020/storage/local-storage.service.mjs +78 -0
- package/esm2020/story-helpers/arg-type-helpers.mjs +35 -0
- package/esm2020/story-helpers/args-to-tpl.mjs +72 -0
- package/esm2020/story-helpers/initial-route.service.mjs +27 -0
- package/esm2020/story-helpers/on-story-bootstrapped-exec.mjs +61 -0
- package/esm2020/story-helpers/on-story-bootstrapped-trigger.mjs +38 -0
- package/esm2020/story-helpers/routes-arg-type.mjs +19 -0
- package/esm2020/story-helpers/story-empty-with-route.component.mjs +12 -0
- package/esm2020/story-helpers/story-empty.component.mjs +11 -0
- package/esm2020/story-helpers/story-helper-components.module.mjs +42 -0
- package/esm2020/story-helpers/story-initial-route.mjs +28 -0
- package/esm2020/story-helpers/story-modal-container.component.mjs +90 -0
- package/esm2020/story-helpers/story-toastr.service.mjs +36 -0
- package/esm2020/tabbed/directives/tabbed-tab-content.directive.mjs +17 -0
- package/esm2020/tabbed/directives/tabbed-tab.directive.mjs +36 -0
- package/esm2020/tabbed/public-api.mjs +9 -0
- package/esm2020/tabbed/tabbed-content/tabbed-content.component.mjs +18 -0
- package/esm2020/tabbed/tabbed-item/tabbed-item.component.mjs +34 -0
- package/esm2020/tabbed/tabbed-models.mjs +2 -0
- package/esm2020/tabbed/tabbed.component.mjs +112 -0
- package/esm2020/tabbed/tabbed.module.mjs +54 -0
- package/esm2020/tabbed/tabbed.service.mjs +30 -0
- package/esm2020/table/table/table.component.mjs +97 -0
- package/esm2020/table/table.module.mjs +32 -0
- package/esm2020/table-cell-type/services/table-cell-types-helpers.service.mjs +67 -0
- package/esm2020/table-cell-type/table-cell-type-selector.component.mjs +101 -0
- package/esm2020/table-cell-type/table-cell-type.module.mjs +29 -0
- package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.mjs +86 -0
- package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.component.mjs +56 -0
- package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.mjs +84 -0
- package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.mjs +175 -0
- package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.mjs +82 -0
- package/esm2020/table-cell-types/table-cell-type-manifests.mjs +92 -0
- package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.mjs +68 -0
- package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.mjs +167 -0
- package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.mjs +78 -0
- package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +192 -0
- package/esm2020/table-cell-types/table-cell-types.module.mjs +118 -0
- package/esm2020/table-cell-types/theseam-ui-common-table-cell-types.mjs +5 -0
- package/esm2020/tel-input/phone-number.pipe.mjs +49 -0
- package/esm2020/tel-input/tel-input/tel-input.component.mjs +187 -0
- package/esm2020/tel-input/tel-input-validator.mjs +27 -0
- package/esm2020/tel-input/tel-input.directive.mjs +218 -0
- package/esm2020/tel-input/tel-input.module.mjs +42 -0
- package/esm2020/tel-input/utils/get-validation-error-message.mjs +12 -0
- package/esm2020/testing/get-harness.mjs +13 -0
- package/esm2020/testing/render-story.mjs +10 -0
- package/esm2020/testing/story-expect.mjs +38 -0
- package/esm2020/tiled-select/components/tiled-select/tiled-select.component.mjs +215 -0
- package/esm2020/tiled-select/components/tiled-select-tile/tiled-select-tile.component.mjs +160 -0
- package/esm2020/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.mjs +64 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-icon-tpl.directive.mjs +17 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-label-tpl.directive.mjs +16 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-overlay.directive.mjs +19 -0
- package/esm2020/tiled-select/public-api.mjs +10 -0
- package/esm2020/tiled-select/testing/index.mjs +3 -0
- package/esm2020/tiled-select/testing/tiled-select-harness.mjs +21 -0
- package/esm2020/tiled-select/testing/tiled-select-tile-harness.mjs +23 -0
- package/esm2020/tiled-select/tiled-select.module.mjs +51 -0
- package/esm2020/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.mjs +14 -0
- package/esm2020/toggle-edit/toggle-edit-display-tpl.directive.mjs +16 -0
- package/esm2020/toggle-edit/toggle-edit-keyboard-listener.service.mjs +57 -0
- package/esm2020/toggle-edit/toggle-edit.component.mjs +414 -0
- package/esm2020/toggle-edit/toggle-edit.module.mjs +64 -0
- package/esm2020/toggle-group/toggle-group-option.directive.mjs +47 -0
- package/esm2020/toggle-group/toggle-group.directive.mjs +198 -0
- package/esm2020/toggle-group/toggle-group.module.mjs +33 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-can-deactivate.mjs +30 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +24 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.guard.mjs +37 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +17 -0
- package/esm2020/utils/file-utils.mjs +50 -0
- package/esm2020/utils/geo-json/coerce-feature-collection.mjs +44 -0
- package/esm2020/utils/geo-json/geo-json-to-area.mjs +11 -0
- package/esm2020/utils/geo-json/is-feature-collection.validator.mjs +21 -0
- package/esm2020/utils/geo-json/is-only-geometry-types.mjs +23 -0
- package/esm2020/utils/geo-json/is-only-geometry-types.validator.mjs +32 -0
- package/esm2020/utils/geo-json/merge-polygons.mjs +35 -0
- package/esm2020/utils/geo-json/no-inner-rings.validator.mjs +63 -0
- package/esm2020/utils/geo-json/read-geo-file.mjs +89 -0
- package/esm2020/utils/geo-json/split-multi-polygons.mjs +29 -0
- package/esm2020/utils/obj-utils.mjs +26 -0
- package/esm2020/utils/polling-ticker.mjs +121 -0
- package/esm2020/utils/subscriber-count.mjs +44 -0
- package/esm2020/utils/wait-on-condition-async.mjs +30 -0
- package/esm2020/viewers/html-template-viewer/html-template-viewer.component.mjs +219 -0
- package/esm2020/viewers/html-template-viewer/html-template-viewer.module.mjs +32 -0
- package/esm2020/viewers/pdf-viewer/pdf-page/pdf-page.component.mjs +142 -0
- package/esm2020/viewers/pdf-viewer/pdf-renderer.service.mjs +28 -0
- package/esm2020/viewers/pdf-viewer/pdf-viewer.component.mjs +163 -0
- package/esm2020/viewers/pdf-viewer/pdf-viewer.module.mjs +33 -0
- package/esm2020/widget/directives/widget-drag-handle.directive.mjs +150 -0
- package/esm2020/widget/directives/widget-icon-tpl.directive.mjs +16 -0
- package/esm2020/widget/directives/widget-title-tpl.directive.mjs +16 -0
- package/esm2020/widget/widget/widget.component.mjs +145 -0
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.module.mjs +30 -0
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-description/widget-description.component.mjs +11 -0
- package/esm2020/widget/widget-content-components/widget-description/widget-description.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.component.mjs +40 -0
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.component.mjs +13 -0
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.component.mjs +22 -0
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.mjs +17 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.mjs +127 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.component.mjs +16 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.module.mjs +46 -0
- package/esm2020/widget/widget-content-components/widget-table/widget-table.component.mjs +38 -0
- package/esm2020/widget/widget-content-components/widget-table/widget-table.module.mjs +32 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.mjs +16 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.mjs +42 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.mjs +17 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.component.mjs +121 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.module.mjs +48 -0
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.module.mjs +27 -0
- package/esm2020/widget/widget-footer/widget-footer.component.mjs +13 -0
- package/esm2020/widget/widget-registry.service.mjs +55 -0
- package/esm2020/widget/widget.module.mjs +125 -0
- package/fesm2015/theseam-ui-common-asset-reader.mjs +184 -0
- package/fesm2015/theseam-ui-common-asset-reader.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs +202 -0
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-buttons.mjs +310 -0
- package/fesm2015/theseam-ui-common-buttons.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-card.mjs +161 -0
- package/fesm2015/theseam-ui-common-card.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-checkbox.mjs +394 -0
- package/fesm2015/theseam-ui-common-checkbox.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs +173 -0
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-core.mjs +223 -0
- package/fesm2015/theseam-ui-common-core.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-data-exporter.mjs +93 -0
- package/fesm2015/theseam-ui-common-data-exporter.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-data-filters.mjs +505 -0
- package/fesm2015/theseam-ui-common-data-filters.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +1002 -0
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-datatable.mjs +2780 -0
- package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs +135 -0
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-dynamic.mjs +710 -0
- package/fesm2015/theseam-ui-common-dynamic.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-footer-bar.mjs +38 -0
- package/fesm2015/theseam-ui-common-footer-bar.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-form-field-error.mjs +481 -0
- package/fesm2015/theseam-ui-common-form-field-error.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-form-field.mjs +600 -0
- package/fesm2015/theseam-ui-common-form-field.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-framework.mjs +2990 -0
- package/fesm2015/theseam-ui-common-framework.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-google-maps.mjs +1837 -0
- package/fesm2015/theseam-ui-common-google-maps.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-graphql.mjs +886 -0
- package/fesm2015/theseam-ui-common-graphql.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-icon.mjs +588 -0
- package/fesm2015/theseam-ui-common-icon.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-layout.mjs +92 -0
- package/fesm2015/theseam-ui-common-layout.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-loading.mjs +140 -0
- package/fesm2015/theseam-ui-common-loading.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-menu.mjs +806 -0
- package/fesm2015/theseam-ui-common-menu.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-modal.mjs +1383 -0
- package/fesm2015/theseam-ui-common-modal.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-models.mjs +52 -0
- package/fesm2015/theseam-ui-common-models.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-popover.mjs +498 -0
- package/fesm2015/theseam-ui-common-popover.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-progress.mjs +93 -0
- package/fesm2015/theseam-ui-common-progress.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-scrollbar.mjs +185 -0
- package/fesm2015/theseam-ui-common-scrollbar.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-services.mjs +141 -0
- package/fesm2015/theseam-ui-common-services.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-shared.mjs +739 -0
- package/fesm2015/theseam-ui-common-shared.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-storage.mjs +148 -0
- package/fesm2015/theseam-ui-common-storage.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-story-helpers.mjs +477 -0
- package/fesm2015/theseam-ui-common-story-helpers.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tabbed.mjs +283 -0
- package/fesm2015/theseam-ui-common-tabbed.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table-cell-type.mjs +202 -0
- package/fesm2015/theseam-ui-common-table-cell-type.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table-cell-types.mjs +1134 -0
- package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table.mjs +129 -0
- package/fesm2015/theseam-ui-common-table.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tel-input.mjs +777 -0
- package/fesm2015/theseam-ui-common-tel-input.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-testing.mjs +192 -0
- package/fesm2015/theseam-ui-common-testing.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tiled-select.mjs +574 -0
- package/fesm2015/theseam-ui-common-tiled-select.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-toggle-edit.mjs +563 -0
- package/fesm2015/theseam-ui-common-toggle-edit.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-toggle-group.mjs +279 -0
- package/fesm2015/theseam-ui-common-toggle-group.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs +108 -0
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-utils.mjs +1314 -0
- package/fesm2015/theseam-ui-common-utils.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-validators.mjs +94 -0
- package/fesm2015/theseam-ui-common-validators.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-viewers.mjs +600 -0
- package/fesm2015/theseam-ui-common-viewers.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-widget.mjs +1273 -0
- package/fesm2015/theseam-ui-common-widget.mjs.map +1 -0
- package/fesm2015/theseam-ui-common.mjs +47 -0
- package/fesm2015/theseam-ui-common.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-asset-reader.mjs +182 -0
- package/fesm2020/theseam-ui-common-asset-reader.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs +202 -0
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-buttons.mjs +310 -0
- package/fesm2020/theseam-ui-common-buttons.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-card.mjs +159 -0
- package/fesm2020/theseam-ui-common-card.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-checkbox.mjs +376 -0
- package/fesm2020/theseam-ui-common-checkbox.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs +173 -0
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-core.mjs +231 -0
- package/fesm2020/theseam-ui-common-core.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-data-exporter.mjs +93 -0
- package/fesm2020/theseam-ui-common-data-exporter.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-data-filters.mjs +497 -0
- package/fesm2020/theseam-ui-common-data-filters.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +990 -0
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-datatable.mjs +2773 -0
- package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs +133 -0
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-dynamic.mjs +677 -0
- package/fesm2020/theseam-ui-common-dynamic.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-footer-bar.mjs +38 -0
- package/fesm2020/theseam-ui-common-footer-bar.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-form-field-error.mjs +485 -0
- package/fesm2020/theseam-ui-common-form-field-error.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-form-field.mjs +593 -0
- package/fesm2020/theseam-ui-common-form-field.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-framework.mjs +2988 -0
- package/fesm2020/theseam-ui-common-framework.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-google-maps.mjs +1831 -0
- package/fesm2020/theseam-ui-common-google-maps.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-graphql.mjs +892 -0
- package/fesm2020/theseam-ui-common-graphql.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-icon.mjs +588 -0
- package/fesm2020/theseam-ui-common-icon.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-layout.mjs +94 -0
- package/fesm2020/theseam-ui-common-layout.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-loading.mjs +139 -0
- package/fesm2020/theseam-ui-common-loading.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-menu.mjs +793 -0
- package/fesm2020/theseam-ui-common-menu.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-modal.mjs +1375 -0
- package/fesm2020/theseam-ui-common-modal.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-models.mjs +54 -0
- package/fesm2020/theseam-ui-common-models.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-popover.mjs +495 -0
- package/fesm2020/theseam-ui-common-popover.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-progress.mjs +93 -0
- package/fesm2020/theseam-ui-common-progress.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-scrollbar.mjs +185 -0
- package/fesm2020/theseam-ui-common-scrollbar.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-services.mjs +142 -0
- package/fesm2020/theseam-ui-common-services.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-shared.mjs +733 -0
- package/fesm2020/theseam-ui-common-shared.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-storage.mjs +148 -0
- package/fesm2020/theseam-ui-common-storage.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-story-helpers.mjs +473 -0
- package/fesm2020/theseam-ui-common-story-helpers.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tabbed.mjs +281 -0
- package/fesm2020/theseam-ui-common-tabbed.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table-cell-type.mjs +199 -0
- package/fesm2020/theseam-ui-common-table-cell-type.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table-cell-types.mjs +1109 -0
- package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table.mjs +133 -0
- package/fesm2020/theseam-ui-common-table.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tel-input.mjs +762 -0
- package/fesm2020/theseam-ui-common-tel-input.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-testing.mjs +187 -0
- package/fesm2020/theseam-ui-common-testing.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tiled-select.mjs +560 -0
- package/fesm2020/theseam-ui-common-tiled-select.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-toggle-edit.mjs +556 -0
- package/fesm2020/theseam-ui-common-toggle-edit.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-toggle-group.mjs +276 -0
- package/fesm2020/theseam-ui-common-toggle-group.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs +108 -0
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-utils.mjs +1291 -0
- package/fesm2020/theseam-ui-common-utils.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-validators.mjs +94 -0
- package/fesm2020/theseam-ui-common-validators.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-viewers.mjs +596 -0
- package/fesm2020/theseam-ui-common-viewers.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-widget.mjs +1269 -0
- package/fesm2020/theseam-ui-common-widget.mjs.map +1 -0
- package/fesm2020/theseam-ui-common.mjs +47 -0
- package/fesm2020/theseam-ui-common.mjs.map +1 -0
- package/footer-bar/footer-bar/footer-bar.component.d.ts +3 -0
- package/footer-bar/footer-bar.module.d.ts +6 -0
- package/footer-bar/index.d.ts +5 -0
- package/form-field/form-field-error.directive.d.ts +3 -0
- package/form-field/form-field-help-text.directive.d.ts +3 -0
- package/form-field/form-field-label-tpl.directive.d.ts +3 -0
- package/form-field/form-field-required-indicator.component.d.ts +5 -3
- package/form-field/form-field-tokens.d.ts +2 -0
- package/form-field/form-field.component.d.ts +3 -0
- package/form-field/form-field.module.d.ts +14 -0
- package/form-field/index.d.ts +5 -0
- package/form-field/input.directive.d.ts +3 -0
- package/form-field/public-api.d.ts +2 -0
- package/form-field/testing/form-field-required-indicator.harness.d.ts +5 -0
- package/form-field/testing/index.d.ts +1 -0
- package/form-field-error/form-field-error/form-field-error.component.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list-item.directive.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list.component.d.ts +3 -0
- package/form-field-error/form-field-error.module.d.ts +9 -0
- package/form-field-error/index.d.ts +5 -0
- package/framework/base-layout/base-layout.component.d.ts +3 -0
- package/framework/base-layout/base-layout.module.d.ts +17 -0
- package/framework/base-layout/directives/base-layout-content-footer.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-content-header.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-content.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-side-bar-footer.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-side-bar.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-top-bar.directive.d.ts +3 -0
- package/framework/base-layout/index.d.ts +1 -0
- package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.d.ts +3 -0
- package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.d.ts +6 -3
- package/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.d.ts +5 -1
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.service.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets-tokens.d.ts +7 -0
- package/framework/dashboard/dashboard.component.d.ts +3 -0
- package/framework/dashboard/dashboard.module.d.ts +15 -0
- package/framework/dynamic-router/dynamic-router.module.d.ts +7 -0
- package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.d.ts +3 -0
- package/framework/dynamic-router/resolvers/hierarchy-level.resolver.d.ts +3 -0
- package/framework/index.d.ts +5 -0
- package/framework/schema-form/schema-form-framework.component.d.ts +3 -0
- package/framework/schema-form/schema-form-framework.d.ts +3 -0
- package/framework/schema-form/schema-form.module.d.ts +8 -0
- package/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-controls.module.d.ts +18 -0
- package/framework/schema-form-controls/schema-form-input/schema-form-input.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-number/schema-form-number.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-select/schema-form-select.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +3 -0
- package/framework/side-nav/index.d.ts +1 -0
- package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +5 -2
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +3 -0
- package/framework/side-nav/side-nav-tokens.d.ts +6 -0
- package/framework/side-nav/side-nav.component.d.ts +4 -1
- package/framework/side-nav/side-nav.module.d.ts +15 -0
- package/framework/side-nav/side-nav.service.d.ts +3 -0
- package/framework/top-bar/top-bar-item.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-menu-btn-detail.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +3 -0
- package/framework/top-bar/top-bar-menu.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-title/top-bar-title.component.d.ts +3 -0
- package/framework/top-bar/top-bar.component.d.ts +4 -1
- package/framework/top-bar/top-bar.module.d.ts +17 -0
- package/google-maps/google-maps/google-maps.component.d.ts +15 -4
- package/google-maps/google-maps-api-loader/google-maps-api-loader.d.ts +4 -0
- package/google-maps/google-maps-contextmenu.d.ts +1 -1
- package/google-maps/google-maps-controls.service.d.ts +3 -0
- package/google-maps/google-maps-feature-helpers.d.ts +1 -1
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.d.ts +7 -0
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.d.ts +7 -0
- package/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.d.ts +3 -0
- package/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.d.ts +3 -0
- package/google-maps/google-maps.module.d.ts +18 -0
- package/google-maps/google-maps.service.d.ts +5 -0
- package/google-maps/index.d.ts +5 -0
- package/google-maps/map-control.component.d.ts +3 -0
- package/google-maps/map-controls-service.d.ts +1 -0
- package/google-maps/map-file-drop/map-file-drop.component.d.ts +3 -0
- package/google-maps/map-value-manager.service.d.ts +3 -0
- package/graphql/datatable/datatable-graphql.service.d.ts +3 -0
- package/graphql/index.d.ts +5 -0
- package/icon/icon/icon.component.d.ts +3 -0
- package/icon/icon-btn/icon-btn.component.d.ts +3 -0
- package/icon/icon-notification/icon-notification.component.d.ts +3 -0
- package/icon/icon.module.d.ts +9 -0
- package/icon/index.d.ts +5 -0
- package/index.d.ts +5 -0
- package/layout/index.d.ts +5 -0
- package/layout/layout.module.d.ts +6 -0
- package/layout/layout.service.d.ts +3 -0
- package/loading/index.d.ts +5 -0
- package/loading/loading/loading.component.d.ts +3 -0
- package/loading/loading-overlay.service.d.ts +3 -0
- package/loading/loading.module.d.ts +9 -0
- package/menu/index.d.ts +5 -0
- package/menu/menu-divider.component.d.ts +3 -0
- package/menu/menu-footer/menu-footer.component.d.ts +3 -0
- package/menu/menu-footer-action/menu-footer-action.component.d.ts +3 -0
- package/menu/menu-header/menu-header.component.d.ts +3 -0
- package/menu/menu-item.component.d.ts +3 -0
- package/menu/menu-toggle.directive.d.ts +3 -0
- package/menu/menu.component.d.ts +3 -0
- package/menu/menu.module.d.ts +14 -0
- package/modal/README.md +5 -0
- package/modal/directives/modal-close.directive.d.ts +3 -0
- package/modal/directives/modal-footer-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-header-icon-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-header-title-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-title.directive.d.ts +3 -0
- package/modal/directives/modal.directive.d.ts +3 -0
- package/modal/index.d.ts +5 -0
- package/modal/modal/modal.component.d.ts +5 -2
- package/modal/modal-body/modal-body.component.d.ts +3 -0
- package/modal/modal-container/modal-container.component.d.ts +5 -2
- package/modal/modal-footer/modal-footer.component.d.ts +3 -0
- package/modal/modal-header/modal-header.component.d.ts +3 -0
- package/modal/modal.models.d.ts +2 -2
- package/modal/modal.module.d.ts +23 -0
- package/modal/modal.service.d.ts +3 -0
- package/modal/route-modal/route-modal.component.d.ts +3 -0
- package/models/index.d.ts +5 -0
- package/package.json +400 -22
- package/popover/index.d.ts +5 -0
- package/popover/popover/popover.component.d.ts +3 -0
- package/popover/popover.directive.d.ts +3 -0
- package/popover/popover.module.d.ts +9 -0
- package/progress/index.d.ts +5 -0
- package/progress/progress-circle/progress-circle.component.d.ts +3 -0
- package/progress/progress.module.d.ts +6 -0
- package/scrollbar/index.d.ts +5 -0
- package/scrollbar/overlay-scrollbar.directive.d.ts +3 -0
- package/scrollbar/overlay-scrollbars.service.d.ts +3 -0
- package/scrollbar/scrollbar.module.d.ts +6 -0
- package/services/asset-loader.service.d.ts +3 -0
- package/services/font-loader.service.d.ts +3 -0
- package/services/index.d.ts +5 -0
- package/services/router-helpers.service.d.ts +3 -0
- package/shared/components/password-input-reveal/password-input-reveal.component.d.ts +3 -0
- package/shared/directives/auto-focus.directive.d.ts +3 -0
- package/shared/directives/click-outside.directive.d.ts +3 -0
- package/shared/directives/disable-control.directive.d.ts +3 -0
- package/shared/directives/elem-resized.directive.d.ts +3 -0
- package/shared/directives/hover-class-toggle.directive.d.ts +3 -0
- package/shared/directives/hover-class.directive.d.ts +3 -0
- package/shared/directives/ng-select-extra.directive.d.ts +3 -0
- package/shared/directives/ngx-quill-extra.directive.d.ts +3 -0
- package/shared/index.d.ts +5 -0
- package/shared/pipes/mask-chars.pipe.d.ts +3 -0
- package/shared/pipes/truncate.pipe.d.ts +3 -0
- package/shared/shared.module.d.ts +20 -0
- package/storage/index.d.ts +5 -0
- package/storage/local-storage.service.d.ts +3 -0
- package/story-helpers/arg-type-helpers.d.ts +2 -1
- package/story-helpers/args-to-tpl.d.ts +1 -1
- package/story-helpers/index.d.ts +5 -0
- package/story-helpers/initial-route.service.d.ts +3 -0
- package/story-helpers/on-story-bootstrapped-exec.d.ts +1 -6
- package/story-helpers/routes-arg-type.d.ts +7 -2
- package/story-helpers/story-empty-with-route.component.d.ts +3 -0
- package/story-helpers/story-empty.component.d.ts +3 -0
- package/story-helpers/story-helper-components.module.d.ts +10 -0
- package/story-helpers/story-initial-route.d.ts +4 -0
- package/story-helpers/story-modal-container.component.d.ts +3 -0
- package/story-helpers/story-toastr.service.d.ts +3 -0
- package/tabbed/directives/tabbed-tab-content.directive.d.ts +5 -1
- package/tabbed/directives/tabbed-tab.directive.d.ts +5 -1
- package/tabbed/index.d.ts +5 -0
- package/tabbed/public-api.d.ts +1 -0
- package/tabbed/tabbed-content/tabbed-content.component.d.ts +5 -2
- package/tabbed/tabbed-item/tabbed-item.component.d.ts +5 -1
- package/tabbed/tabbed-models.d.ts +12 -0
- package/tabbed/tabbed.component.d.ts +3 -0
- package/tabbed/tabbed.module.d.ts +12 -0
- package/tabbed/tabbed.service.d.ts +3 -0
- package/table/index.d.ts +5 -0
- package/table/table/table.component.d.ts +3 -0
- package/table/table.module.d.ts +8 -0
- package/table-cell-type/index.d.ts +5 -0
- package/table-cell-type/services/table-cell-types-helpers.service.d.ts +3 -0
- package/table-cell-type/table-cell-type-selector.component.d.ts +3 -0
- package/table-cell-type/table-cell-type.module.d.ts +7 -0
- package/table-cell-types/index.d.ts +5 -0
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-date/table-cell-type-date.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +3 -0
- package/table-cell-types/table-cell-types.module.d.ts +24 -0
- package/tel-input/index.d.ts +5 -0
- package/tel-input/phone-number.pipe.d.ts +3 -0
- package/tel-input/tel-input/tel-input.component.d.ts +5 -2
- package/tel-input/tel-input-validator.d.ts +3 -3
- package/tel-input/tel-input.directive.d.ts +8 -0
- package/tel-input/tel-input.module.d.ts +10 -0
- package/testing/index.d.ts +5 -0
- package/tiled-select/components/tiled-select/tiled-select.component.d.ts +3 -0
- package/tiled-select/components/tiled-select-tile/tiled-select-tile.component.d.ts +3 -0
- package/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-icon-tpl.directive.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-label-tpl.directive.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-overlay.directive.d.ts +3 -0
- package/tiled-select/index.d.ts +5 -0
- package/tiled-select/public-api.d.ts +1 -0
- package/tiled-select/testing/index.d.ts +2 -0
- package/tiled-select/testing/tiled-select-harness.d.ts +9 -0
- package/tiled-select/testing/tiled-select-tile-harness.d.ts +17 -0
- package/tiled-select/tiled-select.module.d.ts +12 -0
- package/toggle-edit/index.d.ts +5 -0
- package/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.d.ts +3 -0
- package/toggle-edit/toggle-edit-display-tpl.directive.d.ts +3 -0
- package/toggle-edit/toggle-edit-keyboard-listener.service.d.ts +3 -0
- package/toggle-edit/toggle-edit.component.d.ts +3 -0
- package/toggle-edit/toggle-edit.module.d.ts +16 -0
- package/toggle-group/index.d.ts +5 -0
- package/toggle-group/toggle-group-option.directive.d.ts +3 -0
- package/toggle-group/toggle-group.directive.d.ts +3 -0
- package/toggle-group/toggle-group.module.d.ts +8 -0
- package/unsaved-changes-dialog/index.d.ts +5 -0
- package/unsaved-changes-dialog/unsaved-changes-can-deactivate.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.guard.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.module.d.ts +5 -0
- package/utils/index.d.ts +5 -0
- package/utils/obj-utils.d.ts +1 -1
- package/validators/index.d.ts +5 -0
- package/viewers/html-template-viewer/html-template-viewer.component.d.ts +3 -0
- package/viewers/html-template-viewer/html-template-viewer.module.d.ts +8 -0
- package/viewers/index.d.ts +5 -0
- package/viewers/pdf-viewer/pdf-page/pdf-page.component.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-renderer.service.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-viewer.component.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-viewer.module.d.ts +8 -0
- package/widget/directives/widget-drag-handle.directive.d.ts +3 -0
- package/widget/directives/widget-icon-tpl.directive.d.ts +3 -0
- package/widget/directives/widget-title-tpl.directive.d.ts +3 -0
- package/widget/index.d.ts +5 -0
- package/widget/widget/widget.component.d.ts +3 -0
- package/widget/widget-content-components/widget-button-group/widget-button-group.component.d.ts +3 -0
- package/widget/widget-content-components/widget-button-group/widget-button-group.module.d.ts +7 -0
- package/widget/widget-content-components/widget-content-header/widget-content-header.component.d.ts +3 -0
- package/widget/widget-content-components/widget-content-header/widget-content-header.module.d.ts +6 -0
- package/widget/widget-content-components/widget-description/widget-description.component.d.ts +3 -0
- package/widget/widget-content-components/widget-description/widget-description.module.d.ts +6 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.d.ts +3 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.module.d.ts +6 -0
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.d.ts +3 -0
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.module.d.ts +6 -0
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.d.ts +3 -0
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.module.d.ts +6 -0
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.d.ts +3 -0
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.module.d.ts +6 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.d.ts +3 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.d.ts +11 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.component.d.ts +3 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.module.d.ts +9 -0
- package/widget/widget-content-components/widget-table/widget-table.component.d.ts +3 -0
- package/widget/widget-content-components/widget-table/widget-table.module.d.ts +8 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile.component.d.ts +5 -0
- package/widget/widget-content-components/widget-tile/widget-tile.module.d.ts +11 -0
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.module.d.ts +7 -0
- package/widget/widget-footer/widget-footer.component.d.ts +3 -0
- package/widget/widget-registry.service.d.ts +3 -0
- package/widget/widget.module.d.ts +28 -0
- package/asset-reader/package.json +0 -11
- package/asset-reader/theseam-ui-common-asset-reader.d.ts +0 -4
- package/asset-reader/theseam-ui-common-asset-reader.metadata.json +0 -1
- package/assets/.gitkeep +0 -0
- package/assets/vendor/intl-tel-input/css/intlTelInput.min.css +0 -1
- package/assets/vendor/intl-tel-input/img/flags.png +0 -0
- package/assets/vendor/intl-tel-input/img/flags@2x.png +0 -0
- package/assets/vendor/intl-tel-input/js/utils.js +0 -502
- package/breadcrumbs/package.json +0 -11
- package/breadcrumbs/theseam-ui-common-breadcrumbs.d.ts +0 -4
- package/breadcrumbs/theseam-ui-common-breadcrumbs.metadata.json +0 -1
- package/bundles/theseam-ui-common-asset-reader.umd.js +0 -531
- package/bundles/theseam-ui-common-asset-reader.umd.js.map +0 -1
- package/bundles/theseam-ui-common-breadcrumbs.umd.js +0 -586
- package/bundles/theseam-ui-common-breadcrumbs.umd.js.map +0 -1
- package/bundles/theseam-ui-common-buttons.umd.js +0 -719
- package/bundles/theseam-ui-common-buttons.umd.js.map +0 -1
- package/bundles/theseam-ui-common-card.umd.js +0 -480
- package/bundles/theseam-ui-common-card.umd.js.map +0 -1
- package/bundles/theseam-ui-common-checkbox.umd.js +0 -650
- package/bundles/theseam-ui-common-checkbox.umd.js.map +0 -1
- package/bundles/theseam-ui-common-confirm-dialog.umd.js +0 -491
- package/bundles/theseam-ui-common-confirm-dialog.umd.js.map +0 -1
- package/bundles/theseam-ui-common-core.umd.js +0 -604
- package/bundles/theseam-ui-common-core.umd.js.map +0 -1
- package/bundles/theseam-ui-common-data-exporter.umd.js +0 -96
- package/bundles/theseam-ui-common-data-exporter.umd.js.map +0 -1
- package/bundles/theseam-ui-common-data-filters.umd.js +0 -891
- package/bundles/theseam-ui-common-data-filters.umd.js.map +0 -1
- package/bundles/theseam-ui-common-datatable-dynamic.umd.js +0 -1499
- package/bundles/theseam-ui-common-datatable-dynamic.umd.js.map +0 -1
- package/bundles/theseam-ui-common-datatable.umd.js +0 -3222
- package/bundles/theseam-ui-common-datatable.umd.js.map +0 -1
- package/bundles/theseam-ui-common-dynamic-component-loader.umd.js +0 -178
- package/bundles/theseam-ui-common-dynamic-component-loader.umd.js.map +0 -1
- package/bundles/theseam-ui-common-dynamic.umd.js +0 -1252
- package/bundles/theseam-ui-common-dynamic.umd.js.map +0 -1
- package/bundles/theseam-ui-common-footer-bar.umd.js +0 -49
- package/bundles/theseam-ui-common-footer-bar.umd.js.map +0 -1
- package/bundles/theseam-ui-common-form-field-error.umd.js +0 -884
- package/bundles/theseam-ui-common-form-field-error.umd.js.map +0 -1
- package/bundles/theseam-ui-common-form-field.umd.js +0 -914
- package/bundles/theseam-ui-common-form-field.umd.js.map +0 -1
- package/bundles/theseam-ui-common-framework.umd.js +0 -3379
- package/bundles/theseam-ui-common-framework.umd.js.map +0 -1
- package/bundles/theseam-ui-common-google-maps.umd.js +0 -2234
- package/bundles/theseam-ui-common-google-maps.umd.js.map +0 -1
- package/bundles/theseam-ui-common-graphql.umd.js +0 -1307
- package/bundles/theseam-ui-common-graphql.umd.js.map +0 -1
- package/bundles/theseam-ui-common-icon.umd.js +0 -890
- package/bundles/theseam-ui-common-icon.umd.js.map +0 -1
- package/bundles/theseam-ui-common-layout.umd.js +0 -117
- package/bundles/theseam-ui-common-layout.umd.js.map +0 -1
- package/bundles/theseam-ui-common-loading.umd.js +0 -152
- package/bundles/theseam-ui-common-loading.umd.js.map +0 -1
- package/bundles/theseam-ui-common-menu.umd.js +0 -1153
- package/bundles/theseam-ui-common-menu.umd.js.map +0 -1
- package/bundles/theseam-ui-common-modal.umd.js +0 -1718
- package/bundles/theseam-ui-common-modal.umd.js.map +0 -1
- package/bundles/theseam-ui-common-models.umd.js +0 -63
- package/bundles/theseam-ui-common-models.umd.js.map +0 -1
- package/bundles/theseam-ui-common-popover.umd.js +0 -504
- package/bundles/theseam-ui-common-popover.umd.js.map +0 -1
- package/bundles/theseam-ui-common-progress.umd.js +0 -420
- package/bundles/theseam-ui-common-progress.umd.js.map +0 -1
- package/bundles/theseam-ui-common-scrollbar.umd.js +0 -238
- package/bundles/theseam-ui-common-scrollbar.umd.js.map +0 -1
- package/bundles/theseam-ui-common-services.umd.js +0 -176
- package/bundles/theseam-ui-common-services.umd.js.map +0 -1
- package/bundles/theseam-ui-common-shared.umd.js +0 -1115
- package/bundles/theseam-ui-common-shared.umd.js.map +0 -1
- package/bundles/theseam-ui-common-storage.umd.js +0 -176
- package/bundles/theseam-ui-common-storage.umd.js.map +0 -1
- package/bundles/theseam-ui-common-story-helpers.umd.js +0 -795
- package/bundles/theseam-ui-common-story-helpers.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tabbed.umd.js +0 -628
- package/bundles/theseam-ui-common-tabbed.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table-cell-type.umd.js +0 -220
- package/bundles/theseam-ui-common-table-cell-type.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table-cell-types.umd.js +0 -1482
- package/bundles/theseam-ui-common-table-cell-types.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table.umd.js +0 -475
- package/bundles/theseam-ui-common-table.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tel-input.umd.js +0 -1107
- package/bundles/theseam-ui-common-tel-input.umd.js.map +0 -1
- package/bundles/theseam-ui-common-testing.umd.js +0 -568
- package/bundles/theseam-ui-common-testing.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tiled-select.umd.js +0 -866
- package/bundles/theseam-ui-common-tiled-select.umd.js.map +0 -1
- package/bundles/theseam-ui-common-toggle-edit.umd.js +0 -891
- package/bundles/theseam-ui-common-toggle-edit.umd.js.map +0 -1
- package/bundles/theseam-ui-common-toggle-group.umd.js +0 -629
- package/bundles/theseam-ui-common-toggle-group.umd.js.map +0 -1
- package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js +0 -134
- package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js.map +0 -1
- package/bundles/theseam-ui-common-utils.umd.js +0 -1890
- package/bundles/theseam-ui-common-utils.umd.js.map +0 -1
- package/bundles/theseam-ui-common-validators.umd.js +0 -105
- package/bundles/theseam-ui-common-validators.umd.js.map +0 -1
- package/bundles/theseam-ui-common-viewers.umd.js +0 -962
- package/bundles/theseam-ui-common-viewers.umd.js.map +0 -1
- package/bundles/theseam-ui-common-widget.umd.js +0 -1710
- package/bundles/theseam-ui-common-widget.umd.js.map +0 -1
- package/bundles/theseam-ui-common.umd.js +0 -54
- package/bundles/theseam-ui-common.umd.js.map +0 -1
- package/buttons/package.json +0 -11
- package/buttons/theseam-ui-common-buttons.d.ts +0 -4
- package/buttons/theseam-ui-common-buttons.metadata.json +0 -1
- package/card/package.json +0 -11
- package/card/theseam-ui-common-card.d.ts +0 -4
- package/card/theseam-ui-common-card.metadata.json +0 -1
- package/checkbox/package.json +0 -11
- package/checkbox/theseam-ui-common-checkbox.d.ts +0 -4
- package/checkbox/theseam-ui-common-checkbox.metadata.json +0 -1
- package/confirm-dialog/package.json +0 -11
- package/confirm-dialog/theseam-ui-common-confirm-dialog.d.ts +0 -4
- package/confirm-dialog/theseam-ui-common-confirm-dialog.metadata.json +0 -1
- package/core/package.json +0 -11
- package/core/theseam-ui-common-core.d.ts +0 -4
- package/core/theseam-ui-common-core.metadata.json +0 -1
- package/data-exporter/package.json +0 -11
- package/data-exporter/theseam-ui-common-data-exporter.d.ts +0 -4
- package/data-exporter/theseam-ui-common-data-exporter.metadata.json +0 -1
- package/data-filters/package.json +0 -11
- package/data-filters/theseam-ui-common-data-filters.d.ts +0 -4
- package/data-filters/theseam-ui-common-data-filters.metadata.json +0 -1
- package/datatable/package.json +0 -11
- package/datatable/theseam-ui-common-datatable.d.ts +0 -7
- package/datatable/theseam-ui-common-datatable.metadata.json +0 -1
- package/datatable-dynamic/package.json +0 -11
- package/datatable-dynamic/theseam-ui-common-datatable-dynamic.d.ts +0 -4
- package/datatable-dynamic/theseam-ui-common-datatable-dynamic.metadata.json +0 -1
- package/dynamic/package.json +0 -11
- package/dynamic/theseam-ui-common-dynamic.d.ts +0 -4
- package/dynamic/theseam-ui-common-dynamic.metadata.json +0 -1
- package/dynamic-component-loader/package.json +0 -11
- package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.d.ts +0 -4
- package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.metadata.json +0 -1
- package/esm2015/asset-reader/asset-reader-helper.service.js +0 -68
- package/esm2015/asset-reader/asset-reader.module.js +0 -15
- package/esm2015/asset-reader/encrypted-asset-link.directive.js +0 -69
- package/esm2015/breadcrumbs/breadcrumbs/breadcrumbs.component.js +0 -22
- package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -21
- package/esm2015/breadcrumbs/breadcrumbs.service.js +0 -158
- package/esm2015/buttons/badge-button/badge-button.component.js +0 -79
- package/esm2015/buttons/button/button.component.js +0 -111
- package/esm2015/buttons/buttons.module.js +0 -34
- package/esm2015/buttons/progress-circle-button/progress-circle-button.component.js +0 -60
- package/esm2015/buttons/toggle-button/toggle-button.component.js +0 -88
- package/esm2015/card/card-action/card-action.component.js +0 -27
- package/esm2015/card/card-body/card-body.component.js +0 -32
- package/esm2015/card/card-footer/card-footer.component.js +0 -15
- package/esm2015/card/card-header/card-header.component.js +0 -22
- package/esm2015/card/card.component.js +0 -20
- package/esm2015/card/card.module.js +0 -33
- package/esm2015/checkbox/checkbox.component.js +0 -276
- package/esm2015/checkbox/checkbox.module.js +0 -21
- package/esm2015/checkbox/public-api.js +0 -3
- package/esm2015/confirm-dialog/confirm-click.directive.js +0 -62
- package/esm2015/confirm-dialog/confirm-dialog.component.js +0 -20
- package/esm2015/confirm-dialog/confirm-dialog.module.js +0 -35
- package/esm2015/confirm-dialog/confirm-dialog.service.js +0 -38
- package/esm2015/data-exporter/data-exporter.module.js +0 -17
- package/esm2015/data-exporter/exporters/csv-exporter.js +0 -32
- package/esm2015/data-exporter/exporters/xlsx-exporter.js +0 -30
- package/esm2015/data-filters/data-filters.module.js +0 -50
- package/esm2015/data-filters/filters/data-filter-search/data-filter-search.component.js +0 -110
- package/esm2015/data-filters/filters/data-filter-text/data-filter-text.component.js +0 -138
- package/esm2015/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.js +0 -151
- package/esm2015/datatable/datatable/datatable.component.js +0 -570
- package/esm2015/datatable/datatable-action-menu/datatable-action-menu.component.js +0 -101
- package/esm2015/datatable/datatable-action-menu-item/datatable-action-menu-item.component.js +0 -30
- package/esm2015/datatable/datatable-column/datatable-column.component.js +0 -83
- package/esm2015/datatable/datatable-column-preferences/datatable-column-preferences.component.js +0 -63
- package/esm2015/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.js +0 -52
- package/esm2015/datatable/datatable-export-button/datatable-export-button.component.js +0 -101
- package/esm2015/datatable/datatable-footer/datatable-footer-tpl.directive.js +0 -15
- package/esm2015/datatable/datatable-footer/datatable-footer.directive.js +0 -18
- package/esm2015/datatable/datatable-menu-bar/datatable-menu-bar.component.js +0 -55
- package/esm2015/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.js +0 -32
- package/esm2015/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.js +0 -15
- package/esm2015/datatable/datatable-row-detail/datatable-row-detail.directive.js +0 -69
- package/esm2015/datatable/datatable.module.js +0 -126
- package/esm2015/datatable/directives/datatable-action-menu-item.directive.js +0 -46
- package/esm2015/datatable/directives/datatable-action-menu-toggle.directive.js +0 -128
- package/esm2015/datatable/directives/datatable-cell-tpl.directive.js +0 -15
- package/esm2015/datatable/directives/datatable-filter.directive.js +0 -21
- package/esm2015/datatable/directives/datatable-row-action-item.directive.js +0 -15
- package/esm2015/datatable/services/columns-alterations-manager.service.js +0 -134
- package/esm2015/datatable/services/columns-manager.service.js +0 -257
- package/esm2015/datatable/services/datatable-column-changes.service.js +0 -17
- package/esm2015/datatable/services/datatable-preferences.service.js +0 -159
- package/esm2015/datatable/services/datatable-scrollbar-helper.service.js +0 -51
- package/esm2015/datatable/theseam-ui-common-datatable.js +0 -8
- package/esm2015/datatable/utils/with-stored-column-info.js +0 -20
- package/esm2015/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.js +0 -119
- package/esm2015/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.js +0 -53
- package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.js +0 -160
- package/esm2015/datatable-dynamic/datatable-dynamic.component.js +0 -75
- package/esm2015/datatable-dynamic/datatable-dynamic.module.js +0 -49
- package/esm2015/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.js +0 -408
- package/esm2015/datatable-dynamic/dynamic-datatable-def.service.js +0 -84
- package/esm2015/datatable-dynamic/dynamic-datatable-row-actions.service.js +0 -47
- package/esm2015/datatable-dynamic/models/dynamic-datatable-menu-bar.js +0 -2
- package/esm2015/dynamic/action/api/dynamic-action-api.service.js +0 -215
- package/esm2015/dynamic/action/dynamic-action-helper.service.js +0 -163
- package/esm2015/dynamic/action/link/dynamic-action-link.service.js +0 -50
- package/esm2015/dynamic/action/modal/dynamic-action-modal.service.js +0 -92
- package/esm2015/dynamic/dynamic-value-helper.service.js +0 -101
- package/esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.js +0 -33
- package/esm2015/dynamic/evaluators/jexl-evaluator/jexl-evaluator.js +0 -30
- package/esm2015/dynamic/models/dynamic-value-evaluatable-type.js +0 -2
- package/esm2015/dynamic-component-loader/dynamic-component-loader.module.js +0 -47
- package/esm2015/dynamic-component-loader/dynamic-component-loader.service.js +0 -91
- package/esm2015/dynamic-component-loader/dynamic-component-manifest.js +0 -2
- package/esm2015/footer-bar/footer-bar/footer-bar.component.js +0 -16
- package/esm2015/footer-bar/footer-bar.module.js +0 -15
- package/esm2015/form-field/form-field-error.directive.js +0 -28
- package/esm2015/form-field/form-field-help-text.directive.js +0 -15
- package/esm2015/form-field/form-field-label-tpl.directive.js +0 -15
- package/esm2015/form-field/form-field-required-indicator.component.js +0 -38
- package/esm2015/form-field/form-field.component.js +0 -193
- package/esm2015/form-field/form-field.module.js +0 -40
- package/esm2015/form-field/input.directive.js +0 -195
- package/esm2015/form-field/public-api.js +0 -8
- package/esm2015/form-field-error/form-field-error/form-field-error.component.js +0 -27
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.js +0 -25
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item.directive.js +0 -18
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list.component.js +0 -370
- package/esm2015/form-field-error/form-field-error.module.js +0 -28
- package/esm2015/framework/base-layout/base-layout.component.js +0 -117
- package/esm2015/framework/base-layout/base-layout.module.js +0 -48
- package/esm2015/framework/base-layout/directives/base-layout-content-footer.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-content-header.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-content.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-nav-toggle.directive.js +0 -37
- package/esm2015/framework/base-layout/directives/base-layout-side-bar-footer.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-side-bar.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-top-bar.directive.js +0 -15
- package/esm2015/framework/base-layout/index.js +0 -13
- package/esm2015/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.js +0 -19
- package/esm2015/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.js +0 -25
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.js +0 -121
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.js +0 -173
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.component.js +0 -176
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.service.js +0 -165
- package/esm2015/framework/dashboard/dashboard.component.js +0 -25
- package/esm2015/framework/dashboard/dashboard.module.js +0 -39
- package/esm2015/framework/dynamic-router/dynamic-router.module.js +0 -21
- package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.js +0 -114
- package/esm2015/framework/dynamic-router/resolvers/hierarchy-level.resolver.js +0 -26
- package/esm2015/framework/schema-form/schema-form-framework.component.js +0 -16
- package/esm2015/framework/schema-form/schema-form-framework.js +0 -27
- package/esm2015/framework/schema-form/schema-form.module.js +0 -35
- package/esm2015/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.js +0 -41
- package/esm2015/framework/schema-form-controls/schema-form-controls.module.js +0 -50
- package/esm2015/framework/schema-form-controls/schema-form-input/schema-form-input.component.js +0 -34
- package/esm2015/framework/schema-form-controls/schema-form-number/schema-form-number.component.js +0 -40
- package/esm2015/framework/schema-form-controls/schema-form-select/schema-form-select.component.js +0 -36
- package/esm2015/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.js +0 -46
- package/esm2015/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.js +0 -142
- package/esm2015/framework/side-nav/index.js +0 -7
- package/esm2015/framework/side-nav/side-nav-item/side-nav-item.component.js +0 -151
- package/esm2015/framework/side-nav/side-nav-toggle/side-nav-toggle.component.js +0 -36
- package/esm2015/framework/side-nav/side-nav-utils.js +0 -81
- package/esm2015/framework/side-nav/side-nav.component.js +0 -212
- package/esm2015/framework/side-nav/side-nav.module.js +0 -39
- package/esm2015/framework/side-nav/side-nav.service.js +0 -174
- package/esm2015/framework/theseam-ui-common-framework.js +0 -14
- package/esm2015/framework/top-bar/top-bar-item.directive.js +0 -15
- package/esm2015/framework/top-bar/top-bar-menu-btn-detail.directive.js +0 -15
- package/esm2015/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.js +0 -53
- package/esm2015/framework/top-bar/top-bar-menu.directive.js +0 -16
- package/esm2015/framework/top-bar/top-bar-title/top-bar-title.component.js +0 -20
- package/esm2015/framework/top-bar/top-bar.component.js +0 -84
- package/esm2015/framework/top-bar/top-bar.module.js +0 -46
- package/esm2015/google-maps/google-maps/google-maps.component.js +0 -261
- package/esm2015/google-maps/google-maps-controls.service.js +0 -70
- package/esm2015/google-maps/google-maps-feature-helpers.js +0 -186
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.js +0 -195
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.js +0 -163
- package/esm2015/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.js +0 -57
- package/esm2015/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.js +0 -119
- package/esm2015/google-maps/google-maps.module.js +0 -45
- package/esm2015/google-maps/google-maps.service.js +0 -354
- package/esm2015/google-maps/map-control.component.js +0 -65
- package/esm2015/google-maps/map-file-drop/map-file-drop.component.js +0 -135
- package/esm2015/google-maps/map-value-manager.service.js +0 -46
- package/esm2015/google-maps/theseam-ui-common-google-maps.js +0 -6
- package/esm2015/graphql/datatable/create-page-info-observable.js +0 -38
- package/esm2015/graphql/datatable/datatable-graphql-query-ref.js +0 -236
- package/esm2015/graphql/datatable/datatable-graphql.service.js +0 -35
- package/esm2015/graphql/datatable/datatable-helpers.js +0 -170
- package/esm2015/graphql/datatable/get-page-info.js +0 -11
- package/esm2015/graphql/datatable/map-filter-states.js +0 -64
- package/esm2015/graphql/utils/parse-hints.js +0 -116
- package/esm2015/icon/icon/icon.component.js +0 -125
- package/esm2015/icon/icon-btn/icon-btn.component.js +0 -136
- package/esm2015/icon/icon-notification/icon-notification.component.js +0 -120
- package/esm2015/icon/icon.module.js +0 -27
- package/esm2015/layout/layout.module.js +0 -18
- package/esm2015/layout/layout.service.js +0 -24
- package/esm2015/loading/loading/loading.component.js +0 -28
- package/esm2015/loading/loading-overlay.service.js +0 -59
- package/esm2015/loading/loading.module.js +0 -29
- package/esm2015/menu/menu-divider.component.js +0 -15
- package/esm2015/menu/menu-footer/menu-footer.component.js +0 -32
- package/esm2015/menu/menu-footer-action/menu-footer-action.component.js +0 -48
- package/esm2015/menu/menu-header/menu-header.component.js +0 -32
- package/esm2015/menu/menu-item.component.js +0 -127
- package/esm2015/menu/menu-toggle.directive.js +0 -249
- package/esm2015/menu/menu.component.js +0 -174
- package/esm2015/menu/menu.module.js +0 -43
- package/esm2015/modal/directives/modal-close.directive.js +0 -63
- package/esm2015/modal/directives/modal-footer-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-header-icon-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-header-title-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-title.directive.js +0 -19
- package/esm2015/modal/directives/modal.directive.js +0 -25
- package/esm2015/modal/modal/modal.component.js +0 -149
- package/esm2015/modal/modal-body/modal-body.component.js +0 -22
- package/esm2015/modal/modal-config.js +0 -47
- package/esm2015/modal/modal-container/modal-container.component.js +0 -220
- package/esm2015/modal/modal-footer/modal-footer.component.js +0 -20
- package/esm2015/modal/modal-header/modal-header.component.js +0 -26
- package/esm2015/modal/modal.models.js +0 -3
- package/esm2015/modal/modal.module.js +0 -83
- package/esm2015/modal/modal.service.js +0 -343
- package/esm2015/modal/route-modal/route-modal.component.js +0 -68
- package/esm2015/popover/popover/popover.component.js +0 -149
- package/esm2015/popover/popover.directive.js +0 -257
- package/esm2015/popover/popover.module.js +0 -30
- package/esm2015/progress/progress-circle/progress-circle.component.js +0 -63
- package/esm2015/progress/progress.module.js +0 -19
- package/esm2015/scrollbar/overlay-scrollbar.directive.js +0 -61
- package/esm2015/scrollbar/overlay-scrollbars-config.js +0 -13
- package/esm2015/scrollbar/overlay-scrollbars.service.js +0 -87
- package/esm2015/scrollbar/scrollbar.module.js +0 -25
- package/esm2015/services/asset-loader.service.js +0 -33
- package/esm2015/services/font-loader.service.js +0 -81
- package/esm2015/services/router-helpers.service.js +0 -26
- package/esm2015/shared/components/password-input-reveal/password-input-reveal.component.js +0 -71
- package/esm2015/shared/directives/auto-focus.directive.js +0 -53
- package/esm2015/shared/directives/click-outside.directive.js +0 -49
- package/esm2015/shared/directives/disable-control.directive.js +0 -27
- package/esm2015/shared/directives/elem-resized.directive.js +0 -29
- package/esm2015/shared/directives/hover-class-toggle.directive.js +0 -80
- package/esm2015/shared/directives/hover-class.directive.js +0 -74
- package/esm2015/shared/directives/ng-select-extra.directive.js +0 -177
- package/esm2015/shared/directives/ngx-quill-extra.directive.js +0 -60
- package/esm2015/shared/pipes/mask-chars.pipe.js +0 -21
- package/esm2015/shared/pipes/truncate.pipe.js +0 -19
- package/esm2015/shared/shared.module.js +0 -58
- package/esm2015/storage/local-storage.service.js +0 -77
- package/esm2015/story-helpers/arg-type-helpers.js +0 -34
- package/esm2015/story-helpers/args-to-tpl.js +0 -76
- package/esm2015/story-helpers/initial-route.service.js +0 -27
- package/esm2015/story-helpers/on-story-bootstrapped-exec.js +0 -64
- package/esm2015/story-helpers/on-story-bootstrapped-trigger.js +0 -38
- package/esm2015/story-helpers/routes-arg-type.js +0 -18
- package/esm2015/story-helpers/story-empty-with-route.component.js +0 -7
- package/esm2015/story-helpers/story-empty.component.js +0 -7
- package/esm2015/story-helpers/story-helper-components.module.js +0 -29
- package/esm2015/story-helpers/story-initial-route.js +0 -24
- package/esm2015/story-helpers/story-modal-container.component.js +0 -77
- package/esm2015/story-helpers/story-toastr.service.js +0 -33
- package/esm2015/tabbed/directives/tabbed-tab-content.directive.js +0 -14
- package/esm2015/tabbed/directives/tabbed-tab.directive.js +0 -36
- package/esm2015/tabbed/public-api.js +0 -8
- package/esm2015/tabbed/tabbed-content/tabbed-content.component.js +0 -17
- package/esm2015/tabbed/tabbed-item/tabbed-item.component.js +0 -30
- package/esm2015/tabbed/tabbed.component.js +0 -111
- package/esm2015/tabbed/tabbed.module.js +0 -36
- package/esm2015/tabbed/tabbed.service.js +0 -28
- package/esm2015/table/table/table.component.js +0 -90
- package/esm2015/table/table.module.js +0 -23
- package/esm2015/table-cell-type/services/table-cell-types-helpers.service.js +0 -70
- package/esm2015/table-cell-type/table-cell-type-selector.component.js +0 -94
- package/esm2015/table-cell-type/table-cell-type.module.js +0 -23
- package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.js +0 -89
- package/esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.component.js +0 -52
- package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.js +0 -87
- package/esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.js +0 -166
- package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.js +0 -85
- package/esm2015/table-cell-types/table-cell-type-manifests.js +0 -103
- package/esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.js +0 -66
- package/esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.js +0 -160
- package/esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.js +0 -78
- package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string.component.js +0 -178
- package/esm2015/table-cell-types/table-cell-types.module.js +0 -78
- package/esm2015/table-cell-types/theseam-ui-common-table-cell-types.js +0 -5
- package/esm2015/tel-input/phone-number.pipe.js +0 -51
- package/esm2015/tel-input/tel-input/tel-input.component.js +0 -175
- package/esm2015/tel-input/tel-input-validator.js +0 -27
- package/esm2015/tel-input/tel-input.directive.js +0 -209
- package/esm2015/tel-input/tel-input.module.js +0 -29
- package/esm2015/tel-input/utils/get-validation-error-message.js +0 -12
- package/esm2015/testing/get-harness.js +0 -16
- package/esm2015/testing/render-story.js +0 -12
- package/esm2015/testing/story-expect.js +0 -39
- package/esm2015/tiled-select/components/tiled-select/tiled-select.component.js +0 -205
- package/esm2015/tiled-select/components/tiled-select-tile/tiled-select-tile.component.js +0 -128
- package/esm2015/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.js +0 -54
- package/esm2015/tiled-select/directives/tiled-select-tile-icon-tpl.directive.js +0 -16
- package/esm2015/tiled-select/directives/tiled-select-tile-label-tpl.directive.js +0 -15
- package/esm2015/tiled-select/directives/tiled-select-tile-overlay.directive.js +0 -19
- package/esm2015/tiled-select/public-api.js +0 -10
- package/esm2015/tiled-select/tiled-select.module.js +0 -35
- package/esm2015/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.js +0 -15
- package/esm2015/toggle-edit/toggle-edit-display-tpl.directive.js +0 -15
- package/esm2015/toggle-edit/toggle-edit-keyboard-listener.service.js +0 -56
- package/esm2015/toggle-edit/toggle-edit.component.js +0 -403
- package/esm2015/toggle-edit/toggle-edit.module.js +0 -40
- package/esm2015/toggle-group/toggle-group-option.directive.js +0 -44
- package/esm2015/toggle-group/toggle-group.directive.js +0 -192
- package/esm2015/toggle-group/toggle-group.module.js +0 -24
- package/esm2015/unsaved-changes-dialog/unsaved-changes-can-deactivate.js +0 -27
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.component.js +0 -20
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.guard.js +0 -35
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.module.js +0 -12
- package/esm2015/utils/file-utils.js +0 -68
- package/esm2015/utils/geo-json/coerce-feature-collection.js +0 -44
- package/esm2015/utils/geo-json/geo-json-to-area.js +0 -11
- package/esm2015/utils/geo-json/is-feature-collection.validator.js +0 -21
- package/esm2015/utils/geo-json/is-only-geometry-types.js +0 -23
- package/esm2015/utils/geo-json/is-only-geometry-types.validator.js +0 -32
- package/esm2015/utils/geo-json/merge-polygons.js +0 -35
- package/esm2015/utils/geo-json/no-inner-rings.validator.js +0 -63
- package/esm2015/utils/geo-json/read-geo-file.js +0 -99
- package/esm2015/utils/geo-json/split-multi-polygons.js +0 -29
- package/esm2015/utils/obj-utils.js +0 -27
- package/esm2015/utils/polling-ticker.js +0 -121
- package/esm2015/utils/subscriber-count.js +0 -46
- package/esm2015/utils/wait-on-condition-async.js +0 -33
- package/esm2015/viewers/html-template-viewer/html-template-viewer.component.js +0 -219
- package/esm2015/viewers/html-template-viewer/html-template-viewer.module.js +0 -23
- package/esm2015/viewers/pdf-viewer/pdf-page/pdf-page.component.js +0 -134
- package/esm2015/viewers/pdf-viewer/pdf-renderer.service.js +0 -27
- package/esm2015/viewers/pdf-viewer/pdf-viewer.component.js +0 -149
- package/esm2015/viewers/pdf-viewer/pdf-viewer.module.js +0 -24
- package/esm2015/widget/directives/widget-drag-handle.directive.js +0 -146
- package/esm2015/widget/directives/widget-icon-tpl.directive.js +0 -15
- package/esm2015/widget/directives/widget-title-tpl.directive.js +0 -15
- package/esm2015/widget/widget/widget.component.js +0 -121
- package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.module.js +0 -22
- package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-description/widget-description.component.js +0 -12
- package/esm2015/widget/widget-content-components/widget-description/widget-description.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.component.js +0 -39
- package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.component.js +0 -31
- package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.js +0 -16
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.js +0 -162
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.component.js +0 -19
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.module.js +0 -31
- package/esm2015/widget/widget-content-components/widget-table/widget-table.component.js +0 -35
- package/esm2015/widget/widget-content-components/widget-table/widget-table.module.js +0 -23
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.js +0 -19
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.js +0 -43
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.js +0 -16
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile.component.js +0 -110
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile.module.js +0 -33
- package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.component.js +0 -15
- package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.module.js +0 -21
- package/esm2015/widget/widget-footer/widget-footer.component.js +0 -16
- package/esm2015/widget/widget-registry.service.js +0 -56
- package/esm2015/widget/widget.module.js +0 -70
- package/fesm2015/theseam-ui-common-asset-reader.js +0 -173
- package/fesm2015/theseam-ui-common-asset-reader.js.map +0 -1
- package/fesm2015/theseam-ui-common-breadcrumbs.js +0 -203
- package/fesm2015/theseam-ui-common-breadcrumbs.js.map +0 -1
- package/fesm2015/theseam-ui-common-buttons.js +0 -362
- package/fesm2015/theseam-ui-common-buttons.js.map +0 -1
- package/fesm2015/theseam-ui-common-card.js +0 -145
- package/fesm2015/theseam-ui-common-card.js.map +0 -1
- package/fesm2015/theseam-ui-common-checkbox.js +0 -302
- package/fesm2015/theseam-ui-common-checkbox.js.map +0 -1
- package/fesm2015/theseam-ui-common-confirm-dialog.js +0 -153
- package/fesm2015/theseam-ui-common-confirm-dialog.js.map +0 -1
- package/fesm2015/theseam-ui-common-core.js +0 -231
- package/fesm2015/theseam-ui-common-core.js.map +0 -1
- package/fesm2015/theseam-ui-common-data-exporter.js +0 -81
- package/fesm2015/theseam-ui-common-data-exporter.js.map +0 -1
- package/fesm2015/theseam-ui-common-data-filters.js +0 -455
- package/fesm2015/theseam-ui-common-data-filters.js.map +0 -1
- package/fesm2015/theseam-ui-common-datatable-dynamic.js +0 -991
- package/fesm2015/theseam-ui-common-datatable-dynamic.js.map +0 -1
- package/fesm2015/theseam-ui-common-datatable.js +0 -2530
- package/fesm2015/theseam-ui-common-datatable.js.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic-component-loader.js +0 -143
- package/fesm2015/theseam-ui-common-dynamic-component-loader.js.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic.js +0 -700
- package/fesm2015/theseam-ui-common-dynamic.js.map +0 -1
- package/fesm2015/theseam-ui-common-footer-bar.js +0 -36
- package/fesm2015/theseam-ui-common-footer-bar.js.map +0 -1
- package/fesm2015/theseam-ui-common-form-field-error.js +0 -464
- package/fesm2015/theseam-ui-common-form-field-error.js.map +0 -1
- package/fesm2015/theseam-ui-common-form-field.js +0 -506
- package/fesm2015/theseam-ui-common-form-field.js.map +0 -1
- package/fesm2015/theseam-ui-common-framework.js +0 -2685
- package/fesm2015/theseam-ui-common-framework.js.map +0 -1
- package/fesm2015/theseam-ui-common-google-maps.js +0 -1748
- package/fesm2015/theseam-ui-common-google-maps.js.map +0 -1
- package/fesm2015/theseam-ui-common-graphql.js +0 -881
- package/fesm2015/theseam-ui-common-graphql.js.map +0 -1
- package/fesm2015/theseam-ui-common-icon.js +0 -518
- package/fesm2015/theseam-ui-common-icon.js.map +0 -1
- package/fesm2015/theseam-ui-common-layout.js +0 -89
- package/fesm2015/theseam-ui-common-layout.js.map +0 -1
- package/fesm2015/theseam-ui-common-loading.js +0 -131
- package/fesm2015/theseam-ui-common-loading.js.map +0 -1
- package/fesm2015/theseam-ui-common-menu.js +0 -763
- package/fesm2015/theseam-ui-common-menu.js.map +0 -1
- package/fesm2015/theseam-ui-common-modal.js +0 -1282
- package/fesm2015/theseam-ui-common-modal.js.map +0 -1
- package/fesm2015/theseam-ui-common-models.js +0 -54
- package/fesm2015/theseam-ui-common-models.js.map +0 -1
- package/fesm2015/theseam-ui-common-popover.js +0 -476
- package/fesm2015/theseam-ui-common-popover.js.map +0 -1
- package/fesm2015/theseam-ui-common-progress.js +0 -87
- package/fesm2015/theseam-ui-common-progress.js.map +0 -1
- package/fesm2015/theseam-ui-common-scrollbar.js +0 -184
- package/fesm2015/theseam-ui-common-scrollbar.js.map +0 -1
- package/fesm2015/theseam-ui-common-services.js +0 -140
- package/fesm2015/theseam-ui-common-services.js.map +0 -1
- package/fesm2015/theseam-ui-common-shared.js +0 -696
- package/fesm2015/theseam-ui-common-shared.js.map +0 -1
- package/fesm2015/theseam-ui-common-storage.js +0 -147
- package/fesm2015/theseam-ui-common-storage.js.map +0 -1
- package/fesm2015/theseam-ui-common-story-helpers.js +0 -441
- package/fesm2015/theseam-ui-common-story-helpers.js.map +0 -1
- package/fesm2015/theseam-ui-common-tabbed.js +0 -262
- package/fesm2015/theseam-ui-common-tabbed.js.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-type.js +0 -191
- package/fesm2015/theseam-ui-common-table-cell-type.js.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-types.js +0 -1077
- package/fesm2015/theseam-ui-common-table-cell-types.js.map +0 -1
- package/fesm2015/theseam-ui-common-table.js +0 -118
- package/fesm2015/theseam-ui-common-table.js.map +0 -1
- package/fesm2015/theseam-ui-common-tel-input.js +0 -733
- package/fesm2015/theseam-ui-common-tel-input.js.map +0 -1
- package/fesm2015/theseam-ui-common-testing.js +0 -191
- package/fesm2015/theseam-ui-common-testing.js.map +0 -1
- package/fesm2015/theseam-ui-common-tiled-select.js +0 -461
- package/fesm2015/theseam-ui-common-tiled-select.js.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-edit.js +0 -521
- package/fesm2015/theseam-ui-common-toggle-edit.js.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-group.js +0 -260
- package/fesm2015/theseam-ui-common-toggle-group.js.map +0 -1
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js +0 -97
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js.map +0 -1
- package/fesm2015/theseam-ui-common-utils.js +0 -1321
- package/fesm2015/theseam-ui-common-utils.js.map +0 -1
- package/fesm2015/theseam-ui-common-validators.js +0 -94
- package/fesm2015/theseam-ui-common-validators.js.map +0 -1
- package/fesm2015/theseam-ui-common-viewers.js +0 -563
- package/fesm2015/theseam-ui-common-viewers.js.map +0 -1
- package/fesm2015/theseam-ui-common-widget.js +0 -1189
- package/fesm2015/theseam-ui-common-widget.js.map +0 -1
- package/fesm2015/theseam-ui-common.js +0 -47
- package/fesm2015/theseam-ui-common.js.map +0 -1
- package/footer-bar/package.json +0 -11
- package/footer-bar/theseam-ui-common-footer-bar.d.ts +0 -4
- package/footer-bar/theseam-ui-common-footer-bar.metadata.json +0 -1
- package/form-field/package.json +0 -11
- package/form-field/theseam-ui-common-form-field.d.ts +0 -4
- package/form-field/theseam-ui-common-form-field.metadata.json +0 -1
- package/form-field-error/package.json +0 -11
- package/form-field-error/theseam-ui-common-form-field-error.d.ts +0 -4
- package/form-field-error/theseam-ui-common-form-field-error.metadata.json +0 -1
- package/framework/base-layout/_base-layout-theme.scss +0 -3
- package/framework/base-layout/base-layout.component.scss +0 -95
- package/framework/base-layout/styles/_utilities.scss +0 -3
- package/framework/base-layout/styles/_variables.scss +0 -23
- package/framework/dashboard/_dashboard-theme.scss +0 -3
- package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.scss +0 -0
- package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.scss +0 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.scss +0 -48
- package/framework/dashboard/dashboard.component.scss +0 -0
- package/framework/dashboard/styles/_utilities.scss +0 -3
- package/framework/dashboard/styles/_variables.scss +0 -2
- package/framework/package.json +0 -11
- package/framework/side-nav/_side-nav-theme.scss +0 -5
- package/framework/side-nav/side-nav-item/side-nav-item.component.scss +0 -185
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.scss +0 -32
- package/framework/side-nav/side-nav.component.scss +0 -47
- package/framework/side-nav/styles/_themes/light/_variables.scss +0 -29
- package/framework/side-nav/styles/_themes/primary/_variables.scss +0 -31
- package/framework/side-nav/styles/_utilities.scss +0 -3
- package/framework/side-nav/styles/_variables.scss +0 -2
- package/framework/theseam-ui-common-framework.d.ts +0 -13
- package/framework/theseam-ui-common-framework.metadata.json +0 -1
- package/framework/top-bar/_top-bar-theme.scss +0 -5
- package/framework/top-bar/styles/_utilities.scss +0 -3
- package/framework/top-bar/styles/_variables.scss +0 -18
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.scss +0 -15
- package/framework/top-bar/top-bar-title/top-bar-title.component.scss +0 -6
- package/framework/top-bar/top-bar.component.scss +0 -39
- package/google-maps/package.json +0 -11
- package/google-maps/theseam-ui-common-google-maps.d.ts +0 -5
- package/google-maps/theseam-ui-common-google-maps.metadata.json +0 -1
- package/graphql/package.json +0 -11
- package/graphql/theseam-ui-common-graphql.d.ts +0 -4
- package/graphql/theseam-ui-common-graphql.metadata.json +0 -1
- package/icon/package.json +0 -11
- package/icon/theseam-ui-common-icon.d.ts +0 -4
- package/icon/theseam-ui-common-icon.metadata.json +0 -1
- package/layout/package.json +0 -11
- package/layout/theseam-ui-common-layout.d.ts +0 -4
- package/layout/theseam-ui-common-layout.metadata.json +0 -1
- package/loading/package.json +0 -11
- package/loading/theseam-ui-common-loading.d.ts +0 -4
- package/loading/theseam-ui-common-loading.metadata.json +0 -1
- package/menu/package.json +0 -11
- package/menu/theseam-ui-common-menu.d.ts +0 -4
- package/menu/theseam-ui-common-menu.metadata.json +0 -1
- package/modal/package.json +0 -11
- package/modal/theseam-ui-common-modal.d.ts +0 -4
- package/modal/theseam-ui-common-modal.metadata.json +0 -1
- package/models/package.json +0 -11
- package/models/theseam-ui-common-models.d.ts +0 -4
- package/models/theseam-ui-common-models.metadata.json +0 -1
- package/popover/package.json +0 -11
- package/popover/theseam-ui-common-popover.d.ts +0 -4
- package/popover/theseam-ui-common-popover.metadata.json +0 -1
- package/progress/package.json +0 -11
- package/progress/progress-circle/_progress-circle-theme.scss +0 -3
- package/progress/progress-circle/progress-circle.component.scss +0 -105
- package/progress/progress-circle/styles/_utilities.scss +0 -3
- package/progress/progress-circle/styles/_variables.scss +0 -8
- package/progress/theseam-ui-common-progress.d.ts +0 -4
- package/progress/theseam-ui-common-progress.metadata.json +0 -1
- package/scrollbar/package.json +0 -11
- package/scrollbar/theseam-ui-common-scrollbar.d.ts +0 -4
- package/scrollbar/theseam-ui-common-scrollbar.metadata.json +0 -1
- package/services/package.json +0 -11
- package/services/theseam-ui-common-services.d.ts +0 -4
- package/services/theseam-ui-common-services.metadata.json +0 -1
- package/shared/package.json +0 -11
- package/shared/theseam-ui-common-shared.d.ts +0 -4
- package/shared/theseam-ui-common-shared.metadata.json +0 -1
- package/storage/package.json +0 -11
- package/storage/theseam-ui-common-storage.d.ts +0 -4
- package/storage/theseam-ui-common-storage.metadata.json +0 -1
- package/story-helpers/package.json +0 -11
- package/story-helpers/theseam-ui-common-story-helpers.d.ts +0 -4
- package/story-helpers/theseam-ui-common-story-helpers.metadata.json +0 -1
- package/styles/_storybook-fixes.scss +0 -7
- package/styles/_variables.scss +0 -0
- package/styles/bootstrap/_bootstrap.scss +0 -45
- package/styles/bootstrap/_bs-styles.scss +0 -105
- package/styles/bootstrap/_bs-utilities.scss +0 -5
- package/styles/bootstrap/_bs-variables.scss +0 -141
- package/styles/common/_forms.scss +0 -15
- package/styles/common/_global.scss +0 -9
- package/styles/common/_hacks.scss +0 -14
- package/styles/common/_table.scss +0 -119
- package/styles/common/_text.scss +0 -1
- package/styles/theme.scss +0 -19
- package/styles/utilities.scss +0 -14
- package/styles/vendor/_vendor.scss +0 -3
- package/styles/vendor/ng-select/_ng-select-bs4.scss +0 -445
- package/styles/vendor/ngx-datatable/_ngx-datatable.scss +0 -501
- package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +0 -174
- package/styles/vendor/ngx-datatable/_themes/dark/_variables.scss +0 -166
- package/styles/vendor/ngx-datatable/_themes/material/_variables.scss +0 -165
- package/styles/vendor/ngx-datatable/_variables.scss +0 -3
- package/styles/vendor/quill/_quill.scss +0 -26
- package/tabbed/package.json +0 -11
- package/tabbed/theseam-ui-common-tabbed.d.ts +0 -4
- package/tabbed/theseam-ui-common-tabbed.metadata.json +0 -1
- package/table/package.json +0 -11
- package/table/theseam-ui-common-table.d.ts +0 -4
- package/table/theseam-ui-common-table.metadata.json +0 -1
- package/table-cell-type/package.json +0 -11
- package/table-cell-type/theseam-ui-common-table-cell-type.d.ts +0 -4
- package/table-cell-type/theseam-ui-common-table-cell-type.metadata.json +0 -1
- package/table-cell-types/package.json +0 -11
- package/table-cell-types/theseam-ui-common-table-cell-types.d.ts +0 -6
- package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +0 -1
- package/tel-input/package.json +0 -11
- package/tel-input/theseam-ui-common-tel-input.d.ts +0 -4
- package/tel-input/theseam-ui-common-tel-input.metadata.json +0 -1
- package/testing/package.json +0 -11
- package/testing/theseam-ui-common-testing.d.ts +0 -4
- package/testing/theseam-ui-common-testing.metadata.json +0 -1
- package/theseam-ui-common.d.ts +0 -4
- package/theseam-ui-common.metadata.json +0 -1
- package/tiled-select/package.json +0 -11
- package/tiled-select/theseam-ui-common-tiled-select.d.ts +0 -4
- package/tiled-select/theseam-ui-common-tiled-select.metadata.json +0 -1
- package/toggle-edit/package.json +0 -11
- package/toggle-edit/theseam-ui-common-toggle-edit.d.ts +0 -4
- package/toggle-edit/theseam-ui-common-toggle-edit.metadata.json +0 -1
- package/toggle-group/package.json +0 -11
- package/toggle-group/theseam-ui-common-toggle-group.d.ts +0 -4
- package/toggle-group/theseam-ui-common-toggle-group.metadata.json +0 -1
- package/unsaved-changes-dialog/package.json +0 -11
- package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.d.ts +0 -4
- package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.metadata.json +0 -1
- package/utils/package.json +0 -11
- package/utils/theseam-ui-common-utils.d.ts +0 -4
- package/utils/theseam-ui-common-utils.metadata.json +0 -1
- package/validators/package.json +0 -11
- package/validators/theseam-ui-common-validators.d.ts +0 -4
- package/validators/theseam-ui-common-validators.metadata.json +0 -1
- package/viewers/package.json +0 -11
- package/viewers/theseam-ui-common-viewers.d.ts +0 -4
- package/viewers/theseam-ui-common-viewers.metadata.json +0 -1
- package/widget/_widget-theme.scss +0 -15
- package/widget/package.json +0 -11
- package/widget/styles/_utilities.scss +0 -3
- package/widget/styles/_variables.scss +0 -30
- package/widget/theseam-ui-common-widget.d.ts +0 -4
- package/widget/theseam-ui-common-widget.metadata.json +0 -1
- package/widget/widget/widget.component.scss +0 -109
- package/widget/widget-content-components/widget-button-group/widget-button-group.component.scss +0 -3
- package/widget/widget-content-components/widget-content-header/widget-content-header.component.scss +0 -6
- package/widget/widget-content-components/widget-description/widget-description.component.scss +0 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.scss +0 -9
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.scss +0 -8
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.scss +0 -7
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.scss +0 -5
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.scss +0 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.component.scss +0 -0
- package/widget/widget-content-components/widget-table/widget-table.component.scss +0 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.scss +0 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.scss +0 -5
- package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.scss +0 -14
- package/widget/widget-content-components/widget-tile/widget-tile.component.scss +0 -70
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.scss +0 -6
- package/widget/widget-footer/widget-footer.component.scss +0 -16
- /package/{esm2015/asset-reader/encrypted-asset-reader.js → esm2020/asset-reader/encrypted-asset-reader.mjs} +0 -0
- /package/{esm2015/asset-reader/public-api.js → esm2020/asset-reader/public-api.mjs} +0 -0
- /package/{esm2015/asset-reader/theseam-ui-common-asset-reader.js → esm2020/asset-reader/theseam-ui-common-asset-reader.mjs} +0 -0
- /package/{esm2015/breadcrumbs/breadcrumb.js → esm2020/breadcrumbs/breadcrumb.mjs} +0 -0
- /package/{esm2015/breadcrumbs/breadcrumbs-resolver.js → esm2020/breadcrumbs/breadcrumbs-resolver.mjs} +0 -0
- /package/{esm2015/breadcrumbs/public-api.js → esm2020/breadcrumbs/public-api.mjs} +0 -0
- /package/{esm2015/breadcrumbs/theseam-ui-common-breadcrumbs.js → esm2020/breadcrumbs/theseam-ui-common-breadcrumbs.mjs} +0 -0
- /package/{esm2015/buttons/public-api.js → esm2020/buttons/public-api.mjs} +0 -0
- /package/{esm2015/buttons/theseam-ui-common-buttons.js → esm2020/buttons/theseam-ui-common-buttons.mjs} +0 -0
- /package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
- /package/{esm2015/card/theseam-ui-common-card.js → esm2020/card/theseam-ui-common-card.mjs} +0 -0
- /package/{esm2015/checkbox/theseam-ui-common-checkbox.js → esm2020/checkbox/theseam-ui-common-checkbox.mjs} +0 -0
- /package/{esm2015/confirm-dialog/public-api.js → esm2020/confirm-dialog/public-api.mjs} +0 -0
- /package/{esm2015/confirm-dialog/theseam-ui-common-confirm-dialog.js → esm2020/confirm-dialog/theseam-ui-common-confirm-dialog.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/active.js → esm2020/core/common-behaviors/active.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/constructor.js → esm2020/core/common-behaviors/constructor.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/disabled.js → esm2020/core/common-behaviors/disabled.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/element-ref.js → esm2020/core/common-behaviors/element-ref.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/index.js → esm2020/core/common-behaviors/index.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/initialized.js → esm2020/core/common-behaviors/initialized.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/renderer2.js → esm2020/core/common-behaviors/renderer2.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/size.js → esm2020/core/common-behaviors/size.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/tabindex.js → esm2020/core/common-behaviors/tabindex.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/theme.js → esm2020/core/common-behaviors/theme.mjs} +0 -0
- /package/{esm2015/core/input-decorators/index.js → esm2020/core/input-decorators/index.mjs} +0 -0
- /package/{esm2015/core/input-decorators/input-boolean.decorator.js → esm2020/core/input-decorators/input-boolean.decorator.mjs} +0 -0
- /package/{esm2015/core/input-decorators/input-number.decorator.js → esm2020/core/input-decorators/input-number.decorator.mjs} +0 -0
- /package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +0 -0
- /package/{esm2015/core/theseam-ui-common-core.js → esm2020/core/theseam-ui-common-core.mjs} +0 -0
- /package/{esm2015/data-exporter/data-exporter.js → esm2020/data-exporter/data-exporter.mjs} +0 -0
- /package/{esm2015/data-exporter/public-api.js → esm2020/data-exporter/public-api.mjs} +0 -0
- /package/{esm2015/data-exporter/theseam-ui-common-data-exporter.js → esm2020/data-exporter/theseam-ui-common-data-exporter.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter-container.js → esm2020/data-filters/data-filter-container.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter-def.js → esm2020/data-filters/data-filter-def.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter.js → esm2020/data-filters/data-filter.mjs} +0 -0
- /package/{esm2015/data-filters/filters/data-filter-search/search-filter-options.js → esm2020/data-filters/filters/data-filter-search/search-filter-options.mjs} +0 -0
- /package/{esm2015/data-filters/filters/data-filter-text/text-filter-options.js → esm2020/data-filters/filters/data-filter-text/text-filter-options.mjs} +0 -0
- /package/{esm2015/data-filters/public-api.js → esm2020/data-filters/public-api.mjs} +0 -0
- /package/{esm2015/data-filters/theseam-ui-common-data-filters.js → esm2020/data-filters/theseam-ui-common-data-filters.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alteration.js → esm2020/datatable/models/columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/hide-column.columns-alteration.js → esm2020/datatable/models/columns-alterations/hide-column.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/order.columns-alteration.js → esm2020/datatable/models/columns-alterations/order.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/sort.columns-alteration.js → esm2020/datatable/models/columns-alterations/sort.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/width.columns-alteration.js → esm2020/datatable/models/columns-alterations/width.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-accessor.js → esm2020/datatable/models/datatable-accessor.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-data-source.js → esm2020/datatable/models/datatable-data-source.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-gql-data-source.js → esm2020/datatable/models/datatable-gql-data-source.mjs} +0 -0
- /package/{esm2015/datatable/models/internal-column-props.js → esm2020/datatable/models/internal-column-props.mjs} +0 -0
- /package/{esm2015/datatable/models/menubar-item-data.js → esm2020/datatable/models/menubar-item-data.mjs} +0 -0
- /package/{esm2015/datatable/models/page-info.js → esm2020/datatable/models/page-info.mjs} +0 -0
- /package/{esm2015/datatable/models/preferences-accessor.js → esm2020/datatable/models/preferences-accessor.mjs} +0 -0
- /package/{esm2015/datatable/models/preferences.js → esm2020/datatable/models/preferences.mjs} +0 -0
- /package/{esm2015/datatable/models/sort-event.js → esm2020/datatable/models/sort-event.mjs} +0 -0
- /package/{esm2015/datatable/models/sort-item.js → esm2020/datatable/models/sort-item.mjs} +0 -0
- /package/{esm2015/datatable/models/table-column.js → esm2020/datatable/models/table-column.mjs} +0 -0
- /package/{esm2015/datatable/public-api.js → esm2020/datatable/public-api.mjs} +0 -0
- /package/{esm2015/datatable/tokens/datatable-accessor.js → esm2020/datatable/tokens/datatable-accessor.mjs} +0 -0
- /package/{esm2015/datatable/tokens/datatable-preferences-accessor.js → esm2020/datatable/tokens/datatable-preferences-accessor.mjs} +0 -0
- /package/{esm2015/datatable/tokens/menubar-item-data.js → esm2020/datatable/tokens/menubar-item-data.mjs} +0 -0
- /package/{esm2015/datatable/utils/create-action-menu-column.js → esm2020/datatable/utils/create-action-menu-column.mjs} +0 -0
- /package/{esm2015/datatable/utils/create-checkbox-column.js → esm2020/datatable/utils/create-checkbox-column.mjs} +0 -0
- /package/{esm2015/datatable/utils/get-column-prop.js → esm2020/datatable/utils/get-column-prop.mjs} +0 -0
- /package/{esm2015/datatable/utils/map-columns-alterations-states.js → esm2020/datatable/utils/map-columns-alterations-states.mjs} +0 -0
- /package/{esm2015/datatable/utils/remove-unused-diffs.js → esm2020/datatable/utils/remove-unused-diffs.mjs} +0 -0
- /package/{esm2015/datatable/utils/set-column-defaults.js → esm2020/datatable/utils/set-column-defaults.mjs} +0 -0
- /package/{esm2015/datatable/utils/translate-templates.js → esm2020/datatable/utils/translate-templates.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-def.js → esm2020/datatable-dynamic/datatable-dynamic-def.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.js → esm2020/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-menu-bar-token.js → esm2020/datatable-dynamic/datatable-dynamic-menu-bar-token.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-action-menu-record.js → esm2020/datatable-dynamic/models/dynamic-datatable-action-menu-record.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-filter-menu-item.js → esm2020/datatable-dynamic/models/dynamic-datatable-filter-menu-item.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action-context.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action-context.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/index.js → esm2020/datatable-dynamic/models/index.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/public-api.js → esm2020/datatable-dynamic/public-api.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/theseam-ui-common-datatable-dynamic.js → esm2020/datatable-dynamic/theseam-ui-common-datatable-dynamic.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/index.js → esm2020/datatable-dynamic/utils/index.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api-def.js → esm2020/dynamic/action/api/dynamic-action-api-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api-errors.js → esm2020/dynamic/action/api/dynamic-action-api-errors.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api.js → esm2020/dynamic/action/api/dynamic-action-api.mjs} +0 -0
- /package/{esm2015/dynamic/action/index.js → esm2020/dynamic/action/index.mjs} +0 -0
- /package/{esm2015/dynamic/action/link/dynamic-action-link-def.js → esm2020/dynamic/action/link/dynamic-action-link-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/link/dynamic-action-link.js → esm2020/dynamic/action/link/dynamic-action-link.mjs} +0 -0
- /package/{esm2015/dynamic/action/modal/dynamic-action-modal-def.js → esm2020/dynamic/action/modal/dynamic-action-modal-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/modal/dynamic-action-modal.js → esm2020/dynamic/action/modal/dynamic-action-modal.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.js → esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/index.js → esm2020/dynamic/evaluators/exporters-data-evaluator/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/index.js → esm2020/dynamic/evaluators/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/jexl-evaluator/index.js → esm2020/dynamic/evaluators/jexl-evaluator/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/jexl-evaluator/jexl-value.js → esm2020/dynamic/evaluators/jexl-evaluator/jexl-value.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-confirm-def.js → esm2020/dynamic/models/dynamic-action-confirm-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-context.js → esm2020/dynamic/models/dynamic-action-context.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-def.js → esm2020/dynamic/models/dynamic-action-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-anchor-def.js → esm2020/dynamic/models/dynamic-action-ui-anchor-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-button-def.js → esm2020/dynamic/models/dynamic-action-ui-button-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-def.js → esm2020/dynamic/models/dynamic-action-ui-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action.js → esm2020/dynamic/models/dynamic-action.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-base-type.js → esm2020/dynamic/models/dynamic-value-base-type.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-evaluator.js → esm2020/dynamic/models/dynamic-value-evaluator.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-primitive.js → esm2020/dynamic/models/dynamic-value-primitive.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-type.js → esm2020/dynamic/models/dynamic-value-type.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value.js → esm2020/dynamic/models/dynamic-value.mjs} +0 -0
- /package/{esm2015/dynamic/models/index.js → esm2020/dynamic/models/index.mjs} +0 -0
- /package/{esm2015/dynamic/public-api.js → esm2020/dynamic/public-api.mjs} +0 -0
- /package/{esm2015/dynamic/theseam-ui-common-dynamic.js → esm2020/dynamic/theseam-ui-common-dynamic.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/api-config.js → esm2020/dynamic/tokens/api-config.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-action.js → esm2020/dynamic/tokens/dynamic-action.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-data.js → esm2020/dynamic/tokens/dynamic-data.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-value-evaluator.js → esm2020/dynamic/tokens/dynamic-value-evaluator.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/index.js → esm2020/dynamic/tokens/index.mjs} +0 -0
- /package/{esm2015/dynamic/utils/index.js → esm2020/dynamic/utils/index.mjs} +0 -0
- /package/{esm2015/dynamic/utils/is-action-type.js → esm2020/dynamic/utils/is-action-type.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/dynamic-component-tokens.js → esm2020/dynamic-component-loader/dynamic-component-tokens.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/public-api.js → esm2020/dynamic-component-loader/public-api.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.js → esm2020/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.mjs} +0 -0
- /package/{esm2015/footer-bar/public-api.js → esm2020/footer-bar/public-api.mjs} +0 -0
- /package/{esm2015/footer-bar/theseam-ui-common-footer-bar.js → esm2020/footer-bar/theseam-ui-common-footer-bar.mjs} +0 -0
- /package/{esm2015/form-field/theseam-ui-common-form-field.js → esm2020/form-field/theseam-ui-common-form-field.mjs} +0 -0
- /package/{esm2015/form-field-error/public-api.js → esm2020/form-field-error/public-api.mjs} +0 -0
- /package/{esm2015/form-field-error/theseam-ui-common-form-field-error.js → esm2020/form-field-error/theseam-ui-common-form-field-error.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-action.js → esm2020/framework/base-layout/base-layout-action.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-nav.js → esm2020/framework/base-layout/base-layout-nav.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-ref.js → esm2020/framework/base-layout/base-layout-ref.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-tokens.js → esm2020/framework/base-layout/base-layout-tokens.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-item.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-item.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.mjs} +0 -0
- /package/{esm2015/framework/dashboard/index.js → esm2020/framework/dashboard/index.mjs} +0 -0
- /package/{esm2015/framework/dynamic-router/dynamic-route-def.js → esm2020/framework/dynamic-router/dynamic-route-def.mjs} +0 -0
- /package/{esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.js → esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.mjs} +0 -0
- /package/{esm2015/framework/dynamic-router/index.js → esm2020/framework/dynamic-router/index.mjs} +0 -0
- /package/{esm2015/framework/public-api.js → esm2020/framework/public-api.mjs} +0 -0
- /package/{esm2015/framework/schema-form/index.js → esm2020/framework/schema-form/index.mjs} +0 -0
- /package/{esm2015/framework/side-nav/side-nav.models.js → esm2020/framework/side-nav/side-nav.models.mjs} +0 -0
- /package/{esm2015/framework/top-bar/index.js → esm2020/framework/top-bar/index.mjs} +0 -0
- /package/{esm2015/google-maps/google-maps-contextmenu.js → esm2020/google-maps/google-maps-contextmenu.mjs} +0 -0
- /package/{esm2015/google-maps/map-controls-service.js → esm2020/google-maps/map-controls-service.mjs} +0 -0
- /package/{esm2015/google-maps/public-api.js → esm2020/google-maps/public-api.mjs} +0 -0
- /package/{esm2015/graphql/datatable/index.js → esm2020/graphql/datatable/index.mjs} +0 -0
- /package/{esm2015/graphql/datatable/map-page-info.js → esm2020/graphql/datatable/map-page-info.mjs} +0 -0
- /package/{esm2015/graphql/datatable/mapper-context.js → esm2020/graphql/datatable/mapper-context.mjs} +0 -0
- /package/{esm2015/graphql/models/direction.js → esm2020/graphql/models/direction.mjs} +0 -0
- /package/{esm2015/graphql/models/gql-datatable-accessor.js → esm2020/graphql/models/gql-datatable-accessor.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-definition.js → esm2020/graphql/models/hint-definition.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-transform-operation.js → esm2020/graphql/models/hint-transform-operation.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-transformer.js → esm2020/graphql/models/hint-transformer.mjs} +0 -0
- /package/{esm2015/graphql/models/hints-kind.js → esm2020/graphql/models/hints-kind.mjs} +0 -0
- /package/{esm2015/graphql/models/hints-token.js → esm2020/graphql/models/hints-token.mjs} +0 -0
- /package/{esm2015/graphql/models/index.js → esm2020/graphql/models/index.mjs} +0 -0
- /package/{esm2015/graphql/models/query-processing-config.js → esm2020/graphql/models/query-processing-config.mjs} +0 -0
- /package/{esm2015/graphql/models/variable.js → esm2020/graphql/models/variable.mjs} +0 -0
- /package/{esm2015/graphql/public-api.js → esm2020/graphql/public-api.mjs} +0 -0
- /package/{esm2015/graphql/theseam-ui-common-graphql.js → esm2020/graphql/theseam-ui-common-graphql.mjs} +0 -0
- /package/{esm2015/graphql/utils/contains-variable.js → esm2020/graphql/utils/contains-variable.mjs} +0 -0
- /package/{esm2015/graphql/utils/gql-var.js → esm2020/graphql/utils/gql-var.mjs} +0 -0
- /package/{esm2015/graphql/utils/hints-tokens-containing-hint.js → esm2020/graphql/utils/hints-tokens-containing-hint.mjs} +0 -0
- /package/{esm2015/graphql/utils/index.js → esm2020/graphql/utils/index.mjs} +0 -0
- /package/{esm2015/graphql/utils/inline-variables.js → esm2020/graphql/utils/inline-variables.mjs} +0 -0
- /package/{esm2015/graphql/utils/parse-comments.js → esm2020/graphql/utils/parse-comments.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable-definition.js → esm2020/graphql/utils/remove-variable-definition.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable-definitions-not-defined.js → esm2020/graphql/utils/remove-variable-definitions-not-defined.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable.js → esm2020/graphql/utils/remove-variable.mjs} +0 -0
- /package/{esm2015/graphql/utils/to-gql.js → esm2020/graphql/utils/to-gql.mjs} +0 -0
- /package/{esm2015/icon/icon.js → esm2020/icon/icon.mjs} +0 -0
- /package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
- /package/{esm2015/icon/theseam-ui-common-icon.js → esm2020/icon/theseam-ui-common-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/file-extension-icon.js → esm2020/icon/utils/file-extension-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/get-known-icon.js → esm2020/icon/utils/get-known-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/index.js → esm2020/icon/utils/index.mjs} +0 -0
- /package/{esm2015/layout/breakpoint-aliases.js → esm2020/layout/breakpoint-aliases.mjs} +0 -0
- /package/{esm2015/layout/observe-media-query.js → esm2020/layout/observe-media-query.mjs} +0 -0
- /package/{esm2015/layout/public-api.js → esm2020/layout/public-api.mjs} +0 -0
- /package/{esm2015/layout/theseam-ui-common-layout.js → esm2020/layout/theseam-ui-common-layout.mjs} +0 -0
- /package/{esm2015/loading/loading-themes.js → esm2020/loading/loading-themes.mjs} +0 -0
- /package/{esm2015/loading/loading.models.js → esm2020/loading/loading.models.mjs} +0 -0
- /package/{esm2015/loading/public-api.js → esm2020/loading/public-api.mjs} +0 -0
- /package/{esm2015/loading/theseam-ui-common-loading.js → esm2020/loading/theseam-ui-common-loading.mjs} +0 -0
- /package/{esm2015/menu/menu-animations.js → esm2020/menu/menu-animations.mjs} +0 -0
- /package/{esm2015/menu/menu-panel-token.js → esm2020/menu/menu-panel-token.mjs} +0 -0
- /package/{esm2015/menu/menu-panel.js → esm2020/menu/menu-panel.mjs} +0 -0
- /package/{esm2015/menu/public-api.js → esm2020/menu/public-api.mjs} +0 -0
- /package/{esm2015/menu/theseam-ui-common-menu.js → esm2020/menu/theseam-ui-common-menu.mjs} +0 -0
- /package/{esm2015/modal/modal-injectors.js → esm2020/modal/modal-injectors.mjs} +0 -0
- /package/{esm2015/modal/modal-ref.js → esm2020/modal/modal-ref.mjs} +0 -0
- /package/{esm2015/modal/modal-utils.js → esm2020/modal/modal-utils.mjs} +0 -0
- /package/{esm2015/modal/public-api.js → esm2020/modal/public-api.mjs} +0 -0
- /package/{esm2015/modal/theseam-ui-common-modal.js → esm2020/modal/theseam-ui-common-modal.mjs} +0 -0
- /package/{esm2015/models/component-type.js → esm2020/models/component-type.mjs} +0 -0
- /package/{esm2015/models/http-status-codes.js → esm2020/models/http-status-codes.mjs} +0 -0
- /package/{esm2015/models/public-api.js → esm2020/models/public-api.mjs} +0 -0
- /package/{esm2015/models/size-prefixes.js → esm2020/models/size-prefixes.mjs} +0 -0
- /package/{esm2015/models/size-types.js → esm2020/models/size-types.mjs} +0 -0
- /package/{esm2015/models/theme-names.js → esm2020/models/theme-names.mjs} +0 -0
- /package/{esm2015/models/theme-prefixes.js → esm2020/models/theme-prefixes.mjs} +0 -0
- /package/{esm2015/models/theme-types.js → esm2020/models/theme-types.mjs} +0 -0
- /package/{esm2015/models/theseam-ui-common-models.js → esm2020/models/theseam-ui-common-models.mjs} +0 -0
- /package/{esm2015/popover/popover-animations.js → esm2020/popover/popover-animations.mjs} +0 -0
- /package/{esm2015/popover/public-api.js → esm2020/popover/public-api.mjs} +0 -0
- /package/{esm2015/popover/theseam-ui-common-popover.js → esm2020/popover/theseam-ui-common-popover.mjs} +0 -0
- /package/{esm2015/progress/public-api.js → esm2020/progress/public-api.mjs} +0 -0
- /package/{esm2015/progress/theseam-ui-common-progress.js → esm2020/progress/theseam-ui-common-progress.mjs} +0 -0
- /package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- /package/{esm2015/scrollbar/overlay-scrollbars-config-model.js → esm2020/scrollbar/overlay-scrollbars-config-model.mjs} +0 -0
- /package/{esm2015/scrollbar/public-api.js → esm2020/scrollbar/public-api.mjs} +0 -0
- /package/{esm2015/scrollbar/theseam-ui-common-scrollbar.js → esm2020/scrollbar/theseam-ui-common-scrollbar.mjs} +0 -0
- /package/{esm2015/services/public-api.js → esm2020/services/public-api.mjs} +0 -0
- /package/{esm2015/services/theseam-ui-common-services.js → esm2020/services/theseam-ui-common-services.mjs} +0 -0
- /package/{esm2015/shared/components/index.js → esm2020/shared/components/index.mjs} +0 -0
- /package/{esm2015/shared/directives/index.js → esm2020/shared/directives/index.mjs} +0 -0
- /package/{esm2015/shared/pipes/index.js → esm2020/shared/pipes/index.mjs} +0 -0
- /package/{esm2015/shared/public-api.js → esm2020/shared/public-api.mjs} +0 -0
- /package/{esm2015/shared/theseam-ui-common-shared.js → esm2020/shared/theseam-ui-common-shared.mjs} +0 -0
- /package/{esm2015/storage/localstorage-memory.js → esm2020/storage/localstorage-memory.mjs} +0 -0
- /package/{esm2015/storage/public-api.js → esm2020/storage/public-api.mjs} +0 -0
- /package/{esm2015/storage/theseam-ui-common-storage.js → esm2020/storage/theseam-ui-common-storage.mjs} +0 -0
- /package/{esm2015/story-helpers/initial-route-factory.js → esm2020/story-helpers/initial-route-factory.mjs} +0 -0
- /package/{esm2015/story-helpers/public-api.js → esm2020/story-helpers/public-api.mjs} +0 -0
- /package/{esm2015/story-helpers/route-button.js → esm2020/story-helpers/route-button.mjs} +0 -0
- /package/{esm2015/story-helpers/theseam-ui-common-story-helpers.js → esm2020/story-helpers/theseam-ui-common-story-helpers.mjs} +0 -0
- /package/{esm2015/tabbed/theseam-ui-common-tabbed.js → esm2020/tabbed/theseam-ui-common-tabbed.mjs} +0 -0
- /package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
- /package/{esm2015/table/theseam-ui-common-table.js → esm2020/table/theseam-ui-common-table.mjs} +0 -0
- /package/{esm2015/table-cell-type/public-api.js → esm2020/table-cell-type/public-api.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-action.js → esm2020/table-cell-type/table-cell-type-action.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-column.js → esm2020/table-cell-type/table-cell-type-column.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-config.js → esm2020/table-cell-type/table-cell-type-config.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-export-props.js → esm2020/table-cell-type/table-cell-type-export-props.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-manifest-provider.js → esm2020/table-cell-type/table-cell-type-manifest-provider.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-models.js → esm2020/table-cell-type/table-cell-type-models.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-name.js → esm2020/table-cell-type/table-cell-type-name.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-tokens.js → esm2020/table-cell-type/table-cell-type-tokens.mjs} +0 -0
- /package/{esm2015/table-cell-type/theseam-ui-common-table-cell-type.js → esm2020/table-cell-type/theseam-ui-common-table-cell-type.mjs} +0 -0
- /package/{esm2015/table-cell-types/public-api.js → esm2020/table-cell-types/public-api.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date-config.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.js → esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.js → esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.js → esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.js → esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-string/table-cell-type-string-config.js → esm2020/table-cell-types/table-cell-type-string/table-cell-type-string-config.mjs} +0 -0
- /package/{esm2015/tel-input/intl-tel-input.js → esm2020/tel-input/intl-tel-input.mjs} +0 -0
- /package/{esm2015/tel-input/models/index.js → esm2020/tel-input/models/index.mjs} +0 -0
- /package/{esm2015/tel-input/models/tel-input-country-data.js → esm2020/tel-input/models/tel-input-country-data.mjs} +0 -0
- /package/{esm2015/tel-input/models/tel-input-number-format-name.js → esm2020/tel-input/models/tel-input-number-format-name.mjs} +0 -0
- /package/{esm2015/tel-input/public-api.js → esm2020/tel-input/public-api.mjs} +0 -0
- /package/{esm2015/tel-input/tel-input-constants.js → esm2020/tel-input/tel-input-constants.mjs} +0 -0
- /package/{esm2015/tel-input/theseam-ui-common-tel-input.js → esm2020/tel-input/theseam-ui-common-tel-input.mjs} +0 -0
- /package/{esm2015/tel-input/utils/add-country-code.js → esm2020/tel-input/utils/add-country-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/coerce-phone-number-format.js → esm2020/tel-input/utils/coerce-phone-number-format.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-country-code.js → esm2020/tel-input/utils/get-country-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-dial-code.js → esm2020/tel-input/utils/get-dial-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-global-intl-tel-input-globals.js → esm2020/tel-input/utils/get-global-intl-tel-input-globals.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-global-intl-tel-input-utils.js → esm2020/tel-input/utils/get-global-intl-tel-input-utils.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-intl-tel-input-utils.js → esm2020/tel-input/utils/get-intl-tel-input-utils.mjs} +0 -0
- /package/{esm2015/tel-input/utils/index.js → esm2020/tel-input/utils/index.mjs} +0 -0
- /package/{esm2015/tel-input/utils/process-country-codes.js → esm2020/tel-input/utils/process-country-codes.mjs} +0 -0
- /package/{esm2015/testing/current-tick-time.js → esm2020/testing/current-tick-time.mjs} +0 -0
- /package/{esm2015/testing/fake-toastr.js → esm2020/testing/fake-toastr.mjs} +0 -0
- /package/{esm2015/testing/public-api.js → esm2020/testing/public-api.mjs} +0 -0
- /package/{esm2015/testing/theseam-ui-common-testing.js → esm2020/testing/theseam-ui-common-testing.mjs} +0 -0
- /package/{esm2015/testing/tick-helper.js → esm2020/testing/tick-helper.mjs} +0 -0
- /package/{esm2015/theseam-ui-common.js → esm2020/theseam-ui-common.mjs} +0 -0
- /package/{esm2015/tiled-select/theseam-ui-common-tiled-select.js → esm2020/tiled-select/theseam-ui-common-tiled-select.mjs} +0 -0
- /package/{esm2015/tiled-select/tiled-select.models.js → esm2020/tiled-select/tiled-select.models.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/can-toggle-edit.js → esm2020/toggle-edit/models/can-toggle-edit.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/index.js → esm2020/toggle-edit/models/index.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/toggle-edit-ref.js → esm2020/toggle-edit/models/toggle-edit-ref.mjs} +0 -0
- /package/{esm2015/toggle-edit/public-api.js → esm2020/toggle-edit/public-api.mjs} +0 -0
- /package/{esm2015/toggle-edit/theseam-ui-common-toggle-edit.js → esm2020/toggle-edit/theseam-ui-common-toggle-edit.mjs} +0 -0
- /package/{esm2015/toggle-group/public-api.js → esm2020/toggle-group/public-api.mjs} +0 -0
- /package/{esm2015/toggle-group/theseam-ui-common-toggle-group.js → esm2020/toggle-group/theseam-ui-common-toggle-group.mjs} +0 -0
- /package/{esm2015/unsaved-changes-dialog/public-api.js → esm2020/unsaved-changes-dialog/public-api.mjs} +0 -0
- /package/{esm2015/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.js → esm2020/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.mjs} +0 -0
- /package/{esm2015/utils/array-move.js → esm2020/utils/array-move.mjs} +0 -0
- /package/{esm2015/utils/calc-percentage.js → esm2020/utils/calc-percentage.mjs} +0 -0
- /package/{esm2015/utils/cdk/get-closest-widget-cdk-drag.js → esm2020/utils/cdk/get-closest-widget-cdk-drag.mjs} +0 -0
- /package/{esm2015/utils/create-padding.js → esm2020/utils/create-padding.mjs} +0 -0
- /package/{esm2015/utils/form/get-control-name.js → esm2020/utils/form/get-control-name.mjs} +0 -0
- /package/{esm2015/utils/form/get-control-path.js → esm2020/utils/form/get-control-path.mjs} +0 -0
- /package/{esm2015/utils/form/has-required-control.js → esm2020/utils/form/has-required-control.mjs} +0 -0
- /package/{esm2015/utils/form/is-empty-input-value.js → esm2020/utils/form/is-empty-input-value.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-is-different.js → esm2020/utils/form/observe-control-is-different.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-status.js → esm2020/utils/form/observe-control-status.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-valid.js → esm2020/utils/form/observe-control-valid.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-value-change.js → esm2020/utils/form/observe-control-value-change.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-value.js → esm2020/utils/form/observe-control-value.mjs} +0 -0
- /package/{esm2015/utils/form/wait-on-non-pending-status.js → esm2020/utils/form/wait-on-non-pending-status.mjs} +0 -0
- /package/{esm2015/utils/fractional-digits-count.js → esm2020/utils/fractional-digits-count.mjs} +0 -0
- /package/{esm2015/utils/geo-json/min-max-points.validator.js → esm2020/utils/geo-json/min-max-points.validator.mjs} +0 -0
- /package/{esm2015/utils/geo-json/no-kinks.validator.js → esm2020/utils/geo-json/no-kinks.validator.mjs} +0 -0
- /package/{esm2015/utils/get-attribute.js → esm2020/utils/get-attribute.mjs} +0 -0
- /package/{esm2015/utils/has-attribute.js → esm2020/utils/has-attribute.mjs} +0 -0
- /package/{esm2015/utils/has-property.js → esm2020/utils/has-property.mjs} +0 -0
- /package/{esm2015/utils/input-masks.js → esm2020/utils/input-masks.mjs} +0 -0
- /package/{esm2015/utils/is-absolute-url.js → esm2020/utils/is-absolute-url.mjs} +0 -0
- /package/{esm2015/utils/is-null-or-undefined.js → esm2020/utils/is-null-or-undefined.mjs} +0 -0
- /package/{esm2015/utils/is-numeric.js → esm2020/utils/is-numeric.mjs} +0 -0
- /package/{esm2015/utils/load-style-sheet.js → esm2020/utils/load-style-sheet.mjs} +0 -0
- /package/{esm2015/utils/load-style.js → esm2020/utils/load-style.mjs} +0 -0
- /package/{esm2015/utils/not-null-or-undefined.js → esm2020/utils/not-null-or-undefined.mjs} +0 -0
- /package/{esm2015/utils/observe-query-list.js → esm2020/utils/observe-query-list.mjs} +0 -0
- /package/{esm2015/utils/operators/index.js → esm2020/utils/operators/index.mjs} +0 -0
- /package/{esm2015/utils/operators/map-each.js → esm2020/utils/operators/map-each.mjs} +0 -0
- /package/{esm2015/utils/operators/tap-first.js → esm2020/utils/operators/tap-first.mjs} +0 -0
- /package/{esm2015/utils/pad-end.js → esm2020/utils/pad-end.mjs} +0 -0
- /package/{esm2015/utils/pad-start.js → esm2020/utils/pad-start.mjs} +0 -0
- /package/{esm2015/utils/public-api.js → esm2020/utils/public-api.mjs} +0 -0
- /package/{esm2015/utils/refreshable.js → esm2020/utils/refreshable.mjs} +0 -0
- /package/{esm2015/utils/router/index.js → esm2020/utils/router/index.mjs} +0 -0
- /package/{esm2015/utils/router/is-empty-url-route.js → esm2020/utils/router/is-empty-url-route.mjs} +0 -0
- /package/{esm2015/utils/router/leaf-child-route.js → esm2020/utils/router/leaf-child-route.mjs} +0 -0
- /package/{esm2015/utils/router/operators/activated-routes-with-data-property.js → esm2020/utils/router/operators/activated-routes-with-data-property.mjs} +0 -0
- /package/{esm2015/utils/router/route-snapshot-path-full.js → esm2020/utils/router/route-snapshot-path-full.mjs} +0 -0
- /package/{esm2015/utils/router/route-snapshot-path-relative.js → esm2020/utils/router/route-snapshot-path-relative.mjs} +0 -0
- /package/{esm2015/utils/router/will-have-data-prop.js → esm2020/utils/router/will-have-data-prop.mjs} +0 -0
- /package/{esm2015/utils/theseam-ui-common-utils.js → esm2020/utils/theseam-ui-common-utils.mjs} +0 -0
- /package/{esm2015/utils/toggle-attribute.js → esm2020/utils/toggle-attribute.mjs} +0 -0
- /package/{esm2015/utils/wrap-into-observable.js → esm2020/utils/wrap-into-observable.mjs} +0 -0
- /package/{esm2015/validators/decimal.validator.js → esm2020/validators/decimal.validator.mjs} +0 -0
- /package/{esm2015/validators/email-exists.validator.js → esm2020/validators/email-exists.validator.mjs} +0 -0
- /package/{esm2015/validators/integer.validator.js → esm2020/validators/integer.validator.mjs} +0 -0
- /package/{esm2015/validators/phone-length.validator.js → esm2020/validators/phone-length.validator.mjs} +0 -0
- /package/{esm2015/validators/public-api.js → esm2020/validators/public-api.mjs} +0 -0
- /package/{esm2015/validators/tax-id.validator.js → esm2020/validators/tax-id.validator.mjs} +0 -0
- /package/{esm2015/validators/theseam-ui-common-validators.js → esm2020/validators/theseam-ui-common-validators.mjs} +0 -0
- /package/{esm2015/viewers/html-template-viewer/index.js → esm2020/viewers/html-template-viewer/index.mjs} +0 -0
- /package/{esm2015/viewers/pdf-viewer/index.js → esm2020/viewers/pdf-viewer/index.mjs} +0 -0
- /package/{esm2015/viewers/public-api.js → esm2020/viewers/public-api.mjs} +0 -0
- /package/{esm2015/viewers/theseam-ui-common-viewers.js → esm2020/viewers/theseam-ui-common-viewers.mjs} +0 -0
- /package/{esm2015/widget/public-api.js → esm2020/widget/public-api.mjs} +0 -0
- /package/{esm2015/widget/theseam-ui-common-widget.js → esm2020/widget/theseam-ui-common-widget.mjs} +0 -0
- /package/{esm2015/widget/widget-registry.models.js → esm2020/widget/widget-registry.models.mjs} +0 -0
- /package/{esm2015/widget/widget-token.js → esm2020/widget/widget-token.mjs} +0 -0
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { coerceArray } from '@angular/cdk/coercion';
|
|
3
|
+
import { ContentChildren, Directive, EventEmitter, forwardRef, Input, Output } from '@angular/core';
|
|
4
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
5
|
+
import { combineLatest, from, of, Subject } from 'rxjs';
|
|
6
|
+
import { filter, map, startWith, switchMap, takeUntil, tap } from 'rxjs/operators';
|
|
7
|
+
import { InputBoolean } from '@theseam/ui-common/core';
|
|
8
|
+
import { ToggleGroupOptionDirective } from './toggle-group-option.directive';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export const TOGGLE_GROUP_VALUE_ACCESSOR = {
|
|
11
|
+
provide: NG_VALUE_ACCESSOR,
|
|
12
|
+
// tslint:disable-next-line:no-use-before-declare
|
|
13
|
+
useExisting: forwardRef(() => ToggleGroupDirective),
|
|
14
|
+
multi: true,
|
|
15
|
+
};
|
|
16
|
+
export class ToggleGroupDirective {
|
|
17
|
+
constructor() {
|
|
18
|
+
this._ngUnsubscribe = new Subject();
|
|
19
|
+
this.disabled = false;
|
|
20
|
+
this.multiple = false;
|
|
21
|
+
this.selectionToggleable = true;
|
|
22
|
+
// TODO: Add min/max selected inputs to make toggling better for multi select
|
|
23
|
+
this.change = new EventEmitter();
|
|
24
|
+
}
|
|
25
|
+
ngOnDestroy() {
|
|
26
|
+
this._ngUnsubscribe.next();
|
|
27
|
+
this._ngUnsubscribe.complete();
|
|
28
|
+
}
|
|
29
|
+
ngAfterViewInit() {
|
|
30
|
+
setTimeout(() => {
|
|
31
|
+
this._updateDirectiveStates();
|
|
32
|
+
if (this.optionDirectives) {
|
|
33
|
+
this.options = this.optionDirectives.changes
|
|
34
|
+
.pipe(takeUntil(this._ngUnsubscribe))
|
|
35
|
+
.pipe(startWith(this.optionDirectives))
|
|
36
|
+
.pipe(map(v => v.toArray()));
|
|
37
|
+
this.options.pipe(switchMap(opts => {
|
|
38
|
+
const _tmp = of(undefined);
|
|
39
|
+
if (opts) {
|
|
40
|
+
const _v = [];
|
|
41
|
+
for (const opt of opts) {
|
|
42
|
+
_v.push(opt.selectionChange.pipe(filter(v => opt.selected !== this.isSelected(opt.value)), tap(v => {
|
|
43
|
+
if (this.isSelected(opt.value)) {
|
|
44
|
+
this.unselectValue(opt.value);
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
this.selectValue(opt.value);
|
|
48
|
+
}
|
|
49
|
+
})));
|
|
50
|
+
}
|
|
51
|
+
return combineLatest(_v);
|
|
52
|
+
}
|
|
53
|
+
return _tmp;
|
|
54
|
+
})).subscribe();
|
|
55
|
+
}
|
|
56
|
+
this.change
|
|
57
|
+
.pipe(switchMap(_ => from(this.optionDirectives?.toArray() || [])
|
|
58
|
+
.pipe(tap(opt => { this._updateDirectiveState(opt); }))))
|
|
59
|
+
.subscribe();
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
get value() {
|
|
63
|
+
return this.val;
|
|
64
|
+
}
|
|
65
|
+
set value(value) {
|
|
66
|
+
const _value = this.multiple
|
|
67
|
+
? value !== null && value !== undefined
|
|
68
|
+
? coerceArray(value)
|
|
69
|
+
: value
|
|
70
|
+
: value;
|
|
71
|
+
this.val = (this.multiple) ? [...(_value || [])] : _value || '';
|
|
72
|
+
this.change.emit(this.val);
|
|
73
|
+
if (this.onChange) {
|
|
74
|
+
this.onChange(_value);
|
|
75
|
+
}
|
|
76
|
+
if (this.onTouched) {
|
|
77
|
+
this.onTouched();
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
writeValue(value) {
|
|
81
|
+
this.value = value;
|
|
82
|
+
}
|
|
83
|
+
registerOnChange(fn) {
|
|
84
|
+
this.onChange = fn;
|
|
85
|
+
}
|
|
86
|
+
registerOnTouched(fn) {
|
|
87
|
+
this.onTouched = fn;
|
|
88
|
+
}
|
|
89
|
+
setDisabledState(isDisabled) {
|
|
90
|
+
this.disabled = isDisabled;
|
|
91
|
+
}
|
|
92
|
+
isSelected(value) {
|
|
93
|
+
if (this.multiple) {
|
|
94
|
+
const idx = (this.value || []).findIndex(v => v === value);
|
|
95
|
+
return idx !== -1;
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
// TODO: Clean this up when the directive no longer allows array value type when multiple is false
|
|
99
|
+
const v = Array.isArray(this.value) && this.value.length === 1
|
|
100
|
+
? this.value[0]
|
|
101
|
+
: this.value;
|
|
102
|
+
return v === value;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
unselectValue(value) {
|
|
106
|
+
if (this.multiple) {
|
|
107
|
+
this.value = (this.value || []).filter(v => v !== value);
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
this.value = undefined;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
selectValue(value) {
|
|
114
|
+
if (this.multiple) {
|
|
115
|
+
const _value = [...(this.value || [])];
|
|
116
|
+
this.value = value ? [..._value, value] : _value;
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
this.value = value;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
getOptionDirectiveByValue(value) {
|
|
123
|
+
if (!this.optionDirectives || this.optionDirectives.length < 1) {
|
|
124
|
+
return null;
|
|
125
|
+
}
|
|
126
|
+
return this.optionDirectives.toArray()
|
|
127
|
+
.find(opt => opt.value === value);
|
|
128
|
+
}
|
|
129
|
+
_updateDirectiveStates() {
|
|
130
|
+
if (this.optionDirectives) {
|
|
131
|
+
for (const opt of this.optionDirectives.toArray()) {
|
|
132
|
+
this._updateDirectiveState(opt);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
_updateDirectiveState(opt) {
|
|
137
|
+
const selected = this.isSelected(opt.value);
|
|
138
|
+
if (opt.selected !== selected) {
|
|
139
|
+
if (!opt._canUnselect) {
|
|
140
|
+
opt._canUnselect = true;
|
|
141
|
+
}
|
|
142
|
+
opt.selected = selected;
|
|
143
|
+
}
|
|
144
|
+
if (!this.selectionToggleable) {
|
|
145
|
+
if (!this.multiple || (this.value && this.value.length <= 1)) {
|
|
146
|
+
if (opt.selected) {
|
|
147
|
+
if (opt._canUnselect) {
|
|
148
|
+
opt._canUnselect = false;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
else {
|
|
152
|
+
if (!opt._canUnselect) {
|
|
153
|
+
opt._canUnselect = true;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
if (!opt._canUnselect) {
|
|
159
|
+
opt._canUnselect = true;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
ToggleGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ToggleGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
166
|
+
ToggleGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: ToggleGroupDirective, selector: "[seamToggleGroup]", inputs: { val: ["value", "val"], disabled: "disabled", multiple: "multiple", selectionToggleable: "selectionToggleable" }, outputs: { change: "change" }, providers: [TOGGLE_GROUP_VALUE_ACCESSOR], queries: [{ propertyName: "optionDirectives", predicate: ToggleGroupOptionDirective }], exportAs: ["seamToggleGroup"], ngImport: i0 });
|
|
167
|
+
__decorate([
|
|
168
|
+
InputBoolean()
|
|
169
|
+
], ToggleGroupDirective.prototype, "disabled", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
InputBoolean()
|
|
172
|
+
], ToggleGroupDirective.prototype, "multiple", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
InputBoolean()
|
|
175
|
+
], ToggleGroupDirective.prototype, "selectionToggleable", void 0);
|
|
176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: ToggleGroupDirective, decorators: [{
|
|
177
|
+
type: Directive,
|
|
178
|
+
args: [{
|
|
179
|
+
selector: '[seamToggleGroup]',
|
|
180
|
+
exportAs: 'seamToggleGroup',
|
|
181
|
+
providers: [TOGGLE_GROUP_VALUE_ACCESSOR]
|
|
182
|
+
}]
|
|
183
|
+
}], ctorParameters: function () { return []; }, propDecorators: { val: [{
|
|
184
|
+
type: Input,
|
|
185
|
+
args: ['value']
|
|
186
|
+
}], disabled: [{
|
|
187
|
+
type: Input
|
|
188
|
+
}], multiple: [{
|
|
189
|
+
type: Input
|
|
190
|
+
}], selectionToggleable: [{
|
|
191
|
+
type: Input
|
|
192
|
+
}], change: [{
|
|
193
|
+
type: Output
|
|
194
|
+
}], optionDirectives: [{
|
|
195
|
+
type: ContentChildren,
|
|
196
|
+
args: [ToggleGroupOptionDirective]
|
|
197
|
+
}] } });
|
|
198
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLWdyb3VwLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWNvbW1vbi90b2dnbGUtZ3JvdXAvdG9nZ2xlLWdyb3VwLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFnQixXQUFXLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQTtBQUNqRSxPQUFPLEVBQWlCLGVBQWUsRUFBRSxTQUF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Ll9uZ1Vuc3Vic2NyaWJlKSlcbiAgICAgICAgICAucGlwZShzdGFydFdpdGgodGhpcy5vcHRpb25EaXJlY3RpdmVzKSlcbiAgICAgICAgICAucGlwZShtYXAodiA9PiB2LnRvQXJyYXkoKSBhcyBUb2dnbGVHcm91cE9wdGlvbkRpcmVjdGl2ZVtdKSlcblxuICAgICAgICB0aGlzLm9wdGlvbnMucGlwZShzd2l0Y2hNYXAob3B0cyA9PiB7XG4gICAgICAgICAgY29uc3QgX3RtcCA9IG9mKHVuZGVmaW5lZClcbiAgICAgICAgICBpZiAob3B0cykge1xuICAgICAgICAgICAgY29uc3QgX3Y6IE9ic2VydmFibGU8Ym9vbGVhbj5bXSA9IFtdXG4gICAgICAgICAgICBmb3IgKGNvbnN0IG9wdCBvZiBvcHRzKSB7XG4gICAgICAgICAgICAgIF92LnB1c2gob3B0LnNlbGVjdGlvbkNoYW5nZS5waXBlKFxuICAgICAgICAgICAgICAgIGZpbHRlcih2ID0+IG9wdC5zZWxlY3RlZCAhPT0gdGhpcy5pc1NlbGVjdGVkKG9wdC52YWx1ZSkpLFxuICAgICAgICAgICAgICAgIHRhcCh2ID0+IHtcbiAgICAgICAgICAgICAgICAgIGlmICh0aGlzLmlzU2VsZWN0ZWQob3B0LnZhbHVlKSkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLnVuc2VsZWN0VmFsdWUob3B0LnZhbHVlKVxuICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5zZWxlY3RWYWx1ZShvcHQudmFsdWUpXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgKSlcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiBjb21iaW5lTGF0ZXN0KF92KVxuICAgICAgICAgIH1cbiAgICAgICAgICByZXR1cm4gX3RtcFxuICAgICAgICB9KSkuc3Vic2NyaWJlKClcbiAgICAgIH1cblxuIC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29uc3Qgc2VsZWN0ZWQgPSB0aGlzLmlzU2VsZWN0ZWQob3B0LnZhbHVlKVxuICAgIGlmIChvcHQuc2VsZWN0ZWQgIT09IHNlbGVjdGVkKSB7XG4gICAgICBpZiAoIW9wdC5fY2FuVW5zZWxlY3QpIHtcbiAgICAgICAgb3B0Ll9jYW5VbnNlbGVjdCA9IHRydWVcbiAgICAgIH1cbiAgICAgIG9wdC5zZWxlY3RlZCA9IHNlbGVjdGVkXG4gICAgfVxuICAgIGlmICghdGhpcy5zZWxlY3Rpb25Ub2dnbGVhYmxlKSB7XG4gICAgICBpZiAoIXRoaXMubXVsdGlwbGUgfHwgKHRoaXMudmFsdWUgJiYgdGhpcy52YWx1ZS5sZW5ndGggPD0gMSkpIHtcbiAgICAgICAgaWYgKG9wdC5zZWxlY3RlZCkge1xuICAgICAgICAgIGlmIChvcHQuX2NhblVuc2VsZWN0KSB7XG4gICAgICAgICAgICBvcHQuX2NhblVuc2VsZWN0ID0gZmFsc2VcbiAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgaWYgKCFvcHQuX2NhblVuc2VsZWN0KSB7XG4gICAgICAgICAgICBvcHQuX2NhblVuc2VsZWN0ID0gdHJ1ZVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfSBlbHNlIHtcbiAgICAgICAgaWYgKCFvcHQuX2NhblVuc2VsZWN0KSB7XG4gICAgICAgICAgb3B0Ll9jYW5VbnNlbGVjdCA9IHRydWVcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG59XG4iXX0=
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
4
|
+
import { ToggleGroupOptionDirective } from './toggle-group-option.directive';
|
|
5
|
+
import { ToggleGroupDirective } from './toggle-group.directive';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class TheSeamToggleGroupModule {
|
|
8
|
+
}
|
|
9
|
+
TheSeamToggleGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamToggleGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
TheSeamToggleGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: TheSeamToggleGroupModule, declarations: [ToggleGroupDirective,
|
|
11
|
+
ToggleGroupOptionDirective], imports: [CommonModule,
|
|
12
|
+
ReactiveFormsModule], exports: [ToggleGroupDirective,
|
|
13
|
+
ToggleGroupOptionDirective] });
|
|
14
|
+
TheSeamToggleGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamToggleGroupModule, imports: [CommonModule,
|
|
15
|
+
ReactiveFormsModule] });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamToggleGroupModule, decorators: [{
|
|
17
|
+
type: NgModule,
|
|
18
|
+
args: [{
|
|
19
|
+
declarations: [
|
|
20
|
+
ToggleGroupDirective,
|
|
21
|
+
ToggleGroupOptionDirective
|
|
22
|
+
],
|
|
23
|
+
imports: [
|
|
24
|
+
CommonModule,
|
|
25
|
+
ReactiveFormsModule
|
|
26
|
+
],
|
|
27
|
+
exports: [
|
|
28
|
+
ToggleGroupDirective,
|
|
29
|
+
ToggleGroupOptionDirective
|
|
30
|
+
]
|
|
31
|
+
}]
|
|
32
|
+
}] });
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLWdyb3VwLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWNvbW1vbi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5ndWxhci9mb3JtcydcblxuaW1wb3J0IHsgVG9nZ2xlR3JvdXBPcHRpb25EaXJlY3RpdmUgfSBmcm9tICcuL3RvZ2dsZS1ncm91cC1vcHRpb24uZGlyZWN0aXZlJ1xuaW1wb3J0IHsgVG9nZ2xlR3JvdXBEaXJlY3RpdmUgfSBmcm9tICcuL3RvZ2dsZS1ncm91cC5kaXJlY3RpdmUnXG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIFRvZ2dsZUdyb3VwRGlyZWN0aXZlLFxuICAgIFRvZ2dsZUdyb3VwT3B0aW9uRGlyZWN0aXZlXG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgUmVhY3RpdmVGb3Jtc01vZHVsZVxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgVG9nZ2xlR3JvdXBEaXJlY3RpdmUsXG4gICAgVG9nZ2xlR3JvdXBPcHRpb25EaXJlY3RpdmVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBUaGVTZWFtVG9nZ2xlR3JvdXBNb2R1bGUgeyB9XG4iXX0=
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Directive, HostListener, isDevMode } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
// tslint:disable-next-line: directive-class-suffix
|
|
4
|
+
export class UnsavedChangesCanDeactivate {
|
|
5
|
+
__unloadNotification($event) {
|
|
6
|
+
if (isDevMode()) {
|
|
7
|
+
if (!this.unsavedChangesCanDeactivate) {
|
|
8
|
+
console.warn('Route Component with [UnsavedChangesDialogGuard] guard must extend [UnsavedChangesCanDeactivate] class.');
|
|
9
|
+
}
|
|
10
|
+
const w = window;
|
|
11
|
+
// Avoid redirect prevention in Storybook
|
|
12
|
+
if (w && w.__STORYBOOK_CLIENT_API__) {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
if (!this.unsavedChangesCanDeactivate()) {
|
|
17
|
+
// $event.returnValue = true
|
|
18
|
+
$event.returnValue = 'You have unsaved changes! If you leave, your changes will be lost.';
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
UnsavedChangesCanDeactivate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: UnsavedChangesCanDeactivate, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
UnsavedChangesCanDeactivate.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: UnsavedChangesCanDeactivate, host: { listeners: { "window:beforeunload": "__unloadNotification($event)" } }, ngImport: i0 });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: UnsavedChangesCanDeactivate, decorators: [{
|
|
25
|
+
type: Directive
|
|
26
|
+
}], propDecorators: { __unloadNotification: [{
|
|
27
|
+
type: HostListener,
|
|
28
|
+
args: ['window:beforeunload', ['$event']]
|
|
29
|
+
}] } });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5zYXZlZC1jaGFuZ2VzLWNhbi1kZWFjdGl2YXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktY29tbW9uL3Vuc2F2ZWQtY2hhbmdlcy1kaWFsb2cvdW5zYXZlZC1jaGFuZ2VzLWNhbi1kZWFjdGl2YXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQTs7QUFHbEUsbURBQW1EO0FBQ25ELE1BQU0sT0FBZ0IsMkJBQTJCO0lBSzdDLG9CQUFvQixDQUFDLE1BQVc7UUFDOUIsSUFBSSxTQ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BhbnkpIHtcbiAgICAgIGlmIChpc0Rldk1vZGUoKSkge1xuICAgICAgICBpZiAoIXRoaXMudW5zYXZlZENoYW5nZXNDYW5EZWFjdGl2YXRlKSB7XG4gICAgICAgICAgY29uc29sZS53YXJuKCdSb3V0ZSBDb21wb25lbnQgd2l0aCBbVW5zYXZlZENoYW5nZXNEaWFsb2dHdWFyZF0gZ3VhcmQgbXVzdCBleHRlbmQgW1Vuc2F2ZWRDaGFuZ2VzQ2FuRGVhY3RpdmF0ZV0gY2xhc3MuJylcbiAgICAgICAgfVxuXG4gICAgICAgIGNvbnN0IHcgPSB3aW5kb3cgYXMgYW55XG4gICAgICAgIC8vIEF2b2lkIHJlZGlyZWN0IHByZXZlbnRpb24gaW4gU3Rvcnlib29rXG4gICAgICAgIGlmICh3ICYmIHcuX19TVE9SWUJPT0tfQ0xJRU5UX0FQSV9fKSB7XG4gICAgICAgICAgcmV0dXJuIHRydWVcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICBpZiAoIXRoaXMudW5zYXZlZENoYW5nZXNDYW5EZWFjdGl2YXRlKCkpIHtcbiAgICAgICAgLy8gJGV2ZW50LnJldHVyblZhbHVlID0gdHJ1ZVxuICAgICAgICAkZXZlbnQucmV0dXJuVmFsdWUgPSAnWW91IGhhdmUgdW5zYXZlZCBjaGFuZ2VzISBJZiB5b3UgbGVhdmUsIHlvdXIgY2hhbmdlcyB3aWxsIGJlIGxvc3QuJ1xuICAgICAgfVxuICAgIH1cblxufVxuIl19
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
// TODO: Decide if this component should be implemented or just use the native
|
|
4
|
+
// browser dialog for in-app routing also.
|
|
5
|
+
export class UnsavedChangesDialogComponent {
|
|
6
|
+
constructor() { }
|
|
7
|
+
ngOnInit() {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
UnsavedChangesDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: UnsavedChangesDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
UnsavedChangesDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.3", type: UnsavedChangesDialogComponent, selector: "seam-unsaved-changes-dialog", ngImport: i0, template: `
|
|
12
|
+
<p>
|
|
13
|
+
unsaved-changes-dialog works!
|
|
14
|
+
</p>
|
|
15
|
+
`, isInline: true });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: UnsavedChangesDialogComponent, decorators: [{
|
|
17
|
+
type: Component,
|
|
18
|
+
args: [{ selector: 'seam-unsaved-changes-dialog', template: `
|
|
19
|
+
<p>
|
|
20
|
+
unsaved-changes-dialog works!
|
|
21
|
+
</p>
|
|
22
|
+
` }]
|
|
23
|
+
}], ctorParameters: function () { return []; } });
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5zYXZlZC1jaGFuZ2VzLWRpYWxvZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1jb21tb24vdW5zYXZlZC1jaGFuZ2VzLWRpYWxvZy91bnNhdmVkLWNoYW5nZXMtZGlhbG9nLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFBOztBQUVqRCw4RUFBOEU7QUFDOUUsMkNBQTJDO0FBVzNDLE1BQU0sT0FBTyw2QkFBNkI7SUFFeEMsZ0JBQWdCLENBQUM7SUFFakIsUUFBUTtJQUNSLENBQUM7OzBIQUxVLDZCQUE2Qjs4R0FBN0IsNkJBQTZCLG1FQVA5Qjs7OztHQUlUOzJGQUdVLDZCQUE2QjtrQkFUekMsU0FBUzsrQkFDRSw2QkFBNkIsWUFDN0I7Ozs7R0FJVCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSdcblxuLy8gVE9ETzogRGVjaWRlIGlmIHRoaXMgY29tcG9uZW50IHNob3VsZCBiZSBpbXBsZW1lbnRlZCBvciBqdXN0IHVzZSB0aGUgbmF0aXZlXG4vLyAgYnJvd3NlciBkaWFsb2cgZm9yIGluLWFwcCByb3V0aW5nIGFsc28uXG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ3NlYW0tdW5zYXZlZC1jaGFuZ2VzLWRpYWxvZycsXG4gIHRlbXBsYXRlOiBgXG4gICAgPHA+XG4gICAgICB1bnNhdmVkLWNoYW5nZXMtZGlhbG9nIHdvcmtzIVxuICAgIDwvcD5cbiAgYCxcbiAgc3R5bGVzOiBbXVxufSlcbmV4cG9ydCBjbGFzcyBVbnNhdmVkQ2hhbmdlc0RpYWxvZ0NvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG5cbiAgY29uc3RydWN0b3IoKSB7IH1cblxuICBuZ09uSW5pdCgpIHtcbiAgfVxuXG59XG4iXX0=
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Injectable, isDevMode } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class UnsavedChangesDialogGuard {
|
|
4
|
+
/**
|
|
5
|
+
* NOTE: Must be synchronous for now to allow `window:beforeunload` event support.
|
|
6
|
+
*/
|
|
7
|
+
canDeactivate(component) {
|
|
8
|
+
if (isDevMode()) {
|
|
9
|
+
if (!component.unsavedChangesCanDeactivate) {
|
|
10
|
+
console.warn('Route Component with [UnsavedChangesDialogGuard] guard must extend [UnsavedChangesCanDeactivate] class.');
|
|
11
|
+
}
|
|
12
|
+
const w = window;
|
|
13
|
+
// Avoid redirect prevention in Storybook
|
|
14
|
+
if (w && w.__STORYBOOK_CLIENT_API__) {
|
|
15
|
+
return true;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
if (!component.unsavedChangesCanDeactivate()) {
|
|
19
|
+
if (confirm('You have unsaved changes! If you leave, your changes will be lost.')) {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
return false;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
UnsavedChangesDialogGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: UnsavedChangesDialogGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
30
|
+
UnsavedChangesDialogGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: UnsavedChangesDialogGuard, providedIn: 'root' });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: UnsavedChangesDialogGuard, decorators: [{
|
|
32
|
+
type: Injectable,
|
|
33
|
+
args: [{
|
|
34
|
+
providedIn: 'root'
|
|
35
|
+
}]
|
|
36
|
+
}] });
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5zYXZlZC1jaGFuZ2VzLWRpYWxvZy5ndWFyZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWNvbW1vbi91bnNhdmVkLWNoYW5nZXMtZGlhbG9nL3Vuc2F2ZWQtY2hhbmdlcy1kaWFsb2cuZ3VhcmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUE7O0FBU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JlIGxvc3QuJykpIHtcbiAgICAgICAgcmV0dXJuIHRydWVcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHJldHVybiBmYWxzZVxuICAgICAgfVxuICAgIH1cbiAgICByZXR1cm4gdHJ1ZVxuICB9XG5cbn1cbiJdfQ==
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { UnsavedChangesDialogComponent } from './unsaved-changes-dialog.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class TheSeamUnsavedChangesDialogModule {
|
|
5
|
+
}
|
|
6
|
+
TheSeamUnsavedChangesDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamUnsavedChangesDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TheSeamUnsavedChangesDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.3", ngImport: i0, type: TheSeamUnsavedChangesDialogModule, declarations: [UnsavedChangesDialogComponent], exports: [UnsavedChangesDialogComponent] });
|
|
8
|
+
TheSeamUnsavedChangesDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamUnsavedChangesDialogModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TheSeamUnsavedChangesDialogModule, decorators: [{
|
|
10
|
+
type: NgModule,
|
|
11
|
+
args: [{
|
|
12
|
+
declarations: [UnsavedChangesDialogComponent],
|
|
13
|
+
imports: [],
|
|
14
|
+
exports: [UnsavedChangesDialogComponent]
|
|
15
|
+
}]
|
|
16
|
+
}] });
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5zYXZlZC1jaGFuZ2VzLWRpYWxvZy5tb2R1bGUuanMiLCJzb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|
|
|
1
|
+
import fileType from '@marklb/file-type';
|
|
2
|
+
// import { Buffer } from 'buffer/'
|
|
3
|
+
const Buffer = require('buffer/').Buffer;
|
|
4
|
+
export function readFileAsync(file) {
|
|
5
|
+
return new Promise((resolve, reject) => {
|
|
6
|
+
const reader = new FileReader();
|
|
7
|
+
reader.onload = () => {
|
|
8
|
+
resolve(reader.result);
|
|
9
|
+
};
|
|
10
|
+
reader.readAsArrayBuffer(file);
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
export async function readFileAsDataUrlAsync(file) {
|
|
14
|
+
return new Promise((resolve, reject) => {
|
|
15
|
+
const reader = new FileReader();
|
|
16
|
+
reader.onload = () => {
|
|
17
|
+
resolve(reader.result);
|
|
18
|
+
};
|
|
19
|
+
reader.readAsDataURL(file);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function fileBufferToBlob(fileBuffer, defaultMime = 'application/octet-stream') {
|
|
23
|
+
const fType = fileType(fileBuffer);
|
|
24
|
+
const mime = (fType) ? fType.mime : defaultMime;
|
|
25
|
+
const blob = new Blob([fileBuffer], { type: mime });
|
|
26
|
+
return blob;
|
|
27
|
+
}
|
|
28
|
+
export async function fileBufferToObjectUrl(fileBuffer, defaultMime = 'application/octet-stream') {
|
|
29
|
+
const file = await fileBufferToBlob(fileBuffer, defaultMime);
|
|
30
|
+
const fileURL = URL.createObjectURL(file);
|
|
31
|
+
return fileURL;
|
|
32
|
+
}
|
|
33
|
+
export async function fileDataFromBuffer(fileBuffer, defaultMime = 'application/octet-stream') {
|
|
34
|
+
const _fileBuffer = Buffer.from(fileBuffer);
|
|
35
|
+
const fType = fileType(_fileBuffer);
|
|
36
|
+
const ext = fType && fType.ext || undefined;
|
|
37
|
+
const mime = fType ? fType.mime : defaultMime;
|
|
38
|
+
const blob = new Blob([_fileBuffer], { type: mime });
|
|
39
|
+
const fileData = { ext, mime, blob };
|
|
40
|
+
return fileData;
|
|
41
|
+
}
|
|
42
|
+
export function openBlob(blob, target, filename) {
|
|
43
|
+
const url = URL.createObjectURL(blob);
|
|
44
|
+
const win = window.open(url, target);
|
|
45
|
+
// TODO: Consider if always setting opener to null is to restrictive
|
|
46
|
+
// if (win && target && target.toLowerCase() === '_blank') {
|
|
47
|
+
// win.opener = null
|
|
48
|
+
// }
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWNvbW1vbi91dGlscy9maWxlLXV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sUUFBUSxNQUFNLG1CQUFtQixDQUFBO0FBQ3hDLG1DQUFtQztBQUNuQyxNQUFNLE1BQU0sR0FBRyxPQUFPLENBQUMsU0FBUyxDQUFDLENBQUMsTUFBTSxDQUFBO0FBRXhDLE1BQU0sVUFBVSxhQUFhLENBQUMsSUFBUztJQUNyQyxPQUFPLElBQUksT0FBTyxDQUFxQixDQUFDLE9BQU8sRUFBRSxNQUFNLEVBQUUsRUFBRTtRQUN6RCxNQUFNLE1BQU0sR0FBRyxJQUFJLFVBQVUsRUFBRSxDQUFBO1FBQy9CLE1BQU0sQ0FBQyxNQUFNLEdBQUcsR0FBRyxFQUFFO1lBQ25CLE9BQU8sQ0FBQyxNQUFNLENBQUMsTUFBNEIsQ0FBQyxDQUFBO1FBQzlDLENBQUMsQ0FBQTtRQUNELE1BQU0sQ0FBQyxpQkFBaUIsQ0FBQyxJQUFJLENBQUMsQ0FBQTtJQUNoQyxDQUFDLENBQUMsQ0FBQTtBQUNKLENBQUM7QUFFRCxNQUFNLENBQUMsS0FBSyxVQUFVLHNCQUFzQixDQUFDLElBQVU7SUFDckQsT0FBTyxJQUFJLE9BQU8sQ0FBZ0IsQ0FBQyxPQUFPLEVBQUUsTUFBTSxFQUFF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HlwZSAmJiBmVHlwZS5leHQgfHwgdW5kZWZpbmVkXG4gIGNvbnN0IG1pbWUgPSBmVHlwZSA/IGZUeXBlLm1pbWUgOiBkZWZhdWx0TWltZVxuICBjb25zdCBibG9iID0gbmV3IEJsb2IoW19maWxlQnVmZmVyIGFzIGFueV0sIHsgdHlwZTogbWltZSB9KVxuICBjb25zdCBmaWxlRGF0YTogSUZpbGVEYXRhID0geyBleHQsIG1pbWUsIGJsb2IgfVxuICByZXR1cm4gZmlsZURhdGFcbn1cblxuZXhwb3J0IGZ1bmN0aW9uIG9wZW5CbG9iKGJsb2I6IEJsb2IsIHRhcmdldD86IHN0cmluZywgZmlsZW5hbWU/OiBzdHJpbmcpIHtcbiAgY29uc3QgdXJsID0gVVJMLmNyZWF0ZU9iamVjdFVSTChibG9iKVxuICBjb25zdCB3aW4gPSB3aW5kb3cub3Blbih1cmwsIHRhcmdldClcbiAgLy8gVE9ETzogQ29uc2lkZXIgaWYgYWx3YXlzIHNldHRpbmcgb3BlbmVyIHRvIG51bGwgaXMgdG8gcmVzdHJpY3RpdmVcbiAgLy8gaWYgKHdpbiAmJiB0YXJnZXQgJiYgdGFyZ2V0LnRvTG93ZXJDYXNlKCkgPT09ICdfYmxhbmsnKSB7XG4gIC8vICAgd2luLm9wZW5lciA9IG51bGxcbiAgLy8gfVxufVxuIl19
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// TODO: Make this more thorough and maybe error on unrecognized.
|
|
2
|
+
export function coerceFeatureCollection(value) {
|
|
3
|
+
return parseValue(value);
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Parses the value to a FeatureCollection object or null if it is not a
|
|
7
|
+
* FeatureCollection.
|
|
8
|
+
*/
|
|
9
|
+
function parseValue(value) {
|
|
10
|
+
const _value = parseStringValue(value);
|
|
11
|
+
if (isFeatureCollectionValue(_value)) {
|
|
12
|
+
return _value;
|
|
13
|
+
}
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Tries to parse the value to an object, in case the value is a stringified
|
|
18
|
+
* json.
|
|
19
|
+
*/
|
|
20
|
+
function parseStringValue(value) {
|
|
21
|
+
if (typeof value === 'string') {
|
|
22
|
+
try {
|
|
23
|
+
return JSON.parse(value);
|
|
24
|
+
}
|
|
25
|
+
catch {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return value;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Checks if the value is a FeatureCollection.
|
|
33
|
+
*
|
|
34
|
+
* NOTE: This is not a thorough FeatureCollection check. It only checks that the
|
|
35
|
+
* value is an object resembling a GeoJSON.FeatureCollection, enough for the
|
|
36
|
+
* validator.
|
|
37
|
+
*/
|
|
38
|
+
function isFeatureCollectionValue(value) {
|
|
39
|
+
if (value === undefined || value === null) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
return value.type === 'FeatureCollection' && Array.isArray(value.features);
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29lcmNlLWZlYXR1cmUtY29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWNvbW1vbi91dGlscy9nZW8tanNvbi9jb2VyY2UtZmVhdHVyZS1jb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLGlFQUFpRTtBQUNqRSxNQUFNLFVBQVUsdUJBQXVCLENBQUMsS0FBVTtJQUNoRCxPQUFPLFVBQVUsQ0FBQyxLQUFLLENBQUMsQ0FBQTtBQUMxQixDQUFDO0FBRUQ7OztHQUdHO0FBQ0gsU0FBUyxVQUFVLENBQUMsS0FBVTtJQUM1QixNQUFNLE1BQU0sR0FBRyxnQkFBZ0IsQ0FBQyxLQUFLLENBQUMsQ0FBQTtJQU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luZyBhIEdlb0pTT04uRmVhdHVyZUNvbGxlY3Rpb24sIGVub3VnaCBmb3IgdGhlXHJcbiAqIHZhbGlkYXRvci5cclxuICovXHJcbmZ1bmN0aW9uIGlzRmVhdHVyZUNvbGxlY3Rpb25WYWx1ZSh2YWx1ZTogYW55KTogdmFsdWUgaXMgRmVhdHVyZUNvbGxlY3Rpb24ge1xyXG4gIGlmICh2YWx1ZSA9PT0gdW5kZWZpbmVkIHx8IHZhbHVlID09PSBudWxsKSB7XHJcbiAgICByZXR1cm4gZmFsc2VcclxuICB9XHJcbiAgcmV0dXJuIHZhbHVlLnR5cGUgPT09ICdGZWF0dXJlQ29sbGVjdGlvbicgJiYgQXJyYXkuaXNBcnJheSh2YWx1ZS5mZWF0dXJlcylcclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import area from '@turf/area';
|
|
2
|
+
import { convertArea } from '@turf/helpers';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
export function geoJsonToArea(geoJson, units = 'acres') {
|
|
7
|
+
const area_mSqr = area(geoJson);
|
|
8
|
+
const acres = convertArea(area_mSqr, 'meters', units);
|
|
9
|
+
return acres;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VvLWpzb24tdG8tYXJlYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWNvbW1vbi91dGlscy9nZW8tanNvbi9nZW8tanNvbi10by1hcmVhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sSUFBSSxNQUFNLFlBQVksQ0FBQTtBQUM3QixPQUFPLEVBQUUsV0FBVyxFQUEyRCxNQUFNLGVBQWUsQ0FBQTtBQUdwRzs7R0FFRztBQUNILE1BQU0sVUFBVSxhQUFhLENBQzNCLE9BQTJGLEVBQzNGLFFBQWUsT0FBTztJQUV0QixNQUFNLFNBQVMsR0FBRyxJQUFJLENBQUMsT0FBYyxDQUFDLENBQUE7SUFDdEMsTUFBTSxLQUFLLEdBQUcsV0FBVyxDQUFDLFNBQVMsRUFBRSxRQUFRLEVBQUUsS0FBSyxDQUFDLENBQUE7SUFDckQsT0FBTyxLQUFLLENBQUE7QUFDZCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGFyZWEgZnJvbSAnQHR1cmYvYXJlYSdcclxuaW1wb3J0IHsgY29udmVydEFyZWEsIEZlYXR1cmUsIEZlYXR1cmVDb2xsZWN0aW9uLCBHZW9tZXRyeSwgUHJvcGVydGllcywgVW5pdHMgfSBmcm9tICdAdHVyZi9oZWxwZXJzJ1xyXG5pbXBvcnQgeyBHZW9KU09OIH0gZnJvbSAnZ2VvanNvbidcclxuXHJcbi8qKlxyXG4gKlxyXG4gKi9cclxuZXhwb3J0IGZ1bmN0aW9uIGdlb0pzb25Ub0FyZWEoXHJcbiAgZ2VvSnNvbjogR2VvSlNPTiB8IEZlYXR1cmU8YW55LCBQcm9wZXJ0aWVzPiB8IEZlYXR1cmVDb2xsZWN0aW9uPGFueSwgUHJvcGVydGllcz4gfCBHZW9tZXRyeSxcclxuICB1bml0czogVW5pdHMgPSAnYWNyZXMnXHJcbik6IG51bWJlciB7XHJcbiAgY29uc3QgYXJlYV9tU3FyID0gYXJlYShnZW9Kc29uIGFzIGFueSlcclxuICBjb25zdCBhY3JlcyA9IGNvbnZlcnRBcmVhKGFyZWFfbVNxciwgJ21ldGVycycsIHVuaXRzKVxyXG4gIHJldHVybiBhY3Jlc1xyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { isEmptyInputValue } from '../form/is-empty-input-value';
|
|
2
|
+
import { coerceFeatureCollection } from './coerce-feature-collection';
|
|
3
|
+
export const IS_FEATURE_COLLECTION_VALIDATOR_NAME = 'is-feature-collection';
|
|
4
|
+
export function isFeatureCollectionValidator() {
|
|
5
|
+
return (control) => {
|
|
6
|
+
// Don't need to validate if there isn't a value. Use `Validators.required` for that.
|
|
7
|
+
if (isEmptyInputValue(control.value)) {
|
|
8
|
+
return null; // don't validate empty values to allow optional controls
|
|
9
|
+
}
|
|
10
|
+
const value = coerceFeatureCollection(control.value);
|
|
11
|
+
if (value === null) {
|
|
12
|
+
return {
|
|
13
|
+
[IS_FEATURE_COLLECTION_VALIDATOR_NAME]: {
|
|
14
|
+
reason: `Must be a FeatureCollection.`,
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
return null;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtZmVhdHVyZS1jb2xsZWN0aW9uLnZhbGlkYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWNvbW1vbi91dGlscy9nZW8tanNvbi9pcy1mZWF0dXJlLWNvbGxlY3Rpb24udmFsaWRhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLDhCQUE4QixDQUFBO0FBQ2hFLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDZCQUE2QixDQUFBO0FBRXJFLE1BQU0sQ0FBQyxNQUFNLG9DQUFvQyxHQUFHLHVCQUF1QixDQUFBO0FBRTNFLE1BQU0sVUFBVSw0QkFBNEI7SUFDMUMsT0FBTyxDQUFDLE9BQXdCLEVBQUUsRUFBRTtRQUNsQyxxRkFBcUY7UUFDckYsSUFBSSxpQkFBaUIsQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLEVBQUU7WUFDcEMsT0FBTyxJQUFJLENBQUEsQ0FBQyx5REFBeUQ7U0FDdEU7UUF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ybiBudWxsIC8vIGRvbid0IHZhbGlkYXRlIGVtcHR5IHZhbHVlcyB0byBhbGxvdyBvcHRpb25hbCBjb250cm9sc1xyXG4gICAgfVxyXG5cclxuICAgIGNvbnN0IHZhbHVlID0gY29lcmNlRmVhdHVyZUNvbGxlY3Rpb24oY29udHJvbC52YWx1ZSlcclxuXHJcbiAgICBpZiAodmFsdWUgPT09IG51bGwpIHtcclxuICAgICAgcmV0dXJuIHtcclxuICAgICAgICBbSVNfRkVBVFVSRV9DT0xMRUNUSU9OX1ZBTElEQVRPUl9OQU1FXToge1xyXG4gICAgICAgICAgcmVhc29uOiBgTXVzdCBiZSBhIEZlYXR1cmVDb2xsZWN0aW9uLmAsXHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgcmV0dXJuIG51bGxcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns true if the GeoJSON is only specifies geometries.
|
|
3
|
+
*/
|
|
4
|
+
export function isOnlyGeometryTypes(featureCollection, types) {
|
|
5
|
+
if (types.length === 0) {
|
|
6
|
+
if (featureCollection.features.length > 0) {
|
|
7
|
+
// If no types are specified then there can't be any specified types found.
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
// If no types are specified and there are no features then there is
|
|
12
|
+
// nothing to say a specified type isn't found.
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
for (const f of featureCollection.features) {
|
|
17
|
+
if (types.indexOf(f.geometry.type) === -1) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtb25seS1nZW9tZXRyeS10eXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4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cnlbJ3R5cGUnXVtdKTogYm9vbGVhbiB7XHJcbiAgaWYgKHR5cGVzLmxlbmd0aCA9PT0gMCkge1xyXG4gICAgaWYgKGZlYXR1cmVDb2xsZWN0aW9uLmZlYXR1cmVzLmxlbmd0aCA+IDApIHtcclxuICAgICAgLy8gSWYgbm8gdHlwZXMgYXJlIHNwZWNpZmllZCB0aGVuIHRoZXJlIGNhbid0IGJlIGFueSBzcGVjaWZpZWQgdHlwZXMgZm91bmQuXHJcbiAgICAgIHJldHVybiBmYWxzZVxyXG4gICAgfSBlbHNlIHtcclxuICAgICAgLy8gSWYgbm8gdHlwZXMgYXJlIHNwZWNpZmllZCBhbmQgdGhlcmUgYXJlIG5vIGZlYXR1cmVzIHRoZW4gdGhlcmUgaXNcclxuICAgICAgLy8gbm90aGluZyB0byBzYXkgYSBzcGVjaWZpZWQgdHlwZSBpc24ndCBmb3VuZC5cclxuICAgICAgcmV0dXJuIHRydWVcclxuICAgIH1cclxuICB9XHJcblxyXG4gIGZvciAoY29uc3QgZiBvZiBmZWF0dXJlQ29sbGVjdGlvbi5mZWF0dXJlcykge1xyXG4gICAgaWYgKHR5cGVzLmluZGV4T2YoZi5nZW9tZXRyeS50eXBlKSA9PT0gLTEpIHtcclxuICAgICAgcmV0dXJuIGZhbHNlXHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICByZXR1cm4gdHJ1ZVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { isEmptyInputValue } from '../form/is-empty-input-value';
|
|
2
|
+
import { coerceFeatureCollection } from './coerce-feature-collection';
|
|
3
|
+
import { isOnlyGeometryTypes } from './is-only-geometry-types';
|
|
4
|
+
export const IS_ONLY_GEOMETRY_TYPES_VALIDATOR_NAME = 'is-only-geometry-types';
|
|
5
|
+
export function isOnlyGeometryTypesValidator(types) {
|
|
6
|
+
return (control) => {
|
|
7
|
+
// Don't need to validate if there isn't a value. Use `Validators.required` for that.
|
|
8
|
+
if (isEmptyInputValue(control.value)) {
|
|
9
|
+
return null; // don't validate empty values to allow optional controls
|
|
10
|
+
}
|
|
11
|
+
const value = coerceFeatureCollection(control.value);
|
|
12
|
+
if (value === null) {
|
|
13
|
+
// If there isn't a FeatureCollection then there is nothing to validate.
|
|
14
|
+
// Use 'isFeatureCollection' to validate the value is a FeatureCollection.
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
17
|
+
if (!isOnlyGeometryTypes(value, types)) {
|
|
18
|
+
const typesNotAllowed = value.features
|
|
19
|
+
.map(f => f.geometry.type)
|
|
20
|
+
.filter(t => types.indexOf(t) === -1);
|
|
21
|
+
const distinctTypesNotAllowed = Array.from(new Set(typesNotAllowed));
|
|
22
|
+
return {
|
|
23
|
+
[IS_ONLY_GEOMETRY_TYPES_VALIDATOR_NAME]: {
|
|
24
|
+
reason: `Only geometry type${(types.length === 1 ? '' : 's')} ${types.join(', ')} allowed.`,
|
|
25
|
+
notAllowedGeometryTypesFound: distinctTypesNotAllowed,
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
return null;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtb25seS1nZW9tZXRyeS10eXBlcy52YWxpZGF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1jb21tb24vdXRpbHMvZ2VvLWpzb24vaXMtb25seS1nZW9tZXRyeS10eXBlcy52YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sOEJBQThCLENBQUE7QUFDaEUsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sNkJBQTZCLENBQUE7QUFDckUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sMEJBQTBCLENB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