@dereekb/dbx-web 10.0.24 → 10.1.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.
@@ -1,3 +1,6 @@
1
+ @use 'sass:map';
2
+ @use 'sass:list';
3
+ @use 'sass:color';
1
4
  @use '../../style/theming';
2
5
 
3
6
  // MARK: Variables
@@ -63,6 +66,19 @@ $list-item-padded-min-height: 42px;
63
66
  }
64
67
  }
65
68
 
69
+ .dbx-list-view-group {
70
+ .dbx-list-view-group-header {
71
+ z-index: 100;
72
+ position: sticky;
73
+ top: 0;
74
+
75
+ .dbx-list-two-line-item {
76
+ padding: 2px 0;
77
+ margin-right: 2px;
78
+ }
79
+ }
80
+ }
81
+
66
82
  .dbx-list-view-item {
67
83
  dbx-injection {
68
84
  width: 100%;
@@ -80,6 +96,11 @@ $list-item-padded-min-height: 42px;
80
96
  flex-direction: row;
81
97
  align-items: center;
82
98
 
99
+ .item-icon {
100
+ padding: 0 16px;
101
+ margin-right: 4px;
102
+ }
103
+
83
104
  .item-left {
84
105
  display: flex;
85
106
  flex-direction: column;
@@ -119,6 +140,25 @@ $list-item-padded-min-height: 42px;
119
140
  }
120
141
 
121
142
  @mixin color($theme-config) {
143
+ $color-config: theming.get-color-config($theme-config);
144
+ $background: map.get($color-config, 'background');
145
+ $foreground: map.get($color-config, 'foreground');
146
+ $cdk-background-color: theming.get-color-from-palette($background, 'background');
147
+ $cdk-text-color: theming.get-color-from-palette($foreground, 'text');
148
+
149
+ .dbx-list-view-group-header {
150
+ color: var(--mdc-list-list-item-label-text-color);
151
+ background: var(--mat-sidenav-content-background-color);
152
+
153
+ .item-details {
154
+ color: var(--mdc-list-list-item-supporting-text-color);
155
+ }
156
+
157
+ --mat-divider-width: 2px;
158
+ border-bottom-style: solid;
159
+ border-bottom-color: var(--mat-divider-color);
160
+ border-bottom-width: var(--mat-divider-width);
161
+ }
122
162
  }
123
163
 
124
164
  @mixin typography($theme-config-or-typography-config) {
@@ -6,6 +6,9 @@ export * from './list.track';
6
6
  export * from './list.grid.view.directive';
7
7
  export * from './list.grid.view.component';
8
8
  export * from './list.view.directive';
9
+ export * from './list.view.value.group';
10
+ export * from './list.view.value.group.title';
11
+ export * from './list.view.value.group.title.directive';
9
12
  export * from './list.view.selection.directive';
10
13
  export * from './list.view.value.component';
11
14
  export * from './list.view.value.directive';
@@ -3,7 +3,7 @@ import { Observable } from 'rxjs';
3
3
  import { DbxValueListItem } from './list.view.value';
4
4
  import { AbstractDbxValueListViewDirective } from './list.view.value.directive';
5
5
  import { Maybe } from '@dereekb/util';
6
- import { DbxValueListItemViewComponent, DbxValueListViewConfig } from './list.view.value.component';
6
+ import { DbxValueListViewContentComponent, DbxValueListViewConfig } from './list.view.value.component';
7
7
  import { DbxListView } from './list.view';
8
8
  import * as i0 from "@angular/core";
9
9
  export interface DbxValueListGridViewConfig<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V = unknown> extends DbxValueListViewConfig<T, I, V> {
@@ -46,7 +46,7 @@ export declare class DbxValueListGridSizeDirective implements OnDestroy {
46
46
  /**
47
47
  * Content view for a DbxValueListGridView. It can be used directly in cases where the items are already configured, or want to be configured in a non-standard fashion.
48
48
  */
49
- export declare class DbxValueListGridItemViewComponent<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> extends DbxValueListItemViewComponent<T, I> implements OnDestroy {
49
+ export declare class DbxValueListGridViewContentComponent<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> extends DbxValueListViewContentComponent<T, I> implements OnDestroy {
50
50
  private _gridSizeOverride?;
51
51
  private _defaultGrid;
52
52
  readonly grid$: Observable<DbxValueListGridItemViewGridSizeConfig>;
@@ -55,6 +55,6 @@ export declare class DbxValueListGridItemViewComponent<T, I extends DbxValueList
55
55
  constructor(dbxListView: DbxListView<T>, _gridSizeOverride?: DbxValueListGridSizeDirective | undefined);
56
56
  set grid(grid: Maybe<Partial<DbxValueListGridItemViewGridSizeConfig>>);
57
57
  ngOnDestroy(): void;
58
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxValueListGridItemViewComponent<any, any>, [null, { optional: true; }]>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxValueListGridItemViewComponent<any, any>, "dbx-list-grid-view-content", never, { "grid": { "alias": "grid"; "required": false; }; }, {}, never, never, false, never>;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxValueListGridViewContentComponent<any, any>, [null, { optional: true; }]>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxValueListGridViewContentComponent<any, any>, "dbx-list-grid-view-content", never, { "grid": { "alias": "grid"; "required": false; }; }, {}, never, never, false, never>;
60
60
  }
@@ -3,21 +3,22 @@ import * as i1 from "./list.component";
3
3
  import * as i2 from "./list.content.empty.component";
4
4
  import * as i3 from "./list.view.value.component";
5
5
  import * as i4 from "./list.grid.view.component";
6
- import * as i5 from "./list.view.value.selection.component";
7
- import * as i6 from "./list.view.value.modifier.directive";
8
- import * as i7 from "./list.view.value.modifier.ripple.directive";
9
- import * as i8 from "./list.view.value.modifier.selection.directive";
10
- import * as i9 from "@angular/common";
11
- import * as i10 from "@angular/material/core";
12
- import * as i11 from "@ngbracket/ngx-layout";
13
- import * as i12 from "../../loading/loading.module";
14
- import * as i13 from "../../router/layout/anchor/anchor.module";
15
- import * as i14 from "ngx-infinite-scroll";
16
- import * as i15 from "@dereekb/dbx-core";
17
- import * as i16 from "@angular/material/list";
18
- import * as i17 from "@angular/material/icon";
6
+ import * as i5 from "./list.view.value.group.title.directive";
7
+ import * as i6 from "./list.view.value.selection.component";
8
+ import * as i7 from "./list.view.value.modifier.directive";
9
+ import * as i8 from "./list.view.value.modifier.ripple.directive";
10
+ import * as i9 from "./list.view.value.modifier.selection.directive";
11
+ import * as i10 from "@angular/common";
12
+ import * as i11 from "@angular/material/core";
13
+ import * as i12 from "@ngbracket/ngx-layout";
14
+ import * as i13 from "../../loading/loading.module";
15
+ import * as i14 from "../../router/layout/anchor/anchor.module";
16
+ import * as i15 from "ngx-infinite-scroll";
17
+ import * as i16 from "@dereekb/dbx-core";
18
+ import * as i17 from "@angular/material/list";
19
+ import * as i18 from "@angular/material/icon";
19
20
  export declare class DbxListLayoutModule {
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxListLayoutModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxListLayoutModule, [typeof i1.DbxListComponent, typeof i1.DbxListInternalContentDirective, typeof i2.DbxListEmptyContentComponent, typeof i3.DbxValueListViewComponent, typeof i3.DbxValueListItemViewComponent, typeof i4.DbxValueListGridSizeDirective, typeof i4.DbxValueListGridViewComponent, typeof i4.DbxValueListGridItemViewComponent, typeof i5.DbxSelectionValueListViewComponent, typeof i5.DbxSelectionValueListItemViewComponent, typeof i6.DbxValueListItemModifierDirective, typeof i7.DbxListItemDisableRippleModifierDirective, typeof i8.DbxListItemIsSelectedModifierDirective], [typeof i9.CommonModule, typeof i10.MatRippleModule, typeof i11.FlexLayoutModule, typeof i12.DbxLoadingModule, typeof i13.DbxRouterAnchorModule, typeof i14.InfiniteScrollModule, typeof i15.DbxInjectionComponentModule, typeof i16.MatListModule, typeof i17.MatIconModule], [typeof i1.DbxListComponent, typeof i2.DbxListEmptyContentComponent, typeof i3.DbxValueListViewComponent, typeof i3.DbxValueListItemViewComponent, typeof i4.DbxValueListGridSizeDirective, typeof i4.DbxValueListGridViewComponent, typeof i4.DbxValueListGridItemViewComponent, typeof i5.DbxSelectionValueListViewComponent, typeof i5.DbxSelectionValueListItemViewComponent, typeof i6.DbxValueListItemModifierDirective, typeof i7.DbxListItemDisableRippleModifierDirective, typeof i8.DbxListItemIsSelectedModifierDirective]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxListLayoutModule, [typeof i1.DbxListComponent, typeof i2.DbxListEmptyContentComponent, typeof i3.DbxValueListViewComponent, typeof i3.DbxValueListViewContentComponent, typeof i3.DbxValueListViewContentGroupComponent, typeof i4.DbxValueListGridSizeDirective, typeof i4.DbxValueListGridViewComponent, typeof i4.DbxValueListGridViewContentComponent, typeof i5.DbxListTitleGroupDirective, typeof i5.DbxListTitleGroupHeaderComponent, typeof i6.DbxSelectionValueListViewComponent, typeof i6.DbxSelectionValueListViewContentComponent, typeof i7.DbxValueListItemModifierDirective, typeof i8.DbxListItemDisableRippleModifierDirective, typeof i9.DbxListItemIsSelectedModifierDirective, typeof i1.DbxListInternalContentDirective], [typeof i10.CommonModule, typeof i11.MatRippleModule, typeof i12.FlexLayoutModule, typeof i13.DbxLoadingModule, typeof i14.DbxRouterAnchorModule, typeof i15.InfiniteScrollModule, typeof i16.DbxInjectionComponentModule, typeof i17.MatListModule, typeof i18.MatIconModule], [typeof i1.DbxListComponent, typeof i2.DbxListEmptyContentComponent, typeof i3.DbxValueListViewComponent, typeof i3.DbxValueListViewContentComponent, typeof i3.DbxValueListViewContentGroupComponent, typeof i4.DbxValueListGridSizeDirective, typeof i4.DbxValueListGridViewComponent, typeof i4.DbxValueListGridViewContentComponent, typeof i5.DbxListTitleGroupDirective, typeof i5.DbxListTitleGroupHeaderComponent, typeof i6.DbxSelectionValueListViewComponent, typeof i6.DbxSelectionValueListViewContentComponent, typeof i7.DbxValueListItemModifierDirective, typeof i8.DbxListItemDisableRippleModifierDirective, typeof i9.DbxListItemIsSelectedModifierDirective]>;
22
23
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxListLayoutModule>;
23
24
  }
@@ -1,8 +1,10 @@
1
- import { TrackByFunction } from '@angular/core';
1
+ import { ChangeDetectorRef, TrackByFunction } from '@angular/core';
2
+ import { Observable } from 'rxjs';
2
3
  import { DbxValueListItem, AbstractDbxValueListViewConfig, DbxValueListItemConfig } from './list.view.value';
3
4
  import { AbstractDbxValueListViewDirective } from './list.view.value.directive';
4
5
  import { DbxListView } from './list.view';
5
6
  import { Maybe } from '@dereekb/util';
7
+ import { DbxValueListItemGroup, DbxValueListViewGroupDelegate } from './list.view.value.group';
6
8
  import * as i0 from "@angular/core";
7
9
  export interface DbxValueListViewConfig<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V = unknown> extends AbstractDbxValueListViewConfig<T, I, V> {
8
10
  emitAllClicks?: boolean;
@@ -11,23 +13,52 @@ export interface DbxValueListViewConfig<T, I extends DbxValueListItem<T> = DbxVa
11
13
  * Renders a list view using input configuration. Requires a parent DbxListView.
12
14
  */
13
15
  export declare class DbxValueListViewComponent<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V = unknown, C extends DbxValueListViewConfig<T, I, V> = DbxValueListViewConfig<T, I, V>> extends AbstractDbxValueListViewDirective<T, I, V, C> {
14
- readonly emitAllClicks$: import("rxjs").Observable<boolean | undefined>;
16
+ readonly emitAllClicks$: Observable<boolean | undefined>;
15
17
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxValueListViewComponent<any, any, any, any>, never>;
16
18
  static ɵcmp: i0.ɵɵComponentDeclaration<DbxValueListViewComponent<any, any, any, any>, "dbx-list-view", never, {}, {}, never, never, false, never>;
17
19
  }
18
20
  /**
19
21
  * Content view for a DbxValueListView. It can be used directly in cases where the items are already configured, or want to be configured in a non-standard fashion.
20
22
  */
21
- export declare class DbxValueListItemViewComponent<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> {
23
+ export declare class DbxValueListViewContentComponent<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> {
22
24
  readonly dbxListView: DbxListView<T>;
25
+ readonly _dbxListGroupDelegate: DbxValueListViewGroupDelegate<any, T, I>;
26
+ private _items;
27
+ readonly groups$: Observable<DbxValueListItemGroup<any, T, I>[]>;
23
28
  emitAllClicks?: Maybe<boolean>;
24
- items?: Maybe<DbxValueListItemConfig<T, I>[]>;
25
- readonly disabled$: import("rxjs").Observable<boolean>;
29
+ readonly disabled$: Observable<boolean>;
26
30
  readonly trackByFunction: TrackByFunction<DbxValueListItemConfig<T, I>>;
27
- constructor(dbxListView: DbxListView<T>);
31
+ readonly trackGroupByFunction: TrackByFunction<DbxValueListItemGroup<any, T, I>>;
32
+ constructor(dbxListView: DbxListView<T>, inputDbxListGroupDelegate: Maybe<DbxValueListViewGroupDelegate<any, T, I>>);
33
+ ngOnDestroy(): void;
34
+ get items(): Maybe<DbxValueListItemConfig<T, I>[]>;
35
+ set items(items: Maybe<DbxValueListItemConfig<T, I>[]>);
28
36
  onClickItem(item: I): void;
29
37
  onClickValue(value: T): void;
30
38
  rippleDisabledOnItem(item: I): boolean;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxValueListItemViewComponent<any, any>, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxValueListItemViewComponent<any, any>, "dbx-list-view-content", never, { "emitAllClicks": { "alias": "emitAllClicks"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxValueListViewContentComponent<any, any>, [null, { optional: true; }]>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxValueListViewContentComponent<any, any>, "dbx-list-view-content", never, { "emitAllClicks": { "alias": "emitAllClicks"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
41
+ }
42
+ /**
43
+ * Content view for a DbxValueListView. It can be used directly in cases where the items are already configured, or want to be configured in a non-standard fashion.
44
+ */
45
+ export declare class DbxValueListViewContentGroupComponent<G, T, I extends DbxValueListItem<T> = DbxValueListItem<T>> {
46
+ readonly dbxValueListViewContentComponent: DbxValueListViewContentComponent<T>;
47
+ readonly cdRef: ChangeDetectorRef;
48
+ private _group;
49
+ private _cssClasses;
50
+ get cssClasses(): Maybe<string>;
51
+ get items(): Maybe<DbxValueListItemConfig<T, I>[]>;
52
+ get headerConfig(): Maybe<import("@dereekb/dbx-core").DbxInjectionComponentConfig<unknown>>;
53
+ get footerConfig(): Maybe<import("@dereekb/dbx-core").DbxInjectionComponentConfig<unknown>>;
54
+ readonly disabled$: Observable<boolean>;
55
+ readonly trackByFunction: TrackByFunction<DbxValueListItemConfig<T, I>>;
56
+ constructor(dbxValueListViewContentComponent: DbxValueListViewContentComponent<T>, cdRef: ChangeDetectorRef);
57
+ get group(): Maybe<DbxValueListItemGroup<G, T, I>>;
58
+ set group(group: Maybe<DbxValueListItemGroup<G, T, I>>);
59
+ onClickItem(item: I): void;
60
+ onClickValue(value: T): void;
61
+ rippleDisabledOnItem(item: I): boolean;
62
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxValueListViewContentGroupComponent<any, any, any>, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxValueListViewContentGroupComponent<any, any, any>, "dbx-list-view-content-group", never, { "group": { "alias": "group"; "required": false; }; }, {}, never, never, false, never>;
33
64
  }
@@ -0,0 +1,44 @@
1
+ import { CssClassesArray, Maybe, UniqueModel } from '@dereekb/util';
2
+ import { DbxValueListItem, DbxValueListItemConfig } from './list.view.value';
3
+ import { DbxInjectionComponentConfig } from '@dereekb/dbx-core';
4
+ import { Provider, Type } from '@angular/core';
5
+ import { ObservableOrValue } from '@dereekb/rxjs';
6
+ /**
7
+ * A group of DbxValueListItem values, grouped by common data, name, and id.
8
+ */
9
+ export interface DbxValueListItemGroup<G, T, I extends DbxValueListItem<T>, H = unknown, F = unknown> extends Omit<DbxValueListItem<any>, 'itemValue' | 'icon'>, Readonly<Required<UniqueModel>> {
10
+ readonly data: G;
11
+ readonly items: DbxValueListItemConfig<T, I>[];
12
+ /**
13
+ * (Optional) View configuration for the group's header.
14
+ */
15
+ readonly headerConfig?: Maybe<DbxInjectionComponentConfig<H>>;
16
+ /**
17
+ * (Optional) View configuration for the group's header.
18
+ */
19
+ readonly footerConfig?: Maybe<DbxInjectionComponentConfig<F>>;
20
+ /**
21
+ * Whether or not to show the group's items. Defaults to true.
22
+ */
23
+ readonly showGroupItems?: boolean;
24
+ /**
25
+ * Custom CSS classes to apply to all groups.
26
+ */
27
+ readonly cssClasses?: CssClassesArray;
28
+ }
29
+ /**
30
+ * Function that generates an array of DbxValueListItemGroup values from a list of items.
31
+ */
32
+ export type DbxValueListViewGroupValuesFunction<G, T, I extends DbxValueListItem<T>, H = unknown, F = unknown> = (items: DbxValueListItemConfig<T, I>[]) => ObservableOrValue<DbxValueListItemGroup<G, T, I, H, F>[]>;
33
+ export declare const defaultDbxValueListViewGroupValuesFunction: <T, I extends DbxValueListItem<T>>(items: DbxValueListItemConfig<T, I>[]) => DbxValueListItemGroup<unknown, T, I, unknown, unknown>[];
34
+ /**
35
+ * Interface for a view that renders the items of a DbxList.
36
+ */
37
+ export declare abstract class DbxValueListViewGroupDelegate<G, T, I extends DbxValueListItem<T> = DbxValueListItem<T>, H = unknown, F = unknown> {
38
+ /**
39
+ * Groups all input items into groups.
40
+ */
41
+ abstract readonly groupValues: DbxValueListViewGroupValuesFunction<G, T, I, H, F>;
42
+ }
43
+ export declare function defaultDbxValueListViewGroupDelegate<T, I extends DbxValueListItem<T>>(): DbxValueListViewGroupDelegate<any, T, I>;
44
+ export declare function provideDbxValueListViewGroupDelegate<D extends DbxValueListViewGroupDelegate<any, any, any, any>>(sourceType: Type<D>): Provider[];
@@ -0,0 +1,49 @@
1
+ import { Type } from '@angular/core';
2
+ import { PrimativeKey, SortCompareFunction, CssClassesArray } from '@dereekb/util';
3
+ import { DbxValueListItem, DbxValueListItemConfig } from './list.view.value';
4
+ export interface DbxListTitleGroupData<O extends PrimativeKey> {
5
+ /**
6
+ * Data Value. Should generally be defined, but can be null if the group is a default group.
7
+ */
8
+ readonly value: O;
9
+ /**
10
+ * Optional icon to show at the left.
11
+ */
12
+ readonly icon?: string;
13
+ readonly title: string;
14
+ readonly hint?: string;
15
+ /**
16
+ * Custom CSS classes to apply only to this group.
17
+ */
18
+ readonly cssClasses?: CssClassesArray;
19
+ }
20
+ export interface DbxListTitleGroupTitleDelegate<T, O extends PrimativeKey, D extends DbxListTitleGroupData<O> = DbxListTitleGroupData<O>, I extends DbxValueListItem<T> = DbxValueListItem<T>> {
21
+ /**
22
+ * Returns a key value for the input item. If the item does not belong to a group, returns undefined.
23
+ *
24
+ * @param item
25
+ * @returns
26
+ */
27
+ readonly groupValueForItem: (item: DbxValueListItemConfig<T, I>) => O;
28
+ /**
29
+ * Converts a key value to a DbxListTitleGroupData for a group.
30
+ *
31
+ * @param value
32
+ * @returns
33
+ */
34
+ readonly dataForGroupValue: (value: O, items: DbxValueListItemConfig<T, I>[]) => D;
35
+ /**
36
+ * (Optional) sort function for sorting groups by their data.
37
+ */
38
+ readonly sortGroupsByData?: SortCompareFunction<D>;
39
+ /**
40
+ * Custom header component class to inject.
41
+ *
42
+ * DbxListTitleGroupHeaderComponent is injected by default.
43
+ */
44
+ readonly headerComponentClass?: Type<unknown>;
45
+ /**
46
+ * (Optional) CSS classes to apply to the group.
47
+ */
48
+ readonly cssClasses?: CssClassesArray;
49
+ }
@@ -0,0 +1,31 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { DbxValueListItem } from './list.view.value';
3
+ import { DbxValueListViewGroupDelegate, DbxValueListViewGroupValuesFunction } from './list.view.value.group';
4
+ import { Maybe, PrimativeKey } from '@dereekb/util';
5
+ import { DbxListTitleGroupData, DbxListTitleGroupTitleDelegate } from './list.view.value.group.title';
6
+ import * as i0 from "@angular/core";
7
+ export declare const DBX_LIST_TITLE_GROUP_DATA: InjectionToken<unknown>;
8
+ /**
9
+ * Delegate used to for grouping DbxValueListItemConfig<T, I> values.
10
+ */
11
+ export declare class DbxListTitleGroupDirective<T, O extends PrimativeKey = PrimativeKey, D extends DbxListTitleGroupData<O> = DbxListTitleGroupData<O>, I extends DbxValueListItem<T> = DbxValueListItem<T>> implements DbxValueListViewGroupDelegate<D, T, I> {
12
+ private _delegate;
13
+ readonly groupValues: DbxValueListViewGroupValuesFunction<D, T, I, unknown, unknown>;
14
+ ngOnDestroy(): void;
15
+ get delegate(): Maybe<DbxListTitleGroupTitleDelegate<T, O, D, I>>;
16
+ set delegate(delegate: Maybe<DbxListTitleGroupTitleDelegate<T, O, D, I>>);
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxListTitleGroupDirective<any, any, any, any>, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DbxListTitleGroupDirective<any, any, any, any>, "[dbxListTitleGroup]", never, { "delegate": { "alias": "dbxListTitleGroup"; "required": false; }; }, {}, never, never, false, never>;
19
+ }
20
+ /**
21
+ *
22
+ */
23
+ export declare class DbxListTitleGroupHeaderComponent<O extends PrimativeKey, D extends DbxListTitleGroupData<O>> {
24
+ readonly data: D;
25
+ get icon(): string | undefined;
26
+ get title(): string;
27
+ get hint(): string | undefined;
28
+ constructor(data: D);
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxListTitleGroupHeaderComponent<any, any>, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxListTitleGroupHeaderComponent<any, any>, "dbx-list-title-group-header", never, {}, {}, never, never, false, never>;
31
+ }
@@ -4,7 +4,8 @@ import { DbxListSelectionMode, DbxListView } from './list.view';
4
4
  import { DbxValueListItem, AbstractDbxValueListViewConfig } from './list.view.value';
5
5
  import { AbstractDbxValueListViewDirective } from './list.view.value.directive';
6
6
  import { Maybe } from '@dereekb/util';
7
- import { DbxValueListItemViewComponent } from './list.view.value.component';
7
+ import { DbxValueListViewContentComponent } from './list.view.value.component';
8
+ import { DbxValueListViewGroupDelegate } from './list.view.value.group';
8
9
  import * as i0 from "@angular/core";
9
10
  export interface DbxSelectionValueListViewConfig<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V = unknown> extends AbstractDbxValueListViewConfig<T, I, V> {
10
11
  readonly multiple?: boolean;
@@ -21,11 +22,11 @@ export declare class DbxSelectionValueListViewComponent<T, I extends DbxValueLis
21
22
  /**
22
23
  * Content view for a DbxSelectionValueListView. It can be used directly in cases where the items are already configured, or want to be configured in a non-standard fashion.
23
24
  */
24
- export declare class DbxSelectionValueListItemViewComponent<T> extends DbxValueListItemViewComponent<T> {
25
+ export declare class DbxSelectionValueListViewContentComponent<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> extends DbxValueListViewContentComponent<T, I> {
25
26
  multiple?: Maybe<boolean>;
26
27
  selectionMode: Maybe<DbxListSelectionMode>;
27
- constructor(dbxListView: DbxListView<T>);
28
+ constructor(dbxListView: DbxListView<T>, inputDbxListGroupDelegate: Maybe<DbxValueListViewGroupDelegate<any, T, I>>);
28
29
  matSelectionChanged(selection: MatSelectionListChange): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<DbxSelectionValueListItemViewComponent<any>, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<DbxSelectionValueListItemViewComponent<any>, "dbx-selection-list-view-content", never, { "multiple": { "alias": "multiple"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; }, {}, never, never, false, never>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxSelectionValueListViewContentComponent<any, any>, [null, { optional: true; }]>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxSelectionValueListViewContentComponent<any, any>, "dbx-selection-list-view-content", never, { "multiple": { "alias": "multiple"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; }, {}, never, never, false, never>;
31
32
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/mapbox",
3
- "version": "10.0.24",
3
+ "version": "10.1.0",
4
4
  "module": "fesm2022/dereekb-dbx-web-mapbox.mjs",
5
5
  "typings": "index.d.ts",
6
6
  "exports": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web",
3
- "version": "10.0.24",
3
+ "version": "10.1.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.12",
6
6
  "@angular/core": "^16.2.12",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/table",
3
- "version": "10.0.24",
3
+ "version": "10.1.0",
4
4
  "module": "fesm2022/dereekb-dbx-web-table.mjs",
5
5
  "typings": "index.d.ts",
6
6
  "exports": {