@theseam/ui-common 0.3.2 → 0.3.3
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/breadcrumbs/_breadcrumbs-theme.scss +3 -3
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.scss +10 -10
- package/bundles/theseam-ui-common-dynamic.umd.js +1 -0
- package/bundles/theseam-ui-common-dynamic.umd.js.map +1 -1
- package/bundles/theseam-ui-common-google-maps.umd.js +1 -1
- package/bundles/theseam-ui-common-google-maps.umd.js.map +1 -1
- package/bundles/theseam-ui-common-modal.umd.js +21 -1
- package/bundles/theseam-ui-common-modal.umd.js.map +1 -1
- package/bundles/theseam-ui-common-utils.umd.js.map +1 -1
- package/bundles/theseam-ui-common-widget.umd.js +3 -1
- package/bundles/theseam-ui-common-widget.umd.js.map +1 -1
- package/esm2015/dynamic/evaluators/jexl-evaluator/jexl-evaluator.js +2 -1
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.js +2 -2
- package/esm2015/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.js +1 -1
- package/esm2015/modal/modal-ref.js +22 -2
- package/esm2015/utils/geo-json/coerce-feature-collection.js +1 -1
- package/esm2015/utils/geo-json/geo-json-to-area.js +1 -1
- package/esm2015/utils/geo-json/is-feature-collection.validator.js +1 -1
- package/esm2015/utils/geo-json/is-only-geometry-types.js +1 -1
- package/esm2015/utils/geo-json/is-only-geometry-types.validator.js +1 -1
- package/esm2015/utils/geo-json/merge-polygons.js +1 -1
- package/esm2015/utils/geo-json/no-inner-rings.validator.js +1 -1
- package/esm2015/utils/geo-json/no-kinks.validator.js +1 -1
- package/esm2015/utils/geo-json/split-multi-polygons.js +1 -1
- package/esm2015/widget/widget-content-components/widget-tile/widget-tile.component.js +4 -2
- package/fesm2015/theseam-ui-common-dynamic.js +1 -0
- package/fesm2015/theseam-ui-common-dynamic.js.map +1 -1
- package/fesm2015/theseam-ui-common-google-maps.js +1 -1
- package/fesm2015/theseam-ui-common-google-maps.js.map +1 -1
- package/fesm2015/theseam-ui-common-modal.js +21 -1
- package/fesm2015/theseam-ui-common-modal.js.map +1 -1
- package/fesm2015/theseam-ui-common-utils.js.map +1 -1
- package/fesm2015/theseam-ui-common-widget.js +3 -1
- package/fesm2015/theseam-ui-common-widget.js.map +1 -1
- package/framework/top-bar/_top-bar-theme.scss +5 -5
- package/google-maps/theseam-ui-common-google-maps.metadata.json +1 -1
- package/modal/modal-ref.d.ts +1 -0
- package/modal/theseam-ui-common-modal.metadata.json +1 -1
- package/package.json +1 -1
- package/widget/styles/_variables.scss +1 -0
- package/widget/theseam-ui-common-widget.metadata.json +1 -1
- package/widget/widget-content-components/widget-tile/widget-tile.component.d.ts +2 -0
- package/widget/widget-content-components/widget-tile/widget-tile.component.scss +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theseam-ui-common-widget.js","sources":["../../../projects/ui-common/widget/directives/widget-drag-handle.directive.ts","../../../projects/ui-common/widget/directives/widget-icon-tpl.directive.ts","../../../projects/ui-common/widget/directives/widget-title-tpl.directive.ts","../../../projects/ui-common/widget/widget-content-components/widget-button-group/widget-button-group.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-button-group/widget-button-group.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-content-header/widget-content-header.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-content-header/widget-content-header.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-description/widget-description.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-description/widget-description.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-empty-label/widget-empty-label.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-empty-label/widget-empty-label.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-footer-link/widget-footer-link.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-footer-link/widget-footer-link.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-footer-text/widget-footer-text.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-footer-text/widget-footer-text.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-header-badge/widget-header-badge.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-header-badge/widget-header-badge.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.ts","../../../projects/ui-common/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-list-group/widget-list-group.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-list-group/widget-list-group.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-table/widget-table.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-table/widget-table.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile/widget-tile.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile/widget-tile.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile-list/widget-tile-list.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile-list/widget-tile-list.module.ts","../../../projects/ui-common/widget/widget/widget.component.ts","../../../projects/ui-common/widget/widget-footer/widget-footer.component.ts","../../../projects/ui-common/widget/widget-token.ts","../../../projects/ui-common/widget/widget-registry.service.ts","../../../projects/ui-common/widget/widget.module.ts","../../../projects/ui-common/widget/theseam-ui-common-widget.ts"],"sourcesContent":["import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion'\nimport { CdkDrag, CdkDragHandle } from '@angular/cdk/drag-drop'\nimport {\n AfterViewInit,\n Directive,\n DoCheck,\n ElementRef,\n EventEmitter,\n Inject,\n InjectionToken,\n Input,\n NgZone,\n OnDestroy,\n OnInit,\n Optional,\n QueryList\n} from '@angular/core'\nimport { BehaviorSubject, Subject } from 'rxjs'\nimport { auditTime, filter, switchMap, take, takeUntil } from 'rxjs/operators'\n\nimport { getClosestWidgetCdkDrag } from '@theseam/ui-common/utils'\n\n//\n// NOTE: This will probably NOT be used long term, unless more of the\n// CdkDragDrop code is rewritten.\n//\n// This directive is meant to be a HACK replacement directive for CdkDragHandle.\n// The reason this was made is because CdkDragHandle doesn't work in child\n// components, since it uses ContentChildren to query for the handles.\n//\n// This could easily break, because I am forcing the handles query list to emit\n// changes manually. So, if the query list actually changes, then my changes\n// will be broken.\n//\n\n\n\n// Helper type that ignores `readonly` properties. This is used in\n// `extendStyles` to ignore the readonly properties on CSSStyleDeclaration\n// since we won't be touching those anyway.\ntype Writeable<T> = { -readonly [P in keyof T]-?: T[P] }\n\n/**\n * Extended CSSStyleDeclaration that includes a couple of drag-related\n * properties that aren't in the built-in TS typings.\n */\ninterface DragCSSStyleDeclaration extends CSSStyleDeclaration {\n webkitUserDrag: string\n MozUserSelect: string // For some reason the Firefox property is in PascalCase.\n msScrollSnapType: string\n scrollSnapType: string\n msUserSelect: string\n}\n\nexport function extendStyles(\n dest: Writeable<CSSStyleDeclaration>,\n source: Partial<DragCSSStyleDeclaration>\n) {\n for (const key in source) {\n if (source.hasOwnProperty(key)) {\n // tslint:disable-next-line: no-non-null-assertion\n dest[key] = source[key]!\n }\n }\n\n return dest\n}\n\nexport function toggleNativeDragInteractions(element: HTMLElement, enable: boolean) {\n const userSelect = enable ? '' : 'none'\n\n extendStyles(element.style, {\n touchAction: enable ? '' : 'none',\n webkitUserDrag: enable ? '' : 'none',\n webkitTapHighlightColor: enable ? '' : 'transparent',\n userSelect: userSelect,\n msUserSelect: userSelect,\n webkitUserSelect: userSelect,\n MozUserSelect: userSelect\n })\n}\n\nexport interface TheSeamWidgetAccessor<TItem> {\n widgetsChange: EventEmitter<TItem[]>\n cdkDragDirectives: QueryList<CdkDrag>\n}\n\nexport const THESEAM_WIDGET_ACCESSOR = new InjectionToken<TheSeamWidgetAccessor<any>>(\n 'TheSeamWidgetAccessor'\n)\n\n@Directive({\n selector: '[seamWidgetDragHandle]',\n host: {\n 'class': 'cdk-drag-handle'\n }\n})\nexport class WidgetDragHandleDirective implements OnInit, OnDestroy, AfterViewInit, DoCheck {\n static ngAcceptInputType_disabled: BooleanInput\n\n private readonly _ngUnsubscribe = new Subject()\n\n private _attachedToDom = new BehaviorSubject<boolean>(false)\n private _doneCheckingAttached = false\n private _knownParentDrag: any /* CdkDrag | undefined */\n\n /** Needed because CdkDrag reads this variable */\n get _parentDrag() { return this.getParentCdkDrag() }\n\n /** Emits when the state of the handle has changed. */\n _stateChanges = new Subject<CdkDragHandle>()\n\n /** Whether starting to drag through this handle is disabled. */\n @Input('cdkDragHandleDisabled')\n get disabled(): boolean { return this._disabled }\n set disabled(value: boolean) {\n this._disabled = coerceBooleanProperty(value)\n this._stateChanges.next(<any>this)\n }\n private _disabled = false\n\n constructor(\n public element: ElementRef<HTMLElement>,\n private _ngZone: NgZone,\n @Optional() @Inject(THESEAM_WIDGET_ACCESSOR) private _dashboardWidgets?: TheSeamWidgetAccessor<any>,\n @Optional() private __parentDrag?: CdkDrag\n ) {\n toggleNativeDragInteractions(element.nativeElement, false)\n }\n\n ngOnInit() {\n if (this._dashboardWidgets) {\n this._dashboardWidgets.widgetsChange.pipe(\n auditTime(0),\n takeUntil(this._ngUnsubscribe)\n ).subscribe(() => {\n if (this._knownParentDrag) {\n const isAttached = this.isAttachedToDom()\n if (isAttached) {\n const parent = <any>this.getParentCdkDrag()\n if (this._knownParentDrag !== parent) {\n this._attachedToDom.next(isAttached)\n }\n }\n\n }\n })\n }\n }\n\n ngAfterViewInit() {\n if (this.__parentDrag || this._dashboardWidgets) {\n // FIXME: This only works until the widget is moved to another template\n // outlet. Now that the component isn't reinitialized when moving between\n // lists the handle needs to now reflex that change to its new CdkDrag\n // parent and possibly tell its previous parent to forget it.\n\n // HACK: This is a hack to allow the `CdkDrag` directive to manage a\n // handle that is not visible to `ContentChildren` query.\n this._ngZone.onStable.asObservable()\n // .pipe(take(1), untilDestroyed(this))\n .pipe(\n take(1),\n // With the weird trick being done to keep widgets initialized when switching columns\n switchMap(() => this._attachedToDom.pipe(filter(v => v === true))),\n // take(1)\n takeUntil(this._ngUnsubscribe)\n )\n .subscribe(() => {\n const parent = <any>this.getParentCdkDrag()\n\n if (this._knownParentDrag && this._knownParentDrag !== parent) {\n this._knownParentDrag._dragRef.disableHandle(this.element.nativeElement)\n this._knownParentDrag = undefined\n }\n\n if (parent) {\n this._knownParentDrag = parent\n parent._handles.reset([ ...parent._handles._results, this ])\n parent._handles.notifyOnChanges()\n parent._dragRef.enableHandle(this.element.nativeElement)\n }\n })\n }\n }\n\n ngOnDestroy() {\n this._stateChanges.complete()\n this._attachedToDom.complete()\n\n this._ngUnsubscribe.next()\n this._ngUnsubscribe.complete()\n }\n\n ngDoCheck() {\n // The attached observable only emits once, so we can stop checking if\n // attached.\n if (this._doneCheckingAttached) { return }\n\n const isAttached = this.isAttachedToDom()\n if (isAttached !== this._attachedToDom.value) {\n this._attachedToDom.next(isAttached)\n this._doneCheckingAttached = true\n }\n }\n\n public isAttachedToDom(): boolean {\n return document.body.contains(this.element.nativeElement)\n }\n\n /** Closest parent draggable instance. */\n public getParentCdkDrag(): CdkDrag | undefined {\n if (this.__parentDrag) {\n return this.__parentDrag\n } else if (this._dashboardWidgets && this._dashboardWidgets.cdkDragDirectives) {\n const dragsArr = this._dashboardWidgets.cdkDragDirectives.toArray()\n const closest = getClosestWidgetCdkDrag(this.element, dragsArr)\n return (closest !== undefined && closest !== null) ? closest : undefined\n }\n }\n\n}\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamWidgetIconTpl]'\n})\nexport class WidgetIconTplDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamWidgetTitleTpl]'\n})\nexport class WidgetTitleTplDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-button-group',\n templateUrl: './widget-button-group.component.html',\n styleUrls: ['./widget-button-group.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetButtonGroupComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamButtonsModule } from '@theseam/ui-common/buttons'\n\nimport { WidgetButtonGroupComponent } from './widget-button-group.component'\n\n@NgModule({\n declarations: [\n WidgetButtonGroupComponent\n ],\n imports: [\n CommonModule,\n TheSeamButtonsModule\n ],\n exports: [\n WidgetButtonGroupComponent,\n\n TheSeamButtonsModule\n ]\n})\nexport class TheSeamWidgetButtonGroupModule { }\n","import { Component, OnInit, ViewEncapsulation } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-content-header',\n templateUrl: './widget-content-header.component.html',\n styleUrls: ['./widget-content-header.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class WidgetContentHeaderComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { WidgetContentHeaderComponent } from './widget-content-header.component'\n\n@NgModule({\n declarations: [\n WidgetContentHeaderComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetContentHeaderComponent\n ]\n})\nexport class TheSeamWidgetContentHeaderModule { }\n","import { ChangeDetectionStrategy, Component } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-description',\n templateUrl: './widget-description.component.html',\n styleUrls: ['./widget-description.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetDescriptionComponent { }\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { WidgetDescriptionComponent } from './widget-description.component'\n\n@NgModule({\n declarations: [\n WidgetDescriptionComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetDescriptionComponent\n ]\n})\nexport class TheSeamWidgetDescriptionModule { }\n","import { Component, ElementRef, HostBinding, Input, OnInit, ViewEncapsulation } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-empty-label,a[seam-widget-empty-label],button[seam-widget-empty-label]',\n templateUrl: './widget-empty-label.component.html',\n styleUrls: ['./widget-empty-label.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class WidgetEmptyLabelComponent implements OnInit {\n\n private _type: string | undefined | null\n\n @HostBinding('class.btn')\n get _btnCss() { return this._isButton() ? true : false }\n\n @HostBinding('class.btn-link')\n get _btnLinkCss() { return this._isButton() ? true : false }\n\n @HostBinding('attr.type')\n get _attrType() {\n return this._type || this._isButton() ? 'button' : undefined\n }\n\n @Input()\n get type(): string | undefined | null { return this._type }\n\n constructor(\n public _elementRef: ElementRef<HTMLElement | HTMLAnchorElement | HTMLButtonElement>\n ) { }\n\n ngOnInit() { }\n\n /** Determines if the component host is a button. */\n private _isButton(): boolean {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'button'\n }\n\n /** Determines if the component host is an anchor. */\n private _isAnchor(): boolean {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'a'\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { WidgetEmptyLabelComponent } from './widget-empty-label.component'\n\n@NgModule({\n declarations: [\n WidgetEmptyLabelComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetEmptyLabelComponent\n ]\n})\nexport class TheSeamWidgetEmptyLabelModule { }\n","import { Component, OnInit, ViewEncapsulation } from '@angular/core'\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: 'a[seam-widget-footer-link]',\n templateUrl: './widget-footer-link.component.html',\n styleUrls: ['./widget-footer-link.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class WidgetFooterLinkComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() { }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { WidgetFooterLinkComponent } from './widget-footer-link.component'\n\n@NgModule({\n declarations: [\n WidgetFooterLinkComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetFooterLinkComponent\n ]\n})\nexport class TheSeamWidgetFooterLinkModule { }\n","import { Component, OnInit, ViewEncapsulation } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-footer-text',\n templateUrl: './widget-footer-text.component.html',\n styleUrls: ['./widget-footer-text.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class WidgetFooterTextComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { WidgetFooterTextComponent } from './widget-footer-text.component'\n\n@NgModule({\n declarations: [\n WidgetFooterTextComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetFooterTextComponent\n ]\n})\nexport class TheSeamWidgetFooterTextModule { }\n","import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Input, OnInit, Renderer2, ViewEncapsulation } from '@angular/core'\n\nimport {\n CanThemeCtor,\n mixinTheme\n} from '@theseam/ui-common/core'\n\nclass WidgetHeaderBadgeBase {\n\n constructor(\n public _elementRef: ElementRef\n ) { }\n\n}\n\nconst _WidgetHeaderBadgeMixinBase: CanThemeCtor &\n typeof WidgetHeaderBadgeBase = mixinTheme(WidgetHeaderBadgeBase, 'badge')\n\n@Component({\n selector: 'seam-widget-header-badge',\n templateUrl: './widget-header-badge.component.html',\n styleUrls: ['./widget-header-badge.component.scss'],\n // tslint:disable-next-line:use-input-property-decorator\n inputs: [ 'theme' ],\n // tslint:disable-next-line:use-host-property-decorator\n host: {\n 'class': 'badge float-right'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetHeaderBadgeComponent extends _WidgetHeaderBadgeMixinBase implements OnInit {\n\n constructor(\n _elementRef: ElementRef\n ) { super(_elementRef) }\n\n ngOnInit() { }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { WidgetHeaderBadgeComponent } from './widget-header-badge.component'\n\n@NgModule({\n declarations: [\n WidgetHeaderBadgeComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetHeaderBadgeComponent\n ]\n})\nexport class TheSeamWidgetHeaderBadgeModule { }\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamWidgetListGroupItemIconTpl]',\n exportAs: 'seamWidgetListGroupItemIconTpl'\n})\nexport class WidgetListGroupItemIconTplDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { FocusMonitor } from '@angular/cdk/a11y'\nimport { ChangeDetectionStrategy, Component, ContentChild, Directive, ElementRef, Input, OnDestroy, OnInit, Renderer2 } from '@angular/core'\n\nimport {\n CanBeActive,\n CanBeActiveCtor,\n CanDisable,\n CanDisableCtor,\n CanTheme,\n CanThemeCtor,\n HasElementRef,\n mixinActive,\n mixinDisabled,\n mixinTheme\n} from '@theseam/ui-common/core'\nimport { SeamIcon } from '@theseam/ui-common/icon'\n\nimport { WidgetListGroupItemIconTplDirective } from './widget-list-group-item-icon-tpl.directive'\n\n// tslint:disable-next-line: max-line-length\nconst WIDGET_LIST_GROUP_ITEM_INPUTS = [ 'disabled', 'theme', 'active', 'icon', 'iconClass', 'label', 'secondaryIcon', 'secondaryIconClass', 'secondaryIconTitle' ]\n\n@Directive()\n// tslint:disable-next-line: directive-class-suffix\nclass WidgetListGroupItemBase {\n\n @ContentChild(WidgetListGroupItemIconTplDirective, { static: true }) iconTpl?: WidgetListGroupItemIconTplDirective\n\n icon?: SeamIcon\n iconClass?: string\n secondaryIcon?: SeamIcon\n secondaryIconClass?: string\n secondaryIconTitle?: string\n\n label?: string\n\n constructor(\n public _elementRef: ElementRef,\n public _renderer: Renderer2\n ) { }\n\n /** Focuses the element. */\n focus(): void {\n this._getHostElement().focus()\n }\n\n _getHostElement() {\n return this._elementRef.nativeElement\n }\n}\n\n@Directive()\n// tslint:disable-next-line: directive-class-suffix\nclass WidgetListGroupItemActionableBase extends WidgetListGroupItemBase implements OnDestroy {\n constructor(\n public _elementRef: ElementRef,\n public _focusMonitor: FocusMonitor,\n public _renderer: Renderer2\n ) {\n super(_elementRef, _renderer)\n this._focusMonitor.monitor(this._elementRef, true)\n }\n\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef)\n }\n}\n\n\nconst _WidgetListGroupItemBase: CanDisableCtor & CanThemeCtor & CanBeActiveCtor &\n typeof WidgetListGroupItemBase = mixinActive(mixinTheme(mixinDisabled(WidgetListGroupItemBase), 'list-group-item'))\n\nconst _WidgetListGroupItemActionableBase: CanDisableCtor & CanThemeCtor & CanBeActiveCtor &\n typeof WidgetListGroupItemActionableBase = mixinActive(mixinTheme(mixinDisabled(WidgetListGroupItemActionableBase), 'list-group-item'))\n\n@Component({\n selector: 'seam-widget-list-group-item',\n templateUrl: './widget-list-group-item.component.html',\n styleUrls: ['./widget-list-group-item.component.scss'],\n exportAs: 'seamWidgetListGroupItem',\n inputs: WIDGET_LIST_GROUP_ITEM_INPUTS,\n host: {\n 'class': 'list-group-item',\n '[class.active]': 'active',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.disabled]': 'disabled || null',\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetListGroupItemComponent extends _WidgetListGroupItemBase\n implements OnInit, HasElementRef, CanTheme, CanDisable, CanBeActive {\n\n constructor(\n public _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>,\n public _renderer: Renderer2\n ) {\n super(_elementRef, _renderer)\n }\n\n ngOnInit() { }\n\n}\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: 'button[seam-widget-list-group-item],button[seamWidgetListGroupItem]',\n templateUrl: './widget-list-group-item.component.html',\n styleUrls: ['./widget-list-group-item.component.scss'],\n exportAs: 'seamWidgetListGroupItem',\n inputs: WIDGET_LIST_GROUP_ITEM_INPUTS,\n host: {\n '[attr.type]': 'type',\n 'class': 'list-group-item list-group-item-action',\n '[class.active]': 'active',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.disabled]': 'disabled || null',\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetListGroupItemButtonComponent extends _WidgetListGroupItemActionableBase\n implements OnInit, HasElementRef, CanTheme, CanDisable, CanBeActive, OnDestroy {\n\n /** ARIA type for the button. */\n @Input() type: 'button' | 'submit' | 'reset' | undefined | null = 'button'\n\n constructor(\n public _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>,\n public _focusMonitor: FocusMonitor,\n public _renderer: Renderer2\n ) {\n super(_elementRef, _focusMonitor, _renderer)\n }\n\n ngOnInit() { }\n\n ngOnDestroy() { super.ngOnDestroy() }\n\n}\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: 'a[seam-widget-list-group-item],a[seamWidgetListGroupItem]',\n templateUrl: './widget-list-group-item.component.html',\n styleUrls: ['./widget-list-group-item.component.scss'],\n exportAs: 'seamWidgetListGroupItem',\n inputs: WIDGET_LIST_GROUP_ITEM_INPUTS,\n host: {\n 'class': 'list-group-item list-group-item-action',\n '[class.active]': 'active',\n '[attr.tabindex]': 'disabled ? -1 : (tabIndex || 0)',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.disabled]': 'disabled || null',\n '(click)': '_haltDisabledEvents($event)',\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetListGroupItemAnchorComponent extends _WidgetListGroupItemActionableBase\n implements OnInit, HasElementRef, CanTheme, CanDisable, CanBeActive, OnDestroy {\n\n /** Tabindex of the button. */\n @Input() tabIndex: number | undefined | null\n\n constructor(\n public _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>,\n public _focusMonitor: FocusMonitor,\n public _renderer: Renderer2\n ) {\n super(_elementRef, _focusMonitor, _renderer)\n }\n\n ngOnInit() { }\n\n ngOnDestroy() { super.ngOnDestroy() }\n\n _haltDisabledEvents(event: Event) {\n // A disabled button shouldn't apply any actions\n if (this.disabled) {\n event.preventDefault()\n event.stopImmediatePropagation()\n }\n }\n\n}\n","import { ChangeDetectionStrategy, Component, ContentChild, HostBinding, Input, OnInit } from '@angular/core'\n\n// TODO: Make `ListGroup` a root component and wrap it with `WidgetListGroup`.\n\n@Component({\n selector: 'seam-widget-list-group',\n templateUrl: './widget-list-group.component.html',\n styleUrls: ['./widget-list-group.component.scss'],\n host: {\n 'class': 'list-group'\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetListGroupComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() { }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamIconModule } from '@theseam/ui-common/icon'\n\nimport { WidgetListGroupItemIconTplDirective } from './widget-list-group-item/widget-list-group-item-icon-tpl.directive'\nimport {\n WidgetListGroupItemAnchorComponent,\n WidgetListGroupItemButtonComponent,\n WidgetListGroupItemComponent\n} from './widget-list-group-item/widget-list-group-item.component'\nimport { WidgetListGroupComponent } from './widget-list-group.component'\n\n@NgModule({\n declarations: [\n WidgetListGroupComponent,\n WidgetListGroupItemAnchorComponent,\n WidgetListGroupItemButtonComponent,\n WidgetListGroupItemComponent,\n WidgetListGroupItemIconTplDirective\n ],\n imports: [\n CommonModule,\n TheSeamIconModule\n ],\n exports: [\n WidgetListGroupComponent,\n WidgetListGroupItemAnchorComponent,\n WidgetListGroupItemButtonComponent,\n WidgetListGroupItemComponent,\n WidgetListGroupItemIconTplDirective\n ]\n})\nexport class TheSeamWidgetListGroupModule { }\n","import { BooleanInput } from '@angular/cdk/coercion'\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport type { ITableColumn, TrackByFunction } from '@theseam/ui-common/table'\n\n@Component({\n selector: 'seam-widget-table',\n templateUrl: './widget-table.component.html',\n styleUrls: ['./widget-table.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetTableComponent<T> {\n static ngAcceptInputType_hasHeader: BooleanInput\n\n @Input() columns: (string | ITableColumn)[] | undefined | null\n @Input() rows: T[] | undefined | null = []\n @Input() trackBy: TrackByFunction<T> | undefined | null\n @Input() size: 'sm' | 'md' | undefined | null = 'sm'\n @Input() @InputBoolean() hasHeader: boolean = true\n\n @Output() readonly actionRefreshRequest = new EventEmitter<any>()\n\n constructor() { }\n\n _actionRefreshRequest() {\n this.actionRefreshRequest.emit()\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamTableModule } from '@theseam/ui-common/table'\nimport { TheSeamTableCellTypesModule } from '@theseam/ui-common/table-cell-types'\n\nimport { WidgetTableComponent } from './widget-table.component'\n\n@NgModule({\n declarations: [\n WidgetTableComponent\n ],\n imports: [\n CommonModule,\n TheSeamTableModule,\n TheSeamTableCellTypesModule\n ],\n exports: [\n WidgetTableComponent\n ]\n})\nexport class TheSeamWidgetTableModule { }\n","import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-tile-footer,[seam-widget-tile-footer]',\n templateUrl: './widget-tile-footer.component.html',\n styleUrls: ['./widget-tile-footer.component.scss'],\n host: {\n class: 'd-flex flex-row justify-content-end'\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetTileFooterComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { BooleanInput } from '@angular/cdk/coercion'\nimport { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Input, OnInit } from '@angular/core'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\n\n@Component({\n selector: 'seam-widget-tile-footer-item,a[seam-widget-tile-footer-item],button[seam-widget-tile-footer-item]',\n templateUrl: './widget-tile-footer-item.component.html',\n styleUrls: ['./widget-tile-footer-item.component.scss'],\n host: {\n class: 'btn btn-link py-0 px-1'\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetTileFooterItemComponent implements OnInit {\n static ngAcceptInputType_disabled: BooleanInput\n\n private _type: string | undefined | null\n\n @HostBinding('attr.type')\n get _attrType() {\n return this._type || this._isButton() ? 'button' : undefined\n }\n\n @HostBinding('class.disabled')\n get _DisabledCss() { return this.disabled }\n\n @Input()\n get type(): string | undefined | null { return this._type }\n\n @Input() @InputBoolean() disabled = false\n\n constructor(\n public _elementRef: ElementRef<HTMLElement | HTMLAnchorElement | HTMLButtonElement>\n ) { }\n\n ngOnInit() { }\n\n /** Determines if the component host is a button. */\n private _isButton(): boolean {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'button'\n }\n}\n","import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-tile-group',\n templateUrl: './widget-tile-group.component.html',\n styleUrls: ['./widget-tile-group.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetTileGroupComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamWidgetTileSecondaryIcon]',\n exportAs: 'seamWidgetTileSecondaryIcon'\n})\nexport class WidgetTileSecondaryIconDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { FocusMonitor } from '@angular/cdk/a11y'\nimport { BooleanInput } from '@angular/cdk/coercion'\nimport { Component, ContentChild, ElementRef, HostBinding, Input, OnDestroy, OnInit, Renderer2, ViewEncapsulation } from '@angular/core'\n\nimport { IconProp } from '@fortawesome/fontawesome-svg-core'\n\nimport {\n CanDisableCtor,\n HasElementRef,\n HasRenderer2,\n HasTabIndexCtor,\n InputBoolean,\n mixinDisabled,\n mixinTabIndex,\n} from '@theseam/ui-common/core'\n\nimport { WidgetTileSecondaryIconDirective } from './widget-tile-secondary-icon.directive'\n\n@Component({ template: '' })\n// tslint:disable-next-line: component-class-suffix\nclass TheSeamWidgetTileBase implements OnDestroy, HasRenderer2, HasElementRef {\n constructor(\n public _elementRef: ElementRef,\n public _focusMonitor: FocusMonitor,\n public _renderer: Renderer2\n ) {\n this._focusMonitor.monitor(this._elementRef, true)\n }\n\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef)\n }\n\n /** Focuses the button. */\n focus(): void {\n this._getHostElement().focus()\n }\n\n _getHostElement() {\n return this._elementRef.nativeElement\n }\n}\n\nconst _TheSeamWidgetTileMixinBase: CanDisableCtor & HasTabIndexCtor &\n typeof TheSeamWidgetTileBase = mixinTabIndex(mixinDisabled(TheSeamWidgetTileBase))\n\n// TODO: Should this component be split into separate components for button and anchor.\n@Component({\n selector: 'seam-widget-tile, a[seam-widget-tile], button[seam-widget-tile]',\n templateUrl: './widget-tile.component.html',\n styleUrls: ['./widget-tile.component.scss'],\n inputs: [ 'disabled' ],\n exportAs: 'seamWidgetTile',\n encapsulation: ViewEncapsulation.None\n})\nexport class WidgetTileComponent extends _TheSeamWidgetTileMixinBase implements OnInit, OnDestroy {\n static ngAcceptInputType_grayscaleOnDisable: BooleanInput\n\n private _clickUnListen: (() => void | undefined | null) | undefined | null\n\n private _type: string | undefined | null\n\n @HostBinding('attr.type')\n get _attrType() {\n return this._type || this._isButton() ? 'button' : undefined\n }\n\n @HostBinding('class.btn')\n get _btnCss() { return this._isButton() ? true : false }\n\n @HostBinding('class.disabled')\n get _disabledCss() { return this.disabled }\n\n @HostBinding('attr.aria-disabled')\n get _ariaDisabled() { return this.disabled.toString() }\n\n @HostBinding('attr.disabled')\n get _attrDisabled() { return this.disabled || null }\n\n @HostBinding('attr.tabindex')\n get _attrTabIndex() { return this.disabled ? -1 : (this.tabIndex || 0) }\n\n @Input()\n get type(): string | undefined | null { return this._type }\n\n @Input() icon: string | IconProp | undefined | null\n\n @Input() @InputBoolean() grayscaleOnDisable: boolean = true\n\n @Input() iconClass: string | undefined | null\n\n @Input() notificationIcon: string | IconProp | undefined | null\n @Input() notificationIconClass: string | undefined | null\n\n @ContentChild(WidgetTileSecondaryIconDirective, { static: true }) secondaryIcon?: WidgetTileSecondaryIconDirective\n\n constructor(\n _elementRef: ElementRef<HTMLElement | HTMLAnchorElement | HTMLButtonElement>,\n _focusMonitor: FocusMonitor,\n _renderer: Renderer2\n ) { super(_elementRef, _focusMonitor, _renderer) }\n\n ngOnInit() {\n if (this._isAnchor()) {\n this._clickUnListen = this._renderer.listen(this._getHostElement(), 'click', this._haltDisabledEvents)\n }\n }\n\n ngOnDestroy() {\n super.ngOnDestroy()\n if (this._clickUnListen) {\n this._clickUnListen()\n }\n }\n\n /** Determines if the component host is a button. */\n private _isButton(): boolean {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'button'\n }\n\n /** Determines if the component host is an anchor. */\n private _isAnchor(): boolean {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'a'\n }\n\n _haltDisabledEvents = (event: Event) => {\n // A disabled button shouldn't apply any actions\n if (this.disabled) {\n event.preventDefault()\n event.stopImmediatePropagation()\n }\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamIconModule } from '@theseam/ui-common/icon'\n\nimport { WidgetTileFooterItemComponent } from './widget-tile-footer-item/widget-tile-footer-item.component'\nimport { WidgetTileFooterComponent } from './widget-tile-footer/widget-tile-footer.component'\nimport { WidgetTileGroupComponent } from './widget-tile-group/widget-tile-group.component'\nimport { WidgetTileSecondaryIconDirective } from './widget-tile-secondary-icon.directive'\nimport { WidgetTileComponent } from './widget-tile.component'\n\n@NgModule({\n declarations: [\n WidgetTileComponent,\n WidgetTileSecondaryIconDirective,\n WidgetTileFooterComponent,\n WidgetTileGroupComponent,\n WidgetTileFooterItemComponent\n ],\n imports: [\n CommonModule,\n TheSeamIconModule\n ],\n exports: [\n WidgetTileComponent,\n WidgetTileSecondaryIconDirective,\n WidgetTileFooterComponent,\n WidgetTileGroupComponent,\n WidgetTileFooterItemComponent\n ]\n})\nexport class TheSeamWidgetTileModule { }\n","import { Component, OnInit } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-tile-list',\n templateUrl: './widget-tile-list.component.html',\n styleUrls: ['./widget-tile-list.component.scss']\n})\nexport class WidgetTileListComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamWidgetTileModule } from '../widget-tile/widget-tile.module'\n\nimport { WidgetTileListComponent } from './widget-tile-list.component'\n\n@NgModule({\n declarations: [\n WidgetTileListComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetTileListComponent,\n TheSeamWidgetTileModule\n ]\n})\nexport class TheSeamWidgetTileListModule { }\n","import { animate, style, transition, trigger } from '@angular/animations'\nimport { BooleanInput } from '@angular/cdk/coercion'\nimport { Component, ContentChild, Input, OnInit, ViewEncapsulation } from '@angular/core'\n\nimport { IconProp } from '@fortawesome/fontawesome-svg-core'\nimport { faAngleDown, faCog } from '@fortawesome/free-solid-svg-icons'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport { SeamIcon } from '@theseam/ui-common/icon'\n\nimport { WidgetIconTplDirective } from '../directives/widget-icon-tpl.directive'\nimport { WidgetTitleTplDirective } from '../directives/widget-title-tpl.directive'\n\n/**\n * Widget\n *\n * Widgets are designed with the intention of being on a dashboard. Other uses\n * may be supported as the need arises.\n *\n * The only HTML/CSS use should be a widget content component, unless there is a\n * case requiring more advanced design. This is so that we can manage a common\n * style for our widgets. If a case requiring non widget content components is\n * used then the situation should be considered for becoming a widget component.\n */\n@Component({\n selector: 'seam-widget',\n templateUrl: './widget.component.html',\n styleUrls: ['./widget.component.scss'],\n encapsulation: ViewEncapsulation.None,\n animations: [\n trigger('loadingAnim', [\n transition(':enter', [\n style({ opacity: 0 }),\n animate('250ms ease-in-out', style({ opacity: 1 }))\n ]),\n transition(':leave', [\n style({ opacity: 1 }),\n animate('250ms ease-in-out', style({ opacity: 0 }))\n ])\n ])\n ]\n})\nexport class WidgetComponent implements OnInit {\n static ngAcceptInputType_hasHeader: BooleanInput\n static ngAcceptInputType_loading: BooleanInput\n static ngAcceptInputType_hasConfig: BooleanInput\n static ngAcceptInputType_canCollapse: BooleanInput\n\n /** @ignore */\n configIcon = faCog\n /** @ignore */\n collapseIcon = faAngleDown\n\n @Input() @InputBoolean() collapsed: boolean = false\n\n /**\n * Toggles the top header bar of a widget. This should be true for most\n * widgets.\n */\n @Input() @InputBoolean() hasHeader: boolean = true\n\n /**\n * Title displayed in the top header.\n *\n * If a more advanced title is needed you can use `seamWidgetTitleTpl`\n * template directive, but text is recommended, because allowing custom styles\n * can lead to inconsitency quickly as different developers keep making\n * tweaks.\n */\n @Input() titleText: string | undefined | null\n\n /**\n * Icon displayed in the top header.\n *\n * If a more advanced icon is needed you can use `seamWidgetIconTpl` template\n * directive, but a `SeamIcon` input is recommended, because allowing custom\n * icons that do not follow the tested types can lead to inconsitency quickly\n * as different developers keep making tweaks.\n */\n @Input()\n get icon(): SeamIcon | undefined { return this._iconUrl || this._iconObj }\n set icon(value: SeamIcon | undefined) {\n if (typeof value === 'string') {\n this._iconUrl = value\n this._iconObj = undefined\n } else {\n this._iconUrl = undefined\n this._iconObj = value\n }\n }\n\n /** @ignore */\n public _iconUrl: string | undefined\n /** @ignore */\n public _iconObj: IconProp | undefined\n\n /** Add a css class to the header icon. */\n @Input() iconClass: string | undefined | null\n\n /** Shows widget loading instead of content. */\n @Input() @InputBoolean() loading = false\n\n /** @ignore */\n // NOTE: Config is still being worked on.\n @Input() @InputBoolean() hasConfig = false\n /** @ignore */\n // NOTE: Collapse is still being worked on.\n @Input() @InputBoolean() canCollapse = false\n\n @ContentChild(WidgetIconTplDirective, { static: true }) iconTpl?: WidgetIconTplDirective\n @ContentChild(WidgetTitleTplDirective, { static: true }) titleTpl?: WidgetTitleTplDirective\n\n /** @ignore */\n constructor() { }\n\n /** @ignore */\n ngOnInit() { }\n\n /**\n * Toggles a widget's collapsed state.\n *\n * NOTE: Collapse is still being worked on.\n * @depracated\n * @ignore\n */\n collapse() {\n this.collapsed = !this.collapsed\n }\n\n}\n","import { ChangeDetectionStrategy, Component, OnInit, ViewEncapsulation } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-footer',\n templateUrl: './widget-footer.component.html',\n styleUrls: ['./widget-footer.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class WidgetFooterComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() { }\n\n}\n","import { InjectionToken } from '@angular/core'\n\nimport { IWidgetRegistryRecord } from './widget-registry.models'\n\nexport const THESEAM_WIDGETS = new InjectionToken<IWidgetRegistryRecord>('TheSeamWidgets')\n","import { ComponentPortal } from '@angular/cdk/portal'\nimport { ComponentFactoryResolver, Inject, Injectable, Injector, ViewContainerRef } from '@angular/core'\nimport { Observable, of, throwError } from 'rxjs'\nimport { map } from 'rxjs/operators'\n\nimport { TheSeamDynamicComponentLoader } from '@theseam/ui-common/dynamic-component-loader'\n\nimport { IWidgetRegistryRecord } from './widget-registry.models'\nimport { THESEAM_WIDGETS } from './widget-token'\n\n/**\n * Registry is to provide a way to manage widgets in a way that we can load them\n * the same way throughout the app, whether the component itself is registered,\n * the component is lazy-loaded, or referenced by an id stored in the database.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class WidgetRegistryService {\n\n constructor(\n @Inject(THESEAM_WIDGETS) private _widgets: IWidgetRegistryRecord[],\n private _dynamicComponentLoader: TheSeamDynamicComponentLoader\n ) { }\n\n public createWidgetPortal<T>(\n widgetId: string,\n viewContainerRef?: ViewContainerRef | null,\n injector?: Injector | null,\n componentFactoryResolver?: ComponentFactoryResolver | null | undefined\n ): Observable<ComponentPortal<T>> {\n const widgetDef = (this._widgets || []).find(w => w.widgetId === widgetId)\n\n if (!widgetDef) {\n return throwError(`WidgetRegstry: Unknown widgetId \"${widgetId}\"`)\n }\n\n if (typeof widgetDef.componentOrComponentId === 'string') {\n return this._dynamicComponentLoader\n .getComponentFactory<T>(widgetDef.componentOrComponentId)\n .pipe(\n map(componentFactory => {\n let resolver: ComponentFactoryResolver | null | undefined = componentFactoryResolver\n if (!resolver) {\n const m = (<any /* ComponentFactoryBoundToModule */>componentFactory).ngModule\n if (m && m.componentFactoryResolver) {\n resolver = m.componentFactoryResolver\n }\n }\n\n const portal = new ComponentPortal(\n componentFactory.componentType,\n viewContainerRef,\n injector,\n resolver\n )\n\n return portal\n }\n )\n )\n } else {\n const portal = new ComponentPortal(\n widgetDef.componentOrComponentId,\n viewContainerRef,\n injector,\n componentFactoryResolver\n )\n\n return of(portal)\n }\n }\n}\n","import { DragDropModule } from '@angular/cdk/drag-drop'\nimport { CdkTableModule } from '@angular/cdk/table'\nimport { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\nimport { RouterModule } from '@angular/router'\n\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome'\n\nimport { TheSeamButtonsModule } from '@theseam/ui-common/buttons'\nimport { TheSeamIconModule } from '@theseam/ui-common/icon'\nimport { TheSeamLoadingModule } from '@theseam/ui-common/loading'\n\nimport { WidgetDragHandleDirective } from './directives/widget-drag-handle.directive'\nimport { WidgetIconTplDirective } from './directives/widget-icon-tpl.directive'\nimport { WidgetTitleTplDirective } from './directives/widget-title-tpl.directive'\nimport { WidgetFooterComponent } from './widget-footer/widget-footer.component'\nimport { WidgetComponent } from './widget/widget.component'\n\nimport { TheSeamWidgetButtonGroupModule } from './widget-content-components/widget-button-group/widget-button-group.module'\nimport { TheSeamWidgetContentHeaderModule } from './widget-content-components/widget-content-header/widget-content-header.module'\nimport { TheSeamWidgetDescriptionModule } from './widget-content-components/widget-description/widget-description.module'\nimport { TheSeamWidgetEmptyLabelModule } from './widget-content-components/widget-empty-label/widget-empty-label.module'\nimport { TheSeamWidgetFooterLinkModule } from './widget-content-components/widget-footer-link/widget-footer-link.module'\nimport { TheSeamWidgetFooterTextModule } from './widget-content-components/widget-footer-text/widget-footer-text.module'\nimport { TheSeamWidgetHeaderBadgeModule } from './widget-content-components/widget-header-badge/widget-header-badge.module'\nimport { TheSeamWidgetListGroupModule } from './widget-content-components/widget-list-group/widget-list-group.module'\nimport { TheSeamWidgetTableModule } from './widget-content-components/widget-table/widget-table.module'\nimport { TheSeamWidgetTileListModule } from './widget-content-components/widget-tile-list/widget-tile-list.module'\nimport { TheSeamWidgetTileModule } from './widget-content-components/widget-tile/widget-tile.module'\n\nconst contentModules = [\n TheSeamWidgetButtonGroupModule,\n TheSeamWidgetContentHeaderModule,\n TheSeamWidgetDescriptionModule,\n TheSeamWidgetEmptyLabelModule,\n TheSeamWidgetFooterLinkModule,\n TheSeamWidgetFooterTextModule,\n TheSeamWidgetHeaderBadgeModule,\n TheSeamWidgetListGroupModule,\n TheSeamWidgetTableModule,\n TheSeamWidgetTileListModule,\n TheSeamWidgetTileModule\n]\n\n@NgModule({\n declarations: [\n WidgetComponent,\n WidgetIconTplDirective,\n WidgetTitleTplDirective,\n WidgetDragHandleDirective,\n WidgetFooterComponent\n ],\n imports: [\n CommonModule,\n FontAwesomeModule,\n TheSeamIconModule,\n TheSeamLoadingModule,\n DragDropModule,\n TheSeamButtonsModule,\n CdkTableModule,\n\n ...contentModules\n ],\n exports: [\n RouterModule,\n\n WidgetComponent,\n WidgetIconTplDirective,\n WidgetTitleTplDirective,\n WidgetFooterComponent,\n\n ...contentModules\n ]\n})\nexport class TheSeamWidgetModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;SAsDgB,YAAY,CAC1B,IAAoC,EACpC,MAAwC;IAExC,KAAK,MAAM,GAAG,IAAI,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BAAwB;IACxB,2BAA2B;IAC3B,uBAAuB;CACxB,CAAA;MAgCY,mBAAmB;;;YA9B/B,QAAQ,SAAC;gBACR,YAAY,EAAE;oBACZ,eAAe;oBACf,sBAAsB;oBACtB,uBAAuB;oBACvB,yBAAyB;oBACzB,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,iBAAiB;oBACjB,iBAAiB;oBACjB,oBAAoB;oBACpB,cAAc;oBACd,oBAAoB;oBACpB,cAAc;oBAEd,GAAG,cAAc;iBAClB;gBACD,OAAO,EAAE;oBACP,YAAY;oBAEZ,eAAe;oBACf,sBAAsB;oBACtB,uBAAuB;oBACvB,qBAAqB;oBAErB,GAAG,cAAc;iBAClB;aACF;;;ACzED;;;;;;"}
|
|
1
|
+
{"version":3,"file":"theseam-ui-common-widget.js","sources":["../../../projects/ui-common/widget/directives/widget-drag-handle.directive.ts","../../../projects/ui-common/widget/directives/widget-icon-tpl.directive.ts","../../../projects/ui-common/widget/directives/widget-title-tpl.directive.ts","../../../projects/ui-common/widget/widget-content-components/widget-button-group/widget-button-group.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-button-group/widget-button-group.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-content-header/widget-content-header.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-content-header/widget-content-header.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-description/widget-description.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-description/widget-description.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-empty-label/widget-empty-label.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-empty-label/widget-empty-label.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-footer-link/widget-footer-link.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-footer-link/widget-footer-link.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-footer-text/widget-footer-text.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-footer-text/widget-footer-text.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-header-badge/widget-header-badge.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-header-badge/widget-header-badge.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.ts","../../../projects/ui-common/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-list-group/widget-list-group.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-list-group/widget-list-group.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-table/widget-table.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-table/widget-table.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile/widget-tile.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile/widget-tile.module.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile-list/widget-tile-list.component.ts","../../../projects/ui-common/widget/widget-content-components/widget-tile-list/widget-tile-list.module.ts","../../../projects/ui-common/widget/widget/widget.component.ts","../../../projects/ui-common/widget/widget-footer/widget-footer.component.ts","../../../projects/ui-common/widget/widget-token.ts","../../../projects/ui-common/widget/widget-registry.service.ts","../../../projects/ui-common/widget/widget.module.ts","../../../projects/ui-common/widget/theseam-ui-common-widget.ts"],"sourcesContent":["import { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion'\nimport { CdkDrag, CdkDragHandle } from '@angular/cdk/drag-drop'\nimport {\n AfterViewInit,\n Directive,\n DoCheck,\n ElementRef,\n EventEmitter,\n Inject,\n InjectionToken,\n Input,\n NgZone,\n OnDestroy,\n OnInit,\n Optional,\n QueryList\n} from '@angular/core'\nimport { BehaviorSubject, Subject } from 'rxjs'\nimport { auditTime, filter, switchMap, take, takeUntil } from 'rxjs/operators'\n\nimport { getClosestWidgetCdkDrag } from '@theseam/ui-common/utils'\n\n//\n// NOTE: This will probably NOT be used long term, unless more of the\n// CdkDragDrop code is rewritten.\n//\n// This directive is meant to be a HACK replacement directive for CdkDragHandle.\n// The reason this was made is because CdkDragHandle doesn't work in child\n// components, since it uses ContentChildren to query for the handles.\n//\n// This could easily break, because I am forcing the handles query list to emit\n// changes manually. So, if the query list actually changes, then my changes\n// will be broken.\n//\n\n\n\n// Helper type that ignores `readonly` properties. This is used in\n// `extendStyles` to ignore the readonly properties on CSSStyleDeclaration\n// since we won't be touching those anyway.\ntype Writeable<T> = { -readonly [P in keyof T]-?: T[P] }\n\n/**\n * Extended CSSStyleDeclaration that includes a couple of drag-related\n * properties that aren't in the built-in TS typings.\n */\ninterface DragCSSStyleDeclaration extends CSSStyleDeclaration {\n webkitUserDrag: string\n MozUserSelect: string // For some reason the Firefox property is in PascalCase.\n msScrollSnapType: string\n scrollSnapType: string\n msUserSelect: string\n}\n\nexport function extendStyles(\n dest: Writeable<CSSStyleDeclaration>,\n source: Partial<DragCSSStyleDeclaration>\n) {\n for (const key in source) {\n if (source.hasOwnProperty(key)) {\n // tslint:disable-next-line: no-non-null-assertion\n dest[key] = source[key]!\n }\n }\n\n return dest\n}\n\nexport function toggleNativeDragInteractions(element: HTMLElement, enable: boolean) {\n const userSelect = enable ? '' : 'none'\n\n extendStyles(element.style, {\n touchAction: enable ? '' : 'none',\n webkitUserDrag: enable ? '' : 'none',\n webkitTapHighlightColor: enable ? '' : 'transparent',\n userSelect: userSelect,\n msUserSelect: userSelect,\n webkitUserSelect: userSelect,\n MozUserSelect: userSelect\n })\n}\n\nexport interface TheSeamWidgetAccessor<TItem> {\n widgetsChange: EventEmitter<TItem[]>\n cdkDragDirectives: QueryList<CdkDrag>\n}\n\nexport const THESEAM_WIDGET_ACCESSOR = new InjectionToken<TheSeamWidgetAccessor<any>>(\n 'TheSeamWidgetAccessor'\n)\n\n@Directive({\n selector: '[seamWidgetDragHandle]',\n host: {\n 'class': 'cdk-drag-handle'\n }\n})\nexport class WidgetDragHandleDirective implements OnInit, OnDestroy, AfterViewInit, DoCheck {\n static ngAcceptInputType_disabled: BooleanInput\n\n private readonly _ngUnsubscribe = new Subject()\n\n private _attachedToDom = new BehaviorSubject<boolean>(false)\n private _doneCheckingAttached = false\n private _knownParentDrag: any /* CdkDrag | undefined */\n\n /** Needed because CdkDrag reads this variable */\n get _parentDrag() { return this.getParentCdkDrag() }\n\n /** Emits when the state of the handle has changed. */\n _stateChanges = new Subject<CdkDragHandle>()\n\n /** Whether starting to drag through this handle is disabled. */\n @Input('cdkDragHandleDisabled')\n get disabled(): boolean { return this._disabled }\n set disabled(value: boolean) {\n this._disabled = coerceBooleanProperty(value)\n this._stateChanges.next(<any>this)\n }\n private _disabled = false\n\n constructor(\n public element: ElementRef<HTMLElement>,\n private _ngZone: NgZone,\n @Optional() @Inject(THESEAM_WIDGET_ACCESSOR) private _dashboardWidgets?: TheSeamWidgetAccessor<any>,\n @Optional() private __parentDrag?: CdkDrag\n ) {\n toggleNativeDragInteractions(element.nativeElement, false)\n }\n\n ngOnInit() {\n if (this._dashboardWidgets) {\n this._dashboardWidgets.widgetsChange.pipe(\n auditTime(0),\n takeUntil(this._ngUnsubscribe)\n ).subscribe(() => {\n if (this._knownParentDrag) {\n const isAttached = this.isAttachedToDom()\n if (isAttached) {\n const parent = <any>this.getParentCdkDrag()\n if (this._knownParentDrag !== parent) {\n this._attachedToDom.next(isAttached)\n }\n }\n\n }\n })\n }\n }\n\n ngAfterViewInit() {\n if (this.__parentDrag || this._dashboardWidgets) {\n // FIXME: This only works until the widget is moved to another template\n // outlet. Now that the component isn't reinitialized when moving between\n // lists the handle needs to now reflex that change to its new CdkDrag\n // parent and possibly tell its previous parent to forget it.\n\n // HACK: This is a hack to allow the `CdkDrag` directive to manage a\n // handle that is not visible to `ContentChildren` query.\n this._ngZone.onStable.asObservable()\n // .pipe(take(1), untilDestroyed(this))\n .pipe(\n take(1),\n // With the weird trick being done to keep widgets initialized when switching columns\n switchMap(() => this._attachedToDom.pipe(filter(v => v === true))),\n // take(1)\n takeUntil(this._ngUnsubscribe)\n )\n .subscribe(() => {\n const parent = <any>this.getParentCdkDrag()\n\n if (this._knownParentDrag && this._knownParentDrag !== parent) {\n this._knownParentDrag._dragRef.disableHandle(this.element.nativeElement)\n this._knownParentDrag = undefined\n }\n\n if (parent) {\n this._knownParentDrag = parent\n parent._handles.reset([ ...parent._handles._results, this ])\n parent._handles.notifyOnChanges()\n parent._dragRef.enableHandle(this.element.nativeElement)\n }\n })\n }\n }\n\n ngOnDestroy() {\n this._stateChanges.complete()\n this._attachedToDom.complete()\n\n this._ngUnsubscribe.next()\n this._ngUnsubscribe.complete()\n }\n\n ngDoCheck() {\n // The attached observable only emits once, so we can stop checking if\n // attached.\n if (this._doneCheckingAttached) { return }\n\n const isAttached = this.isAttachedToDom()\n if (isAttached !== this._attachedToDom.value) {\n this._attachedToDom.next(isAttached)\n this._doneCheckingAttached = true\n }\n }\n\n public isAttachedToDom(): boolean {\n return document.body.contains(this.element.nativeElement)\n }\n\n /** Closest parent draggable instance. */\n public getParentCdkDrag(): CdkDrag | undefined {\n if (this.__parentDrag) {\n return this.__parentDrag\n } else if (this._dashboardWidgets && this._dashboardWidgets.cdkDragDirectives) {\n const dragsArr = this._dashboardWidgets.cdkDragDirectives.toArray()\n const closest = getClosestWidgetCdkDrag(this.element, dragsArr)\n return (closest !== undefined && closest !== null) ? closest : undefined\n }\n }\n\n}\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamWidgetIconTpl]'\n})\nexport class WidgetIconTplDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamWidgetTitleTpl]'\n})\nexport class WidgetTitleTplDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-button-group',\n templateUrl: './widget-button-group.component.html',\n styleUrls: ['./widget-button-group.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetButtonGroupComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamButtonsModule } from '@theseam/ui-common/buttons'\n\nimport { WidgetButtonGroupComponent } from './widget-button-group.component'\n\n@NgModule({\n declarations: [\n WidgetButtonGroupComponent\n ],\n imports: [\n CommonModule,\n TheSeamButtonsModule\n ],\n exports: [\n WidgetButtonGroupComponent,\n\n TheSeamButtonsModule\n ]\n})\nexport class TheSeamWidgetButtonGroupModule { }\n","import { Component, OnInit, ViewEncapsulation } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-content-header',\n templateUrl: './widget-content-header.component.html',\n styleUrls: ['./widget-content-header.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class WidgetContentHeaderComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { WidgetContentHeaderComponent } from './widget-content-header.component'\n\n@NgModule({\n declarations: [\n WidgetContentHeaderComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetContentHeaderComponent\n ]\n})\nexport class TheSeamWidgetContentHeaderModule { }\n","import { ChangeDetectionStrategy, Component } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-description',\n templateUrl: './widget-description.component.html',\n styleUrls: ['./widget-description.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetDescriptionComponent { }\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { WidgetDescriptionComponent } from './widget-description.component'\n\n@NgModule({\n declarations: [\n WidgetDescriptionComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetDescriptionComponent\n ]\n})\nexport class TheSeamWidgetDescriptionModule { }\n","import { Component, ElementRef, HostBinding, Input, OnInit, ViewEncapsulation } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-empty-label,a[seam-widget-empty-label],button[seam-widget-empty-label]',\n templateUrl: './widget-empty-label.component.html',\n styleUrls: ['./widget-empty-label.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class WidgetEmptyLabelComponent implements OnInit {\n\n private _type: string | undefined | null\n\n @HostBinding('class.btn')\n get _btnCss() { return this._isButton() ? true : false }\n\n @HostBinding('class.btn-link')\n get _btnLinkCss() { return this._isButton() ? true : false }\n\n @HostBinding('attr.type')\n get _attrType() {\n return this._type || this._isButton() ? 'button' : undefined\n }\n\n @Input()\n get type(): string | undefined | null { return this._type }\n\n constructor(\n public _elementRef: ElementRef<HTMLElement | HTMLAnchorElement | HTMLButtonElement>\n ) { }\n\n ngOnInit() { }\n\n /** Determines if the component host is a button. */\n private _isButton(): boolean {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'button'\n }\n\n /** Determines if the component host is an anchor. */\n private _isAnchor(): boolean {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'a'\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { WidgetEmptyLabelComponent } from './widget-empty-label.component'\n\n@NgModule({\n declarations: [\n WidgetEmptyLabelComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetEmptyLabelComponent\n ]\n})\nexport class TheSeamWidgetEmptyLabelModule { }\n","import { Component, OnInit, ViewEncapsulation } from '@angular/core'\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: 'a[seam-widget-footer-link]',\n templateUrl: './widget-footer-link.component.html',\n styleUrls: ['./widget-footer-link.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class WidgetFooterLinkComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() { }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { WidgetFooterLinkComponent } from './widget-footer-link.component'\n\n@NgModule({\n declarations: [\n WidgetFooterLinkComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetFooterLinkComponent\n ]\n})\nexport class TheSeamWidgetFooterLinkModule { }\n","import { Component, OnInit, ViewEncapsulation } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-footer-text',\n templateUrl: './widget-footer-text.component.html',\n styleUrls: ['./widget-footer-text.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class WidgetFooterTextComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { WidgetFooterTextComponent } from './widget-footer-text.component'\n\n@NgModule({\n declarations: [\n WidgetFooterTextComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetFooterTextComponent\n ]\n})\nexport class TheSeamWidgetFooterTextModule { }\n","import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Input, OnInit, Renderer2, ViewEncapsulation } from '@angular/core'\n\nimport {\n CanThemeCtor,\n mixinTheme\n} from '@theseam/ui-common/core'\n\nclass WidgetHeaderBadgeBase {\n\n constructor(\n public _elementRef: ElementRef\n ) { }\n\n}\n\nconst _WidgetHeaderBadgeMixinBase: CanThemeCtor &\n typeof WidgetHeaderBadgeBase = mixinTheme(WidgetHeaderBadgeBase, 'badge')\n\n@Component({\n selector: 'seam-widget-header-badge',\n templateUrl: './widget-header-badge.component.html',\n styleUrls: ['./widget-header-badge.component.scss'],\n // tslint:disable-next-line:use-input-property-decorator\n inputs: [ 'theme' ],\n // tslint:disable-next-line:use-host-property-decorator\n host: {\n 'class': 'badge float-right'\n },\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetHeaderBadgeComponent extends _WidgetHeaderBadgeMixinBase implements OnInit {\n\n constructor(\n _elementRef: ElementRef\n ) { super(_elementRef) }\n\n ngOnInit() { }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { WidgetHeaderBadgeComponent } from './widget-header-badge.component'\n\n@NgModule({\n declarations: [\n WidgetHeaderBadgeComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetHeaderBadgeComponent\n ]\n})\nexport class TheSeamWidgetHeaderBadgeModule { }\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamWidgetListGroupItemIconTpl]',\n exportAs: 'seamWidgetListGroupItemIconTpl'\n})\nexport class WidgetListGroupItemIconTplDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { FocusMonitor } from '@angular/cdk/a11y'\nimport { ChangeDetectionStrategy, Component, ContentChild, Directive, ElementRef, Input, OnDestroy, OnInit, Renderer2 } from '@angular/core'\n\nimport {\n CanBeActive,\n CanBeActiveCtor,\n CanDisable,\n CanDisableCtor,\n CanTheme,\n CanThemeCtor,\n HasElementRef,\n mixinActive,\n mixinDisabled,\n mixinTheme\n} from '@theseam/ui-common/core'\nimport { SeamIcon } from '@theseam/ui-common/icon'\n\nimport { WidgetListGroupItemIconTplDirective } from './widget-list-group-item-icon-tpl.directive'\n\n// tslint:disable-next-line: max-line-length\nconst WIDGET_LIST_GROUP_ITEM_INPUTS = [ 'disabled', 'theme', 'active', 'icon', 'iconClass', 'label', 'secondaryIcon', 'secondaryIconClass', 'secondaryIconTitle' ]\n\n@Directive()\n// tslint:disable-next-line: directive-class-suffix\nclass WidgetListGroupItemBase {\n\n @ContentChild(WidgetListGroupItemIconTplDirective, { static: true }) iconTpl?: WidgetListGroupItemIconTplDirective\n\n icon?: SeamIcon\n iconClass?: string\n secondaryIcon?: SeamIcon\n secondaryIconClass?: string\n secondaryIconTitle?: string\n\n label?: string\n\n constructor(\n public _elementRef: ElementRef,\n public _renderer: Renderer2\n ) { }\n\n /** Focuses the element. */\n focus(): void {\n this._getHostElement().focus()\n }\n\n _getHostElement() {\n return this._elementRef.nativeElement\n }\n}\n\n@Directive()\n// tslint:disable-next-line: directive-class-suffix\nclass WidgetListGroupItemActionableBase extends WidgetListGroupItemBase implements OnDestroy {\n constructor(\n public _elementRef: ElementRef,\n public _focusMonitor: FocusMonitor,\n public _renderer: Renderer2\n ) {\n super(_elementRef, _renderer)\n this._focusMonitor.monitor(this._elementRef, true)\n }\n\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef)\n }\n}\n\n\nconst _WidgetListGroupItemBase: CanDisableCtor & CanThemeCtor & CanBeActiveCtor &\n typeof WidgetListGroupItemBase = mixinActive(mixinTheme(mixinDisabled(WidgetListGroupItemBase), 'list-group-item'))\n\nconst _WidgetListGroupItemActionableBase: CanDisableCtor & CanThemeCtor & CanBeActiveCtor &\n typeof WidgetListGroupItemActionableBase = mixinActive(mixinTheme(mixinDisabled(WidgetListGroupItemActionableBase), 'list-group-item'))\n\n@Component({\n selector: 'seam-widget-list-group-item',\n templateUrl: './widget-list-group-item.component.html',\n styleUrls: ['./widget-list-group-item.component.scss'],\n exportAs: 'seamWidgetListGroupItem',\n inputs: WIDGET_LIST_GROUP_ITEM_INPUTS,\n host: {\n 'class': 'list-group-item',\n '[class.active]': 'active',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.disabled]': 'disabled || null',\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetListGroupItemComponent extends _WidgetListGroupItemBase\n implements OnInit, HasElementRef, CanTheme, CanDisable, CanBeActive {\n\n constructor(\n public _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>,\n public _renderer: Renderer2\n ) {\n super(_elementRef, _renderer)\n }\n\n ngOnInit() { }\n\n}\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: 'button[seam-widget-list-group-item],button[seamWidgetListGroupItem]',\n templateUrl: './widget-list-group-item.component.html',\n styleUrls: ['./widget-list-group-item.component.scss'],\n exportAs: 'seamWidgetListGroupItem',\n inputs: WIDGET_LIST_GROUP_ITEM_INPUTS,\n host: {\n '[attr.type]': 'type',\n 'class': 'list-group-item list-group-item-action',\n '[class.active]': 'active',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.disabled]': 'disabled || null',\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetListGroupItemButtonComponent extends _WidgetListGroupItemActionableBase\n implements OnInit, HasElementRef, CanTheme, CanDisable, CanBeActive, OnDestroy {\n\n /** ARIA type for the button. */\n @Input() type: 'button' | 'submit' | 'reset' | undefined | null = 'button'\n\n constructor(\n public _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>,\n public _focusMonitor: FocusMonitor,\n public _renderer: Renderer2\n ) {\n super(_elementRef, _focusMonitor, _renderer)\n }\n\n ngOnInit() { }\n\n ngOnDestroy() { super.ngOnDestroy() }\n\n}\n\n@Component({\n // tslint:disable-next-line:component-selector\n selector: 'a[seam-widget-list-group-item],a[seamWidgetListGroupItem]',\n templateUrl: './widget-list-group-item.component.html',\n styleUrls: ['./widget-list-group-item.component.scss'],\n exportAs: 'seamWidgetListGroupItem',\n inputs: WIDGET_LIST_GROUP_ITEM_INPUTS,\n host: {\n 'class': 'list-group-item list-group-item-action',\n '[class.active]': 'active',\n '[attr.tabindex]': 'disabled ? -1 : (tabIndex || 0)',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.disabled]': 'disabled || null',\n '(click)': '_haltDisabledEvents($event)',\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetListGroupItemAnchorComponent extends _WidgetListGroupItemActionableBase\n implements OnInit, HasElementRef, CanTheme, CanDisable, CanBeActive, OnDestroy {\n\n /** Tabindex of the button. */\n @Input() tabIndex: number | undefined | null\n\n constructor(\n public _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>,\n public _focusMonitor: FocusMonitor,\n public _renderer: Renderer2\n ) {\n super(_elementRef, _focusMonitor, _renderer)\n }\n\n ngOnInit() { }\n\n ngOnDestroy() { super.ngOnDestroy() }\n\n _haltDisabledEvents(event: Event) {\n // A disabled button shouldn't apply any actions\n if (this.disabled) {\n event.preventDefault()\n event.stopImmediatePropagation()\n }\n }\n\n}\n","import { ChangeDetectionStrategy, Component, ContentChild, HostBinding, Input, OnInit } from '@angular/core'\n\n// TODO: Make `ListGroup` a root component and wrap it with `WidgetListGroup`.\n\n@Component({\n selector: 'seam-widget-list-group',\n templateUrl: './widget-list-group.component.html',\n styleUrls: ['./widget-list-group.component.scss'],\n host: {\n 'class': 'list-group'\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetListGroupComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() { }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamIconModule } from '@theseam/ui-common/icon'\n\nimport { WidgetListGroupItemIconTplDirective } from './widget-list-group-item/widget-list-group-item-icon-tpl.directive'\nimport {\n WidgetListGroupItemAnchorComponent,\n WidgetListGroupItemButtonComponent,\n WidgetListGroupItemComponent\n} from './widget-list-group-item/widget-list-group-item.component'\nimport { WidgetListGroupComponent } from './widget-list-group.component'\n\n@NgModule({\n declarations: [\n WidgetListGroupComponent,\n WidgetListGroupItemAnchorComponent,\n WidgetListGroupItemButtonComponent,\n WidgetListGroupItemComponent,\n WidgetListGroupItemIconTplDirective\n ],\n imports: [\n CommonModule,\n TheSeamIconModule\n ],\n exports: [\n WidgetListGroupComponent,\n WidgetListGroupItemAnchorComponent,\n WidgetListGroupItemButtonComponent,\n WidgetListGroupItemComponent,\n WidgetListGroupItemIconTplDirective\n ]\n})\nexport class TheSeamWidgetListGroupModule { }\n","import { BooleanInput } from '@angular/cdk/coercion'\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport type { ITableColumn, TrackByFunction } from '@theseam/ui-common/table'\n\n@Component({\n selector: 'seam-widget-table',\n templateUrl: './widget-table.component.html',\n styleUrls: ['./widget-table.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetTableComponent<T> {\n static ngAcceptInputType_hasHeader: BooleanInput\n\n @Input() columns: (string | ITableColumn)[] | undefined | null\n @Input() rows: T[] | undefined | null = []\n @Input() trackBy: TrackByFunction<T> | undefined | null\n @Input() size: 'sm' | 'md' | undefined | null = 'sm'\n @Input() @InputBoolean() hasHeader: boolean = true\n\n @Output() readonly actionRefreshRequest = new EventEmitter<any>()\n\n constructor() { }\n\n _actionRefreshRequest() {\n this.actionRefreshRequest.emit()\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamTableModule } from '@theseam/ui-common/table'\nimport { TheSeamTableCellTypesModule } from '@theseam/ui-common/table-cell-types'\n\nimport { WidgetTableComponent } from './widget-table.component'\n\n@NgModule({\n declarations: [\n WidgetTableComponent\n ],\n imports: [\n CommonModule,\n TheSeamTableModule,\n TheSeamTableCellTypesModule\n ],\n exports: [\n WidgetTableComponent\n ]\n})\nexport class TheSeamWidgetTableModule { }\n","import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-tile-footer,[seam-widget-tile-footer]',\n templateUrl: './widget-tile-footer.component.html',\n styleUrls: ['./widget-tile-footer.component.scss'],\n host: {\n class: 'd-flex flex-row justify-content-end'\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetTileFooterComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { BooleanInput } from '@angular/cdk/coercion'\nimport { ChangeDetectionStrategy, Component, ElementRef, HostBinding, Input, OnInit } from '@angular/core'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\n\n@Component({\n selector: 'seam-widget-tile-footer-item,a[seam-widget-tile-footer-item],button[seam-widget-tile-footer-item]',\n templateUrl: './widget-tile-footer-item.component.html',\n styleUrls: ['./widget-tile-footer-item.component.scss'],\n host: {\n class: 'btn btn-link py-0 px-1'\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetTileFooterItemComponent implements OnInit {\n static ngAcceptInputType_disabled: BooleanInput\n\n private _type: string | undefined | null\n\n @HostBinding('attr.type')\n get _attrType() {\n return this._type || this._isButton() ? 'button' : undefined\n }\n\n @HostBinding('class.disabled')\n get _DisabledCss() { return this.disabled }\n\n @Input()\n get type(): string | undefined | null { return this._type }\n\n @Input() @InputBoolean() disabled = false\n\n constructor(\n public _elementRef: ElementRef<HTMLElement | HTMLAnchorElement | HTMLButtonElement>\n ) { }\n\n ngOnInit() { }\n\n /** Determines if the component host is a button. */\n private _isButton(): boolean {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'button'\n }\n}\n","import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-tile-group',\n templateUrl: './widget-tile-group.component.html',\n styleUrls: ['./widget-tile-group.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class WidgetTileGroupComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamWidgetTileSecondaryIcon]',\n exportAs: 'seamWidgetTileSecondaryIcon'\n})\nexport class WidgetTileSecondaryIconDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { FocusMonitor } from '@angular/cdk/a11y'\nimport { BooleanInput } from '@angular/cdk/coercion'\nimport { Component, ContentChild, ElementRef, HostBinding, Input, OnDestroy, OnInit, Renderer2, ViewEncapsulation } from '@angular/core'\n\nimport { IconProp } from '@fortawesome/fontawesome-svg-core'\n\nimport {\n CanDisableCtor,\n HasElementRef,\n HasRenderer2,\n HasTabIndexCtor,\n InputBoolean,\n mixinDisabled,\n mixinTabIndex,\n} from '@theseam/ui-common/core'\nimport { TheSeamIconType } from '@theseam/ui-common/icon'\n\nimport { WidgetTileSecondaryIconDirective } from './widget-tile-secondary-icon.directive'\n\n@Component({ template: '' })\n// tslint:disable-next-line: component-class-suffix\nclass TheSeamWidgetTileBase implements OnDestroy, HasRenderer2, HasElementRef {\n constructor(\n public _elementRef: ElementRef,\n public _focusMonitor: FocusMonitor,\n public _renderer: Renderer2\n ) {\n this._focusMonitor.monitor(this._elementRef, true)\n }\n\n ngOnDestroy() {\n this._focusMonitor.stopMonitoring(this._elementRef)\n }\n\n /** Focuses the button. */\n focus(): void {\n this._getHostElement().focus()\n }\n\n _getHostElement() {\n return this._elementRef.nativeElement\n }\n}\n\nconst _TheSeamWidgetTileMixinBase: CanDisableCtor & HasTabIndexCtor &\n typeof TheSeamWidgetTileBase = mixinTabIndex(mixinDisabled(TheSeamWidgetTileBase))\n\n// TODO: Should this component be split into separate components for button and anchor.\n@Component({\n selector: 'seam-widget-tile, a[seam-widget-tile], button[seam-widget-tile]',\n templateUrl: './widget-tile.component.html',\n styleUrls: ['./widget-tile.component.scss'],\n inputs: [ 'disabled' ],\n exportAs: 'seamWidgetTile',\n encapsulation: ViewEncapsulation.None\n})\nexport class WidgetTileComponent extends _TheSeamWidgetTileMixinBase implements OnInit, OnDestroy {\n static ngAcceptInputType_grayscaleOnDisable: BooleanInput\n\n private _clickUnListen: (() => void | undefined | null) | undefined | null\n\n private _type: string | undefined | null\n\n @HostBinding('attr.type')\n get _attrType() {\n return this._type || this._isButton() ? 'button' : undefined\n }\n\n @HostBinding('class.btn')\n get _btnCss() { return this._isButton() ? true : false }\n\n @HostBinding('class.disabled')\n get _disabledCss() { return this.disabled }\n\n @HostBinding('attr.aria-disabled')\n get _ariaDisabled() { return this.disabled.toString() }\n\n @HostBinding('attr.disabled')\n get _attrDisabled() { return this.disabled || null }\n\n @HostBinding('attr.tabindex')\n get _attrTabIndex() { return this.disabled ? -1 : (this.tabIndex || 0) }\n\n @Input()\n get type(): string | undefined | null { return this._type }\n\n @Input() icon: string | IconProp | undefined | null\n\n @Input() @InputBoolean() grayscaleOnDisable: boolean = true\n\n @Input() iconClass: string | undefined | null\n\n @Input() iconType: TheSeamIconType | undefined | null = 'styled-square'\n\n @Input() notificationIcon: string | IconProp | undefined | null\n @Input() notificationIconClass: string | undefined | null\n\n @ContentChild(WidgetTileSecondaryIconDirective, { static: true }) secondaryIcon?: WidgetTileSecondaryIconDirective\n\n constructor(\n _elementRef: ElementRef<HTMLElement | HTMLAnchorElement | HTMLButtonElement>,\n _focusMonitor: FocusMonitor,\n _renderer: Renderer2\n ) { super(_elementRef, _focusMonitor, _renderer) }\n\n ngOnInit() {\n if (this._isAnchor()) {\n this._clickUnListen = this._renderer.listen(this._getHostElement(), 'click', this._haltDisabledEvents)\n }\n }\n\n ngOnDestroy() {\n super.ngOnDestroy()\n if (this._clickUnListen) {\n this._clickUnListen()\n }\n }\n\n /** Determines if the component host is a button. */\n private _isButton(): boolean {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'button'\n }\n\n /** Determines if the component host is an anchor. */\n private _isAnchor(): boolean {\n return this._elementRef.nativeElement.nodeName.toLowerCase() === 'a'\n }\n\n _haltDisabledEvents = (event: Event) => {\n // A disabled button shouldn't apply any actions\n if (this.disabled) {\n event.preventDefault()\n event.stopImmediatePropagation()\n }\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamIconModule } from '@theseam/ui-common/icon'\n\nimport { WidgetTileFooterItemComponent } from './widget-tile-footer-item/widget-tile-footer-item.component'\nimport { WidgetTileFooterComponent } from './widget-tile-footer/widget-tile-footer.component'\nimport { WidgetTileGroupComponent } from './widget-tile-group/widget-tile-group.component'\nimport { WidgetTileSecondaryIconDirective } from './widget-tile-secondary-icon.directive'\nimport { WidgetTileComponent } from './widget-tile.component'\n\n@NgModule({\n declarations: [\n WidgetTileComponent,\n WidgetTileSecondaryIconDirective,\n WidgetTileFooterComponent,\n WidgetTileGroupComponent,\n WidgetTileFooterItemComponent\n ],\n imports: [\n CommonModule,\n TheSeamIconModule\n ],\n exports: [\n WidgetTileComponent,\n WidgetTileSecondaryIconDirective,\n WidgetTileFooterComponent,\n WidgetTileGroupComponent,\n WidgetTileFooterItemComponent\n ]\n})\nexport class TheSeamWidgetTileModule { }\n","import { Component, OnInit } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-tile-list',\n templateUrl: './widget-tile-list.component.html',\n styleUrls: ['./widget-tile-list.component.scss']\n})\nexport class WidgetTileListComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamWidgetTileModule } from '../widget-tile/widget-tile.module'\n\nimport { WidgetTileListComponent } from './widget-tile-list.component'\n\n@NgModule({\n declarations: [\n WidgetTileListComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n WidgetTileListComponent,\n TheSeamWidgetTileModule\n ]\n})\nexport class TheSeamWidgetTileListModule { }\n","import { animate, style, transition, trigger } from '@angular/animations'\nimport { BooleanInput } from '@angular/cdk/coercion'\nimport { Component, ContentChild, Input, OnInit, ViewEncapsulation } from '@angular/core'\n\nimport { IconProp } from '@fortawesome/fontawesome-svg-core'\nimport { faAngleDown, faCog } from '@fortawesome/free-solid-svg-icons'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport { SeamIcon } from '@theseam/ui-common/icon'\n\nimport { WidgetIconTplDirective } from '../directives/widget-icon-tpl.directive'\nimport { WidgetTitleTplDirective } from '../directives/widget-title-tpl.directive'\n\n/**\n * Widget\n *\n * Widgets are designed with the intention of being on a dashboard. Other uses\n * may be supported as the need arises.\n *\n * The only HTML/CSS use should be a widget content component, unless there is a\n * case requiring more advanced design. This is so that we can manage a common\n * style for our widgets. If a case requiring non widget content components is\n * used then the situation should be considered for becoming a widget component.\n */\n@Component({\n selector: 'seam-widget',\n templateUrl: './widget.component.html',\n styleUrls: ['./widget.component.scss'],\n encapsulation: ViewEncapsulation.None,\n animations: [\n trigger('loadingAnim', [\n transition(':enter', [\n style({ opacity: 0 }),\n animate('250ms ease-in-out', style({ opacity: 1 }))\n ]),\n transition(':leave', [\n style({ opacity: 1 }),\n animate('250ms ease-in-out', style({ opacity: 0 }))\n ])\n ])\n ]\n})\nexport class WidgetComponent implements OnInit {\n static ngAcceptInputType_hasHeader: BooleanInput\n static ngAcceptInputType_loading: BooleanInput\n static ngAcceptInputType_hasConfig: BooleanInput\n static ngAcceptInputType_canCollapse: BooleanInput\n\n /** @ignore */\n configIcon = faCog\n /** @ignore */\n collapseIcon = faAngleDown\n\n @Input() @InputBoolean() collapsed: boolean = false\n\n /**\n * Toggles the top header bar of a widget. This should be true for most\n * widgets.\n */\n @Input() @InputBoolean() hasHeader: boolean = true\n\n /**\n * Title displayed in the top header.\n *\n * If a more advanced title is needed you can use `seamWidgetTitleTpl`\n * template directive, but text is recommended, because allowing custom styles\n * can lead to inconsitency quickly as different developers keep making\n * tweaks.\n */\n @Input() titleText: string | undefined | null\n\n /**\n * Icon displayed in the top header.\n *\n * If a more advanced icon is needed you can use `seamWidgetIconTpl` template\n * directive, but a `SeamIcon` input is recommended, because allowing custom\n * icons that do not follow the tested types can lead to inconsitency quickly\n * as different developers keep making tweaks.\n */\n @Input()\n get icon(): SeamIcon | undefined { return this._iconUrl || this._iconObj }\n set icon(value: SeamIcon | undefined) {\n if (typeof value === 'string') {\n this._iconUrl = value\n this._iconObj = undefined\n } else {\n this._iconUrl = undefined\n this._iconObj = value\n }\n }\n\n /** @ignore */\n public _iconUrl: string | undefined\n /** @ignore */\n public _iconObj: IconProp | undefined\n\n /** Add a css class to the header icon. */\n @Input() iconClass: string | undefined | null\n\n /** Shows widget loading instead of content. */\n @Input() @InputBoolean() loading = false\n\n /** @ignore */\n // NOTE: Config is still being worked on.\n @Input() @InputBoolean() hasConfig = false\n /** @ignore */\n // NOTE: Collapse is still being worked on.\n @Input() @InputBoolean() canCollapse = false\n\n @ContentChild(WidgetIconTplDirective, { static: true }) iconTpl?: WidgetIconTplDirective\n @ContentChild(WidgetTitleTplDirective, { static: true }) titleTpl?: WidgetTitleTplDirective\n\n /** @ignore */\n constructor() { }\n\n /** @ignore */\n ngOnInit() { }\n\n /**\n * Toggles a widget's collapsed state.\n *\n * NOTE: Collapse is still being worked on.\n * @depracated\n * @ignore\n */\n collapse() {\n this.collapsed = !this.collapsed\n }\n\n}\n","import { ChangeDetectionStrategy, Component, OnInit, ViewEncapsulation } from '@angular/core'\n\n@Component({\n selector: 'seam-widget-footer',\n templateUrl: './widget-footer.component.html',\n styleUrls: ['./widget-footer.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None\n})\nexport class WidgetFooterComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() { }\n\n}\n","import { InjectionToken } from '@angular/core'\n\nimport { IWidgetRegistryRecord } from './widget-registry.models'\n\nexport const THESEAM_WIDGETS = new InjectionToken<IWidgetRegistryRecord>('TheSeamWidgets')\n","import { ComponentPortal } from '@angular/cdk/portal'\nimport { ComponentFactoryResolver, Inject, Injectable, Injector, ViewContainerRef } from '@angular/core'\nimport { Observable, of, throwError } from 'rxjs'\nimport { map } from 'rxjs/operators'\n\nimport { TheSeamDynamicComponentLoader } from '@theseam/ui-common/dynamic-component-loader'\n\nimport { IWidgetRegistryRecord } from './widget-registry.models'\nimport { THESEAM_WIDGETS } from './widget-token'\n\n/**\n * Registry is to provide a way to manage widgets in a way that we can load them\n * the same way throughout the app, whether the component itself is registered,\n * the component is lazy-loaded, or referenced by an id stored in the database.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class WidgetRegistryService {\n\n constructor(\n @Inject(THESEAM_WIDGETS) private _widgets: IWidgetRegistryRecord[],\n private _dynamicComponentLoader: TheSeamDynamicComponentLoader\n ) { }\n\n public createWidgetPortal<T>(\n widgetId: string,\n viewContainerRef?: ViewContainerRef | null,\n injector?: Injector | null,\n componentFactoryResolver?: ComponentFactoryResolver | null | undefined\n ): Observable<ComponentPortal<T>> {\n const widgetDef = (this._widgets || []).find(w => w.widgetId === widgetId)\n\n if (!widgetDef) {\n return throwError(`WidgetRegstry: Unknown widgetId \"${widgetId}\"`)\n }\n\n if (typeof widgetDef.componentOrComponentId === 'string') {\n return this._dynamicComponentLoader\n .getComponentFactory<T>(widgetDef.componentOrComponentId)\n .pipe(\n map(componentFactory => {\n let resolver: ComponentFactoryResolver | null | undefined = componentFactoryResolver\n if (!resolver) {\n const m = (<any /* ComponentFactoryBoundToModule */>componentFactory).ngModule\n if (m && m.componentFactoryResolver) {\n resolver = m.componentFactoryResolver\n }\n }\n\n const portal = new ComponentPortal(\n componentFactory.componentType,\n viewContainerRef,\n injector,\n resolver\n )\n\n return portal\n }\n )\n )\n } else {\n const portal = new ComponentPortal(\n widgetDef.componentOrComponentId,\n viewContainerRef,\n injector,\n componentFactoryResolver\n )\n\n return of(portal)\n }\n }\n}\n","import { DragDropModule } from '@angular/cdk/drag-drop'\nimport { CdkTableModule } from '@angular/cdk/table'\nimport { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\nimport { RouterModule } from '@angular/router'\n\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome'\n\nimport { TheSeamButtonsModule } from '@theseam/ui-common/buttons'\nimport { TheSeamIconModule } from '@theseam/ui-common/icon'\nimport { TheSeamLoadingModule } from '@theseam/ui-common/loading'\n\nimport { WidgetDragHandleDirective } from './directives/widget-drag-handle.directive'\nimport { WidgetIconTplDirective } from './directives/widget-icon-tpl.directive'\nimport { WidgetTitleTplDirective } from './directives/widget-title-tpl.directive'\nimport { WidgetFooterComponent } from './widget-footer/widget-footer.component'\nimport { WidgetComponent } from './widget/widget.component'\n\nimport { TheSeamWidgetButtonGroupModule } from './widget-content-components/widget-button-group/widget-button-group.module'\nimport { TheSeamWidgetContentHeaderModule } from './widget-content-components/widget-content-header/widget-content-header.module'\nimport { TheSeamWidgetDescriptionModule } from './widget-content-components/widget-description/widget-description.module'\nimport { TheSeamWidgetEmptyLabelModule } from './widget-content-components/widget-empty-label/widget-empty-label.module'\nimport { TheSeamWidgetFooterLinkModule } from './widget-content-components/widget-footer-link/widget-footer-link.module'\nimport { TheSeamWidgetFooterTextModule } from './widget-content-components/widget-footer-text/widget-footer-text.module'\nimport { TheSeamWidgetHeaderBadgeModule } from './widget-content-components/widget-header-badge/widget-header-badge.module'\nimport { TheSeamWidgetListGroupModule } from './widget-content-components/widget-list-group/widget-list-group.module'\nimport { TheSeamWidgetTableModule } from './widget-content-components/widget-table/widget-table.module'\nimport { TheSeamWidgetTileListModule } from './widget-content-components/widget-tile-list/widget-tile-list.module'\nimport { TheSeamWidgetTileModule } from './widget-content-components/widget-tile/widget-tile.module'\n\nconst contentModules = [\n TheSeamWidgetButtonGroupModule,\n TheSeamWidgetContentHeaderModule,\n TheSeamWidgetDescriptionModule,\n TheSeamWidgetEmptyLabelModule,\n TheSeamWidgetFooterLinkModule,\n TheSeamWidgetFooterTextModule,\n TheSeamWidgetHeaderBadgeModule,\n TheSeamWidgetListGroupModule,\n TheSeamWidgetTableModule,\n TheSeamWidgetTileListModule,\n TheSeamWidgetTileModule\n]\n\n@NgModule({\n declarations: [\n WidgetComponent,\n WidgetIconTplDirective,\n WidgetTitleTplDirective,\n WidgetDragHandleDirective,\n WidgetFooterComponent\n ],\n imports: [\n CommonModule,\n FontAwesomeModule,\n TheSeamIconModule,\n TheSeamLoadingModule,\n DragDropModule,\n TheSeamButtonsModule,\n CdkTableModule,\n\n ...contentModules\n ],\n exports: [\n RouterModule,\n\n WidgetComponent,\n WidgetIconTplDirective,\n WidgetTitleTplDirective,\n WidgetFooterComponent,\n\n ...contentModules\n ]\n})\nexport class TheSeamWidgetModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;SAsDgB,YAAY,CAC1B,IAAoC,EACpC,MAAwC;IAExC,KAAK,MAAM,G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B;IAC7B,6BAA6B;IAC7B,8BAA8B;IAC9B,4BAA4B;IAC5B,wBAAwB;IACxB,2BAA2B;IAC3B,uBAAuB;CACxB,CAAA;MAgCY,mBAAmB;;;YA9B/B,QAAQ,SAAC;gBACR,YAAY,EAAE;oBACZ,eAAe;oBACf,sBAAsB;oBACtB,uBAAuB;oBACvB,yBAAyB;oBACzB,qBAAqB;iBACtB;gBACD,OAAO,EAAE;oBACP,YAAY;oBACZ,iBAAiB;oBACjB,iBAAiB;oBACjB,oBAAoB;oBACpB,cAAc;oBACd,oBAAoB;oBACpB,cAAc;oBAEd,GAAG,cAAc;iBAClB;gBACD,OAAO,EAAE;oBACP,YAAY;oBAEZ,eAAe;oBACf,sBAAsB;oBACtB,uBAAuB;oBACvB,qBAAqB;oBAErB,GAAG,cAAc;iBAClB;aACF;;;ACzED;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@import './styles/utilities';
|
|
2
|
-
|
|
3
|
-
@import './top-bar-menu-button/top-bar-menu-button.component';
|
|
4
|
-
@import './top-bar-title/top-bar-title.component';
|
|
5
|
-
@import './top-bar.component';
|
|
1
|
+
@import './styles/utilities';
|
|
2
|
+
|
|
3
|
+
@import './top-bar-menu-button/top-bar-menu-button.component';
|
|
4
|
+
@import './top-bar-title/top-bar-title.component';
|
|
5
|
+
@import './top-bar.component';
|