@skyux/layout 5.5.0 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/skyux-layout.umd.js +335 -335
- package/documentation.json +130 -130
- package/esm2015/lib/modules/action-button/action-button-container.component.js +1 -1
- package/esm2015/lib/modules/action-button/action-button-container.component.js.map +1 -1
- package/esm2015/lib/modules/action-button/action-button-icon.component.js.map +1 -1
- package/esm2015/lib/modules/action-button/action-button.module.js.map +1 -1
- package/esm2015/lib/modules/back-to-top/back-to-top-adapter.service.js +1 -1
- package/esm2015/lib/modules/back-to-top/back-to-top-adapter.service.js.map +1 -1
- package/esm2015/lib/modules/back-to-top/back-to-top.directive.js.map +1 -1
- package/esm2015/lib/modules/back-to-top/back-top-top.module.js +3 -3
- package/esm2015/lib/modules/back-to-top/back-top-top.module.js.map +1 -1
- package/esm2015/lib/modules/box/box.module.js.map +1 -1
- package/esm2015/lib/modules/card/card.component.js +2 -2
- package/esm2015/lib/modules/card/card.component.js.map +1 -1
- package/esm2015/lib/modules/card/card.module.js.map +1 -1
- package/esm2015/lib/modules/definition-list/definition-list.module.js +2 -2
- package/esm2015/lib/modules/definition-list/definition-list.module.js.map +1 -1
- package/esm2015/lib/modules/description-list/description-list-content.component.js +1 -1
- package/esm2015/lib/modules/description-list/description-list-content.component.js.map +1 -1
- package/esm2015/lib/modules/description-list/description-list-description.component.js +1 -1
- package/esm2015/lib/modules/description-list/description-list-description.component.js.map +1 -1
- package/esm2015/lib/modules/description-list/description-list.component.js +1 -1
- package/esm2015/lib/modules/description-list/description-list.component.js.map +1 -1
- package/esm2015/lib/modules/description-list/description-list.module.js +2 -2
- package/esm2015/lib/modules/description-list/description-list.module.js.map +1 -1
- package/esm2015/lib/modules/fluid-grid/column.component.js +1 -1
- package/esm2015/lib/modules/fluid-grid/column.component.js.map +1 -1
- package/esm2015/lib/modules/fluid-grid/fluid-grid.component.js.map +1 -1
- package/esm2015/lib/modules/fluid-grid/fluid-grid.module.js +2 -2
- package/esm2015/lib/modules/fluid-grid/fluid-grid.module.js.map +1 -1
- package/esm2015/lib/modules/fluid-grid/row.component.js.map +1 -1
- package/esm2015/lib/modules/format/format.module.js +1 -1
- package/esm2015/lib/modules/format/format.module.js.map +1 -1
- package/esm2015/lib/modules/inline-delete/inline-delete-adapter.service.js.map +1 -1
- package/esm2015/lib/modules/inline-delete/inline-delete.component.js.map +1 -1
- package/esm2015/lib/modules/inline-delete/inline-delete.module.js +1 -1
- package/esm2015/lib/modules/inline-delete/inline-delete.module.js.map +1 -1
- package/esm2015/lib/modules/page-summary/page-summary-adapter.service.js +2 -2
- package/esm2015/lib/modules/page-summary/page-summary-adapter.service.js.map +1 -1
- package/esm2015/lib/modules/page-summary/page-summary.component.js.map +1 -1
- package/esm2015/lib/modules/page-summary/page-summary.module.js.map +1 -1
- package/esm2015/lib/modules/shared/sky-layout-resources.module.js +1 -1
- package/esm2015/lib/modules/shared/sky-layout-resources.module.js.map +1 -1
- package/esm2015/lib/modules/text-expand/text-expand-modal.component.js.map +1 -1
- package/esm2015/lib/modules/text-expand/text-expand.component.js +7 -7
- package/esm2015/lib/modules/text-expand/text-expand.component.js.map +1 -1
- package/esm2015/lib/modules/text-expand/text-expand.module.js +2 -2
- package/esm2015/lib/modules/text-expand/text-expand.module.js.map +1 -1
- package/esm2015/lib/modules/text-expand-repeater/text-expand-repeater.component.js +6 -6
- package/esm2015/lib/modules/text-expand-repeater/text-expand-repeater.component.js.map +1 -1
- package/esm2015/lib/modules/text-expand-repeater/text-expand-repeater.module.js +1 -1
- package/esm2015/lib/modules/text-expand-repeater/text-expand-repeater.module.js.map +1 -1
- package/esm2015/lib/modules/toolbar/toolbar.component.js.map +1 -1
- package/esm2015/lib/modules/toolbar/toolbar.module.js +2 -2
- package/esm2015/lib/modules/toolbar/toolbar.module.js.map +1 -1
- package/esm2015/testing/action-button-fixture.js.map +1 -1
- package/esm2015/testing/card-fixture.js.map +1 -1
- package/esm2015/testing/page-summary-fixture.js.map +1 -1
- package/fesm2015/skyux-layout-testing.js.map +1 -1
- package/fesm2015/skyux-layout.js +315 -315
- package/fesm2015/skyux-layout.js.map +1 -1
- package/lib/modules/action-button/action-button-container.component.d.ts +1 -1
- package/lib/modules/card/card.component.d.ts +1 -1
- package/lib/modules/description-list/description-list-content.component.d.ts +1 -1
- package/lib/modules/description-list/description-list.component.d.ts +1 -1
- package/lib/modules/fluid-grid/column.component.d.ts +1 -1
- package/lib/modules/text-expand-repeater/text-expand-repeater.component.d.ts +1 -1
- package/package.json +8 -8
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Component, ContentChildren, ElementRef, HostListener, Input, NgZone, Optional, QueryList, ViewChild, ViewEncapsulation, } from '@angular/core';
|
|
2
2
|
import { MutationObserverService, SkyCoreAdapterService } from '@skyux/core';
|
|
3
3
|
import { SkyThemeService } from '@skyux/theme';
|
|
4
|
-
import { takeUntil } from 'rxjs/operators';
|
|
5
4
|
import { Subject } from 'rxjs';
|
|
5
|
+
import { takeUntil } from 'rxjs/operators';
|
|
6
6
|
import { SkyActionButtonAdapterService } from './action-button-adapter-service';
|
|
7
7
|
import { SkyActionButtonComponent } from './action-button.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-button-container.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/action-button/action-button-container.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/action-button/action-button-container.component.html"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,UAAU,EACV,YAAY,EACZ,KAAK,EACL,MAAM,EAGN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,iBAAiB,GAClB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"action-button-container.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/action-button/action-button-container.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/action-button/action-button-container.component.html"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,UAAU,EACV,YAAY,EACZ,KAAK,EACL,MAAM,EAGN,QAAQ,EACR,SAAS,EACT,SAAS,EACT,iBAAiB,GAClB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;;;;;;AAGrE;;;GAGG;AAQH,MAAM,OAAO,iCAAiC;IAwC5C,YACU,0BAAyD,EACzD,SAA4B,EAC5B,kBAAyC,EACzC,SAAqB,EACrB,mBAA4C,EAC5C,MAAc,EACF,QAA0B;QANtC,+BAA0B,GAA1B,0BAA0B,CAA+B;QACzD,cAAS,GAAT,SAAS,CAAmB;QAC5B,uBAAkB,GAAlB,kBAAkB,CAAuB;QACzC,cAAS,GAAT,SAAS,CAAY;QACrB,wBAAmB,GAAnB,mBAAmB,CAAyB;QAC5C,WAAM,GAAN,MAAM,CAAQ;QACF,aAAQ,GAAR,QAAQ,CAAkB;QAnBxC,kBAAa,GAAG,IAAI,OAAO,EAAE,CAAC;IAoBnC,CAAC;IA7CJ;;;;OAIG;IACH,IACW,UAAU,CAAC,KAA6C;QACjE,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;IAC3B,CAAC;IAED,IAAW,UAAU;QACnB,OAAO,IAAI,CAAC,WAAW,IAAI,QAAQ,CAAC;IACtC,CAAC;IAeD,IAAY,SAAS,CAAC,KAAa;QACjC,IAAI,CAAC,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,wDAoBzB,wBAAwB,mHAIjC,UAAU,2CC1DpB,mUAWA;4FD0Ba,iCAAiC;kBAP7C,SAAS;mBAAC;oBACT,QAAQ,EAAE,6BAA6B;oBACvC,SAAS,EAAE,CAAC,0CAA0C,CAAC;oBACvD,WAAW,EAAE,0CAA0C;oBACvD,SAAS,EAAE,CAAC,6BAA6B,CAAC;oBAC1C,aAAa,EAAE,iBAAiB,CAAC,IAAI;iBACtC;;0BAgDI,QAAQ;4CAtCA,UAAU;sBADpB,KAAK;gBAUE,aAAa;sBADpB,eAAe;uBAAC,wBAAwB;gBAOjC,YAAY;sBAJnB,SAAS;uBAAC,WAAW,EAAE;wBACtB,IAAI,EAAE,UAAU;wBAChB,MAAM,EAAE,IAAI;qBACb;gBAkEM,cAAc;sBADpB,YAAY;uBAAC,eAAe","sourcesContent":["import {\n AfterContentInit,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n HostListener,\n Input,\n NgZone,\n OnDestroy,\n OnInit,\n Optional,\n QueryList,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { MutationObserverService, SkyCoreAdapterService } from '@skyux/core';\nimport { SkyThemeService } from '@skyux/theme';\n\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { SkyActionButtonAdapterService } from './action-button-adapter-service';\nimport { SkyActionButtonComponent } from './action-button.component';\nimport { SkyActionButtonContainerAlignItemsType } from './types/action-button-container-align-items-type';\n\n/**\n * Wraps action buttons to ensures that they have consistent height and spacing.\n * @required\n */\n@Component({\n selector: 'sky-action-button-container',\n styleUrls: ['./action-button-container.component.scss'],\n templateUrl: './action-button-container.component.html',\n providers: [SkyActionButtonAdapterService],\n encapsulation: ViewEncapsulation.None,\n})\nexport class SkyActionButtonContainerComponent\n implements AfterContentInit, OnDestroy, OnInit\n{\n /**\n * Specifies how to display the action buttons inside the action button container.\n * Options are `\"center\"` or `\"left\"`.\n * @default \"center\"\n */\n @Input()\n public set alignItems(value: SkyActionButtonContainerAlignItemsType) {\n this._alignItems = value;\n }\n\n public get alignItems(): SkyActionButtonContainerAlignItemsType {\n return this._alignItems || 'center';\n }\n\n @ContentChildren(SkyActionButtonComponent)\n private actionButtons: QueryList<SkyActionButtonComponent>;\n\n @ViewChild('container', {\n read: ElementRef,\n static: true,\n })\n private containerRef: ElementRef<any>;\n\n private mutationObserver: MutationObserver;\n\n private ngUnsubscribe = new Subject();\n\n private set themeName(value: string) {\n this._themeName = value;\n this.updateResponsiveClass();\n this.updateHeight();\n }\n\n private _alignItems: SkyActionButtonContainerAlignItemsType;\n\n private _themeName: string;\n\n constructor(\n private actionButtonAdapterService: SkyActionButtonAdapterService,\n private changeRef: ChangeDetectorRef,\n private coreAdapterService: SkyCoreAdapterService,\n private hostElRef: ElementRef,\n private mutationObserverSvc: MutationObserverService,\n private ngZone: NgZone,\n @Optional() private themeSvc?: SkyThemeService\n ) {}\n\n public ngOnInit(): void {\n /* istanbul ignore else */\n if (this.themeSvc) {\n this.themeSvc.settingsChange\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe((themeSettings) => {\n this.themeName = themeSettings.currentSettings.theme.name;\n this.changeRef.markForCheck();\n });\n }\n\n // Wait for children components to complete rendering before container width is determined.\n setTimeout(() => {\n this.updateResponsiveClass();\n });\n }\n\n public ngAfterContentInit(): void {\n // Watch for dynamic action button changes and recalculate height.\n /* istanbul ignore else */\n if (this.actionButtons) {\n this.actionButtons.changes\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe(() => {\n this.updateHeight();\n });\n }\n\n this.initMutationObserver();\n }\n\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n\n this.destroyMutationObserver();\n }\n\n @HostListener('window:resize')\n public onWindowResize(): void {\n this.updateResponsiveClass();\n }\n\n private initMutationObserver(): void {\n /* istanbul ignore else */\n if (!this.mutationObserver) {\n const el = this.containerRef.nativeElement;\n\n // MutationObserver is patched by Zone.js and therefore becomes part of the\n // Angular change detection cycle, but this can lead to infinite loops in some\n // scenarios. This will keep MutationObserver from triggering change detection.\n this.ngZone.runOutsideAngular(() => {\n this.mutationObserver = this.mutationObserverSvc.create(() => {\n this.updateHeight();\n });\n\n this.mutationObserver.observe(el, {\n characterData: true,\n subtree: true,\n });\n });\n }\n }\n\n private destroyMutationObserver(): void {\n if (this.mutationObserver) {\n this.mutationObserver.disconnect();\n this.mutationObserver = undefined;\n }\n }\n\n private updateHeight(): void {\n this.coreAdapterService.resetHeight(\n this.containerRef,\n '.sky-action-button'\n );\n if (this._themeName === 'modern') {\n // Wait for children components to complete rendering before height is determined.\n setTimeout(() => {\n this.coreAdapterService.syncMaxHeight(\n this.containerRef,\n '.sky-action-button'\n );\n });\n }\n }\n\n private updateResponsiveClass(): void {\n const parentWidth = this.actionButtonAdapterService.getParentWidth(\n this.hostElRef\n );\n this.actionButtonAdapterService.setResponsiveClass(\n this.containerRef,\n parentWidth\n );\n }\n}\n","<div class=\"sky-action-button-container\" #container>\n <div\n class=\"sky-action-button-flex\"\n [ngClass]=\"{\n 'sky-action-button-flex-align-left': alignItems === 'left',\n 'sky-action-button-flex-align-center': alignItems === 'center'\n }\"\n >\n <ng-content></ng-content>\n </div>\n</div>\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-button-icon.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/action-button/action-button-icon.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/action-button/action-button-icon.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAa,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"action-button-icon.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/action-button/action-button-icon.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/action-button/action-button-icon.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAa,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;;;;AAIxE,MAAM,mBAAmB,GAAG,IAAI,CAAC;AACjC,MAAM,mBAAmB,GAAG,IAAI,CAAC;AAEjC;;GAEG;AAMH,MAAM,OAAO,4BAA4B;IAgBvC,YAAoB,iBAAuC;QAAvC,sBAAiB,GAAjB,iBAAiB,CAAsB;QAJpD,kBAAa,GAAW,mBAAmB,CAAC;QAKjD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAClD,CAAC,IAAyB,EAAE,EAAE;YAC5B,IAAI,IAAI,KAAK,mBAAmB,CAAC,EAAE,EAAE;gBACnC,IAAI,CAAC,aAAa,GAAG,mBAAmB,CAAC;aAC1C;iBAAM;gBACL,IAAI,CAAC,aAAa,GAAG,mBAAmB,CAAC;aAC1C;QACH,CAAC,CACF,CAAC;IACJ,CAAC;IAEM,WAAW;QAChB,0BAA0B;QAC1B,kBAAkB;QAClB,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC;SACjC;IACH,CAAC;;0HAlCU,4BAA4B;8GAA5B,4BAA4B,gGChBzC,2MAOA;4FDSa,4BAA4B;kBALxC,SAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,SAAS,EAAE,CAAC,qCAAqC,CAAC;oBAClD,WAAW,EAAE,qCAAqC;iBACnD;2GAWQ,QAAQ;sBADd,KAAK","sourcesContent":["import { Component, Input, OnDestroy } from '@angular/core';\nimport { SkyMediaBreakpoints, SkyMediaQueryService } from '@skyux/core';\n\nimport { Subscription } from 'rxjs';\n\nconst FONTSIZECLASS_SMALL = '2x';\nconst FONTSIZECLASS_LARGE = '3x';\n\n/**\n * Specifies an icon to display on the action button.\n */\n@Component({\n selector: 'sky-action-button-icon',\n styleUrls: ['./action-button-icon.component.scss'],\n templateUrl: './action-button-icon.component.html',\n})\nexport class SkyActionButtonIconComponent implements OnDestroy {\n /**\n * Specifies an icon from the\n * [Font Awesome library](https://fontawesome.com/v4.7.0/).\n * For example, to display the `fa-filter` icon on the action button,\n * set `iconType` to `filter`. SKY UX supports version 4.7.0 of Font Awesome.\n * For more information about icons in SKY UX, see the\n * [icon component](https://developer.blackbaud.com/skyux/components/icon).\n */\n @Input()\n public iconType: string;\n\n public fontSizeClass: string = FONTSIZECLASS_LARGE;\n\n private subscription: Subscription;\n\n constructor(private mediaQueryService: SkyMediaQueryService) {\n this.subscription = this.mediaQueryService.subscribe(\n (args: SkyMediaBreakpoints) => {\n if (args === SkyMediaBreakpoints.xs) {\n this.fontSizeClass = FONTSIZECLASS_SMALL;\n } else {\n this.fontSizeClass = FONTSIZECLASS_LARGE;\n }\n }\n );\n }\n\n public ngOnDestroy() {\n /* istanbul ignore else */\n /* sanity check */\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n}\n","<div aria-hidden=\"true\" class=\"sky-action-button-icon-container\">\n <sky-icon\n class=\"sky-action-button-icon\"\n [icon]=\"iconType\"\n [size]=\"fontSizeClass\"\n ></sky-icon>\n</div>\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-button.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/action-button/action-button.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"action-button.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/action-button/action-button.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAClF,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;;AAyBrE,MAAM,OAAO,qBAAqB;;mHAArB,qBAAqB;oHAArB,qBAAqB,iBArB9B,wBAAwB;QACxB,iCAAiC;QACjC,+BAA+B;QAC/B,8BAA8B;QAC9B,4BAA4B,aAG5B,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,cAAc,aAGd,wBAAwB;QACxB,iCAAiC;QACjC,+BAA+B;QAC/B,8BAA8B;QAC9B,4BAA4B;oHAGnB,qBAAqB,YAfvB;YACP,YAAY;YACZ,YAAY;YACZ,aAAa;YACb,aAAa;YACb,cAAc;SACf;4FASU,qBAAqB;kBAvBjC,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,wBAAwB;wBACxB,iCAAiC;wBACjC,+BAA+B;wBAC/B,8BAA8B;wBAC9B,4BAA4B;qBAC7B;oBACD,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBACZ,aAAa;wBACb,aAAa;wBACb,cAAc;qBACf;oBACD,OAAO,EAAE;wBACP,wBAAwB;wBACxB,iCAAiC;wBACjC,+BAA+B;wBAC/B,8BAA8B;wBAC9B,4BAA4B;qBAC7B;iBACF","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { SkyIconModule } from '@skyux/indicators';\nimport { SkyHrefModule } from '@skyux/router';\nimport { SkyThemeModule } from '@skyux/theme';\n\nimport { SkyActionButtonContainerComponent } from './action-button-container.component';\nimport { SkyActionButtonDetailsComponent } from './action-button-details.component';\nimport { SkyActionButtonHeaderComponent } from './action-button-header.component';\nimport { SkyActionButtonIconComponent } from './action-button-icon.component';\nimport { SkyActionButtonComponent } from './action-button.component';\n\n@NgModule({\n declarations: [\n SkyActionButtonComponent,\n SkyActionButtonContainerComponent,\n SkyActionButtonDetailsComponent,\n SkyActionButtonHeaderComponent,\n SkyActionButtonIconComponent,\n ],\n imports: [\n CommonModule,\n RouterModule,\n SkyHrefModule,\n SkyIconModule,\n SkyThemeModule,\n ],\n exports: [\n SkyActionButtonComponent,\n SkyActionButtonContainerComponent,\n SkyActionButtonDetailsComponent,\n SkyActionButtonHeaderComponent,\n SkyActionButtonIconComponent,\n ],\n})\nexport class SkyActionButtonModule {}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Injectable } from '@angular/core';
|
|
2
2
|
import { SkyAppWindowRef } from '@skyux/core';
|
|
3
|
-
import {
|
|
3
|
+
import { Subject, fromEvent } from 'rxjs';
|
|
4
4
|
import { map, takeUntil } from 'rxjs/operators';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "@skyux/core";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"back-to-top-adapter.service.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/back-to-top/back-to-top-adapter.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAa,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"back-to-top-adapter.service.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/back-to-top/back-to-top-adapter.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAa,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,OAAO,EAAc,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AACtD,OAAO,EAAE,GAAG,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,CAAC;SAClC;aAAM;YACL,MAAM,UAAU,GAAG,aAAa,CAAC,qBAAqB,EAAE,CAAC;YACzD,OAAO,WAAW,CAAC,GAAG,GAAG,UAAU,CAAC,GAAG,GAAG,MAAM,CAAC;SAClD;IACH,CAAC;;2HAjGU,6BAA6B;+HAA7B,6BAA6B;4FAA7B,6BAA6B;kBADzC,UAAU","sourcesContent":["import { ElementRef, Injectable, OnDestroy } from '@angular/core';\nimport { SkyAppWindowRef } from '@skyux/core';\n\nimport { Observable, Subject, fromEvent } from 'rxjs';\nimport { map, takeUntil } from 'rxjs/operators';\n\n/**\n * @internal\n */\n@Injectable()\nexport class SkyBackToTopDomAdapterService implements OnDestroy {\n private ngUnsubscribe = new Subject<void>();\n\n constructor(private windowRef: SkyAppWindowRef) {}\n\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n\n /**\n * This event returns a boolean on scroll indicating whether the provided element is in view.\n * @param elementRef The target element reference.\n */\n public elementInViewOnScroll(elementRef: ElementRef): Observable<boolean> {\n const parent = this.findScrollableParent(elementRef.nativeElement);\n\n return fromEvent(parent, 'scroll').pipe(\n takeUntil(this.ngUnsubscribe),\n map(() => {\n const isInView = this.isElementScrolledInView(\n elementRef.nativeElement,\n parent\n );\n return isInView;\n })\n );\n }\n\n /**\n * Scrolls the window or scrollable parent to the provided element.\n * @param elementRef The target element reference.\n */\n public scrollToElement(elementRef: ElementRef): void {\n /* sanity check */\n /* istanbul ignore if */\n if (!elementRef || !elementRef.nativeElement) {\n return;\n }\n\n const windowObj = this.windowRef.nativeWindow;\n const parent = this.findScrollableParent(elementRef.nativeElement);\n\n if (parent === windowObj) {\n // Scroll to top of window, but account for the body margin that allows for the omnibar if it exists.\n const bodyMarginOffset = parseInt(\n getComputedStyle(document.body).marginTop,\n 10\n );\n const newOffsetTop =\n elementRef.nativeElement.offsetTop - bodyMarginOffset;\n this.windowRef.nativeWindow.scrollTo(\n elementRef.nativeElement.offsetLeft,\n newOffsetTop\n );\n } else {\n // Scroll to top of parent element.\n parent.scrollTop = parent.offsetTop - elementRef.nativeElement.offsetTop;\n }\n }\n\n public findScrollableParent(element: any): any {\n const regex = /(auto|scroll)/;\n const windowObj = this.windowRef.nativeWindow;\n const bodyObj = windowObj.document.body;\n\n let style = windowObj.getComputedStyle(element);\n let parent = element;\n\n do {\n parent = parent.parentNode;\n style = windowObj.getComputedStyle(parent);\n } while (\n !regex.test(style.overflow) &&\n !regex.test(style.overflowY) &&\n parent !== bodyObj\n );\n\n if (parent === bodyObj) {\n return windowObj;\n }\n\n return parent;\n }\n\n public isElementScrolledInView(element: any, parentElement: any): boolean {\n const buffer = 25;\n const windowObj = this.windowRef.nativeWindow;\n const elementRect = element.getBoundingClientRect();\n\n /* istanbul ignore else */\n if (parentElement === windowObj) {\n return elementRect.top > -buffer;\n } else {\n const parentRect = parentElement.getBoundingClientRect();\n return elementRect.top > parentRect.top - buffer;\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"back-to-top.directive.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/back-to-top/back-to-top.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,SAAS,EACT,UAAU,EACV,KAAK,GAEN,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"back-to-top.directive.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/back-to-top/back-to-top.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,SAAS,EACT,UAAU,EACV,KAAK,GAEN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAe,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1D,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EA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,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;iBACnC,SAAS,CAAC,CAAC,aAAsB,EAAE,EAAE;gBACpC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;gBAEnC,IAAI,CAAC,qBAAqB,CAAC,aAAa,CAAC,CAAC;YAC5C,CAAC,CAAC,CAAC;SACN;IACH,CAAC;IAEO,gBAAgB;QACtB,0BAA0B;QAC1B,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;YACxB,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;SAC3B;IACH,CAAC;;mHAlHU,qBAAqB;uGAArB,qBAAqB,2IAFrB,CAAC,6BAA6B,CAAC;4FAE/B,qBAAqB;kBAJjC,SAAS;mBAAC;oBACT,QAAQ,EAAE,gBAAgB;oBAC1B,SAAS,EAAE,CAAC,6BAA6B,CAAC;iBAC3C;0KAMY,YAAY;sBADtB,KAAK;gBAYK,yBAAyB;sBADnC,KAAK","sourcesContent":["import {\n AfterViewInit,\n Directive,\n ElementRef,\n Input,\n OnDestroy,\n} from '@angular/core';\nimport { SkyDockItem, SkyDockService } from '@skyux/core';\n\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { SkyBackToTopDomAdapterService } from './back-to-top-adapter.service';\nimport { SkyBackToTopComponent } from './back-to-top.component';\nimport { SkyBackToTopMessage } from './models/back-to-top-message';\nimport { SkyBackToTopMessageType } from './models/back-to-top-message-type';\nimport { SkyBackToTopOptions } from './models/back-to-top-options';\n\n/**\n * Associates a button with an element on the page and displays that button\n * to return to the element after users scroll away.\n */\n@Directive({\n selector: '[skyBackToTop]',\n providers: [SkyBackToTopDomAdapterService],\n})\nexport class SkyBackToTopDirective implements AfterViewInit, OnDestroy {\n /**\n * Specifies configuration options for the back to top component.\n */\n @Input()\n public set skyBackToTop(value: SkyBackToTopOptions) {\n this.buttonHidden = !!value?.buttonHidden;\n\n this.handleBackToTopButton(this.elementInView);\n }\n\n /**\n * Provides an observable to send commands to the back to top component.\n * The commands respect the `SkyBackToTopMessage` type.\n */\n @Input()\n public set skyBackToTopMessageStream(value: Subject<SkyBackToTopMessage>) {\n if (this._skyBackToTopMessageStream) {\n this._skyBackToTopMessageStream.unsubscribe();\n }\n this._skyBackToTopMessageStream = value;\n this._skyBackToTopMessageStream\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe((message: SkyBackToTopMessage) =>\n this.handleIncomingMessages(message)\n );\n }\n\n private buttonHidden = false;\n private dockItem: SkyDockItem<SkyBackToTopComponent>;\n private elementInView: boolean;\n\n private ngUnsubscribe = new Subject<void>();\n private _skyBackToTopMessageStream: Subject<SkyBackToTopMessage>;\n\n constructor(\n private dockService: SkyDockService,\n private domAdapter: SkyBackToTopDomAdapterService,\n private element: ElementRef\n ) {}\n\n public ngAfterViewInit(): void {\n const scrollableParent = this.domAdapter.findScrollableParent(\n this.element.nativeElement\n );\n this.elementInView = this.domAdapter.isElementScrolledInView(\n this.element.nativeElement,\n scrollableParent\n );\n\n this.handleBackToTopButton(this.elementInView);\n this.setBackToTopListeners();\n }\n\n public ngOnDestroy(): void {\n if (this.dockItem) {\n this.dockItem.destroy();\n }\n }\n\n private handleBackToTopButton(elementInView: boolean): void {\n // Add back to top button if user scrolls down and button is not hidden.\n if (\n !this.dockItem &&\n elementInView !== undefined &&\n !elementInView &&\n !this.buttonHidden\n ) {\n this.addBackToTop();\n }\n // Remove back to top button if user scrolls back up.\n if (elementInView || this.buttonHidden) {\n this.destroyBackToTop();\n }\n }\n\n private addBackToTop(): void {\n this.dockItem = this.dockService.insertComponent(SkyBackToTopComponent);\n\n // Listen for clicks on the \"back to top\" button so we know when to scroll up.\n this.dockItem.componentInstance.scrollToTopClick\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe(() => {\n this.domAdapter.scrollToElement(this.element);\n });\n }\n\n private handleIncomingMessages(message: SkyBackToTopMessage): void {\n /* istanbul ignore else */\n if (message.type === SkyBackToTopMessageType.BackToTop) {\n this.domAdapter.scrollToElement(this.element);\n }\n }\n\n private setBackToTopListeners(): void {\n /* istanbul ignore else */\n if (this.element) {\n this.domAdapter\n .elementInViewOnScroll(this.element)\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe((elementInView: boolean) => {\n this.elementInView = elementInView;\n\n this.handleBackToTopButton(elementInView);\n });\n }\n }\n\n private destroyBackToTop(): void {\n /* istanbul ignore else */\n if (this.dockItem) {\n this.dockItem.destroy();\n this.dockItem = undefined;\n }\n }\n}\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
3
|
import { SkyDockModule } from '@skyux/core';
|
|
4
4
|
import { SkyI18nModule } from '@skyux/i18n';
|
|
5
|
-
import { SkyBackToTopDirective } from './back-to-top.directive';
|
|
6
|
-
import { SkyBackToTopComponent } from './back-to-top.component';
|
|
7
5
|
import { SkyLayoutResourcesModule } from '../shared/sky-layout-resources.module';
|
|
6
|
+
import { SkyBackToTopComponent } from './back-to-top.component';
|
|
7
|
+
import { SkyBackToTopDirective } from './back-to-top.directive';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export class SkyBackToTopModule {
|
|
10
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"back-top-top.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/back-to-top/back-top-top.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"back-top-top.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/back-to-top/back-top-top.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;;AAahE,MAAM,OAAO,kBAAkB;;gHAAlB,kBAAkB;iHAAlB,kBAAkB,iBAVd,qBAAqB,EAAE,qBAAqB,aAEzD,YAAY;QACZ,aAAa;QACb,aAAa;QACb,wBAAwB,aAEhB,qBAAqB,EAAE,qBAAqB;iHAG3C,kBAAkB,YATpB;YACP,YAAY;YACZ,aAAa;YACb,aAAa;YACb,wBAAwB;SACzB;4FAIU,kBAAkB;kBAX9B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;oBAC5D,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;wBACb,aAAa;wBACb,wBAAwB;qBACzB;oBACD,OAAO,EAAE,CAAC,qBAAqB,EAAE,qBAAqB,CAAC;oBACvD,eAAe,EAAE,CAAC,qBAAqB,CAAC;iBACzC","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyDockModule } from '@skyux/core';\nimport { SkyI18nModule } from '@skyux/i18n';\n\nimport { SkyLayoutResourcesModule } from '../shared/sky-layout-resources.module';\n\nimport { SkyBackToTopComponent } from './back-to-top.component';\nimport { SkyBackToTopDirective } from './back-to-top.directive';\n\n@NgModule({\n declarations: [SkyBackToTopComponent, SkyBackToTopDirective],\n imports: [\n CommonModule,\n SkyDockModule,\n SkyI18nModule,\n SkyLayoutResourcesModule,\n ],\n exports: [SkyBackToTopComponent, SkyBackToTopDirective],\n entryComponents: [SkyBackToTopComponent],\n})\nexport class SkyBackToTopModule {}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"box.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/box/box.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"box.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/box/box.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;;AAiBlD,MAAM,OAAO,YAAY;;0GAAZ,YAAY;2GAAZ,YAAY,iBAbrB,eAAe;QACf,qBAAqB;QACrB,sBAAsB;QACtB,uBAAuB,aAEf,YAAY,EAAE,cAAc,aAEpC,eAAe;QACf,qBAAqB;QACrB,sBAAsB;QACtB,uBAAuB;2GAGd,YAAY,YARd,CAAC,YAAY,EAAE,cAAc,CAAC;4FAQ5B,YAAY;kBAfxB,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,eAAe;wBACf,qBAAqB;wBACrB,sBAAsB;wBACtB,uBAAuB;qBACxB;oBACD,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,CAAC;oBACvC,OAAO,EAAE;wBACP,eAAe;wBACf,qBAAqB;wBACrB,sBAAsB;wBACtB,uBAAuB;qBACxB;iBACF","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyThemeModule } from '@skyux/theme';\n\nimport { SkyBoxContentComponent } from './box-content.component';\nimport { SkyBoxControlsComponent } from './box-controls.component';\nimport { SkyBoxHeaderComponent } from './box-header.component';\nimport { SkyBoxComponent } from './box.component';\n\n@NgModule({\n declarations: [\n SkyBoxComponent,\n SkyBoxHeaderComponent,\n SkyBoxContentComponent,\n SkyBoxControlsComponent,\n ],\n imports: [CommonModule, SkyThemeModule],\n exports: [\n SkyBoxComponent,\n SkyBoxHeaderComponent,\n SkyBoxContentComponent,\n SkyBoxControlsComponent,\n ],\n})\nexport class SkyBoxModule {}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Component, ContentChildren, EventEmitter, Input, Output, QueryList, } from '@angular/core';
|
|
2
|
-
import { SkyCardTitleComponent } from './card-title.component';
|
|
3
|
-
import { SkyInlineDeleteComponent } from '../inline-delete/inline-delete.component';
|
|
4
2
|
import { SkyInlineDeleteType } from '../inline-delete/inline-delete-type';
|
|
3
|
+
import { SkyInlineDeleteComponent } from '../inline-delete/inline-delete.component';
|
|
4
|
+
import { SkyCardTitleComponent } from './card-title.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "@skyux/forms";
|
|
7
7
|
import * as i2 from "@angular/common";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/card/card.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/card/card.component.html"],"names":[],"mappings":"AAAA,OAAO,EAEL,SAAS,EACT,eAAe,EACf,YAAY,EACZ,KAAK,EAEL,MAAM,EACN,SAAS,GACV,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"card.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/card/card.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/card/card.component.html"],"names":[],"mappings":"AAAA,OAAO,EAEL,SAAS,EACT,eAAe,EACf,YAAY,EACZ,KAAK,EAEL,MAAM,EACN,SAAS,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zC;IACH,CAAC;IAEM,gBAAgB,CAAC,QAAiB;QACvC,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,QAAQ,KAAK,QAAQ,EAAE;YACjD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;YACzB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;SACzC;IACH,CAAC;IAEM,WAAW;QAChB,0BAA0B;QAC1B,kBAAkB;QAClB,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC;SACjC;IACH,CAAC;;8GA9EU,gBAAgB;kGAAhB,gBAAgB,+MA8BV,wBAAwB,iDAGxB,qBAAqB,6BC3DxC,g0CA6CA;4FDnBa,gBAAgB;kBAL5B,SAAS;mBAAC;oBACT,QAAQ,EAAE,UAAU;oBACpB,SAAS,EAAE,CAAC,uBAAuB,CAAC;oBACpC,WAAW,EAAE,uBAAuB;iBACrC;8BAOQ,IAAI;sBADV,KAAK;gBASC,UAAU;sBADhB,KAAK;gBASC,QAAQ;sBADd,KAAK;gBAOC,cAAc;sBADpB,MAAM;gBAIA,qBAAqB;sBAD3B,eAAe;uBAAC,wBAAwB;gBAIlC,cAAc;sBADpB,eAAe;uBAAC,qBAAqB","sourcesContent":["import {\n AfterContentInit,\n Component,\n ContentChildren,\n EventEmitter,\n Input,\n OnDestroy,\n Output,\n QueryList,\n} from '@angular/core';\n\nimport { Subscription } from 'rxjs';\n\nimport { SkyInlineDeleteType } from '../inline-delete/inline-delete-type';\nimport { SkyInlineDeleteComponent } from '../inline-delete/inline-delete.component';\n\nimport { SkyCardTitleComponent } from './card-title.component';\n\n/**\n * Creates a a small container to highlight important information.\n */\n@Component({\n selector: 'sky-card',\n styleUrls: ['./card.component.scss'],\n templateUrl: './card.component.html',\n})\nexport class SkyCardComponent implements AfterContentInit, OnDestroy {\n /**\n * Specifies the size of the card. The valid options are `\"large\"` and `\"small\"`.\n * @default \"large\"\n */\n @Input()\n public size: string;\n\n /**\n * Indicates whether to display a checkbox to the right of the card title.\n * Users can select multiple checkboxes and perform actions on the selected cards.\n * @default false\n */\n @Input()\n public selectable: boolean;\n\n /**\n * Indicates whether the card is selected. This only applies to card where\n * `selectable` is set to `true`.\n * @default false\n */\n @Input()\n public selected: boolean;\n\n /**\n * Fires when users select or deselect the card.\n */\n @Output()\n public selectedChange = new EventEmitter<boolean>();\n\n @ContentChildren(SkyInlineDeleteComponent)\n public inlineDeleteComponent: QueryList<SkyInlineDeleteComponent>;\n\n @ContentChildren(SkyCardTitleComponent)\n public titleComponent: QueryList<SkyCardTitleComponent>;\n\n public showTitle = true;\n\n private subscription: Subscription;\n\n public ngAfterContentInit() {\n this.showTitle = this.titleComponent.length > 0;\n\n this.subscription = this.titleComponent.changes.subscribe(() => {\n this.showTitle = this.titleComponent.length > 0;\n });\n\n this.inlineDeleteComponent.forEach((item) => {\n item.setType(SkyInlineDeleteType.Card);\n });\n\n this.inlineDeleteComponent.changes.subscribe(() => {\n this.inlineDeleteComponent.forEach((item) => {\n item.setType(SkyInlineDeleteType.Card);\n });\n });\n }\n\n public contentClick() {\n if (this.selectable) {\n this.selected = !this.selected;\n this.selectedChange.emit(this.selected);\n }\n }\n\n public onCheckboxChange(newValue: boolean) {\n if (this.selectable && this.selected !== newValue) {\n this.selected = newValue;\n this.selectedChange.emit(this.selected);\n }\n }\n\n public ngOnDestroy() {\n /* istanbul ignore else */\n /* sanity check */\n if (this.subscription) {\n this.subscription.unsubscribe();\n }\n }\n}\n","<section\n class=\"sky-card sky-shadow\"\n [ngClass]=\"\n {\n 'sky-card-small': size === 'small',\n 'sky-card-selectable': selectable,\n 'sky-card-selected': selectable && selected\n }\"\n>\n <ng-content select=\"sky-inline-delete\"></ng-content>\n <header>\n <div\n *ngIf=\"selectable || showTitle\"\n class=\"sky-card-header\"\n (click)=\"contentClick()\"\n >\n <div class=\"sky-card-heading-middle\">\n <h1 *ngIf=\"showTitle\" class=\"sky-card-title sky-section-heading\">\n <ng-content select=\"sky-card-title\"></ng-content>\n </h1>\n </div>\n <div *ngIf=\"selectable\" class=\"sky-card-check\">\n <sky-checkbox\n [label]=\"'skyux_card_checkbox_label' | skyLibResources\"\n [ngModel]=\"selected\"\n (click)=\"$event.stopPropagation()\"\n (ngModelChange)=\"onCheckboxChange($event)\"\n ></sky-checkbox>\n </div>\n </div>\n </header>\n <div\n class=\"sky-card-content sky-padding-even-default\"\n (click)=\"contentClick()\"\n >\n <ng-content select=\"sky-card-content\"></ng-content>\n </div>\n <div\n class=\"sky-card-actions\"\n [hidden]=\"actionsEl.children.length === 0\"\n #actionsEl\n >\n <ng-content select=\"sky-card-actions\"></ng-content>\n </div>\n</section>\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/card/card.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"card.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/card/card.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;;AAwBpD,MAAM,OAAO,aAAa;;2GAAb,aAAa;4GAAb,aAAa,iBApBtB,uBAAuB;QACvB,gBAAgB;QAChB,uBAAuB;QACvB,qBAAqB,aAGrB,YAAY;QACZ,WAAW;QACX,iBAAiB;QACjB,aAAa;QACb,wBAAwB;QACxB,qBAAqB,aAGrB,uBAAuB;QACvB,gBAAgB;QAChB,uBAAuB;QACvB,qBAAqB;4GAGZ,aAAa,YAff;YACP,YAAY;YACZ,WAAW;YACX,iBAAiB;YACjB,aAAa;YACb,wBAAwB;YACxB,qBAAqB;SACtB;4FAQU,aAAa;kBAtBzB,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,uBAAuB;wBACvB,gBAAgB;wBAChB,uBAAuB;wBACvB,qBAAqB;qBACtB;oBACD,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,iBAAiB;wBACjB,aAAa;wBACb,wBAAwB;wBACxB,qBAAqB;qBACtB;oBACD,OAAO,EAAE;wBACP,uBAAuB;wBACvB,gBAAgB;wBAChB,uBAAuB;wBACvB,qBAAqB;qBACtB;iBACF","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { SkyCheckboxModule } from '@skyux/forms';\nimport { SkyI18nModule } from '@skyux/i18n';\n\nimport { SkyInlineDeleteModule } from '../inline-delete/inline-delete.module';\nimport { SkyLayoutResourcesModule } from '../shared/sky-layout-resources.module';\n\nimport { SkyCardActionsComponent } from './card-actions.component';\nimport { SkyCardContentComponent } from './card-content.component';\nimport { SkyCardTitleComponent } from './card-title.component';\nimport { SkyCardComponent } from './card.component';\n\n@NgModule({\n declarations: [\n SkyCardActionsComponent,\n SkyCardComponent,\n SkyCardContentComponent,\n SkyCardTitleComponent,\n ],\n imports: [\n CommonModule,\n FormsModule,\n SkyCheckboxModule,\n SkyI18nModule,\n SkyLayoutResourcesModule,\n SkyInlineDeleteModule,\n ],\n exports: [\n SkyCardActionsComponent,\n SkyCardComponent,\n SkyCardContentComponent,\n SkyCardTitleComponent,\n ],\n})\nexport class SkyCardModule {}\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
3
|
import { SkyI18nModule } from '@skyux/i18n';
|
|
4
4
|
import { SkyLayoutResourcesModule } from '../shared/sky-layout-resources.module';
|
|
5
|
-
import { SkyDefinitionListComponent } from './definition-list.component';
|
|
6
5
|
import { SkyDefinitionListContentComponent } from './definition-list-content.component';
|
|
7
6
|
import { SkyDefinitionListHeadingComponent } from './definition-list-heading.component';
|
|
8
7
|
import { SkyDefinitionListLabelComponent } from './definition-list-label.component';
|
|
9
8
|
import { SkyDefinitionListValueComponent } from './definition-list-value.component';
|
|
9
|
+
import { SkyDefinitionListComponent } from './definition-list.component';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export class SkyDefinitionListModule {
|
|
12
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition-list.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/definition-list/definition-list.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"definition-list.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/definition-list/definition-list.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;;AAmBzE,MAAM,OAAO,uBAAuB;;qHAAvB,uBAAuB;sHAAvB,uBAAuB,iBAfhC,0BAA0B;QAC1B,iCAAiC;QACjC,iCAAiC;QACjC,+BAA+B;QAC/B,+BAA+B,aAEvB,YAAY,EAAE,aAAa,EAAE,wBAAwB,aAE7D,0BAA0B;QAC1B,iCAAiC;QACjC,iCAAiC;QACjC,+BAA+B;QAC/B,+BAA+B;sHAGtB,uBAAuB,YATzB,CAAC,YAAY,EAAE,aAAa,EAAE,wBAAwB,CAAC;4FASrD,uBAAuB;kBAjBnC,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,0BAA0B;wBAC1B,iCAAiC;wBACjC,iCAAiC;wBACjC,+BAA+B;wBAC/B,+BAA+B;qBAChC;oBACD,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,wBAAwB,CAAC;oBAChE,OAAO,EAAE;wBACP,0BAA0B;wBAC1B,iCAAiC;wBACjC,iCAAiC;wBACjC,+BAA+B;wBAC/B,+BAA+B;qBAChC;iBACF","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyI18nModule } from '@skyux/i18n';\n\nimport { SkyLayoutResourcesModule } from '../shared/sky-layout-resources.module';\n\nimport { SkyDefinitionListContentComponent } from './definition-list-content.component';\nimport { SkyDefinitionListHeadingComponent } from './definition-list-heading.component';\nimport { SkyDefinitionListLabelComponent } from './definition-list-label.component';\nimport { SkyDefinitionListValueComponent } from './definition-list-value.component';\nimport { SkyDefinitionListComponent } from './definition-list.component';\n\n@NgModule({\n declarations: [\n SkyDefinitionListComponent,\n SkyDefinitionListContentComponent,\n SkyDefinitionListHeadingComponent,\n SkyDefinitionListLabelComponent,\n SkyDefinitionListValueComponent,\n ],\n imports: [CommonModule, SkyI18nModule, SkyLayoutResourcesModule],\n exports: [\n SkyDefinitionListComponent,\n SkyDefinitionListContentComponent,\n SkyDefinitionListHeadingComponent,\n SkyDefinitionListLabelComponent,\n SkyDefinitionListValueComponent,\n ],\n})\nexport class SkyDefinitionListModule {}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Component, ContentChildren, QueryList } from '@angular/core';
|
|
2
|
-
import { SkyDescriptionListTermComponent } from './description-list-term.component';
|
|
3
2
|
import { SkyDescriptionListDescriptionComponent } from './description-list-description.component';
|
|
3
|
+
import { SkyDescriptionListTermComponent } from './description-list-term.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Wraps the term-description pairs in the description list.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description-list-content.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list-content.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list-content.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEtE,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"description-list-content.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list-content.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list-content.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAEtE,OAAO,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAClG,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;;AAEpF;;GAEG;AAKH,MAAM,OAAO,kCAAkC;;gIAAlC,kCAAkC;oHAAlC,kCAAkC,mGAC5B,+BAA+B,wDAG/B,sCAAsC,6BChBzD,6BACA;4FDWa,kCAAkC;kBAJ9C,SAAS;mBAAC;oBACT,QAAQ,EAAE,8BAA8B;oBACxC,WAAW,EAAE,2CAA2C;iBACzD;8BAGQ,cAAc;sBADpB,eAAe;uBAAC,+BAA+B;gBAIzC,qBAAqB;sBAD3B,eAAe;uBAAC,sCAAsC","sourcesContent":["import { Component, ContentChildren, QueryList } from '@angular/core';\n\nimport { SkyDescriptionListDescriptionComponent } from './description-list-description.component';\nimport { SkyDescriptionListTermComponent } from './description-list-term.component';\n\n/**\n * Wraps the term-description pairs in the description list.\n */\n@Component({\n selector: 'sky-description-list-content',\n templateUrl: './description-list-content.component.html',\n})\nexport class SkyDescriptionListContentComponent {\n @ContentChildren(SkyDescriptionListTermComponent)\n public termComponents: QueryList<SkyDescriptionListTermComponent>;\n\n @ContentChildren(SkyDescriptionListDescriptionComponent)\n public descriptionComponents: QueryList<SkyDescriptionListDescriptionComponent>;\n}\n","<ng-content></ng-content>\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, TemplateRef, ViewChild, } from '@angular/core';
|
|
2
2
|
import { SkyThemeService } from '@skyux/theme';
|
|
3
|
-
import { takeUntil } from 'rxjs/operators';
|
|
4
3
|
import { Subject } from 'rxjs';
|
|
4
|
+
import { takeUntil } from 'rxjs/operators';
|
|
5
5
|
import { SkyDescriptionListService } from './description-list.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
import * as i1 from "./description-list.service";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description-list-description.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list-description.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list-description.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EAGT,WAAW,EACX,SAAS,GACV,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"description-list-description.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list-description.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list-description.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EAGT,WAAW,EACX,SAAS,GACV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;;;;;;AAEvE;;GAEG;AAMH,MAAM,OAAO,sCAAsC;IAejD,YACS,OAAkC,EACjC,SAA4B,EAC5B,QAAyB;QAF1B,YAAO,GAAP,OAAO,CAA2B;QACjC,cAAS,GAAT,SAAS,CAAmB;QAC5B,aAAQ,GAAR,QAAQ,CAAiB;QAL3B,kBAAa,GAAG,IAAI,OAAO,EAAE,CAAC;IAMnC,CAAC;IAEG,QAAQ;QACb,0BAA0B;QAC1B,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,QAAQ,CAAC,cAAc;iBACzB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;iBACnC,SAAS,CAAC,CAAC,aAAa,EAAE,EAAE;gBAC3B,IAAI,CAAC,SAAS,GAAG,aAAa,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC;gBAC1D,IAAI,CAAC,SAAS,CAAC,YAAY,EAAE,CAAC;YAChC,CAAC,CAAC,CAAC;SACN;IACH,CAAC;IAEM,WAAW;QAChB,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;QAC1B,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;IAChC,CAAC;;oIApCU,sCAAsC;wHAAtC,sCAAsC,0KAQzC,WAAW,2CChCrB,meAkBA;4FDMa,sCAAsC;kBALlD,SAAS;mBAAC;oBACT,QAAQ,EAAE,kCAAkC;oBAC5C,WAAW,EAAE,+CAA+C;oBAC5D,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;8KAYQ,WAAW;sBAJjB,SAAS;uBAAC,wBAAwB,EAAE;wBACnC,IAAI,EAAE,WAAW;wBACjB,MAAM,EAAE,IAAI;qBACb","sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n OnDestroy,\n OnInit,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport { SkyThemeService } from '@skyux/theme';\n\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { SkyDescriptionListService } from './description-list.service';\n\n/**\n * Specifies the description in a term-description pair.\n */\n@Component({\n selector: 'sky-description-list-description',\n templateUrl: './description-list-description.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyDescriptionListDescriptionComponent\n implements OnDestroy, OnInit\n{\n public defaultDescription: string;\n\n public themeName: string;\n\n @ViewChild('descriptionTemplateRef', {\n read: TemplateRef,\n static: true,\n })\n public templateRef: TemplateRef<any>;\n\n private ngUnsubscribe = new Subject();\n\n constructor(\n public service: SkyDescriptionListService,\n private changeRef: ChangeDetectorRef,\n private themeSvc: SkyThemeService\n ) {}\n\n public ngOnInit(): void {\n /* istanbul ignore else */\n if (this.themeSvc) {\n this.themeSvc.settingsChange\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe((themeSettings) => {\n this.themeName = themeSettings.currentSettings.theme.name;\n this.changeRef.markForCheck();\n });\n }\n }\n\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n }\n}\n","<ng-template #descriptionTemplateRef>\n <span #valueEl>\n <ng-content></ng-content>\n </span>\n <span\n *ngIf=\"!valueEl.textContent.trim()\"\n data-sky-id=\"sky-description-list-default-value\"\n [skyThemeClass]=\"{\n 'sky-font-deemphasized': 'modern',\n 'sky-deemphasized': 'default'\n }\"\n >\n {{\n (service.defaultDescription | async) ||\n ('skyux_description_list_none_found' | skyLibResources)\n }}\n </span>\n</ng-template>\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, ElementRef, HostListener, Input, QueryList, ViewChild, } from '@angular/core';
|
|
2
2
|
import { MutationObserverService } from '@skyux/core';
|
|
3
|
-
import { takeUntil } from 'rxjs/operators';
|
|
4
3
|
import { Subject } from 'rxjs';
|
|
4
|
+
import { takeUntil } from 'rxjs/operators';
|
|
5
5
|
import { SkyDescriptionListAdapterService } from './description-list-adapter-service';
|
|
6
6
|
import { SkyDescriptionListContentComponent } from './description-list-content.component';
|
|
7
7
|
import { SkyDescriptionListService } from './description-list.service';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description-list.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list.component.html"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,UAAU,EACV,YAAY,EACZ,KAAK,EAEL,SAAS,EACT,SAAS,GACV,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"description-list.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list.component.html"],"names":[],"mappings":"AAAA,OAAO,EAGL,uBAAuB,EACvB,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,UAAU,EACV,YAAY,EACZ,KAAK,EAEL,SAAS,EACT,SAAS,GACV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,uBAAuB,EA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BAAC,wBAAwB,EAAE;wBACnC,IAAI,EAAE,UAAU;wBAChB,MAAM,EAAE,IAAI;qBACb;gBA6CM,cAAc;sBADpB,YAAY;uBAAC,eAAe","sourcesContent":["import {\n AfterContentInit,\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n HostListener,\n Input,\n OnDestroy,\n QueryList,\n ViewChild,\n} from '@angular/core';\nimport { MutationObserverService } from '@skyux/core';\n\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { SkyDescriptionListAdapterService } from './description-list-adapter-service';\nimport { SkyDescriptionListContentComponent } from './description-list-content.component';\nimport { SkyDescriptionListService } from './description-list.service';\nimport { SkyDescriptionListModeType } from './types/description-list-mode-type';\n\n/**\n * Creates a description list to display term-description pairs.\n */\n@Component({\n selector: 'sky-description-list',\n templateUrl: './description-list.component.html',\n styleUrls: ['./description-list.component.scss'],\n providers: [SkyDescriptionListAdapterService, SkyDescriptionListService],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SkyDescriptionListComponent\n implements AfterContentInit, AfterViewInit, OnDestroy\n{\n /**\n * Specifies a default description to display when no description is provided\n * for a term-description pair.\n * @default \"None found\"\n */\n @Input()\n public set defaultDescription(value: string) {\n this.descriptionListService.updateDefaultDescription(value);\n }\n\n /**\n * Specifies the width of term-description pairs when `mode` is set to `\"horizontal\"`. By default,\n * the width is responsive based on the width of the container element.\n */\n @Input()\n public listItemWidth: string;\n\n /**\n * Specifies how to display term-description pairs within the description list.\n * Options include `\"horizontal\"`, `\"longDescription\"`, and `\"vertical\"`.\n * @default \"vertical\"\n */\n @Input()\n public set mode(value: SkyDescriptionListModeType) {\n this._mode = value;\n }\n\n public get mode(): SkyDescriptionListModeType {\n return this._mode || 'vertical';\n }\n\n @ContentChildren(SkyDescriptionListContentComponent)\n public contentComponents: QueryList<SkyDescriptionListContentComponent>;\n\n private contentObserver: MutationObserver;\n\n @ViewChild('descriptionListElement', {\n read: ElementRef,\n static: true,\n })\n private elementRef: ElementRef;\n\n private ngUnsubscribe = new Subject<void>();\n\n private _mode: SkyDescriptionListModeType;\n\n constructor(\n private adapterService: SkyDescriptionListAdapterService,\n private changeDetector: ChangeDetectorRef,\n private descriptionListService: SkyDescriptionListService,\n private mutationSvc: MutationObserverService\n ) {}\n\n public ngAfterContentInit(): void {\n // Wait for all content to render before detecting parent width.\n setTimeout(() => {\n this.updateResponsiveClass();\n });\n\n this.contentComponents.changes\n .pipe(takeUntil(this.ngUnsubscribe))\n .subscribe(() => {\n this.changeDetector.markForCheck();\n });\n }\n\n public ngAfterViewInit(): void {\n this.contentObserver = this.mutationSvc.create(() => {\n this.changeDetector.markForCheck();\n });\n this.contentObserver.observe(this.elementRef.nativeElement, {\n childList: true,\n characterData: true,\n subtree: true,\n });\n }\n\n public ngOnDestroy(): void {\n this.ngUnsubscribe.next();\n this.ngUnsubscribe.complete();\n this.contentObserver.disconnect();\n }\n\n @HostListener('window:resize')\n public onWindowResize(): void {\n this.updateResponsiveClass();\n }\n\n private updateResponsiveClass(): void {\n this.adapterService.setResponsiveClass(this.elementRef);\n this.changeDetector.markForCheck();\n }\n}\n","<dl\n class=\"sky-description-list\"\n [ngClass]=\"{\n 'sky-description-list-long-description-mode': mode === 'longDescription',\n 'sky-description-list-vertical-mode': mode === 'vertical',\n 'sky-description-list-horizontal-mode': mode === 'horizontal'\n }\"\n #descriptionListElement\n>\n <!--\n Wrapping div is for horizontal flexing. Also injecting children's templateRef directly\n to avoid adding non-semantic HTML tags to DOM\n -->\n <div\n *ngFor=\"let contentComponent of contentComponents\"\n class=\"sky-description-list-content\"\n [style.width]=\"mode === 'horizontal' ? listItemWidth : ''\"\n >\n <dt *ngFor=\"let termComponent of contentComponent?.termComponents\">\n <ng-container\n *ngTemplateOutlet=\"termComponent.templateRef\"\n ></ng-container>\n </dt>\n <dd\n *ngFor=\"\n let descriptionComponent of contentComponent?.descriptionComponents\n \"\n >\n <ng-container\n *ngTemplateOutlet=\"descriptionComponent.templateRef\"\n ></ng-container>\n </dd>\n </div>\n</dl>\n"]}
|
|
@@ -3,10 +3,10 @@ import { NgModule } from '@angular/core';
|
|
|
3
3
|
import { SkyI18nModule } from '@skyux/i18n';
|
|
4
4
|
import { SkyThemeModule } from '@skyux/theme';
|
|
5
5
|
import { SkyLayoutResourcesModule } from '../shared/sky-layout-resources.module';
|
|
6
|
-
import { SkyDescriptionListComponent } from './description-list.component';
|
|
7
6
|
import { SkyDescriptionListContentComponent } from './description-list-content.component';
|
|
8
|
-
import { SkyDescriptionListTermComponent } from './description-list-term.component';
|
|
9
7
|
import { SkyDescriptionListDescriptionComponent } from './description-list-description.component';
|
|
8
|
+
import { SkyDescriptionListTermComponent } from './description-list-term.component';
|
|
9
|
+
import { SkyDescriptionListComponent } from './description-list.component';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export class SkyDescriptionListModule {
|
|
12
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description-list.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"description-list.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/description-list/description-list.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AAEjF,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAClG,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;;AAsB3E,MAAM,OAAO,wBAAwB;;sHAAxB,wBAAwB;uHAAxB,wBAAwB,iBAlBjC,2BAA2B;QAC3B,kCAAkC;QAClC,+BAA+B;QAC/B,sCAAsC,aAGtC,YAAY;QACZ,aAAa;QACb,wBAAwB;QACxB,cAAc,aAGd,2BAA2B;QAC3B,kCAAkC;QAClC,+BAA+B;QAC/B,sCAAsC;uHAG7B,wBAAwB,YAb1B;YACP,YAAY;YACZ,aAAa;YACb,wBAAwB;YACxB,cAAc;SACf;4FAQU,wBAAwB;kBApBpC,QAAQ;mBAAC;oBACR,YAAY,EAAE;wBACZ,2BAA2B;wBAC3B,kCAAkC;wBAClC,+BAA+B;wBAC/B,sCAAsC;qBACvC;oBACD,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;wBACb,wBAAwB;wBACxB,cAAc;qBACf;oBACD,OAAO,EAAE;wBACP,2BAA2B;wBAC3B,kCAAkC;wBAClC,+BAA+B;wBAC/B,sCAAsC;qBACvC;iBACF","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { SkyI18nModule } from '@skyux/i18n';\nimport { SkyThemeModule } from '@skyux/theme';\n\nimport { SkyLayoutResourcesModule } from '../shared/sky-layout-resources.module';\n\nimport { SkyDescriptionListContentComponent } from './description-list-content.component';\nimport { SkyDescriptionListDescriptionComponent } from './description-list-description.component';\nimport { SkyDescriptionListTermComponent } from './description-list-term.component';\nimport { SkyDescriptionListComponent } from './description-list.component';\n\n@NgModule({\n declarations: [\n SkyDescriptionListComponent,\n SkyDescriptionListContentComponent,\n SkyDescriptionListTermComponent,\n SkyDescriptionListDescriptionComponent,\n ],\n imports: [\n CommonModule,\n SkyI18nModule,\n SkyLayoutResourcesModule,\n SkyThemeModule,\n ],\n exports: [\n SkyDescriptionListComponent,\n SkyDescriptionListContentComponent,\n SkyDescriptionListTermComponent,\n SkyDescriptionListDescriptionComponent,\n ],\n})\nexport class SkyDescriptionListModule {}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"column.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/column.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/column.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACX,KAAK,EAIL,iBAAiB,GAClB,MAAM,eAAe,CAAC;;AAQvB,MAAM,OAAO,kBAAkB;IAqCtB,WAAW,CAAC,OAAsB;QACvC,0BAA0B;QAC1B,IACE,OAAO,CAAC,YAAY;YACpB,OAAO,CAAC,WAAW;YACnB,OAAO,CAAC,YAAY;YACpB,OAAO,CAAC,WAAW,EACnB;YACA,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;SACxC;IACH,CAAC;IAEM,aAAa;QAClB,
|
|
1
|
+
{"version":3,"file":"column.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/column.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/column.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACX,KAAK,EAIL,iBAAiB,GAClB,MAAM,eAAe,CAAC;;AAQvB,MAAM,OAAO,kBAAkB;IAqCtB,WAAW,CAAC,OAAsB;QACvC,0BAA0B;QAC1B,IACE,OAAO,CAAC,YAAY;YACpB,OAAO,CAAC,WAAW;YACnB,OAAO,CAAC,YAAY;YACpB,OAAO,CAAC,WAAW,EACnB;YACA,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;SACxC;IACH,CAAC;IAEM,aAAa;QAClB,MAAM,UAAU,GAAG,CAAC,YAAY,CAAC,CAAC;QAElC,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,UAAU,CAAC,IAAI,CAAC,iBAAiB,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;SACvD;QAED,IAAI,IAAI,CAAC,WAAW,EAAE;YACpB,UAAU,CAAC,IAAI,CAAC,iBAAiB,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;SACtD;QAED,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,UAAU,CAAC,IAAI,CAAC,iBAAiB,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC;SACvD;QAED,IAAI,IAAI,CAAC,WAAW,EAAE;YACpB,UAAU,CAAC,IAAI,CAAC,iBAAiB,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;SACtD;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;IAEM,QAAQ;QACb,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;IACzC,CAAC;;gHAzEU,kBAAkB;oGAAlB,kBAAkB,6PChB/B,6BACA;4FDea,kBAAkB;kBAN9B,SAAS;mBAAC;oBACT,QAAQ,EAAE,YAAY;oBACtB,WAAW,EAAE,yBAAyB;oBACtC,SAAS,EAAE,CAAC,yBAAyB,CAAC;oBACtC,aAAa,EAAE,iBAAiB,CAAC,IAAI;iBACtC;8BASQ,YAAY;sBADlB,KAAK;gBASC,WAAW;sBADjB,KAAK;gBASC,YAAY;sBADlB,KAAK;gBASC,WAAW;sBADjB,KAAK;gBAIC,UAAU;sBADhB,WAAW;uBAAC,OAAO","sourcesContent":["import {\n Component,\n HostBinding,\n Input,\n OnChanges,\n OnInit,\n SimpleChanges,\n ViewEncapsulation,\n} from '@angular/core';\n\n@Component({\n selector: 'sky-column',\n templateUrl: './column.component.html',\n styleUrls: ['./column.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class SkyColumnComponent implements OnInit, OnChanges {\n /**\n * Specifies the number of columns (1-12) to use on extra-small screens\n * (less than 768px). If you do not specify a value, the fluid grid displays\n * the column at the full width of the screen.\n * @default 12\n */\n @Input()\n public screenXSmall: number;\n\n /**\n * Specifies the number of columns (1-12) to use on small screens\n * (768-991px). If you do not specify a value, the column inherits\n * the `screenXSmall` value.\n */\n @Input()\n public screenSmall: number;\n\n /**\n * Specifies the number of columns (1-12) to use on medium screens\n * (992-1199px). If you do not specify a value, the column inherits\n * the `screenSmall` value.\n */\n @Input()\n public screenMedium: number;\n\n /**\n * Specifies the number of columns (1-12) to use on large screens\n * (more than 1200px). If you do not specify a value, the column\n * inherits the `screenMedium` value.\n */\n @Input()\n public screenLarge: number;\n\n @HostBinding('class')\n public classnames: string;\n\n public ngOnChanges(changes: SimpleChanges) {\n /* istanbul ignore else */\n if (\n changes.screenXSmall ||\n changes.screenSmall ||\n changes.screenMedium ||\n changes.screenLarge\n ) {\n this.classnames = this.getClassNames();\n }\n }\n\n public getClassNames(): string {\n const classnames = ['sky-column'];\n\n if (this.screenXSmall) {\n classnames.push(`sky-column-xs-${this.screenXSmall}`);\n }\n\n if (this.screenSmall) {\n classnames.push(`sky-column-sm-${this.screenSmall}`);\n }\n\n if (this.screenMedium) {\n classnames.push(`sky-column-md-${this.screenMedium}`);\n }\n\n if (this.screenLarge) {\n classnames.push(`sky-column-lg-${this.screenLarge}`);\n }\n\n return classnames.join(' ');\n }\n\n public ngOnInit(): void {\n this.classnames = this.getClassNames();\n }\n}\n","<ng-content></ng-content>\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fluid-grid.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/fluid-grid.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/fluid-grid.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;;;
|
|
1
|
+
{"version":3,"file":"fluid-grid.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/fluid-grid.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/fluid-grid.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;;;AAGlE;;;GAGG;AAMH,MAAM,OAAO,qBAAqB;IAChC;;;OAGG;IACH,IACW,aAAa,CAAC,KAAc;QACrC,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;IAC9B,CAAC;IAED,IAAW,aAAa;QACtB,OAAO,IAAI,CAAC,cAAc,IAAI,KAAK,CAAC;IACtC,CAAC;IAED;;;;OAIG;IACH,IACW,UAAU,CAAC,KAAiC;QACrD,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;IAC3B,CAAC;IAED,IAAW,UAAU;QACnB,OAAO,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,IAAW,kBAAkB;QAC3B,0FAA0F;QAC1F,0FAA0F;QAC1F,sFAAsF;QACtF,QAAQ,IAAI,CAAC,UAAU,EAAE;YACvB,KAAK,QAAQ,CAAC;YACd,KAAK,sBAAsB,CAAC,MAAM,CAAC;YACnC,KAAK,sBAAsB,CAAC,MAAM,CAAC,QAAQ,EAAE;gBAC3C,OAAO,QAAQ,CAAC;YAClB,KAAK,OAAO,CAAC;YACb,KAAK,sBAAsB,CAAC,KAAK,CAAC;YAClC,KAAK,sBAAsB,CAAC,KAAK,CAAC,QAAQ,EAAE;gBAC1C,OAAO,OAAO,CAAC;YACjB;gBACE,OAAO,OAAO,CAAC;SAClB;IACH,CAAC;;mHA/CU,qBAAqB;uGAArB,qBAAqB,4HCdlC,gXAWA;4FDGa,qBAAqB;kBALjC,SAAS;mBAAC;oBACT,QAAQ,EAAE,gBAAgB;oBAC1B,WAAW,EAAE,6BAA6B;oBAC1C,SAAS,EAAE,CAAC,6BAA6B,CAAC;iBAC3C;8BAOY,aAAa;sBADvB,KAAK;gBAeK,UAAU;sBADpB,KAAK","sourcesContent":["import { Component, Input } from '@angular/core';\n\nimport { SkyFluidGridGutterSize } from './fluid-grid-gutter-size';\nimport { SkyFluidGridGutterSizeType } from './types/fluid-grid-gutter-size-type';\n\n/**\n * Wraps the fluid grid to ensure proper spacing. Without the wrapper, the\n * alignment, padding, and margins do not behave as expected.\n */\n@Component({\n selector: 'sky-fluid-grid',\n templateUrl: './fluid-grid.component.html',\n styleUrls: ['./fluid-grid.component.scss'],\n})\nexport class SkyFluidGridComponent {\n /**\n * Disables the outer left and right margin of the fluid grid container.\n * @default false\n */\n @Input()\n public set disableMargin(value: boolean) {\n this._disableMargin = value;\n }\n\n public get disableMargin(): boolean {\n return this._disableMargin || false;\n }\n\n /**\n * Specifies a `SkyFluidGridGutterSizeType` to define the size of the padding\n * between columns. Options include: `any`, `1`, `2`, `\"small\"`, `\"medium\"`, and `\"large\"`.\n * @default \"large\"\n */\n @Input()\n public set gutterSize(value: SkyFluidGridGutterSizeType) {\n this._gutterSize = value;\n }\n\n public get gutterSize(): SkyFluidGridGutterSizeType {\n return this._gutterSize === undefined ? 'large' : this._gutterSize;\n }\n\n /**\n * @internal\n */\n public get gutterSizeResolved(): SkyFluidGridGutterSizeType {\n // Before this change, the template did a `==` comparison, implicitly converting numerical\n // string values to their numeric values before comparing them. Checking for the numerical\n // string value in addition to the values allowed by the type maintains this behavior.\n switch (this.gutterSize) {\n case 'medium':\n case SkyFluidGridGutterSize.Medium:\n case SkyFluidGridGutterSize.Medium.toString():\n return 'medium';\n case 'small':\n case SkyFluidGridGutterSize.Small:\n case SkyFluidGridGutterSize.Small.toString():\n return 'small';\n default:\n return 'large';\n }\n }\n\n private _disableMargin: boolean;\n\n private _gutterSize: SkyFluidGridGutterSizeType;\n}\n","<div\n class=\"sky-fluid-grid\"\n [ngClass]=\"{\n 'sky-fluid-grid-gutter-size-small': gutterSizeResolved === 'small',\n 'sky-fluid-grid-gutter-size-medium': gutterSizeResolved === 'medium',\n 'sky-fluid-grid-gutter-size-large': gutterSizeResolved === 'large',\n 'sky-fluid-grid-no-margin': disableMargin\n }\"\n>\n <ng-content></ng-content>\n</div>\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
1
|
import { CommonModule } from '@angular/common';
|
|
3
|
-
import {
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
4
3
|
import { SkyColumnComponent } from './column.component';
|
|
5
4
|
import { SkyFluidGridComponent } from './fluid-grid.component';
|
|
5
|
+
import { SkyRowComponent } from './row.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class SkyFluidGridModule {
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fluid-grid.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/fluid-grid.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"fluid-grid.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/fluid-grid.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;;AAOlD,MAAM,OAAO,kBAAkB;;gHAAlB,kBAAkB;iHAAlB,kBAAkB,iBAHd,eAAe,EAAE,kBAAkB,EAAE,qBAAqB,aAD/D,YAAY,aAEZ,eAAe,EAAE,kBAAkB,EAAE,qBAAqB;iHAEzD,kBAAkB,YAJpB,CAAC,YAAY,CAAC;4FAIZ,kBAAkB;kBAL9B,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,eAAe,EAAE,kBAAkB,EAAE,qBAAqB,CAAC;oBAC1E,OAAO,EAAE,CAAC,eAAe,EAAE,kBAAkB,EAAE,qBAAqB,CAAC;iBACtE","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { SkyColumnComponent } from './column.component';\nimport { SkyFluidGridComponent } from './fluid-grid.component';\nimport { SkyRowComponent } from './row.component';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [SkyRowComponent, SkyColumnComponent, SkyFluidGridComponent],\n exports: [SkyRowComponent, SkyColumnComponent, SkyFluidGridComponent],\n})\nexport class SkyFluidGridModule {}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"row.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/row.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/row.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;;;AAEjD;;;GAGG;AAMH,MAAM,OAAO,eAAe;IAL5B;QAME;;;WAGG;QAEI,uBAAkB,
|
|
1
|
+
{"version":3,"file":"row.component.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/row.component.ts","../../../../../../../../libs/components/layout/src/lib/modules/fluid-grid/row.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;;;AAEjD;;;GAGG;AAMH,MAAM,OAAO,eAAe;IAL5B;QAME;;;WAGG;QAEI,uBAAkB,GAAG,KAAK,CAAC;KACnC;;6GAPY,eAAe;iGAAf,eAAe,qGCX5B,wHAGA;4FDQa,eAAe;kBAL3B,SAAS;mBAAC;oBACT,QAAQ,EAAE,SAAS;oBACnB,WAAW,EAAE,sBAAsB;oBACnC,SAAS,EAAE,CAAC,sBAAsB,CAAC;iBACpC;8BAOQ,kBAAkB;sBADxB,KAAK","sourcesContent":["import { Component, Input } from '@angular/core';\n\n/**\n * Displays a row within the `sky-fluid-grid` wrapper. Previously, you could display a row\n * without a wrapper, but we no longer officially support that option.\n */\n@Component({\n selector: 'sky-row',\n templateUrl: './row.component.html',\n styleUrls: ['./row.component.scss'],\n})\nexport class SkyRowComponent {\n /**\n * Indicates whether to reverse the display order for columns in the row.\n * @default false\n */\n @Input()\n public reverseColumnOrder = false;\n}\n","<div class=\"sky-row\" [ngClass]=\"{ 'sky-row-reverse': reverseColumnOrder }\">\n <ng-content></ng-content>\n</div>\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/format/format.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"format.module.js","sourceRoot":"","sources":["../../../../../../../../libs/components/layout/src/lib/modules/format/format.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;;AAOxD,MAAM,OAAO,eAAe;;6GAAf,eAAe;8GAAf,eAAe,iBAJX,kBAAkB,aACvB,YAAY,aACZ,kBAAkB;8GAEjB,eAAe,YAHjB,CAAC,YAAY,CAAC;4FAGZ,eAAe;kBAL3B,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,kBAAkB,CAAC;oBAClC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,kBAAkB,CAAC;iBAC9B","sourcesContent":["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { SkyFormatComponent } from './format.component';\n\n@NgModule({\n declarations: [SkyFormatComponent],\n imports: [CommonModule],\n exports: [SkyFormatComponent],\n})\nexport class SkyFormatModule {}\n"]}
|