@dereekb/dbx-web 9.21.0 → 9.22.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/action/snackbar/action.snackbar.component.mjs +1 -1
- package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +1 -1
- package/esm2020/lib/button/button.component.mjs +14 -2
- package/esm2020/lib/button/progress/base.progress.button.directive.mjs +3 -1
- package/esm2020/lib/button/progress/button.progress.config.mjs +1 -1
- package/esm2020/lib/button/progress/spinner.button.component.mjs +7 -4
- package/esm2020/lib/extension/model/model.tracker.view.storage.mjs +2 -3
- package/esm2020/lib/extension/model/model.types.service.mjs +2 -3
- package/esm2020/lib/extension/model/state/effects/tracker.effects.mjs +2 -2
- package/esm2020/lib/interaction/filter/filter.preset.menu.component.mjs +2 -3
- package/esm2020/lib/interaction/filter/filter.preset.mjs +2 -3
- package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +1 -1
- package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.sref.showright.directive.mjs +2 -3
- package/esm2020/lib/layout/content/content.pit.directive.mjs +1 -1
- package/esm2020/mapbox/lib/mapbox.change.service.mjs +2 -3
- package/esm2020/table/lib/date/date.table.column.header.component.mjs +1 -1
- package/esm2020/table/lib/date/daterange.table.cell.input.component.mjs +1 -1
- package/esm2020/table/lib/table.cell.input.component.mjs +1 -1
- package/esm2020/table/lib/table.cell.summarystart.component.mjs +1 -1
- package/esm2020/table/lib/table.column.directive.mjs +1 -1
- package/esm2020/table/lib/table.component.mjs +2 -3
- package/esm2020/table/lib/table.directive.mjs +1 -1
- package/esm2020/table/lib/table.item.action.component.mjs +1 -1
- package/esm2020/table/lib/table.item.directive.mjs +1 -1
- package/esm2020/table/lib/table.item.header.component.mjs +1 -1
- package/esm2020/table/lib/table.mjs +1 -1
- package/esm2020/table/lib/table.store.mjs +1 -1
- package/fesm2015/dereekb-dbx-web-mapbox.mjs +1 -2
- package/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2015/dereekb-dbx-web-table.mjs +3 -4
- package/fesm2015/dereekb-dbx-web-table.mjs.map +1 -1
- package/fesm2015/dereekb-dbx-web.mjs +41 -25
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web-mapbox.mjs +1 -2
- package/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web-table.mjs +3 -4
- package/fesm2020/dereekb-dbx-web-table.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +41 -25
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/button/_button.scss +4 -0
- package/lib/button/button.component.d.ts +5 -2
- package/lib/button/progress/button.progress.config.d.ts +7 -0
- package/lib/button/progress/spinner.button.component.d.ts +1 -0
- package/mapbox/esm2020/lib/mapbox.change.service.mjs +2 -3
- package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs +1 -2
- package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs +1 -2
- package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/package.json +3 -3
- package/package.json +3 -3
- package/table/esm2020/lib/date/date.table.column.header.component.mjs +1 -1
- package/table/esm2020/lib/date/daterange.table.cell.input.component.mjs +1 -1
- package/table/esm2020/lib/table.cell.input.component.mjs +1 -1
- package/table/esm2020/lib/table.cell.summarystart.component.mjs +1 -1
- package/table/esm2020/lib/table.column.directive.mjs +1 -1
- package/table/esm2020/lib/table.component.mjs +2 -3
- package/table/esm2020/lib/table.directive.mjs +1 -1
- package/table/esm2020/lib/table.item.action.component.mjs +1 -1
- package/table/esm2020/lib/table.item.directive.mjs +1 -1
- package/table/esm2020/lib/table.item.header.component.mjs +1 -1
- package/table/esm2020/lib/table.mjs +1 -1
- package/table/esm2020/lib/table.store.mjs +1 -1
- package/table/fesm2015/dereekb-dbx-web-table.mjs +3 -4
- package/table/fesm2015/dereekb-dbx-web-table.mjs.map +1 -1
- package/table/fesm2020/dereekb-dbx-web-table.mjs +3 -4
- package/table/fesm2020/dereekb-dbx-web-table.mjs.map +1 -1
- package/table/lib/table.cell.input.component.d.ts +1 -1
- package/table/lib/table.cell.summarystart.component.d.ts +1 -1
- package/table/lib/table.item.action.component.d.ts +1 -2
- package/table/lib/table.item.header.component.d.ts +1 -2
- package/table/package.json +3 -3
package/lib/button/_button.scss
CHANGED
|
@@ -24,6 +24,10 @@ $button-spacer-width: 6px;
|
|
|
24
24
|
padding-right: $button-spacer-width;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.mat-icon-button.dbx-button-spacer {
|
|
28
|
+
margin-right: $button-spacer-width;
|
|
29
|
+
}
|
|
30
|
+
|
|
27
31
|
.dbx-spinner-custom.mat-progress-spinner.mat-accent circle,
|
|
28
32
|
.dbx-spinner-custom.mat-spinner.mat-accent circle {
|
|
29
33
|
// mat-spinners marked with dbx-spinner-custom should allow the stroke to be inherited.
|
|
@@ -6,7 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare enum DbxButtonDisplayType {
|
|
7
7
|
RAISED = 0,
|
|
8
8
|
STROKED = 1,
|
|
9
|
-
FLAT = 2
|
|
9
|
+
FLAT = 2,
|
|
10
|
+
ICON_ONLY = 3
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
12
13
|
* Complex button that supports loading states.
|
|
@@ -19,11 +20,13 @@ export declare class DbxButtonComponent extends AbstractDbxButtonDirective {
|
|
|
19
20
|
set stroked(stroked: boolean);
|
|
20
21
|
get flat(): boolean;
|
|
21
22
|
set flat(flat: boolean);
|
|
23
|
+
get iconOnly(): boolean;
|
|
24
|
+
set iconOnly(iconOnly: boolean);
|
|
22
25
|
color: ThemePalette;
|
|
23
26
|
customButtonColor: Maybe<string>;
|
|
24
27
|
customTextColor: Maybe<string>;
|
|
25
28
|
customSpinnerColor: Maybe<string>;
|
|
26
29
|
get btnOptions(): DbxProgressButtonOptions;
|
|
27
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxButtonComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxButtonComponent, "dbx-button", never, { "type": "type"; "raised": "raised"; "stroked": "stroked"; "flat": "flat"; "color": "color"; "customButtonColor": "customButtonColor"; "customTextColor": "customTextColor"; "customSpinnerColor": "customSpinnerColor"; }, {}, never, ["*"], false>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxButtonComponent, "dbx-button", never, { "type": "type"; "raised": "raised"; "stroked": "stroked"; "flat": "flat"; "iconOnly": "iconOnly"; "color": "color"; "customButtonColor": "customButtonColor"; "customTextColor": "customTextColor"; "customSpinnerColor": "customSpinnerColor"; }, {}, never, ["*"], false>;
|
|
29
32
|
}
|
|
@@ -13,12 +13,19 @@ export interface DbxProgressButtonOptions {
|
|
|
13
13
|
stroked?: boolean;
|
|
14
14
|
flat?: boolean;
|
|
15
15
|
fab?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether or not to render as an icon button.
|
|
18
|
+
*/
|
|
19
|
+
iconOnly?: boolean;
|
|
16
20
|
spinnerSize?: number;
|
|
17
21
|
spinnerRatio?: number;
|
|
18
22
|
mode?: ProgressSpinnerMode;
|
|
19
23
|
value?: number;
|
|
20
24
|
fullWidth?: boolean;
|
|
21
25
|
disabled?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated use buttonIcon instead.
|
|
28
|
+
*/
|
|
22
29
|
icon?: DbxProgressButtonIcon;
|
|
23
30
|
type?: string;
|
|
24
31
|
customStyle?: {
|
|
@@ -3,6 +3,7 @@ import { AbstractProgressButtonDirective } from './base.progress.button.directiv
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class DbxSpinnerButtonComponent extends AbstractProgressButtonDirective {
|
|
5
5
|
readonly buttonRef: ElementRef<HTMLElement>;
|
|
6
|
+
get showText(): boolean;
|
|
6
7
|
calcSpinnerSize(): number;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxSpinnerButtonComponent, never>;
|
|
8
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxSpinnerButtonComponent, "dbx-spinner-button", never, {}, {}, never, ["*"], false>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { switchMap } from 'rxjs/operators';
|
|
2
1
|
import { Injectable } from '@angular/core';
|
|
3
2
|
import { SubscriptionObject } from '@dereekb/rxjs';
|
|
4
|
-
import { tap, merge, Subject, throttleTime } from 'rxjs';
|
|
3
|
+
import { switchMap, tap, merge, Subject, throttleTime } from 'rxjs';
|
|
5
4
|
import { DbxMapboxMapStore } from './mapbox.store';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
import * as i1 from "./mapbox.store";
|
|
@@ -41,4 +40,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
41
40
|
providedIn: null
|
|
42
41
|
}]
|
|
43
42
|
}], ctorParameters: function () { return [{ type: i1.DbxMapboxMapStore }]; } });
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFwYm94LmNoYW5nZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZGJ4LXdlYi9tYXBib3gvc3JjL2xpYi9tYXBib3guY2hhbmdlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBYSxNQUFNLGVBQWUsQ0FBQztBQUN0RCxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFB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zdHJveWVkKCkge1xuICAgIHRoaXMuX21hcmtlckRlc3Ryb3llZC5uZXh0KCk7XG4gIH1cblxuICBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLl9tYXJrZXJEZXN0cm95ZWQuY29tcGxldGUoKTtcbiAgICB0aGlzLl9hcHBseUNoYW5nZXMuY29tcGxldGUoKTtcbiAgICB0aGlzLl9hcHBseUNoYW5nZXNTdWIuZGVzdHJveSgpO1xuICB9XG59XG4iXX0=
|
|
@@ -2,7 +2,6 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Injectable, Host, Optional, Inject, Directive, Component, ElementRef, ViewChild, Input, ChangeDetectionStrategy, SkipSelf, Injector, NgModule } from '@angular/core';
|
|
3
3
|
import * as i2 from '@dereekb/dbx-core';
|
|
4
4
|
import { safeMarkForCheck, safeDetectChanges, AbstractSubscriptionDirective, DbxInjectionComponentModule } from '@dereekb/dbx-core';
|
|
5
|
-
import { switchMap as switchMap$1 } from 'rxjs/operators';
|
|
6
5
|
import { cleanup, filterMaybe, onTrueToFalse, SubscriptionObject, asObservable } from '@dereekb/rxjs';
|
|
7
6
|
import { switchMap, NEVER, defaultIfEmpty, map, tap, EMPTY, distinctUntilChanged, shareReplay, of, combineLatest, filter, first, startWith, interval, Subject, merge, throttleTime, BehaviorSubject, combineLatestWith } from 'rxjs';
|
|
8
7
|
import { latLngPointFunction, latLngBoundFunction, latLngBoundFromInput, filterUndefinedValues, isSameLatLngPoint, isDefaultLatLngPoint, swMostLatLngPoint, neMostLatLngPoint, isSameLatLngBound, diffLatLngBoundPoints, latLngBoundWrapsMap, isWithinLatLngBoundFunction, overlapsLatLngBoundFunction, vectorsAreEqual, latLngBoundCenterPoint, addLatLngPoints, latLngPoint, DestroyFunctionObject, getValueFromGetter, LAT_LONG_10M_PRECISION, roundNumberToStepFunction } from '@dereekb/util';
|
|
@@ -545,7 +544,7 @@ class DbxMapboxChangeService {
|
|
|
545
544
|
this.markerDestroyed$ = this._markerDestroyed;
|
|
546
545
|
this.applyChanges$ = merge(this._applyChanges, this.markerDestroyed$).pipe(throttleTime(100, undefined, { leading: false, trailing: true }));
|
|
547
546
|
this._applyChangesSub = new SubscriptionObject(this.dbxMapboxMapStore.mapService$
|
|
548
|
-
.pipe(switchMap
|
|
547
|
+
.pipe(switchMap((mapService) => this.applyChanges$.pipe(tap(() => {
|
|
549
548
|
mapService.applyChanges();
|
|
550
549
|
}))))
|
|
551
550
|
.subscribe());
|