@dereekb/dbx-web 9.23.28 → 9.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/calendar/package.json +2 -2
- package/esm2020/lib/interaction/filter/filter.popover.component.mjs +13 -8
- package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +12 -8
- package/esm2020/lib/interaction/popover/popover.service.mjs +8 -5
- package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +7 -4
- package/fesm2015/dereekb-dbx-web.mjs +49 -36
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +46 -33
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/interaction/filter/filter.popover.component.d.ts +3 -3
- package/lib/interaction/filter/filter.wrapper.component.d.ts +2 -1
- package/lib/interaction/popover/popover.service.d.ts +5 -5
- package/lib/router/layout/anchorlist/anchorlist.component.d.ts +6 -2
- package/lib/router/layout/sidenav/_sidenav.scss +22 -4
- package/mapbox/package.json +3 -3
- package/package.json +3 -3
- package/table/package.json +3 -3
|
@@ -4,11 +4,11 @@ import { NgPopoverRef } from 'ng-overlay-container';
|
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { AbstractPopoverDirective } from '../popover/abstract.popover.directive';
|
|
6
6
|
import { DbxPopoverComponent } from '../popover/popover.component';
|
|
7
|
-
import { DbxPopoverService } from '../popover/popover.service';
|
|
7
|
+
import { DbxPopoverConfigSizing, DbxPopoverService } from '../popover/popover.service';
|
|
8
8
|
import { FilterSource, FilterSourceConnector, PresetFilterSource } from '@dereekb/rxjs';
|
|
9
9
|
import { DbxPopoverKey } from '../popover/popover';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
|
-
export interface DbxFilterComponentParams<F extends object = object, P extends string = string> {
|
|
11
|
+
export interface DbxFilterComponentParams<F extends object = object, P extends string = string> extends DbxPopoverConfigSizing {
|
|
12
12
|
/**
|
|
13
13
|
* Custom icon
|
|
14
14
|
*
|
|
@@ -60,7 +60,7 @@ export declare class DbxFilterPopoverComponent<F extends object> extends Abstrac
|
|
|
60
60
|
private _showPreset;
|
|
61
61
|
readonly showPreset$: Observable<boolean>;
|
|
62
62
|
readonly config$: Observable<DbxInjectionComponentConfig<FilterSource<F>>>;
|
|
63
|
-
static openPopover<F extends object>(popupService: DbxPopoverService, { origin, header, icon,
|
|
63
|
+
static openPopover<F extends object>(popupService: DbxPopoverService, { width, height, isResizable, origin, header, icon, customFilterComponentClass, presetFilterComponentClass, connector, initialFilterObs, closeOnFilterChange }: DbxFilterPopoverComponentParams<F>, popoverKey?: DbxPopoverKey): NgPopoverRef;
|
|
64
64
|
constructor(popover: DbxPopoverComponent<unknown, DbxFilterComponentParams<F>>);
|
|
65
65
|
get config(): DbxFilterComponentParams<F>;
|
|
66
66
|
get icon(): string;
|
|
@@ -7,6 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class DbxFilterWrapperComponent<F = unknown> extends AbstractDbxActionHandlerDirective<F> {
|
|
9
9
|
readonly filterSourceDirective: FilterSourceDirective<F>;
|
|
10
|
+
showButtons: boolean;
|
|
10
11
|
applyRaised: boolean;
|
|
11
12
|
applyIcon: string;
|
|
12
13
|
applyText: string;
|
|
@@ -14,5 +15,5 @@ export declare class DbxFilterWrapperComponent<F = unknown> extends AbstractDbxA
|
|
|
14
15
|
applyFilter(): void;
|
|
15
16
|
resetFilter(): void;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxFilterWrapperComponent<any>, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFilterWrapperComponent<any>, "dbx-filter-wrapper", never, { "applyRaised": "applyRaised"; "applyIcon": "applyIcon"; "applyText": "applyText"; }, {}, never, ["*"], false>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxFilterWrapperComponent<any>, "dbx-filter-wrapper", never, { "showButtons": "showButtons"; "applyRaised": "applyRaised"; "applyIcon": "applyIcon"; "applyText": "applyText"; }, {}, never, ["*"], false>;
|
|
18
19
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DbxPopoverComponentConfig } from './popover.component';
|
|
2
2
|
import { Injector } from '@angular/core';
|
|
3
|
-
import { NgPopoverRef } from 'ng-overlay-container';
|
|
3
|
+
import { NgOverlayContainerConfiguration, NgPopoverRef } from 'ng-overlay-container';
|
|
4
4
|
import { Overlay } from '@angular/cdk/overlay';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export interface
|
|
6
|
+
export interface DbxPopoverConfigSizing extends Pick<NgOverlayContainerConfiguration, 'originX' | 'originY' | 'height' | 'width' | 'minHeight' | 'minWidth' | 'isResizable'> {
|
|
7
|
+
}
|
|
8
|
+
export interface DbxPopoverConfig<O, I, T> extends DbxPopoverComponentConfig<O, I, T>, DbxPopoverConfigSizing {
|
|
9
|
+
panelClass?: string;
|
|
7
10
|
injector?: Injector;
|
|
8
|
-
height?: string;
|
|
9
|
-
width?: string;
|
|
10
|
-
isResizable?: boolean;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Used for displaying a popover.
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ClickableAnchorLinkTree, ExpandedClickableAnchorLinkTree } from '@dereekb/dbx-core';
|
|
3
4
|
import { Maybe } from '@dereekb/util';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
export interface DbxAnchorListExpandedAnchor extends ExpandedClickableAnchorLinkTree {
|
|
7
|
+
classes: string;
|
|
8
|
+
}
|
|
5
9
|
/**
|
|
6
10
|
* Component that displays a list of ClickableAnchorLink values within a MatNavList.
|
|
7
11
|
*/
|
|
8
12
|
export declare class DbxAnchorListComponent implements OnDestroy {
|
|
9
13
|
private _anchors;
|
|
10
|
-
readonly expandedAnchors$:
|
|
14
|
+
readonly expandedAnchors$: Observable<DbxAnchorListExpandedAnchor[]>;
|
|
11
15
|
set anchors(anchors: Maybe<ClickableAnchorLinkTree[]>);
|
|
12
16
|
ngOnDestroy(): void;
|
|
13
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxAnchorListComponent, never>;
|
|
@@ -10,6 +10,7 @@ $icon-only-width: 65px;
|
|
|
10
10
|
$mat-list-item-height: 48px;
|
|
11
11
|
$active-border-left-width: 2px;
|
|
12
12
|
$dbx-sidenav-nav-bottom-padding: 24px;
|
|
13
|
+
$active-background-transparent-color: 0.93;
|
|
13
14
|
|
|
14
15
|
// MARK: Mixin
|
|
15
16
|
@mixin core() {
|
|
@@ -109,7 +110,22 @@ $dbx-sidenav-nav-bottom-padding: 24px;
|
|
|
109
110
|
height: $mat-list-item-height;
|
|
110
111
|
}
|
|
111
112
|
|
|
112
|
-
.dbx-anchor-active
|
|
113
|
+
.dbx-anchor-active {
|
|
114
|
+
.mat-list-item {
|
|
115
|
+
.mat-list-icon {
|
|
116
|
+
color: $active-icon-color;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.dbx-anchor-list-root .dbx-anchor-active .mat-list-item {
|
|
122
|
+
// root list items glow when active
|
|
123
|
+
background: transparentize($color: $active-icon-color, $amount: $active-background-transparent-color);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// directly active links have a side-
|
|
127
|
+
.dbx-anchor-active-eq,
|
|
128
|
+
.dbx-anchor-list-child .dbx-anchor-active {
|
|
113
129
|
.mat-list-item {
|
|
114
130
|
border-left: $active-border-left-width solid $active-icon-color;
|
|
115
131
|
|
|
@@ -120,10 +136,12 @@ $dbx-sidenav-nav-bottom-padding: 24px;
|
|
|
120
136
|
padding-left: anchorlist.$active-root-item-left-padding - $active-border-left-width;
|
|
121
137
|
}
|
|
122
138
|
}
|
|
139
|
+
}
|
|
123
140
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
141
|
+
.dbx-anchor-list-child .dbx-anchor-active .mat-list-item,
|
|
142
|
+
.dbx-anchor-list-child .dbx-anchor-active-eq .mat-list-item {
|
|
143
|
+
padding-left: anchorlist.$active-child-item-left-padding - $active-border-left-width;
|
|
144
|
+
background: transparentize($color: $active-icon-color, $amount: $active-background-transparent-color);
|
|
127
145
|
}
|
|
128
146
|
}
|
|
129
147
|
}
|
package/mapbox/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web/mapbox",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.24.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.1.0",
|
|
6
6
|
"@angular/core": "^14.1.0",
|
|
7
|
-
"@dereekb/dbx-core": "9.
|
|
8
|
-
"@dereekb/dbx-web": "9.
|
|
7
|
+
"@dereekb/dbx-core": "9.24.0",
|
|
8
|
+
"@dereekb/dbx-web": "9.24.0",
|
|
9
9
|
"ngx-mapbox-gl": "^9.1.0",
|
|
10
10
|
"mapbox-gl": "^2.9.2",
|
|
11
11
|
"@mapbox/geo-viewport": "git+https://git@github.com/dereekb/geo-viewport#165513972f87dca23a20c177f4d173edc51b5e2f"
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.24.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.0.0",
|
|
6
6
|
"@angular/core": "^14.0.0",
|
|
7
7
|
"linkify-string": "4.0.0-beta.5",
|
|
8
8
|
"linkifyjs": "^4.0.0-beta.5",
|
|
9
9
|
"@angular/material": "^14.2.0",
|
|
10
|
-
"@dereekb/rxjs": "9.
|
|
11
|
-
"@dereekb/dbx-core": "9.
|
|
10
|
+
"@dereekb/rxjs": "9.24.0",
|
|
11
|
+
"@dereekb/dbx-core": "9.24.0",
|
|
12
12
|
"change-case": "^4.1.2",
|
|
13
13
|
"@angular/flex-layout": "^14.0.0-beta.41",
|
|
14
14
|
"ng-overlay-container": "^14.0.0",
|
package/table/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web/table",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.24.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.2.0",
|
|
6
6
|
"@angular/core": "^14.2.0",
|
|
7
|
-
"@dereekb/dbx-core": "9.
|
|
7
|
+
"@dereekb/dbx-core": "9.24.0",
|
|
8
8
|
"@angular/material": "^14.2.0",
|
|
9
9
|
"@angular/forms": "^14.2.0",
|
|
10
|
-
"@dereekb/dbx-web": "9.
|
|
10
|
+
"@dereekb/dbx-web": "9.24.0"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"tslib": "^2.3.0"
|