@theseam/ui-common 0.2.16 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/breadcrumbs/_breadcrumbs-theme.scss +3 -0
  2. package/breadcrumbs/breadcrumbs/breadcrumbs.component.scss +10 -0
  3. package/breadcrumbs/styles/_utilities.scss +3 -0
  4. package/breadcrumbs/styles/_variables.scss +1 -0
  5. package/breadcrumbs/theseam-ui-common-breadcrumbs.metadata.json +1 -1
  6. package/bundles/theseam-ui-common-breadcrumbs.umd.js +2 -1
  7. package/bundles/theseam-ui-common-breadcrumbs.umd.js.map +1 -1
  8. package/bundles/theseam-ui-common-datatable.umd.js.map +1 -1
  9. package/bundles/theseam-ui-common-framework.umd.js +18 -15
  10. package/bundles/theseam-ui-common-framework.umd.js.map +1 -1
  11. package/bundles/theseam-ui-common-scrollbar.umd.js +1 -1
  12. package/bundles/theseam-ui-common-scrollbar.umd.js.map +1 -1
  13. package/bundles/theseam-ui-common-table-cell-types.umd.js +89 -4
  14. package/bundles/theseam-ui-common-table-cell-types.umd.js.map +1 -1
  15. package/bundles/theseam-ui-common-tel-input.umd.js +59 -7
  16. package/bundles/theseam-ui-common-tel-input.umd.js.map +1 -1
  17. package/bundles/theseam-ui-common-testing.umd.js.map +1 -1
  18. package/bundles/theseam-ui-common-utils.umd.js.map +1 -1
  19. package/bundles/theseam-ui-common-viewers.umd.js +269 -4
  20. package/bundles/theseam-ui-common-viewers.umd.js.map +1 -1
  21. package/bundles/theseam-ui-common-widget.umd.js +1 -1
  22. package/esm2015/breadcrumbs/breadcrumbs/breadcrumbs.component.js +4 -3
  23. package/esm2015/datatable/models/columns-alteration.js +1 -1
  24. package/esm2015/datatable/models/columns-alterations/hide-column.columns-alteration.js +1 -1
  25. package/esm2015/datatable/models/columns-alterations/sort.columns-alteration.js +1 -1
  26. package/esm2015/datatable/models/columns-alterations/width.columns-alteration.js +1 -1
  27. package/esm2015/datatable/models/internal-column-props.js +1 -1
  28. package/esm2015/datatable/services/columns-alterations-manager.service.js +1 -1
  29. package/esm2015/datatable/utils/map-columns-alterations-states.js +1 -1
  30. package/esm2015/framework/base-layout/base-layout.component.js +3 -3
  31. package/esm2015/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.js +5 -5
  32. package/esm2015/framework/top-bar/top-bar-title/top-bar-title.component.js +4 -3
  33. package/esm2015/framework/top-bar/top-bar.component.js +10 -8
  34. package/esm2015/graphql/models/gql-datatable-accessor.js +1 -1
  35. package/esm2015/scrollbar/overlay-scrollbar.directive.js +2 -2
  36. package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.js +1 -1
  37. package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.js +17 -2
  38. package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js +1 -1
  39. package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.js +16 -2
  40. package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js +1 -1
  41. package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.js +16 -2
  42. package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string-config.js +1 -1
  43. package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string.component.js +32 -4
  44. package/esm2015/tel-input/tel-input/tel-input.component.js +10 -2
  45. package/esm2015/tel-input/tel-input.directive.js +50 -5
  46. package/esm2015/testing/current-tick-time.js +1 -1
  47. package/esm2015/utils/array-move.js +1 -1
  48. package/esm2015/utils/router/is-empty-url-route.js +1 -1
  49. package/esm2015/viewers/html-template-viewer/html-template-viewer.component.js +219 -0
  50. package/esm2015/viewers/html-template-viewer/html-template-viewer.module.js +23 -0
  51. package/esm2015/viewers/html-template-viewer/index.js +3 -0
  52. package/esm2015/viewers/public-api.js +2 -1
  53. package/esm2015/widget/widget/widget.component.js +1 -1
  54. package/fesm2015/theseam-ui-common-breadcrumbs.js +3 -2
  55. package/fesm2015/theseam-ui-common-breadcrumbs.js.map +1 -1
  56. package/fesm2015/theseam-ui-common-datatable.js.map +1 -1
  57. package/fesm2015/theseam-ui-common-framework.js +15 -12
  58. package/fesm2015/theseam-ui-common-framework.js.map +1 -1
  59. package/fesm2015/theseam-ui-common-scrollbar.js +1 -1
  60. package/fesm2015/theseam-ui-common-scrollbar.js.map +1 -1
  61. package/fesm2015/theseam-ui-common-table-cell-types.js +74 -5
  62. package/fesm2015/theseam-ui-common-table-cell-types.js.map +1 -1
  63. package/fesm2015/theseam-ui-common-tel-input.js +58 -6
  64. package/fesm2015/theseam-ui-common-tel-input.js.map +1 -1
  65. package/fesm2015/theseam-ui-common-testing.js.map +1 -1
  66. package/fesm2015/theseam-ui-common-utils.js.map +1 -1
  67. package/fesm2015/theseam-ui-common-viewers.js +237 -2
  68. package/fesm2015/theseam-ui-common-viewers.js.map +1 -1
  69. package/fesm2015/theseam-ui-common-widget.js +1 -1
  70. package/framework/base-layout/base-layout.component.scss +14 -0
  71. package/framework/base-layout/styles/_variables.scss +14 -0
  72. package/framework/theseam-ui-common-framework.metadata.json +1 -1
  73. package/framework/top-bar/_top-bar-theme.scss +5 -0
  74. package/framework/top-bar/styles/_utilities.scss +3 -0
  75. package/framework/top-bar/styles/_variables.scss +18 -0
  76. package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +3 -1
  77. package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.scss +15 -0
  78. package/framework/top-bar/top-bar-title/top-bar-title.component.scss +6 -0
  79. package/framework/top-bar/top-bar.component.d.ts +3 -0
  80. package/framework/top-bar/top-bar.component.scss +39 -0
  81. package/package.json +1 -1
  82. package/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.d.ts +5 -0
  83. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +5 -0
  84. package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +5 -0
  85. package/table-cell-types/table-cell-type-string/table-cell-type-string-config.d.ts +8 -0
  86. package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +9 -0
  87. package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +1 -1
  88. package/tel-input/tel-input.directive.d.ts +7 -3
  89. package/tel-input/theseam-ui-common-tel-input.metadata.json +1 -1
  90. package/viewers/html-template-viewer/html-template-viewer.component.d.ts +67 -0
  91. package/viewers/html-template-viewer/html-template-viewer.module.d.ts +2 -0
  92. package/viewers/html-template-viewer/index.d.ts +2 -0
  93. package/viewers/public-api.d.ts +1 -0
  94. package/viewers/theseam-ui-common-viewers.metadata.json +1 -1
  95. package/widget/styles/_variables.scss +2 -0
  96. package/widget/theseam-ui-common-widget.metadata.json +1 -1
  97. package/widget/widget/widget.component.scss +2 -0
@@ -1,8 +1,8 @@
1
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('@fortawesome/free-regular-svg-icons'), require('@theseam/ui-common/menu'), 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', '@fortawesome/free-regular-svg-icons', '@theseam/ui-common/menu', '@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.freeRegularSvgIcons, global.theseam["ui-common"].menu, 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, freeRegularSvgIcons, menu, core$1, forms, ngSelect, checkbox, formField) { 'use strict';
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
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -241,11 +241,11 @@
241
241
  TheSeamBaseLayoutComponent.decorators = [
242
242
  { type: i0.Component, args: [{
243
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 border-bottom bordered\">\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 border-right bordered\">\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",
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
245
  providers: [THE_SEAM_BASE_LAYOUT],
246
246
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
247
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}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}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}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"]
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
249
  },] }
250
250
  ];
251
251
  TheSeamBaseLayoutComponent.ctorParameters = function () { return [
@@ -2169,7 +2169,6 @@
2169
2169
  function TopBarMenuButtonComponent() {
2170
2170
  var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
2171
2171
  _this.faAngleDown = freeSolidSvgIcons.faAngleDown;
2172
- _this.profileIcon = freeRegularSvgIcons.faUserCircle;
2173
2172
  _this.compact = false;
2174
2173
  return _this;
2175
2174
  }
@@ -2202,6 +2201,7 @@
2202
2201
  // tslint:disable-next-line:component-selector
2203
2202
  selector: 'button[seamTopBarMenuButton]',
2204
2203
  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",
2204
+ encapsulation: i0.ViewEncapsulation.None,
2205
2205
  exportAs: 'seamButton',
2206
2206
  // tslint:disable-next-line:use-input-property-decorator
2207
2207
  inputs: ['disabled'],
@@ -2213,12 +2213,13 @@
2213
2213
  '[attr.disabled]': 'disabled || null',
2214
2214
  },
2215
2215
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2216
- styles: [":host{min-width:200px;border-radius:0;border-top:0!important;border-bottom:0!important;border-right:0!important}:host.top-bar-menu-button--compact{min-width:40px;border-left:0!important}\n"]
2216
+ 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"]
2217
2217
  },] }
2218
2218
  ];
2219
2219
  TopBarMenuButtonComponent.propDecorators = {
2220
2220
  detailTpl: [{ type: i0.Input }],
2221
2221
  compact: [{ type: i0.Input }],
2222
+ profileIcon: [{ type: i0.Input }],
2222
2223
  _hasCompactClass: [{ type: i0.HostBinding, args: ['class.top-bar-menu-button--compact',] }],
2223
2224
  _hasPadding0Class: [{ type: i0.HostBinding, args: ['class.p-0',] }],
2224
2225
  _hasRoundedClass: [{ type: i0.HostBinding, args: ['class.rounded',] }],
@@ -2238,8 +2239,9 @@
2238
2239
  { type: i0.Component, args: [{
2239
2240
  selector: 'seam-top-bar-title',
2240
2241
  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",
2242
+ encapsulation: i0.ViewEncapsulation.None,
2241
2243
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2242
- styles: [":host{flex:1 1 auto;display:flex;flex-direction:row;align-items:center}\n"]
2244
+ styles: ["seam-top-bar-title{flex:1 1 auto;display:flex;flex-direction:row;align-items:center}\n"]
2243
2245
  },] }
2244
2246
  ];
2245
2247
  TopBarTitleComponent.ctorParameters = function () { return []; };
@@ -2317,6 +2319,8 @@
2317
2319
  this.logoRoute = '/';
2318
2320
  /** Determines if the title should be displayed. */
2319
2321
  this.hasTitle = false;
2322
+ /** Icon to display on mobile to activate profile dropdown. Defaults to faUserCircle. */
2323
+ this.profileIcon = freeRegularSvgIcons.faUserCircle;
2320
2324
  this.isMobile$ = this._layout.isMobile$;
2321
2325
  }
2322
2326
  /** @ignore */
@@ -2338,13 +2342,11 @@
2338
2342
  TheSeamTopBarComponent.decorators = [
2339
2343
  { type: i0.Component, args: [{
2340
2344
  selector: 'seam-top-bar',
2341
- 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 [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 [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</button>\n",
2345
+ 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",
2346
+ encapsulation: i0.ViewEncapsulation.None,
2342
2347
  exportAs: 'seamTopBar',
2343
- host: {
2344
- 'class': 'bg-white'
2345
- },
2346
2348
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2347
- styles: [":host{flex:1 1 100%;display:flex;flex-direction:row;padding:8px}.top-bar--logo{flex:0 0 auto;overflow:hidden;cursor:pointer}.top-bar--logo img{max-height:60px;max-width:200px}.top-bar--logo.top-bar--logo-mobile{max-height:40px;max-width:150px}.top-bar--logo.top-bar--logo-mobile>div{max-height:100%;max-width:100%}.top-bar--logo.top-bar--logo-mobile>div img{max-height:40px;max-width:100%}.top-bar-icon-container{margin:auto 0}\n"]
2349
+ 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"]
2348
2350
  },] }
2349
2351
  ];
2350
2352
  TheSeamTopBarComponent.ctorParameters = function () { return [
@@ -2361,7 +2363,8 @@
2361
2363
  logoRoute: [{ type: i0.Input }],
2362
2364
  hasTitle: [{ type: i0.Input }],
2363
2365
  titleText: [{ type: i0.Input }],
2364
- subTitleText: [{ type: i0.Input }]
2366
+ subTitleText: [{ type: i0.Input }],
2367
+ profileIcon: [{ type: i0.Input }]
2365
2368
  };
2366
2369
  __decorate([
2367
2370
  core.InputBoolean()