@theseam/ui-common 0.4.23 → 0.4.24-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/breadcrumbs/breadcrumbs/breadcrumbs.component.scss +1 -1
  2. package/datatable/datatable/datatable.component.d.ts +10 -1
  3. package/datatable/models/action-item-column-position.d.ts +13 -0
  4. package/datatable/services/columns-manager.service.d.ts +7 -0
  5. package/datatable/utils/create-action-menu-column.d.ts +1 -1
  6. package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +2 -2
  7. package/esm2020/datatable/datatable/datatable.component.mjs +20 -4
  8. package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +2 -2
  9. package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +1 -1
  10. package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +1 -1
  11. package/esm2020/datatable/models/action-item-column-position.mjs +5 -0
  12. package/esm2020/datatable/services/columns-manager.service.mjs +27 -2
  13. package/esm2020/datatable/utils/create-action-menu-column.mjs +4 -3
  14. package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +1 -1
  15. package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +1 -1
  16. package/esm2020/form-field/form-field-required-indicator.component.mjs +22 -7
  17. package/esm2020/form-field/input.directive.mjs +19 -16
  18. package/esm2020/form-field/testing/form-field.harness.mjs +45 -0
  19. package/esm2020/form-field/testing/index.mjs +2 -1
  20. package/esm2020/framework/base-layout/base-layout.component.mjs +14 -4
  21. package/esm2020/framework/base-layout/base-layout.module.mjs +6 -1
  22. package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +21 -5
  23. package/esm2020/framework/base-layout/directives/base-layout-side-bar-header.directive.mjs +16 -0
  24. package/esm2020/framework/base-layout/index.mjs +2 -1
  25. package/esm2020/framework/nav/horizontal-nav/horizontal-nav.component.mjs +55 -0
  26. package/esm2020/framework/nav/index.mjs +6 -0
  27. package/esm2020/framework/nav/nav-item/nav-item.component.mjs +227 -0
  28. package/esm2020/framework/nav/nav-utils.mjs +107 -0
  29. package/esm2020/framework/nav/nav.models.mjs +2 -0
  30. package/esm2020/framework/nav/nav.module.mjs +67 -0
  31. package/esm2020/framework/nav/nav.service.mjs +204 -0
  32. package/esm2020/framework/public-api.mjs +2 -1
  33. package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +2 -2
  34. package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +28 -67
  35. package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +12 -5
  36. package/esm2020/framework/side-nav/side-nav.component.mjs +116 -38
  37. package/esm2020/framework/side-nav/side-nav.models.mjs +1 -1
  38. package/esm2020/framework/side-nav/side-nav.module.mjs +9 -39
  39. package/esm2020/framework/side-nav/side-nav.service.mjs +1 -1
  40. package/esm2020/framework/top-bar/index.mjs +3 -1
  41. package/esm2020/framework/top-bar/top-bar-compact-menu-btn-detail.directive.mjs +16 -0
  42. package/esm2020/framework/top-bar/top-bar-item.directive.mjs +10 -4
  43. package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +6 -4
  44. package/esm2020/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.mjs +16 -0
  45. package/esm2020/framework/top-bar/top-bar.component.mjs +55 -11
  46. package/esm2020/framework/top-bar/top-bar.module.mjs +15 -5
  47. package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +3 -3
  48. package/esm2020/layout/layout.service.mjs +12 -2
  49. package/esm2020/menu/menu-toggle.directive.mjs +7 -2
  50. package/esm2020/story-helpers/story-modal-container.component.mjs +3 -3
  51. package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +4 -2
  52. package/esm2020/utils/geo-json/coerce-feature-collection.mjs +1 -1
  53. package/esm2020/utils/geo-json/is-feature-collection.validator.mjs +1 -1
  54. package/esm2020/utils/geo-json/is-only-geometry-types.mjs +1 -1
  55. package/esm2020/utils/geo-json/merge-polygons.mjs +1 -1
  56. package/esm2020/utils/geo-json/no-inner-rings.validator.mjs +1 -1
  57. package/esm2020/utils/geo-json/split-multi-polygons.mjs +1 -1
  58. package/fesm2015/theseam-ui-common-breadcrumbs.mjs +2 -2
  59. package/fesm2015/theseam-ui-common-breadcrumbs.mjs.map +1 -1
  60. package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +2 -2
  61. package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
  62. package/fesm2015/theseam-ui-common-datatable.mjs +56 -10
  63. package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -1
  64. package/fesm2015/theseam-ui-common-form-field.mjs +92 -27
  65. package/fesm2015/theseam-ui-common-form-field.mjs.map +1 -1
  66. package/fesm2015/theseam-ui-common-framework.mjs +905 -156
  67. package/fesm2015/theseam-ui-common-framework.mjs.map +1 -1
  68. package/fesm2015/theseam-ui-common-google-maps.mjs +2 -2
  69. package/fesm2015/theseam-ui-common-google-maps.mjs.map +1 -1
  70. package/fesm2015/theseam-ui-common-layout.mjs +11 -2
  71. package/fesm2015/theseam-ui-common-layout.mjs.map +1 -1
  72. package/fesm2015/theseam-ui-common-menu.mjs +6 -1
  73. package/fesm2015/theseam-ui-common-menu.mjs.map +1 -1
  74. package/fesm2015/theseam-ui-common-story-helpers.mjs +2 -2
  75. package/fesm2015/theseam-ui-common-story-helpers.mjs.map +1 -1
  76. package/fesm2015/theseam-ui-common-table-cell-types.mjs +3 -1
  77. package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +1 -1
  78. package/fesm2015/theseam-ui-common-utils.mjs.map +1 -1
  79. package/fesm2020/theseam-ui-common-breadcrumbs.mjs +2 -2
  80. package/fesm2020/theseam-ui-common-breadcrumbs.mjs.map +1 -1
  81. package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +2 -2
  82. package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
  83. package/fesm2020/theseam-ui-common-datatable.mjs +56 -10
  84. package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -1
  85. package/fesm2020/theseam-ui-common-form-field.mjs +88 -27
  86. package/fesm2020/theseam-ui-common-form-field.mjs.map +1 -1
  87. package/fesm2020/theseam-ui-common-framework.mjs +907 -156
  88. package/fesm2020/theseam-ui-common-framework.mjs.map +1 -1
  89. package/fesm2020/theseam-ui-common-google-maps.mjs +2 -2
  90. package/fesm2020/theseam-ui-common-google-maps.mjs.map +1 -1
  91. package/fesm2020/theseam-ui-common-layout.mjs +11 -2
  92. package/fesm2020/theseam-ui-common-layout.mjs.map +1 -1
  93. package/fesm2020/theseam-ui-common-menu.mjs +6 -1
  94. package/fesm2020/theseam-ui-common-menu.mjs.map +1 -1
  95. package/fesm2020/theseam-ui-common-story-helpers.mjs +2 -2
  96. package/fesm2020/theseam-ui-common-story-helpers.mjs.map +1 -1
  97. package/fesm2020/theseam-ui-common-table-cell-types.mjs +3 -1
  98. package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +1 -1
  99. package/fesm2020/theseam-ui-common-utils.mjs.map +1 -1
  100. package/form-field/form-field-required-indicator.component.d.ts +6 -1
  101. package/form-field/input.directive.d.ts +9 -15
  102. package/form-field/testing/form-field.harness.d.ts +14 -0
  103. package/form-field/testing/index.d.ts +1 -0
  104. package/framework/base-layout/base-layout.component.d.ts +4 -2
  105. package/framework/base-layout/base-layout.component.scss +18 -10
  106. package/framework/base-layout/base-layout.module.d.ts +11 -10
  107. package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +8 -3
  108. package/framework/base-layout/directives/base-layout-side-bar-header.directive.d.ts +9 -0
  109. package/framework/base-layout/index.d.ts +1 -0
  110. package/framework/base-layout/styles/_variables.scss +21 -0
  111. package/framework/nav/_nav-theme.scss +4 -0
  112. package/framework/nav/horizontal-nav/horizontal-nav.component.d.ts +25 -0
  113. package/framework/nav/horizontal-nav/horizontal-nav.component.scss +50 -0
  114. package/framework/nav/index.d.ts +5 -0
  115. package/framework/nav/nav-item/nav-item.component.d.ts +74 -0
  116. package/framework/nav/nav-item/nav-item.component.scss +203 -0
  117. package/framework/nav/nav-utils.d.ts +20 -0
  118. package/framework/nav/nav.models.d.ts +77 -0
  119. package/framework/nav/nav.module.d.ts +17 -0
  120. package/framework/nav/nav.service.d.ts +27 -0
  121. package/framework/nav/styles/_themes/light/_variables.scss +56 -0
  122. package/framework/nav/styles/_themes/primary/_variables.scss +56 -0
  123. package/framework/nav/styles/_utilities.scss +3 -0
  124. package/framework/nav/styles/_variables.scss +2 -0
  125. package/framework/public-api.d.ts +1 -0
  126. package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +7 -14
  127. package/framework/side-nav/side-nav-item/side-nav-item.component.scss +7 -5
  128. package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +5 -3
  129. package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.scss +3 -6
  130. package/framework/side-nav/side-nav.component.d.ts +13 -1
  131. package/framework/side-nav/side-nav.component.scss +0 -1
  132. package/framework/side-nav/side-nav.models.d.ts +7 -1
  133. package/framework/side-nav/side-nav.module.d.ts +1 -9
  134. package/framework/side-nav/styles/_themes/light/_variables.scss +24 -14
  135. package/framework/side-nav/styles/_themes/primary/_variables.scss +8 -0
  136. package/framework/top-bar/index.d.ts +2 -0
  137. package/framework/top-bar/top-bar-compact-menu-btn-detail.directive.d.ts +8 -0
  138. package/framework/top-bar/top-bar-item.directive.d.ts +4 -1
  139. package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +5 -2
  140. package/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.d.ts +8 -0
  141. package/framework/top-bar/top-bar.component.d.ts +25 -3
  142. package/framework/top-bar/top-bar.component.scss +7 -2
  143. package/framework/top-bar/top-bar.module.d.ts +10 -8
  144. package/layout/layout.service.d.ts +9 -1
  145. package/menu/menu-toggle.directive.d.ts +2 -1
  146. package/package.json +2 -2
  147. package/styles/vendor/ngx-datatable/_ngx-datatable.scss +57 -14
  148. package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +33 -5
@@ -4,7 +4,7 @@ seam-breadcrumbs {
4
4
  li {
5
5
  color: $breadcrumb-color;
6
6
  a {
7
- color: inherit;
7
+ color: $breadcrumb-color;
8
8
  }
9
9
  }
10
10
  }
@@ -20,6 +20,7 @@ import { TheSeamDatatableColumn } from '../models/table-column';
20
20
  import { ColumnsManagerService } from '../services/columns-manager.service';
21
21
  import { DatatablePreferencesService } from '../services/datatable-preferences.service';
22
22
  import { ColumnsAlterationsManagerService } from '../services/columns-alterations-manager.service';
23
+ import { ActionItemColumnPosition } from '../models/action-item-column-position';
23
24
  import * as i0 from "@angular/core";
24
25
  /**
25
26
  * NOTE: This is still being worked on. I am trying to figure out this model
@@ -136,6 +137,14 @@ export declare class DatatableComponent implements OnInit, OnDestroy, TheSeamDat
136
137
  scrollbarV: boolean;
137
138
  scrollbarH: boolean;
138
139
  set dataSource(value: DataSource<any> | any[] | undefined | null);
140
+ /**
141
+ * Sets position behavior for optional Action Menu Button column.
142
+ *
143
+ * Defaults to `frozenRight`.
144
+ */
145
+ get actionItemColumnPosition(): ActionItemColumnPosition | undefined;
146
+ set actionItemColumnPosition(value: ActionItemColumnPosition | undefined);
147
+ private _actionItemColumnPosition;
139
148
  readonly scroll: EventEmitter<any>;
140
149
  readonly activate: EventEmitter<any>;
141
150
  readonly select: EventEmitter<any>;
@@ -210,5 +219,5 @@ export declare class DatatableComponent implements OnInit, OnDestroy, TheSeamDat
210
219
  */
211
220
  get pageInfo(): TheSeamPageInfo;
212
221
  static ɵfac: i0.ɵɵFactoryDeclaration<DatatableComponent, never>;
213
- static ɵcmp: i0.ɵɵComponentDeclaration<DatatableComponent, "seam-datatable", never, { "preferencesKey": "preferencesKey"; "targetMarkerTemplate": "targetMarkerTemplate"; "columns": "columns"; "rows": "rows"; "columnMode": "columnMode"; "groupRowsBy": "groupRowsBy"; "groupedRows": "groupedRows"; "selected": "selected"; "externalPaging": "externalPaging"; "externalSorting": "externalSorting"; "externalFiltering": "externalFiltering"; "limit": "limit"; "count": "count"; "offset": "offset"; "loadingIndicator": "loadingIndicator"; "selectionType": "selectionType"; "reorderable": "reorderable"; "swapColumns": "swapColumns"; "sortType": "sortType"; "sorts": "sorts"; "cssClasses": "cssClasses"; "messages": "messages"; "rowIdentity": "rowIdentity"; "rowClass": "rowClass"; "selectCheck": "selectCheck"; "displayCheck": "displayCheck"; "groupExpansionDefault": "groupExpansionDefault"; "trackByProp": "trackByProp"; "selectAllRowsOnPage": "selectAllRowsOnPage"; "treeFromRelation": "treeFromRelation"; "treeToRelation": "treeToRelation"; "summaryRow": "summaryRow"; "summaryHeight": "summaryHeight"; "summaryPosition": "summaryPosition"; "virtualization": "virtualization"; "headerHeight": "headerHeight"; "rowHeight": "rowHeight"; "footerHeight": "footerHeight"; "scrollbarV": "scrollbarV"; "scrollbarH": "scrollbarH"; "dataSource": "dataSource"; }, { "scroll": "scroll"; "activate": "activate"; "select": "select"; "sort": "sort"; "page": "page"; "reorder": "reorder"; "resize": "resize"; "tableContextmenu": "tableContextmenu"; "treeAction": "treeAction"; "actionRefreshRequest": "actionRefreshRequest"; "hiddenColumnsChange": "hiddenColumnsChange"; }, ["actionMenu", "rowActionItem", "rowDetail", "footer", "menuBarComponent", "columnComponents"], ["seam-datatable-menu-bar"], false, never>;
222
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatatableComponent, "seam-datatable", never, { "preferencesKey": "preferencesKey"; "targetMarkerTemplate": "targetMarkerTemplate"; "columns": "columns"; "rows": "rows"; "columnMode": "columnMode"; "groupRowsBy": "groupRowsBy"; "groupedRows": "groupedRows"; "selected": "selected"; "externalPaging": "externalPaging"; "externalSorting": "externalSorting"; "externalFiltering": "externalFiltering"; "limit": "limit"; "count": "count"; "offset": "offset"; "loadingIndicator": "loadingIndicator"; "selectionType": "selectionType"; "reorderable": "reorderable"; "swapColumns": "swapColumns"; "sortType": "sortType"; "sorts": "sorts"; "cssClasses": "cssClasses"; "messages": "messages"; "rowIdentity": "rowIdentity"; "rowClass": "rowClass"; "selectCheck": "selectCheck"; "displayCheck": "displayCheck"; "groupExpansionDefault": "groupExpansionDefault"; "trackByProp": "trackByProp"; "selectAllRowsOnPage": "selectAllRowsOnPage"; "treeFromRelation": "treeFromRelation"; "treeToRelation": "treeToRelation"; "summaryRow": "summaryRow"; "summaryHeight": "summaryHeight"; "summaryPosition": "summaryPosition"; "virtualization": "virtualization"; "headerHeight": "headerHeight"; "rowHeight": "rowHeight"; "footerHeight": "footerHeight"; "scrollbarV": "scrollbarV"; "scrollbarH": "scrollbarH"; "dataSource": "dataSource"; "actionItemColumnPosition": "actionItemColumnPosition"; }, { "scroll": "scroll"; "activate": "activate"; "select": "select"; "sort": "sort"; "page": "page"; "reorder": "reorder"; "resize": "resize"; "tableContextmenu": "tableContextmenu"; "treeAction": "treeAction"; "actionRefreshRequest": "actionRefreshRequest"; "hiddenColumnsChange": "hiddenColumnsChange"; }, ["actionMenu", "rowActionItem", "rowDetail", "footer", "menuBarComponent", "columnComponents"], ["seam-datatable-menu-bar"], false, never>;
214
223
  }
@@ -0,0 +1,13 @@
1
+ declare const ActionItemColumnPosition: readonly ["frozenLeft", "frozenRight", "staticLeft", "staticRight"];
2
+ /**
3
+ * If `frozenLeft`, action item column will be fixed to the left side of the table.
4
+ *
5
+ * If `frozenRight`, action item column will be fixed to the right side of the table.
6
+ *
7
+ * If `staticLeft`, action item column will be the first static column on the left side of the table.
8
+ *
9
+ * If `staticRight`, action item column will be the last static column on the right side of the table.
10
+ */
11
+ export type ActionItemColumnPosition = typeof ActionItemColumnPosition[number];
12
+ export declare function isActionItemColumnPosition(input: unknown): input is ActionItemColumnPosition;
13
+ export {};
@@ -5,6 +5,7 @@ import { DatatableColumnComponent } from '../datatable-column/datatable-column.c
5
5
  import { DatatableRowActionItemDirective } from '../directives/datatable-row-action-item.directive';
6
6
  import { TheSeamDatatableColumn } from '../models/table-column';
7
7
  import { DatatableColumnChangesService } from './datatable-column-changes.service';
8
+ import { ActionItemColumnPosition } from '../models/action-item-column-position';
8
9
  import * as i0 from "@angular/core";
9
10
  export type InternalColumnsGetter = () => TableColumn[];
10
11
  export declare class ColumnsManagerService {
@@ -21,6 +22,7 @@ export declare class ColumnsManagerService {
21
22
  private _selectionType;
22
23
  private _rowActionItem;
23
24
  private _actionMenuCellTpl;
25
+ private _actionItemColumnPosition;
24
26
  private _blankHeaderTpl;
25
27
  private _treeToggleTpl;
26
28
  private _headerTpl;
@@ -33,6 +35,7 @@ export declare class ColumnsManagerService {
33
35
  setSelectionType(selectionType: SelectionType | undefined): void;
34
36
  getSelectionType(): SelectionType | undefined;
35
37
  setRowActionItem(rowActionItem: DatatableRowActionItemDirective | undefined): void;
38
+ setActionItemColumnPosition(actionItemColumnPosition: ActionItemColumnPosition | undefined): void;
36
39
  setActionMenuCellTpl(actionMenuCellTpl: TemplateRef<DataTableColumnDirective> | undefined): void;
37
40
  setBlankHeaderTpl(blankHeaderTpl: TemplateRef<DataTableColumnHeaderDirective> | undefined): void;
38
41
  setTreeToggleTpl(treeToggleTpl: TemplateRef<DataTableColumnCellTreeToggle> | undefined): void;
@@ -50,6 +53,10 @@ export declare class ColumnsManagerService {
50
53
  private _hasColumnsChanged;
51
54
  private _shouldAddCheckboxColumn;
52
55
  private _shouldAddRowActionColumn;
56
+ private _rowActionColumnIsFrozenLeft;
57
+ private _rowActionColumnIsFrozenRight;
58
+ private _rowActionColumnIsStaticLeft;
59
+ private _rowActionColumnIsStaticRight;
53
60
  private _shouldAddTreeToggleColumn;
54
61
  private _shouldAddHeaderTemplate;
55
62
  private _shouldAddCellTypeSelectorTpl;
@@ -1,3 +1,3 @@
1
1
  import { TheSeamDatatableColumn } from '../models/table-column';
2
2
  export declare const ACTION_MENU_COLUMN_PROP = "$$__actionMenu__";
3
- export declare function createActionMenuColumn(cellTemplate: any, headerTemplate: any): TheSeamDatatableColumn;
3
+ export declare function createActionMenuColumn(cellTemplate: any, headerTemplate: any, frozenLeft?: boolean, frozenRight?: boolean): TheSeamDatatableColumn;
@@ -10,9 +10,9 @@ export class BreadcrumbsComponent {
10
10
  }
11
11
  }
12
12
  BreadcrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BreadcrumbsComponent, deps: [{ token: i1.TheSeamBreadcrumbsService }], target: i0.ɵɵFactoryTarget.Component });
13
- BreadcrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: BreadcrumbsComponent, selector: "seam-breadcrumbs", ngImport: i0, template: "<nav aria-label=\"breadcrumb\">\n <ol class=\"breadcrumb mb-0\">\n <li *ngFor=\"let crumb of crumbs$ | async; last as isLast\"\n class=\"breadcrumb-item\"\n [ngClass]=\"{ 'active': isLast }\"\n [attr.aria-current]=\"isLast ? 'page' : undefined\">\n <a *ngIf=\"!isLast; else notLink\" [routerLink]=\"crumb.path\">{{ crumb.value }}</a>\n <ng-template #notLink>{{ crumb.value }}</ng-template>\n </li>\n </ol>\n</nav>\n", styles: ["seam-breadcrumbs li{color:#fff}seam-breadcrumbs li a{color:inherit}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
13
+ BreadcrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: BreadcrumbsComponent, selector: "seam-breadcrumbs", ngImport: i0, template: "<nav aria-label=\"breadcrumb\">\n <ol class=\"breadcrumb mb-0\">\n <li *ngFor=\"let crumb of crumbs$ | async; last as isLast\"\n class=\"breadcrumb-item\"\n [ngClass]=\"{ 'active': isLast }\"\n [attr.aria-current]=\"isLast ? 'page' : undefined\">\n <a *ngIf=\"!isLast; else notLink\" [routerLink]=\"crumb.path\">{{ crumb.value }}</a>\n <ng-template #notLink>{{ crumb.value }}</ng-template>\n </li>\n </ol>\n</nav>\n", styles: ["seam-breadcrumbs li{color:#fff}seam-breadcrumbs li a{color:#fff}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
14
14
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: BreadcrumbsComponent, decorators: [{
15
15
  type: Component,
16
- args: [{ selector: 'seam-breadcrumbs', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav aria-label=\"breadcrumb\">\n <ol class=\"breadcrumb mb-0\">\n <li *ngFor=\"let crumb of crumbs$ | async; last as isLast\"\n class=\"breadcrumb-item\"\n [ngClass]=\"{ 'active': isLast }\"\n [attr.aria-current]=\"isLast ? 'page' : undefined\">\n <a *ngIf=\"!isLast; else notLink\" [routerLink]=\"crumb.path\">{{ crumb.value }}</a>\n <ng-template #notLink>{{ crumb.value }}</ng-template>\n </li>\n </ol>\n</nav>\n", styles: ["seam-breadcrumbs li{color:#fff}seam-breadcrumbs li a{color:inherit}\n"] }]
16
+ args: [{ selector: 'seam-breadcrumbs', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav aria-label=\"breadcrumb\">\n <ol class=\"breadcrumb mb-0\">\n <li *ngFor=\"let crumb of crumbs$ | async; last as isLast\"\n class=\"breadcrumb-item\"\n [ngClass]=\"{ 'active': isLast }\"\n [attr.aria-current]=\"isLast ? 'page' : undefined\">\n <a *ngIf=\"!isLast; else notLink\" [routerLink]=\"crumb.path\">{{ crumb.value }}</a>\n <ng-template #notLink>{{ crumb.value }}</ng-template>\n </li>\n </ol>\n</nav>\n", styles: ["seam-breadcrumbs li{color:#fff}seam-breadcrumbs li a{color:#fff}\n"] }]
17
17
  }], ctorParameters: function () { return [{ type: i1.TheSeamBreadcrumbsService }]; } });
18
18
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktY29tbW9uL2JyZWFkY3J1bWJzL2JyZWFkY3J1bWJzL2JyZWFkY3J1bWJzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWNvbW1vbi9icmVhZGNydW1icy9icmVhZGNydW1icy9icmVhZGNydW1icy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFBOzs7OztBQWFyRixNQU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