@dereekb/dbx-web 9.23.15 → 9.23.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.
Files changed (28) hide show
  1. package/calendar/package.json +2 -2
  2. package/esm2020/lib/interaction/filter/filter.menu.mjs +25 -2
  3. package/esm2020/lib/interaction/filter/filter.module.mjs +5 -4
  4. package/esm2020/lib/interaction/filter/filter.partial.list.component.mjs +21 -0
  5. package/esm2020/lib/interaction/filter/filter.partial.menu.component.mjs +7 -26
  6. package/esm2020/lib/interaction/filter/filter.partial.mjs +2 -2
  7. package/esm2020/lib/interaction/filter/filter.preset.menu.component.mjs +7 -23
  8. package/esm2020/lib/interaction/filter/filter.preset.mjs +3 -3
  9. package/esm2020/lib/interaction/filter/index.mjs +2 -1
  10. package/esm2020/lib/layout/text/address.component.mjs +46 -0
  11. package/esm2020/lib/layout/text/index.mjs +2 -1
  12. package/esm2020/lib/layout/text/text.module.mjs +4 -3
  13. package/fesm2015/dereekb-dbx-web.mjs +101 -57
  14. package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
  15. package/fesm2020/dereekb-dbx-web.mjs +100 -54
  16. package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
  17. package/lib/interaction/filter/filter.menu.d.ts +11 -0
  18. package/lib/interaction/filter/filter.module.d.ts +18 -17
  19. package/lib/interaction/filter/filter.partial.list.component.d.ts +6 -0
  20. package/lib/interaction/filter/filter.partial.menu.component.d.ts +1 -2
  21. package/lib/interaction/filter/index.d.ts +1 -0
  22. package/lib/layout/text/_text.scss +5 -0
  23. package/lib/layout/text/address.component.d.ts +7 -0
  24. package/lib/layout/text/index.d.ts +1 -0
  25. package/lib/layout/text/text.module.d.ts +21 -20
  26. package/mapbox/package.json +3 -3
  27. package/package.json +3 -3
  28. package/table/package.json +3 -3
@@ -1,4 +1,13 @@
1
+ import { ClickableAnchorLink } from '@dereekb/dbx-core';
2
+ import { Maybe } from '@dereekb/util';
3
+ import { Observable } from 'rxjs';
4
+ /**
5
+ * Configuration for the preset filter menus
6
+ */
1
7
  export interface DbxPresetFilterMenuConfig {
8
+ /**
9
+ * The text to display for the unknown selection.
10
+ */
2
11
  unknownSelectionText?: string;
3
12
  /**
4
13
  * The icon to use for the filter, or false if no icon should be shown.
@@ -9,3 +18,5 @@ export interface DbxPresetFilterMenuConfig {
9
18
  */
10
19
  usePresetIcon?: boolean;
11
20
  }
21
+ export declare function dbxPresetFilterMenuButtonTextObservable(config$: Observable<DbxPresetFilterMenuConfig>, selection$: Observable<Maybe<Partial<Pick<ClickableAnchorLink, 'title'>>>>, defaultText?: string): Observable<string>;
22
+ export declare function dbxPresetFilterMenuButtonIconObservable(config$: Observable<DbxPresetFilterMenuConfig>, selection$: Observable<Maybe<Partial<Pick<ClickableAnchorLink, 'icon'>>>>, defaultIcon?: string): Observable<string | undefined>;
@@ -1,22 +1,23 @@
1
1
  import * as i0 from "@angular/core";
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";
2
+ import * as i1 from "./filter.partial.list.component";
3
+ import * as i2 from "./filter.partial.menu.component";
4
+ import * as i3 from "./filter.popover.component";
5
+ import * as i4 from "./filter.popover.button.component";
6
+ import * as i5 from "./filter.wrapper.component";
7
+ import * as i6 from "./filter.preset.list.component";
8
+ import * as i7 from "./filter.preset.menu.component";
9
+ import * as i8 from "@angular/common";
10
+ import * as i9 from "../popover/popover.module";
11
+ import * as i10 from "@dereekb/dbx-core";
12
+ import * as i11 from "../../button/button.module";
13
+ import * as i12 from "../../router/layout/anchor/anchor.module";
14
+ import * as i13 from "../../router/layout/anchorlist/anchorlist.module";
15
+ import * as i14 from "@angular/flex-layout";
16
+ import * as i15 from "@angular/material/menu";
17
+ import * as i16 from "@angular/material/icon";
18
+ import * as i17 from "@angular/material/button";
18
19
  export declare class DbxFilterInteractionModule {
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxFilterInteractionModule, never>;
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]>;
21
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxFilterInteractionModule, [typeof i1.DbxPartialPresetFilterListComponent, typeof i2.DbxPartialPresetFilterMenuComponent, typeof i3.DbxFilterPopoverComponent, typeof i4.DbxFilterPopoverButtonComponent, typeof i5.DbxFilterWrapperComponent, typeof i6.DbxPresetFilterListComponent, typeof i7.DbxPresetFilterMenuComponent], [typeof i8.CommonModule, typeof i9.DbxPopoverInteractionModule, typeof i10.DbxCoreFilterModule, typeof i11.DbxButtonModule, typeof i12.DbxRouterAnchorModule, typeof i13.DbxRouterAnchorListModule, typeof i10.DbxInjectionComponentModule, typeof i14.FlexLayoutModule, typeof i15.MatMenuModule, typeof i16.MatIconModule, typeof i17.MatButtonModule], [typeof i1.DbxPartialPresetFilterListComponent, typeof i2.DbxPartialPresetFilterMenuComponent, typeof i3.DbxFilterPopoverComponent, typeof i4.DbxFilterPopoverButtonComponent, typeof i5.DbxFilterWrapperComponent, typeof i6.DbxPresetFilterListComponent, typeof i7.DbxPresetFilterMenuComponent, typeof i10.DbxCoreFilterModule]>;
21
22
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxFilterInteractionModule>;
22
23
  }
@@ -0,0 +1,6 @@
1
+ import { AbstractDbxPartialPresetFilterMenuDirective } from './filter.partial';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DbxPartialPresetFilterListComponent<F> extends AbstractDbxPartialPresetFilterMenuDirective<F> {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxPartialPresetFilterListComponent<any>, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxPartialPresetFilterListComponent<any>, "dbx-preset-partial-filter-list", never, {}, {}, never, never, false>;
6
+ }
@@ -1,11 +1,10 @@
1
- import { FilterWithPreset } from '@dereekb/rxjs';
2
1
  import { AbstractDbxPartialPresetFilterMenuDirective } from './filter.partial';
3
2
  import { DbxPresetFilterMenuConfig } from './filter.menu';
4
3
  import * as i0 from "@angular/core";
5
4
  /**
6
5
  * Displays a button and menu for filtering partial preset values.
7
6
  */
8
- export declare class DbxPartialPresetFilterMenuComponent<F extends FilterWithPreset> extends AbstractDbxPartialPresetFilterMenuDirective<F> {
7
+ export declare class DbxPartialPresetFilterMenuComponent<F> extends AbstractDbxPartialPresetFilterMenuDirective<F> {
9
8
  private _config;
10
9
  readonly buttonText$: import("rxjs").Observable<string>;
11
10
  readonly buttonIcon$: import("rxjs").Observable<string | undefined>;
@@ -1,5 +1,6 @@
1
1
  export * from './filter.module';
2
2
  export * from './filter.menu';
3
+ export * from './filter.partial.list.component';
3
4
  export * from './filter.partial.menu.component';
4
5
  export * from './filter.partial';
5
6
  export * from './filter.popover.button.component';
@@ -121,6 +121,11 @@ $dbx-detail-block-content-offset: 30px;
121
121
  .dbx-chip-margin {
122
122
  margin: 4px;
123
123
  }
124
+
125
+ .dbx-us-address {
126
+ white-space: pre-wrap !important;
127
+ line-height: 1.4;
128
+ }
124
129
  }
125
130
 
126
131
  @mixin color($theme-config) {
@@ -0,0 +1,7 @@
1
+ import { Maybe, UnitedStatesAddressWithContact } from '@dereekb/util';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DbxUnitedStatesAddressComponent {
4
+ address: Maybe<Partial<UnitedStatesAddressWithContact>>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<DbxUnitedStatesAddressComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<DbxUnitedStatesAddressComponent, "dbx-us-address", never, { "address": "address"; }, {}, never, never, false>;
7
+ }
@@ -1,3 +1,4 @@
1
+ export * from './address.component';
1
2
  export * from './detail.block.component';
2
3
  export * from './detail.block.header.component';
3
4
  export * from './form.description.component';
@@ -1,25 +1,26 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./text.chip.directive";
3
- import * as i2 from "./detail.block.component";
4
- import * as i3 from "./detail.block.header.component";
5
- import * as i4 from "./note.component";
6
- import * as i5 from "./notice.component";
7
- import * as i6 from "./success.component";
8
- import * as i7 from "./warn.component";
9
- import * as i8 from "./hint.component";
10
- import * as i9 from "./label.block.component";
11
- import * as i10 from "./label.component";
12
- import * as i11 from "./linkify.component";
13
- import * as i12 from "./ok.component";
14
- import * as i13 from "./text.chips.component";
15
- import * as i14 from "./icon.spacer.component";
16
- import * as i15 from "./form.description.component";
17
- import * as i16 from "@angular/common";
18
- import * as i17 from "@angular/material/chips";
19
- import * as i18 from "@angular/material/tooltip";
20
- import * as i19 from "@angular/material/icon";
2
+ import * as i1 from "./address.component";
3
+ import * as i2 from "./text.chip.directive";
4
+ import * as i3 from "./detail.block.component";
5
+ import * as i4 from "./detail.block.header.component";
6
+ import * as i5 from "./note.component";
7
+ import * as i6 from "./notice.component";
8
+ import * as i7 from "./success.component";
9
+ import * as i8 from "./warn.component";
10
+ import * as i9 from "./hint.component";
11
+ import * as i10 from "./label.block.component";
12
+ import * as i11 from "./label.component";
13
+ import * as i12 from "./linkify.component";
14
+ import * as i13 from "./ok.component";
15
+ import * as i14 from "./text.chips.component";
16
+ import * as i15 from "./icon.spacer.component";
17
+ import * as i16 from "./form.description.component";
18
+ import * as i17 from "@angular/common";
19
+ import * as i18 from "@angular/material/chips";
20
+ import * as i19 from "@angular/material/tooltip";
21
+ import * as i20 from "@angular/material/icon";
21
22
  export declare class DbxTextModule {
22
23
  static ɵfac: i0.ɵɵFactoryDeclaration<DbxTextModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<DbxTextModule, [typeof i1.DbxChipDirective, typeof i2.DbxDetailBlockComponent, typeof i3.DbxDetailBlockHeaderComponent, typeof i4.DbxNoteComponent, typeof i5.DbxNoticeComponent, typeof i6.DbxSuccessComponent, typeof i7.DbxWarnComponent, typeof i8.DbxHintComponent, typeof i9.DbxLabelBlockComponent, typeof i10.DbxLabelComponent, typeof i11.DbxLinkifyComponent, typeof i12.DbxOkComponent, typeof i13.DbxTextChipsComponent, typeof i14.DbxIconSpacerDirective, typeof i15.DbxFormDescriptionComponent], [typeof i16.CommonModule, typeof i17.MatChipsModule, typeof i18.MatTooltipModule, typeof i19.MatIconModule], [typeof i1.DbxChipDirective, typeof i2.DbxDetailBlockComponent, typeof i3.DbxDetailBlockHeaderComponent, typeof i4.DbxNoteComponent, typeof i5.DbxNoticeComponent, typeof i6.DbxSuccessComponent, typeof i7.DbxWarnComponent, typeof i8.DbxHintComponent, typeof i9.DbxLabelBlockComponent, typeof i10.DbxLabelComponent, typeof i11.DbxLinkifyComponent, typeof i12.DbxOkComponent, typeof i13.DbxTextChipsComponent, typeof i14.DbxIconSpacerDirective, typeof i15.DbxFormDescriptionComponent]>;
24
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DbxTextModule, [typeof i1.DbxUnitedStatesAddressComponent, typeof i2.DbxChipDirective, typeof i3.DbxDetailBlockComponent, typeof i4.DbxDetailBlockHeaderComponent, typeof i5.DbxNoteComponent, typeof i6.DbxNoticeComponent, typeof i7.DbxSuccessComponent, typeof i8.DbxWarnComponent, typeof i9.DbxHintComponent, typeof i10.DbxLabelBlockComponent, typeof i11.DbxLabelComponent, typeof i12.DbxLinkifyComponent, typeof i13.DbxOkComponent, typeof i14.DbxTextChipsComponent, typeof i15.DbxIconSpacerDirective, typeof i16.DbxFormDescriptionComponent], [typeof i17.CommonModule, typeof i18.MatChipsModule, typeof i19.MatTooltipModule, typeof i20.MatIconModule], [typeof i1.DbxUnitedStatesAddressComponent, typeof i2.DbxChipDirective, typeof i3.DbxDetailBlockComponent, typeof i4.DbxDetailBlockHeaderComponent, typeof i5.DbxNoteComponent, typeof i6.DbxNoticeComponent, typeof i7.DbxSuccessComponent, typeof i8.DbxWarnComponent, typeof i9.DbxHintComponent, typeof i10.DbxLabelBlockComponent, typeof i11.DbxLabelComponent, typeof i12.DbxLinkifyComponent, typeof i13.DbxOkComponent, typeof i14.DbxTextChipsComponent, typeof i15.DbxIconSpacerDirective, typeof i16.DbxFormDescriptionComponent]>;
24
25
  static ɵinj: i0.ɵɵInjectorDeclaration<DbxTextModule>;
25
26
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/mapbox",
3
- "version": "9.23.15",
3
+ "version": "9.23.17",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.1.0",
6
6
  "@angular/core": "^14.1.0",
7
- "@dereekb/dbx-core": "9.23.15",
8
- "@dereekb/dbx-web": "9.23.15",
7
+ "@dereekb/dbx-core": "9.23.17",
8
+ "@dereekb/dbx-web": "9.23.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.23.15",
3
+ "version": "9.23.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.23.15",
11
- "@dereekb/dbx-core": "9.23.15",
10
+ "@dereekb/rxjs": "9.23.17",
11
+ "@dereekb/dbx-core": "9.23.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",
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web/table",
3
- "version": "9.23.15",
3
+ "version": "9.23.17",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0",
7
- "@dereekb/dbx-core": "9.23.15",
7
+ "@dereekb/dbx-core": "9.23.17",
8
8
  "@angular/material": "^14.2.0",
9
9
  "@angular/forms": "^14.2.0",
10
- "@dereekb/dbx-web": "9.23.15"
10
+ "@dereekb/dbx-web": "9.23.17"
11
11
  },
12
12
  "dependencies": {
13
13
  "tslib": "^2.3.0"