@dereekb/dbx-web 9.24.15 → 9.24.17
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 -7
- package/fesm2015/dereekb-dbx-web.mjs +10 -4
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +9 -4
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/interaction/filter/filter.popover.component.d.ts +17 -1
- package/mapbox/package.json +3 -3
- package/package.json +3 -3
- package/table/package.json +3 -3
|
@@ -7,6 +7,7 @@ import { DbxPopoverComponent } from '../popover/popover.component';
|
|
|
7
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
|
+
import { Maybe } from '@dereekb/util';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export interface DbxFilterComponentParams<F extends object = object, P extends string = string> extends DbxPopoverConfigSizing {
|
|
12
13
|
/**
|
|
@@ -21,6 +22,18 @@ export interface DbxFilterComponentParams<F extends object = object, P extends s
|
|
|
21
22
|
* Defaults to "Filter"
|
|
22
23
|
*/
|
|
23
24
|
header?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Custom customize button text. If not defined, defaults to "Customize"
|
|
27
|
+
*/
|
|
28
|
+
customizeButtonText?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Custom close button text. If not defined, defaults to "Close"
|
|
31
|
+
*/
|
|
32
|
+
closeButtonText?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Whether or not to show the close button. Defaults to the value of !closeOnFilterChange
|
|
35
|
+
*/
|
|
36
|
+
showCloseButton?: Maybe<boolean>;
|
|
24
37
|
/**
|
|
25
38
|
* Custom filter component to initialize.
|
|
26
39
|
*/
|
|
@@ -53,6 +66,9 @@ export interface DbxFilterPopoverComponentParams<F extends object = object> exte
|
|
|
53
66
|
export declare const DEFAULT_FILTER_POPOVER_KEY = "filter";
|
|
54
67
|
export declare class DbxFilterPopoverComponent<F extends object> extends AbstractPopoverDirective<unknown, DbxFilterComponentParams<F>> implements OnInit, OnDestroy {
|
|
55
68
|
private _closeOnChangeSub;
|
|
69
|
+
readonly showCloseButton: boolean;
|
|
70
|
+
readonly closeButtonText: string;
|
|
71
|
+
readonly customizeButtonText: string;
|
|
56
72
|
/**
|
|
57
73
|
* Whether or not to display buttons to toggle between custom and preset filters.
|
|
58
74
|
*/
|
|
@@ -60,7 +76,7 @@ export declare class DbxFilterPopoverComponent<F extends object> extends Abstrac
|
|
|
60
76
|
private _showPreset;
|
|
61
77
|
readonly showPreset$: Observable<boolean>;
|
|
62
78
|
readonly config$: Observable<DbxInjectionComponentConfig<FilterSource<F>>>;
|
|
63
|
-
static openPopover<F extends object>(popupService: DbxPopoverService, { width, height, isResizable, origin, header, icon, customFilterComponentClass, presetFilterComponentClass, connector, initialFilterObs, closeOnFilterChange }: DbxFilterPopoverComponentParams<F>, popoverKey?: DbxPopoverKey): NgPopoverRef;
|
|
79
|
+
static openPopover<F extends object>(popupService: DbxPopoverService, { width, height, isResizable, origin, header, icon, customFilterComponentClass, presetFilterComponentClass, connector, initialFilterObs, closeOnFilterChange, customizeButtonText, showCloseButton, closeButtonText }: DbxFilterPopoverComponentParams<F>, popoverKey?: DbxPopoverKey): NgPopoverRef;
|
|
64
80
|
constructor(popover: DbxPopoverComponent<unknown, DbxFilterComponentParams<F>>);
|
|
65
81
|
get config(): DbxFilterComponentParams<F>;
|
|
66
82
|
get icon(): string;
|
package/mapbox/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web/mapbox",
|
|
3
|
-
"version": "9.24.
|
|
3
|
+
"version": "9.24.17",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.1.0",
|
|
6
6
|
"@angular/core": "^14.1.0",
|
|
7
|
-
"@dereekb/dbx-core": "9.24.
|
|
8
|
-
"@dereekb/dbx-web": "9.24.
|
|
7
|
+
"@dereekb/dbx-core": "9.24.17",
|
|
8
|
+
"@dereekb/dbx-web": "9.24.17",
|
|
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.24.
|
|
3
|
+
"version": "9.24.17",
|
|
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.24.
|
|
11
|
-
"@dereekb/dbx-core": "9.24.
|
|
10
|
+
"@dereekb/rxjs": "9.24.17",
|
|
11
|
+
"@dereekb/dbx-core": "9.24.17",
|
|
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.24.
|
|
3
|
+
"version": "9.24.17",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.2.0",
|
|
6
6
|
"@angular/core": "^14.2.0",
|
|
7
|
-
"@dereekb/dbx-core": "9.24.
|
|
7
|
+
"@dereekb/dbx-core": "9.24.17",
|
|
8
8
|
"@angular/material": "^14.2.0",
|
|
9
9
|
"@angular/forms": "^14.2.0",
|
|
10
|
-
"@dereekb/dbx-web": "9.24.
|
|
10
|
+
"@dereekb/dbx-web": "9.24.17"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"tslib": "^2.3.0"
|