@dereekb/dbx-web 9.23.13 → 9.23.14

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.
@@ -0,0 +1,11 @@
1
+ export interface DbxPresetFilterMenuConfig {
2
+ unknownSelectionText?: string;
3
+ /**
4
+ * The icon to use for the filter, or false if no icon should be shown.
5
+ */
6
+ filterIcon?: string | false;
7
+ /**
8
+ * Whether or not to use the preset's icon if one is defined. If filterIcon is false, the icon will only appear when an item is selected.
9
+ */
10
+ usePresetIcon?: boolean;
11
+ }
@@ -1,21 +1,22 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./filter.popover.component";
3
- import * as i2 from "./filter.popover.button.component";
4
- import * as i3 from "./filter.wrapper.component";
5
- import * as i4 from "./filter.preset.list.component";
6
- import * as i5 from "./filter.preset.menu.component";
7
- import * as i6 from "@angular/common";
8
- import * as i7 from "../popover/popover.module";
9
- import * as i8 from "@dereekb/dbx-core";
10
- import * as i9 from "../../button/button.module";
11
- import * as i10 from "../../router/layout/anchor/anchor.module";
12
- import * as i11 from "../../router/layout/anchorlist/anchorlist.module";
13
- import * as i12 from "@angular/flex-layout";
14
- import * as i13 from "@angular/material/menu";
15
- import * as i14 from "@angular/material/icon";
16
- import * as i15 from "@angular/material/button";
2
+ import * as i1 from "./filter.partial.menu.component";
3
+ import * as i2 from "./filter.popover.component";
4
+ import * as i3 from "./filter.popover.button.component";
5
+ import * as i4 from "./filter.wrapper.component";
6
+ import * as i5 from "./filter.preset.list.component";
7
+ import * as i6 from "./filter.preset.menu.component";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "../popover/popover.module";
10
+ import * as i9 from "@dereekb/dbx-core";
11
+ import * as i10 from "../../button/button.module";
12
+ import * as i11 from "../../router/layout/anchor/anchor.module";
13
+ import * as i12 from "../../router/layout/anchorlist/anchorlist.module";
14
+ import * as i13 from "@angular/flex-layout";
15
+ import * as i14 from "@angular/material/menu";
16
+ import * as i15 from "@angular/material/icon";
17
+ import * as i16 from "@angular/material/button";
17
18
  export declare class DbxFilterInteractionModule {
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxFilterInteractionModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFilterInteractionModule, [typeof i1.DbxFilterPopoverComponent, typeof i2.DbxFilterPopoverButtonComponent, typeof i3.DbxFilterWrapperComponent, typeof i4.DbxPresetFilterListComponent, typeof i5.DbxPresetFilterMenuComponent], [typeof i6.CommonModule, typeof i7.DbxPopoverInteractionModule, typeof i8.DbxCoreFilterModule, typeof i9.DbxButtonModule, typeof i10.DbxRouterAnchorModule, typeof i11.DbxRouterAnchorListModule, typeof i8.DbxInjectionComponentModule, typeof i12.FlexLayoutModule, typeof i13.MatMenuModule, typeof i14.MatIconModule, typeof i15.MatButtonModule], [typeof i8.DbxCoreFilterModule, typeof i2.DbxFilterPopoverButtonComponent, typeof i3.DbxFilterWrapperComponent, typeof i4.DbxPresetFilterListComponent, typeof i5.DbxPresetFilterMenuComponent]>;
20
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFilterInteractionModule, [typeof i1.DbxPartialPresetFilterMenuComponent, typeof i2.DbxFilterPopoverComponent, typeof i3.DbxFilterPopoverButtonComponent, typeof i4.DbxFilterWrapperComponent, typeof i5.DbxPresetFilterListComponent, typeof i6.DbxPresetFilterMenuComponent], [typeof i7.CommonModule, typeof i8.DbxPopoverInteractionModule, typeof i9.DbxCoreFilterModule, typeof i10.DbxButtonModule, typeof i11.DbxRouterAnchorModule, typeof i12.DbxRouterAnchorListModule, typeof i9.DbxInjectionComponentModule, typeof i13.FlexLayoutModule, typeof i14.MatMenuModule, typeof i15.MatIconModule, typeof i16.MatButtonModule], [typeof i1.DbxPartialPresetFilterMenuComponent, typeof i2.DbxFilterPopoverComponent, typeof i3.DbxFilterPopoverButtonComponent, typeof i4.DbxFilterWrapperComponent, typeof i5.DbxPresetFilterListComponent, typeof i6.DbxPresetFilterMenuComponent, typeof i9.DbxCoreFilterModule]>;
20
21
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxFilterInteractionModule>;
21
22
  }
@@ -0,0 +1,23 @@
1
+ import { Observable } from 'rxjs';
2
+ import { OnDestroy } from '@angular/core';
3
+ import { ClickableAnchorLink, FilterSourceDirective, ClickablePartialFilterPreset } from '@dereekb/dbx-core';
4
+ import { Maybe } from '@dereekb/util';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Displays a button and menu for filtering partialPresets.
8
+ */
9
+ export declare abstract class AbstractDbxPartialPresetFilterMenuDirective<F> implements OnDestroy {
10
+ readonly filterSourceDirective: FilterSourceDirective<F>;
11
+ private _partialPresets;
12
+ readonly filter$: Observable<Maybe<F>>;
13
+ readonly selectedPartialPresets$: Observable<ClickablePartialFilterPreset<F>[]>;
14
+ readonly firstSelectedPartialPreset$: Observable<Maybe<ClickablePartialFilterPreset<F>>>;
15
+ readonly presetAnchors$: Observable<ClickableAnchorLink[]>;
16
+ get partialPresets(): ClickablePartialFilterPreset<F>[];
17
+ set partialPresets(partialPresets: ClickablePartialFilterPreset<F>[]);
18
+ constructor(filterSourceDirective: FilterSourceDirective<F>);
19
+ selectPartialPreset(preset: ClickablePartialFilterPreset<F>): void;
20
+ ngOnDestroy(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxPartialPresetFilterMenuDirective<any>, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxPartialPresetFilterMenuDirective<any>, never, never, { "partialPresets": "partialPresets"; }, {}, never, never, false>;
23
+ }
@@ -0,0 +1,17 @@
1
+ import { FilterWithPreset } from '@dereekb/rxjs';
2
+ import { AbstractDbxPartialPresetFilterMenuDirective } from './filter.partial';
3
+ import { DbxPresetFilterMenuConfig } from './filter.menu';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Displays a button and menu for filtering partial preset values.
7
+ */
8
+ export declare class DbxPartialPresetFilterMenuComponent<F extends FilterWithPreset> extends AbstractDbxPartialPresetFilterMenuDirective<F> {
9
+ private _config;
10
+ readonly buttonText$: import("rxjs").Observable<string>;
11
+ readonly buttonIcon$: import("rxjs").Observable<string | undefined>;
12
+ get config(): DbxPresetFilterMenuConfig;
13
+ set config(config: DbxPresetFilterMenuConfig);
14
+ ngOnDestroy(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxPartialPresetFilterMenuComponent<any>, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxPartialPresetFilterMenuComponent<any>, "dbx-partial-preset-filter-menu", never, { "config": "config"; }, {}, never, never, false>;
17
+ }
@@ -1,17 +1,7 @@
1
1
  import { FilterWithPreset } from '@dereekb/rxjs';
2
2
  import { AbstractDbxPresetFilterMenuComponent } from './filter.preset';
3
+ import { DbxPresetFilterMenuConfig } from './filter.menu';
3
4
  import * as i0 from "@angular/core";
4
- export interface DbxPresetFilterMenuConfig {
5
- unknownSelectionText?: string;
6
- /**
7
- * The icon to use for the filter, or false if no icon should be shown.
8
- */
9
- filterIcon?: string | false;
10
- /**
11
- * Whether or not to use the preset's icon if one is defined. If filterIcon is false, the icon will only appear when an item is selected.
12
- */
13
- usePresetIcon?: boolean;
14
- }
15
5
  /**
16
6
  * Displays a button and menu for filtering presets.
17
7
  */
@@ -1,4 +1,7 @@
1
1
  export * from './filter.module';
2
+ export * from './filter.menu';
3
+ export * from './filter.partial.menu.component';
4
+ export * from './filter.partial';
2
5
  export * from './filter.popover.button.component';
3
6
  export * from './filter.popover.button.directive';
4
7
  export * from './filter.popover.component';
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/mapbox",
3
- "version": "9.23.13",
3
+ "version": "9.23.14",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.1.0",
6
6
  "@angular/core": "^14.1.0",
7
- "@dereekb/dbx-core": "9.23.13",
8
- "@dereekb/dbx-web": "9.23.13",
7
+ "@dereekb/dbx-core": "9.23.14",
8
+ "@dereekb/dbx-web": "9.23.14",
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.23.13",
3
+ "version": "9.23.14",
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.23.13",
11
- "@dereekb/dbx-core": "9.23.13",
10
+ "@dereekb/rxjs": "9.23.14",
11
+ "@dereekb/dbx-core": "9.23.14",
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",
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/table",
3
- "version": "9.23.13",
3
+ "version": "9.23.14",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0",
7
- "@dereekb/dbx-core": "9.23.13",
7
+ "@dereekb/dbx-core": "9.23.14",
8
8
  "@angular/material": "^14.2.0",
9
9
  "@angular/forms": "^14.2.0",
10
- "@dereekb/dbx-web": "9.23.13"
10
+ "@dereekb/dbx-web": "9.23.14"
11
11
  },
12
12
  "dependencies": {
13
13
  "tslib": "^2.3.0"