@theseam/ui-common 0.3.10 → 0.4.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/asset-reader/asset-reader-helper.service.d.ts +3 -0
- package/asset-reader/asset-reader.module.d.ts +5 -0
- package/asset-reader/encrypted-asset-link.directive.d.ts +3 -0
- package/asset-reader/index.d.ts +5 -0
- package/breadcrumbs/_breadcrumbs-theme.scss +3 -3
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.d.ts +3 -0
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.scss +10 -10
- package/breadcrumbs/breadcrumbs.module.d.ts +7 -0
- package/breadcrumbs/breadcrumbs.service.d.ts +3 -0
- package/breadcrumbs/index.d.ts +5 -0
- package/buttons/badge-button/badge-button.component.d.ts +5 -0
- package/buttons/button/button.component.d.ts +7 -0
- package/buttons/buttons.module.d.ts +10 -0
- package/buttons/index.d.ts +5 -0
- package/buttons/progress-circle-button/progress-circle-button.component.d.ts +3 -0
- package/buttons/toggle-button/toggle-button.component.d.ts +3 -0
- package/card/card-action/card-action.component.d.ts +3 -0
- package/card/card-body/card-body.component.d.ts +3 -0
- package/card/card-footer/card-footer.component.d.ts +3 -0
- package/card/card-header/card-header.component.d.ts +3 -0
- package/card/card.component.d.ts +3 -0
- package/card/card.module.d.ts +11 -0
- package/card/index.d.ts +5 -0
- package/checkbox/checkbox.component.d.ts +3 -0
- package/checkbox/checkbox.module.d.ts +7 -0
- package/checkbox/index.d.ts +5 -0
- package/checkbox/public-api.d.ts +1 -0
- package/checkbox/testing/checkbox.harness.d.ts +49 -0
- package/checkbox/testing/index.d.ts +1 -0
- package/confirm-dialog/confirm-click.directive.d.ts +3 -0
- package/confirm-dialog/confirm-dialog.component.d.ts +3 -0
- package/confirm-dialog/confirm-dialog.module.d.ts +10 -0
- package/confirm-dialog/confirm-dialog.service.d.ts +3 -0
- package/confirm-dialog/index.d.ts +5 -0
- package/core/index.d.ts +5 -0
- package/core/input-decorators/input-boolean.decorator.d.ts +1 -1
- package/core/input-decorators/input-number.decorator.d.ts +1 -1
- package/data-exporter/data-exporter.module.d.ts +4 -0
- package/data-exporter/exporters/csv-exporter.d.ts +3 -0
- package/data-exporter/exporters/xlsx-exporter.d.ts +3 -0
- package/data-exporter/index.d.ts +5 -0
- package/data-filters/data-filters.module.d.ts +13 -0
- package/data-filters/filters/data-filter-search/data-filter-search.component.d.ts +6 -3
- package/data-filters/filters/data-filter-text/data-filter-text.component.d.ts +5 -2
- package/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.d.ts +5 -2
- package/data-filters/index.d.ts +5 -0
- package/datatable/datatable/datatable.component.d.ts +3 -0
- package/datatable/datatable-action-menu/datatable-action-menu.component.d.ts +3 -0
- package/datatable/datatable-action-menu-item/datatable-action-menu-item.component.d.ts +3 -0
- package/datatable/datatable-column/datatable-column.component.d.ts +3 -0
- package/datatable/datatable-column-preferences/datatable-column-preferences.component.d.ts +5 -2
- package/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.d.ts +3 -0
- package/datatable/datatable-export-button/datatable-export-button.component.d.ts +3 -0
- package/datatable/datatable-footer/datatable-footer-tpl.directive.d.ts +3 -0
- package/datatable/datatable-footer/datatable-footer.directive.d.ts +3 -0
- package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.d.ts +3 -0
- package/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.d.ts +3 -0
- package/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.d.ts +3 -0
- package/datatable/datatable-row-detail/datatable-row-detail.directive.d.ts +3 -0
- package/datatable/datatable.module.d.ts +45 -0
- package/datatable/directives/datatable-action-menu-item.directive.d.ts +3 -0
- package/datatable/directives/datatable-action-menu-toggle.directive.d.ts +3 -0
- package/datatable/directives/datatable-cell-tpl.directive.d.ts +3 -0
- package/datatable/directives/datatable-filter.directive.d.ts +3 -0
- package/datatable/directives/datatable-row-action-item.directive.d.ts +3 -0
- package/datatable/index.d.ts +5 -0
- package/datatable/services/columns-alterations-manager.service.d.ts +3 -0
- package/datatable/services/columns-manager.service.d.ts +3 -0
- package/datatable/services/datatable-column-changes.service.d.ts +3 -0
- package/datatable/services/datatable-preferences.service.d.ts +3 -0
- package/datatable/services/datatable-scrollbar-helper.service.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic.component.d.ts +3 -0
- package/datatable-dynamic/datatable-dynamic.module.d.ts +20 -0
- package/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.d.ts +3 -0
- package/datatable-dynamic/dynamic-datatable-def.service.d.ts +3 -0
- package/datatable-dynamic/dynamic-datatable-row-actions.service.d.ts +3 -0
- package/datatable-dynamic/index.d.ts +5 -0
- package/datatable-dynamic/models/dynamic-datatable-menu-bar.d.ts +2 -2
- package/dynamic/action/api/dynamic-action-api.service.d.ts +3 -0
- package/dynamic/action/dynamic-action-helper.service.d.ts +3 -0
- package/dynamic/action/link/dynamic-action-link.service.d.ts +3 -0
- package/dynamic/action/modal/dynamic-action-modal.service.d.ts +3 -0
- package/dynamic/dynamic-value-helper.service.d.ts +7 -3
- package/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.d.ts +3 -0
- package/dynamic/evaluators/jexl-evaluator/jexl-evaluator.d.ts +6 -2
- package/dynamic/index.d.ts +5 -0
- package/dynamic/models/dynamic-value-evaluatable-type.d.ts +2 -1
- package/dynamic-component-loader/dynamic-component-loader.module.d.ts +7 -3
- package/dynamic-component-loader/dynamic-component-loader.service.d.ts +7 -6
- package/dynamic-component-loader/dynamic-component-manifest.d.ts +4 -4
- package/dynamic-component-loader/index.d.ts +5 -0
- package/esm2020/asset-reader/asset-reader-helper.service.mjs +68 -0
- package/esm2020/asset-reader/asset-reader.module.mjs +20 -0
- package/esm2020/asset-reader/encrypted-asset-link.directive.mjs +74 -0
- package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +19 -0
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +28 -0
- package/esm2020/breadcrumbs/breadcrumbs.service.mjs +156 -0
- package/esm2020/buttons/badge-button/badge-button.component.mjs +60 -0
- package/esm2020/buttons/button/button.component.mjs +82 -0
- package/esm2020/buttons/buttons.module.mjs +51 -0
- package/esm2020/buttons/progress-circle-button/progress-circle-button.component.mjs +52 -0
- package/esm2020/buttons/toggle-button/toggle-button.component.mjs +79 -0
- package/esm2020/card/card-action/card-action.component.mjs +31 -0
- package/esm2020/card/card-body/card-body.component.mjs +33 -0
- package/esm2020/card/card-footer/card-footer.component.mjs +14 -0
- package/esm2020/card/card-header/card-header.component.mjs +23 -0
- package/esm2020/card/card.component.mjs +19 -0
- package/esm2020/card/card.module.mjs +48 -0
- package/esm2020/checkbox/checkbox.component.mjs +281 -0
- package/esm2020/checkbox/checkbox.module.mjs +28 -0
- package/esm2020/checkbox/public-api.mjs +4 -0
- package/esm2020/checkbox/testing/checkbox.harness.mjs +63 -0
- package/esm2020/checkbox/testing/index.mjs +2 -0
- package/esm2020/confirm-dialog/confirm-click.directive.mjs +69 -0
- package/esm2020/confirm-dialog/confirm-dialog.component.mjs +24 -0
- package/esm2020/confirm-dialog/confirm-dialog.module.mjs +47 -0
- package/esm2020/confirm-dialog/confirm-dialog.service.mjs +38 -0
- package/esm2020/data-exporter/data-exporter.module.mjs +25 -0
- package/esm2020/data-exporter/exporters/csv-exporter.mjs +35 -0
- package/esm2020/data-exporter/exporters/xlsx-exporter.mjs +33 -0
- package/esm2020/data-filters/data-filters.module.mjs +66 -0
- package/esm2020/data-filters/filters/data-filter-search/data-filter-search.component.mjs +121 -0
- package/esm2020/data-filters/filters/data-filter-text/data-filter-text.component.mjs +148 -0
- package/esm2020/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.mjs +163 -0
- package/esm2020/datatable/datatable/datatable.component.mjs +665 -0
- package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +100 -0
- package/esm2020/datatable/datatable-action-menu-item/datatable-action-menu-item.component.mjs +47 -0
- package/esm2020/datatable/datatable-column/datatable-column.component.mjs +108 -0
- package/esm2020/datatable/datatable-column-preferences/datatable-column-preferences.component.mjs +67 -0
- package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +52 -0
- package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +106 -0
- package/esm2020/datatable/datatable-footer/datatable-footer-tpl.directive.mjs +16 -0
- package/esm2020/datatable/datatable-footer/datatable-footer.directive.mjs +24 -0
- package/esm2020/datatable/datatable-menu-bar/datatable-menu-bar.component.mjs +53 -0
- package/esm2020/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.mjs +14 -0
- package/esm2020/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.mjs +31 -0
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.mjs +16 -0
- package/esm2020/datatable/datatable-row-detail/datatable-row-detail.directive.mjs +77 -0
- package/esm2020/datatable/datatable.module.mjs +205 -0
- package/esm2020/datatable/directives/datatable-action-menu-item.directive.mjs +63 -0
- package/esm2020/datatable/directives/datatable-action-menu-toggle.directive.mjs +137 -0
- package/esm2020/datatable/directives/datatable-cell-tpl.directive.mjs +16 -0
- package/esm2020/datatable/directives/datatable-filter.directive.mjs +27 -0
- package/esm2020/datatable/directives/datatable-row-action-item.directive.mjs +16 -0
- package/esm2020/datatable/services/columns-alterations-manager.service.mjs +136 -0
- package/esm2020/datatable/services/columns-manager.service.mjs +261 -0
- package/esm2020/datatable/services/datatable-column-changes.service.mjs +20 -0
- package/esm2020/datatable/services/datatable-preferences.service.mjs +165 -0
- package/esm2020/datatable/services/datatable-scrollbar-helper.service.mjs +50 -0
- package/esm2020/datatable/theseam-ui-common-datatable.mjs +5 -0
- package/esm2020/datatable/utils/with-stored-column-info.mjs +20 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +119 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.mjs +50 -0
- package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.mjs +149 -0
- package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +77 -0
- package/esm2020/datatable-dynamic/datatable-dynamic.module.mjs +80 -0
- package/esm2020/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.mjs +400 -0
- package/esm2020/datatable-dynamic/dynamic-datatable-def.service.mjs +88 -0
- package/esm2020/datatable-dynamic/dynamic-datatable-row-actions.service.mjs +46 -0
- package/esm2020/datatable-dynamic/models/dynamic-datatable-menu-bar.mjs +2 -0
- package/esm2020/dynamic/action/api/dynamic-action-api.service.mjs +206 -0
- package/esm2020/dynamic/action/dynamic-action-helper.service.mjs +157 -0
- package/esm2020/dynamic/action/link/dynamic-action-link.service.mjs +47 -0
- package/esm2020/dynamic/action/modal/dynamic-action-modal.service.mjs +85 -0
- package/esm2020/dynamic/dynamic-value-helper.service.mjs +102 -0
- package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.mjs +30 -0
- package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-evaluator.mjs +32 -0
- package/esm2020/dynamic/models/dynamic-value-evaluatable-type.mjs +2 -0
- package/esm2020/dynamic-component-loader/dynamic-component-loader.module.mjs +50 -0
- package/esm2020/dynamic-component-loader/dynamic-component-loader.service.mjs +78 -0
- package/esm2020/dynamic-component-loader/dynamic-component-manifest.mjs +2 -0
- package/esm2020/footer-bar/footer-bar/footer-bar.component.mjs +14 -0
- package/esm2020/footer-bar/footer-bar.module.mjs +20 -0
- package/esm2020/form-field/form-field-error.directive.mjs +30 -0
- package/esm2020/form-field/form-field-help-text.directive.mjs +16 -0
- package/esm2020/form-field/form-field-label-tpl.directive.mjs +16 -0
- package/esm2020/form-field/form-field-required-indicator.component.mjs +46 -0
- package/esm2020/form-field/form-field-tokens.mjs +3 -0
- package/esm2020/form-field/form-field.component.mjs +221 -0
- package/esm2020/form-field/form-field.module.mjs +61 -0
- package/esm2020/form-field/input.directive.mjs +219 -0
- package/esm2020/form-field/public-api.mjs +10 -0
- package/esm2020/form-field/testing/form-field-required-indicator.harness.mjs +8 -0
- package/esm2020/form-field/testing/index.mjs +2 -0
- package/esm2020/form-field-error/form-field-error/form-field-error.component.mjs +28 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.mjs +26 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item.directive.mjs +18 -0
- package/esm2020/form-field-error/form-field-error-list/form-field-error-list.component.mjs +384 -0
- package/esm2020/form-field-error/form-field-error.module.mjs +39 -0
- package/esm2020/framework/base-layout/base-layout.component.mjs +122 -0
- package/esm2020/framework/base-layout/base-layout.module.mjs +75 -0
- package/esm2020/framework/base-layout/directives/base-layout-content-footer.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-content-header.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-content.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +50 -0
- package/esm2020/framework/base-layout/directives/base-layout-side-bar-footer.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-side-bar.directive.mjs +16 -0
- package/esm2020/framework/base-layout/directives/base-layout-top-bar.directive.mjs +16 -0
- package/esm2020/framework/base-layout/index.mjs +14 -0
- package/esm2020/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.mjs +18 -0
- package/esm2020/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.mjs +24 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.mjs +119 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.mjs +176 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.component.mjs +206 -0
- package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.service.mjs +170 -0
- package/esm2020/framework/dashboard/dashboard-widgets-tokens.mjs +3 -0
- package/esm2020/framework/dashboard/dashboard.component.mjs +24 -0
- package/esm2020/framework/dashboard/dashboard.module.mjs +60 -0
- package/esm2020/framework/dynamic-router/dynamic-router.module.mjs +28 -0
- package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.mjs +117 -0
- package/esm2020/framework/dynamic-router/resolvers/hierarchy-level.resolver.mjs +27 -0
- package/esm2020/framework/schema-form/schema-form-framework.component.mjs +18 -0
- package/esm2020/framework/schema-form/schema-form-framework.mjs +30 -0
- package/esm2020/framework/schema-form/schema-form.module.mjs +52 -0
- package/esm2020/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.mjs +43 -0
- package/esm2020/framework/schema-form-controls/schema-form-controls.module.mjs +79 -0
- package/esm2020/framework/schema-form-controls/schema-form-input/schema-form-input.component.mjs +34 -0
- package/esm2020/framework/schema-form-controls/schema-form-number/schema-form-number.component.mjs +40 -0
- package/esm2020/framework/schema-form-controls/schema-form-select/schema-form-select.component.mjs +38 -0
- package/esm2020/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.mjs +46 -0
- package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +143 -0
- package/esm2020/framework/side-nav/index.mjs +8 -0
- package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +206 -0
- package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +34 -0
- package/esm2020/framework/side-nav/side-nav-tokens.mjs +3 -0
- package/esm2020/framework/side-nav/side-nav-utils.mjs +79 -0
- package/esm2020/framework/side-nav/side-nav.component.mjs +295 -0
- package/esm2020/framework/side-nav/side-nav.module.mjs +62 -0
- package/esm2020/framework/side-nav/side-nav.service.mjs +178 -0
- package/esm2020/framework/theseam-ui-common-framework.mjs +5 -0
- package/esm2020/framework/top-bar/top-bar-item.directive.mjs +16 -0
- package/esm2020/framework/top-bar/top-bar-menu-btn-detail.directive.mjs +16 -0
- package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +56 -0
- package/esm2020/framework/top-bar/top-bar-menu.directive.mjs +19 -0
- package/esm2020/framework/top-bar/top-bar-title/top-bar-title.component.mjs +19 -0
- package/esm2020/framework/top-bar/top-bar.component.mjs +99 -0
- package/esm2020/framework/top-bar/top-bar.module.mjs +73 -0
- package/esm2020/google-maps/google-maps/google-maps.component.mjs +301 -0
- package/esm2020/google-maps/google-maps-api-loader/google-maps-api-loader.mjs +3 -0
- package/esm2020/google-maps/google-maps-controls.service.mjs +67 -0
- package/esm2020/google-maps/google-maps-feature-helpers.mjs +211 -0
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +210 -0
- package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.mjs +165 -0
- package/esm2020/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.mjs +58 -0
- package/esm2020/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.mjs +115 -0
- package/esm2020/google-maps/google-maps.module.mjs +70 -0
- package/esm2020/google-maps/google-maps.service.mjs +355 -0
- package/esm2020/google-maps/map-control.component.mjs +66 -0
- package/esm2020/google-maps/map-file-drop/map-file-drop.component.mjs +128 -0
- package/esm2020/google-maps/map-value-manager.service.mjs +48 -0
- package/esm2020/google-maps/theseam-ui-common-google-maps.mjs +5 -0
- package/esm2020/graphql/datatable/create-page-info-observable.mjs +38 -0
- package/esm2020/graphql/datatable/datatable-graphql-query-ref.mjs +238 -0
- package/esm2020/graphql/datatable/datatable-graphql.service.mjs +50 -0
- package/esm2020/graphql/datatable/datatable-helpers.mjs +175 -0
- package/esm2020/graphql/datatable/get-page-info.mjs +10 -0
- package/esm2020/graphql/datatable/map-filter-states.mjs +62 -0
- package/esm2020/graphql/utils/parse-hints.mjs +108 -0
- package/esm2020/icon/icon/icon.component.mjs +139 -0
- package/esm2020/icon/icon-btn/icon-btn.component.mjs +184 -0
- package/esm2020/icon/icon-notification/icon-notification.component.mjs +124 -0
- package/esm2020/icon/icon.module.mjs +38 -0
- package/esm2020/layout/layout.module.mjs +25 -0
- package/esm2020/layout/layout.service.mjs +22 -0
- package/esm2020/loading/loading/loading.component.mjs +27 -0
- package/esm2020/loading/loading-overlay.service.mjs +58 -0
- package/esm2020/loading/loading.module.mjs +41 -0
- package/esm2020/menu/menu-divider.component.mjs +13 -0
- package/esm2020/menu/menu-footer/menu-footer.component.mjs +32 -0
- package/esm2020/menu/menu-footer-action/menu-footer-action.component.mjs +54 -0
- package/esm2020/menu/menu-header/menu-header.component.mjs +32 -0
- package/esm2020/menu/menu-item.component.mjs +131 -0
- package/esm2020/menu/menu-toggle.directive.mjs +251 -0
- package/esm2020/menu/menu.component.mjs +177 -0
- package/esm2020/menu/menu.module.mjs +67 -0
- package/esm2020/modal/directives/modal-close.directive.mjs +74 -0
- package/esm2020/modal/directives/modal-footer-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-header-icon-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-header-title-tpl.directive.mjs +16 -0
- package/esm2020/modal/directives/modal-title.directive.mjs +20 -0
- package/esm2020/modal/directives/modal.directive.mjs +25 -0
- package/esm2020/modal/modal/modal.component.mjs +163 -0
- package/esm2020/modal/modal-body/modal-body.component.mjs +23 -0
- package/esm2020/modal/modal-config.mjs +47 -0
- package/esm2020/modal/modal-container/modal-container.component.mjs +245 -0
- package/esm2020/modal/modal-footer/modal-footer.component.mjs +19 -0
- package/esm2020/modal/modal-header/modal-header.component.mjs +30 -0
- package/esm2020/modal/modal.models.mjs +3 -0
- package/esm2020/modal/modal.module.mjs +127 -0
- package/esm2020/modal/modal.service.mjs +349 -0
- package/esm2020/modal/route-modal/route-modal.component.mjs +63 -0
- package/esm2020/popover/popover/popover.component.mjs +156 -0
- package/esm2020/popover/popover.directive.mjs +260 -0
- package/esm2020/popover/popover.module.mjs +40 -0
- package/esm2020/progress/progress-circle/progress-circle.component.mjs +65 -0
- package/esm2020/progress/progress.module.mjs +24 -0
- package/esm2020/scrollbar/overlay-scrollbar.directive.mjs +61 -0
- package/esm2020/scrollbar/overlay-scrollbars-config.mjs +13 -0
- package/esm2020/scrollbar/overlay-scrollbars.service.mjs +83 -0
- package/esm2020/scrollbar/scrollbar.module.mjs +30 -0
- package/esm2020/services/asset-loader.service.mjs +33 -0
- package/esm2020/services/font-loader.service.mjs +84 -0
- package/esm2020/services/router-helpers.service.mjs +25 -0
- package/esm2020/shared/components/password-input-reveal/password-input-reveal.component.mjs +49 -0
- package/esm2020/shared/directives/auto-focus.directive.mjs +54 -0
- package/esm2020/shared/directives/click-outside.directive.mjs +52 -0
- package/esm2020/shared/directives/disable-control.directive.mjs +27 -0
- package/esm2020/shared/directives/elem-resized.directive.mjs +28 -0
- package/esm2020/shared/directives/hover-class-toggle.directive.mjs +88 -0
- package/esm2020/shared/directives/hover-class.directive.mjs +82 -0
- package/esm2020/shared/directives/ng-select-extra.directive.mjs +184 -0
- package/esm2020/shared/directives/ngx-quill-extra.directive.mjs +61 -0
- package/esm2020/shared/pipes/mask-chars.pipe.mjs +25 -0
- package/esm2020/shared/pipes/truncate.pipe.mjs +23 -0
- package/esm2020/shared/shared.module.mjs +93 -0
- package/esm2020/storage/local-storage.service.mjs +78 -0
- package/esm2020/story-helpers/arg-type-helpers.mjs +35 -0
- package/esm2020/story-helpers/args-to-tpl.mjs +72 -0
- package/esm2020/story-helpers/initial-route.service.mjs +27 -0
- package/esm2020/story-helpers/on-story-bootstrapped-exec.mjs +61 -0
- package/esm2020/story-helpers/on-story-bootstrapped-trigger.mjs +38 -0
- package/esm2020/story-helpers/routes-arg-type.mjs +19 -0
- package/esm2020/story-helpers/story-empty-with-route.component.mjs +12 -0
- package/esm2020/story-helpers/story-empty.component.mjs +11 -0
- package/esm2020/story-helpers/story-helper-components.module.mjs +42 -0
- package/esm2020/story-helpers/story-initial-route.mjs +28 -0
- package/esm2020/story-helpers/story-modal-container.component.mjs +90 -0
- package/esm2020/story-helpers/story-toastr.service.mjs +36 -0
- package/esm2020/tabbed/directives/tabbed-tab-content.directive.mjs +17 -0
- package/esm2020/tabbed/directives/tabbed-tab.directive.mjs +36 -0
- package/esm2020/tabbed/public-api.mjs +9 -0
- package/esm2020/tabbed/tabbed-content/tabbed-content.component.mjs +18 -0
- package/esm2020/tabbed/tabbed-item/tabbed-item.component.mjs +34 -0
- package/esm2020/tabbed/tabbed-models.mjs +2 -0
- package/esm2020/tabbed/tabbed.component.mjs +112 -0
- package/esm2020/tabbed/tabbed.module.mjs +54 -0
- package/esm2020/tabbed/tabbed.service.mjs +30 -0
- package/esm2020/table/table/table.component.mjs +97 -0
- package/esm2020/table/table.module.mjs +32 -0
- package/esm2020/table-cell-type/services/table-cell-types-helpers.service.mjs +67 -0
- package/esm2020/table-cell-type/table-cell-type-selector.component.mjs +101 -0
- package/esm2020/table-cell-type/table-cell-type.module.mjs +29 -0
- package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.mjs +86 -0
- package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.component.mjs +56 -0
- package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.mjs +84 -0
- package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.mjs +175 -0
- package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.mjs +82 -0
- package/esm2020/table-cell-types/table-cell-type-manifests.mjs +92 -0
- package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.mjs +68 -0
- package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.mjs +167 -0
- package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.mjs +78 -0
- package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +192 -0
- package/esm2020/table-cell-types/table-cell-types.module.mjs +118 -0
- package/esm2020/table-cell-types/theseam-ui-common-table-cell-types.mjs +5 -0
- package/esm2020/tel-input/phone-number.pipe.mjs +49 -0
- package/esm2020/tel-input/tel-input/tel-input.component.mjs +187 -0
- package/esm2020/tel-input/tel-input-validator.mjs +27 -0
- package/esm2020/tel-input/tel-input.directive.mjs +218 -0
- package/esm2020/tel-input/tel-input.module.mjs +42 -0
- package/esm2020/tel-input/utils/get-validation-error-message.mjs +12 -0
- package/esm2020/testing/get-harness.mjs +13 -0
- package/esm2020/testing/render-story.mjs +10 -0
- package/esm2020/testing/story-expect.mjs +38 -0
- package/esm2020/tiled-select/components/tiled-select/tiled-select.component.mjs +215 -0
- package/esm2020/tiled-select/components/tiled-select-tile/tiled-select-tile.component.mjs +160 -0
- package/esm2020/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.mjs +64 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-icon-tpl.directive.mjs +17 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-label-tpl.directive.mjs +16 -0
- package/esm2020/tiled-select/directives/tiled-select-tile-overlay.directive.mjs +19 -0
- package/esm2020/tiled-select/public-api.mjs +10 -0
- package/esm2020/tiled-select/testing/index.mjs +3 -0
- package/esm2020/tiled-select/testing/tiled-select-harness.mjs +21 -0
- package/esm2020/tiled-select/testing/tiled-select-tile-harness.mjs +23 -0
- package/esm2020/tiled-select/tiled-select.module.mjs +51 -0
- package/esm2020/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.mjs +14 -0
- package/esm2020/toggle-edit/toggle-edit-display-tpl.directive.mjs +16 -0
- package/esm2020/toggle-edit/toggle-edit-keyboard-listener.service.mjs +57 -0
- package/esm2020/toggle-edit/toggle-edit.component.mjs +414 -0
- package/esm2020/toggle-edit/toggle-edit.module.mjs +64 -0
- package/esm2020/toggle-group/toggle-group-option.directive.mjs +47 -0
- package/esm2020/toggle-group/toggle-group.directive.mjs +198 -0
- package/esm2020/toggle-group/toggle-group.module.mjs +33 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-can-deactivate.mjs +30 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +24 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.guard.mjs +37 -0
- package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +17 -0
- package/esm2020/utils/file-utils.mjs +50 -0
- package/esm2020/utils/geo-json/coerce-feature-collection.mjs +44 -0
- package/esm2020/utils/geo-json/geo-json-to-area.mjs +11 -0
- package/esm2020/utils/geo-json/is-feature-collection.validator.mjs +21 -0
- package/esm2020/utils/geo-json/is-only-geometry-types.mjs +23 -0
- package/esm2020/utils/geo-json/is-only-geometry-types.validator.mjs +32 -0
- package/esm2020/utils/geo-json/merge-polygons.mjs +35 -0
- package/esm2020/utils/geo-json/no-inner-rings.validator.mjs +63 -0
- package/esm2020/utils/geo-json/read-geo-file.mjs +89 -0
- package/esm2020/utils/geo-json/split-multi-polygons.mjs +29 -0
- package/esm2020/utils/obj-utils.mjs +26 -0
- package/esm2020/utils/polling-ticker.mjs +121 -0
- package/esm2020/utils/subscriber-count.mjs +44 -0
- package/esm2020/utils/wait-on-condition-async.mjs +30 -0
- package/esm2020/viewers/html-template-viewer/html-template-viewer.component.mjs +219 -0
- package/esm2020/viewers/html-template-viewer/html-template-viewer.module.mjs +32 -0
- package/esm2020/viewers/pdf-viewer/pdf-page/pdf-page.component.mjs +142 -0
- package/esm2020/viewers/pdf-viewer/pdf-renderer.service.mjs +28 -0
- package/esm2020/viewers/pdf-viewer/pdf-viewer.component.mjs +163 -0
- package/esm2020/viewers/pdf-viewer/pdf-viewer.module.mjs +33 -0
- package/esm2020/widget/directives/widget-drag-handle.directive.mjs +150 -0
- package/esm2020/widget/directives/widget-icon-tpl.directive.mjs +16 -0
- package/esm2020/widget/directives/widget-title-tpl.directive.mjs +16 -0
- package/esm2020/widget/widget/widget.component.mjs +145 -0
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.module.mjs +30 -0
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-description/widget-description.component.mjs +11 -0
- package/esm2020/widget/widget-content-components/widget-description/widget-description.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.component.mjs +40 -0
- package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.component.mjs +13 -0
- package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.component.mjs +22 -0
- package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.module.mjs +24 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.mjs +17 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.mjs +127 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.component.mjs +16 -0
- package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.module.mjs +46 -0
- package/esm2020/widget/widget-content-components/widget-table/widget-table.component.mjs +38 -0
- package/esm2020/widget/widget-content-components/widget-table/widget-table.module.mjs +32 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.mjs +16 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.mjs +42 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.mjs +17 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.component.mjs +121 -0
- package/esm2020/widget/widget-content-components/widget-tile/widget-tile.module.mjs +48 -0
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.component.mjs +14 -0
- package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.module.mjs +27 -0
- package/esm2020/widget/widget-footer/widget-footer.component.mjs +13 -0
- package/esm2020/widget/widget-registry.service.mjs +55 -0
- package/esm2020/widget/widget.module.mjs +125 -0
- package/fesm2015/theseam-ui-common-asset-reader.mjs +184 -0
- package/fesm2015/theseam-ui-common-asset-reader.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs +202 -0
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-buttons.mjs +310 -0
- package/fesm2015/theseam-ui-common-buttons.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-card.mjs +161 -0
- package/fesm2015/theseam-ui-common-card.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-checkbox.mjs +394 -0
- package/fesm2015/theseam-ui-common-checkbox.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs +173 -0
- package/fesm2015/theseam-ui-common-confirm-dialog.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-core.mjs +223 -0
- package/fesm2015/theseam-ui-common-core.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-data-exporter.mjs +93 -0
- package/fesm2015/theseam-ui-common-data-exporter.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-data-filters.mjs +505 -0
- package/fesm2015/theseam-ui-common-data-filters.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +1002 -0
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-datatable.mjs +2780 -0
- package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs +135 -0
- package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-dynamic.mjs +710 -0
- package/fesm2015/theseam-ui-common-dynamic.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-footer-bar.mjs +38 -0
- package/fesm2015/theseam-ui-common-footer-bar.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-form-field-error.mjs +481 -0
- package/fesm2015/theseam-ui-common-form-field-error.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-form-field.mjs +600 -0
- package/fesm2015/theseam-ui-common-form-field.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-framework.mjs +2990 -0
- package/fesm2015/theseam-ui-common-framework.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-google-maps.mjs +1837 -0
- package/fesm2015/theseam-ui-common-google-maps.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-graphql.mjs +886 -0
- package/fesm2015/theseam-ui-common-graphql.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-icon.mjs +588 -0
- package/fesm2015/theseam-ui-common-icon.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-layout.mjs +92 -0
- package/fesm2015/theseam-ui-common-layout.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-loading.mjs +140 -0
- package/fesm2015/theseam-ui-common-loading.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-menu.mjs +806 -0
- package/fesm2015/theseam-ui-common-menu.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-modal.mjs +1383 -0
- package/fesm2015/theseam-ui-common-modal.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-models.mjs +52 -0
- package/fesm2015/theseam-ui-common-models.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-popover.mjs +498 -0
- package/fesm2015/theseam-ui-common-popover.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-progress.mjs +93 -0
- package/fesm2015/theseam-ui-common-progress.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-scrollbar.mjs +185 -0
- package/fesm2015/theseam-ui-common-scrollbar.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-services.mjs +141 -0
- package/fesm2015/theseam-ui-common-services.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-shared.mjs +739 -0
- package/fesm2015/theseam-ui-common-shared.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-storage.mjs +148 -0
- package/fesm2015/theseam-ui-common-storage.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-story-helpers.mjs +477 -0
- package/fesm2015/theseam-ui-common-story-helpers.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tabbed.mjs +283 -0
- package/fesm2015/theseam-ui-common-tabbed.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table-cell-type.mjs +202 -0
- package/fesm2015/theseam-ui-common-table-cell-type.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table-cell-types.mjs +1134 -0
- package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-table.mjs +129 -0
- package/fesm2015/theseam-ui-common-table.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tel-input.mjs +777 -0
- package/fesm2015/theseam-ui-common-tel-input.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-testing.mjs +192 -0
- package/fesm2015/theseam-ui-common-testing.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-tiled-select.mjs +574 -0
- package/fesm2015/theseam-ui-common-tiled-select.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-toggle-edit.mjs +563 -0
- package/fesm2015/theseam-ui-common-toggle-edit.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-toggle-group.mjs +279 -0
- package/fesm2015/theseam-ui-common-toggle-group.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs +108 -0
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-utils.mjs +1314 -0
- package/fesm2015/theseam-ui-common-utils.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-validators.mjs +94 -0
- package/fesm2015/theseam-ui-common-validators.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-viewers.mjs +600 -0
- package/fesm2015/theseam-ui-common-viewers.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-widget.mjs +1273 -0
- package/fesm2015/theseam-ui-common-widget.mjs.map +1 -0
- package/fesm2015/theseam-ui-common.mjs +47 -0
- package/fesm2015/theseam-ui-common.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-asset-reader.mjs +182 -0
- package/fesm2020/theseam-ui-common-asset-reader.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs +202 -0
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-buttons.mjs +310 -0
- package/fesm2020/theseam-ui-common-buttons.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-card.mjs +159 -0
- package/fesm2020/theseam-ui-common-card.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-checkbox.mjs +376 -0
- package/fesm2020/theseam-ui-common-checkbox.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs +173 -0
- package/fesm2020/theseam-ui-common-confirm-dialog.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-core.mjs +231 -0
- package/fesm2020/theseam-ui-common-core.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-data-exporter.mjs +93 -0
- package/fesm2020/theseam-ui-common-data-exporter.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-data-filters.mjs +497 -0
- package/fesm2020/theseam-ui-common-data-filters.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +990 -0
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-datatable.mjs +2773 -0
- package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs +133 -0
- package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-dynamic.mjs +677 -0
- package/fesm2020/theseam-ui-common-dynamic.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-footer-bar.mjs +38 -0
- package/fesm2020/theseam-ui-common-footer-bar.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-form-field-error.mjs +485 -0
- package/fesm2020/theseam-ui-common-form-field-error.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-form-field.mjs +593 -0
- package/fesm2020/theseam-ui-common-form-field.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-framework.mjs +2988 -0
- package/fesm2020/theseam-ui-common-framework.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-google-maps.mjs +1831 -0
- package/fesm2020/theseam-ui-common-google-maps.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-graphql.mjs +892 -0
- package/fesm2020/theseam-ui-common-graphql.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-icon.mjs +588 -0
- package/fesm2020/theseam-ui-common-icon.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-layout.mjs +94 -0
- package/fesm2020/theseam-ui-common-layout.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-loading.mjs +139 -0
- package/fesm2020/theseam-ui-common-loading.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-menu.mjs +793 -0
- package/fesm2020/theseam-ui-common-menu.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-modal.mjs +1375 -0
- package/fesm2020/theseam-ui-common-modal.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-models.mjs +54 -0
- package/fesm2020/theseam-ui-common-models.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-popover.mjs +495 -0
- package/fesm2020/theseam-ui-common-popover.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-progress.mjs +93 -0
- package/fesm2020/theseam-ui-common-progress.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-scrollbar.mjs +185 -0
- package/fesm2020/theseam-ui-common-scrollbar.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-services.mjs +142 -0
- package/fesm2020/theseam-ui-common-services.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-shared.mjs +733 -0
- package/fesm2020/theseam-ui-common-shared.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-storage.mjs +148 -0
- package/fesm2020/theseam-ui-common-storage.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-story-helpers.mjs +473 -0
- package/fesm2020/theseam-ui-common-story-helpers.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tabbed.mjs +281 -0
- package/fesm2020/theseam-ui-common-tabbed.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table-cell-type.mjs +199 -0
- package/fesm2020/theseam-ui-common-table-cell-type.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table-cell-types.mjs +1109 -0
- package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-table.mjs +133 -0
- package/fesm2020/theseam-ui-common-table.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tel-input.mjs +762 -0
- package/fesm2020/theseam-ui-common-tel-input.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-testing.mjs +187 -0
- package/fesm2020/theseam-ui-common-testing.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-tiled-select.mjs +560 -0
- package/fesm2020/theseam-ui-common-tiled-select.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-toggle-edit.mjs +556 -0
- package/fesm2020/theseam-ui-common-toggle-edit.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-toggle-group.mjs +276 -0
- package/fesm2020/theseam-ui-common-toggle-group.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs +108 -0
- package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-utils.mjs +1291 -0
- package/fesm2020/theseam-ui-common-utils.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-validators.mjs +94 -0
- package/fesm2020/theseam-ui-common-validators.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-viewers.mjs +596 -0
- package/fesm2020/theseam-ui-common-viewers.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-widget.mjs +1269 -0
- package/fesm2020/theseam-ui-common-widget.mjs.map +1 -0
- package/fesm2020/theseam-ui-common.mjs +47 -0
- package/fesm2020/theseam-ui-common.mjs.map +1 -0
- package/footer-bar/footer-bar/footer-bar.component.d.ts +3 -0
- package/footer-bar/footer-bar.module.d.ts +6 -0
- package/footer-bar/index.d.ts +5 -0
- package/form-field/form-field-error.directive.d.ts +3 -0
- package/form-field/form-field-help-text.directive.d.ts +3 -0
- package/form-field/form-field-label-tpl.directive.d.ts +3 -0
- package/form-field/form-field-required-indicator.component.d.ts +5 -3
- package/form-field/form-field-tokens.d.ts +2 -0
- package/form-field/form-field.component.d.ts +3 -0
- package/form-field/form-field.module.d.ts +14 -0
- package/form-field/index.d.ts +5 -0
- package/form-field/input.directive.d.ts +3 -0
- package/form-field/public-api.d.ts +2 -0
- package/form-field/testing/form-field-required-indicator.harness.d.ts +5 -0
- package/form-field/testing/index.d.ts +1 -0
- package/form-field-error/form-field-error/form-field-error.component.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list-item.directive.d.ts +3 -0
- package/form-field-error/form-field-error-list/form-field-error-list.component.d.ts +3 -0
- package/form-field-error/form-field-error.module.d.ts +9 -0
- package/form-field-error/index.d.ts +5 -0
- package/framework/base-layout/base-layout.component.d.ts +3 -0
- package/framework/base-layout/base-layout.module.d.ts +17 -0
- package/framework/base-layout/directives/base-layout-content-footer.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-content-header.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-content.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-side-bar-footer.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-side-bar.directive.d.ts +3 -0
- package/framework/base-layout/directives/base-layout-top-bar.directive.d.ts +3 -0
- package/framework/base-layout/index.d.ts +1 -0
- package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.d.ts +3 -0
- package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.d.ts +6 -3
- package/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.d.ts +5 -1
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.service.d.ts +3 -0
- package/framework/dashboard/dashboard-widgets-tokens.d.ts +7 -0
- package/framework/dashboard/dashboard.component.d.ts +3 -0
- package/framework/dashboard/dashboard.module.d.ts +15 -0
- package/framework/dynamic-router/dynamic-router.module.d.ts +7 -0
- package/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.d.ts +3 -0
- package/framework/dynamic-router/resolvers/hierarchy-level.resolver.d.ts +3 -0
- package/framework/index.d.ts +5 -0
- package/framework/schema-form/schema-form-framework.component.d.ts +3 -0
- package/framework/schema-form/schema-form-framework.d.ts +3 -0
- package/framework/schema-form/schema-form.module.d.ts +8 -0
- package/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-controls.module.d.ts +18 -0
- package/framework/schema-form-controls/schema-form-input/schema-form-input.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-number/schema-form-number.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-select/schema-form-select.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.d.ts +3 -0
- package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +3 -0
- package/framework/side-nav/index.d.ts +1 -0
- package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +5 -2
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +3 -0
- package/framework/side-nav/side-nav-tokens.d.ts +6 -0
- package/framework/side-nav/side-nav.component.d.ts +4 -1
- package/framework/side-nav/side-nav.module.d.ts +15 -0
- package/framework/side-nav/side-nav.service.d.ts +3 -0
- package/framework/top-bar/top-bar-item.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-menu-btn-detail.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +3 -0
- package/framework/top-bar/top-bar-menu.directive.d.ts +3 -0
- package/framework/top-bar/top-bar-title/top-bar-title.component.d.ts +3 -0
- package/framework/top-bar/top-bar.component.d.ts +4 -1
- package/framework/top-bar/top-bar.module.d.ts +17 -0
- package/google-maps/google-maps/google-maps.component.d.ts +15 -4
- package/google-maps/google-maps-api-loader/google-maps-api-loader.d.ts +4 -0
- package/google-maps/google-maps-contextmenu.d.ts +1 -1
- package/google-maps/google-maps-controls.service.d.ts +3 -0
- package/google-maps/google-maps-feature-helpers.d.ts +1 -1
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.d.ts +7 -0
- package/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.d.ts +7 -0
- package/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.d.ts +3 -0
- package/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.d.ts +3 -0
- package/google-maps/google-maps.module.d.ts +18 -0
- package/google-maps/google-maps.service.d.ts +5 -0
- package/google-maps/index.d.ts +5 -0
- package/google-maps/map-control.component.d.ts +3 -0
- package/google-maps/map-controls-service.d.ts +1 -0
- package/google-maps/map-file-drop/map-file-drop.component.d.ts +3 -0
- package/google-maps/map-value-manager.service.d.ts +3 -0
- package/graphql/datatable/datatable-graphql.service.d.ts +3 -0
- package/graphql/index.d.ts +5 -0
- package/icon/icon/icon.component.d.ts +3 -0
- package/icon/icon-btn/icon-btn.component.d.ts +3 -0
- package/icon/icon-notification/icon-notification.component.d.ts +3 -0
- package/icon/icon.module.d.ts +9 -0
- package/icon/index.d.ts +5 -0
- package/index.d.ts +5 -0
- package/layout/index.d.ts +5 -0
- package/layout/layout.module.d.ts +6 -0
- package/layout/layout.service.d.ts +3 -0
- package/loading/index.d.ts +5 -0
- package/loading/loading/loading.component.d.ts +3 -0
- package/loading/loading-overlay.service.d.ts +3 -0
- package/loading/loading.module.d.ts +9 -0
- package/menu/index.d.ts +5 -0
- package/menu/menu-divider.component.d.ts +3 -0
- package/menu/menu-footer/menu-footer.component.d.ts +3 -0
- package/menu/menu-footer-action/menu-footer-action.component.d.ts +3 -0
- package/menu/menu-header/menu-header.component.d.ts +3 -0
- package/menu/menu-item.component.d.ts +3 -0
- package/menu/menu-toggle.directive.d.ts +3 -0
- package/menu/menu.component.d.ts +3 -0
- package/menu/menu.module.d.ts +14 -0
- package/modal/README.md +5 -0
- package/modal/directives/modal-close.directive.d.ts +3 -0
- package/modal/directives/modal-footer-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-header-icon-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-header-title-tpl.directive.d.ts +3 -0
- package/modal/directives/modal-title.directive.d.ts +3 -0
- package/modal/directives/modal.directive.d.ts +3 -0
- package/modal/index.d.ts +5 -0
- package/modal/modal/modal.component.d.ts +5 -2
- package/modal/modal-body/modal-body.component.d.ts +3 -0
- package/modal/modal-container/modal-container.component.d.ts +5 -2
- package/modal/modal-footer/modal-footer.component.d.ts +3 -0
- package/modal/modal-header/modal-header.component.d.ts +3 -0
- package/modal/modal.models.d.ts +2 -2
- package/modal/modal.module.d.ts +23 -0
- package/modal/modal.service.d.ts +3 -0
- package/modal/route-modal/route-modal.component.d.ts +3 -0
- package/models/index.d.ts +5 -0
- package/package.json +400 -22
- package/popover/index.d.ts +5 -0
- package/popover/popover/popover.component.d.ts +3 -0
- package/popover/popover.directive.d.ts +3 -0
- package/popover/popover.module.d.ts +9 -0
- package/progress/index.d.ts +5 -0
- package/progress/progress-circle/progress-circle.component.d.ts +3 -0
- package/progress/progress.module.d.ts +6 -0
- package/scrollbar/index.d.ts +5 -0
- package/scrollbar/overlay-scrollbar.directive.d.ts +3 -0
- package/scrollbar/overlay-scrollbars.service.d.ts +3 -0
- package/scrollbar/scrollbar.module.d.ts +6 -0
- package/services/asset-loader.service.d.ts +3 -0
- package/services/font-loader.service.d.ts +3 -0
- package/services/index.d.ts +5 -0
- package/services/router-helpers.service.d.ts +3 -0
- package/shared/components/password-input-reveal/password-input-reveal.component.d.ts +3 -0
- package/shared/directives/auto-focus.directive.d.ts +3 -0
- package/shared/directives/click-outside.directive.d.ts +3 -0
- package/shared/directives/disable-control.directive.d.ts +3 -0
- package/shared/directives/elem-resized.directive.d.ts +3 -0
- package/shared/directives/hover-class-toggle.directive.d.ts +3 -0
- package/shared/directives/hover-class.directive.d.ts +3 -0
- package/shared/directives/ng-select-extra.directive.d.ts +3 -0
- package/shared/directives/ngx-quill-extra.directive.d.ts +3 -0
- package/shared/index.d.ts +5 -0
- package/shared/pipes/mask-chars.pipe.d.ts +3 -0
- package/shared/pipes/truncate.pipe.d.ts +3 -0
- package/shared/shared.module.d.ts +20 -0
- package/storage/index.d.ts +5 -0
- package/storage/local-storage.service.d.ts +3 -0
- package/story-helpers/arg-type-helpers.d.ts +2 -1
- package/story-helpers/args-to-tpl.d.ts +1 -1
- package/story-helpers/index.d.ts +5 -0
- package/story-helpers/initial-route.service.d.ts +3 -0
- package/story-helpers/on-story-bootstrapped-exec.d.ts +1 -6
- package/story-helpers/routes-arg-type.d.ts +7 -2
- package/story-helpers/story-empty-with-route.component.d.ts +3 -0
- package/story-helpers/story-empty.component.d.ts +3 -0
- package/story-helpers/story-helper-components.module.d.ts +10 -0
- package/story-helpers/story-initial-route.d.ts +4 -0
- package/story-helpers/story-modal-container.component.d.ts +3 -0
- package/story-helpers/story-toastr.service.d.ts +3 -0
- package/tabbed/directives/tabbed-tab-content.directive.d.ts +5 -1
- package/tabbed/directives/tabbed-tab.directive.d.ts +5 -1
- package/tabbed/index.d.ts +5 -0
- package/tabbed/public-api.d.ts +1 -0
- package/tabbed/tabbed-content/tabbed-content.component.d.ts +5 -2
- package/tabbed/tabbed-item/tabbed-item.component.d.ts +5 -1
- package/tabbed/tabbed-models.d.ts +12 -0
- package/tabbed/tabbed.component.d.ts +3 -0
- package/tabbed/tabbed.module.d.ts +12 -0
- package/tabbed/tabbed.service.d.ts +3 -0
- package/table/index.d.ts +5 -0
- package/table/table/table.component.d.ts +3 -0
- package/table/table.module.d.ts +8 -0
- package/table-cell-type/index.d.ts +5 -0
- package/table-cell-type/services/table-cell-types-helpers.service.d.ts +3 -0
- package/table-cell-type/table-cell-type-selector.component.d.ts +3 -0
- package/table-cell-type/table-cell-type.module.d.ts +7 -0
- package/table-cell-types/index.d.ts +5 -0
- package/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-date/table-cell-type-date.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.d.ts +3 -0
- package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +3 -0
- package/table-cell-types/table-cell-types.module.d.ts +24 -0
- package/tel-input/index.d.ts +5 -0
- package/tel-input/phone-number.pipe.d.ts +3 -0
- package/tel-input/tel-input/tel-input.component.d.ts +5 -2
- package/tel-input/tel-input-validator.d.ts +3 -3
- package/tel-input/tel-input.directive.d.ts +8 -0
- package/tel-input/tel-input.module.d.ts +10 -0
- package/testing/index.d.ts +5 -0
- package/tiled-select/components/tiled-select/tiled-select.component.d.ts +3 -0
- package/tiled-select/components/tiled-select-tile/tiled-select-tile.component.d.ts +3 -0
- package/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-icon-tpl.directive.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-label-tpl.directive.d.ts +3 -0
- package/tiled-select/directives/tiled-select-tile-overlay.directive.d.ts +3 -0
- package/tiled-select/index.d.ts +5 -0
- package/tiled-select/public-api.d.ts +1 -0
- package/tiled-select/testing/index.d.ts +2 -0
- package/tiled-select/testing/tiled-select-harness.d.ts +9 -0
- package/tiled-select/testing/tiled-select-tile-harness.d.ts +17 -0
- package/tiled-select/tiled-select.module.d.ts +12 -0
- package/toggle-edit/index.d.ts +5 -0
- package/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.d.ts +3 -0
- package/toggle-edit/toggle-edit-display-tpl.directive.d.ts +3 -0
- package/toggle-edit/toggle-edit-keyboard-listener.service.d.ts +3 -0
- package/toggle-edit/toggle-edit.component.d.ts +3 -0
- package/toggle-edit/toggle-edit.module.d.ts +16 -0
- package/toggle-group/index.d.ts +5 -0
- package/toggle-group/toggle-group-option.directive.d.ts +3 -0
- package/toggle-group/toggle-group.directive.d.ts +3 -0
- package/toggle-group/toggle-group.module.d.ts +8 -0
- package/unsaved-changes-dialog/index.d.ts +5 -0
- package/unsaved-changes-dialog/unsaved-changes-can-deactivate.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.component.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.guard.d.ts +3 -0
- package/unsaved-changes-dialog/unsaved-changes-dialog.module.d.ts +5 -0
- package/utils/index.d.ts +5 -0
- package/utils/obj-utils.d.ts +1 -1
- package/validators/index.d.ts +5 -0
- package/viewers/html-template-viewer/html-template-viewer.component.d.ts +3 -0
- package/viewers/html-template-viewer/html-template-viewer.module.d.ts +8 -0
- package/viewers/index.d.ts +5 -0
- package/viewers/pdf-viewer/pdf-page/pdf-page.component.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-renderer.service.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-viewer.component.d.ts +3 -0
- package/viewers/pdf-viewer/pdf-viewer.module.d.ts +8 -0
- package/widget/directives/widget-drag-handle.directive.d.ts +3 -0
- package/widget/directives/widget-icon-tpl.directive.d.ts +3 -0
- package/widget/directives/widget-title-tpl.directive.d.ts +3 -0
- package/widget/index.d.ts +5 -0
- package/widget/widget/widget.component.d.ts +3 -0
- package/widget/widget-content-components/widget-button-group/widget-button-group.component.d.ts +3 -0
- package/widget/widget-content-components/widget-button-group/widget-button-group.module.d.ts +7 -0
- package/widget/widget-content-components/widget-content-header/widget-content-header.component.d.ts +3 -0
- package/widget/widget-content-components/widget-content-header/widget-content-header.module.d.ts +6 -0
- package/widget/widget-content-components/widget-description/widget-description.component.d.ts +3 -0
- package/widget/widget-content-components/widget-description/widget-description.module.d.ts +6 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.d.ts +3 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.module.d.ts +6 -0
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.d.ts +3 -0
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.module.d.ts +6 -0
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.d.ts +3 -0
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.module.d.ts +6 -0
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.d.ts +3 -0
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.module.d.ts +6 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.d.ts +3 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.d.ts +11 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.component.d.ts +3 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.module.d.ts +9 -0
- package/widget/widget-content-components/widget-table/widget-table.component.d.ts +3 -0
- package/widget/widget-content-components/widget-table/widget-table.module.d.ts +8 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.d.ts +3 -0
- package/widget/widget-content-components/widget-tile/widget-tile.component.d.ts +5 -0
- package/widget/widget-content-components/widget-tile/widget-tile.module.d.ts +11 -0
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.d.ts +3 -0
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.module.d.ts +7 -0
- package/widget/widget-footer/widget-footer.component.d.ts +3 -0
- package/widget/widget-registry.service.d.ts +3 -0
- package/widget/widget.module.d.ts +28 -0
- package/asset-reader/package.json +0 -11
- package/asset-reader/theseam-ui-common-asset-reader.d.ts +0 -4
- package/asset-reader/theseam-ui-common-asset-reader.metadata.json +0 -1
- package/assets/.gitkeep +0 -0
- package/assets/vendor/intl-tel-input/css/intlTelInput.min.css +0 -1
- package/assets/vendor/intl-tel-input/img/flags.png +0 -0
- package/assets/vendor/intl-tel-input/img/flags@2x.png +0 -0
- package/assets/vendor/intl-tel-input/js/utils.js +0 -502
- package/breadcrumbs/package.json +0 -11
- package/breadcrumbs/theseam-ui-common-breadcrumbs.d.ts +0 -4
- package/breadcrumbs/theseam-ui-common-breadcrumbs.metadata.json +0 -1
- package/bundles/theseam-ui-common-asset-reader.umd.js +0 -531
- package/bundles/theseam-ui-common-asset-reader.umd.js.map +0 -1
- package/bundles/theseam-ui-common-breadcrumbs.umd.js +0 -586
- package/bundles/theseam-ui-common-breadcrumbs.umd.js.map +0 -1
- package/bundles/theseam-ui-common-buttons.umd.js +0 -719
- package/bundles/theseam-ui-common-buttons.umd.js.map +0 -1
- package/bundles/theseam-ui-common-card.umd.js +0 -480
- package/bundles/theseam-ui-common-card.umd.js.map +0 -1
- package/bundles/theseam-ui-common-checkbox.umd.js +0 -650
- package/bundles/theseam-ui-common-checkbox.umd.js.map +0 -1
- package/bundles/theseam-ui-common-confirm-dialog.umd.js +0 -491
- package/bundles/theseam-ui-common-confirm-dialog.umd.js.map +0 -1
- package/bundles/theseam-ui-common-core.umd.js +0 -604
- package/bundles/theseam-ui-common-core.umd.js.map +0 -1
- package/bundles/theseam-ui-common-data-exporter.umd.js +0 -96
- package/bundles/theseam-ui-common-data-exporter.umd.js.map +0 -1
- package/bundles/theseam-ui-common-data-filters.umd.js +0 -891
- package/bundles/theseam-ui-common-data-filters.umd.js.map +0 -1
- package/bundles/theseam-ui-common-datatable-dynamic.umd.js +0 -1499
- package/bundles/theseam-ui-common-datatable-dynamic.umd.js.map +0 -1
- package/bundles/theseam-ui-common-datatable.umd.js +0 -3222
- package/bundles/theseam-ui-common-datatable.umd.js.map +0 -1
- package/bundles/theseam-ui-common-dynamic-component-loader.umd.js +0 -178
- package/bundles/theseam-ui-common-dynamic-component-loader.umd.js.map +0 -1
- package/bundles/theseam-ui-common-dynamic.umd.js +0 -1252
- package/bundles/theseam-ui-common-dynamic.umd.js.map +0 -1
- package/bundles/theseam-ui-common-footer-bar.umd.js +0 -49
- package/bundles/theseam-ui-common-footer-bar.umd.js.map +0 -1
- package/bundles/theseam-ui-common-form-field-error.umd.js +0 -884
- package/bundles/theseam-ui-common-form-field-error.umd.js.map +0 -1
- package/bundles/theseam-ui-common-form-field.umd.js +0 -914
- package/bundles/theseam-ui-common-form-field.umd.js.map +0 -1
- package/bundles/theseam-ui-common-framework.umd.js +0 -3379
- package/bundles/theseam-ui-common-framework.umd.js.map +0 -1
- package/bundles/theseam-ui-common-google-maps.umd.js +0 -2234
- package/bundles/theseam-ui-common-google-maps.umd.js.map +0 -1
- package/bundles/theseam-ui-common-graphql.umd.js +0 -1307
- package/bundles/theseam-ui-common-graphql.umd.js.map +0 -1
- package/bundles/theseam-ui-common-icon.umd.js +0 -890
- package/bundles/theseam-ui-common-icon.umd.js.map +0 -1
- package/bundles/theseam-ui-common-layout.umd.js +0 -117
- package/bundles/theseam-ui-common-layout.umd.js.map +0 -1
- package/bundles/theseam-ui-common-loading.umd.js +0 -152
- package/bundles/theseam-ui-common-loading.umd.js.map +0 -1
- package/bundles/theseam-ui-common-menu.umd.js +0 -1153
- package/bundles/theseam-ui-common-menu.umd.js.map +0 -1
- package/bundles/theseam-ui-common-modal.umd.js +0 -1718
- package/bundles/theseam-ui-common-modal.umd.js.map +0 -1
- package/bundles/theseam-ui-common-models.umd.js +0 -63
- package/bundles/theseam-ui-common-models.umd.js.map +0 -1
- package/bundles/theseam-ui-common-popover.umd.js +0 -504
- package/bundles/theseam-ui-common-popover.umd.js.map +0 -1
- package/bundles/theseam-ui-common-progress.umd.js +0 -420
- package/bundles/theseam-ui-common-progress.umd.js.map +0 -1
- package/bundles/theseam-ui-common-scrollbar.umd.js +0 -238
- package/bundles/theseam-ui-common-scrollbar.umd.js.map +0 -1
- package/bundles/theseam-ui-common-services.umd.js +0 -176
- package/bundles/theseam-ui-common-services.umd.js.map +0 -1
- package/bundles/theseam-ui-common-shared.umd.js +0 -1115
- package/bundles/theseam-ui-common-shared.umd.js.map +0 -1
- package/bundles/theseam-ui-common-storage.umd.js +0 -176
- package/bundles/theseam-ui-common-storage.umd.js.map +0 -1
- package/bundles/theseam-ui-common-story-helpers.umd.js +0 -795
- package/bundles/theseam-ui-common-story-helpers.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tabbed.umd.js +0 -628
- package/bundles/theseam-ui-common-tabbed.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table-cell-type.umd.js +0 -220
- package/bundles/theseam-ui-common-table-cell-type.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table-cell-types.umd.js +0 -1485
- package/bundles/theseam-ui-common-table-cell-types.umd.js.map +0 -1
- package/bundles/theseam-ui-common-table.umd.js +0 -475
- package/bundles/theseam-ui-common-table.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tel-input.umd.js +0 -1107
- package/bundles/theseam-ui-common-tel-input.umd.js.map +0 -1
- package/bundles/theseam-ui-common-testing.umd.js +0 -568
- package/bundles/theseam-ui-common-testing.umd.js.map +0 -1
- package/bundles/theseam-ui-common-tiled-select.umd.js +0 -866
- package/bundles/theseam-ui-common-tiled-select.umd.js.map +0 -1
- package/bundles/theseam-ui-common-toggle-edit.umd.js +0 -891
- package/bundles/theseam-ui-common-toggle-edit.umd.js.map +0 -1
- package/bundles/theseam-ui-common-toggle-group.umd.js +0 -629
- package/bundles/theseam-ui-common-toggle-group.umd.js.map +0 -1
- package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js +0 -134
- package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js.map +0 -1
- package/bundles/theseam-ui-common-utils.umd.js +0 -1890
- package/bundles/theseam-ui-common-utils.umd.js.map +0 -1
- package/bundles/theseam-ui-common-validators.umd.js +0 -105
- package/bundles/theseam-ui-common-validators.umd.js.map +0 -1
- package/bundles/theseam-ui-common-viewers.umd.js +0 -962
- package/bundles/theseam-ui-common-viewers.umd.js.map +0 -1
- package/bundles/theseam-ui-common-widget.umd.js +0 -1710
- package/bundles/theseam-ui-common-widget.umd.js.map +0 -1
- package/bundles/theseam-ui-common.umd.js +0 -54
- package/bundles/theseam-ui-common.umd.js.map +0 -1
- package/buttons/package.json +0 -11
- package/buttons/theseam-ui-common-buttons.d.ts +0 -4
- package/buttons/theseam-ui-common-buttons.metadata.json +0 -1
- package/card/package.json +0 -11
- package/card/theseam-ui-common-card.d.ts +0 -4
- package/card/theseam-ui-common-card.metadata.json +0 -1
- package/checkbox/package.json +0 -11
- package/checkbox/theseam-ui-common-checkbox.d.ts +0 -4
- package/checkbox/theseam-ui-common-checkbox.metadata.json +0 -1
- package/confirm-dialog/package.json +0 -11
- package/confirm-dialog/theseam-ui-common-confirm-dialog.d.ts +0 -4
- package/confirm-dialog/theseam-ui-common-confirm-dialog.metadata.json +0 -1
- package/core/package.json +0 -11
- package/core/theseam-ui-common-core.d.ts +0 -4
- package/core/theseam-ui-common-core.metadata.json +0 -1
- package/data-exporter/package.json +0 -11
- package/data-exporter/theseam-ui-common-data-exporter.d.ts +0 -4
- package/data-exporter/theseam-ui-common-data-exporter.metadata.json +0 -1
- package/data-filters/package.json +0 -11
- package/data-filters/theseam-ui-common-data-filters.d.ts +0 -4
- package/data-filters/theseam-ui-common-data-filters.metadata.json +0 -1
- package/datatable/package.json +0 -11
- package/datatable/theseam-ui-common-datatable.d.ts +0 -7
- package/datatable/theseam-ui-common-datatable.metadata.json +0 -1
- package/datatable-dynamic/package.json +0 -11
- package/datatable-dynamic/theseam-ui-common-datatable-dynamic.d.ts +0 -4
- package/datatable-dynamic/theseam-ui-common-datatable-dynamic.metadata.json +0 -1
- package/dynamic/package.json +0 -11
- package/dynamic/theseam-ui-common-dynamic.d.ts +0 -4
- package/dynamic/theseam-ui-common-dynamic.metadata.json +0 -1
- package/dynamic-component-loader/package.json +0 -11
- package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.d.ts +0 -4
- package/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.metadata.json +0 -1
- package/esm2015/asset-reader/asset-reader-helper.service.js +0 -68
- package/esm2015/asset-reader/asset-reader.module.js +0 -15
- package/esm2015/asset-reader/encrypted-asset-link.directive.js +0 -69
- package/esm2015/breadcrumbs/breadcrumbs/breadcrumbs.component.js +0 -22
- package/esm2015/breadcrumbs/breadcrumbs.module.js +0 -21
- package/esm2015/breadcrumbs/breadcrumbs.service.js +0 -158
- package/esm2015/buttons/badge-button/badge-button.component.js +0 -79
- package/esm2015/buttons/button/button.component.js +0 -111
- package/esm2015/buttons/buttons.module.js +0 -34
- package/esm2015/buttons/progress-circle-button/progress-circle-button.component.js +0 -60
- package/esm2015/buttons/toggle-button/toggle-button.component.js +0 -88
- package/esm2015/card/card-action/card-action.component.js +0 -27
- package/esm2015/card/card-body/card-body.component.js +0 -32
- package/esm2015/card/card-footer/card-footer.component.js +0 -15
- package/esm2015/card/card-header/card-header.component.js +0 -22
- package/esm2015/card/card.component.js +0 -20
- package/esm2015/card/card.module.js +0 -33
- package/esm2015/checkbox/checkbox.component.js +0 -276
- package/esm2015/checkbox/checkbox.module.js +0 -21
- package/esm2015/checkbox/public-api.js +0 -3
- package/esm2015/confirm-dialog/confirm-click.directive.js +0 -62
- package/esm2015/confirm-dialog/confirm-dialog.component.js +0 -20
- package/esm2015/confirm-dialog/confirm-dialog.module.js +0 -35
- package/esm2015/confirm-dialog/confirm-dialog.service.js +0 -38
- package/esm2015/data-exporter/data-exporter.module.js +0 -17
- package/esm2015/data-exporter/exporters/csv-exporter.js +0 -32
- package/esm2015/data-exporter/exporters/xlsx-exporter.js +0 -30
- package/esm2015/data-filters/data-filters.module.js +0 -50
- package/esm2015/data-filters/filters/data-filter-search/data-filter-search.component.js +0 -110
- package/esm2015/data-filters/filters/data-filter-text/data-filter-text.component.js +0 -138
- package/esm2015/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.js +0 -151
- package/esm2015/datatable/datatable/datatable.component.js +0 -570
- package/esm2015/datatable/datatable-action-menu/datatable-action-menu.component.js +0 -101
- package/esm2015/datatable/datatable-action-menu-item/datatable-action-menu-item.component.js +0 -30
- package/esm2015/datatable/datatable-column/datatable-column.component.js +0 -83
- package/esm2015/datatable/datatable-column-preferences/datatable-column-preferences.component.js +0 -63
- package/esm2015/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.js +0 -52
- package/esm2015/datatable/datatable-export-button/datatable-export-button.component.js +0 -101
- package/esm2015/datatable/datatable-footer/datatable-footer-tpl.directive.js +0 -15
- package/esm2015/datatable/datatable-footer/datatable-footer.directive.js +0 -18
- package/esm2015/datatable/datatable-menu-bar/datatable-menu-bar.component.js +0 -55
- package/esm2015/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.js +0 -16
- package/esm2015/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.js +0 -32
- package/esm2015/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.js +0 -15
- package/esm2015/datatable/datatable-row-detail/datatable-row-detail.directive.js +0 -69
- package/esm2015/datatable/datatable.module.js +0 -126
- package/esm2015/datatable/directives/datatable-action-menu-item.directive.js +0 -46
- package/esm2015/datatable/directives/datatable-action-menu-toggle.directive.js +0 -128
- package/esm2015/datatable/directives/datatable-cell-tpl.directive.js +0 -15
- package/esm2015/datatable/directives/datatable-filter.directive.js +0 -21
- package/esm2015/datatable/directives/datatable-row-action-item.directive.js +0 -15
- package/esm2015/datatable/services/columns-alterations-manager.service.js +0 -134
- package/esm2015/datatable/services/columns-manager.service.js +0 -257
- package/esm2015/datatable/services/datatable-column-changes.service.js +0 -17
- package/esm2015/datatable/services/datatable-preferences.service.js +0 -159
- package/esm2015/datatable/services/datatable-scrollbar-helper.service.js +0 -51
- package/esm2015/datatable/theseam-ui-common-datatable.js +0 -8
- package/esm2015/datatable/utils/with-stored-column-info.js +0 -20
- package/esm2015/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.js +0 -119
- package/esm2015/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.js +0 -53
- package/esm2015/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.js +0 -160
- package/esm2015/datatable-dynamic/datatable-dynamic.component.js +0 -75
- package/esm2015/datatable-dynamic/datatable-dynamic.module.js +0 -49
- package/esm2015/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.js +0 -408
- package/esm2015/datatable-dynamic/dynamic-datatable-def.service.js +0 -84
- package/esm2015/datatable-dynamic/dynamic-datatable-row-actions.service.js +0 -47
- package/esm2015/datatable-dynamic/models/dynamic-datatable-menu-bar.js +0 -2
- package/esm2015/dynamic/action/api/dynamic-action-api.service.js +0 -215
- package/esm2015/dynamic/action/dynamic-action-helper.service.js +0 -163
- package/esm2015/dynamic/action/link/dynamic-action-link.service.js +0 -50
- package/esm2015/dynamic/action/modal/dynamic-action-modal.service.js +0 -92
- package/esm2015/dynamic/dynamic-value-helper.service.js +0 -101
- package/esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.js +0 -33
- package/esm2015/dynamic/evaluators/jexl-evaluator/jexl-evaluator.js +0 -30
- package/esm2015/dynamic/models/dynamic-value-evaluatable-type.js +0 -2
- package/esm2015/dynamic-component-loader/dynamic-component-loader.module.js +0 -47
- package/esm2015/dynamic-component-loader/dynamic-component-loader.service.js +0 -91
- package/esm2015/dynamic-component-loader/dynamic-component-manifest.js +0 -2
- package/esm2015/footer-bar/footer-bar/footer-bar.component.js +0 -16
- package/esm2015/footer-bar/footer-bar.module.js +0 -15
- package/esm2015/form-field/form-field-error.directive.js +0 -28
- package/esm2015/form-field/form-field-help-text.directive.js +0 -15
- package/esm2015/form-field/form-field-label-tpl.directive.js +0 -15
- package/esm2015/form-field/form-field-required-indicator.component.js +0 -38
- package/esm2015/form-field/form-field.component.js +0 -193
- package/esm2015/form-field/form-field.module.js +0 -40
- package/esm2015/form-field/input.directive.js +0 -195
- package/esm2015/form-field/public-api.js +0 -8
- package/esm2015/form-field-error/form-field-error/form-field-error.component.js +0 -27
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.js +0 -25
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list-item.directive.js +0 -18
- package/esm2015/form-field-error/form-field-error-list/form-field-error-list.component.js +0 -370
- package/esm2015/form-field-error/form-field-error.module.js +0 -28
- package/esm2015/framework/base-layout/base-layout.component.js +0 -117
- package/esm2015/framework/base-layout/base-layout.module.js +0 -48
- package/esm2015/framework/base-layout/directives/base-layout-content-footer.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-content-header.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-content.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-nav-toggle.directive.js +0 -37
- package/esm2015/framework/base-layout/directives/base-layout-side-bar-footer.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-side-bar.directive.js +0 -15
- package/esm2015/framework/base-layout/directives/base-layout-top-bar.directive.js +0 -15
- package/esm2015/framework/base-layout/index.js +0 -13
- package/esm2015/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.js +0 -19
- package/esm2015/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.js +0 -25
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.js +0 -121
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.js +0 -173
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.component.js +0 -176
- package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.service.js +0 -165
- package/esm2015/framework/dashboard/dashboard.component.js +0 -25
- package/esm2015/framework/dashboard/dashboard.module.js +0 -39
- package/esm2015/framework/dynamic-router/dynamic-router.module.js +0 -21
- package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.js +0 -114
- package/esm2015/framework/dynamic-router/resolvers/hierarchy-level.resolver.js +0 -26
- package/esm2015/framework/schema-form/schema-form-framework.component.js +0 -16
- package/esm2015/framework/schema-form/schema-form-framework.js +0 -27
- package/esm2015/framework/schema-form/schema-form.module.js +0 -35
- package/esm2015/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.js +0 -41
- package/esm2015/framework/schema-form-controls/schema-form-controls.module.js +0 -50
- package/esm2015/framework/schema-form-controls/schema-form-input/schema-form-input.component.js +0 -34
- package/esm2015/framework/schema-form-controls/schema-form-number/schema-form-number.component.js +0 -40
- package/esm2015/framework/schema-form-controls/schema-form-select/schema-form-select.component.js +0 -36
- package/esm2015/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.js +0 -46
- package/esm2015/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.js +0 -142
- package/esm2015/framework/side-nav/index.js +0 -7
- package/esm2015/framework/side-nav/side-nav-item/side-nav-item.component.js +0 -151
- package/esm2015/framework/side-nav/side-nav-toggle/side-nav-toggle.component.js +0 -36
- package/esm2015/framework/side-nav/side-nav-utils.js +0 -81
- package/esm2015/framework/side-nav/side-nav.component.js +0 -212
- package/esm2015/framework/side-nav/side-nav.module.js +0 -39
- package/esm2015/framework/side-nav/side-nav.service.js +0 -174
- package/esm2015/framework/theseam-ui-common-framework.js +0 -14
- package/esm2015/framework/top-bar/top-bar-item.directive.js +0 -15
- package/esm2015/framework/top-bar/top-bar-menu-btn-detail.directive.js +0 -15
- package/esm2015/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.js +0 -53
- package/esm2015/framework/top-bar/top-bar-menu.directive.js +0 -16
- package/esm2015/framework/top-bar/top-bar-title/top-bar-title.component.js +0 -20
- package/esm2015/framework/top-bar/top-bar.component.js +0 -84
- package/esm2015/framework/top-bar/top-bar.module.js +0 -46
- package/esm2015/google-maps/google-maps/google-maps.component.js +0 -261
- package/esm2015/google-maps/google-maps-controls.service.js +0 -70
- package/esm2015/google-maps/google-maps-feature-helpers.js +0 -186
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.js +0 -195
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.js +0 -163
- package/esm2015/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.js +0 -57
- package/esm2015/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.js +0 -119
- package/esm2015/google-maps/google-maps.module.js +0 -45
- package/esm2015/google-maps/google-maps.service.js +0 -354
- package/esm2015/google-maps/map-control.component.js +0 -65
- package/esm2015/google-maps/map-file-drop/map-file-drop.component.js +0 -135
- package/esm2015/google-maps/map-value-manager.service.js +0 -46
- package/esm2015/google-maps/theseam-ui-common-google-maps.js +0 -6
- package/esm2015/graphql/datatable/create-page-info-observable.js +0 -38
- package/esm2015/graphql/datatable/datatable-graphql-query-ref.js +0 -236
- package/esm2015/graphql/datatable/datatable-graphql.service.js +0 -35
- package/esm2015/graphql/datatable/datatable-helpers.js +0 -170
- package/esm2015/graphql/datatable/get-page-info.js +0 -11
- package/esm2015/graphql/datatable/map-filter-states.js +0 -64
- package/esm2015/graphql/utils/parse-hints.js +0 -116
- package/esm2015/icon/icon/icon.component.js +0 -125
- package/esm2015/icon/icon-btn/icon-btn.component.js +0 -136
- package/esm2015/icon/icon-notification/icon-notification.component.js +0 -120
- package/esm2015/icon/icon.module.js +0 -27
- package/esm2015/layout/layout.module.js +0 -18
- package/esm2015/layout/layout.service.js +0 -24
- package/esm2015/loading/loading/loading.component.js +0 -28
- package/esm2015/loading/loading-overlay.service.js +0 -59
- package/esm2015/loading/loading.module.js +0 -29
- package/esm2015/menu/menu-divider.component.js +0 -15
- package/esm2015/menu/menu-footer/menu-footer.component.js +0 -32
- package/esm2015/menu/menu-footer-action/menu-footer-action.component.js +0 -48
- package/esm2015/menu/menu-header/menu-header.component.js +0 -32
- package/esm2015/menu/menu-item.component.js +0 -127
- package/esm2015/menu/menu-toggle.directive.js +0 -249
- package/esm2015/menu/menu.component.js +0 -174
- package/esm2015/menu/menu.module.js +0 -43
- package/esm2015/modal/directives/modal-close.directive.js +0 -63
- package/esm2015/modal/directives/modal-footer-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-header-icon-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-header-title-tpl.directive.js +0 -15
- package/esm2015/modal/directives/modal-title.directive.js +0 -19
- package/esm2015/modal/directives/modal.directive.js +0 -25
- package/esm2015/modal/modal/modal.component.js +0 -149
- package/esm2015/modal/modal-body/modal-body.component.js +0 -22
- package/esm2015/modal/modal-config.js +0 -47
- package/esm2015/modal/modal-container/modal-container.component.js +0 -220
- package/esm2015/modal/modal-footer/modal-footer.component.js +0 -20
- package/esm2015/modal/modal-header/modal-header.component.js +0 -26
- package/esm2015/modal/modal.models.js +0 -3
- package/esm2015/modal/modal.module.js +0 -83
- package/esm2015/modal/modal.service.js +0 -343
- package/esm2015/modal/route-modal/route-modal.component.js +0 -68
- package/esm2015/popover/popover/popover.component.js +0 -149
- package/esm2015/popover/popover.directive.js +0 -257
- package/esm2015/popover/popover.module.js +0 -30
- package/esm2015/progress/progress-circle/progress-circle.component.js +0 -63
- package/esm2015/progress/progress.module.js +0 -19
- package/esm2015/scrollbar/overlay-scrollbar.directive.js +0 -61
- package/esm2015/scrollbar/overlay-scrollbars-config.js +0 -13
- package/esm2015/scrollbar/overlay-scrollbars.service.js +0 -87
- package/esm2015/scrollbar/scrollbar.module.js +0 -25
- package/esm2015/services/asset-loader.service.js +0 -33
- package/esm2015/services/font-loader.service.js +0 -81
- package/esm2015/services/router-helpers.service.js +0 -26
- package/esm2015/shared/components/password-input-reveal/password-input-reveal.component.js +0 -71
- package/esm2015/shared/directives/auto-focus.directive.js +0 -53
- package/esm2015/shared/directives/click-outside.directive.js +0 -49
- package/esm2015/shared/directives/disable-control.directive.js +0 -27
- package/esm2015/shared/directives/elem-resized.directive.js +0 -29
- package/esm2015/shared/directives/hover-class-toggle.directive.js +0 -80
- package/esm2015/shared/directives/hover-class.directive.js +0 -74
- package/esm2015/shared/directives/ng-select-extra.directive.js +0 -177
- package/esm2015/shared/directives/ngx-quill-extra.directive.js +0 -60
- package/esm2015/shared/pipes/mask-chars.pipe.js +0 -21
- package/esm2015/shared/pipes/truncate.pipe.js +0 -19
- package/esm2015/shared/shared.module.js +0 -58
- package/esm2015/storage/local-storage.service.js +0 -77
- package/esm2015/story-helpers/arg-type-helpers.js +0 -34
- package/esm2015/story-helpers/args-to-tpl.js +0 -76
- package/esm2015/story-helpers/initial-route.service.js +0 -27
- package/esm2015/story-helpers/on-story-bootstrapped-exec.js +0 -64
- package/esm2015/story-helpers/on-story-bootstrapped-trigger.js +0 -38
- package/esm2015/story-helpers/routes-arg-type.js +0 -18
- package/esm2015/story-helpers/story-empty-with-route.component.js +0 -7
- package/esm2015/story-helpers/story-empty.component.js +0 -7
- package/esm2015/story-helpers/story-helper-components.module.js +0 -29
- package/esm2015/story-helpers/story-initial-route.js +0 -24
- package/esm2015/story-helpers/story-modal-container.component.js +0 -77
- package/esm2015/story-helpers/story-toastr.service.js +0 -33
- package/esm2015/tabbed/directives/tabbed-tab-content.directive.js +0 -14
- package/esm2015/tabbed/directives/tabbed-tab.directive.js +0 -36
- package/esm2015/tabbed/public-api.js +0 -8
- package/esm2015/tabbed/tabbed-content/tabbed-content.component.js +0 -17
- package/esm2015/tabbed/tabbed-item/tabbed-item.component.js +0 -30
- package/esm2015/tabbed/tabbed.component.js +0 -111
- package/esm2015/tabbed/tabbed.module.js +0 -36
- package/esm2015/tabbed/tabbed.service.js +0 -28
- package/esm2015/table/table/table.component.js +0 -90
- package/esm2015/table/table.module.js +0 -23
- package/esm2015/table-cell-type/services/table-cell-types-helpers.service.js +0 -70
- package/esm2015/table-cell-type/table-cell-type-selector.component.js +0 -94
- package/esm2015/table-cell-type/table-cell-type.module.js +0 -23
- package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.js +0 -89
- package/esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.component.js +0 -55
- package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.js +0 -87
- package/esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.js +0 -166
- package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.js +0 -85
- package/esm2015/table-cell-types/table-cell-type-manifests.js +0 -103
- package/esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.js +0 -66
- package/esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.js +0 -160
- package/esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.js +0 -78
- package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string.component.js +0 -178
- package/esm2015/table-cell-types/table-cell-types.module.js +0 -78
- package/esm2015/table-cell-types/theseam-ui-common-table-cell-types.js +0 -5
- package/esm2015/tel-input/phone-number.pipe.js +0 -51
- package/esm2015/tel-input/tel-input/tel-input.component.js +0 -175
- package/esm2015/tel-input/tel-input-validator.js +0 -27
- package/esm2015/tel-input/tel-input.directive.js +0 -209
- package/esm2015/tel-input/tel-input.module.js +0 -29
- package/esm2015/tel-input/utils/get-validation-error-message.js +0 -12
- package/esm2015/testing/get-harness.js +0 -16
- package/esm2015/testing/render-story.js +0 -12
- package/esm2015/testing/story-expect.js +0 -39
- package/esm2015/tiled-select/components/tiled-select/tiled-select.component.js +0 -205
- package/esm2015/tiled-select/components/tiled-select-tile/tiled-select-tile.component.js +0 -128
- package/esm2015/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.js +0 -54
- package/esm2015/tiled-select/directives/tiled-select-tile-icon-tpl.directive.js +0 -16
- package/esm2015/tiled-select/directives/tiled-select-tile-label-tpl.directive.js +0 -15
- package/esm2015/tiled-select/directives/tiled-select-tile-overlay.directive.js +0 -19
- package/esm2015/tiled-select/public-api.js +0 -10
- package/esm2015/tiled-select/tiled-select.module.js +0 -35
- package/esm2015/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.js +0 -15
- package/esm2015/toggle-edit/toggle-edit-display-tpl.directive.js +0 -15
- package/esm2015/toggle-edit/toggle-edit-keyboard-listener.service.js +0 -56
- package/esm2015/toggle-edit/toggle-edit.component.js +0 -403
- package/esm2015/toggle-edit/toggle-edit.module.js +0 -40
- package/esm2015/toggle-group/toggle-group-option.directive.js +0 -44
- package/esm2015/toggle-group/toggle-group.directive.js +0 -192
- package/esm2015/toggle-group/toggle-group.module.js +0 -24
- package/esm2015/unsaved-changes-dialog/unsaved-changes-can-deactivate.js +0 -27
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.component.js +0 -20
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.guard.js +0 -35
- package/esm2015/unsaved-changes-dialog/unsaved-changes-dialog.module.js +0 -12
- package/esm2015/utils/file-utils.js +0 -68
- package/esm2015/utils/geo-json/coerce-feature-collection.js +0 -44
- package/esm2015/utils/geo-json/geo-json-to-area.js +0 -11
- package/esm2015/utils/geo-json/is-feature-collection.validator.js +0 -21
- package/esm2015/utils/geo-json/is-only-geometry-types.js +0 -23
- package/esm2015/utils/geo-json/is-only-geometry-types.validator.js +0 -32
- package/esm2015/utils/geo-json/merge-polygons.js +0 -35
- package/esm2015/utils/geo-json/no-inner-rings.validator.js +0 -63
- package/esm2015/utils/geo-json/read-geo-file.js +0 -99
- package/esm2015/utils/geo-json/split-multi-polygons.js +0 -29
- package/esm2015/utils/obj-utils.js +0 -27
- package/esm2015/utils/polling-ticker.js +0 -121
- package/esm2015/utils/subscriber-count.js +0 -46
- package/esm2015/utils/wait-on-condition-async.js +0 -33
- package/esm2015/viewers/html-template-viewer/html-template-viewer.component.js +0 -219
- package/esm2015/viewers/html-template-viewer/html-template-viewer.module.js +0 -23
- package/esm2015/viewers/pdf-viewer/pdf-page/pdf-page.component.js +0 -134
- package/esm2015/viewers/pdf-viewer/pdf-renderer.service.js +0 -27
- package/esm2015/viewers/pdf-viewer/pdf-viewer.component.js +0 -149
- package/esm2015/viewers/pdf-viewer/pdf-viewer.module.js +0 -24
- package/esm2015/widget/directives/widget-drag-handle.directive.js +0 -146
- package/esm2015/widget/directives/widget-icon-tpl.directive.js +0 -15
- package/esm2015/widget/directives/widget-title-tpl.directive.js +0 -15
- package/esm2015/widget/widget/widget.component.js +0 -121
- package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.module.js +0 -22
- package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-description/widget-description.component.js +0 -12
- package/esm2015/widget/widget-content-components/widget-description/widget-description.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.component.js +0 -39
- package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.component.js +0 -31
- package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.module.js +0 -19
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.js +0 -16
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.js +0 -162
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.component.js +0 -19
- package/esm2015/widget/widget-content-components/widget-list-group/widget-list-group.module.js +0 -31
- package/esm2015/widget/widget-content-components/widget-table/widget-table.component.js +0 -35
- package/esm2015/widget/widget-content-components/widget-table/widget-table.module.js +0 -23
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.js +0 -19
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.js +0 -43
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.js +0 -16
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.js +0 -16
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile.component.js +0 -110
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile.module.js +0 -33
- package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.component.js +0 -15
- package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.module.js +0 -21
- package/esm2015/widget/widget-footer/widget-footer.component.js +0 -16
- package/esm2015/widget/widget-registry.service.js +0 -56
- package/esm2015/widget/widget.module.js +0 -70
- package/fesm2015/theseam-ui-common-asset-reader.js +0 -173
- package/fesm2015/theseam-ui-common-asset-reader.js.map +0 -1
- package/fesm2015/theseam-ui-common-breadcrumbs.js +0 -203
- package/fesm2015/theseam-ui-common-breadcrumbs.js.map +0 -1
- package/fesm2015/theseam-ui-common-buttons.js +0 -362
- package/fesm2015/theseam-ui-common-buttons.js.map +0 -1
- package/fesm2015/theseam-ui-common-card.js +0 -145
- package/fesm2015/theseam-ui-common-card.js.map +0 -1
- package/fesm2015/theseam-ui-common-checkbox.js +0 -302
- package/fesm2015/theseam-ui-common-checkbox.js.map +0 -1
- package/fesm2015/theseam-ui-common-confirm-dialog.js +0 -153
- package/fesm2015/theseam-ui-common-confirm-dialog.js.map +0 -1
- package/fesm2015/theseam-ui-common-core.js +0 -231
- package/fesm2015/theseam-ui-common-core.js.map +0 -1
- package/fesm2015/theseam-ui-common-data-exporter.js +0 -81
- package/fesm2015/theseam-ui-common-data-exporter.js.map +0 -1
- package/fesm2015/theseam-ui-common-data-filters.js +0 -455
- package/fesm2015/theseam-ui-common-data-filters.js.map +0 -1
- package/fesm2015/theseam-ui-common-datatable-dynamic.js +0 -991
- package/fesm2015/theseam-ui-common-datatable-dynamic.js.map +0 -1
- package/fesm2015/theseam-ui-common-datatable.js +0 -2530
- package/fesm2015/theseam-ui-common-datatable.js.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic-component-loader.js +0 -143
- package/fesm2015/theseam-ui-common-dynamic-component-loader.js.map +0 -1
- package/fesm2015/theseam-ui-common-dynamic.js +0 -700
- package/fesm2015/theseam-ui-common-dynamic.js.map +0 -1
- package/fesm2015/theseam-ui-common-footer-bar.js +0 -36
- package/fesm2015/theseam-ui-common-footer-bar.js.map +0 -1
- package/fesm2015/theseam-ui-common-form-field-error.js +0 -464
- package/fesm2015/theseam-ui-common-form-field-error.js.map +0 -1
- package/fesm2015/theseam-ui-common-form-field.js +0 -506
- package/fesm2015/theseam-ui-common-form-field.js.map +0 -1
- package/fesm2015/theseam-ui-common-framework.js +0 -2685
- package/fesm2015/theseam-ui-common-framework.js.map +0 -1
- package/fesm2015/theseam-ui-common-google-maps.js +0 -1748
- package/fesm2015/theseam-ui-common-google-maps.js.map +0 -1
- package/fesm2015/theseam-ui-common-graphql.js +0 -881
- package/fesm2015/theseam-ui-common-graphql.js.map +0 -1
- package/fesm2015/theseam-ui-common-icon.js +0 -518
- package/fesm2015/theseam-ui-common-icon.js.map +0 -1
- package/fesm2015/theseam-ui-common-layout.js +0 -89
- package/fesm2015/theseam-ui-common-layout.js.map +0 -1
- package/fesm2015/theseam-ui-common-loading.js +0 -131
- package/fesm2015/theseam-ui-common-loading.js.map +0 -1
- package/fesm2015/theseam-ui-common-menu.js +0 -763
- package/fesm2015/theseam-ui-common-menu.js.map +0 -1
- package/fesm2015/theseam-ui-common-modal.js +0 -1282
- package/fesm2015/theseam-ui-common-modal.js.map +0 -1
- package/fesm2015/theseam-ui-common-models.js +0 -54
- package/fesm2015/theseam-ui-common-models.js.map +0 -1
- package/fesm2015/theseam-ui-common-popover.js +0 -476
- package/fesm2015/theseam-ui-common-popover.js.map +0 -1
- package/fesm2015/theseam-ui-common-progress.js +0 -87
- package/fesm2015/theseam-ui-common-progress.js.map +0 -1
- package/fesm2015/theseam-ui-common-scrollbar.js +0 -184
- package/fesm2015/theseam-ui-common-scrollbar.js.map +0 -1
- package/fesm2015/theseam-ui-common-services.js +0 -140
- package/fesm2015/theseam-ui-common-services.js.map +0 -1
- package/fesm2015/theseam-ui-common-shared.js +0 -696
- package/fesm2015/theseam-ui-common-shared.js.map +0 -1
- package/fesm2015/theseam-ui-common-storage.js +0 -147
- package/fesm2015/theseam-ui-common-storage.js.map +0 -1
- package/fesm2015/theseam-ui-common-story-helpers.js +0 -441
- package/fesm2015/theseam-ui-common-story-helpers.js.map +0 -1
- package/fesm2015/theseam-ui-common-tabbed.js +0 -262
- package/fesm2015/theseam-ui-common-tabbed.js.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-type.js +0 -191
- package/fesm2015/theseam-ui-common-table-cell-type.js.map +0 -1
- package/fesm2015/theseam-ui-common-table-cell-types.js +0 -1080
- package/fesm2015/theseam-ui-common-table-cell-types.js.map +0 -1
- package/fesm2015/theseam-ui-common-table.js +0 -118
- package/fesm2015/theseam-ui-common-table.js.map +0 -1
- package/fesm2015/theseam-ui-common-tel-input.js +0 -733
- package/fesm2015/theseam-ui-common-tel-input.js.map +0 -1
- package/fesm2015/theseam-ui-common-testing.js +0 -191
- package/fesm2015/theseam-ui-common-testing.js.map +0 -1
- package/fesm2015/theseam-ui-common-tiled-select.js +0 -461
- package/fesm2015/theseam-ui-common-tiled-select.js.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-edit.js +0 -521
- package/fesm2015/theseam-ui-common-toggle-edit.js.map +0 -1
- package/fesm2015/theseam-ui-common-toggle-group.js +0 -260
- package/fesm2015/theseam-ui-common-toggle-group.js.map +0 -1
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js +0 -97
- package/fesm2015/theseam-ui-common-unsaved-changes-dialog.js.map +0 -1
- package/fesm2015/theseam-ui-common-utils.js +0 -1321
- package/fesm2015/theseam-ui-common-utils.js.map +0 -1
- package/fesm2015/theseam-ui-common-validators.js +0 -94
- package/fesm2015/theseam-ui-common-validators.js.map +0 -1
- package/fesm2015/theseam-ui-common-viewers.js +0 -563
- package/fesm2015/theseam-ui-common-viewers.js.map +0 -1
- package/fesm2015/theseam-ui-common-widget.js +0 -1189
- package/fesm2015/theseam-ui-common-widget.js.map +0 -1
- package/fesm2015/theseam-ui-common.js +0 -47
- package/fesm2015/theseam-ui-common.js.map +0 -1
- package/footer-bar/package.json +0 -11
- package/footer-bar/theseam-ui-common-footer-bar.d.ts +0 -4
- package/footer-bar/theseam-ui-common-footer-bar.metadata.json +0 -1
- package/form-field/package.json +0 -11
- package/form-field/theseam-ui-common-form-field.d.ts +0 -4
- package/form-field/theseam-ui-common-form-field.metadata.json +0 -1
- package/form-field-error/package.json +0 -11
- package/form-field-error/theseam-ui-common-form-field-error.d.ts +0 -4
- package/form-field-error/theseam-ui-common-form-field-error.metadata.json +0 -1
- package/framework/base-layout/_base-layout-theme.scss +0 -3
- package/framework/base-layout/base-layout.component.scss +0 -95
- package/framework/base-layout/styles/_utilities.scss +0 -3
- package/framework/base-layout/styles/_variables.scss +0 -23
- package/framework/dashboard/_dashboard-theme.scss +0 -3
- package/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.scss +0 -0
- package/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.scss +0 -0
- package/framework/dashboard/dashboard-widgets/dashboard-widgets.component.scss +0 -48
- package/framework/dashboard/dashboard.component.scss +0 -0
- package/framework/dashboard/styles/_utilities.scss +0 -3
- package/framework/dashboard/styles/_variables.scss +0 -2
- package/framework/package.json +0 -11
- package/framework/side-nav/_side-nav-theme.scss +0 -5
- package/framework/side-nav/side-nav-item/side-nav-item.component.scss +0 -185
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.scss +0 -32
- package/framework/side-nav/side-nav.component.scss +0 -47
- package/framework/side-nav/styles/_themes/light/_variables.scss +0 -29
- package/framework/side-nav/styles/_themes/primary/_variables.scss +0 -31
- package/framework/side-nav/styles/_utilities.scss +0 -3
- package/framework/side-nav/styles/_variables.scss +0 -2
- package/framework/theseam-ui-common-framework.d.ts +0 -13
- package/framework/theseam-ui-common-framework.metadata.json +0 -1
- package/framework/top-bar/_top-bar-theme.scss +0 -5
- package/framework/top-bar/styles/_utilities.scss +0 -3
- package/framework/top-bar/styles/_variables.scss +0 -18
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.scss +0 -15
- package/framework/top-bar/top-bar-title/top-bar-title.component.scss +0 -6
- package/framework/top-bar/top-bar.component.scss +0 -39
- package/google-maps/package.json +0 -11
- package/google-maps/theseam-ui-common-google-maps.d.ts +0 -5
- package/google-maps/theseam-ui-common-google-maps.metadata.json +0 -1
- package/graphql/package.json +0 -11
- package/graphql/theseam-ui-common-graphql.d.ts +0 -4
- package/graphql/theseam-ui-common-graphql.metadata.json +0 -1
- package/icon/package.json +0 -11
- package/icon/theseam-ui-common-icon.d.ts +0 -4
- package/icon/theseam-ui-common-icon.metadata.json +0 -1
- package/layout/package.json +0 -11
- package/layout/theseam-ui-common-layout.d.ts +0 -4
- package/layout/theseam-ui-common-layout.metadata.json +0 -1
- package/loading/package.json +0 -11
- package/loading/theseam-ui-common-loading.d.ts +0 -4
- package/loading/theseam-ui-common-loading.metadata.json +0 -1
- package/menu/package.json +0 -11
- package/menu/theseam-ui-common-menu.d.ts +0 -4
- package/menu/theseam-ui-common-menu.metadata.json +0 -1
- package/modal/package.json +0 -11
- package/modal/theseam-ui-common-modal.d.ts +0 -4
- package/modal/theseam-ui-common-modal.metadata.json +0 -1
- package/models/package.json +0 -11
- package/models/theseam-ui-common-models.d.ts +0 -4
- package/models/theseam-ui-common-models.metadata.json +0 -1
- package/popover/package.json +0 -11
- package/popover/theseam-ui-common-popover.d.ts +0 -4
- package/popover/theseam-ui-common-popover.metadata.json +0 -1
- package/progress/package.json +0 -11
- package/progress/progress-circle/_progress-circle-theme.scss +0 -3
- package/progress/progress-circle/progress-circle.component.scss +0 -105
- package/progress/progress-circle/styles/_utilities.scss +0 -3
- package/progress/progress-circle/styles/_variables.scss +0 -8
- package/progress/theseam-ui-common-progress.d.ts +0 -4
- package/progress/theseam-ui-common-progress.metadata.json +0 -1
- package/scrollbar/package.json +0 -11
- package/scrollbar/theseam-ui-common-scrollbar.d.ts +0 -4
- package/scrollbar/theseam-ui-common-scrollbar.metadata.json +0 -1
- package/services/package.json +0 -11
- package/services/theseam-ui-common-services.d.ts +0 -4
- package/services/theseam-ui-common-services.metadata.json +0 -1
- package/shared/package.json +0 -11
- package/shared/theseam-ui-common-shared.d.ts +0 -4
- package/shared/theseam-ui-common-shared.metadata.json +0 -1
- package/storage/package.json +0 -11
- package/storage/theseam-ui-common-storage.d.ts +0 -4
- package/storage/theseam-ui-common-storage.metadata.json +0 -1
- package/story-helpers/package.json +0 -11
- package/story-helpers/theseam-ui-common-story-helpers.d.ts +0 -4
- package/story-helpers/theseam-ui-common-story-helpers.metadata.json +0 -1
- package/styles/_storybook-fixes.scss +0 -7
- package/styles/_variables.scss +0 -0
- package/styles/bootstrap/_bootstrap.scss +0 -45
- package/styles/bootstrap/_bs-styles.scss +0 -105
- package/styles/bootstrap/_bs-utilities.scss +0 -5
- package/styles/bootstrap/_bs-variables.scss +0 -141
- package/styles/common/_forms.scss +0 -15
- package/styles/common/_global.scss +0 -9
- package/styles/common/_hacks.scss +0 -14
- package/styles/common/_table.scss +0 -119
- package/styles/common/_text.scss +0 -1
- package/styles/theme.scss +0 -19
- package/styles/utilities.scss +0 -14
- package/styles/vendor/_vendor.scss +0 -3
- package/styles/vendor/ng-select/_ng-select-bs4.scss +0 -445
- package/styles/vendor/ngx-datatable/_ngx-datatable.scss +0 -501
- package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +0 -174
- package/styles/vendor/ngx-datatable/_themes/dark/_variables.scss +0 -166
- package/styles/vendor/ngx-datatable/_themes/material/_variables.scss +0 -165
- package/styles/vendor/ngx-datatable/_variables.scss +0 -3
- package/styles/vendor/quill/_quill.scss +0 -26
- package/tabbed/package.json +0 -11
- package/tabbed/theseam-ui-common-tabbed.d.ts +0 -4
- package/tabbed/theseam-ui-common-tabbed.metadata.json +0 -1
- package/table/package.json +0 -11
- package/table/theseam-ui-common-table.d.ts +0 -4
- package/table/theseam-ui-common-table.metadata.json +0 -1
- package/table-cell-type/package.json +0 -11
- package/table-cell-type/theseam-ui-common-table-cell-type.d.ts +0 -4
- package/table-cell-type/theseam-ui-common-table-cell-type.metadata.json +0 -1
- package/table-cell-types/package.json +0 -11
- package/table-cell-types/theseam-ui-common-table-cell-types.d.ts +0 -6
- package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +0 -1
- package/tel-input/package.json +0 -11
- package/tel-input/theseam-ui-common-tel-input.d.ts +0 -4
- package/tel-input/theseam-ui-common-tel-input.metadata.json +0 -1
- package/testing/package.json +0 -11
- package/testing/theseam-ui-common-testing.d.ts +0 -4
- package/testing/theseam-ui-common-testing.metadata.json +0 -1
- package/theseam-ui-common.d.ts +0 -4
- package/theseam-ui-common.metadata.json +0 -1
- package/tiled-select/package.json +0 -11
- package/tiled-select/theseam-ui-common-tiled-select.d.ts +0 -4
- package/tiled-select/theseam-ui-common-tiled-select.metadata.json +0 -1
- package/toggle-edit/package.json +0 -11
- package/toggle-edit/theseam-ui-common-toggle-edit.d.ts +0 -4
- package/toggle-edit/theseam-ui-common-toggle-edit.metadata.json +0 -1
- package/toggle-group/package.json +0 -11
- package/toggle-group/theseam-ui-common-toggle-group.d.ts +0 -4
- package/toggle-group/theseam-ui-common-toggle-group.metadata.json +0 -1
- package/unsaved-changes-dialog/package.json +0 -11
- package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.d.ts +0 -4
- package/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.metadata.json +0 -1
- package/utils/package.json +0 -11
- package/utils/theseam-ui-common-utils.d.ts +0 -4
- package/utils/theseam-ui-common-utils.metadata.json +0 -1
- package/validators/package.json +0 -11
- package/validators/theseam-ui-common-validators.d.ts +0 -4
- package/validators/theseam-ui-common-validators.metadata.json +0 -1
- package/viewers/package.json +0 -11
- package/viewers/theseam-ui-common-viewers.d.ts +0 -4
- package/viewers/theseam-ui-common-viewers.metadata.json +0 -1
- package/widget/_widget-theme.scss +0 -15
- package/widget/package.json +0 -11
- package/widget/styles/_utilities.scss +0 -3
- package/widget/styles/_variables.scss +0 -30
- package/widget/theseam-ui-common-widget.d.ts +0 -4
- package/widget/theseam-ui-common-widget.metadata.json +0 -1
- package/widget/widget/widget.component.scss +0 -109
- package/widget/widget-content-components/widget-button-group/widget-button-group.component.scss +0 -3
- package/widget/widget-content-components/widget-content-header/widget-content-header.component.scss +0 -6
- package/widget/widget-content-components/widget-description/widget-description.component.scss +0 -0
- package/widget/widget-content-components/widget-empty-label/widget-empty-label.component.scss +0 -9
- package/widget/widget-content-components/widget-footer-link/widget-footer-link.component.scss +0 -8
- package/widget/widget-content-components/widget-footer-text/widget-footer-text.component.scss +0 -7
- package/widget/widget-content-components/widget-header-badge/widget-header-badge.component.scss +0 -5
- package/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.scss +0 -0
- package/widget/widget-content-components/widget-list-group/widget-list-group.component.scss +0 -0
- package/widget/widget-content-components/widget-table/widget-table.component.scss +0 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.scss +0 -0
- package/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.scss +0 -5
- package/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.scss +0 -14
- package/widget/widget-content-components/widget-tile/widget-tile.component.scss +0 -70
- package/widget/widget-content-components/widget-tile-list/widget-tile-list.component.scss +0 -6
- package/widget/widget-footer/widget-footer.component.scss +0 -16
- /package/{esm2015/asset-reader/encrypted-asset-reader.js → esm2020/asset-reader/encrypted-asset-reader.mjs} +0 -0
- /package/{esm2015/asset-reader/public-api.js → esm2020/asset-reader/public-api.mjs} +0 -0
- /package/{esm2015/asset-reader/theseam-ui-common-asset-reader.js → esm2020/asset-reader/theseam-ui-common-asset-reader.mjs} +0 -0
- /package/{esm2015/breadcrumbs/breadcrumb.js → esm2020/breadcrumbs/breadcrumb.mjs} +0 -0
- /package/{esm2015/breadcrumbs/breadcrumbs-resolver.js → esm2020/breadcrumbs/breadcrumbs-resolver.mjs} +0 -0
- /package/{esm2015/breadcrumbs/public-api.js → esm2020/breadcrumbs/public-api.mjs} +0 -0
- /package/{esm2015/breadcrumbs/theseam-ui-common-breadcrumbs.js → esm2020/breadcrumbs/theseam-ui-common-breadcrumbs.mjs} +0 -0
- /package/{esm2015/buttons/public-api.js → esm2020/buttons/public-api.mjs} +0 -0
- /package/{esm2015/buttons/theseam-ui-common-buttons.js → esm2020/buttons/theseam-ui-common-buttons.mjs} +0 -0
- /package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
- /package/{esm2015/card/theseam-ui-common-card.js → esm2020/card/theseam-ui-common-card.mjs} +0 -0
- /package/{esm2015/checkbox/theseam-ui-common-checkbox.js → esm2020/checkbox/theseam-ui-common-checkbox.mjs} +0 -0
- /package/{esm2015/confirm-dialog/public-api.js → esm2020/confirm-dialog/public-api.mjs} +0 -0
- /package/{esm2015/confirm-dialog/theseam-ui-common-confirm-dialog.js → esm2020/confirm-dialog/theseam-ui-common-confirm-dialog.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/active.js → esm2020/core/common-behaviors/active.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/constructor.js → esm2020/core/common-behaviors/constructor.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/disabled.js → esm2020/core/common-behaviors/disabled.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/element-ref.js → esm2020/core/common-behaviors/element-ref.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/index.js → esm2020/core/common-behaviors/index.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/initialized.js → esm2020/core/common-behaviors/initialized.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/renderer2.js → esm2020/core/common-behaviors/renderer2.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/size.js → esm2020/core/common-behaviors/size.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/tabindex.js → esm2020/core/common-behaviors/tabindex.mjs} +0 -0
- /package/{esm2015/core/common-behaviors/theme.js → esm2020/core/common-behaviors/theme.mjs} +0 -0
- /package/{esm2015/core/input-decorators/index.js → esm2020/core/input-decorators/index.mjs} +0 -0
- /package/{esm2015/core/input-decorators/input-boolean.decorator.js → esm2020/core/input-decorators/input-boolean.decorator.mjs} +0 -0
- /package/{esm2015/core/input-decorators/input-number.decorator.js → esm2020/core/input-decorators/input-number.decorator.mjs} +0 -0
- /package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +0 -0
- /package/{esm2015/core/theseam-ui-common-core.js → esm2020/core/theseam-ui-common-core.mjs} +0 -0
- /package/{esm2015/data-exporter/data-exporter.js → esm2020/data-exporter/data-exporter.mjs} +0 -0
- /package/{esm2015/data-exporter/public-api.js → esm2020/data-exporter/public-api.mjs} +0 -0
- /package/{esm2015/data-exporter/theseam-ui-common-data-exporter.js → esm2020/data-exporter/theseam-ui-common-data-exporter.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter-container.js → esm2020/data-filters/data-filter-container.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter-def.js → esm2020/data-filters/data-filter-def.mjs} +0 -0
- /package/{esm2015/data-filters/data-filter.js → esm2020/data-filters/data-filter.mjs} +0 -0
- /package/{esm2015/data-filters/filters/data-filter-search/search-filter-options.js → esm2020/data-filters/filters/data-filter-search/search-filter-options.mjs} +0 -0
- /package/{esm2015/data-filters/filters/data-filter-text/text-filter-options.js → esm2020/data-filters/filters/data-filter-text/text-filter-options.mjs} +0 -0
- /package/{esm2015/data-filters/public-api.js → esm2020/data-filters/public-api.mjs} +0 -0
- /package/{esm2015/data-filters/theseam-ui-common-data-filters.js → esm2020/data-filters/theseam-ui-common-data-filters.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alteration.js → esm2020/datatable/models/columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/hide-column.columns-alteration.js → esm2020/datatable/models/columns-alterations/hide-column.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/order.columns-alteration.js → esm2020/datatable/models/columns-alterations/order.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/sort.columns-alteration.js → esm2020/datatable/models/columns-alterations/sort.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/columns-alterations/width.columns-alteration.js → esm2020/datatable/models/columns-alterations/width.columns-alteration.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-accessor.js → esm2020/datatable/models/datatable-accessor.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-data-source.js → esm2020/datatable/models/datatable-data-source.mjs} +0 -0
- /package/{esm2015/datatable/models/datatable-gql-data-source.js → esm2020/datatable/models/datatable-gql-data-source.mjs} +0 -0
- /package/{esm2015/datatable/models/internal-column-props.js → esm2020/datatable/models/internal-column-props.mjs} +0 -0
- /package/{esm2015/datatable/models/menubar-item-data.js → esm2020/datatable/models/menubar-item-data.mjs} +0 -0
- /package/{esm2015/datatable/models/page-info.js → esm2020/datatable/models/page-info.mjs} +0 -0
- /package/{esm2015/datatable/models/preferences-accessor.js → esm2020/datatable/models/preferences-accessor.mjs} +0 -0
- /package/{esm2015/datatable/models/preferences.js → esm2020/datatable/models/preferences.mjs} +0 -0
- /package/{esm2015/datatable/models/sort-event.js → esm2020/datatable/models/sort-event.mjs} +0 -0
- /package/{esm2015/datatable/models/sort-item.js → esm2020/datatable/models/sort-item.mjs} +0 -0
- /package/{esm2015/datatable/models/table-column.js → esm2020/datatable/models/table-column.mjs} +0 -0
- /package/{esm2015/datatable/public-api.js → esm2020/datatable/public-api.mjs} +0 -0
- /package/{esm2015/datatable/tokens/datatable-accessor.js → esm2020/datatable/tokens/datatable-accessor.mjs} +0 -0
- /package/{esm2015/datatable/tokens/datatable-preferences-accessor.js → esm2020/datatable/tokens/datatable-preferences-accessor.mjs} +0 -0
- /package/{esm2015/datatable/tokens/menubar-item-data.js → esm2020/datatable/tokens/menubar-item-data.mjs} +0 -0
- /package/{esm2015/datatable/utils/create-action-menu-column.js → esm2020/datatable/utils/create-action-menu-column.mjs} +0 -0
- /package/{esm2015/datatable/utils/create-checkbox-column.js → esm2020/datatable/utils/create-checkbox-column.mjs} +0 -0
- /package/{esm2015/datatable/utils/get-column-prop.js → esm2020/datatable/utils/get-column-prop.mjs} +0 -0
- /package/{esm2015/datatable/utils/map-columns-alterations-states.js → esm2020/datatable/utils/map-columns-alterations-states.mjs} +0 -0
- /package/{esm2015/datatable/utils/remove-unused-diffs.js → esm2020/datatable/utils/remove-unused-diffs.mjs} +0 -0
- /package/{esm2015/datatable/utils/set-column-defaults.js → esm2020/datatable/utils/set-column-defaults.mjs} +0 -0
- /package/{esm2015/datatable/utils/translate-templates.js → esm2020/datatable/utils/translate-templates.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-def.js → esm2020/datatable-dynamic/datatable-dynamic-def.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.js → esm2020/datatable-dynamic/datatable-dynamic-menu-bar-item-manifest.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/datatable-dynamic-menu-bar-token.js → esm2020/datatable-dynamic/datatable-dynamic-menu-bar-token.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-action-menu-record.js → esm2020/datatable-dynamic/models/dynamic-datatable-action-menu-record.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-filter-menu-item.js → esm2020/datatable-dynamic/models/dynamic-datatable-filter-menu-item.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action-context.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action-context.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/dynamic-datatable-row-action.js → esm2020/datatable-dynamic/models/dynamic-datatable-row-action.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/models/index.js → esm2020/datatable-dynamic/models/index.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/public-api.js → esm2020/datatable-dynamic/public-api.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/theseam-ui-common-datatable-dynamic.js → esm2020/datatable-dynamic/theseam-ui-common-datatable-dynamic.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-columns-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-def-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-filter-menu-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.js → esm2020/datatable-dynamic/utils/defaults/set-dynamic-datatable-options-defaults.mjs} +0 -0
- /package/{esm2015/datatable-dynamic/utils/index.js → esm2020/datatable-dynamic/utils/index.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api-def.js → esm2020/dynamic/action/api/dynamic-action-api-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api-errors.js → esm2020/dynamic/action/api/dynamic-action-api-errors.mjs} +0 -0
- /package/{esm2015/dynamic/action/api/dynamic-action-api.js → esm2020/dynamic/action/api/dynamic-action-api.mjs} +0 -0
- /package/{esm2015/dynamic/action/index.js → esm2020/dynamic/action/index.mjs} +0 -0
- /package/{esm2015/dynamic/action/link/dynamic-action-link-def.js → esm2020/dynamic/action/link/dynamic-action-link-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/link/dynamic-action-link.js → esm2020/dynamic/action/link/dynamic-action-link.mjs} +0 -0
- /package/{esm2015/dynamic/action/modal/dynamic-action-modal-def.js → esm2020/dynamic/action/modal/dynamic-action-modal-def.mjs} +0 -0
- /package/{esm2015/dynamic/action/modal/dynamic-action-modal.js → esm2020/dynamic/action/modal/dynamic-action-modal.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.js → esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-value.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/exporters-data-evaluator/index.js → esm2020/dynamic/evaluators/exporters-data-evaluator/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/index.js → esm2020/dynamic/evaluators/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/jexl-evaluator/index.js → esm2020/dynamic/evaluators/jexl-evaluator/index.mjs} +0 -0
- /package/{esm2015/dynamic/evaluators/jexl-evaluator/jexl-value.js → esm2020/dynamic/evaluators/jexl-evaluator/jexl-value.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-confirm-def.js → esm2020/dynamic/models/dynamic-action-confirm-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-context.js → esm2020/dynamic/models/dynamic-action-context.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-def.js → esm2020/dynamic/models/dynamic-action-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-anchor-def.js → esm2020/dynamic/models/dynamic-action-ui-anchor-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-button-def.js → esm2020/dynamic/models/dynamic-action-ui-button-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action-ui-def.js → esm2020/dynamic/models/dynamic-action-ui-def.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-action.js → esm2020/dynamic/models/dynamic-action.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-base-type.js → esm2020/dynamic/models/dynamic-value-base-type.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-evaluator.js → esm2020/dynamic/models/dynamic-value-evaluator.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-primitive.js → esm2020/dynamic/models/dynamic-value-primitive.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value-type.js → esm2020/dynamic/models/dynamic-value-type.mjs} +0 -0
- /package/{esm2015/dynamic/models/dynamic-value.js → esm2020/dynamic/models/dynamic-value.mjs} +0 -0
- /package/{esm2015/dynamic/models/index.js → esm2020/dynamic/models/index.mjs} +0 -0
- /package/{esm2015/dynamic/public-api.js → esm2020/dynamic/public-api.mjs} +0 -0
- /package/{esm2015/dynamic/theseam-ui-common-dynamic.js → esm2020/dynamic/theseam-ui-common-dynamic.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/api-config.js → esm2020/dynamic/tokens/api-config.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-action.js → esm2020/dynamic/tokens/dynamic-action.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-data.js → esm2020/dynamic/tokens/dynamic-data.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/dynamic-value-evaluator.js → esm2020/dynamic/tokens/dynamic-value-evaluator.mjs} +0 -0
- /package/{esm2015/dynamic/tokens/index.js → esm2020/dynamic/tokens/index.mjs} +0 -0
- /package/{esm2015/dynamic/utils/index.js → esm2020/dynamic/utils/index.mjs} +0 -0
- /package/{esm2015/dynamic/utils/is-action-type.js → esm2020/dynamic/utils/is-action-type.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/dynamic-component-tokens.js → esm2020/dynamic-component-loader/dynamic-component-tokens.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/public-api.js → esm2020/dynamic-component-loader/public-api.mjs} +0 -0
- /package/{esm2015/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.js → esm2020/dynamic-component-loader/theseam-ui-common-dynamic-component-loader.mjs} +0 -0
- /package/{esm2015/footer-bar/public-api.js → esm2020/footer-bar/public-api.mjs} +0 -0
- /package/{esm2015/footer-bar/theseam-ui-common-footer-bar.js → esm2020/footer-bar/theseam-ui-common-footer-bar.mjs} +0 -0
- /package/{esm2015/form-field/theseam-ui-common-form-field.js → esm2020/form-field/theseam-ui-common-form-field.mjs} +0 -0
- /package/{esm2015/form-field-error/public-api.js → esm2020/form-field-error/public-api.mjs} +0 -0
- /package/{esm2015/form-field-error/theseam-ui-common-form-field-error.js → esm2020/form-field-error/theseam-ui-common-form-field-error.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-action.js → esm2020/framework/base-layout/base-layout-action.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-nav.js → esm2020/framework/base-layout/base-layout-nav.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-ref.js → esm2020/framework/base-layout/base-layout-ref.mjs} +0 -0
- /package/{esm2015/framework/base-layout/base-layout-tokens.js → esm2020/framework/base-layout/base-layout-tokens.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-item.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-item.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor-token.mjs} +0 -0
- /package/{esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.js → esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences-accessor.mjs} +0 -0
- /package/{esm2015/framework/dashboard/index.js → esm2020/framework/dashboard/index.mjs} +0 -0
- /package/{esm2015/framework/dynamic-router/dynamic-route-def.js → esm2020/framework/dynamic-router/dynamic-route-def.mjs} +0 -0
- /package/{esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.js → esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-route-animations.mjs} +0 -0
- /package/{esm2015/framework/dynamic-router/index.js → esm2020/framework/dynamic-router/index.mjs} +0 -0
- /package/{esm2015/framework/public-api.js → esm2020/framework/public-api.mjs} +0 -0
- /package/{esm2015/framework/schema-form/index.js → esm2020/framework/schema-form/index.mjs} +0 -0
- /package/{esm2015/framework/side-nav/side-nav.models.js → esm2020/framework/side-nav/side-nav.models.mjs} +0 -0
- /package/{esm2015/framework/top-bar/index.js → esm2020/framework/top-bar/index.mjs} +0 -0
- /package/{esm2015/google-maps/google-maps-contextmenu.js → esm2020/google-maps/google-maps-contextmenu.mjs} +0 -0
- /package/{esm2015/google-maps/map-controls-service.js → esm2020/google-maps/map-controls-service.mjs} +0 -0
- /package/{esm2015/google-maps/public-api.js → esm2020/google-maps/public-api.mjs} +0 -0
- /package/{esm2015/graphql/datatable/index.js → esm2020/graphql/datatable/index.mjs} +0 -0
- /package/{esm2015/graphql/datatable/map-page-info.js → esm2020/graphql/datatable/map-page-info.mjs} +0 -0
- /package/{esm2015/graphql/datatable/mapper-context.js → esm2020/graphql/datatable/mapper-context.mjs} +0 -0
- /package/{esm2015/graphql/models/direction.js → esm2020/graphql/models/direction.mjs} +0 -0
- /package/{esm2015/graphql/models/gql-datatable-accessor.js → esm2020/graphql/models/gql-datatable-accessor.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-definition.js → esm2020/graphql/models/hint-definition.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-transform-operation.js → esm2020/graphql/models/hint-transform-operation.mjs} +0 -0
- /package/{esm2015/graphql/models/hint-transformer.js → esm2020/graphql/models/hint-transformer.mjs} +0 -0
- /package/{esm2015/graphql/models/hints-kind.js → esm2020/graphql/models/hints-kind.mjs} +0 -0
- /package/{esm2015/graphql/models/hints-token.js → esm2020/graphql/models/hints-token.mjs} +0 -0
- /package/{esm2015/graphql/models/index.js → esm2020/graphql/models/index.mjs} +0 -0
- /package/{esm2015/graphql/models/query-processing-config.js → esm2020/graphql/models/query-processing-config.mjs} +0 -0
- /package/{esm2015/graphql/models/variable.js → esm2020/graphql/models/variable.mjs} +0 -0
- /package/{esm2015/graphql/public-api.js → esm2020/graphql/public-api.mjs} +0 -0
- /package/{esm2015/graphql/theseam-ui-common-graphql.js → esm2020/graphql/theseam-ui-common-graphql.mjs} +0 -0
- /package/{esm2015/graphql/utils/contains-variable.js → esm2020/graphql/utils/contains-variable.mjs} +0 -0
- /package/{esm2015/graphql/utils/gql-var.js → esm2020/graphql/utils/gql-var.mjs} +0 -0
- /package/{esm2015/graphql/utils/hints-tokens-containing-hint.js → esm2020/graphql/utils/hints-tokens-containing-hint.mjs} +0 -0
- /package/{esm2015/graphql/utils/index.js → esm2020/graphql/utils/index.mjs} +0 -0
- /package/{esm2015/graphql/utils/inline-variables.js → esm2020/graphql/utils/inline-variables.mjs} +0 -0
- /package/{esm2015/graphql/utils/parse-comments.js → esm2020/graphql/utils/parse-comments.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable-definition.js → esm2020/graphql/utils/remove-variable-definition.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable-definitions-not-defined.js → esm2020/graphql/utils/remove-variable-definitions-not-defined.mjs} +0 -0
- /package/{esm2015/graphql/utils/remove-variable.js → esm2020/graphql/utils/remove-variable.mjs} +0 -0
- /package/{esm2015/graphql/utils/to-gql.js → esm2020/graphql/utils/to-gql.mjs} +0 -0
- /package/{esm2015/icon/icon.js → esm2020/icon/icon.mjs} +0 -0
- /package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
- /package/{esm2015/icon/theseam-ui-common-icon.js → esm2020/icon/theseam-ui-common-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/file-extension-icon.js → esm2020/icon/utils/file-extension-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/get-known-icon.js → esm2020/icon/utils/get-known-icon.mjs} +0 -0
- /package/{esm2015/icon/utils/index.js → esm2020/icon/utils/index.mjs} +0 -0
- /package/{esm2015/layout/breakpoint-aliases.js → esm2020/layout/breakpoint-aliases.mjs} +0 -0
- /package/{esm2015/layout/observe-media-query.js → esm2020/layout/observe-media-query.mjs} +0 -0
- /package/{esm2015/layout/public-api.js → esm2020/layout/public-api.mjs} +0 -0
- /package/{esm2015/layout/theseam-ui-common-layout.js → esm2020/layout/theseam-ui-common-layout.mjs} +0 -0
- /package/{esm2015/loading/loading-themes.js → esm2020/loading/loading-themes.mjs} +0 -0
- /package/{esm2015/loading/loading.models.js → esm2020/loading/loading.models.mjs} +0 -0
- /package/{esm2015/loading/public-api.js → esm2020/loading/public-api.mjs} +0 -0
- /package/{esm2015/loading/theseam-ui-common-loading.js → esm2020/loading/theseam-ui-common-loading.mjs} +0 -0
- /package/{esm2015/menu/menu-animations.js → esm2020/menu/menu-animations.mjs} +0 -0
- /package/{esm2015/menu/menu-panel-token.js → esm2020/menu/menu-panel-token.mjs} +0 -0
- /package/{esm2015/menu/menu-panel.js → esm2020/menu/menu-panel.mjs} +0 -0
- /package/{esm2015/menu/public-api.js → esm2020/menu/public-api.mjs} +0 -0
- /package/{esm2015/menu/theseam-ui-common-menu.js → esm2020/menu/theseam-ui-common-menu.mjs} +0 -0
- /package/{esm2015/modal/modal-injectors.js → esm2020/modal/modal-injectors.mjs} +0 -0
- /package/{esm2015/modal/modal-ref.js → esm2020/modal/modal-ref.mjs} +0 -0
- /package/{esm2015/modal/modal-utils.js → esm2020/modal/modal-utils.mjs} +0 -0
- /package/{esm2015/modal/public-api.js → esm2020/modal/public-api.mjs} +0 -0
- /package/{esm2015/modal/theseam-ui-common-modal.js → esm2020/modal/theseam-ui-common-modal.mjs} +0 -0
- /package/{esm2015/models/component-type.js → esm2020/models/component-type.mjs} +0 -0
- /package/{esm2015/models/http-status-codes.js → esm2020/models/http-status-codes.mjs} +0 -0
- /package/{esm2015/models/public-api.js → esm2020/models/public-api.mjs} +0 -0
- /package/{esm2015/models/size-prefixes.js → esm2020/models/size-prefixes.mjs} +0 -0
- /package/{esm2015/models/size-types.js → esm2020/models/size-types.mjs} +0 -0
- /package/{esm2015/models/theme-names.js → esm2020/models/theme-names.mjs} +0 -0
- /package/{esm2015/models/theme-prefixes.js → esm2020/models/theme-prefixes.mjs} +0 -0
- /package/{esm2015/models/theme-types.js → esm2020/models/theme-types.mjs} +0 -0
- /package/{esm2015/models/theseam-ui-common-models.js → esm2020/models/theseam-ui-common-models.mjs} +0 -0
- /package/{esm2015/popover/popover-animations.js → esm2020/popover/popover-animations.mjs} +0 -0
- /package/{esm2015/popover/public-api.js → esm2020/popover/public-api.mjs} +0 -0
- /package/{esm2015/popover/theseam-ui-common-popover.js → esm2020/popover/theseam-ui-common-popover.mjs} +0 -0
- /package/{esm2015/progress/public-api.js → esm2020/progress/public-api.mjs} +0 -0
- /package/{esm2015/progress/theseam-ui-common-progress.js → esm2020/progress/theseam-ui-common-progress.mjs} +0 -0
- /package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- /package/{esm2015/scrollbar/overlay-scrollbars-config-model.js → esm2020/scrollbar/overlay-scrollbars-config-model.mjs} +0 -0
- /package/{esm2015/scrollbar/public-api.js → esm2020/scrollbar/public-api.mjs} +0 -0
- /package/{esm2015/scrollbar/theseam-ui-common-scrollbar.js → esm2020/scrollbar/theseam-ui-common-scrollbar.mjs} +0 -0
- /package/{esm2015/services/public-api.js → esm2020/services/public-api.mjs} +0 -0
- /package/{esm2015/services/theseam-ui-common-services.js → esm2020/services/theseam-ui-common-services.mjs} +0 -0
- /package/{esm2015/shared/components/index.js → esm2020/shared/components/index.mjs} +0 -0
- /package/{esm2015/shared/directives/index.js → esm2020/shared/directives/index.mjs} +0 -0
- /package/{esm2015/shared/pipes/index.js → esm2020/shared/pipes/index.mjs} +0 -0
- /package/{esm2015/shared/public-api.js → esm2020/shared/public-api.mjs} +0 -0
- /package/{esm2015/shared/theseam-ui-common-shared.js → esm2020/shared/theseam-ui-common-shared.mjs} +0 -0
- /package/{esm2015/storage/localstorage-memory.js → esm2020/storage/localstorage-memory.mjs} +0 -0
- /package/{esm2015/storage/public-api.js → esm2020/storage/public-api.mjs} +0 -0
- /package/{esm2015/storage/theseam-ui-common-storage.js → esm2020/storage/theseam-ui-common-storage.mjs} +0 -0
- /package/{esm2015/story-helpers/initial-route-factory.js → esm2020/story-helpers/initial-route-factory.mjs} +0 -0
- /package/{esm2015/story-helpers/public-api.js → esm2020/story-helpers/public-api.mjs} +0 -0
- /package/{esm2015/story-helpers/route-button.js → esm2020/story-helpers/route-button.mjs} +0 -0
- /package/{esm2015/story-helpers/theseam-ui-common-story-helpers.js → esm2020/story-helpers/theseam-ui-common-story-helpers.mjs} +0 -0
- /package/{esm2015/tabbed/theseam-ui-common-tabbed.js → esm2020/tabbed/theseam-ui-common-tabbed.mjs} +0 -0
- /package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
- /package/{esm2015/table/theseam-ui-common-table.js → esm2020/table/theseam-ui-common-table.mjs} +0 -0
- /package/{esm2015/table-cell-type/public-api.js → esm2020/table-cell-type/public-api.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-action.js → esm2020/table-cell-type/table-cell-type-action.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-column.js → esm2020/table-cell-type/table-cell-type-column.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-config.js → esm2020/table-cell-type/table-cell-type-config.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-export-props.js → esm2020/table-cell-type/table-cell-type-export-props.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-manifest-provider.js → esm2020/table-cell-type/table-cell-type-manifest-provider.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-models.js → esm2020/table-cell-type/table-cell-type-models.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-name.js → esm2020/table-cell-type/table-cell-type-name.mjs} +0 -0
- /package/{esm2015/table-cell-type/table-cell-type-tokens.js → esm2020/table-cell-type/table-cell-type-tokens.mjs} +0 -0
- /package/{esm2015/table-cell-type/theseam-ui-common-table-cell-type.js → esm2020/table-cell-type/theseam-ui-common-table-cell-type.mjs} +0 -0
- /package/{esm2015/table-cell-types/public-api.js → esm2020/table-cell-types/public-api.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.js → esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date-config.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-date/table-cell-type-date.js → esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.js → esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.js → esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.js → esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.js → esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.js → esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.js → esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.mjs} +0 -0
- /package/{esm2015/table-cell-types/table-cell-type-string/table-cell-type-string-config.js → esm2020/table-cell-types/table-cell-type-string/table-cell-type-string-config.mjs} +0 -0
- /package/{esm2015/tel-input/intl-tel-input.js → esm2020/tel-input/intl-tel-input.mjs} +0 -0
- /package/{esm2015/tel-input/models/index.js → esm2020/tel-input/models/index.mjs} +0 -0
- /package/{esm2015/tel-input/models/tel-input-country-data.js → esm2020/tel-input/models/tel-input-country-data.mjs} +0 -0
- /package/{esm2015/tel-input/models/tel-input-number-format-name.js → esm2020/tel-input/models/tel-input-number-format-name.mjs} +0 -0
- /package/{esm2015/tel-input/public-api.js → esm2020/tel-input/public-api.mjs} +0 -0
- /package/{esm2015/tel-input/tel-input-constants.js → esm2020/tel-input/tel-input-constants.mjs} +0 -0
- /package/{esm2015/tel-input/theseam-ui-common-tel-input.js → esm2020/tel-input/theseam-ui-common-tel-input.mjs} +0 -0
- /package/{esm2015/tel-input/utils/add-country-code.js → esm2020/tel-input/utils/add-country-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/coerce-phone-number-format.js → esm2020/tel-input/utils/coerce-phone-number-format.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-country-code.js → esm2020/tel-input/utils/get-country-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-dial-code.js → esm2020/tel-input/utils/get-dial-code.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-global-intl-tel-input-globals.js → esm2020/tel-input/utils/get-global-intl-tel-input-globals.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-global-intl-tel-input-utils.js → esm2020/tel-input/utils/get-global-intl-tel-input-utils.mjs} +0 -0
- /package/{esm2015/tel-input/utils/get-intl-tel-input-utils.js → esm2020/tel-input/utils/get-intl-tel-input-utils.mjs} +0 -0
- /package/{esm2015/tel-input/utils/index.js → esm2020/tel-input/utils/index.mjs} +0 -0
- /package/{esm2015/tel-input/utils/process-country-codes.js → esm2020/tel-input/utils/process-country-codes.mjs} +0 -0
- /package/{esm2015/testing/current-tick-time.js → esm2020/testing/current-tick-time.mjs} +0 -0
- /package/{esm2015/testing/fake-toastr.js → esm2020/testing/fake-toastr.mjs} +0 -0
- /package/{esm2015/testing/public-api.js → esm2020/testing/public-api.mjs} +0 -0
- /package/{esm2015/testing/theseam-ui-common-testing.js → esm2020/testing/theseam-ui-common-testing.mjs} +0 -0
- /package/{esm2015/testing/tick-helper.js → esm2020/testing/tick-helper.mjs} +0 -0
- /package/{esm2015/theseam-ui-common.js → esm2020/theseam-ui-common.mjs} +0 -0
- /package/{esm2015/tiled-select/theseam-ui-common-tiled-select.js → esm2020/tiled-select/theseam-ui-common-tiled-select.mjs} +0 -0
- /package/{esm2015/tiled-select/tiled-select.models.js → esm2020/tiled-select/tiled-select.models.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/can-toggle-edit.js → esm2020/toggle-edit/models/can-toggle-edit.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/index.js → esm2020/toggle-edit/models/index.mjs} +0 -0
- /package/{esm2015/toggle-edit/models/toggle-edit-ref.js → esm2020/toggle-edit/models/toggle-edit-ref.mjs} +0 -0
- /package/{esm2015/toggle-edit/public-api.js → esm2020/toggle-edit/public-api.mjs} +0 -0
- /package/{esm2015/toggle-edit/theseam-ui-common-toggle-edit.js → esm2020/toggle-edit/theseam-ui-common-toggle-edit.mjs} +0 -0
- /package/{esm2015/toggle-group/public-api.js → esm2020/toggle-group/public-api.mjs} +0 -0
- /package/{esm2015/toggle-group/theseam-ui-common-toggle-group.js → esm2020/toggle-group/theseam-ui-common-toggle-group.mjs} +0 -0
- /package/{esm2015/unsaved-changes-dialog/public-api.js → esm2020/unsaved-changes-dialog/public-api.mjs} +0 -0
- /package/{esm2015/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.js → esm2020/unsaved-changes-dialog/theseam-ui-common-unsaved-changes-dialog.mjs} +0 -0
- /package/{esm2015/utils/array-move.js → esm2020/utils/array-move.mjs} +0 -0
- /package/{esm2015/utils/calc-percentage.js → esm2020/utils/calc-percentage.mjs} +0 -0
- /package/{esm2015/utils/cdk/get-closest-widget-cdk-drag.js → esm2020/utils/cdk/get-closest-widget-cdk-drag.mjs} +0 -0
- /package/{esm2015/utils/create-padding.js → esm2020/utils/create-padding.mjs} +0 -0
- /package/{esm2015/utils/form/get-control-name.js → esm2020/utils/form/get-control-name.mjs} +0 -0
- /package/{esm2015/utils/form/get-control-path.js → esm2020/utils/form/get-control-path.mjs} +0 -0
- /package/{esm2015/utils/form/has-required-control.js → esm2020/utils/form/has-required-control.mjs} +0 -0
- /package/{esm2015/utils/form/is-empty-input-value.js → esm2020/utils/form/is-empty-input-value.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-is-different.js → esm2020/utils/form/observe-control-is-different.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-status.js → esm2020/utils/form/observe-control-status.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-valid.js → esm2020/utils/form/observe-control-valid.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-value-change.js → esm2020/utils/form/observe-control-value-change.mjs} +0 -0
- /package/{esm2015/utils/form/observe-control-value.js → esm2020/utils/form/observe-control-value.mjs} +0 -0
- /package/{esm2015/utils/form/wait-on-non-pending-status.js → esm2020/utils/form/wait-on-non-pending-status.mjs} +0 -0
- /package/{esm2015/utils/fractional-digits-count.js → esm2020/utils/fractional-digits-count.mjs} +0 -0
- /package/{esm2015/utils/geo-json/min-max-points.validator.js → esm2020/utils/geo-json/min-max-points.validator.mjs} +0 -0
- /package/{esm2015/utils/geo-json/no-kinks.validator.js → esm2020/utils/geo-json/no-kinks.validator.mjs} +0 -0
- /package/{esm2015/utils/get-attribute.js → esm2020/utils/get-attribute.mjs} +0 -0
- /package/{esm2015/utils/has-attribute.js → esm2020/utils/has-attribute.mjs} +0 -0
- /package/{esm2015/utils/has-property.js → esm2020/utils/has-property.mjs} +0 -0
- /package/{esm2015/utils/input-masks.js → esm2020/utils/input-masks.mjs} +0 -0
- /package/{esm2015/utils/is-absolute-url.js → esm2020/utils/is-absolute-url.mjs} +0 -0
- /package/{esm2015/utils/is-null-or-undefined.js → esm2020/utils/is-null-or-undefined.mjs} +0 -0
- /package/{esm2015/utils/is-numeric.js → esm2020/utils/is-numeric.mjs} +0 -0
- /package/{esm2015/utils/load-style-sheet.js → esm2020/utils/load-style-sheet.mjs} +0 -0
- /package/{esm2015/utils/load-style.js → esm2020/utils/load-style.mjs} +0 -0
- /package/{esm2015/utils/not-null-or-undefined.js → esm2020/utils/not-null-or-undefined.mjs} +0 -0
- /package/{esm2015/utils/observe-query-list.js → esm2020/utils/observe-query-list.mjs} +0 -0
- /package/{esm2015/utils/operators/index.js → esm2020/utils/operators/index.mjs} +0 -0
- /package/{esm2015/utils/operators/map-each.js → esm2020/utils/operators/map-each.mjs} +0 -0
- /package/{esm2015/utils/operators/tap-first.js → esm2020/utils/operators/tap-first.mjs} +0 -0
- /package/{esm2015/utils/pad-end.js → esm2020/utils/pad-end.mjs} +0 -0
- /package/{esm2015/utils/pad-start.js → esm2020/utils/pad-start.mjs} +0 -0
- /package/{esm2015/utils/public-api.js → esm2020/utils/public-api.mjs} +0 -0
- /package/{esm2015/utils/refreshable.js → esm2020/utils/refreshable.mjs} +0 -0
- /package/{esm2015/utils/router/index.js → esm2020/utils/router/index.mjs} +0 -0
- /package/{esm2015/utils/router/is-empty-url-route.js → esm2020/utils/router/is-empty-url-route.mjs} +0 -0
- /package/{esm2015/utils/router/leaf-child-route.js → esm2020/utils/router/leaf-child-route.mjs} +0 -0
- /package/{esm2015/utils/router/operators/activated-routes-with-data-property.js → esm2020/utils/router/operators/activated-routes-with-data-property.mjs} +0 -0
- /package/{esm2015/utils/router/route-snapshot-path-full.js → esm2020/utils/router/route-snapshot-path-full.mjs} +0 -0
- /package/{esm2015/utils/router/route-snapshot-path-relative.js → esm2020/utils/router/route-snapshot-path-relative.mjs} +0 -0
- /package/{esm2015/utils/router/will-have-data-prop.js → esm2020/utils/router/will-have-data-prop.mjs} +0 -0
- /package/{esm2015/utils/theseam-ui-common-utils.js → esm2020/utils/theseam-ui-common-utils.mjs} +0 -0
- /package/{esm2015/utils/toggle-attribute.js → esm2020/utils/toggle-attribute.mjs} +0 -0
- /package/{esm2015/utils/wrap-into-observable.js → esm2020/utils/wrap-into-observable.mjs} +0 -0
- /package/{esm2015/validators/decimal.validator.js → esm2020/validators/decimal.validator.mjs} +0 -0
- /package/{esm2015/validators/email-exists.validator.js → esm2020/validators/email-exists.validator.mjs} +0 -0
- /package/{esm2015/validators/integer.validator.js → esm2020/validators/integer.validator.mjs} +0 -0
- /package/{esm2015/validators/phone-length.validator.js → esm2020/validators/phone-length.validator.mjs} +0 -0
- /package/{esm2015/validators/public-api.js → esm2020/validators/public-api.mjs} +0 -0
- /package/{esm2015/validators/tax-id.validator.js → esm2020/validators/tax-id.validator.mjs} +0 -0
- /package/{esm2015/validators/theseam-ui-common-validators.js → esm2020/validators/theseam-ui-common-validators.mjs} +0 -0
- /package/{esm2015/viewers/html-template-viewer/index.js → esm2020/viewers/html-template-viewer/index.mjs} +0 -0
- /package/{esm2015/viewers/pdf-viewer/index.js → esm2020/viewers/pdf-viewer/index.mjs} +0 -0
- /package/{esm2015/viewers/public-api.js → esm2020/viewers/public-api.mjs} +0 -0
- /package/{esm2015/viewers/theseam-ui-common-viewers.js → esm2020/viewers/theseam-ui-common-viewers.mjs} +0 -0
- /package/{esm2015/widget/public-api.js → esm2020/widget/public-api.mjs} +0 -0
- /package/{esm2015/widget/theseam-ui-common-widget.js → esm2020/widget/theseam-ui-common-widget.mjs} +0 -0
- /package/{esm2015/widget/widget-registry.models.js → esm2020/widget/widget-registry.models.mjs} +0 -0
- /package/{esm2015/widget/widget-token.js → esm2020/widget/widget-token.mjs} +0 -0
|
@@ -1,2685 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, ElementRef, InjectionToken, Optional, Inject, HostBinding, Input, HostListener, forwardRef, isDevMode, Component, ChangeDetectionStrategy, ViewEncapsulation, ViewContainerRef, ContentChild, TemplateRef, NgModule, ViewChild, Injectable, EventEmitter, ChangeDetectorRef, ViewChildren, Output, ComponentFactoryResolver, SkipSelf, Host, Self, ContentChildren } from '@angular/core';
|
|
3
|
-
import { TemplatePortal, PortalModule, ComponentPortal, BasePortalOutlet } from '@angular/cdk/portal';
|
|
4
|
-
import { BehaviorSubject, isObservable, from, Subject, of, combineLatest, defer, Observable } from 'rxjs';
|
|
5
|
-
import { faAngleDoubleRight, faAngleDoubleLeft, faLock, faUnlock, faAngleLeft, faBars, faAngleDown } from '@fortawesome/free-solid-svg-icons';
|
|
6
|
-
import { TheSeamLayoutService, TheSeamLayoutModule } from '@theseam/ui-common/layout';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
import { TheSeamButtonsModule } from '@theseam/ui-common/buttons';
|
|
9
|
-
import { TheSeamIconModule } from '@theseam/ui-common/icon';
|
|
10
|
-
import { TheSeamScrollbarModule } from '@theseam/ui-common/scrollbar';
|
|
11
|
-
import { startWith, switchMap, map, shareReplay, tap, mapTo, take, auditTime, debounceTime, takeUntil, distinctUntilChanged, finalize, filter } from 'rxjs/operators';
|
|
12
|
-
import { __decorate } from 'tslib';
|
|
13
|
-
import { coerceNumberProperty, coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
14
|
-
import { moveItemInArray, transferArrayItem, CdkDrag, DragDropModule } from '@angular/cdk/drag-drop';
|
|
15
|
-
import { InputBoolean, InputNumber, mixinDisabled } from '@theseam/ui-common/core';
|
|
16
|
-
import { THESEAM_WIDGET_ACCESSOR } from '@theseam/ui-common/widget';
|
|
17
|
-
import * as i1 from '@theseam/ui-common/dynamic-component-loader';
|
|
18
|
-
import { TheSeamDynamicComponentLoader } from '@theseam/ui-common/dynamic-component-loader';
|
|
19
|
-
import { hasProperty, notNullOrUndefined, observeControlValue, observeControlStatus } from '@theseam/ui-common/utils';
|
|
20
|
-
import { TheSeamSharedModule } from '@theseam/ui-common/shared';
|
|
21
|
-
import { trigger, transition, group, query, animateChild, state, style, animate, keyframes } from '@angular/animations';
|
|
22
|
-
import { NavigationEnd, Router, RouterModule, NavigationStart, ActivatedRoute } from '@angular/router';
|
|
23
|
-
import { A11yModule } from '@angular/cdk/a11y';
|
|
24
|
-
import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
|
|
25
|
-
import { MenuComponent, TheSeamMenuModule } from '@theseam/ui-common/menu';
|
|
26
|
-
import { faUserCircle } from '@fortawesome/free-regular-svg-icons';
|
|
27
|
-
import { JsonSchemaFormService, isArray, buildTitleMap, hasOwn, Framework, JsonSchemaFormModule, WidgetLibraryModule, FrameworkLibraryService, WidgetLibraryService } from '@ajsf/core';
|
|
28
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
29
|
-
import { NgSelectModule } from '@ng-select/ng-select';
|
|
30
|
-
import { TheSeamCheckboxModule } from '@theseam/ui-common/checkbox';
|
|
31
|
-
import { TheSeamFormFieldModule } from '@theseam/ui-common/form-field';
|
|
32
|
-
|
|
33
|
-
class BaseLayoutContentFooterDirective {
|
|
34
|
-
constructor(_elementRef) {
|
|
35
|
-
this._elementRef = _elementRef;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
BaseLayoutContentFooterDirective.decorators = [
|
|
39
|
-
{ type: Directive, args: [{
|
|
40
|
-
selector: '[seamBaseLayoutContentFooter]'
|
|
41
|
-
},] }
|
|
42
|
-
];
|
|
43
|
-
BaseLayoutContentFooterDirective.ctorParameters = () => [
|
|
44
|
-
{ type: ElementRef }
|
|
45
|
-
];
|
|
46
|
-
|
|
47
|
-
class BaseLayoutContentHeaderDirective {
|
|
48
|
-
constructor(_elementRef) {
|
|
49
|
-
this._elementRef = _elementRef;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
BaseLayoutContentHeaderDirective.decorators = [
|
|
53
|
-
{ type: Directive, args: [{
|
|
54
|
-
selector: '[seamBaseLayoutContentHeader]'
|
|
55
|
-
},] }
|
|
56
|
-
];
|
|
57
|
-
BaseLayoutContentHeaderDirective.ctorParameters = () => [
|
|
58
|
-
{ type: ElementRef }
|
|
59
|
-
];
|
|
60
|
-
|
|
61
|
-
class BaseLayoutContentDirective {
|
|
62
|
-
constructor(_elementRef) {
|
|
63
|
-
this._elementRef = _elementRef;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
BaseLayoutContentDirective.decorators = [
|
|
67
|
-
{ type: Directive, args: [{
|
|
68
|
-
selector: '[seamBaseLayoutContent]'
|
|
69
|
-
},] }
|
|
70
|
-
];
|
|
71
|
-
BaseLayoutContentDirective.ctorParameters = () => [
|
|
72
|
-
{ type: ElementRef }
|
|
73
|
-
];
|
|
74
|
-
|
|
75
|
-
const THESEAM_BASE_LAYOUT_REF = new InjectionToken('seamBaseLayoutRef');
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Can be used to toggle the expand state of the registered nav.
|
|
79
|
-
*/
|
|
80
|
-
class BaseLayoutNavToggleDirective {
|
|
81
|
-
constructor(_baseLayout) {
|
|
82
|
-
this.type = 'button';
|
|
83
|
-
/** Screenreader label for the button. */
|
|
84
|
-
this.ariaLabel = 'Navigation toggle';
|
|
85
|
-
this.baseLayout = _baseLayout;
|
|
86
|
-
}
|
|
87
|
-
get _attrType() { return this.type; }
|
|
88
|
-
get _attrAriaLabel() { return this.ariaLabel || null; }
|
|
89
|
-
_onClick() {
|
|
90
|
-
if (this.baseLayout && this.baseLayout.registeredNav) {
|
|
91
|
-
this.baseLayout.registeredNav.toggle();
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
BaseLayoutNavToggleDirective.decorators = [
|
|
96
|
-
{ type: Directive, args: [{
|
|
97
|
-
selector: 'button[seamBaseLayoutNavToggle]',
|
|
98
|
-
exportAs: 'seamBaseLayoutNavToggle'
|
|
99
|
-
},] }
|
|
100
|
-
];
|
|
101
|
-
BaseLayoutNavToggleDirective.ctorParameters = () => [
|
|
102
|
-
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [THESEAM_BASE_LAYOUT_REF,] }] }
|
|
103
|
-
];
|
|
104
|
-
BaseLayoutNavToggleDirective.propDecorators = {
|
|
105
|
-
_attrType: [{ type: HostBinding, args: ['attr.type',] }],
|
|
106
|
-
type: [{ type: Input }],
|
|
107
|
-
_attrAriaLabel: [{ type: HostBinding, args: ['attr.aria-label',] }],
|
|
108
|
-
ariaLabel: [{ type: Input, args: ['aria-label',] }],
|
|
109
|
-
_onClick: [{ type: HostListener, args: ['click',] }]
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
class BaseLayoutSideBarDirective {
|
|
113
|
-
constructor(_elementRef) {
|
|
114
|
-
this._elementRef = _elementRef;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
BaseLayoutSideBarDirective.decorators = [
|
|
118
|
-
{ type: Directive, args: [{
|
|
119
|
-
selector: '[seamBaseLayoutSideBar]'
|
|
120
|
-
},] }
|
|
121
|
-
];
|
|
122
|
-
BaseLayoutSideBarDirective.ctorParameters = () => [
|
|
123
|
-
{ type: ElementRef }
|
|
124
|
-
];
|
|
125
|
-
|
|
126
|
-
class BaseLayoutTopBarDirective {
|
|
127
|
-
constructor(_elementRef) {
|
|
128
|
-
this._elementRef = _elementRef;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
BaseLayoutTopBarDirective.decorators = [
|
|
132
|
-
{ type: Directive, args: [{
|
|
133
|
-
selector: '[seamBaseLayoutTopBar]'
|
|
134
|
-
},] }
|
|
135
|
-
];
|
|
136
|
-
BaseLayoutTopBarDirective.ctorParameters = () => [
|
|
137
|
-
{ type: ElementRef }
|
|
138
|
-
];
|
|
139
|
-
|
|
140
|
-
const THE_SEAM_BASE_LAYOUT = {
|
|
141
|
-
provide: THESEAM_BASE_LAYOUT_REF,
|
|
142
|
-
// tslint:disable-next-line:no-use-before-declare
|
|
143
|
-
useExisting: forwardRef(() => TheSeamBaseLayoutComponent),
|
|
144
|
-
multi: false,
|
|
145
|
-
};
|
|
146
|
-
class TheSeamBaseLayoutComponent {
|
|
147
|
-
constructor(_viewContainerRef, _layout) {
|
|
148
|
-
this._viewContainerRef = _viewContainerRef;
|
|
149
|
-
this._layout = _layout;
|
|
150
|
-
this.faAngleDoubleRight = faAngleDoubleRight;
|
|
151
|
-
this.faAngleDoubleLeft = faAngleDoubleLeft;
|
|
152
|
-
this.overlayNav = false;
|
|
153
|
-
this._hasSideBar = new BehaviorSubject(false);
|
|
154
|
-
this._registeredNav = new BehaviorSubject(undefined);
|
|
155
|
-
this.registeredNav$ = this._registeredNav.asObservable();
|
|
156
|
-
this._registeredActions = new BehaviorSubject([]);
|
|
157
|
-
this.registeredActions$ = this._registeredActions.asObservable();
|
|
158
|
-
this.isMobile$ = this._layout.isMobile$;
|
|
159
|
-
this.hasSideBar$ = this._hasSideBar.asObservable();
|
|
160
|
-
}
|
|
161
|
-
get registeredNav() { return this._registeredNav.value; }
|
|
162
|
-
get registeredActions() { return this._registeredActions.value; }
|
|
163
|
-
ngOnInit() {
|
|
164
|
-
if (this._topBarTpl) {
|
|
165
|
-
this._topBarPortal = new TemplatePortal(this._topBarTpl, this._viewContainerRef);
|
|
166
|
-
}
|
|
167
|
-
if (this._sideBarTpl) {
|
|
168
|
-
this._sideBarPortal = new TemplatePortal(this._sideBarTpl, this._viewContainerRef);
|
|
169
|
-
this._hasSideBar.next(true);
|
|
170
|
-
}
|
|
171
|
-
if (this._contentTpl) {
|
|
172
|
-
this._contentPortal = new TemplatePortal(this._contentTpl, this._viewContainerRef);
|
|
173
|
-
}
|
|
174
|
-
if (this._contentHeaderTpl) {
|
|
175
|
-
this._contentHeaderPortal = new TemplatePortal(this._contentHeaderTpl, this._viewContainerRef);
|
|
176
|
-
}
|
|
177
|
-
if (this._contentFooterTpl) {
|
|
178
|
-
this._contentFooterPortal = new TemplatePortal(this._contentFooterTpl, this._viewContainerRef);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
registerNav(nav) {
|
|
182
|
-
// TODO: Allow multiple registered navs
|
|
183
|
-
// if (this.registeredNav) {
|
|
184
|
-
// throw new Error('[TheSeamBaseLayoutComponent] A nav is already registered.')
|
|
185
|
-
// }
|
|
186
|
-
// console.log('register nav', nav)
|
|
187
|
-
this._registeredNav.next(nav);
|
|
188
|
-
}
|
|
189
|
-
unregisterNav(nav) {
|
|
190
|
-
if (this.registeredNav === nav) {
|
|
191
|
-
this._registeredNav.next(undefined);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
registerAction(action) {
|
|
195
|
-
const actions = this._registeredActions.value;
|
|
196
|
-
if (actions.findIndex(a => a.name === action.name) !== -1) {
|
|
197
|
-
if (isDevMode()) {
|
|
198
|
-
console.warn(`[TheSeamBaseLayoutComponent] registerAction(): Action ${action.name} not ` +
|
|
199
|
-
'registered, because another action by that name is already registered.');
|
|
200
|
-
}
|
|
201
|
-
return;
|
|
202
|
-
}
|
|
203
|
-
actions.push(action);
|
|
204
|
-
}
|
|
205
|
-
unregisterAction(action) {
|
|
206
|
-
const actionName = typeof action === 'string' ? action : action.name;
|
|
207
|
-
const actions = this._registeredActions.value;
|
|
208
|
-
this._registeredActions.next(actions.filter(f => f.name !== actionName));
|
|
209
|
-
}
|
|
210
|
-
isActionRegistered(actionName) {
|
|
211
|
-
const actions = this._registeredActions.value;
|
|
212
|
-
const action = actions.find(f => f.name === actionName);
|
|
213
|
-
return !!action;
|
|
214
|
-
}
|
|
215
|
-
_handleButtonAction(action) {
|
|
216
|
-
this._execButtonAction(action).subscribe();
|
|
217
|
-
}
|
|
218
|
-
_execButtonAction(action) {
|
|
219
|
-
const fnRes = action.exec();
|
|
220
|
-
return isObservable(fnRes) ? fnRes : from(Promise.resolve(fnRes));
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
TheSeamBaseLayoutComponent.decorators = [
|
|
224
|
-
{ type: Component, args: [{
|
|
225
|
-
selector: 'seam-base-layout',
|
|
226
|
-
template: "<div class=\"base-layout-side-bar-nav-content-mobile\" *ngIf=\"isMobile$ | async\">\n <ng-template [cdkPortalOutlet]=\"_sideBarPortal\"></ng-template>\n</div>\n\n<div class=\"base-layout-top-bar-container\">\n <ng-template [cdkPortalOutlet]=\"_topBarPortal\"></ng-template>\n</div>\n<div class=\"base-layout-main-container\">\n <div *ngIf=\"hasSideBar$ | async\"\n class=\"base-layout-side-bar-container\">\n <div class=\"base-layout-side-bar-nav-content\" *ngIf=\"!(isMobile$ | async)\">\n <ng-template [cdkPortalOutlet]=\"_sideBarPortal\"></ng-template>\n </div>\n </div>\n <div class=\"base-layout-content-container\">\n <div class=\"base-layout-content-container-header\">\n <!-- <ng-template [cdkPortalOutlet]=\"_contentHeaderPortal\"></ng-template> -->\n\n <div class=\"d-flex d-flex-row\">\n <div class=\"flex-grow-1\">\n <ng-template [cdkPortalOutlet]=\"_contentHeaderPortal\"></ng-template>\n </div>\n <div class=\"d-flex\">\n <ng-container *ngFor=\"let action of registeredActions$ | async; first as isFirst\">\n <div>\n <ng-container [ngTemplateOutlet]=\"$any(action)?.template\"></ng-container>\n </div>\n </ng-container>\n </div>\n </div>\n\n\n </div>\n <div class=\"base-layout-content-container-inner\" seamOverlayScrollbar>\n <ng-template [cdkPortalOutlet]=\"_contentPortal\"></ng-template>\n </div>\n <div class=\"base-layout-content-container-footer\">\n <ng-template [cdkPortalOutlet]=\"_contentFooterPortal\"></ng-template>\n </div>\n </div>\n</div>\n",
|
|
227
|
-
providers: [THE_SEAM_BASE_LAYOUT],
|
|
228
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
229
|
-
encapsulation: ViewEncapsulation.None,
|
|
230
|
-
styles: ["seam-base-layout{display:flex;flex-direction:column;height:100%;width:100%}seam-base-layout .base-layout-side-bar-nav-content-mobile{position:absolute;top:0;bottom:0;left:0;float:left;z-index:9999}seam-base-layout .base-layout-side-bar-container{flex:0 0 auto;display:flex;flex-direction:column;border-top:none;border-right:1px solid #dee2e6;border-bottom:none;border-left:none}seam-base-layout .base-layout-side-bar-container .base-layout-side-bar-nav-content{flex:1 1 0}seam-base-layout .base-layout-main-container{flex:1 1 100%;display:flex;flex-direction:row;transform:translateZ(0)}seam-base-layout .base-layout-top-bar-container{flex:0 0 auto;border-top:none;border-right:none;border-bottom:1px solid #dee2e6;border-left:none}seam-base-layout .base-layout-content-container{flex:1 1 auto;display:flex;flex-direction:column}seam-base-layout .base-layout-content-container .base-layout-content-container-header{flex:0 0 auto}seam-base-layout .base-layout-content-container .base-layout-content-container-inner{flex:1 1 auto}seam-base-layout .base-layout-content-container .base-layout-content-container-footer{flex:0 0 auto}seam-base-layout .base-layout-content-container-header{margin:.25rem;padding:0;background:none;border-radius:0;overflow:hidden}seam-base-layout .btn-baselayout-action{margin:0 0 0 .25rem;color:#212529;background-color:#e9ecef;border-color:#e9ecef;padding:.5rem 1rem;font-size:1rem;line-height:1.5;border-radius:.25rem;border:none;color:#6c757d}seam-base-layout .btn-baselayout-action:hover{color:#212529;background-color:#d3d9df;border-color:#cbd3da}seam-base-layout .btn-baselayout-action:focus,seam-base-layout .btn-baselayout-action.focus{color:#212529;background-color:#d3d9df;border-color:#cbd3da;box-shadow:0 0 0 .2rem #cbced180}seam-base-layout .btn-baselayout-action.disabled,seam-base-layout .btn-baselayout-action:disabled{color:#212529;background-color:#e9ecef;border-color:#e9ecef}seam-base-layout .btn-baselayout-action:not(:disabled):not(.disabled):active,seam-base-layout .btn-baselayout-action:not(:disabled):not(.disabled).active,.show>seam-base-layout .btn-baselayout-action.dropdown-toggle{color:#212529;background-color:#d3d9df;border-color:#c4ccd4}seam-base-layout .btn-baselayout-action:not(:disabled):not(.disabled):active:focus,seam-base-layout .btn-baselayout-action:not(:disabled):not(.disabled).active:focus,.show>seam-base-layout .btn-baselayout-action.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #cbced180}seam-base-layout .btn-baselayout-action:hover{color:#6c757d}seam-base-layout .btn-baselayout-action:focus,seam-base-layout .btn-baselayout-action.focus{color:#6c757d}\n"]
|
|
231
|
-
},] }
|
|
232
|
-
];
|
|
233
|
-
TheSeamBaseLayoutComponent.ctorParameters = () => [
|
|
234
|
-
{ type: ViewContainerRef },
|
|
235
|
-
{ type: TheSeamLayoutService }
|
|
236
|
-
];
|
|
237
|
-
TheSeamBaseLayoutComponent.propDecorators = {
|
|
238
|
-
overlayNav: [{ type: Input }],
|
|
239
|
-
_topBarTpl: [{ type: ContentChild, args: [BaseLayoutTopBarDirective, { static: true, read: TemplateRef },] }],
|
|
240
|
-
_sideBarTpl: [{ type: ContentChild, args: [BaseLayoutSideBarDirective, { static: true, read: TemplateRef },] }],
|
|
241
|
-
_contentTpl: [{ type: ContentChild, args: [BaseLayoutContentDirective, { static: true, read: TemplateRef },] }],
|
|
242
|
-
_contentHeaderTpl: [{ type: ContentChild, args: [BaseLayoutContentHeaderDirective, { static: true, read: TemplateRef },] }],
|
|
243
|
-
_contentFooterTpl: [{ type: ContentChild, args: [BaseLayoutContentFooterDirective, { static: true, read: TemplateRef },] }]
|
|
244
|
-
};
|
|
245
|
-
|
|
246
|
-
class BaseLayoutSideBarFooterDirective {
|
|
247
|
-
constructor(_elementRef) {
|
|
248
|
-
this._elementRef = _elementRef;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
BaseLayoutSideBarFooterDirective.decorators = [
|
|
252
|
-
{ type: Directive, args: [{
|
|
253
|
-
selector: '[seamBaseLayoutSideBarFooter]'
|
|
254
|
-
},] }
|
|
255
|
-
];
|
|
256
|
-
BaseLayoutSideBarFooterDirective.ctorParameters = () => [
|
|
257
|
-
{ type: ElementRef }
|
|
258
|
-
];
|
|
259
|
-
|
|
260
|
-
class TheSeamBaseLayoutModule {
|
|
261
|
-
}
|
|
262
|
-
TheSeamBaseLayoutModule.decorators = [
|
|
263
|
-
{ type: NgModule, args: [{
|
|
264
|
-
declarations: [
|
|
265
|
-
TheSeamBaseLayoutComponent,
|
|
266
|
-
BaseLayoutContentDirective,
|
|
267
|
-
BaseLayoutSideBarDirective,
|
|
268
|
-
BaseLayoutSideBarFooterDirective,
|
|
269
|
-
BaseLayoutTopBarDirective,
|
|
270
|
-
BaseLayoutNavToggleDirective,
|
|
271
|
-
BaseLayoutContentHeaderDirective,
|
|
272
|
-
BaseLayoutContentFooterDirective
|
|
273
|
-
],
|
|
274
|
-
imports: [
|
|
275
|
-
CommonModule,
|
|
276
|
-
PortalModule,
|
|
277
|
-
TheSeamScrollbarModule,
|
|
278
|
-
TheSeamIconModule,
|
|
279
|
-
TheSeamButtonsModule
|
|
280
|
-
],
|
|
281
|
-
exports: [
|
|
282
|
-
TheSeamBaseLayoutComponent,
|
|
283
|
-
BaseLayoutContentDirective,
|
|
284
|
-
BaseLayoutSideBarDirective,
|
|
285
|
-
BaseLayoutSideBarFooterDirective,
|
|
286
|
-
BaseLayoutTopBarDirective,
|
|
287
|
-
BaseLayoutNavToggleDirective,
|
|
288
|
-
BaseLayoutContentHeaderDirective,
|
|
289
|
-
BaseLayoutContentFooterDirective
|
|
290
|
-
]
|
|
291
|
-
},] }
|
|
292
|
-
];
|
|
293
|
-
|
|
294
|
-
class DashboardWidgetContainerComponent {
|
|
295
|
-
constructor() { }
|
|
296
|
-
ngOnInit() { }
|
|
297
|
-
}
|
|
298
|
-
DashboardWidgetContainerComponent.decorators = [
|
|
299
|
-
{ type: Component, args: [{
|
|
300
|
-
selector: 'seam-dashboard-widget-container',
|
|
301
|
-
template: "<ng-template><ng-content></ng-content></ng-template>\n",
|
|
302
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
303
|
-
styles: [""]
|
|
304
|
-
},] }
|
|
305
|
-
];
|
|
306
|
-
DashboardWidgetContainerComponent.ctorParameters = () => [];
|
|
307
|
-
DashboardWidgetContainerComponent.propDecorators = {
|
|
308
|
-
def: [{ type: Input }],
|
|
309
|
-
templateRef: [{ type: ViewChild, args: [TemplateRef,] }]
|
|
310
|
-
};
|
|
311
|
-
|
|
312
|
-
const THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR = new InjectionToken('ITheSeamDashboardWidgetsPreferencesAccessor');
|
|
313
|
-
|
|
314
|
-
// TODO: This needs a unit test to make sure it will not cause a race condition
|
|
315
|
-
// if update is called faster than the previous can respond.
|
|
316
|
-
//
|
|
317
|
-
// The ideal approach I am thinking, without steping through the process too
|
|
318
|
-
// thoroughly is to hold the new data emit until all pending updates are done.
|
|
319
|
-
// Any pending updates other than the most recently requested will be ignored
|
|
320
|
-
// and just wait on the most recent, and if already running it should be
|
|
321
|
-
// canceled if possible. Also, incase something happens that causes the new data
|
|
322
|
-
// emissions to get held up too long, there could be a threshold time that the
|
|
323
|
-
// new data can be held up.
|
|
324
|
-
/**
|
|
325
|
-
* Manages anything dealing with retrieving and updating dashboard widget
|
|
326
|
-
* preference data from the provided accessor.
|
|
327
|
-
*/
|
|
328
|
-
class DashboardWidgetsPreferencesService {
|
|
329
|
-
// private _pending = false
|
|
330
|
-
// public get pending() { return this._pending }
|
|
331
|
-
constructor(_prefsAccessor) {
|
|
332
|
-
this._prefsAccessor = _prefsAccessor;
|
|
333
|
-
this._tablePrefsMap = new Map();
|
|
334
|
-
}
|
|
335
|
-
preferences(preferenceKey) {
|
|
336
|
-
let prefs = this._tablePrefsMap.get(preferenceKey);
|
|
337
|
-
if (!prefs) {
|
|
338
|
-
const refreshSubject = new Subject();
|
|
339
|
-
prefs = {
|
|
340
|
-
observable: this._createObservable(refreshSubject, preferenceKey),
|
|
341
|
-
refresh: refreshSubject
|
|
342
|
-
};
|
|
343
|
-
this._tablePrefsMap.set(preferenceKey, prefs);
|
|
344
|
-
}
|
|
345
|
-
return prefs.observable;
|
|
346
|
-
}
|
|
347
|
-
_createObservable(refreshSubject, prefKey) {
|
|
348
|
-
if (!this._prefsAccessor) {
|
|
349
|
-
return of({});
|
|
350
|
-
}
|
|
351
|
-
const accessor = (key) => this._prefsAccessor ? this._prefsAccessor.get(key) : of('{}');
|
|
352
|
-
return refreshSubject.pipe(startWith({}),
|
|
353
|
-
// tap(() => console.log('Start requesting: ', prefKey)),
|
|
354
|
-
switchMap(() => accessor(prefKey).pipe(map(v => {
|
|
355
|
-
if (!v) {
|
|
356
|
-
return null;
|
|
357
|
-
}
|
|
358
|
-
// TODO: Add a schema validator and migration tool to avoid parsing issues.
|
|
359
|
-
try {
|
|
360
|
-
return JSON.parse(v);
|
|
361
|
-
}
|
|
362
|
-
catch (error) {
|
|
363
|
-
if (isDevMode()) {
|
|
364
|
-
console.error(error);
|
|
365
|
-
}
|
|
366
|
-
return null;
|
|
367
|
-
}
|
|
368
|
-
}), map(v => !!v ? v : {}))), shareReplay({ bufferSize: 1, refCount: true }));
|
|
369
|
-
}
|
|
370
|
-
refresh(preferenceKey) {
|
|
371
|
-
const prefs = this._tablePrefsMap.get(preferenceKey);
|
|
372
|
-
if (prefs) {
|
|
373
|
-
// this._pending = true
|
|
374
|
-
// prefs.refresh.next()
|
|
375
|
-
return prefs.observable.pipe(
|
|
376
|
-
// tap(() => prefs.refresh.next()),
|
|
377
|
-
tap(() => setTimeout(() => { prefs.refresh.next(); }, 0)), mapTo(undefined), take(1));
|
|
378
|
-
}
|
|
379
|
-
return of(undefined);
|
|
380
|
-
}
|
|
381
|
-
selectLayout(preferenceKey, layoutName) {
|
|
382
|
-
return this.preferences(preferenceKey).pipe(map(prefs => (prefs.layouts || []).find(l => l.name === layoutName)));
|
|
383
|
-
}
|
|
384
|
-
// TODO: Improve this updating to not be more generic, so we can quickly add
|
|
385
|
-
// edits for different preference schema's.
|
|
386
|
-
//
|
|
387
|
-
// TODO: Decide if a send queue/merging of pending queue is needed to avoid
|
|
388
|
-
// out of order updates. This shouldn't be an issue, with how fast preferences
|
|
389
|
-
// will most likely be changing, but it could happen in situations, such as
|
|
390
|
-
// network issues.
|
|
391
|
-
updateLayout(preferenceKey, layout) {
|
|
392
|
-
if (!this._prefsAccessor) {
|
|
393
|
-
return of(undefined);
|
|
394
|
-
}
|
|
395
|
-
if (!hasProperty(layout, 'name')) {
|
|
396
|
-
throw Error(`Unable to save layout preference. 'name' is required for a layout preference.`);
|
|
397
|
-
}
|
|
398
|
-
const _layout = this.toSerializeableLayout(layout);
|
|
399
|
-
// this._pending = true
|
|
400
|
-
return this.preferences(preferenceKey).pipe(map(prefs => {
|
|
401
|
-
// Making the preferences immutable may not be necessary, but for now
|
|
402
|
-
// this obj->str->obj will work as a naive clone.
|
|
403
|
-
const layouts = JSON.parse(JSON.stringify(prefs.layouts || []));
|
|
404
|
-
const _layoutPref = layouts.find((c) => c.name === _layout.name);
|
|
405
|
-
// console.log('has', _layoutPref)
|
|
406
|
-
if (_layoutPref) {
|
|
407
|
-
if (hasProperty(_layout, 'name')) {
|
|
408
|
-
_layoutPref.name = _layout.name;
|
|
409
|
-
}
|
|
410
|
-
if (hasProperty(_layout, 'label')) {
|
|
411
|
-
_layoutPref.label = _layout.label;
|
|
412
|
-
}
|
|
413
|
-
if (hasProperty(_layout, 'items')) {
|
|
414
|
-
_layoutPref.items = _layout.items;
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
else {
|
|
418
|
-
layouts.push(Object.assign({}, _layout));
|
|
419
|
-
}
|
|
420
|
-
const newPrefs = Object.assign(Object.assign({}, prefs), { layouts });
|
|
421
|
-
return newPrefs;
|
|
422
|
-
}),
|
|
423
|
-
// tap(v => console.log('newPrefs', v)),
|
|
424
|
-
take(1), switchMap(newPrefs => this._prefsAccessor
|
|
425
|
-
? this._prefsAccessor.update(preferenceKey, JSON.stringify(newPrefs))
|
|
426
|
-
: of(newPrefs)), switchMap(() => this.refresh(preferenceKey).pipe(mapTo(undefined))));
|
|
427
|
-
// .subscribe()
|
|
428
|
-
}
|
|
429
|
-
toSerializeableLayout(layout) {
|
|
430
|
-
const serialized = {
|
|
431
|
-
name: layout.name,
|
|
432
|
-
label: layout.label,
|
|
433
|
-
items: this.toSerializeableItems(layout.items) || []
|
|
434
|
-
};
|
|
435
|
-
return serialized;
|
|
436
|
-
}
|
|
437
|
-
// public toDeserializedLayout(layout: IDashboardWidgetItemLayoutSerialized): IDashboardWidgetItemLayoutDef {
|
|
438
|
-
// // For now there is nothing to do. Eventually this should have at least
|
|
439
|
-
// // validation on the deserialized object.
|
|
440
|
-
// return layout
|
|
441
|
-
// }
|
|
442
|
-
/**
|
|
443
|
-
* Returns the serializable widget items as objects that can be serialized to
|
|
444
|
-
* a JSON string for storage.
|
|
445
|
-
*/
|
|
446
|
-
toSerializeableItems(widgets) {
|
|
447
|
-
const serialized = [];
|
|
448
|
-
for (const w of widgets) {
|
|
449
|
-
// if (!w.__itemDef.component || typeof w.__itemDef.component !== 'string') {
|
|
450
|
-
// console.warn(`[DashboardWidgetsService] Widget item def must have a string 'component' property to be serialized.`, w)
|
|
451
|
-
// continue
|
|
452
|
-
// }
|
|
453
|
-
// serialized.push({
|
|
454
|
-
// widgetId: w.widgetId,
|
|
455
|
-
// col: w.col,
|
|
456
|
-
// order: w.order,
|
|
457
|
-
// component: w.__itemDef.component
|
|
458
|
-
// })
|
|
459
|
-
// TODO: Remove this, it is only here for initial dev debugging.
|
|
460
|
-
serialized.push({
|
|
461
|
-
widgetId: w.widgetId,
|
|
462
|
-
col: w.col,
|
|
463
|
-
order: w.order,
|
|
464
|
-
// component: w.__itemDef.component as string
|
|
465
|
-
});
|
|
466
|
-
}
|
|
467
|
-
return serialized;
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
DashboardWidgetsPreferencesService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DashboardWidgetsPreferencesService_Factory() { return new DashboardWidgetsPreferencesService(i0.ɵɵinject(THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR, 8)); }, token: DashboardWidgetsPreferencesService, providedIn: "root" });
|
|
471
|
-
DashboardWidgetsPreferencesService.decorators = [
|
|
472
|
-
{ type: Injectable, args: [{
|
|
473
|
-
providedIn: 'root'
|
|
474
|
-
},] }
|
|
475
|
-
];
|
|
476
|
-
DashboardWidgetsPreferencesService.ctorParameters = () => [
|
|
477
|
-
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR,] }] }
|
|
478
|
-
];
|
|
479
|
-
|
|
480
|
-
class DashboardWidgetsService {
|
|
481
|
-
constructor(_dynamicComponentLoaderModule, _preferences) {
|
|
482
|
-
this._dynamicComponentLoaderModule = _dynamicComponentLoaderModule;
|
|
483
|
-
this._preferences = _preferences;
|
|
484
|
-
this.preferenceKey = 'datatable-widgets';
|
|
485
|
-
this.defaultNumColumns = 3;
|
|
486
|
-
/** Used for operations, such as 'addWidget', if the column is not specified. */
|
|
487
|
-
this.defaultColumn = 0;
|
|
488
|
-
this._widgets = new BehaviorSubject([]);
|
|
489
|
-
this._numColumns = new BehaviorSubject(this.defaultNumColumns);
|
|
490
|
-
this._viewContainerRefSubject = new BehaviorSubject(undefined);
|
|
491
|
-
this.numColumns$ = this._numColumns.asObservable();
|
|
492
|
-
// Widget items without preferences
|
|
493
|
-
const _widgetItems$ = combineLatest([this._widgets, this._viewContainerRefSubject])
|
|
494
|
-
.pipe(switchMap(([defs, vcr]) => this.createWidgetItems(defs, vcr)));
|
|
495
|
-
// Widget items with preferences
|
|
496
|
-
this.widgetItems$ = combineLatest([_widgetItems$, this.numColumns$])
|
|
497
|
-
.pipe(
|
|
498
|
-
// Wait until the current tick is done, incase both the widgets and
|
|
499
|
-
// number of columns are set durring the same tick. Without the audit,
|
|
500
|
-
// this would get called twice when the component is initialized with
|
|
501
|
-
// both inputs set one after the other individually.
|
|
502
|
-
auditTime(0), switchMap(([items, numColumns]) => this._preferences.selectLayout(this.preferenceKey, this._layoutName(numColumns)).pipe(map(layout => layout ? this.withLayoutPreferences(items, layout) : items))), shareReplay({ bufferSize: 1, refCount: true }));
|
|
503
|
-
this.widgetColumns$ = this.widgetItems$
|
|
504
|
-
.pipe(map(items => this.toColumnRecords(items)), shareReplay({ bufferSize: 1, refCount: true }));
|
|
505
|
-
}
|
|
506
|
-
get widgets() { return this._widgets.value; }
|
|
507
|
-
set widgets(value) { this._widgets.next(value); }
|
|
508
|
-
get numColumns() { return this._numColumns.value; }
|
|
509
|
-
set numColumns(value) {
|
|
510
|
-
if (value !== this._numColumns.value) {
|
|
511
|
-
this._numColumns.next(value);
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
_layoutName(numColumns) {
|
|
515
|
-
return `columns-${numColumns}`;
|
|
516
|
-
}
|
|
517
|
-
setViewContainerRef(vcr) {
|
|
518
|
-
this._viewContainerRefSubject.next(vcr);
|
|
519
|
-
}
|
|
520
|
-
createWidgetItems(defs, vcr) {
|
|
521
|
-
const _createObservables = (defs || []).map(d => this.createWidgetItem(d, vcr));
|
|
522
|
-
const items$ = _createObservables.length > 0 ? combineLatest(_createObservables) : of([]);
|
|
523
|
-
return items$.pipe(map(items => items.filter(notNullOrUndefined)), tap(items => {
|
|
524
|
-
if (isDevMode()) {
|
|
525
|
-
const ids = items.map(v => v.widgetId);
|
|
526
|
-
if ((new Set(ids)).size !== ids.length) {
|
|
527
|
-
console.warn(`[DashboardWidgetsService] Duplicate widget's with the same 'widgetId' found.`);
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
}));
|
|
531
|
-
}
|
|
532
|
-
createWidgetItem(def, vcr) {
|
|
533
|
-
if (!def.widgetId || typeof def.widgetId !== 'string' || def.widgetId.length < 1) {
|
|
534
|
-
if (isDevMode()) {
|
|
535
|
-
console.warn(`[DashboardWidgetsService] Widget ignored. All widgets must have a 'widgetId'.`, def);
|
|
536
|
-
}
|
|
537
|
-
return of(undefined);
|
|
538
|
-
}
|
|
539
|
-
return this.createWidgetPortal(def, vcr).pipe(map(portal => (Object.assign(Object.assign({}, def), { col: def.col || this.defaultColumn, order: def.order || 0, portal, __itemDef: def }))));
|
|
540
|
-
}
|
|
541
|
-
createWidgetPortal(def, vcr) {
|
|
542
|
-
if (typeof def.component === 'string') {
|
|
543
|
-
return this._dynamicComponentLoaderModule
|
|
544
|
-
.getComponentFactory(def.component)
|
|
545
|
-
.pipe(map(componentFactory => {
|
|
546
|
-
return new ComponentPortal(componentFactory.componentType, vcr, undefined, componentFactory.ngModule.componentFactoryResolver);
|
|
547
|
-
}), take(1));
|
|
548
|
-
}
|
|
549
|
-
return def.componentFactoryResolver
|
|
550
|
-
? of(new ComponentPortal(def.component, vcr, undefined, def.componentFactoryResolver))
|
|
551
|
-
: of(new ComponentPortal(def.component, vcr));
|
|
552
|
-
}
|
|
553
|
-
updateOrder() {
|
|
554
|
-
return this.widgetColumns$
|
|
555
|
-
.pipe(take(1), tap(columns => columns.forEach(col => {
|
|
556
|
-
let i = 0;
|
|
557
|
-
col.items.forEach(itm => itm.order = i++);
|
|
558
|
-
})), mapTo(undefined));
|
|
559
|
-
}
|
|
560
|
-
toColumnRecords(items) {
|
|
561
|
-
let columns = [];
|
|
562
|
-
for (let i = 0; i < this.numColumns; i++) {
|
|
563
|
-
columns.push({ column: i, items: [] });
|
|
564
|
-
}
|
|
565
|
-
const colNotFound = [];
|
|
566
|
-
// Distribute items into columns
|
|
567
|
-
for (const item of items) {
|
|
568
|
-
const col = columns.find(c => c.column === item.col);
|
|
569
|
-
if (!col) {
|
|
570
|
-
// columns.push({ column: item.col, items: [ item ] })
|
|
571
|
-
// if (item.col < 0) {
|
|
572
|
-
// const col0: IDashboardWidgetsColumnRecord | undefined = columns.find(c => c.column === 0)
|
|
573
|
-
// if (col0) {
|
|
574
|
-
// col0.items.push(item)
|
|
575
|
-
// }
|
|
576
|
-
// } else if (item.col > this.numColumns - 1) {
|
|
577
|
-
// const colMax: IDashboardWidgetsColumnRecord | undefined = columns.find(c => c.column === this.numColumns - 1)
|
|
578
|
-
// if (colMax) {
|
|
579
|
-
// colMax.items.push(item)
|
|
580
|
-
// }
|
|
581
|
-
// }
|
|
582
|
-
colNotFound.push(item);
|
|
583
|
-
}
|
|
584
|
-
else {
|
|
585
|
-
col.items.push(item);
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
for (let i = 0; i < colNotFound.length; i++) {
|
|
589
|
-
const item = colNotFound[i];
|
|
590
|
-
const col = columns
|
|
591
|
-
.find(c => c.column === i % this.numColumns);
|
|
592
|
-
if (col) {
|
|
593
|
-
col.items.push(item);
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
// Sort columns
|
|
597
|
-
columns = columns.sort((a, b) => a.column - b.column);
|
|
598
|
-
// Sort columns items
|
|
599
|
-
columns.forEach(col => col.items.sort((a, b) => a.order - b.order));
|
|
600
|
-
return columns;
|
|
601
|
-
}
|
|
602
|
-
withLayoutPreferences(items, layout) {
|
|
603
|
-
const _items = [];
|
|
604
|
-
for (const item of items) {
|
|
605
|
-
const itemPref = layout.items.find(x => x.widgetId === item.widgetId);
|
|
606
|
-
_items.push(Object.assign(Object.assign({}, item), (itemPref || {})));
|
|
607
|
-
}
|
|
608
|
-
return _items;
|
|
609
|
-
}
|
|
610
|
-
savePreferences() {
|
|
611
|
-
// Right now the items are moved between the column record arrays, but the
|
|
612
|
-
// 'col' prop is not updated, so it is mapped to corrected items here from
|
|
613
|
-
// the column records.
|
|
614
|
-
const items$ = this.widgetColumns$.pipe(map(columns => []
|
|
615
|
-
.concat(...(columns.map(c => c.items.map(itm => (Object.assign(Object.assign({}, itm), { col: c.column }))))))));
|
|
616
|
-
return combineLatest([items$, this.numColumns$]).pipe(auditTime(0), take(1), switchMap(([items, numColumns]) => {
|
|
617
|
-
return this._preferences.updateLayout(this.preferenceKey, {
|
|
618
|
-
name: this._layoutName(numColumns),
|
|
619
|
-
items
|
|
620
|
-
});
|
|
621
|
-
}), mapTo(undefined));
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
DashboardWidgetsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DashboardWidgetsService_Factory() { return new DashboardWidgetsService(i0.ɵɵinject(i1.TheSeamDynamicComponentLoader), i0.ɵɵinject(DashboardWidgetsPreferencesService)); }, token: DashboardWidgetsService, providedIn: "root" });
|
|
625
|
-
DashboardWidgetsService.decorators = [
|
|
626
|
-
{ type: Injectable, args: [{
|
|
627
|
-
providedIn: 'root'
|
|
628
|
-
},] }
|
|
629
|
-
];
|
|
630
|
-
DashboardWidgetsService.ctorParameters = () => [
|
|
631
|
-
{ type: TheSeamDynamicComponentLoader },
|
|
632
|
-
{ type: DashboardWidgetsPreferencesService }
|
|
633
|
-
];
|
|
634
|
-
|
|
635
|
-
class DashboardWidgetsComponent {
|
|
636
|
-
constructor(_dashboardWidgets, _viewContainerRef, _cdr, _baseLayoutRef) {
|
|
637
|
-
this._dashboardWidgets = _dashboardWidgets;
|
|
638
|
-
this._viewContainerRef = _viewContainerRef;
|
|
639
|
-
this._cdr = _cdr;
|
|
640
|
-
this._baseLayoutRef = _baseLayoutRef;
|
|
641
|
-
this.faLock = faLock;
|
|
642
|
-
this.faUnlock = faUnlock;
|
|
643
|
-
this._actionWidgetDragToggleName = 'widget-drag-toggle';
|
|
644
|
-
this._ngUnsubscribe = new Subject();
|
|
645
|
-
this._gapSize = new BehaviorSubject(30);
|
|
646
|
-
this.widgetsDraggable = false;
|
|
647
|
-
this._dragToggleVisible = new BehaviorSubject(true);
|
|
648
|
-
this._containers = new BehaviorSubject([]);
|
|
649
|
-
this._layoutChange = new Subject();
|
|
650
|
-
this.widgetsChange = new EventEmitter();
|
|
651
|
-
this._widthChange = new Subject();
|
|
652
|
-
this.containers$ = this._containers.asObservable();
|
|
653
|
-
this._gapStyleSize$ = this._gapSize.pipe(auditTime(0), map(size => size / 2), shareReplay({ bufferSize: 1, refCount: true }));
|
|
654
|
-
this._widthChange.pipe(debounceTime(30), tap(width => {
|
|
655
|
-
if (width > 1300) {
|
|
656
|
-
this.numColumns = 3;
|
|
657
|
-
}
|
|
658
|
-
else if (width > 800) {
|
|
659
|
-
this.numColumns = 2;
|
|
660
|
-
}
|
|
661
|
-
else {
|
|
662
|
-
this.numColumns = 1;
|
|
663
|
-
}
|
|
664
|
-
}), takeUntil(this._ngUnsubscribe)).subscribe();
|
|
665
|
-
this.widgetItems$ = this._dashboardWidgets.widgetItems$;
|
|
666
|
-
this.widgetColumns$ = this._dashboardWidgets.widgetColumns$;
|
|
667
|
-
}
|
|
668
|
-
get gapSize() { return this._gapSize.value; }
|
|
669
|
-
set gapSize(val) {
|
|
670
|
-
this._gapSize.next(coerceNumberProperty(val));
|
|
671
|
-
}
|
|
672
|
-
get dragToggleVisible() { return this._dragToggleVisible.value; }
|
|
673
|
-
set dragToggleVisible(val) {
|
|
674
|
-
this._dragToggleVisible.next(coerceBooleanProperty(val));
|
|
675
|
-
}
|
|
676
|
-
get numColumns() { return this._dashboardWidgets.numColumns; }
|
|
677
|
-
set numColumns(val) {
|
|
678
|
-
this._dashboardWidgets.numColumns = coerceNumberProperty(val);
|
|
679
|
-
}
|
|
680
|
-
set widgets(value) { this._dashboardWidgets.widgets = value || []; }
|
|
681
|
-
get widgets() { return this._dashboardWidgets.widgets; }
|
|
682
|
-
ngOnInit() {
|
|
683
|
-
// this._dashboardWidgets.setViewContainerRef(this._viewContainerRef)
|
|
684
|
-
this._layoutChange.pipe(switchMap(() => this.widgetItems$.pipe(take(1), tap(widgetItems => this.widgetsChange.emit(widgetItems)),
|
|
685
|
-
// map(widgetItems => this._dashboardWidgets.toSerializeableItems(widgetItems)),
|
|
686
|
-
// tap(v => console.log('serializable', v)),
|
|
687
|
-
switchMap(() => this._dashboardWidgets.savePreferences()))), takeUntil(this._ngUnsubscribe)).subscribe();
|
|
688
|
-
}
|
|
689
|
-
ngOnDestroy() {
|
|
690
|
-
this._unregisterToggleAction();
|
|
691
|
-
this._ngUnsubscribe.next();
|
|
692
|
-
this._ngUnsubscribe.complete();
|
|
693
|
-
}
|
|
694
|
-
ngAfterViewInit() {
|
|
695
|
-
var _a;
|
|
696
|
-
if (this._baseLayoutRef) {
|
|
697
|
-
this._dragToggleVisible.pipe(distinctUntilChanged(), tap(visible => {
|
|
698
|
-
const isRegistered = this._isActionToggleActionRegistered();
|
|
699
|
-
if (visible && !isRegistered) {
|
|
700
|
-
this._registerToggleAction();
|
|
701
|
-
}
|
|
702
|
-
else if (!visible && isRegistered) {
|
|
703
|
-
this._unregisterToggleAction();
|
|
704
|
-
}
|
|
705
|
-
}), takeUntil(this._ngUnsubscribe)).subscribe();
|
|
706
|
-
}
|
|
707
|
-
(_a = this.containers) === null || _a === void 0 ? void 0 : _a.changes.pipe(startWith(undefined), map(() => { var _a; return ((_a = this.containers) === null || _a === void 0 ? void 0 : _a.toArray()) || []; }), takeUntil(this._ngUnsubscribe), finalize(() => this._containers.next([]))).subscribe(v => this._containers.next(v));
|
|
708
|
-
}
|
|
709
|
-
_registerToggleAction() {
|
|
710
|
-
if (this._baseLayoutRef) {
|
|
711
|
-
// This should probably use a component dynamically created from the
|
|
712
|
-
// config and return a ref to it, instead of using a template.
|
|
713
|
-
if (this._toggleBtnTpl) {
|
|
714
|
-
this._baseLayoutRef.registerAction({
|
|
715
|
-
// type: 'button',
|
|
716
|
-
type: 'template',
|
|
717
|
-
name: this._actionWidgetDragToggleName,
|
|
718
|
-
label: 'Toggle Widget Dragging',
|
|
719
|
-
// exec: () => {
|
|
720
|
-
// console.log('toggle')
|
|
721
|
-
// },
|
|
722
|
-
template: this._toggleBtnTpl
|
|
723
|
-
});
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
_unregisterToggleAction() {
|
|
728
|
-
if (this._baseLayoutRef) {
|
|
729
|
-
this._baseLayoutRef.unregisterAction(this._actionWidgetDragToggleName);
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
_isActionToggleActionRegistered() {
|
|
733
|
-
if (!this._baseLayoutRef) {
|
|
734
|
-
return false;
|
|
735
|
-
}
|
|
736
|
-
return this._baseLayoutRef.isActionRegistered(this._actionWidgetDragToggleName);
|
|
737
|
-
}
|
|
738
|
-
drop(event) {
|
|
739
|
-
if (event.previousContainer === event.container) {
|
|
740
|
-
moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
|
|
741
|
-
this._dashboardWidgets.updateOrder().subscribe(() => this._layoutChange.next());
|
|
742
|
-
}
|
|
743
|
-
else {
|
|
744
|
-
transferArrayItem(event.previousContainer.data, event.container.data, event.previousIndex, event.currentIndex);
|
|
745
|
-
this._dashboardWidgets.updateOrder().subscribe(() => this._layoutChange.next());
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
_containerTrackByFn(index, item) {
|
|
749
|
-
return item.widgetId;
|
|
750
|
-
}
|
|
751
|
-
_columnsTrackByFn(index, record) {
|
|
752
|
-
return record.column;
|
|
753
|
-
}
|
|
754
|
-
toggleDragging() {
|
|
755
|
-
this.widgetsDraggable = !this.widgetsDraggable;
|
|
756
|
-
this._cdr.detectChanges();
|
|
757
|
-
}
|
|
758
|
-
_resized(event) {
|
|
759
|
-
this._widthChange.next(event.size.width);
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
DashboardWidgetsComponent.decorators = [
|
|
763
|
-
{ type: Component, args: [{
|
|
764
|
-
selector: 'seam-dashboard-widgets',
|
|
765
|
-
template: "<!--\n This is an ugly trick I am using to render the component into an <ng-content>\n wrapped in an <ng-template> to move the component to different outlets without\n reinitializing it. This way the widget won't reload when moving between\n columns. When I remember how I programatically did this I will remove this\n weirdness.\n -->\n <seam-dashboard-widget-container *ngFor=\"let item of widgetItems$ | async; trackBy: _containerTrackByFn\" [def]=\"$any(item)\">\n <!-- <ng-template [cdkPortalOutlet]=\"item.portal\"></ng-template> -->\n <ng-template [seamDashboardWidgetPortalOutlet]=\"item.portal\"></ng-template>\n</seam-dashboard-widget-container>\n\n<div class=\"dashboard-widgets-base d-flex flex-row justify-content-around\"\n style=\"flex: 1410px;\"\n [style.padding.px]=\"_gapStyleSize$ | async\"\n (seamElemResized)=\"_resized($event)\"\n cdkDropListGroup>\n <div *ngFor=\"let col of widgetColumns$ | async; trackBy: _columnsTrackByFn\"\n class=\"d-flex flex-column flex-grow-1 dashboard-widgets-list\"\n cdkDropList\n [cdkDropListData]=\"col.items\"\n (cdkDropListDropped)=\"drop($any($event))\">\n <div *ngFor=\"let item of col.items; trackBy: _containerTrackByFn\"\n class=\"dashboard-widgets-list-item\"\n [attr.data-widget-id]=\"item.widgetId\"\n cdkDrag\n [cdkDragDisabled]=\"!widgetsDraggable\">\n <div [style.margin.px]=\"_gapStyleSize$ | async\">\n <seam-dashboard-widget-template-container [item]=\"item\"></seam-dashboard-widget-template-container>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #toggleBtnTpl>\n <button seamButton theme=\"baselayout-action\" title=\"{{ widgetsDraggable ? 'Lock the Dashboard' : 'Modify Dashboard' }}\" (click)=\"toggleDragging()\">\n <seam-icon [icon]=\"widgetsDraggable ? faUnlock : faLock\"></seam-icon>\n </button>\n</ng-template>\n",
|
|
766
|
-
providers: [
|
|
767
|
-
{
|
|
768
|
-
provide: THESEAM_WIDGET_ACCESSOR,
|
|
769
|
-
// tslint:disable-next-line:no-use-before-declare
|
|
770
|
-
useExisting: forwardRef(() => DashboardWidgetsComponent)
|
|
771
|
-
}
|
|
772
|
-
],
|
|
773
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
774
|
-
encapsulation: ViewEncapsulation.None,
|
|
775
|
-
styles: ["seam-dashboard-widgets{display:flex;justify-content:center}seam-dashboard-widgets .dashboard-widgets-base{max-width:1410px}seam-dashboard-widgets .dashboard-widgets-list{flex-basis:400px;max-width:500px}seam-dashboard-widgets .dashboard-widgets-list.cdk-drop-list-dragging .dashboard-widgets-list-item:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.dashboard-widgets-list-item.cdk-drag-preview{box-sizing:border-box}.dashboard-widgets-list-item.cdk-drag-preview>div{border-radius:.25rem;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.dashboard-widgets-list-item.cdk-drag-disabled .cdk-drag-handle{cursor:default}.dashboard-widgets-list-item .cdk-drag-handle{cursor:move}.dashboard-widgets-list-item.cdk-drag-placeholder{opacity:0}.dashboard-widgets-list-item.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}\n"]
|
|
776
|
-
},] }
|
|
777
|
-
];
|
|
778
|
-
DashboardWidgetsComponent.ctorParameters = () => [
|
|
779
|
-
{ type: DashboardWidgetsService },
|
|
780
|
-
{ type: ViewContainerRef },
|
|
781
|
-
{ type: ChangeDetectorRef },
|
|
782
|
-
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [THESEAM_BASE_LAYOUT_REF,] }] }
|
|
783
|
-
];
|
|
784
|
-
DashboardWidgetsComponent.propDecorators = {
|
|
785
|
-
gapSize: [{ type: Input }],
|
|
786
|
-
widgetsDraggable: [{ type: Input }],
|
|
787
|
-
dragToggleVisible: [{ type: Input }],
|
|
788
|
-
numColumns: [{ type: Input }],
|
|
789
|
-
widgets: [{ type: Input }],
|
|
790
|
-
containers: [{ type: ViewChildren, args: [DashboardWidgetContainerComponent,] }],
|
|
791
|
-
cdkDragDirectives: [{ type: ViewChildren, args: [CdkDrag,] }],
|
|
792
|
-
_toggleBtnTpl: [{ type: ViewChild, args: ['toggleBtnTpl', { static: true },] }],
|
|
793
|
-
widgetsChange: [{ type: Output }]
|
|
794
|
-
};
|
|
795
|
-
__decorate([
|
|
796
|
-
InputBoolean()
|
|
797
|
-
], DashboardWidgetsComponent.prototype, "widgetsDraggable", void 0);
|
|
798
|
-
|
|
799
|
-
class DashboardWidgetTemplateContainerComponent {
|
|
800
|
-
constructor(_dashboardWidgetsComponent) {
|
|
801
|
-
this._dashboardWidgetsComponent = _dashboardWidgetsComponent;
|
|
802
|
-
this.template$ = this._dashboardWidgetsComponent.containers$.pipe(map(containers => containers.find((c) => { var _a; return c.def.widgetId === ((_a = this.item) === null || _a === void 0 ? void 0 : _a.widgetId); })), map(container => container && container.templateRef));
|
|
803
|
-
}
|
|
804
|
-
ngOnInit() { }
|
|
805
|
-
}
|
|
806
|
-
DashboardWidgetTemplateContainerComponent.decorators = [
|
|
807
|
-
{ type: Component, args: [{
|
|
808
|
-
selector: 'seam-dashboard-widget-template-container',
|
|
809
|
-
template: "<ng-template [ngTemplateOutlet]=\"$any(template$ | async)\"></ng-template>\n",
|
|
810
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
811
|
-
styles: [""]
|
|
812
|
-
},] }
|
|
813
|
-
];
|
|
814
|
-
DashboardWidgetTemplateContainerComponent.ctorParameters = () => [
|
|
815
|
-
{ type: DashboardWidgetsComponent }
|
|
816
|
-
];
|
|
817
|
-
DashboardWidgetTemplateContainerComponent.propDecorators = {
|
|
818
|
-
item: [{ type: Input }]
|
|
819
|
-
};
|
|
820
|
-
|
|
821
|
-
/**
|
|
822
|
-
* Mostly copied from
|
|
823
|
-
* `https://github.com/angular/components/blob/master/src/cdk/portal/portal-directives.ts`
|
|
824
|
-
* until I can figure out how to hold off removing the DOM nodes with the
|
|
825
|
-
* cdkPortalOutlet. When we update to Angular 9 I may be able to do this better
|
|
826
|
-
* with the new DomPortal.
|
|
827
|
-
*
|
|
828
|
-
* Directive version of a PortalOutlet. Because the directive *is* a
|
|
829
|
-
* PortalOutlet, portals can be directly attached to it, enabling declarative
|
|
830
|
-
* use.
|
|
831
|
-
*
|
|
832
|
-
* Usage: `<ng-template [cdkPortalOutlet]="greeting"></ng-template>`
|
|
833
|
-
*/
|
|
834
|
-
class DashboardWidgetPortalOutletDirective extends BasePortalOutlet {
|
|
835
|
-
constructor(_componentFactoryResolver, _viewContainerRef, _elementRef) {
|
|
836
|
-
super();
|
|
837
|
-
this._componentFactoryResolver = _componentFactoryResolver;
|
|
838
|
-
this._viewContainerRef = _viewContainerRef;
|
|
839
|
-
this._elementRef = _elementRef;
|
|
840
|
-
/** Whether the portal component is initialized. */
|
|
841
|
-
this._isInitialized = false;
|
|
842
|
-
/** Emits when a portal is attached to the outlet. */
|
|
843
|
-
this.attached = new EventEmitter();
|
|
844
|
-
}
|
|
845
|
-
/** Portal associated with the Portal outlet. */
|
|
846
|
-
get portal() {
|
|
847
|
-
return this._attachedPortal;
|
|
848
|
-
}
|
|
849
|
-
set portal(portal) {
|
|
850
|
-
// console.log('[DashboardWidgetPortalOutletDirective] set portal', portal, this.hasAttached())
|
|
851
|
-
// Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have
|
|
852
|
-
// run. This handles the cases where the user might do something like `<div cdkPortalOutlet>`
|
|
853
|
-
// and attach a portal programmatically in the parent component. When Angular does the first CD
|
|
854
|
-
// round, it will fire the setter with empty string, causing the user's content to be cleared.
|
|
855
|
-
if (this.hasAttached() && !portal && !this._isInitialized) {
|
|
856
|
-
return;
|
|
857
|
-
}
|
|
858
|
-
if (this.hasAttached()) {
|
|
859
|
-
super.detach();
|
|
860
|
-
}
|
|
861
|
-
if (portal) {
|
|
862
|
-
super.attach(portal);
|
|
863
|
-
}
|
|
864
|
-
this._attachedPortal = portal;
|
|
865
|
-
}
|
|
866
|
-
/** Component or view reference that is attached to the portal. */
|
|
867
|
-
get attachedRef() {
|
|
868
|
-
return this._attachedRef;
|
|
869
|
-
}
|
|
870
|
-
ngOnInit() {
|
|
871
|
-
this._isInitialized = true;
|
|
872
|
-
}
|
|
873
|
-
ngOnDestroy() {
|
|
874
|
-
// console.log('[DashboardWidgetPortalOutletDirective] ngOnDestroy')
|
|
875
|
-
// TODO: Figure out the right way to call dispose without messing up
|
|
876
|
-
// animation. This setTimeout way assumes the transition is 500ms, but that
|
|
877
|
-
// may not always be the case and isn't guaranteed to match the animation ms
|
|
878
|
-
// duration, since setTimeout isn't really meant for accurate timing. It
|
|
879
|
-
// also makes debugging animations difficult, because you can pause an
|
|
880
|
-
// animation, but the timeout will still run.
|
|
881
|
-
setTimeout(() => {
|
|
882
|
-
super.dispose();
|
|
883
|
-
this._attachedPortal = null;
|
|
884
|
-
this._attachedRef = null;
|
|
885
|
-
}, 500);
|
|
886
|
-
}
|
|
887
|
-
/**
|
|
888
|
-
* Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver.
|
|
889
|
-
*
|
|
890
|
-
* @param portal Portal to be attached to the portal outlet.
|
|
891
|
-
* @returns Reference to the created component.
|
|
892
|
-
*/
|
|
893
|
-
attachComponentPortal(portal) {
|
|
894
|
-
portal.setAttachedHost(this);
|
|
895
|
-
// If the portal specifies an origin, use that as the logical location of the component
|
|
896
|
-
// in the application tree. Otherwise use the location of this PortalOutlet.
|
|
897
|
-
const viewContainerRef = portal.viewContainerRef != null ?
|
|
898
|
-
portal.viewContainerRef :
|
|
899
|
-
this._viewContainerRef;
|
|
900
|
-
const resolver = portal.componentFactoryResolver || this._componentFactoryResolver;
|
|
901
|
-
const componentFactory = resolver.resolveComponentFactory(portal.component);
|
|
902
|
-
const ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector);
|
|
903
|
-
super.setDisposeFn(() => ref.destroy());
|
|
904
|
-
this._attachedPortal = portal;
|
|
905
|
-
this._attachedRef = ref;
|
|
906
|
-
this.attached.emit(ref);
|
|
907
|
-
return ref;
|
|
908
|
-
}
|
|
909
|
-
/**
|
|
910
|
-
* Attach the given TemplatePortal to this PortlHost as an embedded View.
|
|
911
|
-
* @param portal Portal to be attached.
|
|
912
|
-
* @returns Reference to the created embedded view.
|
|
913
|
-
*/
|
|
914
|
-
attachTemplatePortal(portal) {
|
|
915
|
-
portal.setAttachedHost(this);
|
|
916
|
-
const viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context);
|
|
917
|
-
super.setDisposeFn(() => this._viewContainerRef.clear());
|
|
918
|
-
this._attachedPortal = portal;
|
|
919
|
-
this._attachedRef = viewRef;
|
|
920
|
-
this.attached.emit(viewRef);
|
|
921
|
-
return viewRef;
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
DashboardWidgetPortalOutletDirective.decorators = [
|
|
925
|
-
{ type: Directive, args: [{
|
|
926
|
-
selector: '[seamDashboardWidgetPortalOutlet]',
|
|
927
|
-
exportAs: 'seamDashboardWidgetPortalOutlet',
|
|
928
|
-
inputs: ['portal: seamDashboardWidgetPortalOutlet']
|
|
929
|
-
},] }
|
|
930
|
-
];
|
|
931
|
-
DashboardWidgetPortalOutletDirective.ctorParameters = () => [
|
|
932
|
-
{ type: ComponentFactoryResolver },
|
|
933
|
-
{ type: ViewContainerRef },
|
|
934
|
-
{ type: ElementRef }
|
|
935
|
-
];
|
|
936
|
-
DashboardWidgetPortalOutletDirective.propDecorators = {
|
|
937
|
-
attached: [{ type: Output }]
|
|
938
|
-
};
|
|
939
|
-
|
|
940
|
-
class DashboardComponent {
|
|
941
|
-
constructor() {
|
|
942
|
-
this.widgetsDraggable = true;
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
DashboardComponent.decorators = [
|
|
946
|
-
{ type: Component, args: [{
|
|
947
|
-
selector: 'seam-dashboard',
|
|
948
|
-
template: "<seam-dashboard-widgets [widgets]=\"widgets\" [widgetsDraggable]=\"widgetsDraggable\"></seam-dashboard-widgets>\n",
|
|
949
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
950
|
-
styles: [""]
|
|
951
|
-
},] }
|
|
952
|
-
];
|
|
953
|
-
DashboardComponent.ctorParameters = () => [];
|
|
954
|
-
DashboardComponent.propDecorators = {
|
|
955
|
-
widgets: [{ type: Input }],
|
|
956
|
-
widgetsDraggable: [{ type: Input }]
|
|
957
|
-
};
|
|
958
|
-
__decorate([
|
|
959
|
-
InputBoolean()
|
|
960
|
-
], DashboardComponent.prototype, "widgetsDraggable", void 0);
|
|
961
|
-
|
|
962
|
-
class TheSeamDashboardModule {
|
|
963
|
-
}
|
|
964
|
-
TheSeamDashboardModule.decorators = [
|
|
965
|
-
{ type: NgModule, args: [{
|
|
966
|
-
declarations: [
|
|
967
|
-
DashboardComponent,
|
|
968
|
-
DashboardWidgetsComponent,
|
|
969
|
-
DashboardWidgetContainerComponent,
|
|
970
|
-
DashboardWidgetTemplateContainerComponent,
|
|
971
|
-
DashboardWidgetPortalOutletDirective
|
|
972
|
-
],
|
|
973
|
-
imports: [
|
|
974
|
-
CommonModule,
|
|
975
|
-
PortalModule,
|
|
976
|
-
DragDropModule,
|
|
977
|
-
TheSeamButtonsModule,
|
|
978
|
-
TheSeamIconModule,
|
|
979
|
-
TheSeamSharedModule
|
|
980
|
-
],
|
|
981
|
-
exports: [
|
|
982
|
-
DashboardComponent,
|
|
983
|
-
DashboardWidgetsComponent,
|
|
984
|
-
DashboardWidgetPortalOutletDirective
|
|
985
|
-
]
|
|
986
|
-
},] }
|
|
987
|
-
];
|
|
988
|
-
|
|
989
|
-
function isNavItemType(item, type) {
|
|
990
|
-
return item.itemType === type;
|
|
991
|
-
}
|
|
992
|
-
function isNavItemActive(item) {
|
|
993
|
-
var _a, _b;
|
|
994
|
-
return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.active) !== null && _b !== void 0 ? _b : false;
|
|
995
|
-
}
|
|
996
|
-
function isExpanded(item) {
|
|
997
|
-
var _a, _b;
|
|
998
|
-
return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.expanded) !== null && _b !== void 0 ? _b : false;
|
|
999
|
-
}
|
|
1000
|
-
function hasChildren(item) {
|
|
1001
|
-
return canHaveChildren(item) && hasProperty(item, 'children') && item.children.length > 0;
|
|
1002
|
-
}
|
|
1003
|
-
function canHaveChildren(item) {
|
|
1004
|
-
return isNavItemType(item, 'basic') || isNavItemType(item, 'link');
|
|
1005
|
-
}
|
|
1006
|
-
function hasActiveChild(item) {
|
|
1007
|
-
if (!hasChildren(item)) {
|
|
1008
|
-
return false;
|
|
1009
|
-
}
|
|
1010
|
-
for (const child of item.children) {
|
|
1011
|
-
if (getItemStateProp(child, 'active')) {
|
|
1012
|
-
return true;
|
|
1013
|
-
}
|
|
1014
|
-
}
|
|
1015
|
-
return false;
|
|
1016
|
-
}
|
|
1017
|
-
function hasExpandedChild(item) {
|
|
1018
|
-
if (!hasChildren(item)) {
|
|
1019
|
-
return false;
|
|
1020
|
-
}
|
|
1021
|
-
for (const child of item.children) {
|
|
1022
|
-
if (getItemStateProp(child, 'expanded')) {
|
|
1023
|
-
return true;
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
return false;
|
|
1027
|
-
}
|
|
1028
|
-
function canBeActive(item) {
|
|
1029
|
-
return isNavItemType(item, 'basic') || isNavItemType(item, 'link');
|
|
1030
|
-
}
|
|
1031
|
-
function canExpand(item) {
|
|
1032
|
-
return canHaveChildren(item);
|
|
1033
|
-
}
|
|
1034
|
-
function findLinkItems(items) {
|
|
1035
|
-
const linkItems = [];
|
|
1036
|
-
const _fn = (_items) => {
|
|
1037
|
-
for (const item of _items) {
|
|
1038
|
-
if (isNavItemType(item, 'link')) {
|
|
1039
|
-
linkItems.push(item);
|
|
1040
|
-
}
|
|
1041
|
-
if (canHaveChildren(item) && hasProperty(item, 'children')) {
|
|
1042
|
-
_fn(item.children);
|
|
1043
|
-
}
|
|
1044
|
-
}
|
|
1045
|
-
};
|
|
1046
|
-
_fn(items);
|
|
1047
|
-
return linkItems;
|
|
1048
|
-
}
|
|
1049
|
-
function setItemStateProp(item, prop, value) {
|
|
1050
|
-
if (hasProperty(item, '__state')) {
|
|
1051
|
-
item.__state[prop] = value;
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
function getItemStateProp(item, prop) {
|
|
1055
|
-
return setDefaultState(item).__state[prop];
|
|
1056
|
-
}
|
|
1057
|
-
function setDefaultState(item) {
|
|
1058
|
-
if (hasProperty(item, '__state')) {
|
|
1059
|
-
return item;
|
|
1060
|
-
}
|
|
1061
|
-
item.__state = {
|
|
1062
|
-
active: false,
|
|
1063
|
-
expanded: false
|
|
1064
|
-
};
|
|
1065
|
-
// TODO: See if there is a nice way to fix the typing for this.
|
|
1066
|
-
return item;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
class TheSeamSideNavService {
|
|
1070
|
-
constructor(_router) {
|
|
1071
|
-
this._router = _router;
|
|
1072
|
-
this._updatingCount = new BehaviorSubject(0);
|
|
1073
|
-
this.itemChanged = new Subject();
|
|
1074
|
-
this.loading$ = this._updatingCount.pipe(map(count => count > 0), distinctUntilChanged(), shareReplay({ bufferSize: 1, refCount: true }));
|
|
1075
|
-
}
|
|
1076
|
-
createItemsObservable(items) {
|
|
1077
|
-
return defer(() => {
|
|
1078
|
-
this.updateItemsStates(items);
|
|
1079
|
-
return new Observable((subscriber) => {
|
|
1080
|
-
const stateChangeSub = this.itemChanged.pipe(switchMap(() => this.loading$.pipe(filter(loading => !loading)))).subscribe(() => {
|
|
1081
|
-
subscriber.next(items);
|
|
1082
|
-
});
|
|
1083
|
-
try {
|
|
1084
|
-
this.updateItemsStates(items);
|
|
1085
|
-
}
|
|
1086
|
-
catch (err) {
|
|
1087
|
-
subscriber.error(err);
|
|
1088
|
-
}
|
|
1089
|
-
// const linkItems = findLinkItems(items)
|
|
1090
|
-
const routeChangeSub = this._router.events.pipe(filter(event => event instanceof NavigationEnd)).subscribe(() => {
|
|
1091
|
-
try {
|
|
1092
|
-
this.updateItemsStates(items);
|
|
1093
|
-
}
|
|
1094
|
-
catch (err) {
|
|
1095
|
-
subscriber.error(err);
|
|
1096
|
-
}
|
|
1097
|
-
});
|
|
1098
|
-
return () => {
|
|
1099
|
-
stateChangeSub.unsubscribe();
|
|
1100
|
-
routeChangeSub.unsubscribe();
|
|
1101
|
-
};
|
|
1102
|
-
}).pipe(startWith(items));
|
|
1103
|
-
});
|
|
1104
|
-
}
|
|
1105
|
-
_incUpdatingCount() {
|
|
1106
|
-
this._updatingCount.next(this._updatingCount.value + 1);
|
|
1107
|
-
}
|
|
1108
|
-
_decrUpdatingCount() {
|
|
1109
|
-
this._updatingCount.next(this._updatingCount.value - 1);
|
|
1110
|
-
}
|
|
1111
|
-
updateItemsStates(items) {
|
|
1112
|
-
this._incUpdatingCount();
|
|
1113
|
-
try {
|
|
1114
|
-
for (const item of items) {
|
|
1115
|
-
if (hasChildren(item)) {
|
|
1116
|
-
this.updateItemsStates(item.children);
|
|
1117
|
-
}
|
|
1118
|
-
this.updateItemState(item);
|
|
1119
|
-
}
|
|
1120
|
-
this._decrUpdatingCount();
|
|
1121
|
-
}
|
|
1122
|
-
catch (err) {
|
|
1123
|
-
this._decrUpdatingCount();
|
|
1124
|
-
throw err;
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
updateItemState(item) {
|
|
1128
|
-
this._incUpdatingCount();
|
|
1129
|
-
try {
|
|
1130
|
-
setDefaultState(item);
|
|
1131
|
-
if (isNavItemType(item, 'link')) {
|
|
1132
|
-
const url = this._getUrl(item);
|
|
1133
|
-
if (notNullOrUndefined(url)) {
|
|
1134
|
-
const opts = this._getMatchOptions(item);
|
|
1135
|
-
this.setItemStateProp(item, 'active', this._router.isActive(url, opts));
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1138
|
-
// TODO: Implement this in a more optimized way. Unless our apps start
|
|
1139
|
-
// having large side-navs constantly updating their state, this shouldn't
|
|
1140
|
-
// have much impact on performance.
|
|
1141
|
-
this._updateItemExpandedState(item);
|
|
1142
|
-
this._decrUpdatingCount();
|
|
1143
|
-
}
|
|
1144
|
-
catch (err) {
|
|
1145
|
-
this._decrUpdatingCount();
|
|
1146
|
-
throw err;
|
|
1147
|
-
}
|
|
1148
|
-
}
|
|
1149
|
-
_updateItemsExpandedState(items) {
|
|
1150
|
-
for (const item of items) {
|
|
1151
|
-
if (hasChildren(item)) {
|
|
1152
|
-
this._updateItemsExpandedState(item.children);
|
|
1153
|
-
}
|
|
1154
|
-
this._updateItemExpandedState(item);
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
_updateItemExpandedState(item) {
|
|
1158
|
-
if (!canExpand(item)) {
|
|
1159
|
-
if (getItemStateProp(item, 'expanded')) {
|
|
1160
|
-
this.setItemStateProp(item, 'expanded', false);
|
|
1161
|
-
}
|
|
1162
|
-
return;
|
|
1163
|
-
}
|
|
1164
|
-
if (hasChildren(item)) {
|
|
1165
|
-
this._updateItemsExpandedState(item.children);
|
|
1166
|
-
}
|
|
1167
|
-
if (hasActiveChild(item) || hasExpandedChild(item)) {
|
|
1168
|
-
if (!getItemStateProp(item, 'expanded')) {
|
|
1169
|
-
this.setItemStateProp(item, 'expanded', true);
|
|
1170
|
-
}
|
|
1171
|
-
}
|
|
1172
|
-
else {
|
|
1173
|
-
if (getItemStateProp(item, 'expanded')) {
|
|
1174
|
-
this.setItemStateProp(item, 'expanded', false);
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
_getNavExtras(item) {
|
|
1179
|
-
const navigationExtras = {};
|
|
1180
|
-
if (hasProperty(item, 'queryParams')) {
|
|
1181
|
-
navigationExtras.queryParams = item.queryParams;
|
|
1182
|
-
}
|
|
1183
|
-
if (hasProperty(item, 'fragment')) {
|
|
1184
|
-
navigationExtras.fragment = item.fragment;
|
|
1185
|
-
}
|
|
1186
|
-
if (hasProperty(item, 'queryParamsHandling')) {
|
|
1187
|
-
navigationExtras.queryParamsHandling = item.queryParamsHandling;
|
|
1188
|
-
}
|
|
1189
|
-
if (hasProperty(item, 'preserveFragment')) {
|
|
1190
|
-
navigationExtras.preserveFragment = item.preserveFragment;
|
|
1191
|
-
}
|
|
1192
|
-
return navigationExtras;
|
|
1193
|
-
}
|
|
1194
|
-
_getUrl(item) {
|
|
1195
|
-
const link = item.link;
|
|
1196
|
-
if (typeof link === 'string') {
|
|
1197
|
-
return this._router.createUrlTree([link], this._getNavExtras(item)).toString();
|
|
1198
|
-
}
|
|
1199
|
-
else if (Array.isArray(link)) {
|
|
1200
|
-
return this._router.createUrlTree(link, this._getNavExtras(item)).toString();
|
|
1201
|
-
}
|
|
1202
|
-
return null;
|
|
1203
|
-
}
|
|
1204
|
-
_getMatchOptions(item) {
|
|
1205
|
-
const defaultMatchOpts = {
|
|
1206
|
-
paths: 'subset',
|
|
1207
|
-
queryParams: 'subset',
|
|
1208
|
-
fragment: 'ignored',
|
|
1209
|
-
matrixParams: 'ignored'
|
|
1210
|
-
};
|
|
1211
|
-
if (hasProperty(item, 'matchOptions')) {
|
|
1212
|
-
return Object.assign(Object.assign({}, defaultMatchOpts), item.matchOptions);
|
|
1213
|
-
}
|
|
1214
|
-
return defaultMatchOpts;
|
|
1215
|
-
}
|
|
1216
|
-
setItemStateProp(item, prop, value) {
|
|
1217
|
-
const currentValue = getItemStateProp(item, prop);
|
|
1218
|
-
if (currentValue !== value) {
|
|
1219
|
-
setItemStateProp(item, prop, value);
|
|
1220
|
-
const changed = {
|
|
1221
|
-
item,
|
|
1222
|
-
prop,
|
|
1223
|
-
prevValue: currentValue,
|
|
1224
|
-
newValue: value
|
|
1225
|
-
};
|
|
1226
|
-
this.itemChanged.next(changed);
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
|
-
TheSeamSideNavService.decorators = [
|
|
1231
|
-
{ type: Injectable }
|
|
1232
|
-
];
|
|
1233
|
-
TheSeamSideNavService.ctorParameters = () => [
|
|
1234
|
-
{ type: Router }
|
|
1235
|
-
];
|
|
1236
|
-
|
|
1237
|
-
const EXPANDED_STATE$1 = 'expanded';
|
|
1238
|
-
const COLLAPSED_STATE$1 = 'collapsed';
|
|
1239
|
-
const EXPANDED_OVERLAY_STATE = 'expanded-overlay';
|
|
1240
|
-
const COLLAPSED_OVERLAY_STATE = 'collapsed-overlay';
|
|
1241
|
-
const EXPANDED_STATES = [EXPANDED_STATE$1, EXPANDED_OVERLAY_STATE];
|
|
1242
|
-
const COLLAPSED_STATES = [COLLAPSED_STATE$1, COLLAPSED_OVERLAY_STATE];
|
|
1243
|
-
const EXPAND_STATES = [...EXPANDED_STATES, ...COLLAPSED_STATES];
|
|
1244
|
-
function sideNavExpandStateChangeFn(fromState, toState) {
|
|
1245
|
-
// console.log({ fromState, toState })
|
|
1246
|
-
return fromState !== toState &&
|
|
1247
|
-
(
|
|
1248
|
-
// NOTE: The current way the side nav is being used it causes the
|
|
1249
|
-
// component to sometimes get placed in the wrong location initially. It
|
|
1250
|
-
// is fast enough to not be noticed without an initial animation usually,
|
|
1251
|
-
// so it is commented out below until the initial placement issue it
|
|
1252
|
-
// fixed.
|
|
1253
|
-
//
|
|
1254
|
-
// (
|
|
1255
|
-
// fromState === 'void' && EXPAND_STATES.indexOf(toState) !== -1
|
|
1256
|
-
// ||
|
|
1257
|
-
// toState === 'void' && EXPAND_STATES.indexOf(fromState) !== -1
|
|
1258
|
-
// )
|
|
1259
|
-
// ||
|
|
1260
|
-
((EXPANDED_STATES.indexOf(fromState) !== -1 && COLLAPSED_STATES.indexOf(toState) !== -1)
|
|
1261
|
-
||
|
|
1262
|
-
(EXPANDED_STATES.indexOf(toState) !== -1 && COLLAPSED_STATES.indexOf(fromState) !== -1)));
|
|
1263
|
-
}
|
|
1264
|
-
class SideNavComponent {
|
|
1265
|
-
constructor(_viewContainerRef, _layout, _sideNav, _baseLayoutRef) {
|
|
1266
|
-
this._viewContainerRef = _viewContainerRef;
|
|
1267
|
-
this._layout = _layout;
|
|
1268
|
-
this._sideNav = _sideNav;
|
|
1269
|
-
this._baseLayoutRef = _baseLayoutRef;
|
|
1270
|
-
this._ngUnsubscribe = new Subject();
|
|
1271
|
-
// @HostBinding('@sideNavExpand') _sideNavExpand = EXPANDED_STATE
|
|
1272
|
-
// _sideNavExpand = EXPANDED_STATE
|
|
1273
|
-
// @HostBinding('@sideNavAnim') _sideNavExpand = EXPANDED_STATE
|
|
1274
|
-
this._sideNavExpand = 'initial';
|
|
1275
|
-
this.hasHeaderToggle = true;
|
|
1276
|
-
this._items = new BehaviorSubject([]);
|
|
1277
|
-
this._expanded = new BehaviorSubject(true);
|
|
1278
|
-
this.expanded$ = this._expanded.asObservable();
|
|
1279
|
-
this._overlay = new BehaviorSubject(false);
|
|
1280
|
-
this.overlay$ = this._overlay.asObservable();
|
|
1281
|
-
this.toggleExpand = new EventEmitter();
|
|
1282
|
-
this._backdropHidden = new BehaviorSubject(true);
|
|
1283
|
-
this.items$ = this._items.asObservable().pipe(switchMap(items => this._sideNav.createItemsObservable(items)), shareReplay({ bufferSize: 1, refCount: true }));
|
|
1284
|
-
this.isMobile$ = this._layout.isMobile$.pipe(tap(isMobile => isMobile ? this.collapse() : this.expand()));
|
|
1285
|
-
this.sideNavExpandedState$ = combineLatest([this.expanded$, this.overlay$]).pipe(map(([expanded, overlay]) => expanded
|
|
1286
|
-
? overlay ? EXPANDED_OVERLAY_STATE : EXPANDED_STATE$1
|
|
1287
|
-
: overlay ? COLLAPSED_OVERLAY_STATE : COLLAPSED_STATE$1), distinctUntilChanged());
|
|
1288
|
-
}
|
|
1289
|
-
get items() { return this._items.value; }
|
|
1290
|
-
set items(value) { this._items.next(value); }
|
|
1291
|
-
get expanded() { return this._expanded.value; }
|
|
1292
|
-
set expanded(value) {
|
|
1293
|
-
const expanded = coerceBooleanProperty(value);
|
|
1294
|
-
let emit = expanded !== this.expanded;
|
|
1295
|
-
this._expanded.next(expanded);
|
|
1296
|
-
if (emit) {
|
|
1297
|
-
this.toggleExpand.emit(coerceBooleanProperty(value));
|
|
1298
|
-
}
|
|
1299
|
-
}
|
|
1300
|
-
get overlay() { return this._overlay.value; }
|
|
1301
|
-
set overlay(value) { this._overlay.next(coerceBooleanProperty(value)); }
|
|
1302
|
-
ngOnInit() {
|
|
1303
|
-
if (this._baseLayoutRef) {
|
|
1304
|
-
this._baseLayoutRef.registerNav(this);
|
|
1305
|
-
}
|
|
1306
|
-
this.isMobile$
|
|
1307
|
-
.pipe(takeUntil(this._ngUnsubscribe))
|
|
1308
|
-
.subscribe(b => this.overlay = b);
|
|
1309
|
-
this.sideNavExpandedState$
|
|
1310
|
-
.pipe(takeUntil(this._ngUnsubscribe))
|
|
1311
|
-
.subscribe(v => this._sideNavExpand = v);
|
|
1312
|
-
if (this._sideBarFooterTpl) {
|
|
1313
|
-
this._sideBarFooterPortal = new TemplatePortal(this._sideBarFooterTpl, this._viewContainerRef);
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
ngOnDestroy() {
|
|
1317
|
-
this._ngUnsubscribe.next();
|
|
1318
|
-
this._ngUnsubscribe.complete();
|
|
1319
|
-
if (this._baseLayoutRef) {
|
|
1320
|
-
this._baseLayoutRef.unregisterNav(this);
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
expand() {
|
|
1324
|
-
this.expanded = true;
|
|
1325
|
-
}
|
|
1326
|
-
collapse() {
|
|
1327
|
-
this.expanded = false;
|
|
1328
|
-
}
|
|
1329
|
-
toggle() {
|
|
1330
|
-
this.expanded = !this.expanded;
|
|
1331
|
-
}
|
|
1332
|
-
animateStart() {
|
|
1333
|
-
if (this.expanded) {
|
|
1334
|
-
this._backdropHidden.next(false);
|
|
1335
|
-
}
|
|
1336
|
-
}
|
|
1337
|
-
animateEnd() {
|
|
1338
|
-
if (!this.expanded) {
|
|
1339
|
-
this._backdropHidden.next(true);
|
|
1340
|
-
}
|
|
1341
|
-
}
|
|
1342
|
-
}
|
|
1343
|
-
SideNavComponent.decorators = [
|
|
1344
|
-
{ type: Component, args: [{
|
|
1345
|
-
selector: 'seam-side-nav',
|
|
1346
|
-
template: "<div class=\"side-nav-backdrop\" *ngIf=\"isMobile$ | async\"\n [@sideNavBackdrop]=\"_sideNavExpand\"\n [class.side-nav-backdrop-hidden]=\"_backdropHidden | async\"></div>\n\n<div class=\"side-nav-inner-wrapper\" [@sideNavExpand]=\"_sideNavExpand\"\n (@sideNavExpand.start)=\"animateStart()\"\n (@sideNavExpand.done)=\"animateEnd()\">\n <nav class=\"nav side-nav-content\">\n <seam-side-nav-toggle *ngIf=\"hasHeaderToggle\"\n [expanded]=\"expanded$ | async\"\n (toggleExpand)=\"toggle()\">\n </seam-side-nav-toggle>\n <div class=\"side-nav-items-container\" seamOverlayScrollbar>\n <seam-side-nav-item *ngFor=\"let item of items$ | async\"\n [compact]=\"!(expanded$ | async)\"\n [itemType]=\"$any(item)?.itemType\"\n [icon]=\"$any(item)?.icon\"\n [label]=\"$any(item)?.label\"\n [link]=\"$any(item)?.link\"\n [badgeText]=\"$any(item)?.badge?.text\"\n [badgeTheme]=\"$any(item)?.badge?.theme || 'danger'\"\n [badgeSrContent]=\"$any(item)?.badge?.srContent\"\n [badgeTooltip]=\"$any(item)?.badge?.tooltip\"\n [queryParams]=\"$any(item)?.queryParams\"\n [children]=\"$any(item)?.children\"\n [active]=\"$any(item).__state.active\"\n [expanded]=\"$any(item).__state.expanded\">\n </seam-side-nav-item>\n </div>\n <ng-template [cdkPortalOutlet]=\"_sideBarFooterPortal\"></ng-template>\n </nav>\n</div>\n",
|
|
1347
|
-
providers: [
|
|
1348
|
-
TheSeamSideNavService
|
|
1349
|
-
],
|
|
1350
|
-
animations: [
|
|
1351
|
-
//
|
|
1352
|
-
// TODO: This animation code turned into a mess. Clean it up and make it
|
|
1353
|
-
// more smooth.
|
|
1354
|
-
//
|
|
1355
|
-
trigger('sideNavAnim', [
|
|
1356
|
-
transition(sideNavExpandStateChangeFn, [
|
|
1357
|
-
group([
|
|
1358
|
-
query('@sideNavBackdrop', animateChild(), { optional: true }),
|
|
1359
|
-
query('@sideNavExpand', animateChild(), { optional: true }),
|
|
1360
|
-
]),
|
|
1361
|
-
]),
|
|
1362
|
-
]),
|
|
1363
|
-
trigger('sideNavBackdrop', [
|
|
1364
|
-
state(EXPANDED_OVERLAY_STATE, style({ opacity: '1' })),
|
|
1365
|
-
state(COLLAPSED_OVERLAY_STATE, style({ opacity: '0' })),
|
|
1366
|
-
// transition((fromState, toState, element, params) => {
|
|
1367
|
-
// console.log('sideNavBackdrop v', fromState, toState, element, params)
|
|
1368
|
-
// return false
|
|
1369
|
-
// }, []),
|
|
1370
|
-
transition(sideNavExpandStateChangeFn, animate('0.2s ease-in-out')),
|
|
1371
|
-
]),
|
|
1372
|
-
trigger('sideNavExpand', [
|
|
1373
|
-
// TODO: Make width configurable.
|
|
1374
|
-
state(EXPANDED_STATE$1, style({ width: '260px' })),
|
|
1375
|
-
state(COLLAPSED_STATE$1, style({ width: '50px', 'overflow-x': 'hidden' })),
|
|
1376
|
-
state(EXPANDED_OVERLAY_STATE, style({
|
|
1377
|
-
position: 'absolute',
|
|
1378
|
-
top: 0,
|
|
1379
|
-
height: '100%',
|
|
1380
|
-
bottom: 0,
|
|
1381
|
-
left: 0,
|
|
1382
|
-
float: 'left',
|
|
1383
|
-
zIndex: '9999',
|
|
1384
|
-
width: 'calc(100vw - 50px)',
|
|
1385
|
-
transform: 'translateX(0)'
|
|
1386
|
-
})),
|
|
1387
|
-
state(COLLAPSED_OVERLAY_STATE, style({
|
|
1388
|
-
position: 'absolute',
|
|
1389
|
-
top: 0,
|
|
1390
|
-
height: '100%',
|
|
1391
|
-
bottom: 0,
|
|
1392
|
-
left: 0,
|
|
1393
|
-
float: 'left',
|
|
1394
|
-
zIndex: '9999',
|
|
1395
|
-
width: 'calc(100vw - 50px)',
|
|
1396
|
-
transform: 'translateX(calc(-100vw + 50px))',
|
|
1397
|
-
'overflow-x': 'hidden'
|
|
1398
|
-
})),
|
|
1399
|
-
// transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, animate('0.2s ease-in-out')),
|
|
1400
|
-
transition(sideNavExpandStateChangeFn, animate('0.2s ease-in-out')),
|
|
1401
|
-
// transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, [
|
|
1402
|
-
// // query(':leave', animateChild(), { optional: true }),
|
|
1403
|
-
// // query(':enter', animateChild(), { optional: true }),
|
|
1404
|
-
// group([
|
|
1405
|
-
// query(':leave', animateChild(), { optional: true }),
|
|
1406
|
-
// query(':enter', animateChild(), { optional: true }),
|
|
1407
|
-
// query('@compactAnim', animateChild(), { optional: true }),
|
|
1408
|
-
// animate('5.2s ease-in-out')
|
|
1409
|
-
// ])
|
|
1410
|
-
// ]),
|
|
1411
|
-
])
|
|
1412
|
-
],
|
|
1413
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1414
|
-
encapsulation: ViewEncapsulation.None,
|
|
1415
|
-
styles: ["seam-side-nav,.seam-side-nav{display:block;height:100%;position:relative;z-index:2;overflow:hidden}seam-side-nav .side-nav-inner-wrapper,.seam-side-nav .side-nav-inner-wrapper{background:#357ebd;height:100%}seam-side-nav .side-nav-backdrop,.seam-side-nav .side-nav-backdrop{background:rgba(52,58,64,.6);width:100vw;height:100vh}seam-side-nav .side-nav-backdrop.side-nav-backdrop-hidden,.seam-side-nav .side-nav-backdrop.side-nav-backdrop-hidden{display:none;width:0;height:0;padding:0;margin:0}seam-side-nav .side-nav-content,.seam-side-nav .side-nav-content{display:flex;flex-direction:column;height:100%;flex-wrap:nowrap}seam-side-nav .side-nav-items-container,.seam-side-nav .side-nav-items-container{display:flex;flex-direction:column;width:100%;flex:1 1 100%}\n"]
|
|
1416
|
-
},] }
|
|
1417
|
-
];
|
|
1418
|
-
SideNavComponent.ctorParameters = () => [
|
|
1419
|
-
{ type: ViewContainerRef },
|
|
1420
|
-
{ type: TheSeamLayoutService },
|
|
1421
|
-
{ type: TheSeamSideNavService },
|
|
1422
|
-
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [THESEAM_BASE_LAYOUT_REF,] }] }
|
|
1423
|
-
];
|
|
1424
|
-
SideNavComponent.propDecorators = {
|
|
1425
|
-
_sideNavExpand: [{ type: HostBinding, args: ['@sideNavAnim',] }],
|
|
1426
|
-
hasHeaderToggle: [{ type: Input }],
|
|
1427
|
-
items: [{ type: Input }],
|
|
1428
|
-
expanded: [{ type: Input }],
|
|
1429
|
-
overlay: [{ type: Input }],
|
|
1430
|
-
toggleExpand: [{ type: Output }],
|
|
1431
|
-
_sideBarFooterTpl: [{ type: ContentChild, args: [BaseLayoutSideBarFooterDirective, { static: true, read: TemplateRef },] }]
|
|
1432
|
-
};
|
|
1433
|
-
__decorate([
|
|
1434
|
-
InputBoolean()
|
|
1435
|
-
], SideNavComponent.prototype, "hasHeaderToggle", void 0);
|
|
1436
|
-
|
|
1437
|
-
const EXPANDED_STATE = 'expanded';
|
|
1438
|
-
const COLLAPSED_STATE = 'collapsed';
|
|
1439
|
-
const FULL_STATE = 'full';
|
|
1440
|
-
const COMPACT_STATE = 'compact';
|
|
1441
|
-
class SideNavItemComponent {
|
|
1442
|
-
constructor(_sideNav, _parent) {
|
|
1443
|
-
this._sideNav = _sideNav;
|
|
1444
|
-
this._parent = _parent;
|
|
1445
|
-
this._ngUnsubscribe = new Subject();
|
|
1446
|
-
this.faAngleLeft = faAngleLeft;
|
|
1447
|
-
this.active = false;
|
|
1448
|
-
this._link = new BehaviorSubject(undefined);
|
|
1449
|
-
this.link$ = this._link.asObservable();
|
|
1450
|
-
this.hierLevel = 0;
|
|
1451
|
-
this.indentSize = 10;
|
|
1452
|
-
this._expanded = new BehaviorSubject(false);
|
|
1453
|
-
this.expanded$ = this._expanded.asObservable();
|
|
1454
|
-
this._compact = new BehaviorSubject(false);
|
|
1455
|
-
this.compact$ = this._compact.asObservable();
|
|
1456
|
-
this.badgeTheme = 'danger';
|
|
1457
|
-
this.childGroupAnimState$ = this.expanded$
|
|
1458
|
-
.pipe(map(expanded => expanded ? EXPANDED_STATE : COLLAPSED_STATE));
|
|
1459
|
-
this.compactAnimState$ = this.compact$
|
|
1460
|
-
.pipe(map(compact => compact ? COMPACT_STATE : FULL_STATE));
|
|
1461
|
-
}
|
|
1462
|
-
set link(value) { this._link.next(value); }
|
|
1463
|
-
get link() { return this._link.value; }
|
|
1464
|
-
set expanded(value) { this._expanded.next(coerceBooleanProperty(value)); }
|
|
1465
|
-
get expanded() { return this._expanded.value; }
|
|
1466
|
-
set compact(value) { this._compact.next(coerceBooleanProperty(value)); }
|
|
1467
|
-
get compact() { return this._compact.value; }
|
|
1468
|
-
get badgeTooltip() { return this._badgeTooltip; }
|
|
1469
|
-
set badgeTooltip(value) {
|
|
1470
|
-
if (value !== null && value !== undefined) {
|
|
1471
|
-
if (typeof value === 'string') {
|
|
1472
|
-
this._badgeTooltip = {
|
|
1473
|
-
tooltip: value,
|
|
1474
|
-
placement: 'auto',
|
|
1475
|
-
disabled: false
|
|
1476
|
-
};
|
|
1477
|
-
}
|
|
1478
|
-
else {
|
|
1479
|
-
this._badgeTooltip = Object.assign(Object.assign({}, value), { placement: value.placement || 'auto', disabled: typeof (value === null || value === void 0 ? void 0 : value.disabled) === 'boolean'
|
|
1480
|
-
? value.disabled
|
|
1481
|
-
: typeof value.tooltip === 'string' ? false : true });
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
1484
|
-
else {
|
|
1485
|
-
this._badgeTooltip = undefined;
|
|
1486
|
-
}
|
|
1487
|
-
}
|
|
1488
|
-
get _isActiveCssClass() { return this.active; }
|
|
1489
|
-
get _attrDataHierLevel() { return this.hierLevel; }
|
|
1490
|
-
ngOnDestroy() {
|
|
1491
|
-
this._ngUnsubscribe.next();
|
|
1492
|
-
this._ngUnsubscribe.complete();
|
|
1493
|
-
}
|
|
1494
|
-
get hasChildren() {
|
|
1495
|
-
return Array.isArray(this.children) && this.children.length > 0;
|
|
1496
|
-
}
|
|
1497
|
-
toggleChildren() {
|
|
1498
|
-
this.expanded = !this.expanded;
|
|
1499
|
-
}
|
|
1500
|
-
_linkClicked() {
|
|
1501
|
-
// Close nav when link is clicked while in overlay state
|
|
1502
|
-
if (this._sideNav.overlay) {
|
|
1503
|
-
this._sideNav.collapse();
|
|
1504
|
-
}
|
|
1505
|
-
}
|
|
1506
|
-
}
|
|
1507
|
-
SideNavItemComponent.decorators = [
|
|
1508
|
-
{ type: Component, args: [{
|
|
1509
|
-
selector: 'seam-side-nav-item',
|
|
1510
|
-
template: "<div class=\"d-flex flex-row\">\n <ng-container *ngIf=\"itemType === 'basic'\">\n <ng-template [ngTemplateOutlet]=\"itemTypeBasic\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"itemType === 'link'\">\n <ng-template [ngTemplateOutlet]=\"itemTypeLink\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"itemType === 'divider'\">\n <ng-template [ngTemplateOutlet]=\"itemTypeDivider\"></ng-template>\n </ng-container>\n <ng-container *ngIf=\"itemType === 'title'\">\n <ng-template [ngTemplateOutlet]=\"itemTypeTitle\"></ng-template>\n </ng-container>\n</div>\n\n<ng-container *ngIf=\"hasChildren\">\n <div class=\"side-nav--group side-nav--group--level-{{ hierLevel + 1 }}\"\n [@childGroupAnim]=\"childGroupAnimState$ | async\">\n <seam-side-nav-item *ngFor=\"let child of children\"\n [hierLevel]=\"compact ? 0 : (hierLevel + 1)\"\n [compact]=\"compact\"\n [itemType]=\"$any(child).itemType\"\n [icon]=\"$any(child).icon\"\n [label]=\"$any(child).label\"\n [link]=\"$any(child).link\"\n [badgeText]=\"$any(child).badge?.text\"\n [badgeTheme]=\"$any(child).badge?.theme || 'danger'\"\n [badgeSrContent]=\"$any(child).badge?.srContent\"\n [badgeTooltip]=\"$any(child)?.badge?.tooltip\"\n [queryParams]=\"$any(child).queryParams\"\n routerLinkActive=\"active\"\n [routerLinkActiveOptions]=\"{ exact: true }\"\n [children]=\"$any(child)?.children\"\n [active]=\"$any(child).__state.active\"\n [expanded]=\"$any(child).__state.expanded\">\n </seam-side-nav-item>\n </div>\n</ng-container>\n\n<ng-template #itemTypeBasic>\n <button class=\"side-nav-item btn side-nav-btn p-0 d-flex flex-row rounded-0 text-decoration-none text-nowrap w-100\"\n cdkMonitorElementFocus\n (click)=\"toggleChildren()\"\n [attr.aria-expanded]=\"expanded\">\n <div class=\"nav-link d-flex flex-row w-100\" [class.nav-link__compact]=\"compact\">\n <div [style.padding-left.px]=\"hierLevel * indentSize\"></div>\n <div class=\"side-nav-item--icon\">\n <seam-icon *ngIf=\"icon\" [icon]=\"icon\"></seam-icon>\n <ng-container *ngIf=\"compact\">\n <ng-template [ngTemplateOutlet]=\"itemBadge\"></ng-template>\n </ng-container>\n </div>\n <span *ngIf=\"!compact\" side-nav-item-label style=\"margin-left: 11px;\">\n {{ label }}\n </span>\n <span *ngIf=\"compact\" class=\"sr-only\" side-nav-item-label>{{ label }}</span>\n <ng-container *ngIf=\"!compact\">\n <ng-template [ngTemplateOutlet]=\"itemBadge\"></ng-template>\n </ng-container>\n </div>\n\n <div *ngIf=\"hasChildren && !compact\"\n class=\"btn side-nav-btn side-nav-item--toggle-btn-container rounded-0\">\n <seam-icon\n class=\"side-nav-item--toggle-btn\"\n [class.side-nav-item--toggle-btn-expanded]=\"expanded\"\n [icon]=\"faAngleLeft\"\n type>\n </seam-icon>\n </div>\n </button>\n</ng-template>\n\n<ng-template #itemTypeLink>\n <a *ngIf=\"link; else noLink\" class=\"side-nav-item nav-link d-flex flex-row text-nowrap w-100 align-items-center\"\n [class.nav-link__compact]=\"compact\"\n [routerLink]=\"link\"\n [queryParams]=\"queryParams\"\n routerLinkActive=\"active\"\n [routerLinkActiveOptions]=\"{ exact: true }\"\n (click)=\"_linkClicked()\">\n <div [style.padding-left.px]=\"hierLevel * indentSize\"></div>\n <div class=\"side-nav-item--icon\">\n <seam-icon *ngIf=\"icon\" [icon]=\"icon\"></seam-icon>\n <ng-container *ngIf=\"compact\">\n <ng-template [ngTemplateOutlet]=\"itemBadge\"></ng-template>\n </ng-container>\n </div>\n <span *ngIf=\"!compact\" style=\"margin-left: 11px;\" side-nav-item-label>\n {{ label }}\n </span>\n <span *ngIf=\"compact\" class=\"sr-only\" side-nav-item-label>{{ label }}</span>\n <ng-container *ngIf=\"!compact\">\n <ng-template [ngTemplateOutlet]=\"itemBadge\"></ng-template>\n </ng-container>\n </a>\n\n <ng-template #noLink>\n <a class=\"side-nav-item nav-link d-flex flex-row text-nowrap w-100 align-items-center\" [class.nav-link__compact]=\"compact\">\n <div [style.padding-left.px]=\"hierLevel * indentSize\"></div>\n <div class=\"side-nav-item--icon\">\n <seam-icon *ngIf=\"icon\" [icon]=\"icon\"></seam-icon>\n </div>\n <span *ngIf=\"!compact\" style=\"margin-left: 11px;\" side-nav-item-label>\n {{ label }}\n </span>\n <span *ngIf=\"compact\" class=\"sr-only\" side-nav-item-label>{{ label }}</span>\n </a>\n </ng-template>\n\n <button *ngIf=\"hasChildren && !compact\"\n type=\"button\"\n class=\"btn side-nav-btn side-nav-item--toggle-btn-container rounded-0\"\n (click)=\"toggleChildren()\"\n [attr.aria-expanded]=\"expanded\"\n cdkMonitorElementFocus>\n <seam-icon\n class=\"side-nav-item--toggle-btn\"\n [class.side-nav-item--toggle-btn-expanded]=\"expanded\"\n [icon]=\"faAngleLeft\"\n type>\n </seam-icon>\n <span class=\"sr-only\">Group Toggle</span>\n </button>\n</ng-template>\n\n<ng-template #itemTypeDivider>\n <div class=\"px-2 w-100\">\n <hr class=\"side-nav-item--divider\" />\n </div>\n</ng-template>\n\n<ng-template #itemTypeTitle>\n <ng-container *ngIf=\"!compact\">\n <span class=\"side-nav-item--title pt-1\" side-nav-item-label>{{ label }}</span>\n </ng-container>\n</ng-template>\n\n<ng-template #itemBadge>\n <ng-container *ngIf=\"badgeText\">\n <div class=\"badge-spacer flex-grow-1\" *ngIf=\"!compact\"></div>\n <div class=\"side-nav-item--badge\"\n [class.side-nav-item--badge-no-icon]=\"!icon\"\n [ngbTooltip]=\"$any(badgeTooltip)?.tooltip\"\n [tooltipClass]=\"$any(badgeTooltip)?.class\"\n [placement]=\"$any(badgeTooltip)?.placement\"\n [container]=\"$any(badgeTooltip)?.container\"\n [disableTooltip]=\"!badgeTooltip || !!$any(badgeTooltip)?.disabled\">\n <span class=\"badge badge-pill badge-{{ badgeTheme }}\">\n <ng-container *ngIf=\"!compact || !icon\">\n {{ badgeText }}\n </ng-container>\n <span *ngIf=\"badgeSrContent\">{{ badgeSrContent }}</span>\n </span>\n </div>\n </ng-container>\n</ng-template>\n",
|
|
1511
|
-
exportAs: 'seamSideNavItem',
|
|
1512
|
-
animations: [
|
|
1513
|
-
trigger('childGroupAnim', [
|
|
1514
|
-
state(EXPANDED_STATE, style({ height: '*' })),
|
|
1515
|
-
state(COLLAPSED_STATE, style({ height: 0, 'overflow-y': 'hidden', visibility: 'hidden' })),
|
|
1516
|
-
transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, animate('0.2s ease-in-out')),
|
|
1517
|
-
]),
|
|
1518
|
-
trigger('compactAnim', [
|
|
1519
|
-
// transition('* <=> *', [
|
|
1520
|
-
// query(':enter', [
|
|
1521
|
-
// style({ opacity: '0' }),
|
|
1522
|
-
// animate('5.2s ease-in-out', style({ opacity: '1' }))
|
|
1523
|
-
// ], { optional: true }),
|
|
1524
|
-
// query(':leave', [
|
|
1525
|
-
// style({ opacity: '1' }),
|
|
1526
|
-
// animate('5.2s ease-in-out', style({ opacity: '0' }))
|
|
1527
|
-
// ], { optional: true })
|
|
1528
|
-
// ])
|
|
1529
|
-
// state(FULL_STATE, style({ opacity: '1' })),
|
|
1530
|
-
// state(COMPACT_STATE, style({ opacity: '0' })),
|
|
1531
|
-
// transition(`${FULL_STATE} <=> ${COMPACT_STATE}`, animate('5.2s ease-in-out')),
|
|
1532
|
-
// transition(`${FULL_STATE} <=> ${COMPACT_STATE}`, [
|
|
1533
|
-
// transition('* <=> *', [
|
|
1534
|
-
// query(':leave', [
|
|
1535
|
-
// style({ opacity: '1' }),
|
|
1536
|
-
// animate('5.2s ease-in-out', style({ opacity: '0' }))
|
|
1537
|
-
// ], { optional: true })
|
|
1538
|
-
// ]),
|
|
1539
|
-
])
|
|
1540
|
-
],
|
|
1541
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1542
|
-
encapsulation: ViewEncapsulation.None,
|
|
1543
|
-
styles: ["seam-side-nav-item{display:block;transition:.25s ease-in-out background-color}seam-side-nav-item.seam-side-nav-item--active{background-color:#2a6395}seam-side-nav-item.seam-side-nav-item--active .active,seam-side-nav-item.seam-side-nav-item--active:active,seam-side-nav-item.seam-side-nav-item--active .side-nav-item.active:hover{background-color:#2a6395}seam-side-nav-item.seam-side-nav-item--active .side-nav-item:hover{background-color:#2f71a9}seam-side-nav-item.seam-side-nav-item--active .nav-link{color:#fff}seam-side-nav-item .badge{vertical-align:middle}seam-side-nav-item:not(.side-nav-item--icon) .side-nav-item--badge{pointer-events:all;margin-left:5px;margin-right:3px}seam-side-nav-item .side-nav-item--icon{position:relative;width:24px;max-width:24px;min-width:24px;height:24px;max-height:24px;min-height:24px;text-align:center}seam-side-nav-item .side-nav-item--icon .side-nav-item--badge{top:-4px;right:-4px;position:absolute}seam-side-nav-item .side-nav-item--icon .side-nav-item--badge .badge:empty{display:block;width:8px;height:8px;padding:0}seam-side-nav-item .side-nav-item--icon .side-nav-item--badge.side-nav-item--badge-no-icon{top:0px;right:0px}seam-side-nav-item .side-nav-item{min-height:45px;transition:.25s ease-in-out background-color}seam-side-nav-item .side-nav-item:hover{background-color:#2f71a9}seam-side-nav-item .side-nav-item.active{pointer-events:none;cursor:default}seam-side-nav-item a.side-nav-item:not([href]):not([tabindex]){color:#ccc}seam-side-nav-item a.side-nav-item:not([href]):not([tabindex]):hover{background-color:transparent}seam-side-nav-item .nav-link{color:#fff;padding-right:2px}seam-side-nav-item .nav-link__compact{padding-right:0;padding-left:12px}seam-side-nav-item .nav-link:last-child{padding-right:8px}seam-side-nav-item .side-nav-btn{font-weight:400;color:#fff;text-decoration:none}seam-side-nav-item .side-nav-btn:hover{color:#2f71a9;text-decoration:underline}seam-side-nav-item .side-nav-btn:focus,seam-side-nav-item .side-nav-btn.focus{text-decoration:underline;box-shadow:none}seam-side-nav-item .side-nav-btn:disabled,seam-side-nav-item .side-nav-btn.disabled{color:#ccc;pointer-events:none}seam-side-nav-item .cdk-keyboard-focused{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}seam-side-nav-item .side-nav-item--toggle-btn-container{transition:.25s ease-in-out background-color;padding:.5rem 1rem}seam-side-nav-item button.side-nav-item--toggle-btn-container:hover{background-color:#2f71a9}seam-side-nav-item .side-nav-item--toggle-btn{color:#fff}seam-side-nav-item .side-nav-item--toggle-btn .svg-inline--fa{transition:.1s ease-in-out transform}seam-side-nav-item .side-nav-item--toggle-btn.side-nav-item--toggle-btn-expanded .svg-inline--fa{transform:rotate(-90deg)}seam-side-nav-item .side-nav--group{will-change:height;overflow:hidden}seam-side-nav-item .side-nav--group--level-1{background-color:#3276b1}seam-side-nav-item .side-nav--group--level-2{background-color:#2e6ea5}seam-side-nav-item .side-nav--group--level-3{background-color:#2b6699}seam-side-nav-item .side-nav--group--level-4{background-color:#285e8d}seam-side-nav-item .side-nav--group--level-5{background-color:#245681}seam-side-nav-item .side-nav--group--level-6{background-color:#214e75}seam-side-nav-item .side-nav--group--level-7{background-color:#1e4669}seam-side-nav-item .side-nav--group--level-8{background-color:#1a3e5d}seam-side-nav-item .side-nav--group--level-9{background-color:#173651}seam-side-nav-item .side-nav-item--divider{display:block;border-top:1px solid #2a6395;width:100%}seam-side-nav-item .side-nav-item--title{color:#fff;font-size:24px;padding-left:10px}seam-side-nav-item .sr-only{top:0;left:0}\n"]
|
|
1544
|
-
},] }
|
|
1545
|
-
];
|
|
1546
|
-
SideNavItemComponent.ctorParameters = () => [
|
|
1547
|
-
{ type: SideNavComponent },
|
|
1548
|
-
{ type: SideNavItemComponent, decorators: [{ type: Optional }, { type: SkipSelf }, { type: Host }] }
|
|
1549
|
-
];
|
|
1550
|
-
SideNavItemComponent.propDecorators = {
|
|
1551
|
-
itemType: [{ type: Input }],
|
|
1552
|
-
icon: [{ type: Input }],
|
|
1553
|
-
label: [{ type: Input }],
|
|
1554
|
-
active: [{ type: Input }],
|
|
1555
|
-
link: [{ type: Input }],
|
|
1556
|
-
queryParams: [{ type: Input }],
|
|
1557
|
-
children: [{ type: Input }],
|
|
1558
|
-
hierLevel: [{ type: Input }],
|
|
1559
|
-
indentSize: [{ type: Input }],
|
|
1560
|
-
expanded: [{ type: Input }],
|
|
1561
|
-
compact: [{ type: Input }],
|
|
1562
|
-
badgeText: [{ type: Input }],
|
|
1563
|
-
badgeTheme: [{ type: Input }],
|
|
1564
|
-
badgeSrContent: [{ type: Input }],
|
|
1565
|
-
badgeTooltip: [{ type: Input }],
|
|
1566
|
-
_isActiveCssClass: [{ type: HostBinding, args: ['class.seam-side-nav-item--active',] }],
|
|
1567
|
-
_attrDataHierLevel: [{ type: HostBinding, args: ['attr.data-hier-level',] }]
|
|
1568
|
-
};
|
|
1569
|
-
__decorate([
|
|
1570
|
-
InputBoolean()
|
|
1571
|
-
], SideNavItemComponent.prototype, "active", void 0);
|
|
1572
|
-
__decorate([
|
|
1573
|
-
InputNumber(0)
|
|
1574
|
-
], SideNavItemComponent.prototype, "hierLevel", void 0);
|
|
1575
|
-
__decorate([
|
|
1576
|
-
InputNumber(10)
|
|
1577
|
-
], SideNavItemComponent.prototype, "indentSize", void 0);
|
|
1578
|
-
|
|
1579
|
-
class SideNavToggleComponent {
|
|
1580
|
-
constructor() {
|
|
1581
|
-
this.faBars = faBars;
|
|
1582
|
-
this.expanded = false;
|
|
1583
|
-
this.toggleExpand = new EventEmitter();
|
|
1584
|
-
}
|
|
1585
|
-
ngOnInit() { }
|
|
1586
|
-
toggle() {
|
|
1587
|
-
this.toggleExpand.emit();
|
|
1588
|
-
}
|
|
1589
|
-
}
|
|
1590
|
-
SideNavToggleComponent.decorators = [
|
|
1591
|
-
{ type: Component, args: [{
|
|
1592
|
-
selector: 'seam-side-nav-toggle',
|
|
1593
|
-
template: "<div class=\"side-nav-toggle--content\" *ngIf=\"expanded\">\n <ng-content></ng-content>\n</div>\n<button seamIconBtn [icon]=\"faBars\"\n iconType=\"borderless-styled-square\"\n btnSize=\"sm\"\n class=\"side-nav-toggle--btn ml-1\"\n (click)=\"toggle()\">\n <span class=\"sr-only\">Toggle sidebar</span>\n</button>\n",
|
|
1594
|
-
host: {
|
|
1595
|
-
'[class.side-nav-toggle--compact]': '!expanded'
|
|
1596
|
-
},
|
|
1597
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1598
|
-
encapsulation: ViewEncapsulation.None,
|
|
1599
|
-
styles: ["seam-side-nav-toggle{display:flex;flex-direction:row;flex-shrink:0;position:relative;height:45px;width:100%}seam-side-nav-toggle .side-nav-toggle--content{flex:1 1 0}seam-side-nav-toggle .side-nav-toggle--btn{position:absolute;top:0;right:5px;color:#fff}seam-side-nav-toggle .side-nav-toggle--btn seam-icon{padding:5px}\n"]
|
|
1600
|
-
},] }
|
|
1601
|
-
];
|
|
1602
|
-
SideNavToggleComponent.ctorParameters = () => [];
|
|
1603
|
-
SideNavToggleComponent.propDecorators = {
|
|
1604
|
-
expanded: [{ type: Input }],
|
|
1605
|
-
toggleExpand: [{ type: Output }]
|
|
1606
|
-
};
|
|
1607
|
-
__decorate([
|
|
1608
|
-
InputBoolean()
|
|
1609
|
-
], SideNavToggleComponent.prototype, "expanded", void 0);
|
|
1610
|
-
|
|
1611
|
-
class TheSeamSideNavModule {
|
|
1612
|
-
}
|
|
1613
|
-
TheSeamSideNavModule.decorators = [
|
|
1614
|
-
{ type: NgModule, args: [{
|
|
1615
|
-
declarations: [
|
|
1616
|
-
SideNavItemComponent,
|
|
1617
|
-
SideNavComponent,
|
|
1618
|
-
SideNavToggleComponent
|
|
1619
|
-
],
|
|
1620
|
-
imports: [
|
|
1621
|
-
CommonModule,
|
|
1622
|
-
RouterModule,
|
|
1623
|
-
TheSeamIconModule,
|
|
1624
|
-
A11yModule,
|
|
1625
|
-
TheSeamScrollbarModule,
|
|
1626
|
-
TheSeamLayoutModule,
|
|
1627
|
-
NgbTooltipModule,
|
|
1628
|
-
PortalModule
|
|
1629
|
-
],
|
|
1630
|
-
exports: [
|
|
1631
|
-
SideNavItemComponent,
|
|
1632
|
-
SideNavComponent,
|
|
1633
|
-
SideNavToggleComponent
|
|
1634
|
-
]
|
|
1635
|
-
},] }
|
|
1636
|
-
];
|
|
1637
|
-
|
|
1638
|
-
class TopBarMenuButtonBase {
|
|
1639
|
-
}
|
|
1640
|
-
const _TopBarMenuButtonMixinBase = mixinDisabled(TopBarMenuButtonBase);
|
|
1641
|
-
class TopBarMenuButtonComponent extends _TopBarMenuButtonMixinBase {
|
|
1642
|
-
constructor() {
|
|
1643
|
-
super(...arguments);
|
|
1644
|
-
this.faAngleDown = faAngleDown;
|
|
1645
|
-
this.compact = false;
|
|
1646
|
-
}
|
|
1647
|
-
get _hasCompactClass() { return this.compact; }
|
|
1648
|
-
get _hasPadding0Class() { return this.compact; }
|
|
1649
|
-
get _hasRoundedClass() { return this.compact; }
|
|
1650
|
-
get _hasBtnLinkClass() { return !this.compact; }
|
|
1651
|
-
ngOnInit() { }
|
|
1652
|
-
ngOnDestroy() { }
|
|
1653
|
-
}
|
|
1654
|
-
TopBarMenuButtonComponent.decorators = [
|
|
1655
|
-
{ type: Component, args: [{
|
|
1656
|
-
// tslint:disable-next-line:component-selector
|
|
1657
|
-
selector: 'button[seamTopBarMenuButton]',
|
|
1658
|
-
template: "<div class=\"d-flex flex-row\" *ngIf=\"!compact; else compactTpl\">\n <div class=\"text-left flex-grow-1 text-truncate\">\n <ng-template [ngTemplateOutlet]=\"$any(detailTpl)\"></ng-template>\n </div>\n <!-- Arrow Button -->\n <div class=\"pl-2 d-flex flex-column\">\n <div class=\"flex-grow-1\"></div>\n <seam-icon class=\"d-block\" [icon]=\"faAngleDown\"></seam-icon>\n <div class=\"flex-grow-1\"></div>\n </div>\n</div>\n<ng-template #compactTpl>\n <seam-icon [icon]=\"profileIcon\" iconType=\"borderless-styled-square\"></seam-icon>\n</ng-template>\n",
|
|
1659
|
-
encapsulation: ViewEncapsulation.None,
|
|
1660
|
-
exportAs: 'seamButton',
|
|
1661
|
-
// tslint:disable-next-line:use-input-property-decorator
|
|
1662
|
-
inputs: ['disabled'],
|
|
1663
|
-
// tslint:disable-next-line:use-host-property-decorator
|
|
1664
|
-
host: {
|
|
1665
|
-
'attr.type': 'button',
|
|
1666
|
-
'class': 'btn border text-decoration-none py-0',
|
|
1667
|
-
'[attr.aria-disabled]': 'disabled.toString()',
|
|
1668
|
-
'[attr.disabled]': 'disabled || null',
|
|
1669
|
-
},
|
|
1670
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1671
|
-
styles: ["button[seamTopBarMenuButton]{min-width:200px;border-radius:0;border-top:0!important;border-bottom:0!important;border-right:0!important}button[seamTopBarMenuButton].top-bar-menu-button--compact{min-width:40px;border-left:0!important}\n"]
|
|
1672
|
-
},] }
|
|
1673
|
-
];
|
|
1674
|
-
TopBarMenuButtonComponent.propDecorators = {
|
|
1675
|
-
detailTpl: [{ type: Input }],
|
|
1676
|
-
compact: [{ type: Input }],
|
|
1677
|
-
profileIcon: [{ type: Input }],
|
|
1678
|
-
_hasCompactClass: [{ type: HostBinding, args: ['class.top-bar-menu-button--compact',] }],
|
|
1679
|
-
_hasPadding0Class: [{ type: HostBinding, args: ['class.p-0',] }],
|
|
1680
|
-
_hasRoundedClass: [{ type: HostBinding, args: ['class.rounded',] }],
|
|
1681
|
-
_hasBtnLinkClass: [{ type: HostBinding, args: ['class.btn-link',] }]
|
|
1682
|
-
};
|
|
1683
|
-
__decorate([
|
|
1684
|
-
InputBoolean()
|
|
1685
|
-
], TopBarMenuButtonComponent.prototype, "compact", void 0);
|
|
1686
|
-
|
|
1687
|
-
class TopBarTitleComponent {
|
|
1688
|
-
constructor() { }
|
|
1689
|
-
ngOnInit() { }
|
|
1690
|
-
}
|
|
1691
|
-
TopBarTitleComponent.decorators = [
|
|
1692
|
-
{ type: Component, args: [{
|
|
1693
|
-
selector: 'seam-top-bar-title',
|
|
1694
|
-
template: "<h2 class=\"mb-0\" [ngStyle]=\"{ 'font-size.px': 32 }\" [ngStyle.lt-md]=\"{ 'font-size.px': 26 }\" [ngStyle.lt-sm]=\"{ 'font-size.px': 20, 'line-height': 1 }\">\n {{ titleText }}\n <br fxHide.gt-sm>\n <small *ngIf=\"subTitleText\" class=\"text-muted\">{{ subTitleText }}</small>\n</h2>\n",
|
|
1695
|
-
encapsulation: ViewEncapsulation.None,
|
|
1696
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1697
|
-
styles: ["seam-top-bar-title{flex:1 1 auto;display:flex;flex-direction:row;align-items:center}\n"]
|
|
1698
|
-
},] }
|
|
1699
|
-
];
|
|
1700
|
-
TopBarTitleComponent.ctorParameters = () => [];
|
|
1701
|
-
TopBarTitleComponent.propDecorators = {
|
|
1702
|
-
titleText: [{ type: Input }],
|
|
1703
|
-
subTitleText: [{ type: Input }]
|
|
1704
|
-
};
|
|
1705
|
-
|
|
1706
|
-
class TopBarItemDirective {
|
|
1707
|
-
constructor(template) {
|
|
1708
|
-
this.template = template;
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
TopBarItemDirective.decorators = [
|
|
1712
|
-
{ type: Directive, args: [{
|
|
1713
|
-
selector: '[seamTopBarItem]'
|
|
1714
|
-
},] }
|
|
1715
|
-
];
|
|
1716
|
-
TopBarItemDirective.ctorParameters = () => [
|
|
1717
|
-
{ type: TemplateRef }
|
|
1718
|
-
];
|
|
1719
|
-
|
|
1720
|
-
class TopBarMenuBtnDetailDirective {
|
|
1721
|
-
constructor(template) {
|
|
1722
|
-
this.template = template;
|
|
1723
|
-
}
|
|
1724
|
-
}
|
|
1725
|
-
TopBarMenuBtnDetailDirective.decorators = [
|
|
1726
|
-
{ type: Directive, args: [{
|
|
1727
|
-
selector: '[seamTopBarMenuBtnDetail]'
|
|
1728
|
-
},] }
|
|
1729
|
-
];
|
|
1730
|
-
TopBarMenuBtnDetailDirective.ctorParameters = () => [
|
|
1731
|
-
{ type: TemplateRef }
|
|
1732
|
-
];
|
|
1733
|
-
|
|
1734
|
-
class TopBarMenuDirective {
|
|
1735
|
-
constructor(menu) {
|
|
1736
|
-
this.menu = menu;
|
|
1737
|
-
}
|
|
1738
|
-
}
|
|
1739
|
-
TopBarMenuDirective.decorators = [
|
|
1740
|
-
{ type: Directive, args: [{
|
|
1741
|
-
selector: 'seam-menu[seamTopBarMenu]'
|
|
1742
|
-
},] }
|
|
1743
|
-
];
|
|
1744
|
-
TopBarMenuDirective.ctorParameters = () => [
|
|
1745
|
-
{ type: MenuComponent, decorators: [{ type: Self }] }
|
|
1746
|
-
];
|
|
1747
|
-
|
|
1748
|
-
/**
|
|
1749
|
-
* Top bar of an app.
|
|
1750
|
-
*
|
|
1751
|
-
* The top bar is fairly opinionated, so most parts are not intended to be
|
|
1752
|
-
* customized unless there is an input.
|
|
1753
|
-
*
|
|
1754
|
-
* > If you have to make a change and apply it externally with a css class or js
|
|
1755
|
-
* > make sure there is an issue to get the feature changed, so we don't have
|
|
1756
|
-
* > different modifications across our apps. Also, this will help make sure
|
|
1757
|
-
* > your change should have even been done.
|
|
1758
|
-
*/
|
|
1759
|
-
class TheSeamTopBarComponent {
|
|
1760
|
-
constructor(_layout) {
|
|
1761
|
-
this._layout = _layout;
|
|
1762
|
-
/** @ignore */
|
|
1763
|
-
this._ngUnsubscribe = new Subject();
|
|
1764
|
-
/** @ignore */
|
|
1765
|
-
this.faBars = faBars;
|
|
1766
|
-
/** Link target used when `logoHref` is specified. Defaults to `"_blank"` */
|
|
1767
|
-
this.logoHrefTarget = '_blank';
|
|
1768
|
-
/** Route to link to when `logo` is clicked. Defaults to `/`. */
|
|
1769
|
-
this.logoRoute = '/';
|
|
1770
|
-
/** Determines if the title should be displayed. */
|
|
1771
|
-
this.hasTitle = false;
|
|
1772
|
-
/** Icon to display on mobile to activate profile dropdown. Defaults to faUserCircle. */
|
|
1773
|
-
this.profileIcon = faUserCircle;
|
|
1774
|
-
this.isMobile$ = this._layout.isMobile$;
|
|
1775
|
-
}
|
|
1776
|
-
/** @ignore */
|
|
1777
|
-
ngOnInit() { }
|
|
1778
|
-
/** @ignore */
|
|
1779
|
-
ngOnDestroy() {
|
|
1780
|
-
this._ngUnsubscribe.next();
|
|
1781
|
-
this._ngUnsubscribe.complete();
|
|
1782
|
-
}
|
|
1783
|
-
/** @ignore */
|
|
1784
|
-
ngAfterContentInit() {
|
|
1785
|
-
if (this._topBarItems) {
|
|
1786
|
-
this._items$ = this._topBarItems.changes.pipe(startWith(undefined), takeUntil(this._ngUnsubscribe), map(() => { var _a; return ((_a = this._topBarItems) === null || _a === void 0 ? void 0 : _a.toArray()) || []; }), shareReplay({ bufferSize: 1, refCount: true }));
|
|
1787
|
-
}
|
|
1788
|
-
}
|
|
1789
|
-
}
|
|
1790
|
-
TheSeamTopBarComponent.decorators = [
|
|
1791
|
-
{ type: Component, args: [{
|
|
1792
|
-
selector: 'seam-top-bar',
|
|
1793
|
-
template: "<!-- Nav Toggle -->\n<div class=\"d-flex flex-column justify-content-center pr-2\" *ngIf=\"isMobile$ | async\">\n <button seamBaseLayoutNavToggle seamIconBtn [icon]=\"faBars\" iconType=\"borderless-styled-square\"></button>\n</div>\n\n<!-- Logo -->\n<div class=\"top-bar--logo d-flex flex-column justify-content-center\" *ngIf=\"logoHref; else useLogoRoute\"\n [class.top-bar--logo-mobile]=\"isMobile$ | async\">\n <a [href]=\"logoHref\" [target]=\"logoHrefTarget\">\n <div>\n <img *ngIf=\"logo\" [src]=\"logo\" [src.lt-md]=\"hasTitle ? logoSm : logo\" alt=\"Logo\">\n </div>\n </a>\n</div>\n\n<ng-template #useLogoRoute>\n <div class=\"top-bar--logo d-flex flex-column justify-content-center\" [routerLink]=\"logoRoute\"\n [class.top-bar--logo-mobile]=\"isMobile$ | async\">\n <div>\n <img *ngIf=\"logo\" [src]=\"logo\" [src.lt-md]=\"hasTitle ? logoSm : logo\" alt=\"Logo\">\n </div>\n </div>\n</ng-template>\n\n<!-- Title -->\n<div class=\"d-flex flex-column flex-grow-1\">\n <seam-top-bar-title *ngIf=\"hasTitle\"\n [titleText]=\"titleText\"\n [subTitleText]=\"subTitleText\"\n [class.ml-2]=\"isMobile$ | async\">\n </seam-top-bar-title>\n</div>\n\n<!-- Items -->\n<div class=\"top-bar-icon-container mr-2\">\n <ng-container *ngFor=\"let item of _items$ | async\">\n <ng-template [ngTemplateOutlet]=\"item.template\"></ng-template>\n </ng-container>\n</div>\n\n<!-- Menu -->\n<button seamTopBarMenuButton\n [seamMenuToggle]=\"_topBarMenu?.menu\"\n [detailTpl]=\"_topBarMenuBtnDetailTpl?.template\"\n [compact]=\"isMobile$ | async\"\n [profileIcon]=\"profileIcon\">\n</button>\n",
|
|
1794
|
-
encapsulation: ViewEncapsulation.None,
|
|
1795
|
-
exportAs: 'seamTopBar',
|
|
1796
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1797
|
-
styles: ["seam-top-bar{display:flex;flex:1 1 100%;flex-direction:row;background:white;margin:0;padding:8px;border-radius:0;box-shadow:none}.top-bar--logo{flex:0 0 auto;overflow:hidden;cursor:pointer}.top-bar--logo img{height:auto;max-height:60px;width:auto;max-width:200px}.top-bar--logo.top-bar--logo-mobile img{height:auto;max-height:40px;width:auto;max-width:150px}.top-bar-icon-container{margin:auto 0}\n"]
|
|
1798
|
-
},] }
|
|
1799
|
-
];
|
|
1800
|
-
TheSeamTopBarComponent.ctorParameters = () => [
|
|
1801
|
-
{ type: TheSeamLayoutService }
|
|
1802
|
-
];
|
|
1803
|
-
TheSeamTopBarComponent.propDecorators = {
|
|
1804
|
-
_topBarMenu: [{ type: ContentChild, args: [TopBarMenuDirective, { static: true },] }],
|
|
1805
|
-
_topBarItems: [{ type: ContentChildren, args: [TopBarItemDirective,] }],
|
|
1806
|
-
_topBarMenuBtnDetailTpl: [{ type: ContentChild, args: [TopBarMenuBtnDetailDirective,] }],
|
|
1807
|
-
logo: [{ type: Input }],
|
|
1808
|
-
logoSm: [{ type: Input }],
|
|
1809
|
-
logoHref: [{ type: Input }],
|
|
1810
|
-
logoHrefTarget: [{ type: Input }],
|
|
1811
|
-
logoRoute: [{ type: Input }],
|
|
1812
|
-
hasTitle: [{ type: Input }],
|
|
1813
|
-
titleText: [{ type: Input }],
|
|
1814
|
-
subTitleText: [{ type: Input }],
|
|
1815
|
-
profileIcon: [{ type: Input }]
|
|
1816
|
-
};
|
|
1817
|
-
__decorate([
|
|
1818
|
-
InputBoolean()
|
|
1819
|
-
], TheSeamTopBarComponent.prototype, "hasTitle", void 0);
|
|
1820
|
-
|
|
1821
|
-
class TheSeamTopBarModule {
|
|
1822
|
-
}
|
|
1823
|
-
TheSeamTopBarModule.decorators = [
|
|
1824
|
-
{ type: NgModule, args: [{
|
|
1825
|
-
declarations: [
|
|
1826
|
-
TheSeamTopBarComponent,
|
|
1827
|
-
TopBarTitleComponent,
|
|
1828
|
-
TopBarMenuButtonComponent,
|
|
1829
|
-
TopBarMenuDirective,
|
|
1830
|
-
TopBarItemDirective,
|
|
1831
|
-
TopBarMenuBtnDetailDirective
|
|
1832
|
-
],
|
|
1833
|
-
imports: [
|
|
1834
|
-
CommonModule,
|
|
1835
|
-
TheSeamLayoutModule,
|
|
1836
|
-
TheSeamButtonsModule,
|
|
1837
|
-
TheSeamIconModule,
|
|
1838
|
-
TheSeamMenuModule,
|
|
1839
|
-
TheSeamBaseLayoutModule,
|
|
1840
|
-
RouterModule
|
|
1841
|
-
],
|
|
1842
|
-
exports: [
|
|
1843
|
-
TheSeamTopBarComponent,
|
|
1844
|
-
TopBarMenuButtonComponent,
|
|
1845
|
-
TopBarMenuDirective,
|
|
1846
|
-
TheSeamMenuModule,
|
|
1847
|
-
TopBarItemDirective,
|
|
1848
|
-
TopBarMenuBtnDetailDirective
|
|
1849
|
-
]
|
|
1850
|
-
},] }
|
|
1851
|
-
];
|
|
1852
|
-
|
|
1853
|
-
const fader = trigger('routeAnimations', [
|
|
1854
|
-
transition('* <=> *', [
|
|
1855
|
-
// Set a default style for enter and leave
|
|
1856
|
-
query(':enter, :leave', [
|
|
1857
|
-
style({
|
|
1858
|
-
position: 'absolute',
|
|
1859
|
-
left: 0,
|
|
1860
|
-
width: '100%',
|
|
1861
|
-
opacity: 0,
|
|
1862
|
-
transform: 'scale(0) translateY(100%)',
|
|
1863
|
-
}),
|
|
1864
|
-
], { optional: true }),
|
|
1865
|
-
// Animate the new page in
|
|
1866
|
-
query(':enter', [
|
|
1867
|
-
animate('600ms ease', style({ opacity: 1, transform: 'scale(1) translateY(0)' })),
|
|
1868
|
-
], { optional: true })
|
|
1869
|
-
]),
|
|
1870
|
-
]);
|
|
1871
|
-
// function slideTo(direction) {
|
|
1872
|
-
// return [
|
|
1873
|
-
// query(':enter, :leave', [
|
|
1874
|
-
// style({
|
|
1875
|
-
// position: 'absolute',
|
|
1876
|
-
// top: 0,
|
|
1877
|
-
// [direction]: 0,
|
|
1878
|
-
// width: '100%'
|
|
1879
|
-
// })
|
|
1880
|
-
// ], { optional: true }),
|
|
1881
|
-
// query(':enter', [
|
|
1882
|
-
// style({ [direction]: '-100%'})
|
|
1883
|
-
// ], { optional: true }),
|
|
1884
|
-
// group([
|
|
1885
|
-
// query(':leave', [
|
|
1886
|
-
// animate('1000ms ease', style({ [direction]: '100%'}))
|
|
1887
|
-
// ], { optional: true }),
|
|
1888
|
-
// query(':enter', [
|
|
1889
|
-
// animate('1000ms ease', style({ [direction]: '0%'}))
|
|
1890
|
-
// ], { optional: true })
|
|
1891
|
-
// ]),
|
|
1892
|
-
// // Normalize the page style... Might not be necessary
|
|
1893
|
-
// // Required only if you have child animations on the page
|
|
1894
|
-
// query(':leave', animateChild(), { optional: true }),
|
|
1895
|
-
// query(':enter', animateChild(), { optional: true }),
|
|
1896
|
-
// ]
|
|
1897
|
-
// }
|
|
1898
|
-
// TODO: Refactor the slider animation, because AOT or ng-packagr, I haven't
|
|
1899
|
-
// looked into what exactly is preventing it, doesn't allow the function call.
|
|
1900
|
-
// export const slider =
|
|
1901
|
-
// trigger('routeAnimations', [
|
|
1902
|
-
// transition('* => isLeft', slideTo('left') ),
|
|
1903
|
-
// transition('* => isRight', slideTo('right') ),
|
|
1904
|
-
// transition('isRight => *', slideTo('left') ),
|
|
1905
|
-
// transition('isLeft => *', slideTo('right') )
|
|
1906
|
-
// ])
|
|
1907
|
-
// export const contentLeave =
|
|
1908
|
-
// trigger('contentLeave', [
|
|
1909
|
-
// transition(':leave', [
|
|
1910
|
-
// ])
|
|
1911
|
-
// ])
|
|
1912
|
-
const slider = trigger('routeAnimations', [
|
|
1913
|
-
transition('* => isLeft', [
|
|
1914
|
-
query('.router-container :enter, .router-container :leave', [
|
|
1915
|
-
style({
|
|
1916
|
-
position: 'absolute',
|
|
1917
|
-
top: 0,
|
|
1918
|
-
left: 0,
|
|
1919
|
-
width: '100%'
|
|
1920
|
-
})
|
|
1921
|
-
], { optional: true }),
|
|
1922
|
-
query('.router-container :enter', [
|
|
1923
|
-
style({ left: '-100%' })
|
|
1924
|
-
], { optional: true }),
|
|
1925
|
-
query('.hierarchy-router-outlet--content', [
|
|
1926
|
-
style({ left: '0%', position: 'absolute' })
|
|
1927
|
-
], { optional: true }),
|
|
1928
|
-
group([
|
|
1929
|
-
query('.router-container :leave', [
|
|
1930
|
-
animate('1000ms ease', style({ left: '100%' }))
|
|
1931
|
-
], { optional: true }),
|
|
1932
|
-
query('.router-container :enter', [
|
|
1933
|
-
animate('1000ms ease', style({ left: '0%' }))
|
|
1934
|
-
], { optional: true }),
|
|
1935
|
-
query('.hierarchy-router-outlet--content', [
|
|
1936
|
-
animate('1000ms ease', style({ left: '-100%' }))
|
|
1937
|
-
], { optional: true }),
|
|
1938
|
-
]),
|
|
1939
|
-
// Normalize the page style... Might not be necessary
|
|
1940
|
-
// Required only if you have child animations on the page
|
|
1941
|
-
query('.router-container :leave', animateChild(), { optional: true }),
|
|
1942
|
-
query('.router-container :enter', animateChild(), { optional: true }),
|
|
1943
|
-
]),
|
|
1944
|
-
transition('* => isRight', [
|
|
1945
|
-
query('.router-container :enter, .router-container :leave', [
|
|
1946
|
-
style({
|
|
1947
|
-
position: 'absolute',
|
|
1948
|
-
top: 0,
|
|
1949
|
-
right: 0,
|
|
1950
|
-
width: '100%'
|
|
1951
|
-
})
|
|
1952
|
-
], { optional: true }),
|
|
1953
|
-
query('.router-container :enter', [
|
|
1954
|
-
style({ right: '-100%' })
|
|
1955
|
-
], { optional: true }),
|
|
1956
|
-
query('.hierarchy-router-outlet--content', [
|
|
1957
|
-
style({ left: '0%', position: 'absolute' })
|
|
1958
|
-
], { optional: true }),
|
|
1959
|
-
group([
|
|
1960
|
-
query('.router-container :leave', [
|
|
1961
|
-
animate('1000ms ease', style({ right: '100%' }))
|
|
1962
|
-
], { optional: true }),
|
|
1963
|
-
query('.router-container :enter', [
|
|
1964
|
-
animate('1000ms ease', style({ right: '0%' }))
|
|
1965
|
-
], { optional: true }),
|
|
1966
|
-
query('.hierarchy-router-outlet--content', [
|
|
1967
|
-
animate('1000ms ease', style({ left: '-100%' }))
|
|
1968
|
-
], { optional: true }),
|
|
1969
|
-
]),
|
|
1970
|
-
// Normalize the page style... Might not be necessary
|
|
1971
|
-
// Required only if you have child animations on the page
|
|
1972
|
-
query('.router-container :leave', animateChild(), { optional: true }),
|
|
1973
|
-
query('.router-container :enter', animateChild(), { optional: true }),
|
|
1974
|
-
]),
|
|
1975
|
-
transition('isRight => *', [
|
|
1976
|
-
query('.router-container :enter, .router-container :leave', [
|
|
1977
|
-
style({
|
|
1978
|
-
position: 'absolute',
|
|
1979
|
-
top: 0,
|
|
1980
|
-
left: 0,
|
|
1981
|
-
width: '100%'
|
|
1982
|
-
})
|
|
1983
|
-
], { optional: true }),
|
|
1984
|
-
query('.router-container :enter', [
|
|
1985
|
-
style({ left: '-100%' })
|
|
1986
|
-
], { optional: true }),
|
|
1987
|
-
query('.hierarchy-router-outlet--content', [
|
|
1988
|
-
style({ left: '0%', position: 'absolute' })
|
|
1989
|
-
], { optional: true }),
|
|
1990
|
-
group([
|
|
1991
|
-
query('.router-container :leave', [
|
|
1992
|
-
animate('1000ms ease', style({ left: '100%' }))
|
|
1993
|
-
], { optional: true }),
|
|
1994
|
-
query('.router-container :enter', [
|
|
1995
|
-
animate('1000ms ease', style({ left: '0%' }))
|
|
1996
|
-
], { optional: true }),
|
|
1997
|
-
query('.hierarchy-router-outlet--content', [
|
|
1998
|
-
animate('1000ms ease', style({ left: '-100%' }))
|
|
1999
|
-
], { optional: true }),
|
|
2000
|
-
]),
|
|
2001
|
-
// Normalize the page style... Might not be necessary
|
|
2002
|
-
// Required only if you have child animations on the page
|
|
2003
|
-
query('.router-container :leave', animateChild(), { optional: true }),
|
|
2004
|
-
query('.router-container :enter', animateChild(), { optional: true }),
|
|
2005
|
-
]),
|
|
2006
|
-
transition('isLeft => *', [
|
|
2007
|
-
query('.router-container :enter, .router-container :leave', [
|
|
2008
|
-
style({
|
|
2009
|
-
position: 'absolute',
|
|
2010
|
-
top: 0,
|
|
2011
|
-
right: 0,
|
|
2012
|
-
width: '100%'
|
|
2013
|
-
})
|
|
2014
|
-
], { optional: true }),
|
|
2015
|
-
query('.router-container :enter', [
|
|
2016
|
-
style({ right: '-100%' })
|
|
2017
|
-
], { optional: true }),
|
|
2018
|
-
group([
|
|
2019
|
-
query('.router-container :leave', [
|
|
2020
|
-
animate('1000ms ease', style({ right: '100%' }))
|
|
2021
|
-
], { optional: true }),
|
|
2022
|
-
query('.router-container :enter', [
|
|
2023
|
-
animate('1000ms ease', style({ right: '0%' }))
|
|
2024
|
-
], { optional: true })
|
|
2025
|
-
]),
|
|
2026
|
-
// Normalize the page style... Might not be necessary
|
|
2027
|
-
// Required only if you have child animations on the page
|
|
2028
|
-
query('.router-container :leave', animateChild(), { optional: true }),
|
|
2029
|
-
query('.router-container :enter', animateChild(), { optional: true }),
|
|
2030
|
-
])
|
|
2031
|
-
]);
|
|
2032
|
-
const transformer = trigger('routeAnimations', [
|
|
2033
|
-
transition('* => isLeft', transformTo({ x: -100, y: -100, rotate: -720 })),
|
|
2034
|
-
transition('* => isRight', transformTo({ x: 100, y: -100, rotate: 90 })),
|
|
2035
|
-
transition('isRight => *', transformTo({ x: -100, y: -100, rotate: 360 })),
|
|
2036
|
-
transition('isLeft => *', transformTo({ x: 100, y: -100, rotate: -360 }))
|
|
2037
|
-
]);
|
|
2038
|
-
function transformTo({ x = 100, y = 0, rotate = 0 }) {
|
|
2039
|
-
const optional = { optional: true };
|
|
2040
|
-
return [
|
|
2041
|
-
query(':enter, :leave', [
|
|
2042
|
-
style({
|
|
2043
|
-
position: 'absolute',
|
|
2044
|
-
top: 0,
|
|
2045
|
-
left: 0,
|
|
2046
|
-
width: '100%'
|
|
2047
|
-
})
|
|
2048
|
-
], optional),
|
|
2049
|
-
query(':enter', [
|
|
2050
|
-
style({ transform: `translate(${x}%, ${y}%) rotate(${rotate}deg)` })
|
|
2051
|
-
], { optional: true }),
|
|
2052
|
-
group([
|
|
2053
|
-
query(':leave', [
|
|
2054
|
-
animate('600ms ease-out', style({ transform: `translate(${x}%, ${y}%) rotate(${rotate}deg)` }))
|
|
2055
|
-
], optional),
|
|
2056
|
-
query(':enter', [
|
|
2057
|
-
animate('600ms ease-out', style({ transform: `translate(0, 0) rotate(0)` }))
|
|
2058
|
-
], { optional: true })
|
|
2059
|
-
]),
|
|
2060
|
-
];
|
|
2061
|
-
}
|
|
2062
|
-
const stepper = trigger('routeAnimations', [
|
|
2063
|
-
transition('* <=> *', [
|
|
2064
|
-
query(':enter, :leave', [
|
|
2065
|
-
style({
|
|
2066
|
-
position: 'absolute',
|
|
2067
|
-
left: 0,
|
|
2068
|
-
width: '100%',
|
|
2069
|
-
}),
|
|
2070
|
-
], { optional: true }),
|
|
2071
|
-
group([
|
|
2072
|
-
query(':enter', [
|
|
2073
|
-
animate('2000ms ease', keyframes([
|
|
2074
|
-
style({ transform: 'scale(0) translateX(100%)', offset: 0 }),
|
|
2075
|
-
style({ transform: 'scale(0.5) translateX(25%)', offset: 0.3 }),
|
|
2076
|
-
style({ transform: 'scale(1) translateX(0%)', offset: 1 }),
|
|
2077
|
-
])),
|
|
2078
|
-
], { optional: true }),
|
|
2079
|
-
query(':leave', [
|
|
2080
|
-
animate('2000ms ease', keyframes([
|
|
2081
|
-
style({ transform: 'scale(1)', offset: 0 }),
|
|
2082
|
-
style({ transform: 'scale(0.5) translateX(-25%) rotate(0)', offset: 0.35 }),
|
|
2083
|
-
style({ opacity: 0, transform: 'translateX(-50%) rotate(-180deg) scale(6)', offset: 1 }),
|
|
2084
|
-
])),
|
|
2085
|
-
], { optional: true })
|
|
2086
|
-
]),
|
|
2087
|
-
])
|
|
2088
|
-
]);
|
|
2089
|
-
const sideToSide = trigger('routeAnimations', [
|
|
2090
|
-
transition('* => *', [
|
|
2091
|
-
style({
|
|
2092
|
-
position: 'fixed',
|
|
2093
|
-
width: '100%',
|
|
2094
|
-
transform: 'translateX(-100%)'
|
|
2095
|
-
}),
|
|
2096
|
-
animate('1000ms ease', style({ transform: 'translateX(0%)' }))
|
|
2097
|
-
]),
|
|
2098
|
-
transition(':leave', [
|
|
2099
|
-
style({
|
|
2100
|
-
position: 'fixed',
|
|
2101
|
-
width: '100%',
|
|
2102
|
-
transform: 'translateX(0%)'
|
|
2103
|
-
}),
|
|
2104
|
-
animate('1000ms ease', style({ transform: 'translateX(-100%)' }))
|
|
2105
|
-
])
|
|
2106
|
-
]);
|
|
2107
|
-
|
|
2108
|
-
function routeChanges(router) {
|
|
2109
|
-
return router.events.pipe(filter(event => event instanceof NavigationStart || event instanceof NavigationEnd), distinctUntilChanged((x, y) => x.id === y.id), map(event => ({ url: event.url })));
|
|
2110
|
-
}
|
|
2111
|
-
//
|
|
2112
|
-
// TODO: Animation improvement: Try adding a full component animation that
|
|
2113
|
-
// queries the <ng-content> and <router-outlet> blocks. When the outlet
|
|
2114
|
-
// activates, set the animation state to a transition that moves both blocks
|
|
2115
|
-
// together.
|
|
2116
|
-
//
|
|
2117
|
-
let _uid = 0;
|
|
2118
|
-
class HierarchyRouterOutletComponent {
|
|
2119
|
-
constructor(_route, _router) {
|
|
2120
|
-
this._route = _route;
|
|
2121
|
-
this._router = _router;
|
|
2122
|
-
this._uid = _uid++;
|
|
2123
|
-
this._ngUnsubscribe = new Subject();
|
|
2124
|
-
this.animState = 'isRight';
|
|
2125
|
-
// animState = ''
|
|
2126
|
-
this.outletActive = false;
|
|
2127
|
-
this.ngContentVisible = true;
|
|
2128
|
-
this._router.events.pipe(filter(event => event instanceof NavigationEnd),
|
|
2129
|
-
// tap(v => console.log(`_hasChildren()[${this._uid}]`, this._hasChildren())),
|
|
2130
|
-
takeUntil(this._ngUnsubscribe))
|
|
2131
|
-
.subscribe();
|
|
2132
|
-
// routeChanges(this._router)
|
|
2133
|
-
// .pipe(
|
|
2134
|
-
// untilDestroyed(this),
|
|
2135
|
-
// tap(() => {
|
|
2136
|
-
// // if (this._hasChildren()) {
|
|
2137
|
-
// // this.animState = 'isLeft'
|
|
2138
|
-
// // } else {
|
|
2139
|
-
// // this.animState = 'isRight'
|
|
2140
|
-
// // }
|
|
2141
|
-
// })
|
|
2142
|
-
// )
|
|
2143
|
-
// .subscribe(v => console.log(`routeChanges[${this._uid}]`, v))
|
|
2144
|
-
}
|
|
2145
|
-
ngOnInit() { }
|
|
2146
|
-
ngOnDestroy() {
|
|
2147
|
-
this._ngUnsubscribe.next();
|
|
2148
|
-
this._ngUnsubscribe.complete();
|
|
2149
|
-
}
|
|
2150
|
-
_hasChildren() {
|
|
2151
|
-
const count = this._route.pathFromRoot.length - 1;
|
|
2152
|
-
let countFull = 0;
|
|
2153
|
-
if (this._router.parseUrl(this._router.url).root.children.primary) {
|
|
2154
|
-
countFull = this._router.parseUrl(this._router.url).root.children.primary.segments.length;
|
|
2155
|
-
}
|
|
2156
|
-
// console.log(`_hasChildren[${this._uid}]`, { count, countFull })
|
|
2157
|
-
return countFull > count;
|
|
2158
|
-
}
|
|
2159
|
-
prepareRoute(outlet) {
|
|
2160
|
-
// console.log(`outlet[${this._uid}]`, outlet, this.animState, this._hasChildren(), this.outletActive)
|
|
2161
|
-
if (outlet.isActivated) {
|
|
2162
|
-
// console.log(outlet.isActivated)
|
|
2163
|
-
// console.log(outlet.component)
|
|
2164
|
-
console.log(this.animState);
|
|
2165
|
-
return this.animState;
|
|
2166
|
-
}
|
|
2167
|
-
else {
|
|
2168
|
-
return undefined;
|
|
2169
|
-
}
|
|
2170
|
-
// console.log(`prepareRoute[${this._uid}]`, this.animState, this._hasChildren())
|
|
2171
|
-
// console.log('activatedRouteData', outlet && outlet.activatedRouteData)
|
|
2172
|
-
// if (outlet && outlet.isActivated) {
|
|
2173
|
-
// console.log('activatedRoute', outlet.activatedRoute && outlet.activatedRoute.snapshot.url)
|
|
2174
|
-
// }
|
|
2175
|
-
// return outlet && outlet.activatedRouteData && outlet.activatedRouteData['animation']
|
|
2176
|
-
// console.log('')
|
|
2177
|
-
// return this.animState
|
|
2178
|
-
}
|
|
2179
|
-
outletActivate(event) {
|
|
2180
|
-
// console.log(`outletActivate[${this._uid}]`, event)
|
|
2181
|
-
this.outletActive = true;
|
|
2182
|
-
}
|
|
2183
|
-
outletDeactivate(event) {
|
|
2184
|
-
// console.log(`outletDeactivate[${this._uid}]`, event)
|
|
2185
|
-
this.outletActive = false;
|
|
2186
|
-
}
|
|
2187
|
-
routeAnimationsStart(event) {
|
|
2188
|
-
// console.log('routeAnimationsStart', event)
|
|
2189
|
-
this.ngContentVisible = true;
|
|
2190
|
-
}
|
|
2191
|
-
routeAnimationsDone(event) {
|
|
2192
|
-
// console.log('routeAnimationsDone', event)
|
|
2193
|
-
this.ngContentVisible = !this.outletActive;
|
|
2194
|
-
}
|
|
2195
|
-
}
|
|
2196
|
-
HierarchyRouterOutletComponent.decorators = [
|
|
2197
|
-
{ type: Component, args: [{
|
|
2198
|
-
selector: 'seam-hierarchy-router-outlet',
|
|
2199
|
-
template: "<div class=\"h-100\"\n [@routeAnimations]=\"prepareRoute(outlet)\"\n (@routeAnimations.start)=\"routeAnimationsStart($event)\"\n (@routeAnimations.done)=\"routeAnimationsDone($event)\">\n <div class=\"hierarchy-router-outlet--content h-100\" *ngIf=\"ngContentVisible\">\n <!-- {{ animState }} -->\n <div class=\"border border-info h-100\">\n <ng-content></ng-content>\n </div>\n </div>\n <div class=\"router-container\"\n [class.h-100]=\"!ngContentVisible\"\n >\n <!-- <div [@routeAnimations]=\"animState\"> -->\n <!-- <div class=\"hierarchy-router-outlet--route-content\"> -->\n <router-outlet #outlet=\"outlet\"\n (activate)=\"outletActivate($event)\"\n (deactivate)=\"outletDeactivate($event)\">\n </router-outlet>\n </div>\n</div>\n",
|
|
2200
|
-
animations: [
|
|
2201
|
-
// fader,
|
|
2202
|
-
slider,
|
|
2203
|
-
// transformer,
|
|
2204
|
-
// stepper,
|
|
2205
|
-
// sideToSide
|
|
2206
|
-
// contentLeave
|
|
2207
|
-
],
|
|
2208
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2209
|
-
styles: [":host{display:block;height:100%}:host ::ng-deep router-outlet+*{background-color:#fff;height:100%}\n"]
|
|
2210
|
-
},] }
|
|
2211
|
-
];
|
|
2212
|
-
HierarchyRouterOutletComponent.ctorParameters = () => [
|
|
2213
|
-
{ type: ActivatedRoute },
|
|
2214
|
-
{ type: Router }
|
|
2215
|
-
];
|
|
2216
|
-
|
|
2217
|
-
class HierarchyLevelResolver {
|
|
2218
|
-
constructor() { }
|
|
2219
|
-
resolve(route, state) {
|
|
2220
|
-
// console.log('[HierarchyLevelResolver]', route)
|
|
2221
|
-
// console.log('[HierarchyLevelResolver]', state)
|
|
2222
|
-
return this._getMaxHierLevel(route);
|
|
2223
|
-
}
|
|
2224
|
-
_getMaxHierLevel(route) {
|
|
2225
|
-
let curr = route;
|
|
2226
|
-
while (curr.parent) {
|
|
2227
|
-
curr = curr.parent;
|
|
2228
|
-
if (curr.data['hierLevel']) {
|
|
2229
|
-
return curr.data['hierLevel'] + 1;
|
|
2230
|
-
}
|
|
2231
|
-
}
|
|
2232
|
-
return 0;
|
|
2233
|
-
}
|
|
2234
|
-
}
|
|
2235
|
-
HierarchyLevelResolver.ɵprov = i0.ɵɵdefineInjectable({ factory: function HierarchyLevelResolver_Factory() { return new HierarchyLevelResolver(); }, token: HierarchyLevelResolver, providedIn: "root" });
|
|
2236
|
-
HierarchyLevelResolver.decorators = [
|
|
2237
|
-
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
2238
|
-
];
|
|
2239
|
-
HierarchyLevelResolver.ctorParameters = () => [];
|
|
2240
|
-
|
|
2241
|
-
class TheSeamDynamicRouterModule {
|
|
2242
|
-
}
|
|
2243
|
-
TheSeamDynamicRouterModule.decorators = [
|
|
2244
|
-
{ type: NgModule, args: [{
|
|
2245
|
-
declarations: [
|
|
2246
|
-
HierarchyRouterOutletComponent
|
|
2247
|
-
],
|
|
2248
|
-
imports: [
|
|
2249
|
-
CommonModule,
|
|
2250
|
-
RouterModule
|
|
2251
|
-
],
|
|
2252
|
-
exports: [
|
|
2253
|
-
HierarchyRouterOutletComponent
|
|
2254
|
-
]
|
|
2255
|
-
},] }
|
|
2256
|
-
];
|
|
2257
|
-
|
|
2258
|
-
class TheSeamSchemaFormCheckboxComponent {
|
|
2259
|
-
constructor(jsf) {
|
|
2260
|
-
this.jsf = jsf;
|
|
2261
|
-
this.controlDisabled = false;
|
|
2262
|
-
this.boundControl = false;
|
|
2263
|
-
this.trueValue = true;
|
|
2264
|
-
this.falseValue = false;
|
|
2265
|
-
}
|
|
2266
|
-
ngOnInit() {
|
|
2267
|
-
this.options = this.layoutNode.options || {};
|
|
2268
|
-
this.jsf.initializeControl(this);
|
|
2269
|
-
if (this.controlValue === null || this.controlValue === undefined) {
|
|
2270
|
-
this.controlValue = this.options.title;
|
|
2271
|
-
}
|
|
2272
|
-
}
|
|
2273
|
-
updateValue(event) {
|
|
2274
|
-
event.preventDefault();
|
|
2275
|
-
this.jsf.updateValue(this, event.target.checked ? this.trueValue : this.falseValue);
|
|
2276
|
-
}
|
|
2277
|
-
get isChecked() {
|
|
2278
|
-
return this.jsf.getFormControlValue(this) === this.trueValue;
|
|
2279
|
-
}
|
|
2280
|
-
}
|
|
2281
|
-
TheSeamSchemaFormCheckboxComponent.decorators = [
|
|
2282
|
-
{ type: Component, args: [{
|
|
2283
|
-
selector: 'seam-schema-form-checkbox',
|
|
2284
|
-
template: "<div class=\"mb-3\">\n <seam-form-field *ngIf=\"boundControl\">\n <seam-checkbox seamInput\n [formControl]=\"$any(formControl)\"\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [required]=\"options?.required\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\" [required]=\"options?.required\"></seam-form-field-required-indicator>\n </seam-checkbox>\n </seam-form-field>\n\n <seam-form-field *ngIf=\"!boundControl\">\n <seam-checkbox seamInput\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [required]=\"options?.required\"\n [value]=\"controlValue\"\n (change)=\"updateValue($event)\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\" [required]=\"options?.required\"></seam-form-field-required-indicator>\n </seam-checkbox>\n </seam-form-field>\n</div>\n",
|
|
2285
|
-
styles: [""]
|
|
2286
|
-
},] }
|
|
2287
|
-
];
|
|
2288
|
-
TheSeamSchemaFormCheckboxComponent.ctorParameters = () => [
|
|
2289
|
-
{ type: JsonSchemaFormService }
|
|
2290
|
-
];
|
|
2291
|
-
TheSeamSchemaFormCheckboxComponent.propDecorators = {
|
|
2292
|
-
layoutNode: [{ type: Input }],
|
|
2293
|
-
layoutIndex: [{ type: Input }],
|
|
2294
|
-
dataIndex: [{ type: Input }]
|
|
2295
|
-
};
|
|
2296
|
-
|
|
2297
|
-
class TheSeamSchemaFormInputComponent {
|
|
2298
|
-
constructor(jsf) {
|
|
2299
|
-
this.jsf = jsf;
|
|
2300
|
-
this.controlDisabled = false;
|
|
2301
|
-
this.boundControl = false;
|
|
2302
|
-
this.autoCompleteList = [];
|
|
2303
|
-
}
|
|
2304
|
-
ngOnInit() {
|
|
2305
|
-
this.options = this.layoutNode.options || {};
|
|
2306
|
-
this.jsf.initializeControl(this);
|
|
2307
|
-
}
|
|
2308
|
-
updateValue(event) {
|
|
2309
|
-
this.jsf.updateValue(this, event.target.value);
|
|
2310
|
-
}
|
|
2311
|
-
}
|
|
2312
|
-
TheSeamSchemaFormInputComponent.decorators = [
|
|
2313
|
-
{ type: Component, args: [{
|
|
2314
|
-
selector: 'seam-schema-form-input',
|
|
2315
|
-
template: "<seam-form-field *ngIf=\"boundControl\">\n <ng-template seamFormFieldLabelTpl let-required=\"required\">\n <ng-container *ngIf=\"!options?.notitle\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\"></seam-form-field-required-indicator>\n </ng-container>\n </ng-template>\n <input seamInput\n [formControl]=\"$any(formControl)\"\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [required]=\"options?.required\"\n\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.list]=\"'control' + layoutNode?._id + 'Autocomplete'\"\n [attr.maxlength]=\"options?.maxLength\"\n [attr.minlength]=\"options?.minLength\"\n [attr.pattern]=\"options?.pattern\"\n [attr.placeholder]=\"options?.placeholder\"\n [attr.required]=\"options?.required\"\n [readonly]=\"options?.readonly ? 'readonly' : null\"\n [type]=\"layoutNode?.type\">\n <datalist *ngIf=\"options?.typeahead?.source\"\n [id]=\"'control' + layoutNode?._id + 'Autocomplete'\">\n <option *ngFor=\"let word of options?.typeahead?.source\" [value]=\"word\">\n </datalist>\n</seam-form-field>\n\n<seam-form-field *ngIf=\"!boundControl\">\n <ng-template seamFormFieldLabelTpl let-required=\"required\">\n <ng-container *ngIf=\"!options?.notitle\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\"></seam-form-field-required-indicator>\n </ng-container>\n </ng-template>\n <input seamInput\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [required]=\"options?.required\"\n [value]=\"controlValue\"\n (input)=\"updateValue($event)\"\n\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.list]=\"'control' + layoutNode?._id + 'Autocomplete'\"\n [attr.maxlength]=\"options?.maxLength\"\n [attr.minlength]=\"options?.minLength\"\n [attr.pattern]=\"options?.pattern\"\n [attr.placeholder]=\"options?.placeholder\"\n [attr.required]=\"options?.required\"\n [readonly]=\"options?.readonly ? 'readonly' : null\"\n [type]=\"layoutNode?.type\"\n [disabled]=\"controlDisabled\">\n <datalist *ngIf=\"options?.typeahead?.source\"\n [id]=\"'control' + layoutNode?._id + 'Autocomplete'\">\n <option *ngFor=\"let word of options?.typeahead?.source\" [value]=\"word\">\n </datalist>\n</seam-form-field>\n",
|
|
2316
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2317
|
-
styles: [":host{display:block}\n"]
|
|
2318
|
-
},] }
|
|
2319
|
-
];
|
|
2320
|
-
TheSeamSchemaFormInputComponent.ctorParameters = () => [
|
|
2321
|
-
{ type: JsonSchemaFormService }
|
|
2322
|
-
];
|
|
2323
|
-
TheSeamSchemaFormInputComponent.propDecorators = {
|
|
2324
|
-
layoutNode: [{ type: Input }],
|
|
2325
|
-
layoutIndex: [{ type: Input }],
|
|
2326
|
-
dataIndex: [{ type: Input }]
|
|
2327
|
-
};
|
|
2328
|
-
|
|
2329
|
-
class TheSeamSchemaFormNumberComponent {
|
|
2330
|
-
constructor(jsf) {
|
|
2331
|
-
this.jsf = jsf;
|
|
2332
|
-
this.controlDisabled = false;
|
|
2333
|
-
this.boundControl = false;
|
|
2334
|
-
this.allowNegative = true;
|
|
2335
|
-
this.allowDecimal = true;
|
|
2336
|
-
this.allowExponents = false;
|
|
2337
|
-
this.lastValidNumber = '';
|
|
2338
|
-
}
|
|
2339
|
-
ngOnInit() {
|
|
2340
|
-
this.options = this.layoutNode.options || {};
|
|
2341
|
-
this.jsf.initializeControl(this);
|
|
2342
|
-
if (this.layoutNode.dataType === 'integer') {
|
|
2343
|
-
this.allowDecimal = false;
|
|
2344
|
-
}
|
|
2345
|
-
}
|
|
2346
|
-
updateValue(event) {
|
|
2347
|
-
this.jsf.updateValue(this, event.target.value);
|
|
2348
|
-
}
|
|
2349
|
-
}
|
|
2350
|
-
TheSeamSchemaFormNumberComponent.decorators = [
|
|
2351
|
-
{ type: Component, args: [{
|
|
2352
|
-
selector: 'seam-schema-form-number',
|
|
2353
|
-
template: "<seam-form-field *ngIf=\"boundControl\">\n <ng-template seamFormFieldLabelTpl let-required=\"required\">\n <ng-container *ngIf=\"!options?.notitle\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\"></seam-form-field-required-indicator>\n </ng-container>\n </ng-template>\n <input seamInput\n [formControl]=\"$any(formControl)\"\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [required]=\"options?.required\"\n [attr.max]=\"options?.maximum\"\n [attr.min]=\"options?.minimum\"\n [attr.step]=\"options?.multipleOf || options?.step || 'any'\"\n\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.list]=\"'control' + layoutNode?._id + 'Autocomplete'\"\n [attr.maxlength]=\"options?.maxLength\"\n [attr.minlength]=\"options?.minLength\"\n [attr.pattern]=\"options?.pattern\"\n [attr.placeholder]=\"options?.placeholder\"\n [attr.required]=\"options?.required\"\n [readonly]=\"options?.readonly ? 'readonly' : null\"\n [type]=\"layoutNode?.type === 'range' ? 'range' : 'number'\">\n <span *ngIf=\"layoutNode?.type === 'range'\" [innerHTML]=\"controlValue\"></span>\n</seam-form-field>\n\n<seam-form-field *ngIf=\"!boundControl\">\n <ng-template seamFormFieldLabelTpl let-required=\"required\">\n <ng-container *ngIf=\"!options?.notitle\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\"></seam-form-field-required-indicator>\n </ng-container>\n </ng-template>\n <input seamInput\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [required]=\"options?.required\"\n [attr.max]=\"options?.maximum\"\n [attr.min]=\"options?.minimum\"\n [attr.step]=\"options?.multipleOf || options?.step || 'any'\"\n [value]=\"controlValue\"\n (input)=\"updateValue($event)\"\n\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.list]=\"'control' + layoutNode?._id + 'Autocomplete'\"\n [attr.maxlength]=\"options?.maxLength\"\n [attr.minlength]=\"options?.minLength\"\n [attr.pattern]=\"options?.pattern\"\n [attr.placeholder]=\"options?.placeholder\"\n [attr.required]=\"options?.required\"\n [readonly]=\"options?.readonly ? 'readonly' : null\"\n [type]=\"layoutNode?.type === 'range' ? 'range' : 'number'\"\n [disabled]=\"controlDisabled\">\n <span *ngIf=\"layoutNode?.type === 'range'\" [innerHTML]=\"controlValue\"></span>\n</seam-form-field>\n",
|
|
2354
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2355
|
-
styles: [":host{display:block}\n"]
|
|
2356
|
-
},] }
|
|
2357
|
-
];
|
|
2358
|
-
TheSeamSchemaFormNumberComponent.ctorParameters = () => [
|
|
2359
|
-
{ type: JsonSchemaFormService }
|
|
2360
|
-
];
|
|
2361
|
-
TheSeamSchemaFormNumberComponent.propDecorators = {
|
|
2362
|
-
layoutNode: [{ type: Input }],
|
|
2363
|
-
layoutIndex: [{ type: Input }],
|
|
2364
|
-
dataIndex: [{ type: Input }]
|
|
2365
|
-
};
|
|
2366
|
-
|
|
2367
|
-
class TheSeamSchemaFormSelectComponent {
|
|
2368
|
-
constructor(jsf) {
|
|
2369
|
-
this.jsf = jsf;
|
|
2370
|
-
this.controlDisabled = false;
|
|
2371
|
-
this.boundControl = false;
|
|
2372
|
-
this.selectList = [];
|
|
2373
|
-
this.isArray = isArray;
|
|
2374
|
-
}
|
|
2375
|
-
ngOnInit() {
|
|
2376
|
-
this.options = this.layoutNode.options || {};
|
|
2377
|
-
this.selectList = buildTitleMap(this.options.titleMap || this.options.enumNames, this.options.enum, !!this.options.required, !!this.options.flatList);
|
|
2378
|
-
this.jsf.initializeControl(this);
|
|
2379
|
-
}
|
|
2380
|
-
updateValue(event) {
|
|
2381
|
-
this.jsf.updateValue(this, event.value);
|
|
2382
|
-
}
|
|
2383
|
-
}
|
|
2384
|
-
TheSeamSchemaFormSelectComponent.decorators = [
|
|
2385
|
-
{ type: Component, args: [{
|
|
2386
|
-
selector: 'seam-schema-form-select',
|
|
2387
|
-
template: "<seam-form-field *ngIf=\"boundControl\">\n <ng-template seamFormFieldLabelTpl let-required=\"required\">\n <ng-container *ngIf=\"!options?.notitle\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\"></seam-form-field-required-indicator>\n </ng-container>\n </ng-template>\n <ng-select seamInput\n [formControl]=\"$any(formControl)\"\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [required]=\"options?.required\"\n [items]=\"selectList\"\n bindLabel=\"name\"\n bindValue=\"value\"\n [clearable]=\"false\"\n appendTo=\"body\"\n\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.placeholder]=\"options?.placeholder\"\n [attr.required]=\"options?.required\"\n [readonly]=\"options?.readonly ? true : false\">\n <ng-template ng-label-tmp let-item=\"item\">\n <span [innerHTML]=\"item.name\"></span>\n </ng-template>\n <ng-template ng-option-tmp let-item=\"item\" let-index=\"index\">\n <span [innerHTML]=\"item.name\"></span>\n </ng-template>\n </ng-select>\n</seam-form-field>\n\n<seam-form-field *ngIf=\"!boundControl\">\n <ng-template seamFormFieldLabelTpl let-required=\"required\">\n <ng-container *ngIf=\"!options?.notitle\">\n {{ options?.title }}<seam-form-field-required-indicator class=\"pl-1\"></seam-form-field-required-indicator>\n </ng-container>\n </ng-template>\n <ng-select seamInput\n [ngClass]=\"options?.fieldHtmlClass\"\n [id]=\"'control' + layoutNode?._id\"\n [required]=\"options?.required\"\n [items]=\"selectList\"\n bindLabel=\"name\"\n bindValue=\"value\"\n [clearable]=\"false\"\n (change)=\"updateValue($event)\"\n appendTo=\"body\"\n\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.placeholder]=\"options?.placeholder\"\n [attr.required]=\"options?.required\"\n [readonly]=\"options?.readonly ? true : false\"\n [disabled]=\"controlDisabled\">\n <ng-template ng-option-tmp let-item=\"item\" let-index=\"index\">\n <span [innerHTML]=\"item.name\"></span>\n </ng-template>\n </ng-select>\n</seam-form-field>\n",
|
|
2388
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2389
|
-
styles: [":host{display:block}\n"]
|
|
2390
|
-
},] }
|
|
2391
|
-
];
|
|
2392
|
-
TheSeamSchemaFormSelectComponent.ctorParameters = () => [
|
|
2393
|
-
{ type: JsonSchemaFormService }
|
|
2394
|
-
];
|
|
2395
|
-
TheSeamSchemaFormSelectComponent.propDecorators = {
|
|
2396
|
-
layoutNode: [{ type: Input }],
|
|
2397
|
-
layoutIndex: [{ type: Input }],
|
|
2398
|
-
dataIndex: [{ type: Input }]
|
|
2399
|
-
};
|
|
2400
|
-
|
|
2401
|
-
// NOTE: This component is a little hacky, because I am basically creating a
|
|
2402
|
-
// data widget that acts like a data and 'submit' widget at the same time.
|
|
2403
|
-
//
|
|
2404
|
-
// TODO: Try and think of a nicer way to implement this, but still make sense
|
|
2405
|
-
// from a schema definition. The library may need to me forked to actually
|
|
2406
|
-
// support this in the way I expect, but maybe there is another way.
|
|
2407
|
-
class TheSeamSchemaFormSubmitSplitComponent {
|
|
2408
|
-
constructor(jsf) {
|
|
2409
|
-
this.jsf = jsf;
|
|
2410
|
-
/** @ignore */
|
|
2411
|
-
this._ngUnsubscribe = new Subject();
|
|
2412
|
-
this.controlDisabled = false;
|
|
2413
|
-
this.boundControl = false;
|
|
2414
|
-
this._buttonLabel = '';
|
|
2415
|
-
this._dropdownDisabled = false;
|
|
2416
|
-
this._selectList = [];
|
|
2417
|
-
}
|
|
2418
|
-
/** @ignore */
|
|
2419
|
-
ngOnInit() {
|
|
2420
|
-
this.options = this.layoutNode.options || {};
|
|
2421
|
-
this.jsf.initializeControl(this);
|
|
2422
|
-
// NOTE: This is commented out, because there is a bug with submit widgets
|
|
2423
|
-
// manually defined in layout. All nodes initialized from the provided
|
|
2424
|
-
// layout have their options populated from the defaults and 'disabled' is
|
|
2425
|
-
// on of the default properties, so the 'disableInvalidSubmit' condition
|
|
2426
|
-
// never gets reached.
|
|
2427
|
-
//
|
|
2428
|
-
// My initial idea for fixing would be to check if the disabled property
|
|
2429
|
-
// exists and is a boolean, or possibly anything defined that can coerce
|
|
2430
|
-
// into a boolean. I can't think of a reason disabled should be anything
|
|
2431
|
-
// else, so that may be an acceptable fix, but I don't want to enable that
|
|
2432
|
-
// yet.
|
|
2433
|
-
//
|
|
2434
|
-
// if (hasOwn(this.options, 'disabled')) {
|
|
2435
|
-
// console.log('[TheSeamSchemaFormSubmitSplitComponent] hasDisabled', this.options.disabled)
|
|
2436
|
-
// this.controlDisabled = this.options.disabled
|
|
2437
|
-
// } else
|
|
2438
|
-
if (this.jsf.formOptions.disableInvalidSubmit) {
|
|
2439
|
-
this.controlDisabled = !this.jsf.isValid;
|
|
2440
|
-
this.jsf.isValidChanges.subscribe(isValid => this.controlDisabled = !isValid);
|
|
2441
|
-
}
|
|
2442
|
-
if (this.controlValue === null || this.controlValue === undefined) {
|
|
2443
|
-
this.controlValue = this.options.title;
|
|
2444
|
-
}
|
|
2445
|
-
if (hasOwn(this.options, 'title')) {
|
|
2446
|
-
this._buttonLabel = this.options.title;
|
|
2447
|
-
}
|
|
2448
|
-
this._initDropdown();
|
|
2449
|
-
// console.log('this', this)
|
|
2450
|
-
}
|
|
2451
|
-
/** @ignore */
|
|
2452
|
-
ngOnDestroy() {
|
|
2453
|
-
this._ngUnsubscribe.next();
|
|
2454
|
-
this._ngUnsubscribe.complete();
|
|
2455
|
-
}
|
|
2456
|
-
updateValue(event) {
|
|
2457
|
-
if (typeof this.options.onClick === 'function') {
|
|
2458
|
-
this.options.onClick(event);
|
|
2459
|
-
}
|
|
2460
|
-
else {
|
|
2461
|
-
this.jsf.updateValue(this, event.target.value);
|
|
2462
|
-
}
|
|
2463
|
-
}
|
|
2464
|
-
_initDropdown() {
|
|
2465
|
-
var _a;
|
|
2466
|
-
if (!hasOwn(this.layoutNode, 'items') || !(this.layoutNode.items || []).length) {
|
|
2467
|
-
return;
|
|
2468
|
-
}
|
|
2469
|
-
if (isDevMode()) {
|
|
2470
|
-
if (this.layoutNode.items.length > 1) {
|
|
2471
|
-
console.warn(`TheSeamSchemaFormSubmitSplitComponent only supports one item.` +
|
|
2472
|
-
` items after index 0 will be ignored.`);
|
|
2473
|
-
}
|
|
2474
|
-
}
|
|
2475
|
-
const idx = 0;
|
|
2476
|
-
const item = this.layoutNode.items[idx];
|
|
2477
|
-
this._dropdownObj = {
|
|
2478
|
-
layoutNode: item,
|
|
2479
|
-
layoutIndex: (this.layoutIndex || []).concat(idx),
|
|
2480
|
-
dataIndex: ((_a = this.layoutNode) === null || _a === void 0 ? void 0 : _a.dataType) === 'array' ? (this.dataIndex || []).concat(idx) : this.dataIndex,
|
|
2481
|
-
options: item.options || {}
|
|
2482
|
-
};
|
|
2483
|
-
this.jsf.initializeControl(this._dropdownObj);
|
|
2484
|
-
const items = buildTitleMap(this._dropdownObj.options.titleMap || this._dropdownObj.options.enumNames, this._dropdownObj.options.enum, !!this._dropdownObj.options.required, !!this._dropdownObj.options.flatList);
|
|
2485
|
-
this._selectList = items;
|
|
2486
|
-
// TODO: Should this be checking if the control is bound?
|
|
2487
|
-
const dropdownControl = this._getDropdownControl();
|
|
2488
|
-
if (!dropdownControl) {
|
|
2489
|
-
return;
|
|
2490
|
-
}
|
|
2491
|
-
observeControlValue(dropdownControl).pipe(takeUntil(this._ngUnsubscribe)).subscribe(value => {
|
|
2492
|
-
this._setSelectListCheckedProp(value);
|
|
2493
|
-
this._selectedItem = this._getSelectedItem();
|
|
2494
|
-
});
|
|
2495
|
-
observeControlStatus(dropdownControl).pipe(takeUntil(this._ngUnsubscribe)).subscribe(value => {
|
|
2496
|
-
this._dropdownDisabled = dropdownControl.disabled;
|
|
2497
|
-
});
|
|
2498
|
-
}
|
|
2499
|
-
_getDropdownControl() {
|
|
2500
|
-
return this._dropdownObj.formControl;
|
|
2501
|
-
}
|
|
2502
|
-
_setSelectListCheckedProp(value) {
|
|
2503
|
-
const items = this._selectList;
|
|
2504
|
-
for (const item of items) {
|
|
2505
|
-
if (item.value === value) {
|
|
2506
|
-
item.checked = true;
|
|
2507
|
-
}
|
|
2508
|
-
else if (item.checked) {
|
|
2509
|
-
item.checked = false;
|
|
2510
|
-
}
|
|
2511
|
-
}
|
|
2512
|
-
this._selectList = [...items];
|
|
2513
|
-
}
|
|
2514
|
-
_getSelectedItem() {
|
|
2515
|
-
return (this._selectList || []).find(x => x.checked === true);
|
|
2516
|
-
}
|
|
2517
|
-
_setDropdownValue(value) {
|
|
2518
|
-
const formControl = this._getDropdownControl();
|
|
2519
|
-
formControl === null || formControl === void 0 ? void 0 : formControl.setValue(value);
|
|
2520
|
-
}
|
|
2521
|
-
}
|
|
2522
|
-
TheSeamSchemaFormSubmitSplitComponent.decorators = [
|
|
2523
|
-
{ type: Component, args: [{
|
|
2524
|
-
selector: 'seam-schema-form-submit-split',
|
|
2525
|
-
template: "<div\n [class]=\"options?.htmlClass || ''\">\n <div [class.btn-group]=\"_dropdownObj\">\n <button seamButton theme=\"primary\" type=\"submit\"\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.readonly]=\"options?.readonly ? 'readonly' : null\"\n [attr.required]=\"options?.required\"\n [class]=\"'btn btn-primary ' + (options?.fieldHtmlClass || '')\"\n [disabled]=\"controlDisabled\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [value]=\"controlValue\"\n (click)=\"updateValue($event)\">\n {{ _buttonLabel }}\n <span *ngIf=\"_selectedItem\">\n [{{ _selectedItem.name }}]\n </span>\n </button>\n <ng-container *ngIf=\"_dropdownObj\">\n <button\n [seamMenuToggle]=\"menu\" seamButton theme=\"primary\"\n class=\"dropdown-toggle dropdown-toggle-split\"\n [disabled]=\"_dropdownDisabled\">\n <span class=\"sr-only\">Toggle Dropdown</span>\n </button>\n <seam-menu #menu>\n <ng-container *ngFor=\"let item of _selectList\">\n <button seamMenuItem\n [class.active]=\"item.checked\"\n (click)=\"_setDropdownValue(item.value)\">\n {{ item.name }}\n </button>\n </ng-container>\n </seam-menu>\n </ng-container>\n </div>\n</div>\n",
|
|
2526
|
-
styles: [":host{display:block}\n"]
|
|
2527
|
-
},] }
|
|
2528
|
-
];
|
|
2529
|
-
TheSeamSchemaFormSubmitSplitComponent.ctorParameters = () => [
|
|
2530
|
-
{ type: JsonSchemaFormService }
|
|
2531
|
-
];
|
|
2532
|
-
TheSeamSchemaFormSubmitSplitComponent.propDecorators = {
|
|
2533
|
-
layoutNode: [{ type: Input }],
|
|
2534
|
-
layoutIndex: [{ type: Input }],
|
|
2535
|
-
dataIndex: [{ type: Input }]
|
|
2536
|
-
};
|
|
2537
|
-
|
|
2538
|
-
class TheSeamSchemaFormFrameworkComponent {
|
|
2539
|
-
}
|
|
2540
|
-
TheSeamSchemaFormFrameworkComponent.decorators = [
|
|
2541
|
-
{ type: Component, args: [{
|
|
2542
|
-
selector: 'seam-schema-form-framework',
|
|
2543
|
-
template: "<select-widget-widget\n [dataIndex]=\"$any(dataIndex)\"\n [layoutIndex]=\"$any(layoutIndex)\"\n [layoutNode]=\"layoutNode\">\n</select-widget-widget>\n",
|
|
2544
|
-
styles: [""]
|
|
2545
|
-
},] }
|
|
2546
|
-
];
|
|
2547
|
-
TheSeamSchemaFormFrameworkComponent.propDecorators = {
|
|
2548
|
-
layoutNode: [{ type: Input }],
|
|
2549
|
-
layoutIndex: [{ type: Input }],
|
|
2550
|
-
dataIndex: [{ type: Input }]
|
|
2551
|
-
};
|
|
2552
|
-
|
|
2553
|
-
class TheSeamFramework extends Framework {
|
|
2554
|
-
constructor() {
|
|
2555
|
-
super(...arguments);
|
|
2556
|
-
this.name = 'seam-framework';
|
|
2557
|
-
this.framework = TheSeamSchemaFormFrameworkComponent;
|
|
2558
|
-
this.widgets = {
|
|
2559
|
-
'checkbox': TheSeamSchemaFormCheckboxComponent,
|
|
2560
|
-
// 'submit': TheSeamSchemaFormSubmitComponent,
|
|
2561
|
-
'submit': TheSeamSchemaFormSubmitSplitComponent,
|
|
2562
|
-
'text': TheSeamSchemaFormInputComponent,
|
|
2563
|
-
'number': TheSeamSchemaFormNumberComponent,
|
|
2564
|
-
'select': TheSeamSchemaFormSelectComponent
|
|
2565
|
-
};
|
|
2566
|
-
}
|
|
2567
|
-
}
|
|
2568
|
-
TheSeamFramework.decorators = [
|
|
2569
|
-
{ type: Injectable }
|
|
2570
|
-
];
|
|
2571
|
-
|
|
2572
|
-
class TheSeamSchemaFormSubmitComponent {
|
|
2573
|
-
constructor(jsf) {
|
|
2574
|
-
this.jsf = jsf;
|
|
2575
|
-
this.controlDisabled = false;
|
|
2576
|
-
this.boundControl = false;
|
|
2577
|
-
}
|
|
2578
|
-
ngOnInit() {
|
|
2579
|
-
this.options = this.layoutNode.options || {};
|
|
2580
|
-
this.jsf.initializeControl(this);
|
|
2581
|
-
if (hasOwn(this.options, 'disabled')) {
|
|
2582
|
-
this.controlDisabled = this.options.disabled;
|
|
2583
|
-
}
|
|
2584
|
-
else if (this.jsf.formOptions.disableInvalidSubmit) {
|
|
2585
|
-
this.controlDisabled = !this.jsf.isValid;
|
|
2586
|
-
this.jsf.isValidChanges.subscribe(isValid => this.controlDisabled = !isValid);
|
|
2587
|
-
}
|
|
2588
|
-
if (this.controlValue === null || this.controlValue === undefined) {
|
|
2589
|
-
this.controlValue = this.options.title;
|
|
2590
|
-
}
|
|
2591
|
-
}
|
|
2592
|
-
updateValue(event) {
|
|
2593
|
-
if (typeof this.options.onClick === 'function') {
|
|
2594
|
-
this.options.onClick(event);
|
|
2595
|
-
}
|
|
2596
|
-
else {
|
|
2597
|
-
this.jsf.updateValue(this, event.target.value);
|
|
2598
|
-
}
|
|
2599
|
-
}
|
|
2600
|
-
}
|
|
2601
|
-
TheSeamSchemaFormSubmitComponent.decorators = [
|
|
2602
|
-
{ type: Component, args: [{
|
|
2603
|
-
selector: 'seam-schema-form-submit',
|
|
2604
|
-
template: "<div\n [class]=\"options?.htmlClass || ''\">\n <input\n [attr.aria-describedby]=\"'control' + layoutNode?._id + 'Status'\"\n [attr.readonly]=\"options?.readonly ? 'readonly' : null\"\n [attr.required]=\"options?.required\"\n [class]=\"'btn btn-primary ' + (options?.fieldHtmlClass || '')\"\n [disabled]=\"controlDisabled\"\n [id]=\"'control' + layoutNode?._id\"\n [name]=\"controlName\"\n [type]=\"layoutNode?.type\"\n [value]=\"controlValue\"\n (click)=\"updateValue($event)\">\n</div>\n"
|
|
2605
|
-
},] }
|
|
2606
|
-
];
|
|
2607
|
-
TheSeamSchemaFormSubmitComponent.ctorParameters = () => [
|
|
2608
|
-
{ type: JsonSchemaFormService }
|
|
2609
|
-
];
|
|
2610
|
-
TheSeamSchemaFormSubmitComponent.propDecorators = {
|
|
2611
|
-
layoutNode: [{ type: Input }],
|
|
2612
|
-
layoutIndex: [{ type: Input }],
|
|
2613
|
-
dataIndex: [{ type: Input }]
|
|
2614
|
-
};
|
|
2615
|
-
|
|
2616
|
-
const controls = [
|
|
2617
|
-
TheSeamSchemaFormCheckboxComponent,
|
|
2618
|
-
TheSeamSchemaFormSubmitComponent,
|
|
2619
|
-
TheSeamSchemaFormSelectComponent,
|
|
2620
|
-
TheSeamSchemaFormInputComponent,
|
|
2621
|
-
TheSeamSchemaFormNumberComponent,
|
|
2622
|
-
TheSeamSchemaFormSubmitSplitComponent
|
|
2623
|
-
];
|
|
2624
|
-
class TheSeamSchemaFormControlsModule {
|
|
2625
|
-
}
|
|
2626
|
-
TheSeamSchemaFormControlsModule.decorators = [
|
|
2627
|
-
{ type: NgModule, args: [{
|
|
2628
|
-
declarations: [
|
|
2629
|
-
...controls
|
|
2630
|
-
],
|
|
2631
|
-
imports: [
|
|
2632
|
-
CommonModule,
|
|
2633
|
-
ReactiveFormsModule,
|
|
2634
|
-
JsonSchemaFormModule,
|
|
2635
|
-
TheSeamFormFieldModule,
|
|
2636
|
-
TheSeamCheckboxModule,
|
|
2637
|
-
TheSeamMenuModule,
|
|
2638
|
-
TheSeamButtonsModule,
|
|
2639
|
-
NgSelectModule
|
|
2640
|
-
],
|
|
2641
|
-
exports: [
|
|
2642
|
-
...controls,
|
|
2643
|
-
JsonSchemaFormModule
|
|
2644
|
-
],
|
|
2645
|
-
entryComponents: [
|
|
2646
|
-
...controls
|
|
2647
|
-
]
|
|
2648
|
-
},] }
|
|
2649
|
-
];
|
|
2650
|
-
|
|
2651
|
-
class TheSeamSchemaFormModule {
|
|
2652
|
-
}
|
|
2653
|
-
TheSeamSchemaFormModule.decorators = [
|
|
2654
|
-
{ type: NgModule, args: [{
|
|
2655
|
-
declarations: [
|
|
2656
|
-
TheSeamSchemaFormFrameworkComponent
|
|
2657
|
-
],
|
|
2658
|
-
imports: [
|
|
2659
|
-
CommonModule,
|
|
2660
|
-
JsonSchemaFormModule,
|
|
2661
|
-
TheSeamSchemaFormControlsModule,
|
|
2662
|
-
WidgetLibraryModule,
|
|
2663
|
-
],
|
|
2664
|
-
providers: [
|
|
2665
|
-
JsonSchemaFormService,
|
|
2666
|
-
FrameworkLibraryService,
|
|
2667
|
-
WidgetLibraryService,
|
|
2668
|
-
{ provide: Framework, useClass: TheSeamFramework, multi: true }
|
|
2669
|
-
],
|
|
2670
|
-
exports: [
|
|
2671
|
-
TheSeamSchemaFormFrameworkComponent,
|
|
2672
|
-
JsonSchemaFormModule
|
|
2673
|
-
],
|
|
2674
|
-
entryComponents: [
|
|
2675
|
-
TheSeamSchemaFormFrameworkComponent
|
|
2676
|
-
]
|
|
2677
|
-
},] }
|
|
2678
|
-
];
|
|
2679
|
-
|
|
2680
|
-
/**
|
|
2681
|
-
* Generated bundle index. Do not edit.
|
|
2682
|
-
*/
|
|
2683
|
-
|
|
2684
|
-
export { BaseLayoutContentDirective, BaseLayoutContentFooterDirective, BaseLayoutContentHeaderDirective, BaseLayoutNavToggleDirective, BaseLayoutSideBarDirective, BaseLayoutTopBarDirective, DashboardComponent, DashboardWidgetContainerComponent, DashboardWidgetPortalOutletDirective, DashboardWidgetTemplateContainerComponent, DashboardWidgetsComponent, DashboardWidgetsPreferencesService, DashboardWidgetsService, HierarchyLevelResolver, HierarchyRouterOutletComponent, SideNavComponent, SideNavItemComponent, SideNavToggleComponent, THESEAM_BASE_LAYOUT_REF, THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR, THE_SEAM_BASE_LAYOUT, TheSeamBaseLayoutComponent, TheSeamBaseLayoutModule, TheSeamDashboardModule, TheSeamDynamicRouterModule, TheSeamFramework, TheSeamSchemaFormFrameworkComponent, TheSeamSchemaFormModule, TheSeamSideNavModule, TheSeamTopBarComponent, TheSeamTopBarModule, TopBarItemDirective, TopBarMenuBtnDetailDirective, TopBarMenuButtonComponent, TopBarMenuDirective, TopBarTitleComponent, canBeActive, canExpand, canHaveChildren, fader, findLinkItems, getItemStateProp, hasActiveChild, hasChildren, hasExpandedChild, isExpanded, isNavItemActive, isNavItemType, routeChanges, setDefaultState, setItemStateProp, sideNavExpandStateChangeFn, sideToSide, slider, stepper, transformer, BaseLayoutSideBarFooterDirective as ɵa, TheSeamSideNavService as ɵb, TheSeamSchemaFormControlsModule as ɵc, TheSeamSchemaFormCheckboxComponent as ɵd, TheSeamSchemaFormSubmitComponent as ɵe, TheSeamSchemaFormSelectComponent as ɵf, TheSeamSchemaFormInputComponent as ɵg, TheSeamSchemaFormNumberComponent as ɵh, TheSeamSchemaFormSubmitSplitComponent as ɵi };
|
|
2685
|
-
//# sourceMappingURL=theseam-ui-common-framework.js.map
|