@theseam/ui-common 0.4.28-beta.5 → 0.4.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/breadcrumbs/breadcrumbs/breadcrumbs.component.scss +1 -1
- package/datatable/datatable/datatable.component.d.ts +9 -61
- package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +2 -2
- package/datatable/datatable.module.d.ts +20 -29
- package/datatable/models/table-column.d.ts +1 -22
- package/datatable/public-api.d.ts +0 -14
- package/datatable/services/columns-manager.service.d.ts +0 -7
- package/datatable/utils/create-action-menu-column.d.ts +1 -1
- package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +2 -2
- package/esm2020/datatable/datatable/datatable.component.mjs +31 -240
- package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +2 -2
- package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +1 -1
- package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +1 -1
- package/esm2020/datatable/datatable-menu-bar/datatable-menu-bar.component.mjs +1 -1
- package/esm2020/datatable/datatable.module.mjs +7 -49
- package/esm2020/datatable/models/table-column.mjs +1 -1
- package/esm2020/datatable/public-api.mjs +1 -15
- package/esm2020/datatable/services/columns-manager.service.mjs +2 -27
- package/esm2020/datatable/utils/create-action-menu-column.mjs +3 -4
- package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +1 -1
- package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +1 -1
- package/esm2020/framework/base-layout/base-layout.component.mjs +4 -14
- package/esm2020/framework/base-layout/base-layout.module.mjs +1 -6
- package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +5 -21
- package/esm2020/framework/base-layout/index.mjs +1 -2
- package/esm2020/framework/public-api.mjs +1 -2
- package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +2 -2
- package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +78 -28
- package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +5 -12
- package/esm2020/framework/side-nav/side-nav-tokens.mjs +5 -1
- package/esm2020/framework/side-nav/side-nav-utils.mjs +13 -3
- package/esm2020/framework/side-nav/side-nav.component.mjs +52 -119
- package/esm2020/framework/side-nav/side-nav.models.mjs +1 -1
- package/esm2020/framework/side-nav/side-nav.module.mjs +39 -9
- package/esm2020/framework/side-nav/side-nav.service.mjs +1 -1
- package/esm2020/framework/top-bar/index.mjs +1 -3
- package/esm2020/framework/top-bar/top-bar-item.directive.mjs +4 -10
- package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +4 -6
- package/esm2020/framework/top-bar/top-bar.component.mjs +11 -55
- package/esm2020/framework/top-bar/top-bar.module.mjs +5 -15
- package/esm2020/graphql/datatable/datatable-graphql.service.mjs +1 -1
- package/esm2020/graphql/datatable/index.mjs +1 -4
- package/esm2020/graphql/datatable/map-filter-states.mjs +1 -1
- package/esm2020/layout/layout.service.mjs +2 -12
- package/esm2020/menu/menu-toggle.directive.mjs +2 -7
- package/esm2020/navigation-reload/navigation-reload.config.mjs +2 -0
- package/esm2020/navigation-reload/navigation-reload.provider.mjs +14 -0
- package/esm2020/navigation-reload/navigation-reload.service.mjs +54 -0
- package/esm2020/navigation-reload/public-api.mjs +4 -0
- package/esm2020/navigation-reload/theseam-ui-common-navigation-reload.mjs +5 -0
- package/esm2020/popover/popover/popover.component.mjs +3 -7
- package/esm2020/popover/popover.directive.mjs +2 -6
- package/esm2020/table/public-api.mjs +1 -4
- package/esm2020/table/table/table.component.mjs +5 -90
- package/esm2020/table/table.module.mjs +5 -21
- package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +3 -5
- package/esm2020/widget/widget-content-components/widget-table/widget-table.component.mjs +1 -1
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs +2 -2
- package/fesm2015/theseam-ui-common-breadcrumbs.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +2 -2
- package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-datatable.mjs +62 -1035
- package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-framework.mjs +193 -910
- package/fesm2015/theseam-ui-common-framework.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-graphql.mjs +1 -254
- package/fesm2015/theseam-ui-common-graphql.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-layout.mjs +2 -11
- package/fesm2015/theseam-ui-common-layout.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-menu.mjs +1 -6
- package/fesm2015/theseam-ui-common-menu.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-navigation-reload.mjs +75 -0
- package/fesm2015/theseam-ui-common-navigation-reload.mjs.map +1 -0
- package/fesm2015/theseam-ui-common-popover.mjs +3 -11
- package/fesm2015/theseam-ui-common-popover.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-table-cell-types.mjs +2 -4
- package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-table.mjs +9 -201
- package/fesm2015/theseam-ui-common-table.mjs.map +1 -1
- package/fesm2015/theseam-ui-common-widget.mjs +1 -1
- package/fesm2015/theseam-ui-common-widget.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs +2 -2
- package/fesm2020/theseam-ui-common-breadcrumbs.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +2 -2
- package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-datatable.mjs +62 -1019
- package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-framework.mjs +196 -912
- package/fesm2020/theseam-ui-common-framework.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-graphql.mjs +1 -254
- package/fesm2020/theseam-ui-common-graphql.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-layout.mjs +2 -11
- package/fesm2020/theseam-ui-common-layout.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-menu.mjs +1 -6
- package/fesm2020/theseam-ui-common-menu.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-navigation-reload.mjs +74 -0
- package/fesm2020/theseam-ui-common-navigation-reload.mjs.map +1 -0
- package/fesm2020/theseam-ui-common-popover.mjs +3 -11
- package/fesm2020/theseam-ui-common-popover.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-table-cell-types.mjs +2 -4
- package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-table.mjs +9 -199
- package/fesm2020/theseam-ui-common-table.mjs.map +1 -1
- package/fesm2020/theseam-ui-common-widget.mjs +1 -1
- package/fesm2020/theseam-ui-common-widget.mjs.map +1 -1
- package/framework/base-layout/base-layout.component.d.ts +2 -4
- package/framework/base-layout/base-layout.component.scss +10 -18
- package/framework/base-layout/base-layout.module.d.ts +10 -11
- package/framework/base-layout/directives/base-layout-nav-toggle.directive.d.ts +3 -8
- package/framework/base-layout/index.d.ts +0 -1
- package/framework/base-layout/styles/_variables.scss +0 -21
- package/framework/public-api.d.ts +0 -1
- package/framework/side-nav/side-nav-item/side-nav-item.component.d.ts +20 -7
- package/framework/side-nav/side-nav-item/side-nav-item.component.scss +16 -8
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.d.ts +3 -5
- package/framework/side-nav/side-nav-toggle/side-nav-toggle.component.scss +6 -3
- package/framework/side-nav/side-nav-tokens.d.ts +8 -0
- package/framework/side-nav/side-nav-utils.d.ts +12 -6
- package/framework/side-nav/side-nav.component.d.ts +6 -16
- package/framework/side-nav/side-nav.component.scss +1 -0
- package/framework/side-nav/side-nav.models.d.ts +14 -9
- package/framework/side-nav/side-nav.module.d.ts +9 -1
- package/framework/side-nav/styles/_themes/light/_variables.scss +14 -24
- package/framework/side-nav/styles/_themes/primary/_variables.scss +0 -8
- package/framework/top-bar/index.d.ts +0 -2
- package/framework/top-bar/top-bar-item.directive.d.ts +1 -4
- package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +2 -5
- package/framework/top-bar/top-bar.component.d.ts +3 -25
- package/framework/top-bar/top-bar.component.scss +2 -7
- package/framework/top-bar/top-bar.module.d.ts +8 -10
- package/graphql/datatable/datatable-graphql.service.d.ts +1 -1
- package/graphql/datatable/index.d.ts +0 -3
- package/graphql/datatable/map-filter-states.d.ts +2 -2
- package/layout/layout.service.d.ts +1 -9
- package/menu/menu-toggle.directive.d.ts +1 -2
- package/navigation-reload/index.d.ts +5 -0
- package/navigation-reload/navigation-reload.config.d.ts +5 -0
- package/navigation-reload/navigation-reload.provider.d.ts +3 -0
- package/navigation-reload/navigation-reload.service.d.ts +13 -0
- package/navigation-reload/public-api.d.ts +3 -0
- package/package.json +11 -3
- package/popover/popover/popover.component.d.ts +1 -4
- package/popover/popover.directive.d.ts +1 -2
- package/styles/vendor/ngx-datatable/_ngx-datatable.scss +14 -83
- package/styles/vendor/ngx-datatable/_themes/bootstrap/_variables.scss +3 -38
- package/table/public-api.d.ts +0 -3
- package/table/table/table.component.d.ts +3 -21
- package/table/table.module.d.ts +1 -4
- package/datatable/datatable-column-filter-menu/datatable-column-filter-menu.component.d.ts +0 -25
- package/datatable/datatable-column-filter-search-date/datatable-column-filter-search-date.component.d.ts +0 -18
- package/datatable/datatable-column-filter-search-numeric/datatable-column-filter-search-numeric.component.d.ts +0 -16
- package/datatable/datatable-column-filter-search-text/datatable-column-filter-search-text.component.d.ts +0 -15
- package/datatable/directives/datatable-column-filter-tpl.directive.d.ts +0 -8
- package/datatable/directives/datatable-column-filter.directive.d.ts +0 -10
- package/datatable/models/action-item-column-position.d.ts +0 -13
- package/datatable/models/columns-data-filter.d.ts +0 -57
- package/datatable/models/columns-data-filters/models.d.ts +0 -65
- package/datatable/models/columns-data-filters/search-date.columns-data-filter.d.ts +0 -23
- package/datatable/models/columns-data-filters/search-numeric.columns-data-filter.d.ts +0 -22
- package/datatable/models/columns-data-filters/search-text.columns-data-filter.d.ts +0 -21
- package/datatable/models/columns-data-filters/utils.d.ts +0 -15
- package/datatable/models/datatable-config.d.ts +0 -97
- package/datatable/services/columns-filters.service.d.ts +0 -29
- package/esm2020/datatable/datatable-column-filter-menu/datatable-column-filter-menu.component.mjs +0 -55
- package/esm2020/datatable/datatable-column-filter-search-date/datatable-column-filter-search-date.component.mjs +0 -54
- package/esm2020/datatable/datatable-column-filter-search-numeric/datatable-column-filter-search-numeric.component.mjs +0 -48
- package/esm2020/datatable/datatable-column-filter-search-text/datatable-column-filter-search-text.component.mjs +0 -44
- package/esm2020/datatable/directives/datatable-column-filter-tpl.directive.mjs +0 -16
- package/esm2020/datatable/directives/datatable-column-filter.directive.mjs +0 -26
- package/esm2020/datatable/models/action-item-column-position.mjs +0 -5
- package/esm2020/datatable/models/columns-data-filter.mjs +0 -10
- package/esm2020/datatable/models/columns-data-filters/models.mjs +0 -74
- package/esm2020/datatable/models/columns-data-filters/search-date.columns-data-filter.mjs +0 -113
- package/esm2020/datatable/models/columns-data-filters/search-numeric.columns-data-filter.mjs +0 -104
- package/esm2020/datatable/models/columns-data-filters/search-text.columns-data-filter.mjs +0 -86
- package/esm2020/datatable/models/columns-data-filters/utils.mjs +0 -28
- package/esm2020/datatable/models/datatable-config.mjs +0 -3
- package/esm2020/datatable/services/columns-filters.service.mjs +0 -109
- package/esm2020/framework/base-layout/directives/base-layout-side-bar-header.directive.mjs +0 -16
- package/esm2020/framework/nav/horizontal-nav/horizontal-nav.component.mjs +0 -55
- package/esm2020/framework/nav/index.mjs +0 -6
- package/esm2020/framework/nav/nav-item/nav-item.component.mjs +0 -227
- package/esm2020/framework/nav/nav-utils.mjs +0 -107
- package/esm2020/framework/nav/nav.models.mjs +0 -2
- package/esm2020/framework/nav/nav.module.mjs +0 -67
- package/esm2020/framework/nav/nav.service.mjs +0 -204
- package/esm2020/framework/top-bar/top-bar-compact-menu-btn-detail.directive.mjs +0 -16
- package/esm2020/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.mjs +0 -16
- package/esm2020/graphql/datatable/map-search-date-columns-data-filter-state-to-gql.mjs +0 -139
- package/esm2020/graphql/datatable/map-search-numeric-columns-data-filter-state-to-gql.mjs +0 -75
- package/esm2020/graphql/datatable/map-search-text-columns-data-filter-state-to-gql.mjs +0 -44
- package/esm2020/table/table-cell-tpl.directive.mjs +0 -17
- package/esm2020/table/table-column-header-tpl.directive.mjs +0 -17
- package/esm2020/table/table-column.component.mjs +0 -68
- package/framework/base-layout/directives/base-layout-side-bar-header.directive.d.ts +0 -9
- package/framework/nav/_nav-theme.scss +0 -4
- package/framework/nav/horizontal-nav/horizontal-nav.component.d.ts +0 -25
- package/framework/nav/horizontal-nav/horizontal-nav.component.scss +0 -50
- package/framework/nav/index.d.ts +0 -5
- package/framework/nav/nav-item/nav-item.component.d.ts +0 -74
- package/framework/nav/nav-item/nav-item.component.scss +0 -203
- package/framework/nav/nav-utils.d.ts +0 -20
- package/framework/nav/nav.models.d.ts +0 -77
- package/framework/nav/nav.module.d.ts +0 -17
- package/framework/nav/nav.service.d.ts +0 -27
- package/framework/nav/styles/_themes/light/_variables.scss +0 -56
- package/framework/nav/styles/_themes/primary/_variables.scss +0 -56
- package/framework/nav/styles/_utilities.scss +0 -3
- package/framework/nav/styles/_variables.scss +0 -2
- package/framework/top-bar/top-bar-compact-menu-btn-detail.directive.d.ts +0 -8
- package/framework/top-bar/top-bar-nav-toggle-btn-detail.directive.d.ts +0 -8
- package/graphql/datatable/map-search-date-columns-data-filter-state-to-gql.d.ts +0 -4
- package/graphql/datatable/map-search-numeric-columns-data-filter-state-to-gql.d.ts +0 -4
- package/graphql/datatable/map-search-text-columns-data-filter-state-to-gql.d.ts +0 -4
- package/table/table-cell-tpl.directive.d.ts +0 -7
- package/table/table-column-header-tpl.directive.d.ts +0 -7
- package/table/table-column.component.d.ts +0 -24
|
@@ -20,11 +20,6 @@ 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';
|
|
24
|
-
import { ColumnsFiltersService } from '../services/columns-filters.service';
|
|
25
|
-
import { TheSeamDatatableColumnFilterUpdateMethod, TheSeamDatatableConfig, TheSeamDatatableMessages } from '../models/datatable-config';
|
|
26
|
-
import { SeamIcon } from '@theseam/ui-common/icon';
|
|
27
|
-
import { TheSeamDatatableColumnFilterDirective } from '../directives/datatable-column-filter.directive';
|
|
28
23
|
import * as i0 from "@angular/core";
|
|
29
24
|
/**
|
|
30
25
|
* NOTE: This is still being worked on. I am trying to figure out this model
|
|
@@ -59,8 +54,6 @@ export declare class DatatableComponent implements OnInit, OnDestroy, TheSeamDat
|
|
|
59
54
|
private readonly _preferences;
|
|
60
55
|
private readonly _columnsManager;
|
|
61
56
|
private readonly _columnsAlterationsManager;
|
|
62
|
-
private readonly _columnsFilters;
|
|
63
|
-
private readonly _config?;
|
|
64
57
|
static ngAcceptInputType_externalPaging: BooleanInput;
|
|
65
58
|
static ngAcceptInputType_externalSorting: BooleanInput;
|
|
66
59
|
static ngAcceptInputType_externalFiltering: BooleanInput;
|
|
@@ -86,7 +79,7 @@ export declare class DatatableComponent implements OnInit, OnDestroy, TheSeamDat
|
|
|
86
79
|
readonly _faChevronRight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
87
80
|
readonly _faSpinner: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
88
81
|
private readonly _ngUnsubscribe;
|
|
89
|
-
private readonly
|
|
82
|
+
private readonly _filtersSubject;
|
|
90
83
|
private readonly _dataSourceSubject;
|
|
91
84
|
private _resizing;
|
|
92
85
|
readonly filterStates: Observable<DataFilterState[]>;
|
|
@@ -122,20 +115,8 @@ export declare class DatatableComponent implements OnInit, OnDestroy, TheSeamDat
|
|
|
122
115
|
get sorts(): SortItem[];
|
|
123
116
|
set sorts(value: SortItem[]);
|
|
124
117
|
_sorts: SortItem[];
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
} | undefined | null;
|
|
128
|
-
set cssClasses(value: {
|
|
129
|
-
[key: string]: string;
|
|
130
|
-
} | undefined | null);
|
|
131
|
-
private _cssClassesDefault;
|
|
132
|
-
_cssClasses: {
|
|
133
|
-
[key: string]: string;
|
|
134
|
-
} | undefined | null;
|
|
135
|
-
get messages(): TheSeamDatatableMessages | undefined | null;
|
|
136
|
-
set messages(value: TheSeamDatatableMessages | undefined | null);
|
|
137
|
-
private _messagesDefault;
|
|
138
|
-
_messages: TheSeamDatatableMessages | undefined | null;
|
|
118
|
+
cssClasses: any | undefined | null;
|
|
119
|
+
messages: any | undefined | null;
|
|
139
120
|
rowIdentity: ((x: any) => any) | undefined | null;
|
|
140
121
|
rowClass: any | undefined | null;
|
|
141
122
|
selectCheck: any | undefined | null;
|
|
@@ -149,42 +130,12 @@ export declare class DatatableComponent implements OnInit, OnDestroy, TheSeamDat
|
|
|
149
130
|
summaryHeight: number;
|
|
150
131
|
summaryPosition: string | undefined | null;
|
|
151
132
|
virtualization: boolean;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
_headerHeight: number | undefined | null;
|
|
156
|
-
get rowHeight(): number | undefined | null;
|
|
157
|
-
set rowHeight(value: number | undefined | null);
|
|
158
|
-
private readonly _rowHeightDefault;
|
|
159
|
-
_rowHeight: number | undefined | null;
|
|
160
|
-
get footerHeight(): number | undefined | null;
|
|
161
|
-
set footerHeight(value: number | undefined | null);
|
|
162
|
-
private readonly _footerHeightDefault;
|
|
163
|
-
_footerHeight: number | undefined | null;
|
|
133
|
+
headerHeight: number;
|
|
134
|
+
rowHeight: number;
|
|
135
|
+
footerHeight: number;
|
|
164
136
|
scrollbarV: boolean;
|
|
165
137
|
scrollbarH: boolean;
|
|
166
138
|
set dataSource(value: DataSource<any> | any[] | undefined | null);
|
|
167
|
-
/**
|
|
168
|
-
* Sets position behavior for optional Action Menu Button column.
|
|
169
|
-
*
|
|
170
|
-
* Defaults to `frozenRight`.
|
|
171
|
-
*/
|
|
172
|
-
get actionItemColumnPosition(): ActionItemColumnPosition | undefined;
|
|
173
|
-
set actionItemColumnPosition(value: ActionItemColumnPosition | undefined);
|
|
174
|
-
private readonly _actionItemColumnPositionDefault;
|
|
175
|
-
_actionItemColumnPosition: ActionItemColumnPosition | undefined;
|
|
176
|
-
get columnFilterIcon(): SeamIcon | undefined | null;
|
|
177
|
-
set columnFilterIcon(value: SeamIcon | undefined | null);
|
|
178
|
-
private readonly _columnFilterIconDefault;
|
|
179
|
-
_columnFilterIcon: SeamIcon | undefined | null;
|
|
180
|
-
get columnFilterUpdateMethod(): TheSeamDatatableColumnFilterUpdateMethod | undefined | null;
|
|
181
|
-
set columnFilterUpdateMethod(value: TheSeamDatatableColumnFilterUpdateMethod | undefined | null);
|
|
182
|
-
private readonly _columnFilterUpdateMethodDefault;
|
|
183
|
-
_columnFilterUpdateMethod: TheSeamDatatableColumnFilterUpdateMethod | undefined | null;
|
|
184
|
-
get columnFilterUpdateDebounce(): number | undefined | null;
|
|
185
|
-
set columnFilterUpdateDebounce(value: number | undefined | null);
|
|
186
|
-
private readonly _columnFilterUpdateDebounceDefault;
|
|
187
|
-
_columnFilterUpdateDebounce: number | undefined | null;
|
|
188
139
|
readonly scroll: EventEmitter<any>;
|
|
189
140
|
readonly activate: EventEmitter<any>;
|
|
190
141
|
readonly select: EventEmitter<any>;
|
|
@@ -211,7 +162,6 @@ export declare class DatatableComponent implements OnInit, OnDestroy, TheSeamDat
|
|
|
211
162
|
set menuBarComponent(value: DatatableMenuBarComponent | undefined);
|
|
212
163
|
private _menuBarComponent;
|
|
213
164
|
private _menuBarSub;
|
|
214
|
-
set columnFilterTemplates(value: QueryList<TheSeamDatatableColumnFilterDirective> | undefined);
|
|
215
165
|
ngxDatatable?: NgxDatatableComponent;
|
|
216
166
|
ngxDatatableElement?: ElementRef;
|
|
217
167
|
ngxRowDetail?: DatatableRowDetailDirective;
|
|
@@ -238,10 +188,8 @@ export declare class DatatableComponent implements OnInit, OnDestroy, TheSeamDat
|
|
|
238
188
|
viewChange: Observable<ListRange>;
|
|
239
189
|
private _rowDetailToggleSubscription;
|
|
240
190
|
_dblClick(event: any): void;
|
|
241
|
-
constructor(_preferences: DatatablePreferencesService, _columnsManager: ColumnsManagerService, _columnsAlterationsManager: ColumnsAlterationsManagerService
|
|
191
|
+
constructor(_preferences: DatatablePreferencesService, _columnsManager: ColumnsManagerService, _columnsAlterationsManager: ColumnsAlterationsManagerService);
|
|
242
192
|
ngOnInit(): void;
|
|
243
|
-
/** Sets missing inputs from config */
|
|
244
|
-
private _setDatatableConfigOrDefault;
|
|
245
193
|
ngOnDestroy(): void;
|
|
246
194
|
private _setMenuBarFilters;
|
|
247
195
|
getColumnComponent(propName: string): DatatableColumnComponent | null;
|
|
@@ -261,6 +209,6 @@ export declare class DatatableComponent implements OnInit, OnDestroy, TheSeamDat
|
|
|
261
209
|
* Returns the page info from the wrapped NgxDatatable instance or defaults.
|
|
262
210
|
*/
|
|
263
211
|
get pageInfo(): TheSeamPageInfo;
|
|
264
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatatableComponent,
|
|
265
|
-
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";
|
|
212
|
+
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>;
|
|
266
214
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, QueryList } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { IDataFilter } from '@theseam/ui-common/data-filters';
|
|
3
3
|
import { DatatableFilterDirective } from '../directives/datatable-filter.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare const _THESEAM_DATA_FILTER_CONTAINER: any;
|
|
6
|
-
export declare class DatatableMenuBarComponent
|
|
6
|
+
export declare class DatatableMenuBarComponent {
|
|
7
7
|
get filterDirectives(): QueryList<DatatableFilterDirective> | undefined;
|
|
8
8
|
set filterDirectives(value: QueryList<DatatableFilterDirective> | undefined);
|
|
9
9
|
private _filterDirectives;
|
|
@@ -21,36 +21,27 @@ import * as i19 from "./datatable-menu-bar-column-left/datatable-menu-bar-column
|
|
|
21
21
|
import * as i20 from "./datatable-menu-bar-column-center/datatable-menu-bar-column-center.component";
|
|
22
22
|
import * as i21 from "./datatable-menu-bar-column-right/datatable-menu-bar-column-right.component";
|
|
23
23
|
import * as i22 from "./datatable-menu-bar-text/datatable-menu-bar-text.component";
|
|
24
|
-
import * as i23 from "
|
|
25
|
-
import * as i24 from "
|
|
26
|
-
import * as i25 from "
|
|
27
|
-
import * as i26 from "
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "
|
|
30
|
-
import * as i29 from "@angular/
|
|
31
|
-
import * as i30 from "@
|
|
32
|
-
import * as i31 from "@
|
|
33
|
-
import * as i32 from "@
|
|
34
|
-
import * as i33 from "
|
|
35
|
-
import * as i34 from "@theseam/ui-common/
|
|
36
|
-
import * as i35 from "@angular/
|
|
37
|
-
import * as i36 from "@theseam/ui-common/
|
|
38
|
-
import * as i37 from "@theseam/ui-common/
|
|
39
|
-
import * as i38 from "@theseam/ui-common/
|
|
40
|
-
import * as i39 from "
|
|
41
|
-
import * as i40 from "@
|
|
42
|
-
import * as i41 from "@
|
|
43
|
-
import * as i42 from "@theseam/ui-common/confirm-dialog";
|
|
44
|
-
import * as i43 from "@theseam/ui-common/popover";
|
|
45
|
-
import * as i44 from "@theseam/ui-common/checkbox";
|
|
46
|
-
import * as i45 from "@theseam/ui-common/form-field";
|
|
47
|
-
import * as i46 from "@angular/forms";
|
|
48
|
-
import * as i47 from "@theseam/ui-common/table-cell-type";
|
|
49
|
-
import * as i48 from "@theseam/ui-common/data-filters";
|
|
50
|
-
import * as i49 from "@ng-select/ng-select";
|
|
51
|
-
import * as i50 from "@theseam/ui-common/toggle-group";
|
|
24
|
+
import * as i23 from "@angular/common";
|
|
25
|
+
import * as i24 from "@marklb/ngx-datatable";
|
|
26
|
+
import * as i25 from "@fortawesome/angular-fontawesome";
|
|
27
|
+
import * as i26 from "@angular/cdk/overlay";
|
|
28
|
+
import * as i27 from "@angular/cdk/a11y";
|
|
29
|
+
import * as i28 from "@theseam/ui-common/shared";
|
|
30
|
+
import * as i29 from "@angular/router";
|
|
31
|
+
import * as i30 from "@theseam/ui-common/menu";
|
|
32
|
+
import * as i31 from "@theseam/ui-common/buttons";
|
|
33
|
+
import * as i32 from "@theseam/ui-common/icon";
|
|
34
|
+
import * as i33 from "ngx-toastr";
|
|
35
|
+
import * as i34 from "@theseam/ui-common/loading";
|
|
36
|
+
import * as i35 from "@angular/cdk/portal";
|
|
37
|
+
import * as i36 from "@theseam/ui-common/confirm-dialog";
|
|
38
|
+
import * as i37 from "@theseam/ui-common/popover";
|
|
39
|
+
import * as i38 from "@theseam/ui-common/checkbox";
|
|
40
|
+
import * as i39 from "@theseam/ui-common/form-field";
|
|
41
|
+
import * as i40 from "@angular/forms";
|
|
42
|
+
import * as i41 from "@theseam/ui-common/table-cell-type";
|
|
52
43
|
export declare class TheSeamDatatableModule {
|
|
53
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheSeamDatatableModule, never>;
|
|
54
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TheSeamDatatableModule, [typeof i1.DatatableComponent, typeof i2.DatatableCellTplDirective, typeof i3.DatatableColumnComponent, typeof i4.DatatableActionMenuComponent, typeof i5.DatatableActionMenuToggleDirective, typeof i6.DatatableActionMenuItemComponent, typeof i7.DatatableMenuBarComponent, typeof i8.DatatableFilterDirective, typeof i9.DatatableRowActionItemDirective, typeof i10.DatatableExportButtonComponent, typeof i11.TheSeamDatatableRowDetailDirective, typeof i12.DatatableRowDetailTplDirective, typeof i13.TheSeamDatatableFooterDirective, typeof i14.DatatableFooterTplDirective, typeof i15.DatatableColumnPreferencesComponent, typeof i16.DatatableColumnPreferencesButtonComponent, typeof i17.DatatableActionMenuItemDirective, typeof i18.DatatableMenuBarRowComponent, typeof i19.DatatableMenuBarColumnLeftComponent, typeof i20.DatatableMenuBarColumnCenterComponent, typeof i21.DatatableMenuBarColumnRightComponent, typeof i22.DatatableMenuBarTextComponent
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TheSeamDatatableModule, [typeof i1.DatatableComponent, typeof i2.DatatableCellTplDirective, typeof i3.DatatableColumnComponent, typeof i4.DatatableActionMenuComponent, typeof i5.DatatableActionMenuToggleDirective, typeof i6.DatatableActionMenuItemComponent, typeof i7.DatatableMenuBarComponent, typeof i8.DatatableFilterDirective, typeof i9.DatatableRowActionItemDirective, typeof i10.DatatableExportButtonComponent, typeof i11.TheSeamDatatableRowDetailDirective, typeof i12.DatatableRowDetailTplDirective, typeof i13.TheSeamDatatableFooterDirective, typeof i14.DatatableFooterTplDirective, typeof i15.DatatableColumnPreferencesComponent, typeof i16.DatatableColumnPreferencesButtonComponent, typeof i17.DatatableActionMenuItemDirective, typeof i18.DatatableMenuBarRowComponent, typeof i19.DatatableMenuBarColumnLeftComponent, typeof i20.DatatableMenuBarColumnCenterComponent, typeof i21.DatatableMenuBarColumnRightComponent, typeof i22.DatatableMenuBarTextComponent], [typeof i23.CommonModule, typeof i24.NgxDatatableModule, typeof i25.FontAwesomeModule, typeof i26.OverlayModule, typeof i27.A11yModule, typeof i28.TheSeamSharedModule, typeof i29.RouterModule, typeof i30.TheSeamMenuModule, typeof i31.TheSeamButtonsModule, typeof i32.TheSeamIconModule, typeof i33.ToastrModule, typeof i34.TheSeamLoadingModule, typeof i35.PortalModule, typeof i36.TheSeamConfirmDialogModule, typeof i37.TheSeamPopoverModule, typeof i38.TheSeamCheckboxComponent, typeof i39.TheSeamFormFieldModule, typeof i40.ReactiveFormsModule, typeof i41.TheSeamTableCellTypeModule], [typeof i1.DatatableComponent, typeof i2.DatatableCellTplDirective, typeof i3.DatatableColumnComponent, typeof i4.DatatableActionMenuComponent, typeof i6.DatatableActionMenuItemComponent, typeof i7.DatatableMenuBarComponent, typeof i8.DatatableFilterDirective, typeof i9.DatatableRowActionItemDirective, typeof i10.DatatableExportButtonComponent, typeof i11.TheSeamDatatableRowDetailDirective, typeof i12.DatatableRowDetailTplDirective, typeof i13.TheSeamDatatableFooterDirective, typeof i14.DatatableFooterTplDirective, typeof i15.DatatableColumnPreferencesComponent, typeof i16.DatatableColumnPreferencesButtonComponent, typeof i17.DatatableActionMenuItemDirective, typeof i18.DatatableMenuBarRowComponent, typeof i19.DatatableMenuBarColumnLeftComponent, typeof i20.DatatableMenuBarColumnCenterComponent, typeof i21.DatatableMenuBarColumnRightComponent, typeof i22.DatatableMenuBarTextComponent]>;
|
|
55
46
|
static ɵinj: i0.ɵɵInjectorDeclaration<TheSeamDatatableModule>;
|
|
56
47
|
}
|
|
@@ -11,25 +11,4 @@ export interface TheSeamDatatableColumnHidable {
|
|
|
11
11
|
*/
|
|
12
12
|
hidden?: boolean;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
15
|
-
filterable?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Additional options for a specific filter type.
|
|
18
|
-
*/
|
|
19
|
-
filterOptions?: T;
|
|
20
|
-
}
|
|
21
|
-
export interface TheSeamDatatableColumnFilterableConfig {
|
|
22
|
-
/**
|
|
23
|
-
* The object name on which to run the filter.
|
|
24
|
-
*
|
|
25
|
-
* Defaults to column prop.
|
|
26
|
-
*/
|
|
27
|
-
filterProp?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The type of filter(s) to show in the filter menu.
|
|
30
|
-
*
|
|
31
|
-
* If not provided, will look to cellType to determine default filter(s).
|
|
32
|
-
*/
|
|
33
|
-
filterType?: string;
|
|
34
|
-
}
|
|
35
|
-
export type TheSeamDatatableColumn<T extends TableCellTypeName = any, C extends TableCellTypeConfig<T> = any, F extends TheSeamDatatableColumnFilterableConfig = any> = TableColumn & TableCellTypeColumn<T, C> & TableCellTypeExportProps & TheSeamDatatableColumnHidable & TheSeamDatatableColumnFilterable<F>;
|
|
14
|
+
export type TheSeamDatatableColumn<T extends TableCellTypeName = any, C extends TableCellTypeConfig<T> = any> = TableColumn & TableCellTypeColumn<T, C> & TableCellTypeExportProps & TheSeamDatatableColumnHidable;
|
|
@@ -2,10 +2,6 @@ export * from './datatable/datatable.component';
|
|
|
2
2
|
export * from './datatable-action-menu/datatable-action-menu.component';
|
|
3
3
|
export * from './datatable-action-menu-item/datatable-action-menu-item.component';
|
|
4
4
|
export * from './datatable-column/datatable-column.component';
|
|
5
|
-
export * from './datatable-column-filter-menu/datatable-column-filter-menu.component';
|
|
6
|
-
export * from './datatable-column-filter-search-date/datatable-column-filter-search-date.component';
|
|
7
|
-
export * from './datatable-column-filter-search-numeric/datatable-column-filter-search-numeric.component';
|
|
8
|
-
export * from './datatable-column-filter-search-text/datatable-column-filter-search-text.component';
|
|
9
5
|
export * from './datatable-column-preferences/datatable-column-preferences.component';
|
|
10
6
|
export * from './datatable-column-preferences-button/datatable-column-preferences-button.component';
|
|
11
7
|
export * from './datatable-export-button/datatable-export-button.component';
|
|
@@ -22,18 +18,9 @@ export * from './datatable-row-detail/datatable-row-detail.directive';
|
|
|
22
18
|
export * from './directives/datatable-action-menu-item.directive';
|
|
23
19
|
export * from './directives/datatable-action-menu-toggle.directive';
|
|
24
20
|
export * from './directives/datatable-cell-tpl.directive';
|
|
25
|
-
export * from './directives/datatable-column-filter-tpl.directive';
|
|
26
|
-
export * from './directives/datatable-column-filter.directive';
|
|
27
21
|
export * from './directives/datatable-filter.directive';
|
|
28
22
|
export * from './directives/datatable-row-action-item.directive';
|
|
29
|
-
export * from './models/columns-data-filter';
|
|
30
|
-
export * from './models/columns-data-filters/search-date.columns-data-filter';
|
|
31
|
-
export * from './models/columns-data-filters/search-numeric.columns-data-filter';
|
|
32
|
-
export * from './models/columns-data-filters/search-text.columns-data-filter';
|
|
33
|
-
export * from './models/columns-data-filters/models';
|
|
34
|
-
export * from './models/columns-data-filters/utils';
|
|
35
23
|
export * from './models/datatable-accessor';
|
|
36
|
-
export * from './models/datatable-config';
|
|
37
24
|
export * from './models/datatable-data-source';
|
|
38
25
|
export * from './models/datatable-gql-data-source';
|
|
39
26
|
export * from './models/menubar-item-data';
|
|
@@ -44,7 +31,6 @@ export * from './models/table-column';
|
|
|
44
31
|
export * from './models/sort-event';
|
|
45
32
|
export * from './models/sort-item';
|
|
46
33
|
export * from './models/table-column';
|
|
47
|
-
export * from './services/columns-filters.service';
|
|
48
34
|
export * from './services/datatable-column-changes.service';
|
|
49
35
|
export * from './services/datatable-preferences.service';
|
|
50
36
|
export * from './services/datatable-scrollbar-helper.service';
|
|
@@ -5,7 +5,6 @@ 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';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export type InternalColumnsGetter = () => TableColumn[];
|
|
11
10
|
export declare class ColumnsManagerService {
|
|
@@ -22,7 +21,6 @@ export declare class ColumnsManagerService {
|
|
|
22
21
|
private _selectionType;
|
|
23
22
|
private _rowActionItem;
|
|
24
23
|
private _actionMenuCellTpl;
|
|
25
|
-
private _actionItemColumnPosition;
|
|
26
24
|
private _blankHeaderTpl;
|
|
27
25
|
private _treeToggleTpl;
|
|
28
26
|
private _headerTpl;
|
|
@@ -35,7 +33,6 @@ export declare class ColumnsManagerService {
|
|
|
35
33
|
setSelectionType(selectionType: SelectionType | undefined): void;
|
|
36
34
|
getSelectionType(): SelectionType | undefined;
|
|
37
35
|
setRowActionItem(rowActionItem: DatatableRowActionItemDirective | undefined): void;
|
|
38
|
-
setActionItemColumnPosition(actionItemColumnPosition: ActionItemColumnPosition | undefined): void;
|
|
39
36
|
setActionMenuCellTpl(actionMenuCellTpl: TemplateRef<DataTableColumnDirective> | undefined): void;
|
|
40
37
|
setBlankHeaderTpl(blankHeaderTpl: TemplateRef<DataTableColumnHeaderDirective> | undefined): void;
|
|
41
38
|
setTreeToggleTpl(treeToggleTpl: TemplateRef<DataTableColumnCellTreeToggle> | undefined): void;
|
|
@@ -53,10 +50,6 @@ export declare class ColumnsManagerService {
|
|
|
53
50
|
private _hasColumnsChanged;
|
|
54
51
|
private _shouldAddCheckboxColumn;
|
|
55
52
|
private _shouldAddRowActionColumn;
|
|
56
|
-
private _rowActionColumnIsFrozenLeft;
|
|
57
|
-
private _rowActionColumnIsFrozenRight;
|
|
58
|
-
private _rowActionColumnIsStaticLeft;
|
|
59
|
-
private _rowActionColumnIsStaticRight;
|
|
60
53
|
private _shouldAddTreeToggleColumn;
|
|
61
54
|
private _shouldAddHeaderTemplate;
|
|
62
55
|
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
|
|
3
|
+
export declare function createActionMenuColumn(cellTemplate: any, headerTemplate: any): 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
|
|
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 });
|
|
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
|
|
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"] }]
|
|
17
17
|
}], ctorParameters: function () { return [{ type: i1.TheSeamBreadcrumbsService }]; } });
|
|
18
18
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktY29tbW9uL2JyZWFkY3J1bWJzL2JyZWFkY3J1bWJzL2JyZWFkY3J1bWJzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWNvbW1vbi9icmVhZGNydW1icy9icmVhZGNydW1icy9icmVhZGNydW1icy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFBOzs7OztBQWFyRixNQUFNLE9BQU8sb0JBQW9CO0lBSS9CLFlBQ1UsWUFBdUM7UUFBdkMsaUJBQVksR0FBWixZQUFZLENBQTJCO1FBRS9DLElBQUksQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDLFlBQVksQ0FBQyxPQUFPLENBQUE7SUFDMUMsQ0FBQzs7aUhBUlUsb0JBQW9CO3FHQUFwQixvQkFBb0Isd0RDYmpDLGtjQVdBOzJGREVhLG9CQUFvQjtrQkFQaEMsU0FBUzsrQkFDRSxrQkFBa0IsaUJBR2IsaUJBQWlCLENBQUMsSUFBSSxtQkFDcEIsdUJBQXVCLENBQUMsTUFBTSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnQsIFZpZXdFbmNhcHN1bGF0aW9uIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSdcbmltcG9ydCB7IE9ic2VydmFibGUgfSBmcm9tICdyeGpzJ1xuXG5pbXBvcnQgeyBUaGVTZWFtQnJlYWRjcnVtYiB9IGZyb20gJy4uL2JyZWFkY3J1bWInXG5pbXBvcnQgeyBUaGVTZWFtQnJlYWRjcnVtYnNTZXJ2aWNlIH0gZnJvbSAnLi4vYnJlYWRjcnVtYnMuc2VydmljZSdcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnc2VhbS1icmVhZGNydW1icycsXG4gIHRlbXBsYXRlVXJsOiAnLi9icmVhZGNydW1icy5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL2JyZWFkY3J1bWJzLmNvbXBvbmVudC5zY3NzJ10sXG4gIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIEJyZWFkY3J1bWJzQ29tcG9uZW50IHtcblxuICBwdWJsaWMgY3J1bWJzJDogT2JzZXJ2YWJsZTxUaGVTZWFtQnJlYWRjcnVtYltdPlxuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHByaXZhdGUgX2JyZWFkY3J1bWJzOiBUaGVTZWFtQnJlYWRjcnVtYnNTZXJ2aWNlXG4gICkge1xuICAgIHRoaXMuY3J1bWJzJCA9IHRoaXMuX2JyZWFkY3J1bWJzLmNydW1icyRcbiAgfVxuXG59XG4iLCI8bmF2IGFyaWEtbGFiZWw9XCJicmVhZGNydW1iXCI+XG4gIDxvbCBjbGFzcz1cImJyZWFkY3J1bWIgbWItMFwiPlxuICAgIDxsaSAqbmdGb3I9XCJsZXQgY3J1bWIgb2YgY3J1bWJzJCB8IGFzeW5jOyBsYXN0IGFzIGlzTGFzdFwiXG4gICAgICBjbGFzcz1cImJyZWFkY3J1bWItaXRlbVwiXG4gICAgICBbbmdDbGFzc109XCJ7ICdhY3RpdmUnOiBpc0xhc3QgfVwiXG4gICAgICBbYXR0ci5hcmlhLWN1cnJlbnRdPVwiaXNMYXN0ID8gJ3BhZ2UnIDogdW5kZWZpbmVkXCI+XG4gICAgICA8YSAqbmdJZj1cIiFpc0xhc3Q7IGVsc2Ugbm90TGlua1wiIFtyb3V0ZXJMaW5rXT1cImNydW1iLnBhdGhcIj57eyBjcnVtYi52YWx1ZSB9fTwvYT5cbiAgICAgIDxuZy10ZW1wbGF0ZSAjbm90TGluaz57eyBjcnVtYi52YWx1ZSB9fTwvbmctdGVtcGxhdGU+XG4gICAgPC9saT5cbiAgPC9vbD5cbjwvbmF2PlxuIl19
|