@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,3379 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/cdk/portal'), require('rxjs'), require('@fortawesome/free-solid-svg-icons'), require('@theseam/ui-common/layout'), require('@angular/common'), require('@theseam/ui-common/buttons'), require('@theseam/ui-common/icon'), require('@theseam/ui-common/scrollbar'), require('rxjs/operators'), require('@angular/cdk/coercion'), require('@angular/cdk/drag-drop'), require('@theseam/ui-common/core'), require('@theseam/ui-common/widget'), require('@theseam/ui-common/dynamic-component-loader'), require('@theseam/ui-common/utils'), require('@theseam/ui-common/shared'), require('@angular/animations'), require('@angular/router'), require('@angular/cdk/a11y'), require('@ng-bootstrap/ng-bootstrap'), require('@theseam/ui-common/menu'), require('@fortawesome/free-regular-svg-icons'), require('@ajsf/core'), require('@angular/forms'), require('@ng-select/ng-select'), require('@theseam/ui-common/checkbox'), require('@theseam/ui-common/form-field')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@theseam/ui-common/framework', ['exports', '@angular/core', '@angular/cdk/portal', 'rxjs', '@fortawesome/free-solid-svg-icons', '@theseam/ui-common/layout', '@angular/common', '@theseam/ui-common/buttons', '@theseam/ui-common/icon', '@theseam/ui-common/scrollbar', 'rxjs/operators', '@angular/cdk/coercion', '@angular/cdk/drag-drop', '@theseam/ui-common/core', '@theseam/ui-common/widget', '@theseam/ui-common/dynamic-component-loader', '@theseam/ui-common/utils', '@theseam/ui-common/shared', '@angular/animations', '@angular/router', '@angular/cdk/a11y', '@ng-bootstrap/ng-bootstrap', '@theseam/ui-common/menu', '@fortawesome/free-regular-svg-icons', '@ajsf/core', '@angular/forms', '@ng-select/ng-select', '@theseam/ui-common/checkbox', '@theseam/ui-common/form-field'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.theseam = global.theseam || {}, global.theseam["ui-common"] = global.theseam["ui-common"] || {}, global.theseam["ui-common"].framework = {}), global.ng.core, global.ng.cdk.portal, global.rxjs, global.freeSolidSvgIcons, global.theseam["ui-common"].layout, global.ng.common, global.theseam["ui-common"].buttons, global.theseam["ui-common"].icon, global.theseam["ui-common"].scrollbar, global.rxjs.operators, global.ng.cdk.coercion, global.ng.cdk.dragDrop, global.theseam["ui-common"].core, global.theseam["ui-common"].widget, global.theseam["ui-common"]["dynamic-component-loader"], global.theseam["ui-common"].utils, global.theseam["ui-common"].shared, global.ng.animations, global.ng.router, global.ng.cdk.a11y, global.ngBootstrap, global.theseam["ui-common"].menu, global.freeRegularSvgIcons, global.core$1, global.ng.forms, global.ngSelect, global.theseam["ui-common"].checkbox, global.theseam["ui-common"]["form-field"]));
|
|
5
|
-
})(this, (function (exports, i0, portal, rxjs, freeSolidSvgIcons, layout, common, buttons, icon, scrollbar, operators, coercion, dragDrop, core, widget, i1, utils, shared, animations, router, a11y, ngBootstrap, menu, freeRegularSvgIcons, core$1, forms, ngSelect, checkbox, formField) { 'use strict';
|
|
6
|
-
|
|
7
|
-
function _interopNamespace(e) {
|
|
8
|
-
if (e && e.__esModule) return e;
|
|
9
|
-
var n = Object.create(null);
|
|
10
|
-
if (e) {
|
|
11
|
-
Object.keys(e).forEach(function (k) {
|
|
12
|
-
if (k !== 'default') {
|
|
13
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () { return e[k]; }
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
n["default"] = e;
|
|
22
|
-
return Object.freeze(n);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
27
|
-
|
|
28
|
-
var BaseLayoutContentFooterDirective = /** @class */ (function () {
|
|
29
|
-
function BaseLayoutContentFooterDirective(_elementRef) {
|
|
30
|
-
this._elementRef = _elementRef;
|
|
31
|
-
}
|
|
32
|
-
return BaseLayoutContentFooterDirective;
|
|
33
|
-
}());
|
|
34
|
-
BaseLayoutContentFooterDirective.decorators = [
|
|
35
|
-
{ type: i0.Directive, args: [{
|
|
36
|
-
selector: '[seamBaseLayoutContentFooter]'
|
|
37
|
-
},] }
|
|
38
|
-
];
|
|
39
|
-
BaseLayoutContentFooterDirective.ctorParameters = function () { return [
|
|
40
|
-
{ type: i0.ElementRef }
|
|
41
|
-
]; };
|
|
42
|
-
|
|
43
|
-
var BaseLayoutContentHeaderDirective = /** @class */ (function () {
|
|
44
|
-
function BaseLayoutContentHeaderDirective(_elementRef) {
|
|
45
|
-
this._elementRef = _elementRef;
|
|
46
|
-
}
|
|
47
|
-
return BaseLayoutContentHeaderDirective;
|
|
48
|
-
}());
|
|
49
|
-
BaseLayoutContentHeaderDirective.decorators = [
|
|
50
|
-
{ type: i0.Directive, args: [{
|
|
51
|
-
selector: '[seamBaseLayoutContentHeader]'
|
|
52
|
-
},] }
|
|
53
|
-
];
|
|
54
|
-
BaseLayoutContentHeaderDirective.ctorParameters = function () { return [
|
|
55
|
-
{ type: i0.ElementRef }
|
|
56
|
-
]; };
|
|
57
|
-
|
|
58
|
-
var BaseLayoutContentDirective = /** @class */ (function () {
|
|
59
|
-
function BaseLayoutContentDirective(_elementRef) {
|
|
60
|
-
this._elementRef = _elementRef;
|
|
61
|
-
}
|
|
62
|
-
return BaseLayoutContentDirective;
|
|
63
|
-
}());
|
|
64
|
-
BaseLayoutContentDirective.decorators = [
|
|
65
|
-
{ type: i0.Directive, args: [{
|
|
66
|
-
selector: '[seamBaseLayoutContent]'
|
|
67
|
-
},] }
|
|
68
|
-
];
|
|
69
|
-
BaseLayoutContentDirective.ctorParameters = function () { return [
|
|
70
|
-
{ type: i0.ElementRef }
|
|
71
|
-
]; };
|
|
72
|
-
|
|
73
|
-
var THESEAM_BASE_LAYOUT_REF = new i0.InjectionToken('seamBaseLayoutRef');
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Can be used to toggle the expand state of the registered nav.
|
|
77
|
-
*/
|
|
78
|
-
var BaseLayoutNavToggleDirective = /** @class */ (function () {
|
|
79
|
-
function BaseLayoutNavToggleDirective(_baseLayout) {
|
|
80
|
-
this.type = 'button';
|
|
81
|
-
/** Screenreader label for the button. */
|
|
82
|
-
this.ariaLabel = 'Navigation toggle';
|
|
83
|
-
this.baseLayout = _baseLayout;
|
|
84
|
-
}
|
|
85
|
-
Object.defineProperty(BaseLayoutNavToggleDirective.prototype, "_attrType", {
|
|
86
|
-
get: function () { return this.type; },
|
|
87
|
-
enumerable: false,
|
|
88
|
-
configurable: true
|
|
89
|
-
});
|
|
90
|
-
Object.defineProperty(BaseLayoutNavToggleDirective.prototype, "_attrAriaLabel", {
|
|
91
|
-
get: function () { return this.ariaLabel || null; },
|
|
92
|
-
enumerable: false,
|
|
93
|
-
configurable: true
|
|
94
|
-
});
|
|
95
|
-
BaseLayoutNavToggleDirective.prototype._onClick = function () {
|
|
96
|
-
if (this.baseLayout && this.baseLayout.registeredNav) {
|
|
97
|
-
this.baseLayout.registeredNav.toggle();
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
return BaseLayoutNavToggleDirective;
|
|
101
|
-
}());
|
|
102
|
-
BaseLayoutNavToggleDirective.decorators = [
|
|
103
|
-
{ type: i0.Directive, args: [{
|
|
104
|
-
selector: 'button[seamBaseLayoutNavToggle]',
|
|
105
|
-
exportAs: 'seamBaseLayoutNavToggle'
|
|
106
|
-
},] }
|
|
107
|
-
];
|
|
108
|
-
BaseLayoutNavToggleDirective.ctorParameters = function () { return [
|
|
109
|
-
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_BASE_LAYOUT_REF,] }] }
|
|
110
|
-
]; };
|
|
111
|
-
BaseLayoutNavToggleDirective.propDecorators = {
|
|
112
|
-
_attrType: [{ type: i0.HostBinding, args: ['attr.type',] }],
|
|
113
|
-
type: [{ type: i0.Input }],
|
|
114
|
-
_attrAriaLabel: [{ type: i0.HostBinding, args: ['attr.aria-label',] }],
|
|
115
|
-
ariaLabel: [{ type: i0.Input, args: ['aria-label',] }],
|
|
116
|
-
_onClick: [{ type: i0.HostListener, args: ['click',] }]
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
var BaseLayoutSideBarDirective = /** @class */ (function () {
|
|
120
|
-
function BaseLayoutSideBarDirective(_elementRef) {
|
|
121
|
-
this._elementRef = _elementRef;
|
|
122
|
-
}
|
|
123
|
-
return BaseLayoutSideBarDirective;
|
|
124
|
-
}());
|
|
125
|
-
BaseLayoutSideBarDirective.decorators = [
|
|
126
|
-
{ type: i0.Directive, args: [{
|
|
127
|
-
selector: '[seamBaseLayoutSideBar]'
|
|
128
|
-
},] }
|
|
129
|
-
];
|
|
130
|
-
BaseLayoutSideBarDirective.ctorParameters = function () { return [
|
|
131
|
-
{ type: i0.ElementRef }
|
|
132
|
-
]; };
|
|
133
|
-
|
|
134
|
-
var BaseLayoutTopBarDirective = /** @class */ (function () {
|
|
135
|
-
function BaseLayoutTopBarDirective(_elementRef) {
|
|
136
|
-
this._elementRef = _elementRef;
|
|
137
|
-
}
|
|
138
|
-
return BaseLayoutTopBarDirective;
|
|
139
|
-
}());
|
|
140
|
-
BaseLayoutTopBarDirective.decorators = [
|
|
141
|
-
{ type: i0.Directive, args: [{
|
|
142
|
-
selector: '[seamBaseLayoutTopBar]'
|
|
143
|
-
},] }
|
|
144
|
-
];
|
|
145
|
-
BaseLayoutTopBarDirective.ctorParameters = function () { return [
|
|
146
|
-
{ type: i0.ElementRef }
|
|
147
|
-
]; };
|
|
148
|
-
|
|
149
|
-
var THE_SEAM_BASE_LAYOUT = {
|
|
150
|
-
provide: THESEAM_BASE_LAYOUT_REF,
|
|
151
|
-
// tslint:disable-next-line:no-use-before-declare
|
|
152
|
-
useExisting: i0.forwardRef(function () { return TheSeamBaseLayoutComponent; }),
|
|
153
|
-
multi: false,
|
|
154
|
-
};
|
|
155
|
-
var TheSeamBaseLayoutComponent = /** @class */ (function () {
|
|
156
|
-
function TheSeamBaseLayoutComponent(_viewContainerRef, _layout) {
|
|
157
|
-
this._viewContainerRef = _viewContainerRef;
|
|
158
|
-
this._layout = _layout;
|
|
159
|
-
this.faAngleDoubleRight = freeSolidSvgIcons.faAngleDoubleRight;
|
|
160
|
-
this.faAngleDoubleLeft = freeSolidSvgIcons.faAngleDoubleLeft;
|
|
161
|
-
this.overlayNav = false;
|
|
162
|
-
this._hasSideBar = new rxjs.BehaviorSubject(false);
|
|
163
|
-
this._registeredNav = new rxjs.BehaviorSubject(undefined);
|
|
164
|
-
this.registeredNav$ = this._registeredNav.asObservable();
|
|
165
|
-
this._registeredActions = new rxjs.BehaviorSubject([]);
|
|
166
|
-
this.registeredActions$ = this._registeredActions.asObservable();
|
|
167
|
-
this.isMobile$ = this._layout.isMobile$;
|
|
168
|
-
this.hasSideBar$ = this._hasSideBar.asObservable();
|
|
169
|
-
}
|
|
170
|
-
Object.defineProperty(TheSeamBaseLayoutComponent.prototype, "registeredNav", {
|
|
171
|
-
get: function () { return this._registeredNav.value; },
|
|
172
|
-
enumerable: false,
|
|
173
|
-
configurable: true
|
|
174
|
-
});
|
|
175
|
-
Object.defineProperty(TheSeamBaseLayoutComponent.prototype, "registeredActions", {
|
|
176
|
-
get: function () { return this._registeredActions.value; },
|
|
177
|
-
enumerable: false,
|
|
178
|
-
configurable: true
|
|
179
|
-
});
|
|
180
|
-
TheSeamBaseLayoutComponent.prototype.ngOnInit = function () {
|
|
181
|
-
if (this._topBarTpl) {
|
|
182
|
-
this._topBarPortal = new portal.TemplatePortal(this._topBarTpl, this._viewContainerRef);
|
|
183
|
-
}
|
|
184
|
-
if (this._sideBarTpl) {
|
|
185
|
-
this._sideBarPortal = new portal.TemplatePortal(this._sideBarTpl, this._viewContainerRef);
|
|
186
|
-
this._hasSideBar.next(true);
|
|
187
|
-
}
|
|
188
|
-
if (this._contentTpl) {
|
|
189
|
-
this._contentPortal = new portal.TemplatePortal(this._contentTpl, this._viewContainerRef);
|
|
190
|
-
}
|
|
191
|
-
if (this._contentHeaderTpl) {
|
|
192
|
-
this._contentHeaderPortal = new portal.TemplatePortal(this._contentHeaderTpl, this._viewContainerRef);
|
|
193
|
-
}
|
|
194
|
-
if (this._contentFooterTpl) {
|
|
195
|
-
this._contentFooterPortal = new portal.TemplatePortal(this._contentFooterTpl, this._viewContainerRef);
|
|
196
|
-
}
|
|
197
|
-
};
|
|
198
|
-
TheSeamBaseLayoutComponent.prototype.registerNav = function (nav) {
|
|
199
|
-
// TODO: Allow multiple registered navs
|
|
200
|
-
// if (this.registeredNav) {
|
|
201
|
-
// throw new Error('[TheSeamBaseLayoutComponent] A nav is already registered.')
|
|
202
|
-
// }
|
|
203
|
-
// console.log('register nav', nav)
|
|
204
|
-
this._registeredNav.next(nav);
|
|
205
|
-
};
|
|
206
|
-
TheSeamBaseLayoutComponent.prototype.unregisterNav = function (nav) {
|
|
207
|
-
if (this.registeredNav === nav) {
|
|
208
|
-
this._registeredNav.next(undefined);
|
|
209
|
-
}
|
|
210
|
-
};
|
|
211
|
-
TheSeamBaseLayoutComponent.prototype.registerAction = function (action) {
|
|
212
|
-
var actions = this._registeredActions.value;
|
|
213
|
-
if (actions.findIndex(function (a) { return a.name === action.name; }) !== -1) {
|
|
214
|
-
if (i0.isDevMode()) {
|
|
215
|
-
console.warn("[TheSeamBaseLayoutComponent] registerAction(): Action " + action.name + " not " +
|
|
216
|
-
'registered, because another action by that name is already registered.');
|
|
217
|
-
}
|
|
218
|
-
return;
|
|
219
|
-
}
|
|
220
|
-
actions.push(action);
|
|
221
|
-
};
|
|
222
|
-
TheSeamBaseLayoutComponent.prototype.unregisterAction = function (action) {
|
|
223
|
-
var actionName = typeof action === 'string' ? action : action.name;
|
|
224
|
-
var actions = this._registeredActions.value;
|
|
225
|
-
this._registeredActions.next(actions.filter(function (f) { return f.name !== actionName; }));
|
|
226
|
-
};
|
|
227
|
-
TheSeamBaseLayoutComponent.prototype.isActionRegistered = function (actionName) {
|
|
228
|
-
var actions = this._registeredActions.value;
|
|
229
|
-
var action = actions.find(function (f) { return f.name === actionName; });
|
|
230
|
-
return !!action;
|
|
231
|
-
};
|
|
232
|
-
TheSeamBaseLayoutComponent.prototype._handleButtonAction = function (action) {
|
|
233
|
-
this._execButtonAction(action).subscribe();
|
|
234
|
-
};
|
|
235
|
-
TheSeamBaseLayoutComponent.prototype._execButtonAction = function (action) {
|
|
236
|
-
var fnRes = action.exec();
|
|
237
|
-
return rxjs.isObservable(fnRes) ? fnRes : rxjs.from(Promise.resolve(fnRes));
|
|
238
|
-
};
|
|
239
|
-
return TheSeamBaseLayoutComponent;
|
|
240
|
-
}());
|
|
241
|
-
TheSeamBaseLayoutComponent.decorators = [
|
|
242
|
-
{ type: i0.Component, args: [{
|
|
243
|
-
selector: 'seam-base-layout',
|
|
244
|
-
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",
|
|
245
|
-
providers: [THE_SEAM_BASE_LAYOUT],
|
|
246
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
247
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
248
|
-
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"]
|
|
249
|
-
},] }
|
|
250
|
-
];
|
|
251
|
-
TheSeamBaseLayoutComponent.ctorParameters = function () { return [
|
|
252
|
-
{ type: i0.ViewContainerRef },
|
|
253
|
-
{ type: layout.TheSeamLayoutService }
|
|
254
|
-
]; };
|
|
255
|
-
TheSeamBaseLayoutComponent.propDecorators = {
|
|
256
|
-
overlayNav: [{ type: i0.Input }],
|
|
257
|
-
_topBarTpl: [{ type: i0.ContentChild, args: [BaseLayoutTopBarDirective, { static: true, read: i0.TemplateRef },] }],
|
|
258
|
-
_sideBarTpl: [{ type: i0.ContentChild, args: [BaseLayoutSideBarDirective, { static: true, read: i0.TemplateRef },] }],
|
|
259
|
-
_contentTpl: [{ type: i0.ContentChild, args: [BaseLayoutContentDirective, { static: true, read: i0.TemplateRef },] }],
|
|
260
|
-
_contentHeaderTpl: [{ type: i0.ContentChild, args: [BaseLayoutContentHeaderDirective, { static: true, read: i0.TemplateRef },] }],
|
|
261
|
-
_contentFooterTpl: [{ type: i0.ContentChild, args: [BaseLayoutContentFooterDirective, { static: true, read: i0.TemplateRef },] }]
|
|
262
|
-
};
|
|
263
|
-
|
|
264
|
-
var BaseLayoutSideBarFooterDirective = /** @class */ (function () {
|
|
265
|
-
function BaseLayoutSideBarFooterDirective(_elementRef) {
|
|
266
|
-
this._elementRef = _elementRef;
|
|
267
|
-
}
|
|
268
|
-
return BaseLayoutSideBarFooterDirective;
|
|
269
|
-
}());
|
|
270
|
-
BaseLayoutSideBarFooterDirective.decorators = [
|
|
271
|
-
{ type: i0.Directive, args: [{
|
|
272
|
-
selector: '[seamBaseLayoutSideBarFooter]'
|
|
273
|
-
},] }
|
|
274
|
-
];
|
|
275
|
-
BaseLayoutSideBarFooterDirective.ctorParameters = function () { return [
|
|
276
|
-
{ type: i0.ElementRef }
|
|
277
|
-
]; };
|
|
278
|
-
|
|
279
|
-
var TheSeamBaseLayoutModule = /** @class */ (function () {
|
|
280
|
-
function TheSeamBaseLayoutModule() {
|
|
281
|
-
}
|
|
282
|
-
return TheSeamBaseLayoutModule;
|
|
283
|
-
}());
|
|
284
|
-
TheSeamBaseLayoutModule.decorators = [
|
|
285
|
-
{ type: i0.NgModule, args: [{
|
|
286
|
-
declarations: [
|
|
287
|
-
TheSeamBaseLayoutComponent,
|
|
288
|
-
BaseLayoutContentDirective,
|
|
289
|
-
BaseLayoutSideBarDirective,
|
|
290
|
-
BaseLayoutSideBarFooterDirective,
|
|
291
|
-
BaseLayoutTopBarDirective,
|
|
292
|
-
BaseLayoutNavToggleDirective,
|
|
293
|
-
BaseLayoutContentHeaderDirective,
|
|
294
|
-
BaseLayoutContentFooterDirective
|
|
295
|
-
],
|
|
296
|
-
imports: [
|
|
297
|
-
common.CommonModule,
|
|
298
|
-
portal.PortalModule,
|
|
299
|
-
scrollbar.TheSeamScrollbarModule,
|
|
300
|
-
icon.TheSeamIconModule,
|
|
301
|
-
buttons.TheSeamButtonsModule
|
|
302
|
-
],
|
|
303
|
-
exports: [
|
|
304
|
-
TheSeamBaseLayoutComponent,
|
|
305
|
-
BaseLayoutContentDirective,
|
|
306
|
-
BaseLayoutSideBarDirective,
|
|
307
|
-
BaseLayoutSideBarFooterDirective,
|
|
308
|
-
BaseLayoutTopBarDirective,
|
|
309
|
-
BaseLayoutNavToggleDirective,
|
|
310
|
-
BaseLayoutContentHeaderDirective,
|
|
311
|
-
BaseLayoutContentFooterDirective
|
|
312
|
-
]
|
|
313
|
-
},] }
|
|
314
|
-
];
|
|
315
|
-
|
|
316
|
-
var DashboardWidgetContainerComponent = /** @class */ (function () {
|
|
317
|
-
function DashboardWidgetContainerComponent() {
|
|
318
|
-
}
|
|
319
|
-
DashboardWidgetContainerComponent.prototype.ngOnInit = function () { };
|
|
320
|
-
return DashboardWidgetContainerComponent;
|
|
321
|
-
}());
|
|
322
|
-
DashboardWidgetContainerComponent.decorators = [
|
|
323
|
-
{ type: i0.Component, args: [{
|
|
324
|
-
selector: 'seam-dashboard-widget-container',
|
|
325
|
-
template: "<ng-template><ng-content></ng-content></ng-template>\n",
|
|
326
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
327
|
-
styles: [""]
|
|
328
|
-
},] }
|
|
329
|
-
];
|
|
330
|
-
DashboardWidgetContainerComponent.ctorParameters = function () { return []; };
|
|
331
|
-
DashboardWidgetContainerComponent.propDecorators = {
|
|
332
|
-
def: [{ type: i0.Input }],
|
|
333
|
-
templateRef: [{ type: i0.ViewChild, args: [i0.TemplateRef,] }]
|
|
334
|
-
};
|
|
335
|
-
|
|
336
|
-
/*! *****************************************************************************
|
|
337
|
-
Copyright (c) Microsoft Corporation.
|
|
338
|
-
|
|
339
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
340
|
-
purpose with or without fee is hereby granted.
|
|
341
|
-
|
|
342
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
343
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
344
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
345
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
346
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
347
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
348
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
349
|
-
***************************************************************************** */
|
|
350
|
-
/* global Reflect, Promise */
|
|
351
|
-
var extendStatics = function (d, b) {
|
|
352
|
-
extendStatics = Object.setPrototypeOf ||
|
|
353
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
354
|
-
function (d, b) { for (var p in b)
|
|
355
|
-
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
356
|
-
d[p] = b[p]; };
|
|
357
|
-
return extendStatics(d, b);
|
|
358
|
-
};
|
|
359
|
-
function __extends(d, b) {
|
|
360
|
-
if (typeof b !== "function" && b !== null)
|
|
361
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
362
|
-
extendStatics(d, b);
|
|
363
|
-
function __() { this.constructor = d; }
|
|
364
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
365
|
-
}
|
|
366
|
-
var __assign = function () {
|
|
367
|
-
__assign = Object.assign || function __assign(t) {
|
|
368
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
369
|
-
s = arguments[i];
|
|
370
|
-
for (var p in s)
|
|
371
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
372
|
-
t[p] = s[p];
|
|
373
|
-
}
|
|
374
|
-
return t;
|
|
375
|
-
};
|
|
376
|
-
return __assign.apply(this, arguments);
|
|
377
|
-
};
|
|
378
|
-
function __rest(s, e) {
|
|
379
|
-
var t = {};
|
|
380
|
-
for (var p in s)
|
|
381
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
382
|
-
t[p] = s[p];
|
|
383
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
384
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
385
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
386
|
-
t[p[i]] = s[p[i]];
|
|
387
|
-
}
|
|
388
|
-
return t;
|
|
389
|
-
}
|
|
390
|
-
function __decorate(decorators, target, key, desc) {
|
|
391
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
392
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
393
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
394
|
-
else
|
|
395
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
396
|
-
if (d = decorators[i])
|
|
397
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
398
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
399
|
-
}
|
|
400
|
-
function __param(paramIndex, decorator) {
|
|
401
|
-
return function (target, key) { decorator(target, key, paramIndex); };
|
|
402
|
-
}
|
|
403
|
-
function __metadata(metadataKey, metadataValue) {
|
|
404
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
405
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
406
|
-
}
|
|
407
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
408
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
409
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
410
|
-
function fulfilled(value) { try {
|
|
411
|
-
step(generator.next(value));
|
|
412
|
-
}
|
|
413
|
-
catch (e) {
|
|
414
|
-
reject(e);
|
|
415
|
-
} }
|
|
416
|
-
function rejected(value) { try {
|
|
417
|
-
step(generator["throw"](value));
|
|
418
|
-
}
|
|
419
|
-
catch (e) {
|
|
420
|
-
reject(e);
|
|
421
|
-
} }
|
|
422
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
423
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
424
|
-
});
|
|
425
|
-
}
|
|
426
|
-
function __generator(thisArg, body) {
|
|
427
|
-
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
428
|
-
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
429
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
430
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
431
|
-
function step(op) {
|
|
432
|
-
if (f)
|
|
433
|
-
throw new TypeError("Generator is already executing.");
|
|
434
|
-
while (_)
|
|
435
|
-
try {
|
|
436
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
437
|
-
return t;
|
|
438
|
-
if (y = 0, t)
|
|
439
|
-
op = [op[0] & 2, t.value];
|
|
440
|
-
switch (op[0]) {
|
|
441
|
-
case 0:
|
|
442
|
-
case 1:
|
|
443
|
-
t = op;
|
|
444
|
-
break;
|
|
445
|
-
case 4:
|
|
446
|
-
_.label++;
|
|
447
|
-
return { value: op[1], done: false };
|
|
448
|
-
case 5:
|
|
449
|
-
_.label++;
|
|
450
|
-
y = op[1];
|
|
451
|
-
op = [0];
|
|
452
|
-
continue;
|
|
453
|
-
case 7:
|
|
454
|
-
op = _.ops.pop();
|
|
455
|
-
_.trys.pop();
|
|
456
|
-
continue;
|
|
457
|
-
default:
|
|
458
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
459
|
-
_ = 0;
|
|
460
|
-
continue;
|
|
461
|
-
}
|
|
462
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
463
|
-
_.label = op[1];
|
|
464
|
-
break;
|
|
465
|
-
}
|
|
466
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
467
|
-
_.label = t[1];
|
|
468
|
-
t = op;
|
|
469
|
-
break;
|
|
470
|
-
}
|
|
471
|
-
if (t && _.label < t[2]) {
|
|
472
|
-
_.label = t[2];
|
|
473
|
-
_.ops.push(op);
|
|
474
|
-
break;
|
|
475
|
-
}
|
|
476
|
-
if (t[2])
|
|
477
|
-
_.ops.pop();
|
|
478
|
-
_.trys.pop();
|
|
479
|
-
continue;
|
|
480
|
-
}
|
|
481
|
-
op = body.call(thisArg, _);
|
|
482
|
-
}
|
|
483
|
-
catch (e) {
|
|
484
|
-
op = [6, e];
|
|
485
|
-
y = 0;
|
|
486
|
-
}
|
|
487
|
-
finally {
|
|
488
|
-
f = t = 0;
|
|
489
|
-
}
|
|
490
|
-
if (op[0] & 5)
|
|
491
|
-
throw op[1];
|
|
492
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
496
|
-
if (k2 === undefined)
|
|
497
|
-
k2 = k;
|
|
498
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
499
|
-
}) : (function (o, m, k, k2) {
|
|
500
|
-
if (k2 === undefined)
|
|
501
|
-
k2 = k;
|
|
502
|
-
o[k2] = m[k];
|
|
503
|
-
});
|
|
504
|
-
function __exportStar(m, o) {
|
|
505
|
-
for (var p in m)
|
|
506
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
507
|
-
__createBinding(o, m, p);
|
|
508
|
-
}
|
|
509
|
-
function __values(o) {
|
|
510
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
511
|
-
if (m)
|
|
512
|
-
return m.call(o);
|
|
513
|
-
if (o && typeof o.length === "number")
|
|
514
|
-
return {
|
|
515
|
-
next: function () {
|
|
516
|
-
if (o && i >= o.length)
|
|
517
|
-
o = void 0;
|
|
518
|
-
return { value: o && o[i++], done: !o };
|
|
519
|
-
}
|
|
520
|
-
};
|
|
521
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
522
|
-
}
|
|
523
|
-
function __read(o, n) {
|
|
524
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
525
|
-
if (!m)
|
|
526
|
-
return o;
|
|
527
|
-
var i = m.call(o), r, ar = [], e;
|
|
528
|
-
try {
|
|
529
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
530
|
-
ar.push(r.value);
|
|
531
|
-
}
|
|
532
|
-
catch (error) {
|
|
533
|
-
e = { error: error };
|
|
534
|
-
}
|
|
535
|
-
finally {
|
|
536
|
-
try {
|
|
537
|
-
if (r && !r.done && (m = i["return"]))
|
|
538
|
-
m.call(i);
|
|
539
|
-
}
|
|
540
|
-
finally {
|
|
541
|
-
if (e)
|
|
542
|
-
throw e.error;
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
return ar;
|
|
546
|
-
}
|
|
547
|
-
/** @deprecated */
|
|
548
|
-
function __spread() {
|
|
549
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
550
|
-
ar = ar.concat(__read(arguments[i]));
|
|
551
|
-
return ar;
|
|
552
|
-
}
|
|
553
|
-
/** @deprecated */
|
|
554
|
-
function __spreadArrays() {
|
|
555
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
556
|
-
s += arguments[i].length;
|
|
557
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
558
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
559
|
-
r[k] = a[j];
|
|
560
|
-
return r;
|
|
561
|
-
}
|
|
562
|
-
function __spreadArray(to, from, pack) {
|
|
563
|
-
if (pack || arguments.length === 2)
|
|
564
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
565
|
-
if (ar || !(i in from)) {
|
|
566
|
-
if (!ar)
|
|
567
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
568
|
-
ar[i] = from[i];
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
572
|
-
}
|
|
573
|
-
function __await(v) {
|
|
574
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
575
|
-
}
|
|
576
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
577
|
-
if (!Symbol.asyncIterator)
|
|
578
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
579
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
580
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
581
|
-
function verb(n) { if (g[n])
|
|
582
|
-
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
583
|
-
function resume(n, v) { try {
|
|
584
|
-
step(g[n](v));
|
|
585
|
-
}
|
|
586
|
-
catch (e) {
|
|
587
|
-
settle(q[0][3], e);
|
|
588
|
-
} }
|
|
589
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
590
|
-
function fulfill(value) { resume("next", value); }
|
|
591
|
-
function reject(value) { resume("throw", value); }
|
|
592
|
-
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
593
|
-
resume(q[0][0], q[0][1]); }
|
|
594
|
-
}
|
|
595
|
-
function __asyncDelegator(o) {
|
|
596
|
-
var i, p;
|
|
597
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
598
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
599
|
-
}
|
|
600
|
-
function __asyncValues(o) {
|
|
601
|
-
if (!Symbol.asyncIterator)
|
|
602
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
603
|
-
var m = o[Symbol.asyncIterator], i;
|
|
604
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
605
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
606
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
607
|
-
}
|
|
608
|
-
function __makeTemplateObject(cooked, raw) {
|
|
609
|
-
if (Object.defineProperty) {
|
|
610
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
611
|
-
}
|
|
612
|
-
else {
|
|
613
|
-
cooked.raw = raw;
|
|
614
|
-
}
|
|
615
|
-
return cooked;
|
|
616
|
-
}
|
|
617
|
-
;
|
|
618
|
-
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
619
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
620
|
-
}) : function (o, v) {
|
|
621
|
-
o["default"] = v;
|
|
622
|
-
};
|
|
623
|
-
function __importStar(mod) {
|
|
624
|
-
if (mod && mod.__esModule)
|
|
625
|
-
return mod;
|
|
626
|
-
var result = {};
|
|
627
|
-
if (mod != null)
|
|
628
|
-
for (var k in mod)
|
|
629
|
-
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
630
|
-
__createBinding(result, mod, k);
|
|
631
|
-
__setModuleDefault(result, mod);
|
|
632
|
-
return result;
|
|
633
|
-
}
|
|
634
|
-
function __importDefault(mod) {
|
|
635
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
636
|
-
}
|
|
637
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
638
|
-
if (kind === "a" && !f)
|
|
639
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
640
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
641
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
642
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
643
|
-
}
|
|
644
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
645
|
-
if (kind === "m")
|
|
646
|
-
throw new TypeError("Private method is not writable");
|
|
647
|
-
if (kind === "a" && !f)
|
|
648
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
649
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
650
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
651
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
var THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR = new i0.InjectionToken('ITheSeamDashboardWidgetsPreferencesAccessor');
|
|
655
|
-
|
|
656
|
-
// TODO: This needs a unit test to make sure it will not cause a race condition
|
|
657
|
-
// if update is called faster than the previous can respond.
|
|
658
|
-
//
|
|
659
|
-
// The ideal approach I am thinking, without steping through the process too
|
|
660
|
-
// thoroughly is to hold the new data emit until all pending updates are done.
|
|
661
|
-
// Any pending updates other than the most recently requested will be ignored
|
|
662
|
-
// and just wait on the most recent, and if already running it should be
|
|
663
|
-
// canceled if possible. Also, incase something happens that causes the new data
|
|
664
|
-
// emissions to get held up too long, there could be a threshold time that the
|
|
665
|
-
// new data can be held up.
|
|
666
|
-
/**
|
|
667
|
-
* Manages anything dealing with retrieving and updating dashboard widget
|
|
668
|
-
* preference data from the provided accessor.
|
|
669
|
-
*/
|
|
670
|
-
var DashboardWidgetsPreferencesService = /** @class */ (function () {
|
|
671
|
-
// private _pending = false
|
|
672
|
-
// public get pending() { return this._pending }
|
|
673
|
-
function DashboardWidgetsPreferencesService(_prefsAccessor) {
|
|
674
|
-
this._prefsAccessor = _prefsAccessor;
|
|
675
|
-
this._tablePrefsMap = new Map();
|
|
676
|
-
}
|
|
677
|
-
DashboardWidgetsPreferencesService.prototype.preferences = function (preferenceKey) {
|
|
678
|
-
var prefs = this._tablePrefsMap.get(preferenceKey);
|
|
679
|
-
if (!prefs) {
|
|
680
|
-
var refreshSubject = new rxjs.Subject();
|
|
681
|
-
prefs = {
|
|
682
|
-
observable: this._createObservable(refreshSubject, preferenceKey),
|
|
683
|
-
refresh: refreshSubject
|
|
684
|
-
};
|
|
685
|
-
this._tablePrefsMap.set(preferenceKey, prefs);
|
|
686
|
-
}
|
|
687
|
-
return prefs.observable;
|
|
688
|
-
};
|
|
689
|
-
DashboardWidgetsPreferencesService.prototype._createObservable = function (refreshSubject, prefKey) {
|
|
690
|
-
var _this = this;
|
|
691
|
-
if (!this._prefsAccessor) {
|
|
692
|
-
return rxjs.of({});
|
|
693
|
-
}
|
|
694
|
-
var accessor = function (key) { return _this._prefsAccessor ? _this._prefsAccessor.get(key) : rxjs.of('{}'); };
|
|
695
|
-
return refreshSubject.pipe(operators.startWith({}),
|
|
696
|
-
// tap(() => console.log('Start requesting: ', prefKey)),
|
|
697
|
-
operators.switchMap(function () { return accessor(prefKey).pipe(operators.map(function (v) {
|
|
698
|
-
if (!v) {
|
|
699
|
-
return null;
|
|
700
|
-
}
|
|
701
|
-
// TODO: Add a schema validator and migration tool to avoid parsing issues.
|
|
702
|
-
try {
|
|
703
|
-
return JSON.parse(v);
|
|
704
|
-
}
|
|
705
|
-
catch (error) {
|
|
706
|
-
if (i0.isDevMode()) {
|
|
707
|
-
console.error(error);
|
|
708
|
-
}
|
|
709
|
-
return null;
|
|
710
|
-
}
|
|
711
|
-
}), operators.map(function (v) { return !!v ? v : {}; })); }), operators.shareReplay({ bufferSize: 1, refCount: true }));
|
|
712
|
-
};
|
|
713
|
-
DashboardWidgetsPreferencesService.prototype.refresh = function (preferenceKey) {
|
|
714
|
-
var prefs = this._tablePrefsMap.get(preferenceKey);
|
|
715
|
-
if (prefs) {
|
|
716
|
-
// this._pending = true
|
|
717
|
-
// prefs.refresh.next()
|
|
718
|
-
return prefs.observable.pipe(
|
|
719
|
-
// tap(() => prefs.refresh.next()),
|
|
720
|
-
operators.tap(function () { return setTimeout(function () { prefs.refresh.next(); }, 0); }), operators.mapTo(undefined), operators.take(1));
|
|
721
|
-
}
|
|
722
|
-
return rxjs.of(undefined);
|
|
723
|
-
};
|
|
724
|
-
DashboardWidgetsPreferencesService.prototype.selectLayout = function (preferenceKey, layoutName) {
|
|
725
|
-
return this.preferences(preferenceKey).pipe(operators.map(function (prefs) { return (prefs.layouts || []).find(function (l) { return l.name === layoutName; }); }));
|
|
726
|
-
};
|
|
727
|
-
// TODO: Improve this updating to not be more generic, so we can quickly add
|
|
728
|
-
// edits for different preference schema's.
|
|
729
|
-
//
|
|
730
|
-
// TODO: Decide if a send queue/merging of pending queue is needed to avoid
|
|
731
|
-
// out of order updates. This shouldn't be an issue, with how fast preferences
|
|
732
|
-
// will most likely be changing, but it could happen in situations, such as
|
|
733
|
-
// network issues.
|
|
734
|
-
DashboardWidgetsPreferencesService.prototype.updateLayout = function (preferenceKey, layout) {
|
|
735
|
-
var _this = this;
|
|
736
|
-
if (!this._prefsAccessor) {
|
|
737
|
-
return rxjs.of(undefined);
|
|
738
|
-
}
|
|
739
|
-
if (!utils.hasProperty(layout, 'name')) {
|
|
740
|
-
throw Error("Unable to save layout preference. 'name' is required for a layout preference.");
|
|
741
|
-
}
|
|
742
|
-
var _layout = this.toSerializeableLayout(layout);
|
|
743
|
-
// this._pending = true
|
|
744
|
-
return this.preferences(preferenceKey).pipe(operators.map(function (prefs) {
|
|
745
|
-
// Making the preferences immutable may not be necessary, but for now
|
|
746
|
-
// this obj->str->obj will work as a naive clone.
|
|
747
|
-
var layouts = JSON.parse(JSON.stringify(prefs.layouts || []));
|
|
748
|
-
var _layoutPref = layouts.find(function (c) { return c.name === _layout.name; });
|
|
749
|
-
// console.log('has', _layoutPref)
|
|
750
|
-
if (_layoutPref) {
|
|
751
|
-
if (utils.hasProperty(_layout, 'name')) {
|
|
752
|
-
_layoutPref.name = _layout.name;
|
|
753
|
-
}
|
|
754
|
-
if (utils.hasProperty(_layout, 'label')) {
|
|
755
|
-
_layoutPref.label = _layout.label;
|
|
756
|
-
}
|
|
757
|
-
if (utils.hasProperty(_layout, 'items')) {
|
|
758
|
-
_layoutPref.items = _layout.items;
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
else {
|
|
762
|
-
layouts.push(Object.assign({}, _layout));
|
|
763
|
-
}
|
|
764
|
-
var newPrefs = Object.assign(Object.assign({}, prefs), { layouts: layouts });
|
|
765
|
-
return newPrefs;
|
|
766
|
-
}),
|
|
767
|
-
// tap(v => console.log('newPrefs', v)),
|
|
768
|
-
operators.take(1), operators.switchMap(function (newPrefs) { return _this._prefsAccessor
|
|
769
|
-
? _this._prefsAccessor.update(preferenceKey, JSON.stringify(newPrefs))
|
|
770
|
-
: rxjs.of(newPrefs); }), operators.switchMap(function () { return _this.refresh(preferenceKey).pipe(operators.mapTo(undefined)); }));
|
|
771
|
-
// .subscribe()
|
|
772
|
-
};
|
|
773
|
-
DashboardWidgetsPreferencesService.prototype.toSerializeableLayout = function (layout) {
|
|
774
|
-
var serialized = {
|
|
775
|
-
name: layout.name,
|
|
776
|
-
label: layout.label,
|
|
777
|
-
items: this.toSerializeableItems(layout.items) || []
|
|
778
|
-
};
|
|
779
|
-
return serialized;
|
|
780
|
-
};
|
|
781
|
-
// public toDeserializedLayout(layout: IDashboardWidgetItemLayoutSerialized): IDashboardWidgetItemLayoutDef {
|
|
782
|
-
// // For now there is nothing to do. Eventually this should have at least
|
|
783
|
-
// // validation on the deserialized object.
|
|
784
|
-
// return layout
|
|
785
|
-
// }
|
|
786
|
-
/**
|
|
787
|
-
* Returns the serializable widget items as objects that can be serialized to
|
|
788
|
-
* a JSON string for storage.
|
|
789
|
-
*/
|
|
790
|
-
DashboardWidgetsPreferencesService.prototype.toSerializeableItems = function (widgets) {
|
|
791
|
-
var e_1, _a;
|
|
792
|
-
var serialized = [];
|
|
793
|
-
try {
|
|
794
|
-
for (var widgets_1 = __values(widgets), widgets_1_1 = widgets_1.next(); !widgets_1_1.done; widgets_1_1 = widgets_1.next()) {
|
|
795
|
-
var w = widgets_1_1.value;
|
|
796
|
-
// if (!w.__itemDef.component || typeof w.__itemDef.component !== 'string') {
|
|
797
|
-
// console.warn(`[DashboardWidgetsService] Widget item def must have a string 'component' property to be serialized.`, w)
|
|
798
|
-
// continue
|
|
799
|
-
// }
|
|
800
|
-
// serialized.push({
|
|
801
|
-
// widgetId: w.widgetId,
|
|
802
|
-
// col: w.col,
|
|
803
|
-
// order: w.order,
|
|
804
|
-
// component: w.__itemDef.component
|
|
805
|
-
// })
|
|
806
|
-
// TODO: Remove this, it is only here for initial dev debugging.
|
|
807
|
-
serialized.push({
|
|
808
|
-
widgetId: w.widgetId,
|
|
809
|
-
col: w.col,
|
|
810
|
-
order: w.order,
|
|
811
|
-
// component: w.__itemDef.component as string
|
|
812
|
-
});
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
816
|
-
finally {
|
|
817
|
-
try {
|
|
818
|
-
if (widgets_1_1 && !widgets_1_1.done && (_a = widgets_1.return)) _a.call(widgets_1);
|
|
819
|
-
}
|
|
820
|
-
finally { if (e_1) throw e_1.error; }
|
|
821
|
-
}
|
|
822
|
-
return serialized;
|
|
823
|
-
};
|
|
824
|
-
return DashboardWidgetsPreferencesService;
|
|
825
|
-
}());
|
|
826
|
-
DashboardWidgetsPreferencesService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DashboardWidgetsPreferencesService_Factory() { return new DashboardWidgetsPreferencesService(i0__namespace.ɵɵinject(THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR, 8)); }, token: DashboardWidgetsPreferencesService, providedIn: "root" });
|
|
827
|
-
DashboardWidgetsPreferencesService.decorators = [
|
|
828
|
-
{ type: i0.Injectable, args: [{
|
|
829
|
-
providedIn: 'root'
|
|
830
|
-
},] }
|
|
831
|
-
];
|
|
832
|
-
DashboardWidgetsPreferencesService.ctorParameters = function () { return [
|
|
833
|
-
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR,] }] }
|
|
834
|
-
]; };
|
|
835
|
-
|
|
836
|
-
var DashboardWidgetsService = /** @class */ (function () {
|
|
837
|
-
function DashboardWidgetsService(_dynamicComponentLoaderModule, _preferences) {
|
|
838
|
-
var _this = this;
|
|
839
|
-
this._dynamicComponentLoaderModule = _dynamicComponentLoaderModule;
|
|
840
|
-
this._preferences = _preferences;
|
|
841
|
-
this.preferenceKey = 'datatable-widgets';
|
|
842
|
-
this.defaultNumColumns = 3;
|
|
843
|
-
/** Used for operations, such as 'addWidget', if the column is not specified. */
|
|
844
|
-
this.defaultColumn = 0;
|
|
845
|
-
this._widgets = new rxjs.BehaviorSubject([]);
|
|
846
|
-
this._numColumns = new rxjs.BehaviorSubject(this.defaultNumColumns);
|
|
847
|
-
this._viewContainerRefSubject = new rxjs.BehaviorSubject(undefined);
|
|
848
|
-
this.numColumns$ = this._numColumns.asObservable();
|
|
849
|
-
// Widget items without preferences
|
|
850
|
-
var _widgetItems$ = rxjs.combineLatest([this._widgets, this._viewContainerRefSubject])
|
|
851
|
-
.pipe(operators.switchMap(function (_a) {
|
|
852
|
-
var _b = __read(_a, 2), defs = _b[0], vcr = _b[1];
|
|
853
|
-
return _this.createWidgetItems(defs, vcr);
|
|
854
|
-
}));
|
|
855
|
-
// Widget items with preferences
|
|
856
|
-
this.widgetItems$ = rxjs.combineLatest([_widgetItems$, this.numColumns$])
|
|
857
|
-
.pipe(
|
|
858
|
-
// Wait until the current tick is done, incase both the widgets and
|
|
859
|
-
// number of columns are set durring the same tick. Without the audit,
|
|
860
|
-
// this would get called twice when the component is initialized with
|
|
861
|
-
// both inputs set one after the other individually.
|
|
862
|
-
operators.auditTime(0), operators.switchMap(function (_a) {
|
|
863
|
-
var _b = __read(_a, 2), items = _b[0], numColumns = _b[1];
|
|
864
|
-
return _this._preferences.selectLayout(_this.preferenceKey, _this._layoutName(numColumns)).pipe(operators.map(function (layout) { return layout ? _this.withLayoutPreferences(items, layout) : items; }));
|
|
865
|
-
}), operators.shareReplay({ bufferSize: 1, refCount: true }));
|
|
866
|
-
this.widgetColumns$ = this.widgetItems$
|
|
867
|
-
.pipe(operators.map(function (items) { return _this.toColumnRecords(items); }), operators.shareReplay({ bufferSize: 1, refCount: true }));
|
|
868
|
-
}
|
|
869
|
-
Object.defineProperty(DashboardWidgetsService.prototype, "widgets", {
|
|
870
|
-
get: function () { return this._widgets.value; },
|
|
871
|
-
set: function (value) { this._widgets.next(value); },
|
|
872
|
-
enumerable: false,
|
|
873
|
-
configurable: true
|
|
874
|
-
});
|
|
875
|
-
Object.defineProperty(DashboardWidgetsService.prototype, "numColumns", {
|
|
876
|
-
get: function () { return this._numColumns.value; },
|
|
877
|
-
set: function (value) {
|
|
878
|
-
if (value !== this._numColumns.value) {
|
|
879
|
-
this._numColumns.next(value);
|
|
880
|
-
}
|
|
881
|
-
},
|
|
882
|
-
enumerable: false,
|
|
883
|
-
configurable: true
|
|
884
|
-
});
|
|
885
|
-
DashboardWidgetsService.prototype._layoutName = function (numColumns) {
|
|
886
|
-
return "columns-" + numColumns;
|
|
887
|
-
};
|
|
888
|
-
DashboardWidgetsService.prototype.setViewContainerRef = function (vcr) {
|
|
889
|
-
this._viewContainerRefSubject.next(vcr);
|
|
890
|
-
};
|
|
891
|
-
DashboardWidgetsService.prototype.createWidgetItems = function (defs, vcr) {
|
|
892
|
-
var _this = this;
|
|
893
|
-
var _createObservables = (defs || []).map(function (d) { return _this.createWidgetItem(d, vcr); });
|
|
894
|
-
var items$ = _createObservables.length > 0 ? rxjs.combineLatest(_createObservables) : rxjs.of([]);
|
|
895
|
-
return items$.pipe(operators.map(function (items) { return items.filter(utils.notNullOrUndefined); }), operators.tap(function (items) {
|
|
896
|
-
if (i0.isDevMode()) {
|
|
897
|
-
var ids = items.map(function (v) { return v.widgetId; });
|
|
898
|
-
if ((new Set(ids)).size !== ids.length) {
|
|
899
|
-
console.warn("[DashboardWidgetsService] Duplicate widget's with the same 'widgetId' found.");
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
}));
|
|
903
|
-
};
|
|
904
|
-
DashboardWidgetsService.prototype.createWidgetItem = function (def, vcr) {
|
|
905
|
-
var _this = this;
|
|
906
|
-
if (!def.widgetId || typeof def.widgetId !== 'string' || def.widgetId.length < 1) {
|
|
907
|
-
if (i0.isDevMode()) {
|
|
908
|
-
console.warn("[DashboardWidgetsService] Widget ignored. All widgets must have a 'widgetId'.", def);
|
|
909
|
-
}
|
|
910
|
-
return rxjs.of(undefined);
|
|
911
|
-
}
|
|
912
|
-
return this.createWidgetPortal(def, vcr).pipe(operators.map(function (portal) { return (Object.assign(Object.assign({}, def), { col: def.col || _this.defaultColumn, order: def.order || 0, portal: portal, __itemDef: def })); }));
|
|
913
|
-
};
|
|
914
|
-
DashboardWidgetsService.prototype.createWidgetPortal = function (def, vcr) {
|
|
915
|
-
if (typeof def.component === 'string') {
|
|
916
|
-
return this._dynamicComponentLoaderModule
|
|
917
|
-
.getComponentFactory(def.component)
|
|
918
|
-
.pipe(operators.map(function (componentFactory) {
|
|
919
|
-
return new portal.ComponentPortal(componentFactory.componentType, vcr, undefined, componentFactory.ngModule.componentFactoryResolver);
|
|
920
|
-
}), operators.take(1));
|
|
921
|
-
}
|
|
922
|
-
return def.componentFactoryResolver
|
|
923
|
-
? rxjs.of(new portal.ComponentPortal(def.component, vcr, undefined, def.componentFactoryResolver))
|
|
924
|
-
: rxjs.of(new portal.ComponentPortal(def.component, vcr));
|
|
925
|
-
};
|
|
926
|
-
DashboardWidgetsService.prototype.updateOrder = function () {
|
|
927
|
-
return this.widgetColumns$
|
|
928
|
-
.pipe(operators.take(1), operators.tap(function (columns) { return columns.forEach(function (col) {
|
|
929
|
-
var i = 0;
|
|
930
|
-
col.items.forEach(function (itm) { return itm.order = i++; });
|
|
931
|
-
}); }), operators.mapTo(undefined));
|
|
932
|
-
};
|
|
933
|
-
DashboardWidgetsService.prototype.toColumnRecords = function (items) {
|
|
934
|
-
var e_1, _a;
|
|
935
|
-
var _this = this;
|
|
936
|
-
var columns = [];
|
|
937
|
-
for (var i = 0; i < this.numColumns; i++) {
|
|
938
|
-
columns.push({ column: i, items: [] });
|
|
939
|
-
}
|
|
940
|
-
var colNotFound = [];
|
|
941
|
-
var _loop_1 = function (item) {
|
|
942
|
-
var col = columns.find(function (c) { return c.column === item.col; });
|
|
943
|
-
if (!col) {
|
|
944
|
-
// columns.push({ column: item.col, items: [ item ] })
|
|
945
|
-
// if (item.col < 0) {
|
|
946
|
-
// const col0: IDashboardWidgetsColumnRecord | undefined = columns.find(c => c.column === 0)
|
|
947
|
-
// if (col0) {
|
|
948
|
-
// col0.items.push(item)
|
|
949
|
-
// }
|
|
950
|
-
// } else if (item.col > this.numColumns - 1) {
|
|
951
|
-
// const colMax: IDashboardWidgetsColumnRecord | undefined = columns.find(c => c.column === this.numColumns - 1)
|
|
952
|
-
// if (colMax) {
|
|
953
|
-
// colMax.items.push(item)
|
|
954
|
-
// }
|
|
955
|
-
// }
|
|
956
|
-
colNotFound.push(item);
|
|
957
|
-
}
|
|
958
|
-
else {
|
|
959
|
-
col.items.push(item);
|
|
960
|
-
}
|
|
961
|
-
};
|
|
962
|
-
try {
|
|
963
|
-
// Distribute items into columns
|
|
964
|
-
for (var items_1 = __values(items), items_1_1 = items_1.next(); !items_1_1.done; items_1_1 = items_1.next()) {
|
|
965
|
-
var item = items_1_1.value;
|
|
966
|
-
_loop_1(item);
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
970
|
-
finally {
|
|
971
|
-
try {
|
|
972
|
-
if (items_1_1 && !items_1_1.done && (_a = items_1.return)) _a.call(items_1);
|
|
973
|
-
}
|
|
974
|
-
finally { if (e_1) throw e_1.error; }
|
|
975
|
-
}
|
|
976
|
-
var _loop_2 = function (i) {
|
|
977
|
-
var item = colNotFound[i];
|
|
978
|
-
var col = columns
|
|
979
|
-
.find(function (c) { return c.column === i % _this.numColumns; });
|
|
980
|
-
if (col) {
|
|
981
|
-
col.items.push(item);
|
|
982
|
-
}
|
|
983
|
-
};
|
|
984
|
-
for (var i = 0; i < colNotFound.length; i++) {
|
|
985
|
-
_loop_2(i);
|
|
986
|
-
}
|
|
987
|
-
// Sort columns
|
|
988
|
-
columns = columns.sort(function (a, b) { return a.column - b.column; });
|
|
989
|
-
// Sort columns items
|
|
990
|
-
columns.forEach(function (col) { return col.items.sort(function (a, b) { return a.order - b.order; }); });
|
|
991
|
-
return columns;
|
|
992
|
-
};
|
|
993
|
-
DashboardWidgetsService.prototype.withLayoutPreferences = function (items, layout) {
|
|
994
|
-
var e_2, _a;
|
|
995
|
-
var _items = [];
|
|
996
|
-
var _loop_3 = function (item) {
|
|
997
|
-
var itemPref = layout.items.find(function (x) { return x.widgetId === item.widgetId; });
|
|
998
|
-
_items.push(Object.assign(Object.assign({}, item), (itemPref || {})));
|
|
999
|
-
};
|
|
1000
|
-
try {
|
|
1001
|
-
for (var items_2 = __values(items), items_2_1 = items_2.next(); !items_2_1.done; items_2_1 = items_2.next()) {
|
|
1002
|
-
var item = items_2_1.value;
|
|
1003
|
-
_loop_3(item);
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1007
|
-
finally {
|
|
1008
|
-
try {
|
|
1009
|
-
if (items_2_1 && !items_2_1.done && (_a = items_2.return)) _a.call(items_2);
|
|
1010
|
-
}
|
|
1011
|
-
finally { if (e_2) throw e_2.error; }
|
|
1012
|
-
}
|
|
1013
|
-
return _items;
|
|
1014
|
-
};
|
|
1015
|
-
DashboardWidgetsService.prototype.savePreferences = function () {
|
|
1016
|
-
var _this = this;
|
|
1017
|
-
// Right now the items are moved between the column record arrays, but the
|
|
1018
|
-
// 'col' prop is not updated, so it is mapped to corrected items here from
|
|
1019
|
-
// the column records.
|
|
1020
|
-
var items$ = this.widgetColumns$.pipe(operators.map(function (columns) { return []
|
|
1021
|
-
.concat.apply([], __spreadArray([], __read((columns.map(function (c) { return c.items.map(function (itm) { return (Object.assign(Object.assign({}, itm), { col: c.column })); }); }))))); }));
|
|
1022
|
-
return rxjs.combineLatest([items$, this.numColumns$]).pipe(operators.auditTime(0), operators.take(1), operators.switchMap(function (_a) {
|
|
1023
|
-
var _b = __read(_a, 2), items = _b[0], numColumns = _b[1];
|
|
1024
|
-
return _this._preferences.updateLayout(_this.preferenceKey, {
|
|
1025
|
-
name: _this._layoutName(numColumns),
|
|
1026
|
-
items: items
|
|
1027
|
-
});
|
|
1028
|
-
}), operators.mapTo(undefined));
|
|
1029
|
-
};
|
|
1030
|
-
return DashboardWidgetsService;
|
|
1031
|
-
}());
|
|
1032
|
-
DashboardWidgetsService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DashboardWidgetsService_Factory() { return new DashboardWidgetsService(i0__namespace.ɵɵinject(i1__namespace.TheSeamDynamicComponentLoader), i0__namespace.ɵɵinject(DashboardWidgetsPreferencesService)); }, token: DashboardWidgetsService, providedIn: "root" });
|
|
1033
|
-
DashboardWidgetsService.decorators = [
|
|
1034
|
-
{ type: i0.Injectable, args: [{
|
|
1035
|
-
providedIn: 'root'
|
|
1036
|
-
},] }
|
|
1037
|
-
];
|
|
1038
|
-
DashboardWidgetsService.ctorParameters = function () { return [
|
|
1039
|
-
{ type: i1.TheSeamDynamicComponentLoader },
|
|
1040
|
-
{ type: DashboardWidgetsPreferencesService }
|
|
1041
|
-
]; };
|
|
1042
|
-
|
|
1043
|
-
var DashboardWidgetsComponent = /** @class */ (function () {
|
|
1044
|
-
function DashboardWidgetsComponent(_dashboardWidgets, _viewContainerRef, _cdr, _baseLayoutRef) {
|
|
1045
|
-
var _this = this;
|
|
1046
|
-
this._dashboardWidgets = _dashboardWidgets;
|
|
1047
|
-
this._viewContainerRef = _viewContainerRef;
|
|
1048
|
-
this._cdr = _cdr;
|
|
1049
|
-
this._baseLayoutRef = _baseLayoutRef;
|
|
1050
|
-
this.faLock = freeSolidSvgIcons.faLock;
|
|
1051
|
-
this.faUnlock = freeSolidSvgIcons.faUnlock;
|
|
1052
|
-
this._actionWidgetDragToggleName = 'widget-drag-toggle';
|
|
1053
|
-
this._ngUnsubscribe = new rxjs.Subject();
|
|
1054
|
-
this._gapSize = new rxjs.BehaviorSubject(30);
|
|
1055
|
-
this.widgetsDraggable = false;
|
|
1056
|
-
this._dragToggleVisible = new rxjs.BehaviorSubject(true);
|
|
1057
|
-
this._containers = new rxjs.BehaviorSubject([]);
|
|
1058
|
-
this._layoutChange = new rxjs.Subject();
|
|
1059
|
-
this.widgetsChange = new i0.EventEmitter();
|
|
1060
|
-
this._widthChange = new rxjs.Subject();
|
|
1061
|
-
this.containers$ = this._containers.asObservable();
|
|
1062
|
-
this._gapStyleSize$ = this._gapSize.pipe(operators.auditTime(0), operators.map(function (size) { return size / 2; }), operators.shareReplay({ bufferSize: 1, refCount: true }));
|
|
1063
|
-
this._widthChange.pipe(operators.debounceTime(30), operators.tap(function (width) {
|
|
1064
|
-
if (width > 1300) {
|
|
1065
|
-
_this.numColumns = 3;
|
|
1066
|
-
}
|
|
1067
|
-
else if (width > 800) {
|
|
1068
|
-
_this.numColumns = 2;
|
|
1069
|
-
}
|
|
1070
|
-
else {
|
|
1071
|
-
_this.numColumns = 1;
|
|
1072
|
-
}
|
|
1073
|
-
}), operators.takeUntil(this._ngUnsubscribe)).subscribe();
|
|
1074
|
-
this.widgetItems$ = this._dashboardWidgets.widgetItems$;
|
|
1075
|
-
this.widgetColumns$ = this._dashboardWidgets.widgetColumns$;
|
|
1076
|
-
}
|
|
1077
|
-
Object.defineProperty(DashboardWidgetsComponent.prototype, "gapSize", {
|
|
1078
|
-
get: function () { return this._gapSize.value; },
|
|
1079
|
-
set: function (val) {
|
|
1080
|
-
this._gapSize.next(coercion.coerceNumberProperty(val));
|
|
1081
|
-
},
|
|
1082
|
-
enumerable: false,
|
|
1083
|
-
configurable: true
|
|
1084
|
-
});
|
|
1085
|
-
Object.defineProperty(DashboardWidgetsComponent.prototype, "dragToggleVisible", {
|
|
1086
|
-
get: function () { return this._dragToggleVisible.value; },
|
|
1087
|
-
set: function (val) {
|
|
1088
|
-
this._dragToggleVisible.next(coercion.coerceBooleanProperty(val));
|
|
1089
|
-
},
|
|
1090
|
-
enumerable: false,
|
|
1091
|
-
configurable: true
|
|
1092
|
-
});
|
|
1093
|
-
Object.defineProperty(DashboardWidgetsComponent.prototype, "numColumns", {
|
|
1094
|
-
get: function () { return this._dashboardWidgets.numColumns; },
|
|
1095
|
-
set: function (val) {
|
|
1096
|
-
this._dashboardWidgets.numColumns = coercion.coerceNumberProperty(val);
|
|
1097
|
-
},
|
|
1098
|
-
enumerable: false,
|
|
1099
|
-
configurable: true
|
|
1100
|
-
});
|
|
1101
|
-
Object.defineProperty(DashboardWidgetsComponent.prototype, "widgets", {
|
|
1102
|
-
get: function () { return this._dashboardWidgets.widgets; },
|
|
1103
|
-
set: function (value) { this._dashboardWidgets.widgets = value || []; },
|
|
1104
|
-
enumerable: false,
|
|
1105
|
-
configurable: true
|
|
1106
|
-
});
|
|
1107
|
-
DashboardWidgetsComponent.prototype.ngOnInit = function () {
|
|
1108
|
-
var _this = this;
|
|
1109
|
-
// this._dashboardWidgets.setViewContainerRef(this._viewContainerRef)
|
|
1110
|
-
this._layoutChange.pipe(operators.switchMap(function () { return _this.widgetItems$.pipe(operators.take(1), operators.tap(function (widgetItems) { return _this.widgetsChange.emit(widgetItems); }),
|
|
1111
|
-
// map(widgetItems => this._dashboardWidgets.toSerializeableItems(widgetItems)),
|
|
1112
|
-
// tap(v => console.log('serializable', v)),
|
|
1113
|
-
operators.switchMap(function () { return _this._dashboardWidgets.savePreferences(); })); }), operators.takeUntil(this._ngUnsubscribe)).subscribe();
|
|
1114
|
-
};
|
|
1115
|
-
DashboardWidgetsComponent.prototype.ngOnDestroy = function () {
|
|
1116
|
-
this._unregisterToggleAction();
|
|
1117
|
-
this._ngUnsubscribe.next();
|
|
1118
|
-
this._ngUnsubscribe.complete();
|
|
1119
|
-
};
|
|
1120
|
-
DashboardWidgetsComponent.prototype.ngAfterViewInit = function () {
|
|
1121
|
-
var _this = this;
|
|
1122
|
-
var _a;
|
|
1123
|
-
if (this._baseLayoutRef) {
|
|
1124
|
-
this._dragToggleVisible.pipe(operators.distinctUntilChanged(), operators.tap(function (visible) {
|
|
1125
|
-
var isRegistered = _this._isActionToggleActionRegistered();
|
|
1126
|
-
if (visible && !isRegistered) {
|
|
1127
|
-
_this._registerToggleAction();
|
|
1128
|
-
}
|
|
1129
|
-
else if (!visible && isRegistered) {
|
|
1130
|
-
_this._unregisterToggleAction();
|
|
1131
|
-
}
|
|
1132
|
-
}), operators.takeUntil(this._ngUnsubscribe)).subscribe();
|
|
1133
|
-
}
|
|
1134
|
-
(_a = this.containers) === null || _a === void 0 ? void 0 : _a.changes.pipe(operators.startWith(undefined), operators.map(function () { var _a; return ((_a = _this.containers) === null || _a === void 0 ? void 0 : _a.toArray()) || []; }), operators.takeUntil(this._ngUnsubscribe), operators.finalize(function () { return _this._containers.next([]); })).subscribe(function (v) { return _this._containers.next(v); });
|
|
1135
|
-
};
|
|
1136
|
-
DashboardWidgetsComponent.prototype._registerToggleAction = function () {
|
|
1137
|
-
if (this._baseLayoutRef) {
|
|
1138
|
-
// This should probably use a component dynamically created from the
|
|
1139
|
-
// config and return a ref to it, instead of using a template.
|
|
1140
|
-
if (this._toggleBtnTpl) {
|
|
1141
|
-
this._baseLayoutRef.registerAction({
|
|
1142
|
-
// type: 'button',
|
|
1143
|
-
type: 'template',
|
|
1144
|
-
name: this._actionWidgetDragToggleName,
|
|
1145
|
-
label: 'Toggle Widget Dragging',
|
|
1146
|
-
// exec: () => {
|
|
1147
|
-
// console.log('toggle')
|
|
1148
|
-
// },
|
|
1149
|
-
template: this._toggleBtnTpl
|
|
1150
|
-
});
|
|
1151
|
-
}
|
|
1152
|
-
}
|
|
1153
|
-
};
|
|
1154
|
-
DashboardWidgetsComponent.prototype._unregisterToggleAction = function () {
|
|
1155
|
-
if (this._baseLayoutRef) {
|
|
1156
|
-
this._baseLayoutRef.unregisterAction(this._actionWidgetDragToggleName);
|
|
1157
|
-
}
|
|
1158
|
-
};
|
|
1159
|
-
DashboardWidgetsComponent.prototype._isActionToggleActionRegistered = function () {
|
|
1160
|
-
if (!this._baseLayoutRef) {
|
|
1161
|
-
return false;
|
|
1162
|
-
}
|
|
1163
|
-
return this._baseLayoutRef.isActionRegistered(this._actionWidgetDragToggleName);
|
|
1164
|
-
};
|
|
1165
|
-
DashboardWidgetsComponent.prototype.drop = function (event) {
|
|
1166
|
-
var _this = this;
|
|
1167
|
-
if (event.previousContainer === event.container) {
|
|
1168
|
-
dragDrop.moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
|
|
1169
|
-
this._dashboardWidgets.updateOrder().subscribe(function () { return _this._layoutChange.next(); });
|
|
1170
|
-
}
|
|
1171
|
-
else {
|
|
1172
|
-
dragDrop.transferArrayItem(event.previousContainer.data, event.container.data, event.previousIndex, event.currentIndex);
|
|
1173
|
-
this._dashboardWidgets.updateOrder().subscribe(function () { return _this._layoutChange.next(); });
|
|
1174
|
-
}
|
|
1175
|
-
};
|
|
1176
|
-
DashboardWidgetsComponent.prototype._containerTrackByFn = function (index, item) {
|
|
1177
|
-
return item.widgetId;
|
|
1178
|
-
};
|
|
1179
|
-
DashboardWidgetsComponent.prototype._columnsTrackByFn = function (index, record) {
|
|
1180
|
-
return record.column;
|
|
1181
|
-
};
|
|
1182
|
-
DashboardWidgetsComponent.prototype.toggleDragging = function () {
|
|
1183
|
-
this.widgetsDraggable = !this.widgetsDraggable;
|
|
1184
|
-
this._cdr.detectChanges();
|
|
1185
|
-
};
|
|
1186
|
-
DashboardWidgetsComponent.prototype._resized = function (event) {
|
|
1187
|
-
this._widthChange.next(event.size.width);
|
|
1188
|
-
};
|
|
1189
|
-
return DashboardWidgetsComponent;
|
|
1190
|
-
}());
|
|
1191
|
-
DashboardWidgetsComponent.decorators = [
|
|
1192
|
-
{ type: i0.Component, args: [{
|
|
1193
|
-
selector: 'seam-dashboard-widgets',
|
|
1194
|
-
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",
|
|
1195
|
-
providers: [
|
|
1196
|
-
{
|
|
1197
|
-
provide: widget.THESEAM_WIDGET_ACCESSOR,
|
|
1198
|
-
// tslint:disable-next-line:no-use-before-declare
|
|
1199
|
-
useExisting: i0.forwardRef(function () { return DashboardWidgetsComponent; })
|
|
1200
|
-
}
|
|
1201
|
-
],
|
|
1202
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1203
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
1204
|
-
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"]
|
|
1205
|
-
},] }
|
|
1206
|
-
];
|
|
1207
|
-
DashboardWidgetsComponent.ctorParameters = function () { return [
|
|
1208
|
-
{ type: DashboardWidgetsService },
|
|
1209
|
-
{ type: i0.ViewContainerRef },
|
|
1210
|
-
{ type: i0.ChangeDetectorRef },
|
|
1211
|
-
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_BASE_LAYOUT_REF,] }] }
|
|
1212
|
-
]; };
|
|
1213
|
-
DashboardWidgetsComponent.propDecorators = {
|
|
1214
|
-
gapSize: [{ type: i0.Input }],
|
|
1215
|
-
widgetsDraggable: [{ type: i0.Input }],
|
|
1216
|
-
dragToggleVisible: [{ type: i0.Input }],
|
|
1217
|
-
numColumns: [{ type: i0.Input }],
|
|
1218
|
-
widgets: [{ type: i0.Input }],
|
|
1219
|
-
containers: [{ type: i0.ViewChildren, args: [DashboardWidgetContainerComponent,] }],
|
|
1220
|
-
cdkDragDirectives: [{ type: i0.ViewChildren, args: [dragDrop.CdkDrag,] }],
|
|
1221
|
-
_toggleBtnTpl: [{ type: i0.ViewChild, args: ['toggleBtnTpl', { static: true },] }],
|
|
1222
|
-
widgetsChange: [{ type: i0.Output }]
|
|
1223
|
-
};
|
|
1224
|
-
__decorate([
|
|
1225
|
-
core.InputBoolean()
|
|
1226
|
-
], DashboardWidgetsComponent.prototype, "widgetsDraggable", void 0);
|
|
1227
|
-
|
|
1228
|
-
var DashboardWidgetTemplateContainerComponent = /** @class */ (function () {
|
|
1229
|
-
function DashboardWidgetTemplateContainerComponent(_dashboardWidgetsComponent) {
|
|
1230
|
-
var _this = this;
|
|
1231
|
-
this._dashboardWidgetsComponent = _dashboardWidgetsComponent;
|
|
1232
|
-
this.template$ = this._dashboardWidgetsComponent.containers$.pipe(operators.map(function (containers) { return containers.find(function (c) { var _a; return c.def.widgetId === ((_a = _this.item) === null || _a === void 0 ? void 0 : _a.widgetId); }); }), operators.map(function (container) { return container && container.templateRef; }));
|
|
1233
|
-
}
|
|
1234
|
-
DashboardWidgetTemplateContainerComponent.prototype.ngOnInit = function () { };
|
|
1235
|
-
return DashboardWidgetTemplateContainerComponent;
|
|
1236
|
-
}());
|
|
1237
|
-
DashboardWidgetTemplateContainerComponent.decorators = [
|
|
1238
|
-
{ type: i0.Component, args: [{
|
|
1239
|
-
selector: 'seam-dashboard-widget-template-container',
|
|
1240
|
-
template: "<ng-template [ngTemplateOutlet]=\"$any(template$ | async)\"></ng-template>\n",
|
|
1241
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1242
|
-
styles: [""]
|
|
1243
|
-
},] }
|
|
1244
|
-
];
|
|
1245
|
-
DashboardWidgetTemplateContainerComponent.ctorParameters = function () { return [
|
|
1246
|
-
{ type: DashboardWidgetsComponent }
|
|
1247
|
-
]; };
|
|
1248
|
-
DashboardWidgetTemplateContainerComponent.propDecorators = {
|
|
1249
|
-
item: [{ type: i0.Input }]
|
|
1250
|
-
};
|
|
1251
|
-
|
|
1252
|
-
/**
|
|
1253
|
-
* Mostly copied from
|
|
1254
|
-
* `https://github.com/angular/components/blob/master/src/cdk/portal/portal-directives.ts`
|
|
1255
|
-
* until I can figure out how to hold off removing the DOM nodes with the
|
|
1256
|
-
* cdkPortalOutlet. When we update to Angular 9 I may be able to do this better
|
|
1257
|
-
* with the new DomPortal.
|
|
1258
|
-
*
|
|
1259
|
-
* Directive version of a PortalOutlet. Because the directive *is* a
|
|
1260
|
-
* PortalOutlet, portals can be directly attached to it, enabling declarative
|
|
1261
|
-
* use.
|
|
1262
|
-
*
|
|
1263
|
-
* Usage: `<ng-template [cdkPortalOutlet]="greeting"></ng-template>`
|
|
1264
|
-
*/
|
|
1265
|
-
var DashboardWidgetPortalOutletDirective = /** @class */ (function (_super) {
|
|
1266
|
-
__extends(DashboardWidgetPortalOutletDirective, _super);
|
|
1267
|
-
function DashboardWidgetPortalOutletDirective(_componentFactoryResolver, _viewContainerRef, _elementRef) {
|
|
1268
|
-
var _this = _super.call(this) || this;
|
|
1269
|
-
_this._componentFactoryResolver = _componentFactoryResolver;
|
|
1270
|
-
_this._viewContainerRef = _viewContainerRef;
|
|
1271
|
-
_this._elementRef = _elementRef;
|
|
1272
|
-
/** Whether the portal component is initialized. */
|
|
1273
|
-
_this._isInitialized = false;
|
|
1274
|
-
/** Emits when a portal is attached to the outlet. */
|
|
1275
|
-
_this.attached = new i0.EventEmitter();
|
|
1276
|
-
return _this;
|
|
1277
|
-
}
|
|
1278
|
-
Object.defineProperty(DashboardWidgetPortalOutletDirective.prototype, "portal", {
|
|
1279
|
-
/** Portal associated with the Portal outlet. */
|
|
1280
|
-
get: function () {
|
|
1281
|
-
return this._attachedPortal;
|
|
1282
|
-
},
|
|
1283
|
-
set: function (portal) {
|
|
1284
|
-
// console.log('[DashboardWidgetPortalOutletDirective] set portal', portal, this.hasAttached())
|
|
1285
|
-
// Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have
|
|
1286
|
-
// run. This handles the cases where the user might do something like `<div cdkPortalOutlet>`
|
|
1287
|
-
// and attach a portal programmatically in the parent component. When Angular does the first CD
|
|
1288
|
-
// round, it will fire the setter with empty string, causing the user's content to be cleared.
|
|
1289
|
-
if (this.hasAttached() && !portal && !this._isInitialized) {
|
|
1290
|
-
return;
|
|
1291
|
-
}
|
|
1292
|
-
if (this.hasAttached()) {
|
|
1293
|
-
_super.prototype.detach.call(this);
|
|
1294
|
-
}
|
|
1295
|
-
if (portal) {
|
|
1296
|
-
_super.prototype.attach.call(this, portal);
|
|
1297
|
-
}
|
|
1298
|
-
this._attachedPortal = portal;
|
|
1299
|
-
},
|
|
1300
|
-
enumerable: false,
|
|
1301
|
-
configurable: true
|
|
1302
|
-
});
|
|
1303
|
-
Object.defineProperty(DashboardWidgetPortalOutletDirective.prototype, "attachedRef", {
|
|
1304
|
-
/** Component or view reference that is attached to the portal. */
|
|
1305
|
-
get: function () {
|
|
1306
|
-
return this._attachedRef;
|
|
1307
|
-
},
|
|
1308
|
-
enumerable: false,
|
|
1309
|
-
configurable: true
|
|
1310
|
-
});
|
|
1311
|
-
DashboardWidgetPortalOutletDirective.prototype.ngOnInit = function () {
|
|
1312
|
-
this._isInitialized = true;
|
|
1313
|
-
};
|
|
1314
|
-
DashboardWidgetPortalOutletDirective.prototype.ngOnDestroy = function () {
|
|
1315
|
-
var _this = this;
|
|
1316
|
-
// console.log('[DashboardWidgetPortalOutletDirective] ngOnDestroy')
|
|
1317
|
-
// TODO: Figure out the right way to call dispose without messing up
|
|
1318
|
-
// animation. This setTimeout way assumes the transition is 500ms, but that
|
|
1319
|
-
// may not always be the case and isn't guaranteed to match the animation ms
|
|
1320
|
-
// duration, since setTimeout isn't really meant for accurate timing. It
|
|
1321
|
-
// also makes debugging animations difficult, because you can pause an
|
|
1322
|
-
// animation, but the timeout will still run.
|
|
1323
|
-
setTimeout(function () {
|
|
1324
|
-
_super.prototype.dispose.call(_this);
|
|
1325
|
-
_this._attachedPortal = null;
|
|
1326
|
-
_this._attachedRef = null;
|
|
1327
|
-
}, 500);
|
|
1328
|
-
};
|
|
1329
|
-
/**
|
|
1330
|
-
* Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver.
|
|
1331
|
-
*
|
|
1332
|
-
* @param portal Portal to be attached to the portal outlet.
|
|
1333
|
-
* @returns Reference to the created component.
|
|
1334
|
-
*/
|
|
1335
|
-
DashboardWidgetPortalOutletDirective.prototype.attachComponentPortal = function (portal) {
|
|
1336
|
-
portal.setAttachedHost(this);
|
|
1337
|
-
// If the portal specifies an origin, use that as the logical location of the component
|
|
1338
|
-
// in the application tree. Otherwise use the location of this PortalOutlet.
|
|
1339
|
-
var viewContainerRef = portal.viewContainerRef != null ?
|
|
1340
|
-
portal.viewContainerRef :
|
|
1341
|
-
this._viewContainerRef;
|
|
1342
|
-
var resolver = portal.componentFactoryResolver || this._componentFactoryResolver;
|
|
1343
|
-
var componentFactory = resolver.resolveComponentFactory(portal.component);
|
|
1344
|
-
var ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector);
|
|
1345
|
-
_super.prototype.setDisposeFn.call(this, function () { return ref.destroy(); });
|
|
1346
|
-
this._attachedPortal = portal;
|
|
1347
|
-
this._attachedRef = ref;
|
|
1348
|
-
this.attached.emit(ref);
|
|
1349
|
-
return ref;
|
|
1350
|
-
};
|
|
1351
|
-
/**
|
|
1352
|
-
* Attach the given TemplatePortal to this PortlHost as an embedded View.
|
|
1353
|
-
* @param portal Portal to be attached.
|
|
1354
|
-
* @returns Reference to the created embedded view.
|
|
1355
|
-
*/
|
|
1356
|
-
DashboardWidgetPortalOutletDirective.prototype.attachTemplatePortal = function (portal) {
|
|
1357
|
-
var _this = this;
|
|
1358
|
-
portal.setAttachedHost(this);
|
|
1359
|
-
var viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context);
|
|
1360
|
-
_super.prototype.setDisposeFn.call(this, function () { return _this._viewContainerRef.clear(); });
|
|
1361
|
-
this._attachedPortal = portal;
|
|
1362
|
-
this._attachedRef = viewRef;
|
|
1363
|
-
this.attached.emit(viewRef);
|
|
1364
|
-
return viewRef;
|
|
1365
|
-
};
|
|
1366
|
-
return DashboardWidgetPortalOutletDirective;
|
|
1367
|
-
}(portal.BasePortalOutlet));
|
|
1368
|
-
DashboardWidgetPortalOutletDirective.decorators = [
|
|
1369
|
-
{ type: i0.Directive, args: [{
|
|
1370
|
-
selector: '[seamDashboardWidgetPortalOutlet]',
|
|
1371
|
-
exportAs: 'seamDashboardWidgetPortalOutlet',
|
|
1372
|
-
inputs: ['portal: seamDashboardWidgetPortalOutlet']
|
|
1373
|
-
},] }
|
|
1374
|
-
];
|
|
1375
|
-
DashboardWidgetPortalOutletDirective.ctorParameters = function () { return [
|
|
1376
|
-
{ type: i0.ComponentFactoryResolver },
|
|
1377
|
-
{ type: i0.ViewContainerRef },
|
|
1378
|
-
{ type: i0.ElementRef }
|
|
1379
|
-
]; };
|
|
1380
|
-
DashboardWidgetPortalOutletDirective.propDecorators = {
|
|
1381
|
-
attached: [{ type: i0.Output }]
|
|
1382
|
-
};
|
|
1383
|
-
|
|
1384
|
-
var DashboardComponent = /** @class */ (function () {
|
|
1385
|
-
function DashboardComponent() {
|
|
1386
|
-
this.widgetsDraggable = true;
|
|
1387
|
-
}
|
|
1388
|
-
return DashboardComponent;
|
|
1389
|
-
}());
|
|
1390
|
-
DashboardComponent.decorators = [
|
|
1391
|
-
{ type: i0.Component, args: [{
|
|
1392
|
-
selector: 'seam-dashboard',
|
|
1393
|
-
template: "<seam-dashboard-widgets [widgets]=\"widgets\" [widgetsDraggable]=\"widgetsDraggable\"></seam-dashboard-widgets>\n",
|
|
1394
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1395
|
-
styles: [""]
|
|
1396
|
-
},] }
|
|
1397
|
-
];
|
|
1398
|
-
DashboardComponent.ctorParameters = function () { return []; };
|
|
1399
|
-
DashboardComponent.propDecorators = {
|
|
1400
|
-
widgets: [{ type: i0.Input }],
|
|
1401
|
-
widgetsDraggable: [{ type: i0.Input }]
|
|
1402
|
-
};
|
|
1403
|
-
__decorate([
|
|
1404
|
-
core.InputBoolean()
|
|
1405
|
-
], DashboardComponent.prototype, "widgetsDraggable", void 0);
|
|
1406
|
-
|
|
1407
|
-
var TheSeamDashboardModule = /** @class */ (function () {
|
|
1408
|
-
function TheSeamDashboardModule() {
|
|
1409
|
-
}
|
|
1410
|
-
return TheSeamDashboardModule;
|
|
1411
|
-
}());
|
|
1412
|
-
TheSeamDashboardModule.decorators = [
|
|
1413
|
-
{ type: i0.NgModule, args: [{
|
|
1414
|
-
declarations: [
|
|
1415
|
-
DashboardComponent,
|
|
1416
|
-
DashboardWidgetsComponent,
|
|
1417
|
-
DashboardWidgetContainerComponent,
|
|
1418
|
-
DashboardWidgetTemplateContainerComponent,
|
|
1419
|
-
DashboardWidgetPortalOutletDirective
|
|
1420
|
-
],
|
|
1421
|
-
imports: [
|
|
1422
|
-
common.CommonModule,
|
|
1423
|
-
portal.PortalModule,
|
|
1424
|
-
dragDrop.DragDropModule,
|
|
1425
|
-
buttons.TheSeamButtonsModule,
|
|
1426
|
-
icon.TheSeamIconModule,
|
|
1427
|
-
shared.TheSeamSharedModule
|
|
1428
|
-
],
|
|
1429
|
-
exports: [
|
|
1430
|
-
DashboardComponent,
|
|
1431
|
-
DashboardWidgetsComponent,
|
|
1432
|
-
DashboardWidgetPortalOutletDirective
|
|
1433
|
-
]
|
|
1434
|
-
},] }
|
|
1435
|
-
];
|
|
1436
|
-
|
|
1437
|
-
function isNavItemType(item, type) {
|
|
1438
|
-
return item.itemType === type;
|
|
1439
|
-
}
|
|
1440
|
-
function isNavItemActive(item) {
|
|
1441
|
-
var _a, _b;
|
|
1442
|
-
return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.active) !== null && _b !== void 0 ? _b : false;
|
|
1443
|
-
}
|
|
1444
|
-
function isExpanded(item) {
|
|
1445
|
-
var _a, _b;
|
|
1446
|
-
return (_b = (_a = item.__state) === null || _a === void 0 ? void 0 : _a.expanded) !== null && _b !== void 0 ? _b : false;
|
|
1447
|
-
}
|
|
1448
|
-
function hasChildren(item) {
|
|
1449
|
-
return canHaveChildren(item) && utils.hasProperty(item, 'children') && item.children.length > 0;
|
|
1450
|
-
}
|
|
1451
|
-
function canHaveChildren(item) {
|
|
1452
|
-
return isNavItemType(item, 'basic') || isNavItemType(item, 'link');
|
|
1453
|
-
}
|
|
1454
|
-
function hasActiveChild(item) {
|
|
1455
|
-
var e_1, _c;
|
|
1456
|
-
if (!hasChildren(item)) {
|
|
1457
|
-
return false;
|
|
1458
|
-
}
|
|
1459
|
-
try {
|
|
1460
|
-
for (var _d = __values(item.children), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
1461
|
-
var child = _e.value;
|
|
1462
|
-
if (getItemStateProp(child, 'active')) {
|
|
1463
|
-
return true;
|
|
1464
|
-
}
|
|
1465
|
-
}
|
|
1466
|
-
}
|
|
1467
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1468
|
-
finally {
|
|
1469
|
-
try {
|
|
1470
|
-
if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
|
|
1471
|
-
}
|
|
1472
|
-
finally { if (e_1) throw e_1.error; }
|
|
1473
|
-
}
|
|
1474
|
-
return false;
|
|
1475
|
-
}
|
|
1476
|
-
function hasExpandedChild(item) {
|
|
1477
|
-
var e_2, _c;
|
|
1478
|
-
if (!hasChildren(item)) {
|
|
1479
|
-
return false;
|
|
1480
|
-
}
|
|
1481
|
-
try {
|
|
1482
|
-
for (var _d = __values(item.children), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
1483
|
-
var child = _e.value;
|
|
1484
|
-
if (getItemStateProp(child, 'expanded')) {
|
|
1485
|
-
return true;
|
|
1486
|
-
}
|
|
1487
|
-
}
|
|
1488
|
-
}
|
|
1489
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1490
|
-
finally {
|
|
1491
|
-
try {
|
|
1492
|
-
if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
|
|
1493
|
-
}
|
|
1494
|
-
finally { if (e_2) throw e_2.error; }
|
|
1495
|
-
}
|
|
1496
|
-
return false;
|
|
1497
|
-
}
|
|
1498
|
-
function canBeActive(item) {
|
|
1499
|
-
return isNavItemType(item, 'basic') || isNavItemType(item, 'link');
|
|
1500
|
-
}
|
|
1501
|
-
function canExpand(item) {
|
|
1502
|
-
return canHaveChildren(item);
|
|
1503
|
-
}
|
|
1504
|
-
function findLinkItems(items) {
|
|
1505
|
-
var linkItems = [];
|
|
1506
|
-
var _fn = function (_items) {
|
|
1507
|
-
var e_3, _c;
|
|
1508
|
-
try {
|
|
1509
|
-
for (var _items_1 = __values(_items), _items_1_1 = _items_1.next(); !_items_1_1.done; _items_1_1 = _items_1.next()) {
|
|
1510
|
-
var item = _items_1_1.value;
|
|
1511
|
-
if (isNavItemType(item, 'link')) {
|
|
1512
|
-
linkItems.push(item);
|
|
1513
|
-
}
|
|
1514
|
-
if (canHaveChildren(item) && utils.hasProperty(item, 'children')) {
|
|
1515
|
-
_fn(item.children);
|
|
1516
|
-
}
|
|
1517
|
-
}
|
|
1518
|
-
}
|
|
1519
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
1520
|
-
finally {
|
|
1521
|
-
try {
|
|
1522
|
-
if (_items_1_1 && !_items_1_1.done && (_c = _items_1.return)) _c.call(_items_1);
|
|
1523
|
-
}
|
|
1524
|
-
finally { if (e_3) throw e_3.error; }
|
|
1525
|
-
}
|
|
1526
|
-
};
|
|
1527
|
-
_fn(items);
|
|
1528
|
-
return linkItems;
|
|
1529
|
-
}
|
|
1530
|
-
function setItemStateProp(item, prop, value) {
|
|
1531
|
-
if (utils.hasProperty(item, '__state')) {
|
|
1532
|
-
item.__state[prop] = value;
|
|
1533
|
-
}
|
|
1534
|
-
}
|
|
1535
|
-
function getItemStateProp(item, prop) {
|
|
1536
|
-
return setDefaultState(item).__state[prop];
|
|
1537
|
-
}
|
|
1538
|
-
function setDefaultState(item) {
|
|
1539
|
-
if (utils.hasProperty(item, '__state')) {
|
|
1540
|
-
return item;
|
|
1541
|
-
}
|
|
1542
|
-
item.__state = {
|
|
1543
|
-
active: false,
|
|
1544
|
-
expanded: false
|
|
1545
|
-
};
|
|
1546
|
-
// TODO: See if there is a nice way to fix the typing for this.
|
|
1547
|
-
return item;
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
|
-
var TheSeamSideNavService = /** @class */ (function () {
|
|
1551
|
-
function TheSeamSideNavService(_router) {
|
|
1552
|
-
this._router = _router;
|
|
1553
|
-
this._updatingCount = new rxjs.BehaviorSubject(0);
|
|
1554
|
-
this.itemChanged = new rxjs.Subject();
|
|
1555
|
-
this.loading$ = this._updatingCount.pipe(operators.map(function (count) { return count > 0; }), operators.distinctUntilChanged(), operators.shareReplay({ bufferSize: 1, refCount: true }));
|
|
1556
|
-
}
|
|
1557
|
-
TheSeamSideNavService.prototype.createItemsObservable = function (items) {
|
|
1558
|
-
var _this = this;
|
|
1559
|
-
return rxjs.defer(function () {
|
|
1560
|
-
_this.updateItemsStates(items);
|
|
1561
|
-
return new rxjs.Observable(function (subscriber) {
|
|
1562
|
-
var stateChangeSub = _this.itemChanged.pipe(operators.switchMap(function () { return _this.loading$.pipe(operators.filter(function (loading) { return !loading; })); })).subscribe(function () {
|
|
1563
|
-
subscriber.next(items);
|
|
1564
|
-
});
|
|
1565
|
-
try {
|
|
1566
|
-
_this.updateItemsStates(items);
|
|
1567
|
-
}
|
|
1568
|
-
catch (err) {
|
|
1569
|
-
subscriber.error(err);
|
|
1570
|
-
}
|
|
1571
|
-
// const linkItems = findLinkItems(items)
|
|
1572
|
-
var routeChangeSub = _this._router.events.pipe(operators.filter(function (event) { return event instanceof router.NavigationEnd; })).subscribe(function () {
|
|
1573
|
-
try {
|
|
1574
|
-
_this.updateItemsStates(items);
|
|
1575
|
-
}
|
|
1576
|
-
catch (err) {
|
|
1577
|
-
subscriber.error(err);
|
|
1578
|
-
}
|
|
1579
|
-
});
|
|
1580
|
-
return function () {
|
|
1581
|
-
stateChangeSub.unsubscribe();
|
|
1582
|
-
routeChangeSub.unsubscribe();
|
|
1583
|
-
};
|
|
1584
|
-
}).pipe(operators.startWith(items));
|
|
1585
|
-
});
|
|
1586
|
-
};
|
|
1587
|
-
TheSeamSideNavService.prototype._incUpdatingCount = function () {
|
|
1588
|
-
this._updatingCount.next(this._updatingCount.value + 1);
|
|
1589
|
-
};
|
|
1590
|
-
TheSeamSideNavService.prototype._decrUpdatingCount = function () {
|
|
1591
|
-
this._updatingCount.next(this._updatingCount.value - 1);
|
|
1592
|
-
};
|
|
1593
|
-
TheSeamSideNavService.prototype.updateItemsStates = function (items) {
|
|
1594
|
-
var e_1, _a;
|
|
1595
|
-
this._incUpdatingCount();
|
|
1596
|
-
try {
|
|
1597
|
-
try {
|
|
1598
|
-
for (var items_1 = __values(items), items_1_1 = items_1.next(); !items_1_1.done; items_1_1 = items_1.next()) {
|
|
1599
|
-
var item = items_1_1.value;
|
|
1600
|
-
if (hasChildren(item)) {
|
|
1601
|
-
this.updateItemsStates(item.children);
|
|
1602
|
-
}
|
|
1603
|
-
this.updateItemState(item);
|
|
1604
|
-
}
|
|
1605
|
-
}
|
|
1606
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
1607
|
-
finally {
|
|
1608
|
-
try {
|
|
1609
|
-
if (items_1_1 && !items_1_1.done && (_a = items_1.return)) _a.call(items_1);
|
|
1610
|
-
}
|
|
1611
|
-
finally { if (e_1) throw e_1.error; }
|
|
1612
|
-
}
|
|
1613
|
-
this._decrUpdatingCount();
|
|
1614
|
-
}
|
|
1615
|
-
catch (err) {
|
|
1616
|
-
this._decrUpdatingCount();
|
|
1617
|
-
throw err;
|
|
1618
|
-
}
|
|
1619
|
-
};
|
|
1620
|
-
TheSeamSideNavService.prototype.updateItemState = function (item) {
|
|
1621
|
-
this._incUpdatingCount();
|
|
1622
|
-
try {
|
|
1623
|
-
setDefaultState(item);
|
|
1624
|
-
if (isNavItemType(item, 'link')) {
|
|
1625
|
-
var url = this._getUrl(item);
|
|
1626
|
-
if (utils.notNullOrUndefined(url)) {
|
|
1627
|
-
var opts = this._getMatchOptions(item);
|
|
1628
|
-
this.setItemStateProp(item, 'active', this._router.isActive(url, opts));
|
|
1629
|
-
}
|
|
1630
|
-
}
|
|
1631
|
-
// TODO: Implement this in a more optimized way. Unless our apps start
|
|
1632
|
-
// having large side-navs constantly updating their state, this shouldn't
|
|
1633
|
-
// have much impact on performance.
|
|
1634
|
-
this._updateItemExpandedState(item);
|
|
1635
|
-
this._decrUpdatingCount();
|
|
1636
|
-
}
|
|
1637
|
-
catch (err) {
|
|
1638
|
-
this._decrUpdatingCount();
|
|
1639
|
-
throw err;
|
|
1640
|
-
}
|
|
1641
|
-
};
|
|
1642
|
-
TheSeamSideNavService.prototype._updateItemsExpandedState = function (items) {
|
|
1643
|
-
var e_2, _a;
|
|
1644
|
-
try {
|
|
1645
|
-
for (var items_2 = __values(items), items_2_1 = items_2.next(); !items_2_1.done; items_2_1 = items_2.next()) {
|
|
1646
|
-
var item = items_2_1.value;
|
|
1647
|
-
if (hasChildren(item)) {
|
|
1648
|
-
this._updateItemsExpandedState(item.children);
|
|
1649
|
-
}
|
|
1650
|
-
this._updateItemExpandedState(item);
|
|
1651
|
-
}
|
|
1652
|
-
}
|
|
1653
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
1654
|
-
finally {
|
|
1655
|
-
try {
|
|
1656
|
-
if (items_2_1 && !items_2_1.done && (_a = items_2.return)) _a.call(items_2);
|
|
1657
|
-
}
|
|
1658
|
-
finally { if (e_2) throw e_2.error; }
|
|
1659
|
-
}
|
|
1660
|
-
};
|
|
1661
|
-
TheSeamSideNavService.prototype._updateItemExpandedState = function (item) {
|
|
1662
|
-
if (!canExpand(item)) {
|
|
1663
|
-
if (getItemStateProp(item, 'expanded')) {
|
|
1664
|
-
this.setItemStateProp(item, 'expanded', false);
|
|
1665
|
-
}
|
|
1666
|
-
return;
|
|
1667
|
-
}
|
|
1668
|
-
if (hasChildren(item)) {
|
|
1669
|
-
this._updateItemsExpandedState(item.children);
|
|
1670
|
-
}
|
|
1671
|
-
if (hasActiveChild(item) || hasExpandedChild(item)) {
|
|
1672
|
-
if (!getItemStateProp(item, 'expanded')) {
|
|
1673
|
-
this.setItemStateProp(item, 'expanded', true);
|
|
1674
|
-
}
|
|
1675
|
-
}
|
|
1676
|
-
else {
|
|
1677
|
-
if (getItemStateProp(item, 'expanded')) {
|
|
1678
|
-
this.setItemStateProp(item, 'expanded', false);
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
};
|
|
1682
|
-
TheSeamSideNavService.prototype._getNavExtras = function (item) {
|
|
1683
|
-
var navigationExtras = {};
|
|
1684
|
-
if (utils.hasProperty(item, 'queryParams')) {
|
|
1685
|
-
navigationExtras.queryParams = item.queryParams;
|
|
1686
|
-
}
|
|
1687
|
-
if (utils.hasProperty(item, 'fragment')) {
|
|
1688
|
-
navigationExtras.fragment = item.fragment;
|
|
1689
|
-
}
|
|
1690
|
-
if (utils.hasProperty(item, 'queryParamsHandling')) {
|
|
1691
|
-
navigationExtras.queryParamsHandling = item.queryParamsHandling;
|
|
1692
|
-
}
|
|
1693
|
-
if (utils.hasProperty(item, 'preserveFragment')) {
|
|
1694
|
-
navigationExtras.preserveFragment = item.preserveFragment;
|
|
1695
|
-
}
|
|
1696
|
-
return navigationExtras;
|
|
1697
|
-
};
|
|
1698
|
-
TheSeamSideNavService.prototype._getUrl = function (item) {
|
|
1699
|
-
var link = item.link;
|
|
1700
|
-
if (typeof link === 'string') {
|
|
1701
|
-
return this._router.createUrlTree([link], this._getNavExtras(item)).toString();
|
|
1702
|
-
}
|
|
1703
|
-
else if (Array.isArray(link)) {
|
|
1704
|
-
return this._router.createUrlTree(link, this._getNavExtras(item)).toString();
|
|
1705
|
-
}
|
|
1706
|
-
return null;
|
|
1707
|
-
};
|
|
1708
|
-
TheSeamSideNavService.prototype._getMatchOptions = function (item) {
|
|
1709
|
-
var defaultMatchOpts = {
|
|
1710
|
-
paths: 'subset',
|
|
1711
|
-
queryParams: 'subset',
|
|
1712
|
-
fragment: 'ignored',
|
|
1713
|
-
matrixParams: 'ignored'
|
|
1714
|
-
};
|
|
1715
|
-
if (utils.hasProperty(item, 'matchOptions')) {
|
|
1716
|
-
return Object.assign(Object.assign({}, defaultMatchOpts), item.matchOptions);
|
|
1717
|
-
}
|
|
1718
|
-
return defaultMatchOpts;
|
|
1719
|
-
};
|
|
1720
|
-
TheSeamSideNavService.prototype.setItemStateProp = function (item, prop, value) {
|
|
1721
|
-
var currentValue = getItemStateProp(item, prop);
|
|
1722
|
-
if (currentValue !== value) {
|
|
1723
|
-
setItemStateProp(item, prop, value);
|
|
1724
|
-
var changed = {
|
|
1725
|
-
item: item,
|
|
1726
|
-
prop: prop,
|
|
1727
|
-
prevValue: currentValue,
|
|
1728
|
-
newValue: value
|
|
1729
|
-
};
|
|
1730
|
-
this.itemChanged.next(changed);
|
|
1731
|
-
}
|
|
1732
|
-
};
|
|
1733
|
-
return TheSeamSideNavService;
|
|
1734
|
-
}());
|
|
1735
|
-
TheSeamSideNavService.decorators = [
|
|
1736
|
-
{ type: i0.Injectable }
|
|
1737
|
-
];
|
|
1738
|
-
TheSeamSideNavService.ctorParameters = function () { return [
|
|
1739
|
-
{ type: router.Router }
|
|
1740
|
-
]; };
|
|
1741
|
-
|
|
1742
|
-
var EXPANDED_STATE$1 = 'expanded';
|
|
1743
|
-
var COLLAPSED_STATE$1 = 'collapsed';
|
|
1744
|
-
var EXPANDED_OVERLAY_STATE = 'expanded-overlay';
|
|
1745
|
-
var COLLAPSED_OVERLAY_STATE = 'collapsed-overlay';
|
|
1746
|
-
var EXPANDED_STATES = [EXPANDED_STATE$1, EXPANDED_OVERLAY_STATE];
|
|
1747
|
-
var COLLAPSED_STATES = [COLLAPSED_STATE$1, COLLAPSED_OVERLAY_STATE];
|
|
1748
|
-
var EXPAND_STATES = __spreadArray(__spreadArray([], __read(EXPANDED_STATES)), __read(COLLAPSED_STATES));
|
|
1749
|
-
function sideNavExpandStateChangeFn(fromState, toState) {
|
|
1750
|
-
// console.log({ fromState, toState })
|
|
1751
|
-
return fromState !== toState &&
|
|
1752
|
-
(
|
|
1753
|
-
// NOTE: The current way the side nav is being used it causes the
|
|
1754
|
-
// component to sometimes get placed in the wrong location initially. It
|
|
1755
|
-
// is fast enough to not be noticed without an initial animation usually,
|
|
1756
|
-
// so it is commented out below until the initial placement issue it
|
|
1757
|
-
// fixed.
|
|
1758
|
-
//
|
|
1759
|
-
// (
|
|
1760
|
-
// fromState === 'void' && EXPAND_STATES.indexOf(toState) !== -1
|
|
1761
|
-
// ||
|
|
1762
|
-
// toState === 'void' && EXPAND_STATES.indexOf(fromState) !== -1
|
|
1763
|
-
// )
|
|
1764
|
-
// ||
|
|
1765
|
-
((EXPANDED_STATES.indexOf(fromState) !== -1 && COLLAPSED_STATES.indexOf(toState) !== -1)
|
|
1766
|
-
||
|
|
1767
|
-
(EXPANDED_STATES.indexOf(toState) !== -1 && COLLAPSED_STATES.indexOf(fromState) !== -1)));
|
|
1768
|
-
}
|
|
1769
|
-
var SideNavComponent = /** @class */ (function () {
|
|
1770
|
-
function SideNavComponent(_viewContainerRef, _layout, _sideNav, _baseLayoutRef) {
|
|
1771
|
-
var _this = this;
|
|
1772
|
-
this._viewContainerRef = _viewContainerRef;
|
|
1773
|
-
this._layout = _layout;
|
|
1774
|
-
this._sideNav = _sideNav;
|
|
1775
|
-
this._baseLayoutRef = _baseLayoutRef;
|
|
1776
|
-
this._ngUnsubscribe = new rxjs.Subject();
|
|
1777
|
-
// @HostBinding('@sideNavExpand') _sideNavExpand = EXPANDED_STATE
|
|
1778
|
-
// _sideNavExpand = EXPANDED_STATE
|
|
1779
|
-
// @HostBinding('@sideNavAnim') _sideNavExpand = EXPANDED_STATE
|
|
1780
|
-
this._sideNavExpand = 'initial';
|
|
1781
|
-
this.hasHeaderToggle = true;
|
|
1782
|
-
this._items = new rxjs.BehaviorSubject([]);
|
|
1783
|
-
this._expanded = new rxjs.BehaviorSubject(true);
|
|
1784
|
-
this.expanded$ = this._expanded.asObservable();
|
|
1785
|
-
this._overlay = new rxjs.BehaviorSubject(false);
|
|
1786
|
-
this.overlay$ = this._overlay.asObservable();
|
|
1787
|
-
this.toggleExpand = new i0.EventEmitter();
|
|
1788
|
-
this._backdropHidden = new rxjs.BehaviorSubject(true);
|
|
1789
|
-
this.items$ = this._items.asObservable().pipe(operators.switchMap(function (items) { return _this._sideNav.createItemsObservable(items); }), operators.shareReplay({ bufferSize: 1, refCount: true }));
|
|
1790
|
-
this.isMobile$ = this._layout.isMobile$.pipe(operators.tap(function (isMobile) { return isMobile ? _this.collapse() : _this.expand(); }));
|
|
1791
|
-
this.sideNavExpandedState$ = rxjs.combineLatest([this.expanded$, this.overlay$]).pipe(operators.map(function (_a) {
|
|
1792
|
-
var _b = __read(_a, 2), expanded = _b[0], overlay = _b[1];
|
|
1793
|
-
return expanded
|
|
1794
|
-
? overlay ? EXPANDED_OVERLAY_STATE : EXPANDED_STATE$1
|
|
1795
|
-
: overlay ? COLLAPSED_OVERLAY_STATE : COLLAPSED_STATE$1;
|
|
1796
|
-
}), operators.distinctUntilChanged());
|
|
1797
|
-
}
|
|
1798
|
-
Object.defineProperty(SideNavComponent.prototype, "items", {
|
|
1799
|
-
get: function () { return this._items.value; },
|
|
1800
|
-
set: function (value) { this._items.next(value); },
|
|
1801
|
-
enumerable: false,
|
|
1802
|
-
configurable: true
|
|
1803
|
-
});
|
|
1804
|
-
Object.defineProperty(SideNavComponent.prototype, "expanded", {
|
|
1805
|
-
get: function () { return this._expanded.value; },
|
|
1806
|
-
set: function (value) {
|
|
1807
|
-
var expanded = coercion.coerceBooleanProperty(value);
|
|
1808
|
-
var emit = expanded !== this.expanded;
|
|
1809
|
-
this._expanded.next(expanded);
|
|
1810
|
-
if (emit) {
|
|
1811
|
-
this.toggleExpand.emit(coercion.coerceBooleanProperty(value));
|
|
1812
|
-
}
|
|
1813
|
-
},
|
|
1814
|
-
enumerable: false,
|
|
1815
|
-
configurable: true
|
|
1816
|
-
});
|
|
1817
|
-
Object.defineProperty(SideNavComponent.prototype, "overlay", {
|
|
1818
|
-
get: function () { return this._overlay.value; },
|
|
1819
|
-
set: function (value) { this._overlay.next(coercion.coerceBooleanProperty(value)); },
|
|
1820
|
-
enumerable: false,
|
|
1821
|
-
configurable: true
|
|
1822
|
-
});
|
|
1823
|
-
SideNavComponent.prototype.ngOnInit = function () {
|
|
1824
|
-
var _this = this;
|
|
1825
|
-
if (this._baseLayoutRef) {
|
|
1826
|
-
this._baseLayoutRef.registerNav(this);
|
|
1827
|
-
}
|
|
1828
|
-
this.isMobile$
|
|
1829
|
-
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
1830
|
-
.subscribe(function (b) { return _this.overlay = b; });
|
|
1831
|
-
this.sideNavExpandedState$
|
|
1832
|
-
.pipe(operators.takeUntil(this._ngUnsubscribe))
|
|
1833
|
-
.subscribe(function (v) { return _this._sideNavExpand = v; });
|
|
1834
|
-
if (this._sideBarFooterTpl) {
|
|
1835
|
-
this._sideBarFooterPortal = new portal.TemplatePortal(this._sideBarFooterTpl, this._viewContainerRef);
|
|
1836
|
-
}
|
|
1837
|
-
};
|
|
1838
|
-
SideNavComponent.prototype.ngOnDestroy = function () {
|
|
1839
|
-
this._ngUnsubscribe.next();
|
|
1840
|
-
this._ngUnsubscribe.complete();
|
|
1841
|
-
if (this._baseLayoutRef) {
|
|
1842
|
-
this._baseLayoutRef.unregisterNav(this);
|
|
1843
|
-
}
|
|
1844
|
-
};
|
|
1845
|
-
SideNavComponent.prototype.expand = function () {
|
|
1846
|
-
this.expanded = true;
|
|
1847
|
-
};
|
|
1848
|
-
SideNavComponent.prototype.collapse = function () {
|
|
1849
|
-
this.expanded = false;
|
|
1850
|
-
};
|
|
1851
|
-
SideNavComponent.prototype.toggle = function () {
|
|
1852
|
-
this.expanded = !this.expanded;
|
|
1853
|
-
};
|
|
1854
|
-
SideNavComponent.prototype.animateStart = function () {
|
|
1855
|
-
if (this.expanded) {
|
|
1856
|
-
this._backdropHidden.next(false);
|
|
1857
|
-
}
|
|
1858
|
-
};
|
|
1859
|
-
SideNavComponent.prototype.animateEnd = function () {
|
|
1860
|
-
if (!this.expanded) {
|
|
1861
|
-
this._backdropHidden.next(true);
|
|
1862
|
-
}
|
|
1863
|
-
};
|
|
1864
|
-
return SideNavComponent;
|
|
1865
|
-
}());
|
|
1866
|
-
SideNavComponent.decorators = [
|
|
1867
|
-
{ type: i0.Component, args: [{
|
|
1868
|
-
selector: 'seam-side-nav',
|
|
1869
|
-
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",
|
|
1870
|
-
providers: [
|
|
1871
|
-
TheSeamSideNavService
|
|
1872
|
-
],
|
|
1873
|
-
animations: [
|
|
1874
|
-
//
|
|
1875
|
-
// TODO: This animation code turned into a mess. Clean it up and make it
|
|
1876
|
-
// more smooth.
|
|
1877
|
-
//
|
|
1878
|
-
animations.trigger('sideNavAnim', [
|
|
1879
|
-
animations.transition(sideNavExpandStateChangeFn, [
|
|
1880
|
-
animations.group([
|
|
1881
|
-
animations.query('@sideNavBackdrop', animations.animateChild(), { optional: true }),
|
|
1882
|
-
animations.query('@sideNavExpand', animations.animateChild(), { optional: true }),
|
|
1883
|
-
]),
|
|
1884
|
-
]),
|
|
1885
|
-
]),
|
|
1886
|
-
animations.trigger('sideNavBackdrop', [
|
|
1887
|
-
animations.state(EXPANDED_OVERLAY_STATE, animations.style({ opacity: '1' })),
|
|
1888
|
-
animations.state(COLLAPSED_OVERLAY_STATE, animations.style({ opacity: '0' })),
|
|
1889
|
-
// transition((fromState, toState, element, params) => {
|
|
1890
|
-
// console.log('sideNavBackdrop v', fromState, toState, element, params)
|
|
1891
|
-
// return false
|
|
1892
|
-
// }, []),
|
|
1893
|
-
animations.transition(sideNavExpandStateChangeFn, animations.animate('0.2s ease-in-out')),
|
|
1894
|
-
]),
|
|
1895
|
-
animations.trigger('sideNavExpand', [
|
|
1896
|
-
// TODO: Make width configurable.
|
|
1897
|
-
animations.state(EXPANDED_STATE$1, animations.style({ width: '260px' })),
|
|
1898
|
-
animations.state(COLLAPSED_STATE$1, animations.style({ width: '50px', 'overflow-x': 'hidden' })),
|
|
1899
|
-
animations.state(EXPANDED_OVERLAY_STATE, animations.style({
|
|
1900
|
-
position: 'absolute',
|
|
1901
|
-
top: 0,
|
|
1902
|
-
height: '100%',
|
|
1903
|
-
bottom: 0,
|
|
1904
|
-
left: 0,
|
|
1905
|
-
float: 'left',
|
|
1906
|
-
zIndex: '9999',
|
|
1907
|
-
width: 'calc(100vw - 50px)',
|
|
1908
|
-
transform: 'translateX(0)'
|
|
1909
|
-
})),
|
|
1910
|
-
animations.state(COLLAPSED_OVERLAY_STATE, animations.style({
|
|
1911
|
-
position: 'absolute',
|
|
1912
|
-
top: 0,
|
|
1913
|
-
height: '100%',
|
|
1914
|
-
bottom: 0,
|
|
1915
|
-
left: 0,
|
|
1916
|
-
float: 'left',
|
|
1917
|
-
zIndex: '9999',
|
|
1918
|
-
width: 'calc(100vw - 50px)',
|
|
1919
|
-
transform: 'translateX(calc(-100vw + 50px))',
|
|
1920
|
-
'overflow-x': 'hidden'
|
|
1921
|
-
})),
|
|
1922
|
-
// transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, animate('0.2s ease-in-out')),
|
|
1923
|
-
animations.transition(sideNavExpandStateChangeFn, animations.animate('0.2s ease-in-out')),
|
|
1924
|
-
// transition(`${EXPANDED_STATE} <=> ${COLLAPSED_STATE}`, [
|
|
1925
|
-
// // query(':leave', animateChild(), { optional: true }),
|
|
1926
|
-
// // query(':enter', animateChild(), { optional: true }),
|
|
1927
|
-
// group([
|
|
1928
|
-
// query(':leave', animateChild(), { optional: true }),
|
|
1929
|
-
// query(':enter', animateChild(), { optional: true }),
|
|
1930
|
-
// query('@compactAnim', animateChild(), { optional: true }),
|
|
1931
|
-
// animate('5.2s ease-in-out')
|
|
1932
|
-
// ])
|
|
1933
|
-
// ]),
|
|
1934
|
-
])
|
|
1935
|
-
],
|
|
1936
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
1937
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
1938
|
-
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"]
|
|
1939
|
-
},] }
|
|
1940
|
-
];
|
|
1941
|
-
SideNavComponent.ctorParameters = function () { return [
|
|
1942
|
-
{ type: i0.ViewContainerRef },
|
|
1943
|
-
{ type: layout.TheSeamLayoutService },
|
|
1944
|
-
{ type: TheSeamSideNavService },
|
|
1945
|
-
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [THESEAM_BASE_LAYOUT_REF,] }] }
|
|
1946
|
-
]; };
|
|
1947
|
-
SideNavComponent.propDecorators = {
|
|
1948
|
-
_sideNavExpand: [{ type: i0.HostBinding, args: ['@sideNavAnim',] }],
|
|
1949
|
-
hasHeaderToggle: [{ type: i0.Input }],
|
|
1950
|
-
items: [{ type: i0.Input }],
|
|
1951
|
-
expanded: [{ type: i0.Input }],
|
|
1952
|
-
overlay: [{ type: i0.Input }],
|
|
1953
|
-
toggleExpand: [{ type: i0.Output }],
|
|
1954
|
-
_sideBarFooterTpl: [{ type: i0.ContentChild, args: [BaseLayoutSideBarFooterDirective, { static: true, read: i0.TemplateRef },] }]
|
|
1955
|
-
};
|
|
1956
|
-
__decorate([
|
|
1957
|
-
core.InputBoolean()
|
|
1958
|
-
], SideNavComponent.prototype, "hasHeaderToggle", void 0);
|
|
1959
|
-
|
|
1960
|
-
var EXPANDED_STATE = 'expanded';
|
|
1961
|
-
var COLLAPSED_STATE = 'collapsed';
|
|
1962
|
-
var FULL_STATE = 'full';
|
|
1963
|
-
var COMPACT_STATE = 'compact';
|
|
1964
|
-
var SideNavItemComponent = /** @class */ (function () {
|
|
1965
|
-
function SideNavItemComponent(_sideNav, _parent) {
|
|
1966
|
-
this._sideNav = _sideNav;
|
|
1967
|
-
this._parent = _parent;
|
|
1968
|
-
this._ngUnsubscribe = new rxjs.Subject();
|
|
1969
|
-
this.faAngleLeft = freeSolidSvgIcons.faAngleLeft;
|
|
1970
|
-
this.active = false;
|
|
1971
|
-
this._link = new rxjs.BehaviorSubject(undefined);
|
|
1972
|
-
this.link$ = this._link.asObservable();
|
|
1973
|
-
this.hierLevel = 0;
|
|
1974
|
-
this.indentSize = 10;
|
|
1975
|
-
this._expanded = new rxjs.BehaviorSubject(false);
|
|
1976
|
-
this.expanded$ = this._expanded.asObservable();
|
|
1977
|
-
this._compact = new rxjs.BehaviorSubject(false);
|
|
1978
|
-
this.compact$ = this._compact.asObservable();
|
|
1979
|
-
this.badgeTheme = 'danger';
|
|
1980
|
-
this.childGroupAnimState$ = this.expanded$
|
|
1981
|
-
.pipe(operators.map(function (expanded) { return expanded ? EXPANDED_STATE : COLLAPSED_STATE; }));
|
|
1982
|
-
this.compactAnimState$ = this.compact$
|
|
1983
|
-
.pipe(operators.map(function (compact) { return compact ? COMPACT_STATE : FULL_STATE; }));
|
|
1984
|
-
}
|
|
1985
|
-
Object.defineProperty(SideNavItemComponent.prototype, "link", {
|
|
1986
|
-
get: function () { return this._link.value; },
|
|
1987
|
-
set: function (value) { this._link.next(value); },
|
|
1988
|
-
enumerable: false,
|
|
1989
|
-
configurable: true
|
|
1990
|
-
});
|
|
1991
|
-
Object.defineProperty(SideNavItemComponent.prototype, "expanded", {
|
|
1992
|
-
get: function () { return this._expanded.value; },
|
|
1993
|
-
set: function (value) { this._expanded.next(coercion.coerceBooleanProperty(value)); },
|
|
1994
|
-
enumerable: false,
|
|
1995
|
-
configurable: true
|
|
1996
|
-
});
|
|
1997
|
-
Object.defineProperty(SideNavItemComponent.prototype, "compact", {
|
|
1998
|
-
get: function () { return this._compact.value; },
|
|
1999
|
-
set: function (value) { this._compact.next(coercion.coerceBooleanProperty(value)); },
|
|
2000
|
-
enumerable: false,
|
|
2001
|
-
configurable: true
|
|
2002
|
-
});
|
|
2003
|
-
Object.defineProperty(SideNavItemComponent.prototype, "badgeTooltip", {
|
|
2004
|
-
get: function () { return this._badgeTooltip; },
|
|
2005
|
-
set: function (value) {
|
|
2006
|
-
if (value !== null && value !== undefined) {
|
|
2007
|
-
if (typeof value === 'string') {
|
|
2008
|
-
this._badgeTooltip = {
|
|
2009
|
-
tooltip: value,
|
|
2010
|
-
placement: 'auto',
|
|
2011
|
-
disabled: false
|
|
2012
|
-
};
|
|
2013
|
-
}
|
|
2014
|
-
else {
|
|
2015
|
-
this._badgeTooltip = Object.assign(Object.assign({}, value), { placement: value.placement || 'auto', disabled: typeof (value === null || value === void 0 ? void 0 : value.disabled) === 'boolean'
|
|
2016
|
-
? value.disabled
|
|
2017
|
-
: typeof value.tooltip === 'string' ? false : true });
|
|
2018
|
-
}
|
|
2019
|
-
}
|
|
2020
|
-
else {
|
|
2021
|
-
this._badgeTooltip = undefined;
|
|
2022
|
-
}
|
|
2023
|
-
},
|
|
2024
|
-
enumerable: false,
|
|
2025
|
-
configurable: true
|
|
2026
|
-
});
|
|
2027
|
-
Object.defineProperty(SideNavItemComponent.prototype, "_isActiveCssClass", {
|
|
2028
|
-
get: function () { return this.active; },
|
|
2029
|
-
enumerable: false,
|
|
2030
|
-
configurable: true
|
|
2031
|
-
});
|
|
2032
|
-
Object.defineProperty(SideNavItemComponent.prototype, "_attrDataHierLevel", {
|
|
2033
|
-
get: function () { return this.hierLevel; },
|
|
2034
|
-
enumerable: false,
|
|
2035
|
-
configurable: true
|
|
2036
|
-
});
|
|
2037
|
-
SideNavItemComponent.prototype.ngOnDestroy = function () {
|
|
2038
|
-
this._ngUnsubscribe.next();
|
|
2039
|
-
this._ngUnsubscribe.complete();
|
|
2040
|
-
};
|
|
2041
|
-
Object.defineProperty(SideNavItemComponent.prototype, "hasChildren", {
|
|
2042
|
-
get: function () {
|
|
2043
|
-
return Array.isArray(this.children) && this.children.length > 0;
|
|
2044
|
-
},
|
|
2045
|
-
enumerable: false,
|
|
2046
|
-
configurable: true
|
|
2047
|
-
});
|
|
2048
|
-
SideNavItemComponent.prototype.toggleChildren = function () {
|
|
2049
|
-
this.expanded = !this.expanded;
|
|
2050
|
-
};
|
|
2051
|
-
SideNavItemComponent.prototype._linkClicked = function () {
|
|
2052
|
-
// Close nav when link is clicked while in overlay state
|
|
2053
|
-
if (this._sideNav.overlay) {
|
|
2054
|
-
this._sideNav.collapse();
|
|
2055
|
-
}
|
|
2056
|
-
};
|
|
2057
|
-
return SideNavItemComponent;
|
|
2058
|
-
}());
|
|
2059
|
-
SideNavItemComponent.decorators = [
|
|
2060
|
-
{ type: i0.Component, args: [{
|
|
2061
|
-
selector: 'seam-side-nav-item',
|
|
2062
|
-
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",
|
|
2063
|
-
exportAs: 'seamSideNavItem',
|
|
2064
|
-
animations: [
|
|
2065
|
-
animations.trigger('childGroupAnim', [
|
|
2066
|
-
animations.state(EXPANDED_STATE, animations.style({ height: '*' })),
|
|
2067
|
-
animations.state(COLLAPSED_STATE, animations.style({ height: 0, 'overflow-y': 'hidden', visibility: 'hidden' })),
|
|
2068
|
-
animations.transition(EXPANDED_STATE + " <=> " + COLLAPSED_STATE, animations.animate('0.2s ease-in-out')),
|
|
2069
|
-
]),
|
|
2070
|
-
animations.trigger('compactAnim', [
|
|
2071
|
-
// transition('* <=> *', [
|
|
2072
|
-
// query(':enter', [
|
|
2073
|
-
// style({ opacity: '0' }),
|
|
2074
|
-
// animate('5.2s ease-in-out', style({ opacity: '1' }))
|
|
2075
|
-
// ], { optional: true }),
|
|
2076
|
-
// query(':leave', [
|
|
2077
|
-
// style({ opacity: '1' }),
|
|
2078
|
-
// animate('5.2s ease-in-out', style({ opacity: '0' }))
|
|
2079
|
-
// ], { optional: true })
|
|
2080
|
-
// ])
|
|
2081
|
-
// state(FULL_STATE, style({ opacity: '1' })),
|
|
2082
|
-
// state(COMPACT_STATE, style({ opacity: '0' })),
|
|
2083
|
-
// transition(`${FULL_STATE} <=> ${COMPACT_STATE}`, animate('5.2s ease-in-out')),
|
|
2084
|
-
// transition(`${FULL_STATE} <=> ${COMPACT_STATE}`, [
|
|
2085
|
-
// transition('* <=> *', [
|
|
2086
|
-
// query(':leave', [
|
|
2087
|
-
// style({ opacity: '1' }),
|
|
2088
|
-
// animate('5.2s ease-in-out', style({ opacity: '0' }))
|
|
2089
|
-
// ], { optional: true })
|
|
2090
|
-
// ]),
|
|
2091
|
-
])
|
|
2092
|
-
],
|
|
2093
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2094
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
2095
|
-
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"]
|
|
2096
|
-
},] }
|
|
2097
|
-
];
|
|
2098
|
-
SideNavItemComponent.ctorParameters = function () { return [
|
|
2099
|
-
{ type: SideNavComponent },
|
|
2100
|
-
{ type: SideNavItemComponent, decorators: [{ type: i0.Optional }, { type: i0.SkipSelf }, { type: i0.Host }] }
|
|
2101
|
-
]; };
|
|
2102
|
-
SideNavItemComponent.propDecorators = {
|
|
2103
|
-
itemType: [{ type: i0.Input }],
|
|
2104
|
-
icon: [{ type: i0.Input }],
|
|
2105
|
-
label: [{ type: i0.Input }],
|
|
2106
|
-
active: [{ type: i0.Input }],
|
|
2107
|
-
link: [{ type: i0.Input }],
|
|
2108
|
-
queryParams: [{ type: i0.Input }],
|
|
2109
|
-
children: [{ type: i0.Input }],
|
|
2110
|
-
hierLevel: [{ type: i0.Input }],
|
|
2111
|
-
indentSize: [{ type: i0.Input }],
|
|
2112
|
-
expanded: [{ type: i0.Input }],
|
|
2113
|
-
compact: [{ type: i0.Input }],
|
|
2114
|
-
badgeText: [{ type: i0.Input }],
|
|
2115
|
-
badgeTheme: [{ type: i0.Input }],
|
|
2116
|
-
badgeSrContent: [{ type: i0.Input }],
|
|
2117
|
-
badgeTooltip: [{ type: i0.Input }],
|
|
2118
|
-
_isActiveCssClass: [{ type: i0.HostBinding, args: ['class.seam-side-nav-item--active',] }],
|
|
2119
|
-
_attrDataHierLevel: [{ type: i0.HostBinding, args: ['attr.data-hier-level',] }]
|
|
2120
|
-
};
|
|
2121
|
-
__decorate([
|
|
2122
|
-
core.InputBoolean()
|
|
2123
|
-
], SideNavItemComponent.prototype, "active", void 0);
|
|
2124
|
-
__decorate([
|
|
2125
|
-
core.InputNumber(0)
|
|
2126
|
-
], SideNavItemComponent.prototype, "hierLevel", void 0);
|
|
2127
|
-
__decorate([
|
|
2128
|
-
core.InputNumber(10)
|
|
2129
|
-
], SideNavItemComponent.prototype, "indentSize", void 0);
|
|
2130
|
-
|
|
2131
|
-
var SideNavToggleComponent = /** @class */ (function () {
|
|
2132
|
-
function SideNavToggleComponent() {
|
|
2133
|
-
this.faBars = freeSolidSvgIcons.faBars;
|
|
2134
|
-
this.expanded = false;
|
|
2135
|
-
this.toggleExpand = new i0.EventEmitter();
|
|
2136
|
-
}
|
|
2137
|
-
SideNavToggleComponent.prototype.ngOnInit = function () { };
|
|
2138
|
-
SideNavToggleComponent.prototype.toggle = function () {
|
|
2139
|
-
this.toggleExpand.emit();
|
|
2140
|
-
};
|
|
2141
|
-
return SideNavToggleComponent;
|
|
2142
|
-
}());
|
|
2143
|
-
SideNavToggleComponent.decorators = [
|
|
2144
|
-
{ type: i0.Component, args: [{
|
|
2145
|
-
selector: 'seam-side-nav-toggle',
|
|
2146
|
-
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",
|
|
2147
|
-
host: {
|
|
2148
|
-
'[class.side-nav-toggle--compact]': '!expanded'
|
|
2149
|
-
},
|
|
2150
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2151
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
2152
|
-
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"]
|
|
2153
|
-
},] }
|
|
2154
|
-
];
|
|
2155
|
-
SideNavToggleComponent.ctorParameters = function () { return []; };
|
|
2156
|
-
SideNavToggleComponent.propDecorators = {
|
|
2157
|
-
expanded: [{ type: i0.Input }],
|
|
2158
|
-
toggleExpand: [{ type: i0.Output }]
|
|
2159
|
-
};
|
|
2160
|
-
__decorate([
|
|
2161
|
-
core.InputBoolean()
|
|
2162
|
-
], SideNavToggleComponent.prototype, "expanded", void 0);
|
|
2163
|
-
|
|
2164
|
-
var TheSeamSideNavModule = /** @class */ (function () {
|
|
2165
|
-
function TheSeamSideNavModule() {
|
|
2166
|
-
}
|
|
2167
|
-
return TheSeamSideNavModule;
|
|
2168
|
-
}());
|
|
2169
|
-
TheSeamSideNavModule.decorators = [
|
|
2170
|
-
{ type: i0.NgModule, args: [{
|
|
2171
|
-
declarations: [
|
|
2172
|
-
SideNavItemComponent,
|
|
2173
|
-
SideNavComponent,
|
|
2174
|
-
SideNavToggleComponent
|
|
2175
|
-
],
|
|
2176
|
-
imports: [
|
|
2177
|
-
common.CommonModule,
|
|
2178
|
-
router.RouterModule,
|
|
2179
|
-
icon.TheSeamIconModule,
|
|
2180
|
-
a11y.A11yModule,
|
|
2181
|
-
scrollbar.TheSeamScrollbarModule,
|
|
2182
|
-
layout.TheSeamLayoutModule,
|
|
2183
|
-
ngBootstrap.NgbTooltipModule,
|
|
2184
|
-
portal.PortalModule
|
|
2185
|
-
],
|
|
2186
|
-
exports: [
|
|
2187
|
-
SideNavItemComponent,
|
|
2188
|
-
SideNavComponent,
|
|
2189
|
-
SideNavToggleComponent
|
|
2190
|
-
]
|
|
2191
|
-
},] }
|
|
2192
|
-
];
|
|
2193
|
-
|
|
2194
|
-
var TopBarMenuButtonBase = /** @class */ (function () {
|
|
2195
|
-
function TopBarMenuButtonBase() {
|
|
2196
|
-
}
|
|
2197
|
-
return TopBarMenuButtonBase;
|
|
2198
|
-
}());
|
|
2199
|
-
var _TopBarMenuButtonMixinBase = core.mixinDisabled(TopBarMenuButtonBase);
|
|
2200
|
-
var TopBarMenuButtonComponent = /** @class */ (function (_super) {
|
|
2201
|
-
__extends(TopBarMenuButtonComponent, _super);
|
|
2202
|
-
function TopBarMenuButtonComponent() {
|
|
2203
|
-
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
2204
|
-
_this.faAngleDown = freeSolidSvgIcons.faAngleDown;
|
|
2205
|
-
_this.compact = false;
|
|
2206
|
-
return _this;
|
|
2207
|
-
}
|
|
2208
|
-
Object.defineProperty(TopBarMenuButtonComponent.prototype, "_hasCompactClass", {
|
|
2209
|
-
get: function () { return this.compact; },
|
|
2210
|
-
enumerable: false,
|
|
2211
|
-
configurable: true
|
|
2212
|
-
});
|
|
2213
|
-
Object.defineProperty(TopBarMenuButtonComponent.prototype, "_hasPadding0Class", {
|
|
2214
|
-
get: function () { return this.compact; },
|
|
2215
|
-
enumerable: false,
|
|
2216
|
-
configurable: true
|
|
2217
|
-
});
|
|
2218
|
-
Object.defineProperty(TopBarMenuButtonComponent.prototype, "_hasRoundedClass", {
|
|
2219
|
-
get: function () { return this.compact; },
|
|
2220
|
-
enumerable: false,
|
|
2221
|
-
configurable: true
|
|
2222
|
-
});
|
|
2223
|
-
Object.defineProperty(TopBarMenuButtonComponent.prototype, "_hasBtnLinkClass", {
|
|
2224
|
-
get: function () { return !this.compact; },
|
|
2225
|
-
enumerable: false,
|
|
2226
|
-
configurable: true
|
|
2227
|
-
});
|
|
2228
|
-
TopBarMenuButtonComponent.prototype.ngOnInit = function () { };
|
|
2229
|
-
TopBarMenuButtonComponent.prototype.ngOnDestroy = function () { };
|
|
2230
|
-
return TopBarMenuButtonComponent;
|
|
2231
|
-
}(_TopBarMenuButtonMixinBase));
|
|
2232
|
-
TopBarMenuButtonComponent.decorators = [
|
|
2233
|
-
{ type: i0.Component, args: [{
|
|
2234
|
-
// tslint:disable-next-line:component-selector
|
|
2235
|
-
selector: 'button[seamTopBarMenuButton]',
|
|
2236
|
-
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",
|
|
2237
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
2238
|
-
exportAs: 'seamButton',
|
|
2239
|
-
// tslint:disable-next-line:use-input-property-decorator
|
|
2240
|
-
inputs: ['disabled'],
|
|
2241
|
-
// tslint:disable-next-line:use-host-property-decorator
|
|
2242
|
-
host: {
|
|
2243
|
-
'attr.type': 'button',
|
|
2244
|
-
'class': 'btn border text-decoration-none py-0',
|
|
2245
|
-
'[attr.aria-disabled]': 'disabled.toString()',
|
|
2246
|
-
'[attr.disabled]': 'disabled || null',
|
|
2247
|
-
},
|
|
2248
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2249
|
-
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"]
|
|
2250
|
-
},] }
|
|
2251
|
-
];
|
|
2252
|
-
TopBarMenuButtonComponent.propDecorators = {
|
|
2253
|
-
detailTpl: [{ type: i0.Input }],
|
|
2254
|
-
compact: [{ type: i0.Input }],
|
|
2255
|
-
profileIcon: [{ type: i0.Input }],
|
|
2256
|
-
_hasCompactClass: [{ type: i0.HostBinding, args: ['class.top-bar-menu-button--compact',] }],
|
|
2257
|
-
_hasPadding0Class: [{ type: i0.HostBinding, args: ['class.p-0',] }],
|
|
2258
|
-
_hasRoundedClass: [{ type: i0.HostBinding, args: ['class.rounded',] }],
|
|
2259
|
-
_hasBtnLinkClass: [{ type: i0.HostBinding, args: ['class.btn-link',] }]
|
|
2260
|
-
};
|
|
2261
|
-
__decorate([
|
|
2262
|
-
core.InputBoolean()
|
|
2263
|
-
], TopBarMenuButtonComponent.prototype, "compact", void 0);
|
|
2264
|
-
|
|
2265
|
-
var TopBarTitleComponent = /** @class */ (function () {
|
|
2266
|
-
function TopBarTitleComponent() {
|
|
2267
|
-
}
|
|
2268
|
-
TopBarTitleComponent.prototype.ngOnInit = function () { };
|
|
2269
|
-
return TopBarTitleComponent;
|
|
2270
|
-
}());
|
|
2271
|
-
TopBarTitleComponent.decorators = [
|
|
2272
|
-
{ type: i0.Component, args: [{
|
|
2273
|
-
selector: 'seam-top-bar-title',
|
|
2274
|
-
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",
|
|
2275
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
2276
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2277
|
-
styles: ["seam-top-bar-title{flex:1 1 auto;display:flex;flex-direction:row;align-items:center}\n"]
|
|
2278
|
-
},] }
|
|
2279
|
-
];
|
|
2280
|
-
TopBarTitleComponent.ctorParameters = function () { return []; };
|
|
2281
|
-
TopBarTitleComponent.propDecorators = {
|
|
2282
|
-
titleText: [{ type: i0.Input }],
|
|
2283
|
-
subTitleText: [{ type: i0.Input }]
|
|
2284
|
-
};
|
|
2285
|
-
|
|
2286
|
-
var TopBarItemDirective = /** @class */ (function () {
|
|
2287
|
-
function TopBarItemDirective(template) {
|
|
2288
|
-
this.template = template;
|
|
2289
|
-
}
|
|
2290
|
-
return TopBarItemDirective;
|
|
2291
|
-
}());
|
|
2292
|
-
TopBarItemDirective.decorators = [
|
|
2293
|
-
{ type: i0.Directive, args: [{
|
|
2294
|
-
selector: '[seamTopBarItem]'
|
|
2295
|
-
},] }
|
|
2296
|
-
];
|
|
2297
|
-
TopBarItemDirective.ctorParameters = function () { return [
|
|
2298
|
-
{ type: i0.TemplateRef }
|
|
2299
|
-
]; };
|
|
2300
|
-
|
|
2301
|
-
var TopBarMenuBtnDetailDirective = /** @class */ (function () {
|
|
2302
|
-
function TopBarMenuBtnDetailDirective(template) {
|
|
2303
|
-
this.template = template;
|
|
2304
|
-
}
|
|
2305
|
-
return TopBarMenuBtnDetailDirective;
|
|
2306
|
-
}());
|
|
2307
|
-
TopBarMenuBtnDetailDirective.decorators = [
|
|
2308
|
-
{ type: i0.Directive, args: [{
|
|
2309
|
-
selector: '[seamTopBarMenuBtnDetail]'
|
|
2310
|
-
},] }
|
|
2311
|
-
];
|
|
2312
|
-
TopBarMenuBtnDetailDirective.ctorParameters = function () { return [
|
|
2313
|
-
{ type: i0.TemplateRef }
|
|
2314
|
-
]; };
|
|
2315
|
-
|
|
2316
|
-
var TopBarMenuDirective = /** @class */ (function () {
|
|
2317
|
-
function TopBarMenuDirective(menu) {
|
|
2318
|
-
this.menu = menu;
|
|
2319
|
-
}
|
|
2320
|
-
return TopBarMenuDirective;
|
|
2321
|
-
}());
|
|
2322
|
-
TopBarMenuDirective.decorators = [
|
|
2323
|
-
{ type: i0.Directive, args: [{
|
|
2324
|
-
selector: 'seam-menu[seamTopBarMenu]'
|
|
2325
|
-
},] }
|
|
2326
|
-
];
|
|
2327
|
-
TopBarMenuDirective.ctorParameters = function () { return [
|
|
2328
|
-
{ type: menu.MenuComponent, decorators: [{ type: i0.Self }] }
|
|
2329
|
-
]; };
|
|
2330
|
-
|
|
2331
|
-
/**
|
|
2332
|
-
* Top bar of an app.
|
|
2333
|
-
*
|
|
2334
|
-
* The top bar is fairly opinionated, so most parts are not intended to be
|
|
2335
|
-
* customized unless there is an input.
|
|
2336
|
-
*
|
|
2337
|
-
* > If you have to make a change and apply it externally with a css class or js
|
|
2338
|
-
* > make sure there is an issue to get the feature changed, so we don't have
|
|
2339
|
-
* > different modifications across our apps. Also, this will help make sure
|
|
2340
|
-
* > your change should have even been done.
|
|
2341
|
-
*/
|
|
2342
|
-
var TheSeamTopBarComponent = /** @class */ (function () {
|
|
2343
|
-
function TheSeamTopBarComponent(_layout) {
|
|
2344
|
-
this._layout = _layout;
|
|
2345
|
-
/** @ignore */
|
|
2346
|
-
this._ngUnsubscribe = new rxjs.Subject();
|
|
2347
|
-
/** @ignore */
|
|
2348
|
-
this.faBars = freeSolidSvgIcons.faBars;
|
|
2349
|
-
/** Link target used when `logoHref` is specified. Defaults to `"_blank"` */
|
|
2350
|
-
this.logoHrefTarget = '_blank';
|
|
2351
|
-
/** Route to link to when `logo` is clicked. Defaults to `/`. */
|
|
2352
|
-
this.logoRoute = '/';
|
|
2353
|
-
/** Determines if the title should be displayed. */
|
|
2354
|
-
this.hasTitle = false;
|
|
2355
|
-
/** Icon to display on mobile to activate profile dropdown. Defaults to faUserCircle. */
|
|
2356
|
-
this.profileIcon = freeRegularSvgIcons.faUserCircle;
|
|
2357
|
-
this.isMobile$ = this._layout.isMobile$;
|
|
2358
|
-
}
|
|
2359
|
-
/** @ignore */
|
|
2360
|
-
TheSeamTopBarComponent.prototype.ngOnInit = function () { };
|
|
2361
|
-
/** @ignore */
|
|
2362
|
-
TheSeamTopBarComponent.prototype.ngOnDestroy = function () {
|
|
2363
|
-
this._ngUnsubscribe.next();
|
|
2364
|
-
this._ngUnsubscribe.complete();
|
|
2365
|
-
};
|
|
2366
|
-
/** @ignore */
|
|
2367
|
-
TheSeamTopBarComponent.prototype.ngAfterContentInit = function () {
|
|
2368
|
-
var _this = this;
|
|
2369
|
-
if (this._topBarItems) {
|
|
2370
|
-
this._items$ = this._topBarItems.changes.pipe(operators.startWith(undefined), operators.takeUntil(this._ngUnsubscribe), operators.map(function () { var _a; return ((_a = _this._topBarItems) === null || _a === void 0 ? void 0 : _a.toArray()) || []; }), operators.shareReplay({ bufferSize: 1, refCount: true }));
|
|
2371
|
-
}
|
|
2372
|
-
};
|
|
2373
|
-
return TheSeamTopBarComponent;
|
|
2374
|
-
}());
|
|
2375
|
-
TheSeamTopBarComponent.decorators = [
|
|
2376
|
-
{ type: i0.Component, args: [{
|
|
2377
|
-
selector: 'seam-top-bar',
|
|
2378
|
-
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",
|
|
2379
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
2380
|
-
exportAs: 'seamTopBar',
|
|
2381
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2382
|
-
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"]
|
|
2383
|
-
},] }
|
|
2384
|
-
];
|
|
2385
|
-
TheSeamTopBarComponent.ctorParameters = function () { return [
|
|
2386
|
-
{ type: layout.TheSeamLayoutService }
|
|
2387
|
-
]; };
|
|
2388
|
-
TheSeamTopBarComponent.propDecorators = {
|
|
2389
|
-
_topBarMenu: [{ type: i0.ContentChild, args: [TopBarMenuDirective, { static: true },] }],
|
|
2390
|
-
_topBarItems: [{ type: i0.ContentChildren, args: [TopBarItemDirective,] }],
|
|
2391
|
-
_topBarMenuBtnDetailTpl: [{ type: i0.ContentChild, args: [TopBarMenuBtnDetailDirective,] }],
|
|
2392
|
-
logo: [{ type: i0.Input }],
|
|
2393
|
-
logoSm: [{ type: i0.Input }],
|
|
2394
|
-
logoHref: [{ type: i0.Input }],
|
|
2395
|
-
logoHrefTarget: [{ type: i0.Input }],
|
|
2396
|
-
logoRoute: [{ type: i0.Input }],
|
|
2397
|
-
hasTitle: [{ type: i0.Input }],
|
|
2398
|
-
titleText: [{ type: i0.Input }],
|
|
2399
|
-
subTitleText: [{ type: i0.Input }],
|
|
2400
|
-
profileIcon: [{ type: i0.Input }]
|
|
2401
|
-
};
|
|
2402
|
-
__decorate([
|
|
2403
|
-
core.InputBoolean()
|
|
2404
|
-
], TheSeamTopBarComponent.prototype, "hasTitle", void 0);
|
|
2405
|
-
|
|
2406
|
-
var TheSeamTopBarModule = /** @class */ (function () {
|
|
2407
|
-
function TheSeamTopBarModule() {
|
|
2408
|
-
}
|
|
2409
|
-
return TheSeamTopBarModule;
|
|
2410
|
-
}());
|
|
2411
|
-
TheSeamTopBarModule.decorators = [
|
|
2412
|
-
{ type: i0.NgModule, args: [{
|
|
2413
|
-
declarations: [
|
|
2414
|
-
TheSeamTopBarComponent,
|
|
2415
|
-
TopBarTitleComponent,
|
|
2416
|
-
TopBarMenuButtonComponent,
|
|
2417
|
-
TopBarMenuDirective,
|
|
2418
|
-
TopBarItemDirective,
|
|
2419
|
-
TopBarMenuBtnDetailDirective
|
|
2420
|
-
],
|
|
2421
|
-
imports: [
|
|
2422
|
-
common.CommonModule,
|
|
2423
|
-
layout.TheSeamLayoutModule,
|
|
2424
|
-
buttons.TheSeamButtonsModule,
|
|
2425
|
-
icon.TheSeamIconModule,
|
|
2426
|
-
menu.TheSeamMenuModule,
|
|
2427
|
-
TheSeamBaseLayoutModule,
|
|
2428
|
-
router.RouterModule
|
|
2429
|
-
],
|
|
2430
|
-
exports: [
|
|
2431
|
-
TheSeamTopBarComponent,
|
|
2432
|
-
TopBarMenuButtonComponent,
|
|
2433
|
-
TopBarMenuDirective,
|
|
2434
|
-
menu.TheSeamMenuModule,
|
|
2435
|
-
TopBarItemDirective,
|
|
2436
|
-
TopBarMenuBtnDetailDirective
|
|
2437
|
-
]
|
|
2438
|
-
},] }
|
|
2439
|
-
];
|
|
2440
|
-
|
|
2441
|
-
var fader = animations.trigger('routeAnimations', [
|
|
2442
|
-
animations.transition('* <=> *', [
|
|
2443
|
-
// Set a default style for enter and leave
|
|
2444
|
-
animations.query(':enter, :leave', [
|
|
2445
|
-
animations.style({
|
|
2446
|
-
position: 'absolute',
|
|
2447
|
-
left: 0,
|
|
2448
|
-
width: '100%',
|
|
2449
|
-
opacity: 0,
|
|
2450
|
-
transform: 'scale(0) translateY(100%)',
|
|
2451
|
-
}),
|
|
2452
|
-
], { optional: true }),
|
|
2453
|
-
// Animate the new page in
|
|
2454
|
-
animations.query(':enter', [
|
|
2455
|
-
animations.animate('600ms ease', animations.style({ opacity: 1, transform: 'scale(1) translateY(0)' })),
|
|
2456
|
-
], { optional: true })
|
|
2457
|
-
]),
|
|
2458
|
-
]);
|
|
2459
|
-
// function slideTo(direction) {
|
|
2460
|
-
// return [
|
|
2461
|
-
// query(':enter, :leave', [
|
|
2462
|
-
// style({
|
|
2463
|
-
// position: 'absolute',
|
|
2464
|
-
// top: 0,
|
|
2465
|
-
// [direction]: 0,
|
|
2466
|
-
// width: '100%'
|
|
2467
|
-
// })
|
|
2468
|
-
// ], { optional: true }),
|
|
2469
|
-
// query(':enter', [
|
|
2470
|
-
// style({ [direction]: '-100%'})
|
|
2471
|
-
// ], { optional: true }),
|
|
2472
|
-
// group([
|
|
2473
|
-
// query(':leave', [
|
|
2474
|
-
// animate('1000ms ease', style({ [direction]: '100%'}))
|
|
2475
|
-
// ], { optional: true }),
|
|
2476
|
-
// query(':enter', [
|
|
2477
|
-
// animate('1000ms ease', style({ [direction]: '0%'}))
|
|
2478
|
-
// ], { optional: true })
|
|
2479
|
-
// ]),
|
|
2480
|
-
// // Normalize the page style... Might not be necessary
|
|
2481
|
-
// // Required only if you have child animations on the page
|
|
2482
|
-
// query(':leave', animateChild(), { optional: true }),
|
|
2483
|
-
// query(':enter', animateChild(), { optional: true }),
|
|
2484
|
-
// ]
|
|
2485
|
-
// }
|
|
2486
|
-
// TODO: Refactor the slider animation, because AOT or ng-packagr, I haven't
|
|
2487
|
-
// looked into what exactly is preventing it, doesn't allow the function call.
|
|
2488
|
-
// export const slider =
|
|
2489
|
-
// trigger('routeAnimations', [
|
|
2490
|
-
// transition('* => isLeft', slideTo('left') ),
|
|
2491
|
-
// transition('* => isRight', slideTo('right') ),
|
|
2492
|
-
// transition('isRight => *', slideTo('left') ),
|
|
2493
|
-
// transition('isLeft => *', slideTo('right') )
|
|
2494
|
-
// ])
|
|
2495
|
-
// export const contentLeave =
|
|
2496
|
-
// trigger('contentLeave', [
|
|
2497
|
-
// transition(':leave', [
|
|
2498
|
-
// ])
|
|
2499
|
-
// ])
|
|
2500
|
-
var slider = animations.trigger('routeAnimations', [
|
|
2501
|
-
animations.transition('* => isLeft', [
|
|
2502
|
-
animations.query('.router-container :enter, .router-container :leave', [
|
|
2503
|
-
animations.style({
|
|
2504
|
-
position: 'absolute',
|
|
2505
|
-
top: 0,
|
|
2506
|
-
left: 0,
|
|
2507
|
-
width: '100%'
|
|
2508
|
-
})
|
|
2509
|
-
], { optional: true }),
|
|
2510
|
-
animations.query('.router-container :enter', [
|
|
2511
|
-
animations.style({ left: '-100%' })
|
|
2512
|
-
], { optional: true }),
|
|
2513
|
-
animations.query('.hierarchy-router-outlet--content', [
|
|
2514
|
-
animations.style({ left: '0%', position: 'absolute' })
|
|
2515
|
-
], { optional: true }),
|
|
2516
|
-
animations.group([
|
|
2517
|
-
animations.query('.router-container :leave', [
|
|
2518
|
-
animations.animate('1000ms ease', animations.style({ left: '100%' }))
|
|
2519
|
-
], { optional: true }),
|
|
2520
|
-
animations.query('.router-container :enter', [
|
|
2521
|
-
animations.animate('1000ms ease', animations.style({ left: '0%' }))
|
|
2522
|
-
], { optional: true }),
|
|
2523
|
-
animations.query('.hierarchy-router-outlet--content', [
|
|
2524
|
-
animations.animate('1000ms ease', animations.style({ left: '-100%' }))
|
|
2525
|
-
], { optional: true }),
|
|
2526
|
-
]),
|
|
2527
|
-
// Normalize the page style... Might not be necessary
|
|
2528
|
-
// Required only if you have child animations on the page
|
|
2529
|
-
animations.query('.router-container :leave', animations.animateChild(), { optional: true }),
|
|
2530
|
-
animations.query('.router-container :enter', animations.animateChild(), { optional: true }),
|
|
2531
|
-
]),
|
|
2532
|
-
animations.transition('* => isRight', [
|
|
2533
|
-
animations.query('.router-container :enter, .router-container :leave', [
|
|
2534
|
-
animations.style({
|
|
2535
|
-
position: 'absolute',
|
|
2536
|
-
top: 0,
|
|
2537
|
-
right: 0,
|
|
2538
|
-
width: '100%'
|
|
2539
|
-
})
|
|
2540
|
-
], { optional: true }),
|
|
2541
|
-
animations.query('.router-container :enter', [
|
|
2542
|
-
animations.style({ right: '-100%' })
|
|
2543
|
-
], { optional: true }),
|
|
2544
|
-
animations.query('.hierarchy-router-outlet--content', [
|
|
2545
|
-
animations.style({ left: '0%', position: 'absolute' })
|
|
2546
|
-
], { optional: true }),
|
|
2547
|
-
animations.group([
|
|
2548
|
-
animations.query('.router-container :leave', [
|
|
2549
|
-
animations.animate('1000ms ease', animations.style({ right: '100%' }))
|
|
2550
|
-
], { optional: true }),
|
|
2551
|
-
animations.query('.router-container :enter', [
|
|
2552
|
-
animations.animate('1000ms ease', animations.style({ right: '0%' }))
|
|
2553
|
-
], { optional: true }),
|
|
2554
|
-
animations.query('.hierarchy-router-outlet--content', [
|
|
2555
|
-
animations.animate('1000ms ease', animations.style({ left: '-100%' }))
|
|
2556
|
-
], { optional: true }),
|
|
2557
|
-
]),
|
|
2558
|
-
// Normalize the page style... Might not be necessary
|
|
2559
|
-
// Required only if you have child animations on the page
|
|
2560
|
-
animations.query('.router-container :leave', animations.animateChild(), { optional: true }),
|
|
2561
|
-
animations.query('.router-container :enter', animations.animateChild(), { optional: true }),
|
|
2562
|
-
]),
|
|
2563
|
-
animations.transition('isRight => *', [
|
|
2564
|
-
animations.query('.router-container :enter, .router-container :leave', [
|
|
2565
|
-
animations.style({
|
|
2566
|
-
position: 'absolute',
|
|
2567
|
-
top: 0,
|
|
2568
|
-
left: 0,
|
|
2569
|
-
width: '100%'
|
|
2570
|
-
})
|
|
2571
|
-
], { optional: true }),
|
|
2572
|
-
animations.query('.router-container :enter', [
|
|
2573
|
-
animations.style({ left: '-100%' })
|
|
2574
|
-
], { optional: true }),
|
|
2575
|
-
animations.query('.hierarchy-router-outlet--content', [
|
|
2576
|
-
animations.style({ left: '0%', position: 'absolute' })
|
|
2577
|
-
], { optional: true }),
|
|
2578
|
-
animations.group([
|
|
2579
|
-
animations.query('.router-container :leave', [
|
|
2580
|
-
animations.animate('1000ms ease', animations.style({ left: '100%' }))
|
|
2581
|
-
], { optional: true }),
|
|
2582
|
-
animations.query('.router-container :enter', [
|
|
2583
|
-
animations.animate('1000ms ease', animations.style({ left: '0%' }))
|
|
2584
|
-
], { optional: true }),
|
|
2585
|
-
animations.query('.hierarchy-router-outlet--content', [
|
|
2586
|
-
animations.animate('1000ms ease', animations.style({ left: '-100%' }))
|
|
2587
|
-
], { optional: true }),
|
|
2588
|
-
]),
|
|
2589
|
-
// Normalize the page style... Might not be necessary
|
|
2590
|
-
// Required only if you have child animations on the page
|
|
2591
|
-
animations.query('.router-container :leave', animations.animateChild(), { optional: true }),
|
|
2592
|
-
animations.query('.router-container :enter', animations.animateChild(), { optional: true }),
|
|
2593
|
-
]),
|
|
2594
|
-
animations.transition('isLeft => *', [
|
|
2595
|
-
animations.query('.router-container :enter, .router-container :leave', [
|
|
2596
|
-
animations.style({
|
|
2597
|
-
position: 'absolute',
|
|
2598
|
-
top: 0,
|
|
2599
|
-
right: 0,
|
|
2600
|
-
width: '100%'
|
|
2601
|
-
})
|
|
2602
|
-
], { optional: true }),
|
|
2603
|
-
animations.query('.router-container :enter', [
|
|
2604
|
-
animations.style({ right: '-100%' })
|
|
2605
|
-
], { optional: true }),
|
|
2606
|
-
animations.group([
|
|
2607
|
-
animations.query('.router-container :leave', [
|
|
2608
|
-
animations.animate('1000ms ease', animations.style({ right: '100%' }))
|
|
2609
|
-
], { optional: true }),
|
|
2610
|
-
animations.query('.router-container :enter', [
|
|
2611
|
-
animations.animate('1000ms ease', animations.style({ right: '0%' }))
|
|
2612
|
-
], { optional: true })
|
|
2613
|
-
]),
|
|
2614
|
-
// Normalize the page style... Might not be necessary
|
|
2615
|
-
// Required only if you have child animations on the page
|
|
2616
|
-
animations.query('.router-container :leave', animations.animateChild(), { optional: true }),
|
|
2617
|
-
animations.query('.router-container :enter', animations.animateChild(), { optional: true }),
|
|
2618
|
-
])
|
|
2619
|
-
]);
|
|
2620
|
-
var transformer = animations.trigger('routeAnimations', [
|
|
2621
|
-
animations.transition('* => isLeft', transformTo({ x: -100, y: -100, rotate: -720 })),
|
|
2622
|
-
animations.transition('* => isRight', transformTo({ x: 100, y: -100, rotate: 90 })),
|
|
2623
|
-
animations.transition('isRight => *', transformTo({ x: -100, y: -100, rotate: 360 })),
|
|
2624
|
-
animations.transition('isLeft => *', transformTo({ x: 100, y: -100, rotate: -360 }))
|
|
2625
|
-
]);
|
|
2626
|
-
function transformTo(_a) {
|
|
2627
|
-
var _b = _a.x, x = _b === void 0 ? 100 : _b, _c = _a.y, y = _c === void 0 ? 0 : _c, _d = _a.rotate, rotate = _d === void 0 ? 0 : _d;
|
|
2628
|
-
var optional = { optional: true };
|
|
2629
|
-
return [
|
|
2630
|
-
animations.query(':enter, :leave', [
|
|
2631
|
-
animations.style({
|
|
2632
|
-
position: 'absolute',
|
|
2633
|
-
top: 0,
|
|
2634
|
-
left: 0,
|
|
2635
|
-
width: '100%'
|
|
2636
|
-
})
|
|
2637
|
-
], optional),
|
|
2638
|
-
animations.query(':enter', [
|
|
2639
|
-
animations.style({ transform: "translate(" + x + "%, " + y + "%) rotate(" + rotate + "deg)" })
|
|
2640
|
-
], { optional: true }),
|
|
2641
|
-
animations.group([
|
|
2642
|
-
animations.query(':leave', [
|
|
2643
|
-
animations.animate('600ms ease-out', animations.style({ transform: "translate(" + x + "%, " + y + "%) rotate(" + rotate + "deg)" }))
|
|
2644
|
-
], optional),
|
|
2645
|
-
animations.query(':enter', [
|
|
2646
|
-
animations.animate('600ms ease-out', animations.style({ transform: "translate(0, 0) rotate(0)" }))
|
|
2647
|
-
], { optional: true })
|
|
2648
|
-
]),
|
|
2649
|
-
];
|
|
2650
|
-
}
|
|
2651
|
-
var stepper = animations.trigger('routeAnimations', [
|
|
2652
|
-
animations.transition('* <=> *', [
|
|
2653
|
-
animations.query(':enter, :leave', [
|
|
2654
|
-
animations.style({
|
|
2655
|
-
position: 'absolute',
|
|
2656
|
-
left: 0,
|
|
2657
|
-
width: '100%',
|
|
2658
|
-
}),
|
|
2659
|
-
], { optional: true }),
|
|
2660
|
-
animations.group([
|
|
2661
|
-
animations.query(':enter', [
|
|
2662
|
-
animations.animate('2000ms ease', animations.keyframes([
|
|
2663
|
-
animations.style({ transform: 'scale(0) translateX(100%)', offset: 0 }),
|
|
2664
|
-
animations.style({ transform: 'scale(0.5) translateX(25%)', offset: 0.3 }),
|
|
2665
|
-
animations.style({ transform: 'scale(1) translateX(0%)', offset: 1 }),
|
|
2666
|
-
])),
|
|
2667
|
-
], { optional: true }),
|
|
2668
|
-
animations.query(':leave', [
|
|
2669
|
-
animations.animate('2000ms ease', animations.keyframes([
|
|
2670
|
-
animations.style({ transform: 'scale(1)', offset: 0 }),
|
|
2671
|
-
animations.style({ transform: 'scale(0.5) translateX(-25%) rotate(0)', offset: 0.35 }),
|
|
2672
|
-
animations.style({ opacity: 0, transform: 'translateX(-50%) rotate(-180deg) scale(6)', offset: 1 }),
|
|
2673
|
-
])),
|
|
2674
|
-
], { optional: true })
|
|
2675
|
-
]),
|
|
2676
|
-
])
|
|
2677
|
-
]);
|
|
2678
|
-
var sideToSide = animations.trigger('routeAnimations', [
|
|
2679
|
-
animations.transition('* => *', [
|
|
2680
|
-
animations.style({
|
|
2681
|
-
position: 'fixed',
|
|
2682
|
-
width: '100%',
|
|
2683
|
-
transform: 'translateX(-100%)'
|
|
2684
|
-
}),
|
|
2685
|
-
animations.animate('1000ms ease', animations.style({ transform: 'translateX(0%)' }))
|
|
2686
|
-
]),
|
|
2687
|
-
animations.transition(':leave', [
|
|
2688
|
-
animations.style({
|
|
2689
|
-
position: 'fixed',
|
|
2690
|
-
width: '100%',
|
|
2691
|
-
transform: 'translateX(0%)'
|
|
2692
|
-
}),
|
|
2693
|
-
animations.animate('1000ms ease', animations.style({ transform: 'translateX(-100%)' }))
|
|
2694
|
-
])
|
|
2695
|
-
]);
|
|
2696
|
-
|
|
2697
|
-
function routeChanges(router$1) {
|
|
2698
|
-
return router$1.events.pipe(operators.filter(function (event) { return event instanceof router.NavigationStart || event instanceof router.NavigationEnd; }), operators.distinctUntilChanged(function (x, y) { return x.id === y.id; }), operators.map(function (event) { return ({ url: event.url }); }));
|
|
2699
|
-
}
|
|
2700
|
-
//
|
|
2701
|
-
// TODO: Animation improvement: Try adding a full component animation that
|
|
2702
|
-
// queries the <ng-content> and <router-outlet> blocks. When the outlet
|
|
2703
|
-
// activates, set the animation state to a transition that moves both blocks
|
|
2704
|
-
// together.
|
|
2705
|
-
//
|
|
2706
|
-
var _uid = 0;
|
|
2707
|
-
var HierarchyRouterOutletComponent = /** @class */ (function () {
|
|
2708
|
-
function HierarchyRouterOutletComponent(_route, _router) {
|
|
2709
|
-
this._route = _route;
|
|
2710
|
-
this._router = _router;
|
|
2711
|
-
this._uid = _uid++;
|
|
2712
|
-
this._ngUnsubscribe = new rxjs.Subject();
|
|
2713
|
-
this.animState = 'isRight';
|
|
2714
|
-
// animState = ''
|
|
2715
|
-
this.outletActive = false;
|
|
2716
|
-
this.ngContentVisible = true;
|
|
2717
|
-
this._router.events.pipe(operators.filter(function (event) { return event instanceof router.NavigationEnd; }),
|
|
2718
|
-
// tap(v => console.log(`_hasChildren()[${this._uid}]`, this._hasChildren())),
|
|
2719
|
-
operators.takeUntil(this._ngUnsubscribe))
|
|
2720
|
-
.subscribe();
|
|
2721
|
-
// routeChanges(this._router)
|
|
2722
|
-
// .pipe(
|
|
2723
|
-
// untilDestroyed(this),
|
|
2724
|
-
// tap(() => {
|
|
2725
|
-
// // if (this._hasChildren()) {
|
|
2726
|
-
// // this.animState = 'isLeft'
|
|
2727
|
-
// // } else {
|
|
2728
|
-
// // this.animState = 'isRight'
|
|
2729
|
-
// // }
|
|
2730
|
-
// })
|
|
2731
|
-
// )
|
|
2732
|
-
// .subscribe(v => console.log(`routeChanges[${this._uid}]`, v))
|
|
2733
|
-
}
|
|
2734
|
-
HierarchyRouterOutletComponent.prototype.ngOnInit = function () { };
|
|
2735
|
-
HierarchyRouterOutletComponent.prototype.ngOnDestroy = function () {
|
|
2736
|
-
this._ngUnsubscribe.next();
|
|
2737
|
-
this._ngUnsubscribe.complete();
|
|
2738
|
-
};
|
|
2739
|
-
HierarchyRouterOutletComponent.prototype._hasChildren = function () {
|
|
2740
|
-
var count = this._route.pathFromRoot.length - 1;
|
|
2741
|
-
var countFull = 0;
|
|
2742
|
-
if (this._router.parseUrl(this._router.url).root.children.primary) {
|
|
2743
|
-
countFull = this._router.parseUrl(this._router.url).root.children.primary.segments.length;
|
|
2744
|
-
}
|
|
2745
|
-
// console.log(`_hasChildren[${this._uid}]`, { count, countFull })
|
|
2746
|
-
return countFull > count;
|
|
2747
|
-
};
|
|
2748
|
-
HierarchyRouterOutletComponent.prototype.prepareRoute = function (outlet) {
|
|
2749
|
-
// console.log(`outlet[${this._uid}]`, outlet, this.animState, this._hasChildren(), this.outletActive)
|
|
2750
|
-
if (outlet.isActivated) {
|
|
2751
|
-
// console.log(outlet.isActivated)
|
|
2752
|
-
// console.log(outlet.component)
|
|
2753
|
-
console.log(this.animState);
|
|
2754
|
-
return this.animState;
|
|
2755
|
-
}
|
|
2756
|
-
else {
|
|
2757
|
-
return undefined;
|
|
2758
|
-
}
|
|
2759
|
-
// console.log(`prepareRoute[${this._uid}]`, this.animState, this._hasChildren())
|
|
2760
|
-
// console.log('activatedRouteData', outlet && outlet.activatedRouteData)
|
|
2761
|
-
// if (outlet && outlet.isActivated) {
|
|
2762
|
-
// console.log('activatedRoute', outlet.activatedRoute && outlet.activatedRoute.snapshot.url)
|
|
2763
|
-
// }
|
|
2764
|
-
// return outlet && outlet.activatedRouteData && outlet.activatedRouteData['animation']
|
|
2765
|
-
// console.log('')
|
|
2766
|
-
// return this.animState
|
|
2767
|
-
};
|
|
2768
|
-
HierarchyRouterOutletComponent.prototype.outletActivate = function (event) {
|
|
2769
|
-
// console.log(`outletActivate[${this._uid}]`, event)
|
|
2770
|
-
this.outletActive = true;
|
|
2771
|
-
};
|
|
2772
|
-
HierarchyRouterOutletComponent.prototype.outletDeactivate = function (event) {
|
|
2773
|
-
// console.log(`outletDeactivate[${this._uid}]`, event)
|
|
2774
|
-
this.outletActive = false;
|
|
2775
|
-
};
|
|
2776
|
-
HierarchyRouterOutletComponent.prototype.routeAnimationsStart = function (event) {
|
|
2777
|
-
// console.log('routeAnimationsStart', event)
|
|
2778
|
-
this.ngContentVisible = true;
|
|
2779
|
-
};
|
|
2780
|
-
HierarchyRouterOutletComponent.prototype.routeAnimationsDone = function (event) {
|
|
2781
|
-
// console.log('routeAnimationsDone', event)
|
|
2782
|
-
this.ngContentVisible = !this.outletActive;
|
|
2783
|
-
};
|
|
2784
|
-
return HierarchyRouterOutletComponent;
|
|
2785
|
-
}());
|
|
2786
|
-
HierarchyRouterOutletComponent.decorators = [
|
|
2787
|
-
{ type: i0.Component, args: [{
|
|
2788
|
-
selector: 'seam-hierarchy-router-outlet',
|
|
2789
|
-
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",
|
|
2790
|
-
animations: [
|
|
2791
|
-
// fader,
|
|
2792
|
-
slider,
|
|
2793
|
-
// transformer,
|
|
2794
|
-
// stepper,
|
|
2795
|
-
// sideToSide
|
|
2796
|
-
// contentLeave
|
|
2797
|
-
],
|
|
2798
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2799
|
-
styles: [":host{display:block;height:100%}:host ::ng-deep router-outlet+*{background-color:#fff;height:100%}\n"]
|
|
2800
|
-
},] }
|
|
2801
|
-
];
|
|
2802
|
-
HierarchyRouterOutletComponent.ctorParameters = function () { return [
|
|
2803
|
-
{ type: router.ActivatedRoute },
|
|
2804
|
-
{ type: router.Router }
|
|
2805
|
-
]; };
|
|
2806
|
-
|
|
2807
|
-
var HierarchyLevelResolver = /** @class */ (function () {
|
|
2808
|
-
function HierarchyLevelResolver() {
|
|
2809
|
-
}
|
|
2810
|
-
HierarchyLevelResolver.prototype.resolve = function (route, state) {
|
|
2811
|
-
// console.log('[HierarchyLevelResolver]', route)
|
|
2812
|
-
// console.log('[HierarchyLevelResolver]', state)
|
|
2813
|
-
return this._getMaxHierLevel(route);
|
|
2814
|
-
};
|
|
2815
|
-
HierarchyLevelResolver.prototype._getMaxHierLevel = function (route) {
|
|
2816
|
-
var curr = route;
|
|
2817
|
-
while (curr.parent) {
|
|
2818
|
-
curr = curr.parent;
|
|
2819
|
-
if (curr.data['hierLevel']) {
|
|
2820
|
-
return curr.data['hierLevel'] + 1;
|
|
2821
|
-
}
|
|
2822
|
-
}
|
|
2823
|
-
return 0;
|
|
2824
|
-
};
|
|
2825
|
-
return HierarchyLevelResolver;
|
|
2826
|
-
}());
|
|
2827
|
-
HierarchyLevelResolver.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function HierarchyLevelResolver_Factory() { return new HierarchyLevelResolver(); }, token: HierarchyLevelResolver, providedIn: "root" });
|
|
2828
|
-
HierarchyLevelResolver.decorators = [
|
|
2829
|
-
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
2830
|
-
];
|
|
2831
|
-
HierarchyLevelResolver.ctorParameters = function () { return []; };
|
|
2832
|
-
|
|
2833
|
-
var TheSeamDynamicRouterModule = /** @class */ (function () {
|
|
2834
|
-
function TheSeamDynamicRouterModule() {
|
|
2835
|
-
}
|
|
2836
|
-
return TheSeamDynamicRouterModule;
|
|
2837
|
-
}());
|
|
2838
|
-
TheSeamDynamicRouterModule.decorators = [
|
|
2839
|
-
{ type: i0.NgModule, args: [{
|
|
2840
|
-
declarations: [
|
|
2841
|
-
HierarchyRouterOutletComponent
|
|
2842
|
-
],
|
|
2843
|
-
imports: [
|
|
2844
|
-
common.CommonModule,
|
|
2845
|
-
router.RouterModule
|
|
2846
|
-
],
|
|
2847
|
-
exports: [
|
|
2848
|
-
HierarchyRouterOutletComponent
|
|
2849
|
-
]
|
|
2850
|
-
},] }
|
|
2851
|
-
];
|
|
2852
|
-
|
|
2853
|
-
var TheSeamSchemaFormCheckboxComponent = /** @class */ (function () {
|
|
2854
|
-
function TheSeamSchemaFormCheckboxComponent(jsf) {
|
|
2855
|
-
this.jsf = jsf;
|
|
2856
|
-
this.controlDisabled = false;
|
|
2857
|
-
this.boundControl = false;
|
|
2858
|
-
this.trueValue = true;
|
|
2859
|
-
this.falseValue = false;
|
|
2860
|
-
}
|
|
2861
|
-
TheSeamSchemaFormCheckboxComponent.prototype.ngOnInit = function () {
|
|
2862
|
-
this.options = this.layoutNode.options || {};
|
|
2863
|
-
this.jsf.initializeControl(this);
|
|
2864
|
-
if (this.controlValue === null || this.controlValue === undefined) {
|
|
2865
|
-
this.controlValue = this.options.title;
|
|
2866
|
-
}
|
|
2867
|
-
};
|
|
2868
|
-
TheSeamSchemaFormCheckboxComponent.prototype.updateValue = function (event) {
|
|
2869
|
-
event.preventDefault();
|
|
2870
|
-
this.jsf.updateValue(this, event.target.checked ? this.trueValue : this.falseValue);
|
|
2871
|
-
};
|
|
2872
|
-
Object.defineProperty(TheSeamSchemaFormCheckboxComponent.prototype, "isChecked", {
|
|
2873
|
-
get: function () {
|
|
2874
|
-
return this.jsf.getFormControlValue(this) === this.trueValue;
|
|
2875
|
-
},
|
|
2876
|
-
enumerable: false,
|
|
2877
|
-
configurable: true
|
|
2878
|
-
});
|
|
2879
|
-
return TheSeamSchemaFormCheckboxComponent;
|
|
2880
|
-
}());
|
|
2881
|
-
TheSeamSchemaFormCheckboxComponent.decorators = [
|
|
2882
|
-
{ type: i0.Component, args: [{
|
|
2883
|
-
selector: 'seam-schema-form-checkbox',
|
|
2884
|
-
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",
|
|
2885
|
-
styles: [""]
|
|
2886
|
-
},] }
|
|
2887
|
-
];
|
|
2888
|
-
TheSeamSchemaFormCheckboxComponent.ctorParameters = function () { return [
|
|
2889
|
-
{ type: core$1.JsonSchemaFormService }
|
|
2890
|
-
]; };
|
|
2891
|
-
TheSeamSchemaFormCheckboxComponent.propDecorators = {
|
|
2892
|
-
layoutNode: [{ type: i0.Input }],
|
|
2893
|
-
layoutIndex: [{ type: i0.Input }],
|
|
2894
|
-
dataIndex: [{ type: i0.Input }]
|
|
2895
|
-
};
|
|
2896
|
-
|
|
2897
|
-
var TheSeamSchemaFormInputComponent = /** @class */ (function () {
|
|
2898
|
-
function TheSeamSchemaFormInputComponent(jsf) {
|
|
2899
|
-
this.jsf = jsf;
|
|
2900
|
-
this.controlDisabled = false;
|
|
2901
|
-
this.boundControl = false;
|
|
2902
|
-
this.autoCompleteList = [];
|
|
2903
|
-
}
|
|
2904
|
-
TheSeamSchemaFormInputComponent.prototype.ngOnInit = function () {
|
|
2905
|
-
this.options = this.layoutNode.options || {};
|
|
2906
|
-
this.jsf.initializeControl(this);
|
|
2907
|
-
};
|
|
2908
|
-
TheSeamSchemaFormInputComponent.prototype.updateValue = function (event) {
|
|
2909
|
-
this.jsf.updateValue(this, event.target.value);
|
|
2910
|
-
};
|
|
2911
|
-
return TheSeamSchemaFormInputComponent;
|
|
2912
|
-
}());
|
|
2913
|
-
TheSeamSchemaFormInputComponent.decorators = [
|
|
2914
|
-
{ type: i0.Component, args: [{
|
|
2915
|
-
selector: 'seam-schema-form-input',
|
|
2916
|
-
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",
|
|
2917
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2918
|
-
styles: [":host{display:block}\n"]
|
|
2919
|
-
},] }
|
|
2920
|
-
];
|
|
2921
|
-
TheSeamSchemaFormInputComponent.ctorParameters = function () { return [
|
|
2922
|
-
{ type: core$1.JsonSchemaFormService }
|
|
2923
|
-
]; };
|
|
2924
|
-
TheSeamSchemaFormInputComponent.propDecorators = {
|
|
2925
|
-
layoutNode: [{ type: i0.Input }],
|
|
2926
|
-
layoutIndex: [{ type: i0.Input }],
|
|
2927
|
-
dataIndex: [{ type: i0.Input }]
|
|
2928
|
-
};
|
|
2929
|
-
|
|
2930
|
-
var TheSeamSchemaFormNumberComponent = /** @class */ (function () {
|
|
2931
|
-
function TheSeamSchemaFormNumberComponent(jsf) {
|
|
2932
|
-
this.jsf = jsf;
|
|
2933
|
-
this.controlDisabled = false;
|
|
2934
|
-
this.boundControl = false;
|
|
2935
|
-
this.allowNegative = true;
|
|
2936
|
-
this.allowDecimal = true;
|
|
2937
|
-
this.allowExponents = false;
|
|
2938
|
-
this.lastValidNumber = '';
|
|
2939
|
-
}
|
|
2940
|
-
TheSeamSchemaFormNumberComponent.prototype.ngOnInit = function () {
|
|
2941
|
-
this.options = this.layoutNode.options || {};
|
|
2942
|
-
this.jsf.initializeControl(this);
|
|
2943
|
-
if (this.layoutNode.dataType === 'integer') {
|
|
2944
|
-
this.allowDecimal = false;
|
|
2945
|
-
}
|
|
2946
|
-
};
|
|
2947
|
-
TheSeamSchemaFormNumberComponent.prototype.updateValue = function (event) {
|
|
2948
|
-
this.jsf.updateValue(this, event.target.value);
|
|
2949
|
-
};
|
|
2950
|
-
return TheSeamSchemaFormNumberComponent;
|
|
2951
|
-
}());
|
|
2952
|
-
TheSeamSchemaFormNumberComponent.decorators = [
|
|
2953
|
-
{ type: i0.Component, args: [{
|
|
2954
|
-
selector: 'seam-schema-form-number',
|
|
2955
|
-
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",
|
|
2956
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2957
|
-
styles: [":host{display:block}\n"]
|
|
2958
|
-
},] }
|
|
2959
|
-
];
|
|
2960
|
-
TheSeamSchemaFormNumberComponent.ctorParameters = function () { return [
|
|
2961
|
-
{ type: core$1.JsonSchemaFormService }
|
|
2962
|
-
]; };
|
|
2963
|
-
TheSeamSchemaFormNumberComponent.propDecorators = {
|
|
2964
|
-
layoutNode: [{ type: i0.Input }],
|
|
2965
|
-
layoutIndex: [{ type: i0.Input }],
|
|
2966
|
-
dataIndex: [{ type: i0.Input }]
|
|
2967
|
-
};
|
|
2968
|
-
|
|
2969
|
-
var TheSeamSchemaFormSelectComponent = /** @class */ (function () {
|
|
2970
|
-
function TheSeamSchemaFormSelectComponent(jsf) {
|
|
2971
|
-
this.jsf = jsf;
|
|
2972
|
-
this.controlDisabled = false;
|
|
2973
|
-
this.boundControl = false;
|
|
2974
|
-
this.selectList = [];
|
|
2975
|
-
this.isArray = core$1.isArray;
|
|
2976
|
-
}
|
|
2977
|
-
TheSeamSchemaFormSelectComponent.prototype.ngOnInit = function () {
|
|
2978
|
-
this.options = this.layoutNode.options || {};
|
|
2979
|
-
this.selectList = core$1.buildTitleMap(this.options.titleMap || this.options.enumNames, this.options.enum, !!this.options.required, !!this.options.flatList);
|
|
2980
|
-
this.jsf.initializeControl(this);
|
|
2981
|
-
};
|
|
2982
|
-
TheSeamSchemaFormSelectComponent.prototype.updateValue = function (event) {
|
|
2983
|
-
this.jsf.updateValue(this, event.value);
|
|
2984
|
-
};
|
|
2985
|
-
return TheSeamSchemaFormSelectComponent;
|
|
2986
|
-
}());
|
|
2987
|
-
TheSeamSchemaFormSelectComponent.decorators = [
|
|
2988
|
-
{ type: i0.Component, args: [{
|
|
2989
|
-
selector: 'seam-schema-form-select',
|
|
2990
|
-
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",
|
|
2991
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2992
|
-
styles: [":host{display:block}\n"]
|
|
2993
|
-
},] }
|
|
2994
|
-
];
|
|
2995
|
-
TheSeamSchemaFormSelectComponent.ctorParameters = function () { return [
|
|
2996
|
-
{ type: core$1.JsonSchemaFormService }
|
|
2997
|
-
]; };
|
|
2998
|
-
TheSeamSchemaFormSelectComponent.propDecorators = {
|
|
2999
|
-
layoutNode: [{ type: i0.Input }],
|
|
3000
|
-
layoutIndex: [{ type: i0.Input }],
|
|
3001
|
-
dataIndex: [{ type: i0.Input }]
|
|
3002
|
-
};
|
|
3003
|
-
|
|
3004
|
-
// NOTE: This component is a little hacky, because I am basically creating a
|
|
3005
|
-
// data widget that acts like a data and 'submit' widget at the same time.
|
|
3006
|
-
//
|
|
3007
|
-
// TODO: Try and think of a nicer way to implement this, but still make sense
|
|
3008
|
-
// from a schema definition. The library may need to me forked to actually
|
|
3009
|
-
// support this in the way I expect, but maybe there is another way.
|
|
3010
|
-
var TheSeamSchemaFormSubmitSplitComponent = /** @class */ (function () {
|
|
3011
|
-
function TheSeamSchemaFormSubmitSplitComponent(jsf) {
|
|
3012
|
-
this.jsf = jsf;
|
|
3013
|
-
/** @ignore */
|
|
3014
|
-
this._ngUnsubscribe = new rxjs.Subject();
|
|
3015
|
-
this.controlDisabled = false;
|
|
3016
|
-
this.boundControl = false;
|
|
3017
|
-
this._buttonLabel = '';
|
|
3018
|
-
this._dropdownDisabled = false;
|
|
3019
|
-
this._selectList = [];
|
|
3020
|
-
}
|
|
3021
|
-
/** @ignore */
|
|
3022
|
-
TheSeamSchemaFormSubmitSplitComponent.prototype.ngOnInit = function () {
|
|
3023
|
-
var _this = this;
|
|
3024
|
-
this.options = this.layoutNode.options || {};
|
|
3025
|
-
this.jsf.initializeControl(this);
|
|
3026
|
-
// NOTE: This is commented out, because there is a bug with submit widgets
|
|
3027
|
-
// manually defined in layout. All nodes initialized from the provided
|
|
3028
|
-
// layout have their options populated from the defaults and 'disabled' is
|
|
3029
|
-
// on of the default properties, so the 'disableInvalidSubmit' condition
|
|
3030
|
-
// never gets reached.
|
|
3031
|
-
//
|
|
3032
|
-
// My initial idea for fixing would be to check if the disabled property
|
|
3033
|
-
// exists and is a boolean, or possibly anything defined that can coerce
|
|
3034
|
-
// into a boolean. I can't think of a reason disabled should be anything
|
|
3035
|
-
// else, so that may be an acceptable fix, but I don't want to enable that
|
|
3036
|
-
// yet.
|
|
3037
|
-
//
|
|
3038
|
-
// if (hasOwn(this.options, 'disabled')) {
|
|
3039
|
-
// console.log('[TheSeamSchemaFormSubmitSplitComponent] hasDisabled', this.options.disabled)
|
|
3040
|
-
// this.controlDisabled = this.options.disabled
|
|
3041
|
-
// } else
|
|
3042
|
-
if (this.jsf.formOptions.disableInvalidSubmit) {
|
|
3043
|
-
this.controlDisabled = !this.jsf.isValid;
|
|
3044
|
-
this.jsf.isValidChanges.subscribe(function (isValid) { return _this.controlDisabled = !isValid; });
|
|
3045
|
-
}
|
|
3046
|
-
if (this.controlValue === null || this.controlValue === undefined) {
|
|
3047
|
-
this.controlValue = this.options.title;
|
|
3048
|
-
}
|
|
3049
|
-
if (core$1.hasOwn(this.options, 'title')) {
|
|
3050
|
-
this._buttonLabel = this.options.title;
|
|
3051
|
-
}
|
|
3052
|
-
this._initDropdown();
|
|
3053
|
-
// console.log('this', this)
|
|
3054
|
-
};
|
|
3055
|
-
/** @ignore */
|
|
3056
|
-
TheSeamSchemaFormSubmitSplitComponent.prototype.ngOnDestroy = function () {
|
|
3057
|
-
this._ngUnsubscribe.next();
|
|
3058
|
-
this._ngUnsubscribe.complete();
|
|
3059
|
-
};
|
|
3060
|
-
TheSeamSchemaFormSubmitSplitComponent.prototype.updateValue = function (event) {
|
|
3061
|
-
if (typeof this.options.onClick === 'function') {
|
|
3062
|
-
this.options.onClick(event);
|
|
3063
|
-
}
|
|
3064
|
-
else {
|
|
3065
|
-
this.jsf.updateValue(this, event.target.value);
|
|
3066
|
-
}
|
|
3067
|
-
};
|
|
3068
|
-
TheSeamSchemaFormSubmitSplitComponent.prototype._initDropdown = function () {
|
|
3069
|
-
var _this = this;
|
|
3070
|
-
var _a;
|
|
3071
|
-
if (!core$1.hasOwn(this.layoutNode, 'items') || !(this.layoutNode.items || []).length) {
|
|
3072
|
-
return;
|
|
3073
|
-
}
|
|
3074
|
-
if (i0.isDevMode()) {
|
|
3075
|
-
if (this.layoutNode.items.length > 1) {
|
|
3076
|
-
console.warn("TheSeamSchemaFormSubmitSplitComponent only supports one item." +
|
|
3077
|
-
" items after index 0 will be ignored.");
|
|
3078
|
-
}
|
|
3079
|
-
}
|
|
3080
|
-
var idx = 0;
|
|
3081
|
-
var item = this.layoutNode.items[idx];
|
|
3082
|
-
this._dropdownObj = {
|
|
3083
|
-
layoutNode: item,
|
|
3084
|
-
layoutIndex: (this.layoutIndex || []).concat(idx),
|
|
3085
|
-
dataIndex: ((_a = this.layoutNode) === null || _a === void 0 ? void 0 : _a.dataType) === 'array' ? (this.dataIndex || []).concat(idx) : this.dataIndex,
|
|
3086
|
-
options: item.options || {}
|
|
3087
|
-
};
|
|
3088
|
-
this.jsf.initializeControl(this._dropdownObj);
|
|
3089
|
-
var items = core$1.buildTitleMap(this._dropdownObj.options.titleMap || this._dropdownObj.options.enumNames, this._dropdownObj.options.enum, !!this._dropdownObj.options.required, !!this._dropdownObj.options.flatList);
|
|
3090
|
-
this._selectList = items;
|
|
3091
|
-
// TODO: Should this be checking if the control is bound?
|
|
3092
|
-
var dropdownControl = this._getDropdownControl();
|
|
3093
|
-
if (!dropdownControl) {
|
|
3094
|
-
return;
|
|
3095
|
-
}
|
|
3096
|
-
utils.observeControlValue(dropdownControl).pipe(operators.takeUntil(this._ngUnsubscribe)).subscribe(function (value) {
|
|
3097
|
-
_this._setSelectListCheckedProp(value);
|
|
3098
|
-
_this._selectedItem = _this._getSelectedItem();
|
|
3099
|
-
});
|
|
3100
|
-
utils.observeControlStatus(dropdownControl).pipe(operators.takeUntil(this._ngUnsubscribe)).subscribe(function (value) {
|
|
3101
|
-
_this._dropdownDisabled = dropdownControl.disabled;
|
|
3102
|
-
});
|
|
3103
|
-
};
|
|
3104
|
-
TheSeamSchemaFormSubmitSplitComponent.prototype._getDropdownControl = function () {
|
|
3105
|
-
return this._dropdownObj.formControl;
|
|
3106
|
-
};
|
|
3107
|
-
TheSeamSchemaFormSubmitSplitComponent.prototype._setSelectListCheckedProp = function (value) {
|
|
3108
|
-
var e_1, _b;
|
|
3109
|
-
var items = this._selectList;
|
|
3110
|
-
try {
|
|
3111
|
-
for (var items_1 = __values(items), items_1_1 = items_1.next(); !items_1_1.done; items_1_1 = items_1.next()) {
|
|
3112
|
-
var item = items_1_1.value;
|
|
3113
|
-
if (item.value === value) {
|
|
3114
|
-
item.checked = true;
|
|
3115
|
-
}
|
|
3116
|
-
else if (item.checked) {
|
|
3117
|
-
item.checked = false;
|
|
3118
|
-
}
|
|
3119
|
-
}
|
|
3120
|
-
}
|
|
3121
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3122
|
-
finally {
|
|
3123
|
-
try {
|
|
3124
|
-
if (items_1_1 && !items_1_1.done && (_b = items_1.return)) _b.call(items_1);
|
|
3125
|
-
}
|
|
3126
|
-
finally { if (e_1) throw e_1.error; }
|
|
3127
|
-
}
|
|
3128
|
-
this._selectList = __spreadArray([], __read(items));
|
|
3129
|
-
};
|
|
3130
|
-
TheSeamSchemaFormSubmitSplitComponent.prototype._getSelectedItem = function () {
|
|
3131
|
-
return (this._selectList || []).find(function (x) { return x.checked === true; });
|
|
3132
|
-
};
|
|
3133
|
-
TheSeamSchemaFormSubmitSplitComponent.prototype._setDropdownValue = function (value) {
|
|
3134
|
-
var formControl = this._getDropdownControl();
|
|
3135
|
-
formControl === null || formControl === void 0 ? void 0 : formControl.setValue(value);
|
|
3136
|
-
};
|
|
3137
|
-
return TheSeamSchemaFormSubmitSplitComponent;
|
|
3138
|
-
}());
|
|
3139
|
-
TheSeamSchemaFormSubmitSplitComponent.decorators = [
|
|
3140
|
-
{ type: i0.Component, args: [{
|
|
3141
|
-
selector: 'seam-schema-form-submit-split',
|
|
3142
|
-
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",
|
|
3143
|
-
styles: [":host{display:block}\n"]
|
|
3144
|
-
},] }
|
|
3145
|
-
];
|
|
3146
|
-
TheSeamSchemaFormSubmitSplitComponent.ctorParameters = function () { return [
|
|
3147
|
-
{ type: core$1.JsonSchemaFormService }
|
|
3148
|
-
]; };
|
|
3149
|
-
TheSeamSchemaFormSubmitSplitComponent.propDecorators = {
|
|
3150
|
-
layoutNode: [{ type: i0.Input }],
|
|
3151
|
-
layoutIndex: [{ type: i0.Input }],
|
|
3152
|
-
dataIndex: [{ type: i0.Input }]
|
|
3153
|
-
};
|
|
3154
|
-
|
|
3155
|
-
var TheSeamSchemaFormFrameworkComponent = /** @class */ (function () {
|
|
3156
|
-
function TheSeamSchemaFormFrameworkComponent() {
|
|
3157
|
-
}
|
|
3158
|
-
return TheSeamSchemaFormFrameworkComponent;
|
|
3159
|
-
}());
|
|
3160
|
-
TheSeamSchemaFormFrameworkComponent.decorators = [
|
|
3161
|
-
{ type: i0.Component, args: [{
|
|
3162
|
-
selector: 'seam-schema-form-framework',
|
|
3163
|
-
template: "<select-widget-widget\n [dataIndex]=\"$any(dataIndex)\"\n [layoutIndex]=\"$any(layoutIndex)\"\n [layoutNode]=\"layoutNode\">\n</select-widget-widget>\n",
|
|
3164
|
-
styles: [""]
|
|
3165
|
-
},] }
|
|
3166
|
-
];
|
|
3167
|
-
TheSeamSchemaFormFrameworkComponent.propDecorators = {
|
|
3168
|
-
layoutNode: [{ type: i0.Input }],
|
|
3169
|
-
layoutIndex: [{ type: i0.Input }],
|
|
3170
|
-
dataIndex: [{ type: i0.Input }]
|
|
3171
|
-
};
|
|
3172
|
-
|
|
3173
|
-
var TheSeamFramework = /** @class */ (function (_super) {
|
|
3174
|
-
__extends(TheSeamFramework, _super);
|
|
3175
|
-
function TheSeamFramework() {
|
|
3176
|
-
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
3177
|
-
_this.name = 'seam-framework';
|
|
3178
|
-
_this.framework = TheSeamSchemaFormFrameworkComponent;
|
|
3179
|
-
_this.widgets = {
|
|
3180
|
-
'checkbox': TheSeamSchemaFormCheckboxComponent,
|
|
3181
|
-
// 'submit': TheSeamSchemaFormSubmitComponent,
|
|
3182
|
-
'submit': TheSeamSchemaFormSubmitSplitComponent,
|
|
3183
|
-
'text': TheSeamSchemaFormInputComponent,
|
|
3184
|
-
'number': TheSeamSchemaFormNumberComponent,
|
|
3185
|
-
'select': TheSeamSchemaFormSelectComponent
|
|
3186
|
-
};
|
|
3187
|
-
return _this;
|
|
3188
|
-
}
|
|
3189
|
-
return TheSeamFramework;
|
|
3190
|
-
}(core$1.Framework));
|
|
3191
|
-
TheSeamFramework.decorators = [
|
|
3192
|
-
{ type: i0.Injectable }
|
|
3193
|
-
];
|
|
3194
|
-
|
|
3195
|
-
var TheSeamSchemaFormSubmitComponent = /** @class */ (function () {
|
|
3196
|
-
function TheSeamSchemaFormSubmitComponent(jsf) {
|
|
3197
|
-
this.jsf = jsf;
|
|
3198
|
-
this.controlDisabled = false;
|
|
3199
|
-
this.boundControl = false;
|
|
3200
|
-
}
|
|
3201
|
-
TheSeamSchemaFormSubmitComponent.prototype.ngOnInit = function () {
|
|
3202
|
-
var _this = this;
|
|
3203
|
-
this.options = this.layoutNode.options || {};
|
|
3204
|
-
this.jsf.initializeControl(this);
|
|
3205
|
-
if (core$1.hasOwn(this.options, 'disabled')) {
|
|
3206
|
-
this.controlDisabled = this.options.disabled;
|
|
3207
|
-
}
|
|
3208
|
-
else if (this.jsf.formOptions.disableInvalidSubmit) {
|
|
3209
|
-
this.controlDisabled = !this.jsf.isValid;
|
|
3210
|
-
this.jsf.isValidChanges.subscribe(function (isValid) { return _this.controlDisabled = !isValid; });
|
|
3211
|
-
}
|
|
3212
|
-
if (this.controlValue === null || this.controlValue === undefined) {
|
|
3213
|
-
this.controlValue = this.options.title;
|
|
3214
|
-
}
|
|
3215
|
-
};
|
|
3216
|
-
TheSeamSchemaFormSubmitComponent.prototype.updateValue = function (event) {
|
|
3217
|
-
if (typeof this.options.onClick === 'function') {
|
|
3218
|
-
this.options.onClick(event);
|
|
3219
|
-
}
|
|
3220
|
-
else {
|
|
3221
|
-
this.jsf.updateValue(this, event.target.value);
|
|
3222
|
-
}
|
|
3223
|
-
};
|
|
3224
|
-
return TheSeamSchemaFormSubmitComponent;
|
|
3225
|
-
}());
|
|
3226
|
-
TheSeamSchemaFormSubmitComponent.decorators = [
|
|
3227
|
-
{ type: i0.Component, args: [{
|
|
3228
|
-
selector: 'seam-schema-form-submit',
|
|
3229
|
-
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"
|
|
3230
|
-
},] }
|
|
3231
|
-
];
|
|
3232
|
-
TheSeamSchemaFormSubmitComponent.ctorParameters = function () { return [
|
|
3233
|
-
{ type: core$1.JsonSchemaFormService }
|
|
3234
|
-
]; };
|
|
3235
|
-
TheSeamSchemaFormSubmitComponent.propDecorators = {
|
|
3236
|
-
layoutNode: [{ type: i0.Input }],
|
|
3237
|
-
layoutIndex: [{ type: i0.Input }],
|
|
3238
|
-
dataIndex: [{ type: i0.Input }]
|
|
3239
|
-
};
|
|
3240
|
-
|
|
3241
|
-
var controls = [
|
|
3242
|
-
TheSeamSchemaFormCheckboxComponent,
|
|
3243
|
-
TheSeamSchemaFormSubmitComponent,
|
|
3244
|
-
TheSeamSchemaFormSelectComponent,
|
|
3245
|
-
TheSeamSchemaFormInputComponent,
|
|
3246
|
-
TheSeamSchemaFormNumberComponent,
|
|
3247
|
-
TheSeamSchemaFormSubmitSplitComponent
|
|
3248
|
-
];
|
|
3249
|
-
var TheSeamSchemaFormControlsModule = /** @class */ (function () {
|
|
3250
|
-
function TheSeamSchemaFormControlsModule() {
|
|
3251
|
-
}
|
|
3252
|
-
return TheSeamSchemaFormControlsModule;
|
|
3253
|
-
}());
|
|
3254
|
-
TheSeamSchemaFormControlsModule.decorators = [
|
|
3255
|
-
{ type: i0.NgModule, args: [{
|
|
3256
|
-
declarations: __spreadArray([], __read(controls)),
|
|
3257
|
-
imports: [
|
|
3258
|
-
common.CommonModule,
|
|
3259
|
-
forms.ReactiveFormsModule,
|
|
3260
|
-
core$1.JsonSchemaFormModule,
|
|
3261
|
-
formField.TheSeamFormFieldModule,
|
|
3262
|
-
checkbox.TheSeamCheckboxModule,
|
|
3263
|
-
menu.TheSeamMenuModule,
|
|
3264
|
-
buttons.TheSeamButtonsModule,
|
|
3265
|
-
ngSelect.NgSelectModule
|
|
3266
|
-
],
|
|
3267
|
-
exports: __spreadArray(__spreadArray([], __read(controls)), [
|
|
3268
|
-
core$1.JsonSchemaFormModule
|
|
3269
|
-
]),
|
|
3270
|
-
entryComponents: __spreadArray([], __read(controls))
|
|
3271
|
-
},] }
|
|
3272
|
-
];
|
|
3273
|
-
|
|
3274
|
-
var TheSeamSchemaFormModule = /** @class */ (function () {
|
|
3275
|
-
function TheSeamSchemaFormModule() {
|
|
3276
|
-
}
|
|
3277
|
-
return TheSeamSchemaFormModule;
|
|
3278
|
-
}());
|
|
3279
|
-
TheSeamSchemaFormModule.decorators = [
|
|
3280
|
-
{ type: i0.NgModule, args: [{
|
|
3281
|
-
declarations: [
|
|
3282
|
-
TheSeamSchemaFormFrameworkComponent
|
|
3283
|
-
],
|
|
3284
|
-
imports: [
|
|
3285
|
-
common.CommonModule,
|
|
3286
|
-
core$1.JsonSchemaFormModule,
|
|
3287
|
-
TheSeamSchemaFormControlsModule,
|
|
3288
|
-
core$1.WidgetLibraryModule,
|
|
3289
|
-
],
|
|
3290
|
-
providers: [
|
|
3291
|
-
core$1.JsonSchemaFormService,
|
|
3292
|
-
core$1.FrameworkLibraryService,
|
|
3293
|
-
core$1.WidgetLibraryService,
|
|
3294
|
-
{ provide: core$1.Framework, useClass: TheSeamFramework, multi: true }
|
|
3295
|
-
],
|
|
3296
|
-
exports: [
|
|
3297
|
-
TheSeamSchemaFormFrameworkComponent,
|
|
3298
|
-
core$1.JsonSchemaFormModule
|
|
3299
|
-
],
|
|
3300
|
-
entryComponents: [
|
|
3301
|
-
TheSeamSchemaFormFrameworkComponent
|
|
3302
|
-
]
|
|
3303
|
-
},] }
|
|
3304
|
-
];
|
|
3305
|
-
|
|
3306
|
-
/**
|
|
3307
|
-
* Generated bundle index. Do not edit.
|
|
3308
|
-
*/
|
|
3309
|
-
|
|
3310
|
-
exports.BaseLayoutContentDirective = BaseLayoutContentDirective;
|
|
3311
|
-
exports.BaseLayoutContentFooterDirective = BaseLayoutContentFooterDirective;
|
|
3312
|
-
exports.BaseLayoutContentHeaderDirective = BaseLayoutContentHeaderDirective;
|
|
3313
|
-
exports.BaseLayoutNavToggleDirective = BaseLayoutNavToggleDirective;
|
|
3314
|
-
exports.BaseLayoutSideBarDirective = BaseLayoutSideBarDirective;
|
|
3315
|
-
exports.BaseLayoutTopBarDirective = BaseLayoutTopBarDirective;
|
|
3316
|
-
exports.DashboardComponent = DashboardComponent;
|
|
3317
|
-
exports.DashboardWidgetContainerComponent = DashboardWidgetContainerComponent;
|
|
3318
|
-
exports.DashboardWidgetPortalOutletDirective = DashboardWidgetPortalOutletDirective;
|
|
3319
|
-
exports.DashboardWidgetTemplateContainerComponent = DashboardWidgetTemplateContainerComponent;
|
|
3320
|
-
exports.DashboardWidgetsComponent = DashboardWidgetsComponent;
|
|
3321
|
-
exports.DashboardWidgetsPreferencesService = DashboardWidgetsPreferencesService;
|
|
3322
|
-
exports.DashboardWidgetsService = DashboardWidgetsService;
|
|
3323
|
-
exports.HierarchyLevelResolver = HierarchyLevelResolver;
|
|
3324
|
-
exports.HierarchyRouterOutletComponent = HierarchyRouterOutletComponent;
|
|
3325
|
-
exports.SideNavComponent = SideNavComponent;
|
|
3326
|
-
exports.SideNavItemComponent = SideNavItemComponent;
|
|
3327
|
-
exports.SideNavToggleComponent = SideNavToggleComponent;
|
|
3328
|
-
exports.THESEAM_BASE_LAYOUT_REF = THESEAM_BASE_LAYOUT_REF;
|
|
3329
|
-
exports.THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR = THESEAM_DASHBOARD_WIDGETS_PREFERENCES_ACCESSOR;
|
|
3330
|
-
exports.THE_SEAM_BASE_LAYOUT = THE_SEAM_BASE_LAYOUT;
|
|
3331
|
-
exports.TheSeamBaseLayoutComponent = TheSeamBaseLayoutComponent;
|
|
3332
|
-
exports.TheSeamBaseLayoutModule = TheSeamBaseLayoutModule;
|
|
3333
|
-
exports.TheSeamDashboardModule = TheSeamDashboardModule;
|
|
3334
|
-
exports.TheSeamDynamicRouterModule = TheSeamDynamicRouterModule;
|
|
3335
|
-
exports.TheSeamFramework = TheSeamFramework;
|
|
3336
|
-
exports.TheSeamSchemaFormFrameworkComponent = TheSeamSchemaFormFrameworkComponent;
|
|
3337
|
-
exports.TheSeamSchemaFormModule = TheSeamSchemaFormModule;
|
|
3338
|
-
exports.TheSeamSideNavModule = TheSeamSideNavModule;
|
|
3339
|
-
exports.TheSeamTopBarComponent = TheSeamTopBarComponent;
|
|
3340
|
-
exports.TheSeamTopBarModule = TheSeamTopBarModule;
|
|
3341
|
-
exports.TopBarItemDirective = TopBarItemDirective;
|
|
3342
|
-
exports.TopBarMenuBtnDetailDirective = TopBarMenuBtnDetailDirective;
|
|
3343
|
-
exports.TopBarMenuButtonComponent = TopBarMenuButtonComponent;
|
|
3344
|
-
exports.TopBarMenuDirective = TopBarMenuDirective;
|
|
3345
|
-
exports.TopBarTitleComponent = TopBarTitleComponent;
|
|
3346
|
-
exports.canBeActive = canBeActive;
|
|
3347
|
-
exports.canExpand = canExpand;
|
|
3348
|
-
exports.canHaveChildren = canHaveChildren;
|
|
3349
|
-
exports.fader = fader;
|
|
3350
|
-
exports.findLinkItems = findLinkItems;
|
|
3351
|
-
exports.getItemStateProp = getItemStateProp;
|
|
3352
|
-
exports.hasActiveChild = hasActiveChild;
|
|
3353
|
-
exports.hasChildren = hasChildren;
|
|
3354
|
-
exports.hasExpandedChild = hasExpandedChild;
|
|
3355
|
-
exports.isExpanded = isExpanded;
|
|
3356
|
-
exports.isNavItemActive = isNavItemActive;
|
|
3357
|
-
exports.isNavItemType = isNavItemType;
|
|
3358
|
-
exports.routeChanges = routeChanges;
|
|
3359
|
-
exports.setDefaultState = setDefaultState;
|
|
3360
|
-
exports.setItemStateProp = setItemStateProp;
|
|
3361
|
-
exports.sideNavExpandStateChangeFn = sideNavExpandStateChangeFn;
|
|
3362
|
-
exports.sideToSide = sideToSide;
|
|
3363
|
-
exports.slider = slider;
|
|
3364
|
-
exports.stepper = stepper;
|
|
3365
|
-
exports.transformer = transformer;
|
|
3366
|
-
exports["ɵa"] = BaseLayoutSideBarFooterDirective;
|
|
3367
|
-
exports["ɵb"] = TheSeamSideNavService;
|
|
3368
|
-
exports["ɵc"] = TheSeamSchemaFormControlsModule;
|
|
3369
|
-
exports["ɵd"] = TheSeamSchemaFormCheckboxComponent;
|
|
3370
|
-
exports["ɵe"] = TheSeamSchemaFormSubmitComponent;
|
|
3371
|
-
exports["ɵf"] = TheSeamSchemaFormSelectComponent;
|
|
3372
|
-
exports["ɵg"] = TheSeamSchemaFormInputComponent;
|
|
3373
|
-
exports["ɵh"] = TheSeamSchemaFormNumberComponent;
|
|
3374
|
-
exports["ɵi"] = TheSeamSchemaFormSubmitSplitComponent;
|
|
3375
|
-
|
|
3376
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3377
|
-
|
|
3378
|
-
}));
|
|
3379
|
-
//# sourceMappingURL=theseam-ui-common-framework.umd.js.map
|