@dereekb/dbx-web 12.6.21 → 12.7.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/esm2022/lib/action/snackbar/action.snackbar.component.mjs +10 -14
- package/esm2022/lib/action/snackbar/action.snackbar.directive.mjs +8 -7
- package/esm2022/lib/action/transition/transition.safety.dialog.component.mjs +1 -1
- package/esm2022/lib/button/progress/abstract.progress.button.directive.mjs +5 -5
- package/esm2022/lib/error/error.action.directive.mjs +9 -9
- package/esm2022/lib/error/error.loading.directive.mjs +7 -6
- package/esm2022/lib/error/error.snackbar.action.directive.mjs +6 -7
- package/esm2022/lib/error/error.snackbar.component.mjs +9 -13
- package/esm2022/lib/extension/download/blob/download.blob.button.component.mjs +6 -10
- package/esm2022/lib/extension/download/text/download.text.component.mjs +1 -6
- package/esm2022/lib/extension/help/help.context.service.mjs +3 -5
- package/esm2022/lib/extension/model/model.tracker.view.storage.mjs +3 -5
- package/esm2022/lib/extension/zip/zip.blob.preview.component.mjs +4 -7
- package/esm2022/lib/extension/zip/zip.preview.component.mjs +4 -7
- package/esm2022/lib/interaction/dialog/dialog.action.directive.mjs +1 -1
- package/esm2022/lib/interaction/filter/filter.popover.component.mjs +9 -12
- package/esm2022/lib/interaction/filter/filter.wrapper.component.mjs +3 -2
- package/esm2022/lib/interaction/iframe/embed.component.mjs +7 -12
- package/esm2022/lib/interaction/iframe/iframe.component.mjs +7 -12
- package/esm2022/lib/interaction/popover/abstract.popover.ref.directive.mjs +8 -7
- package/esm2022/lib/interaction/popover/popover.action.directive.mjs +1 -1
- package/esm2022/lib/interaction/popover/popover.component.mjs +1 -3
- package/esm2022/lib/interaction/popover/popover.coordinator.component.mjs +5 -6
- package/esm2022/lib/interaction/popover/popover.coordinator.service.mjs +3 -5
- package/esm2022/lib/interaction/popup/popup.component.mjs +4 -9
- package/esm2022/lib/interaction/popup/popup.coordinator.component.mjs +5 -6
- package/esm2022/lib/interaction/popup/popup.coordinator.service.mjs +3 -5
- package/esm2022/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +1 -1
- package/esm2022/lib/interaction/upload/upload.action.directive.mjs +8 -15
- package/esm2022/lib/layout/column/two/two.column.back.directive.mjs +8 -8
- package/esm2022/lib/layout/column/two/two.column.component.mjs +4 -5
- package/esm2022/lib/layout/column/two/two.column.sref.showright.directive.mjs +5 -6
- package/esm2022/lib/layout/column/two/two.column.store.mjs +3 -7
- package/esm2022/lib/layout/flex/flex.group.directive.mjs +4 -5
- package/esm2022/lib/layout/list/list.view.directive.mjs +16 -21
- package/esm2022/lib/layout/list/modifier/list.view.value.modifier.directive.mjs +11 -15
- package/esm2022/lib/layout/list/modifier/list.view.value.modifier.ripple.directive.mjs +1 -1
- package/esm2022/lib/layout/list/modifier/list.view.value.modifier.selection.directive.mjs +1 -1
- package/esm2022/lib/layout/style/style.body.directive.mjs +9 -9
- package/esm2022/lib/layout/style/style.directive.mjs +9 -9
- package/esm2022/lib/layout/style/style.set.directive.mjs +10 -10
- package/esm2022/lib/loading/loading.action.directive.mjs +3 -7
- package/esm2022/mapbox/lib/mapbox.injection.store.mjs +1 -1
- package/esm2022/mapbox/lib/mapbox.layout.resize.sync.directive.mjs +8 -8
- package/esm2022/mapbox/lib/mapbox.menu.component.mjs +17 -19
- package/esm2022/mapbox/lib/mapbox.store.mjs +1 -1
- package/esm2022/table/lib/date/daterange.table.cell.input.component.mjs +8 -11
- package/esm2022/table/lib/table.column.size.directive.mjs +8 -9
- package/fesm2022/dereekb-dbx-web-mapbox.mjs +22 -24
- package/fesm2022/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web-table.mjs +13 -19
- package/fesm2022/dereekb-dbx-web-table.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web.mjs +150 -229
- package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
- package/lib/action/snackbar/action.snackbar.component.d.ts +4 -5
- package/lib/action/snackbar/action.snackbar.directive.d.ts +3 -2
- package/lib/action/transition/transition.safety.dialog.component.d.ts +1 -2
- package/lib/button/progress/abstract.progress.button.directive.d.ts +3 -3
- package/lib/error/error.action.directive.d.ts +3 -4
- package/lib/error/error.loading.directive.d.ts +2 -2
- package/lib/error/error.snackbar.action.directive.d.ts +2 -2
- package/lib/error/error.snackbar.component.d.ts +2 -4
- package/lib/extension/download/blob/download.blob.button.component.d.ts +3 -4
- package/lib/extension/download/text/download.text.component.d.ts +2 -4
- package/lib/extension/help/help.context.service.d.ts +1 -3
- package/lib/extension/model/model.tracker.view.storage.d.ts +2 -3
- package/lib/extension/zip/zip.blob.preview.component.d.ts +2 -3
- package/lib/extension/zip/zip.preview.component.d.ts +1 -3
- package/lib/interaction/dialog/dialog.action.directive.d.ts +2 -2
- package/lib/interaction/filter/filter.popover.component.d.ts +3 -5
- package/lib/interaction/filter/filter.wrapper.component.d.ts +1 -1
- package/lib/interaction/iframe/embed.component.d.ts +2 -4
- package/lib/interaction/iframe/iframe.component.d.ts +2 -4
- package/lib/interaction/popover/abstract.popover.ref.directive.d.ts +4 -4
- package/lib/interaction/popover/popover.action.directive.d.ts +2 -2
- package/lib/interaction/popover/popover.coordinator.component.d.ts +2 -4
- package/lib/interaction/popover/popover.coordinator.service.d.ts +2 -4
- package/lib/interaction/popup/popup.component.d.ts +2 -3
- package/lib/interaction/popup/popup.coordinator.component.d.ts +2 -4
- package/lib/interaction/popup/popup.coordinator.service.d.ts +1 -3
- package/lib/interaction/prompt/prompt.confirm.dialog.component.d.ts +1 -2
- package/lib/interaction/upload/upload.action.directive.d.ts +2 -6
- package/lib/layout/column/two/two.column.back.directive.d.ts +2 -4
- package/lib/layout/column/two/two.column.component.d.ts +1 -3
- package/lib/layout/column/two/two.column.sref.showright.directive.d.ts +1 -2
- package/lib/layout/column/two/two.column.store.d.ts +2 -3
- package/lib/layout/flex/flex.group.directive.d.ts +1 -2
- package/lib/layout/list/list.view.directive.d.ts +9 -10
- package/lib/layout/list/modifier/list.view.value.modifier.directive.d.ts +3 -6
- package/lib/layout/list/modifier/list.view.value.modifier.ripple.directive.d.ts +1 -2
- package/lib/layout/list/modifier/list.view.value.modifier.selection.directive.d.ts +1 -2
- package/lib/layout/style/style.body.directive.d.ts +2 -4
- package/lib/layout/style/style.directive.d.ts +2 -4
- package/lib/layout/style/style.set.directive.d.ts +2 -4
- package/lib/loading/loading.action.directive.d.ts +1 -3
- package/mapbox/lib/mapbox.injection.store.d.ts +1 -2
- package/mapbox/lib/mapbox.layout.resize.sync.directive.d.ts +2 -4
- package/mapbox/lib/mapbox.menu.component.d.ts +5 -6
- package/mapbox/lib/mapbox.store.d.ts +1 -2
- package/package.json +1 -1
- package/table/lib/date/daterange.table.cell.input.component.d.ts +2 -4
- package/table/lib/table.column.size.directive.d.ts +4 -5
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
/**
|
|
4
3
|
* Used with a DbxTwoColumnComponent to control showing right when the current route is a child of the backRef.
|
|
5
4
|
*/
|
|
6
|
-
export declare class DbxTwoColumnSrefShowRightDirective
|
|
5
|
+
export declare class DbxTwoColumnSrefShowRightDirective {
|
|
7
6
|
private readonly _twoColumnsContextStore;
|
|
8
7
|
private readonly _dbxRouterService;
|
|
9
8
|
readonly showRight$: import("rxjs").Observable<boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
2
|
import { ComponentStore } from '@ngrx/component-store';
|
|
3
3
|
import { SegueRef } from '@dereekb/dbx-core';
|
|
4
4
|
import { type Maybe } from '@dereekb/util';
|
|
@@ -38,7 +38,7 @@ export interface TwoColumnsState {
|
|
|
38
38
|
readonly minRightWidth: number;
|
|
39
39
|
}
|
|
40
40
|
export declare const DEFAULT_TWO_COLUMNS_MIN_RIGHT_WIDTH = 320;
|
|
41
|
-
export declare class TwoColumnsContextStore extends ComponentStore<TwoColumnsState>
|
|
41
|
+
export declare class TwoColumnsContextStore extends ComponentStore<TwoColumnsState> {
|
|
42
42
|
private readonly _back;
|
|
43
43
|
constructor();
|
|
44
44
|
readonly hideLeft$: import("rxjs").Observable<boolean>;
|
|
@@ -118,7 +118,6 @@ export declare class TwoColumnsContextStore extends ComponentStore<TwoColumnsSta
|
|
|
118
118
|
* Emits a back event.
|
|
119
119
|
*/
|
|
120
120
|
back(): void;
|
|
121
|
-
ngOnDestroy(): void;
|
|
122
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<TwoColumnsContextStore, never>;
|
|
123
122
|
static ɵprov: i0.ɵɵInjectableDeclaration<TwoColumnsContextStore>;
|
|
124
123
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ScreenMediaWidthType } from '../../screen/screen';
|
|
2
|
-
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
3
2
|
import { type Maybe } from '@dereekb/util';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
6
5
|
* Used to declare a dbxFlexGroup.
|
|
7
6
|
*/
|
|
8
|
-
export declare class DbxFlexGroupDirective
|
|
7
|
+
export declare class DbxFlexGroupDirective {
|
|
9
8
|
private readonly _dbxScreenMediaService;
|
|
10
9
|
readonly content: import("@angular/core").InputSignal<boolean>;
|
|
11
10
|
readonly breakToColumn: import("@angular/core").InputSignal<boolean>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ListLoadingStateContext, MaybeObservableOrValue } from '@dereekb/rxjs';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import {
|
|
3
|
+
import { TrackByFunction } from '@angular/core';
|
|
4
4
|
import { DbxListSelectionMode, DbxListView } from './list.view';
|
|
5
5
|
import { type Maybe } from '@dereekb/util';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -16,22 +16,21 @@ export declare class DbxValueListViewComponentImportsModule {
|
|
|
16
16
|
*
|
|
17
17
|
* You might consider extending AbstractDbxSelectionListViewDirective instead, as it includes selection support.
|
|
18
18
|
*/
|
|
19
|
-
export declare abstract class AbstractDbxListViewDirective<T> implements DbxListView<T
|
|
19
|
+
export declare abstract class AbstractDbxListViewDirective<T> implements DbxListView<T> {
|
|
20
20
|
readonly valuesArray: import("@angular/core").InputSignal<Maybe<T[]>>;
|
|
21
21
|
readonly values: import("@angular/core").InputSignal<MaybeObservableOrValue<T[]>>;
|
|
22
|
-
|
|
23
|
-
private readonly
|
|
24
|
-
private readonly
|
|
25
|
-
private readonly
|
|
22
|
+
readonly clickValue: import("@angular/core").OutputEmitterRef<T>;
|
|
23
|
+
private readonly _trackBySignal;
|
|
24
|
+
private readonly _disabledSignal;
|
|
25
|
+
private readonly _selectionModeSignal;
|
|
26
|
+
private readonly _valuesOverrideSignal;
|
|
26
27
|
readonly trackBy$: Observable<Maybe<TrackByFunction<T>>>;
|
|
28
|
+
readonly disabled$: Observable<boolean>;
|
|
29
|
+
readonly selectionMode$: Observable<Maybe<DbxListSelectionMode>>;
|
|
27
30
|
readonly _inputValuesArray$: Observable<Maybe<T[]>>;
|
|
28
31
|
readonly _inputValues$: Observable<MaybeObservableOrValue<T[]>>;
|
|
29
32
|
readonly _values$: Observable<Maybe<T[]>>;
|
|
30
33
|
readonly values$: Observable<T[]>;
|
|
31
|
-
readonly disabled$: Observable<boolean>;
|
|
32
|
-
readonly selectionMode$: Observable<Maybe<DbxListSelectionMode>>;
|
|
33
|
-
readonly clickValue: import("@angular/core").OutputEmitterRef<T>;
|
|
34
|
-
ngOnDestroy(): void;
|
|
35
34
|
onClickValue(value: T): void;
|
|
36
35
|
setListContext(state: ListLoadingStateContext<T>): void;
|
|
37
36
|
setValues(values: MaybeObservableOrValue<T[]>): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { OnDestroy } from '@angular/core';
|
|
3
2
|
import { DbxValueListItem } from '../list.view.value';
|
|
4
3
|
import { ArrayOrValue, Maybe, Modifier } from '@dereekb/util';
|
|
5
4
|
import { MaybeObservableOrValue } from '@dereekb/rxjs';
|
|
@@ -8,11 +7,10 @@ import * as i0 from "@angular/core";
|
|
|
8
7
|
/**
|
|
9
8
|
* DbxValueListViewModifier implementation
|
|
10
9
|
*/
|
|
11
|
-
export declare class DbxValueListItemModifierDirective<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> implements DbxValueListItemModifier<T, I
|
|
10
|
+
export declare class DbxValueListItemModifierDirective<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> implements DbxValueListItemModifier<T, I> {
|
|
12
11
|
readonly inputModifiers: import("@angular/core").InputSignalWithTransform<Maybe<ArrayOrValue<Modifier<I>>>, Maybe<"" | ArrayOrValue<Modifier<I>>>>;
|
|
13
12
|
private readonly _additionalModifiers;
|
|
14
13
|
readonly modifiers$: Observable<Map<string, Modifier<I>>>;
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
14
|
addModifiers(modifiers: ArrayOrValue<Modifier<I>>): void;
|
|
17
15
|
removeModifiers(modifiers: ArrayOrValue<Modifier<I>>): void;
|
|
18
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxValueListItemModifierDirective<any, any>, never>;
|
|
@@ -21,13 +19,12 @@ export declare class DbxValueListItemModifierDirective<T, I extends DbxValueList
|
|
|
21
19
|
/**
|
|
22
20
|
* Abstract directive used for managing modifyers for a DbxValueListView.
|
|
23
21
|
*/
|
|
24
|
-
export declare abstract class AbstractDbxValueListItemModifierDirective<T, I extends DbxValueListItem<T> = DbxValueListItem<T>>
|
|
22
|
+
export declare abstract class AbstractDbxValueListItemModifierDirective<T, I extends DbxValueListItem<T> = DbxValueListItem<T>> {
|
|
25
23
|
readonly dbxValueListItemModifier: DbxValueListItemModifier<T, I>;
|
|
26
24
|
private _currentLinkedModifiers;
|
|
27
25
|
private readonly _modifiers;
|
|
28
26
|
readonly modifiers$: Observable<Maybe<ArrayOrValue<Modifier<I>>>>;
|
|
29
|
-
|
|
30
|
-
ngOnDestroy(): void;
|
|
27
|
+
constructor();
|
|
31
28
|
setModifiers(modifiers: MaybeObservableOrValue<ArrayOrValue<Modifier<I>>>): void;
|
|
32
29
|
private _linkModifiers;
|
|
33
30
|
private _unlinkModifiers;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
1
|
import { Maybe, ArrayOrValue, Modifier } from '@dereekb/util';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
3
|
import { DbxValueListItem, DbxValueListItemDecisionFunction } from '../list.view.value';
|
|
@@ -6,7 +5,7 @@ import { AbstractDbxValueListItemModifierDirective } from './list.view.value.mod
|
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare const DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY = "disable_ripple_anchor";
|
|
8
7
|
export declare const DBX_LIST_ITEM_DEFAULT_DISABLE_FUNCTION: DbxValueListItemDecisionFunction<unknown>;
|
|
9
|
-
export declare class DbxListItemDisableRippleModifierDirective<T> extends AbstractDbxValueListItemModifierDirective<T>
|
|
8
|
+
export declare class DbxListItemDisableRippleModifierDirective<T> extends AbstractDbxValueListItemModifierDirective<T> {
|
|
10
9
|
readonly disableRippleForItem: import("@angular/core").InputSignalWithTransform<Maybe<DbxValueListItemDecisionFunction<T>>, Maybe<"" | DbxValueListItemDecisionFunction<T>>>;
|
|
11
10
|
readonly disableRippleForItemModifiers$: Observable<Maybe<ArrayOrValue<Modifier<DbxValueListItem<T>>>>>;
|
|
12
11
|
constructor();
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
1
|
import { Maybe, ArrayOrValue, Modifier } from '@dereekb/util';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
3
|
import { DbxValueListItem, DbxValueListItemDecisionFunction } from '../list.view.value';
|
|
@@ -6,7 +5,7 @@ import { AbstractDbxValueListItemModifierDirective } from './list.view.value.mod
|
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare const DBX_LIST_ITEM_IS_SELECTED_ITEM_MODIFIER_KEY = "is_selected_item_modifier";
|
|
8
7
|
export declare const DEFAULT_DBX_LIST_ITEM_IS_SELECTED_FUNCTION: DbxValueListItemDecisionFunction<unknown>;
|
|
9
|
-
export declare class DbxListItemIsSelectedModifierDirective<T> extends AbstractDbxValueListItemModifierDirective<T>
|
|
8
|
+
export declare class DbxListItemIsSelectedModifierDirective<T> extends AbstractDbxValueListItemModifierDirective<T> {
|
|
10
9
|
readonly listItemIsSelected: import("@angular/core").InputSignalWithTransform<Maybe<DbxValueListItemDecisionFunction<T>>, Maybe<"" | DbxValueListItemDecisionFunction<T>>>;
|
|
11
10
|
readonly listItemIsSelectedModifiers$: Observable<Maybe<ArrayOrValue<Modifier<DbxValueListItem<T>>>>>;
|
|
12
11
|
constructor();
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
3
1
|
import { Maybe } from '@dereekb/util';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
/**
|
|
6
4
|
* Used to style the <body> element of the document document using the style provided by DbxStyleService.
|
|
7
5
|
*/
|
|
8
|
-
export declare class DbxStyleBodyDirective
|
|
6
|
+
export declare class DbxStyleBodyDirective {
|
|
9
7
|
private readonly _styleService;
|
|
10
8
|
private readonly _renderer;
|
|
11
9
|
private readonly _styleClassNameSignal;
|
|
12
10
|
readonly styleClassNameSignal: import("@angular/core").Signal<Maybe<string>>;
|
|
13
|
-
|
|
11
|
+
constructor();
|
|
14
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxStyleBodyDirective, never>;
|
|
15
13
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxStyleBodyDirective, "[dbxStyleBody]", never, {}, {}, never, never, true, never>;
|
|
16
14
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
3
1
|
import { Maybe } from '@dereekb/util';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
/**
|
|
6
4
|
* Used to retrieve the current app styling from the DbxStyleService.
|
|
7
5
|
*/
|
|
8
|
-
export declare class DbxStyleDirective
|
|
6
|
+
export declare class DbxStyleDirective {
|
|
9
7
|
private readonly _styleService;
|
|
10
8
|
readonly styleClassNameSignal: import("@angular/core").WritableSignal<Maybe<string>>;
|
|
11
|
-
|
|
9
|
+
constructor();
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxStyleDirective, never>;
|
|
13
11
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxStyleDirective, "dbx-style, [dbxStyle], .dbx-style", never, {}, {}, never, never, true, never>;
|
|
14
12
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
2
1
|
import { type Maybe } from '@dereekb/util';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
5
3
|
import { DbxStyleConfig, DbxStyleClass } from './style';
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
/**
|
|
@@ -9,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
9
7
|
*
|
|
10
8
|
* Will update the parent DbxStyleService.
|
|
11
9
|
*/
|
|
12
|
-
export declare class DbxSetStyleDirective
|
|
10
|
+
export declare class DbxSetStyleDirective {
|
|
13
11
|
private readonly _styleService;
|
|
14
12
|
/**
|
|
15
13
|
* The input DbxStyleName to style the host element with.
|
|
@@ -27,7 +25,7 @@ export declare class DbxSetStyleDirective extends AbstractSubscriptionDirective
|
|
|
27
25
|
readonly suffixes$: Observable<Set<string>>;
|
|
28
26
|
readonly config$: Observable<DbxStyleConfig>;
|
|
29
27
|
readonly styleClass$: Observable<DbxStyleClass>;
|
|
30
|
-
|
|
28
|
+
constructor();
|
|
31
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxSetStyleDirective, never>;
|
|
32
30
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxSetStyleDirective, "[dbxSetStyle]", never, { "dbxSetStyle": { "alias": "dbxSetStyle"; "required": false; "isSignal": true; }; "suffixes": { "alias": "suffixes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
33
31
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { DbxActionContextStoreSourceInstance } from '@dereekb/dbx-core';
|
|
2
|
-
import { OnDestroy } from '@angular/core';
|
|
3
2
|
import { DbxLoadingComponent } from './loading.component';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/**
|
|
6
5
|
* Context used for linking a loadingComponent to an ActionContext by providing a LoadingContext.
|
|
7
6
|
*/
|
|
8
|
-
export declare class DbxActionLoadingContextDirective
|
|
7
|
+
export declare class DbxActionLoadingContextDirective {
|
|
9
8
|
readonly loadingComponent: DbxLoadingComponent;
|
|
10
9
|
readonly source: DbxActionContextStoreSourceInstance<any, any>;
|
|
11
10
|
private readonly _context;
|
|
12
11
|
constructor();
|
|
13
|
-
ngOnDestroy(): void;
|
|
14
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionLoadingContextDirective, never>;
|
|
15
13
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxActionLoadingContextDirective, "[dbxActionLoadingContext]", never, {}, {}, never, never, true, never>;
|
|
16
14
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { OnDestroy } from '@angular/core';
|
|
3
2
|
import { DbxInjectionComponentConfigWithoutInjector } from '@dereekb/dbx-core';
|
|
4
3
|
import { ComponentStore } from '@ngrx/component-store';
|
|
5
4
|
import { ObservableOrValueGetter } from '@dereekb/rxjs';
|
|
@@ -30,7 +29,7 @@ export interface DbxMapboxMapInjectionStoreState {
|
|
|
30
29
|
/**
|
|
31
30
|
* Store used for storing injectable content into the map.
|
|
32
31
|
*/
|
|
33
|
-
export declare class DbxMapboxInjectionStore extends ComponentStore<DbxMapboxMapInjectionStoreState>
|
|
32
|
+
export declare class DbxMapboxInjectionStore extends ComponentStore<DbxMapboxMapInjectionStoreState> {
|
|
34
33
|
constructor();
|
|
35
34
|
readonly map$: Observable<Map<DbxMapboxInjectionKey, DbxMapboxInjectionConfig>>;
|
|
36
35
|
readonly allInjectionConfigs$: Observable<DbxMapboxInjectionConfig[]>;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { DbxMapboxLayoutComponent } from './mapbox.layout.component';
|
|
3
|
-
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
/**
|
|
6
4
|
* Directive that synchronizes a map's virtual size with the size of the element.
|
|
7
5
|
*/
|
|
8
|
-
export declare class DbxMapboxLayoutVirtualResizeSyncComponent
|
|
6
|
+
export declare class DbxMapboxLayoutVirtualResizeSyncComponent {
|
|
9
7
|
readonly dbxMapboxLayoutComponent: DbxMapboxLayoutComponent;
|
|
10
8
|
readonly resizedVector$: import("rxjs").Observable<import("@dereekb/util").Maybe<Partial<import("@dereekb/util").Vector>>>;
|
|
11
|
-
|
|
9
|
+
constructor();
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxMapboxLayoutVirtualResizeSyncComponent, never>;
|
|
13
11
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxMapboxLayoutVirtualResizeSyncComponent, "[dbxMapboxLayoutVirtualResizeSync]", never, {}, {}, never, never, true, never>;
|
|
14
12
|
}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
+
import { SubscriptionObject } from '@dereekb/rxjs';
|
|
1
2
|
import { DbxMapboxMapStore } from './mapbox.store';
|
|
2
|
-
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
3
|
import { Maybe } from '@dereekb/util';
|
|
4
4
|
import { MatMenuTrigger } from '@angular/material/menu';
|
|
5
|
-
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
/**
|
|
8
7
|
* Directive that connects a host MatMenuTrigger to a DbxMapboxMapStore and listens for right-clicks on the map.
|
|
9
8
|
*
|
|
10
9
|
* The map dissapears if the mouse scrolls anywhere else on the map.
|
|
11
10
|
*/
|
|
12
|
-
export declare class DbxMapboxMenuComponent
|
|
11
|
+
export declare class DbxMapboxMenuComponent {
|
|
13
12
|
readonly dbxMapboxMapStore: DbxMapboxMapStore;
|
|
14
13
|
readonly matMenuTrigger: MatMenuTrigger;
|
|
15
14
|
readonly active: import("@angular/core").InputSignalWithTransform<boolean, Maybe<boolean>>;
|
|
@@ -19,11 +18,11 @@ export declare class DbxMapboxMenuComponent extends AbstractSubscriptionDirectiv
|
|
|
19
18
|
y: string;
|
|
20
19
|
}>;
|
|
21
20
|
protected readonly _openCloseEffect: import("@angular/core").EffectRef;
|
|
21
|
+
readonly active$: import("rxjs").Observable<boolean>;
|
|
22
|
+
protected readonly _sub: SubscriptionObject<import("rxjs").Unsubscribable>;
|
|
22
23
|
private readonly _menuCloseSub;
|
|
23
24
|
private readonly _preventRightClick;
|
|
24
|
-
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
ngOnDestroy(): void;
|
|
25
|
+
constructor();
|
|
27
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxMapboxMenuComponent, never>;
|
|
28
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxMapboxMenuComponent, "dbx-mapbox-menu", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
29
28
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
1
|
import { IsWithinLatLngBoundFunction, LatLngBound, LatLngPointInput, LatLngPoint, Maybe, OverlapsLatLngBoundFunction, Vector } from '@dereekb/util';
|
|
3
2
|
import { ComponentStore } from '@ngrx/component-store';
|
|
4
3
|
import { MapService } from 'ngx-mapbox-gl';
|
|
@@ -98,7 +97,7 @@ export interface DbxMapboxStoreState {
|
|
|
98
97
|
/**
|
|
99
98
|
* Store used for retrieving information.
|
|
100
99
|
*/
|
|
101
|
-
export declare class DbxMapboxMapStore extends ComponentStore<DbxMapboxStoreState>
|
|
100
|
+
export declare class DbxMapboxMapStore extends ComponentStore<DbxMapboxStoreState> {
|
|
102
101
|
private readonly dbxMapboxService;
|
|
103
102
|
private safeLatLngPoint;
|
|
104
103
|
private latLngPoint;
|
package/package.json
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
1
|
import { DateRangeDayDistanceInput } from '@dereekb/date';
|
|
3
2
|
import { DbxTableStore } from '../table.store';
|
|
4
3
|
import { MatDateRangeSelectionStrategy, DateRange } from '@angular/material/datepicker';
|
|
@@ -34,7 +33,7 @@ export declare const DEFAULT_DBX_TABLE_DATE_RANGE_DAY_BUTTON_FORMAT = "MMM dd";
|
|
|
34
33
|
/**
|
|
35
34
|
* Cell input for a DateRangeDayDistanceInput value.
|
|
36
35
|
*/
|
|
37
|
-
export declare class DbxTableDateRangeDayDistanceInputCellInputComponent
|
|
36
|
+
export declare class DbxTableDateRangeDayDistanceInputCellInputComponent {
|
|
38
37
|
readonly tableStore: DbxTableStore<DateRangeDayDistanceInput, unknown, unknown, unknown>;
|
|
39
38
|
private readonly _syncSub;
|
|
40
39
|
private readonly _valueSub;
|
|
@@ -56,8 +55,7 @@ export declare class DbxTableDateRangeDayDistanceInputCellInputComponent impleme
|
|
|
56
55
|
end: Maybe<Date>;
|
|
57
56
|
}>>;
|
|
58
57
|
readonly dateRangeStringSignal: import("@angular/core").Signal<string>;
|
|
59
|
-
|
|
60
|
-
ngOnDestroy(): void;
|
|
58
|
+
constructor();
|
|
61
59
|
get daysDistance(): number;
|
|
62
60
|
get config(): Maybe<DbxTableDateRangeDayDistanceInputCellInputComponentConfig>;
|
|
63
61
|
set config(config: Maybe<DbxTableDateRangeDayDistanceInputCellInputComponentConfig>);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ElementRef,
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export type DbxColumnSizeColumnValue = 'head' | 'tail' | number;
|
|
4
|
-
export declare class DbxTableColumnSizeDirective
|
|
4
|
+
export declare class DbxTableColumnSizeDirective {
|
|
5
5
|
readonly elementRef: ElementRef<HTMLElement>;
|
|
6
6
|
readonly resized: import("@angular/core").Signal<import("@dereekb/dbx-web").ResizedEvent>;
|
|
7
7
|
private readonly _columnsMap;
|
|
@@ -10,19 +10,18 @@ export declare class DbxTableColumnSizeDirective implements OnDestroy {
|
|
|
10
10
|
readonly visibleColumnsSignal: import("@angular/core").Signal<number>;
|
|
11
11
|
addColumn(column: DbxColumnSizeColumnDirective): void;
|
|
12
12
|
removeColumn(column: DbxColumnSizeColumnDirective): void;
|
|
13
|
-
ngOnDestroy(): void;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxTableColumnSizeDirective, never>;
|
|
15
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxTableColumnSizeDirective, "[dbx-table-column-size]", ["dbxTableColumnSize"], {}, {}, never, never, true, never>;
|
|
16
15
|
}
|
|
17
16
|
/**
|
|
18
17
|
* References a specific element and the index of the column.
|
|
19
18
|
*/
|
|
20
|
-
export declare class DbxColumnSizeColumnDirective implements OnInit
|
|
19
|
+
export declare class DbxColumnSizeColumnDirective implements OnInit {
|
|
21
20
|
readonly dbxColumnSizeDirective: DbxTableColumnSizeDirective;
|
|
22
21
|
readonly elementRef: ElementRef<HTMLElement>;
|
|
23
22
|
readonly index: import("@angular/core").InputSignal<DbxColumnSizeColumnValue>;
|
|
23
|
+
constructor();
|
|
24
24
|
ngOnInit(): void;
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
25
|
get width(): number;
|
|
27
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxColumnSizeColumnDirective, never>;
|
|
28
27
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DbxColumnSizeColumnDirective, "[dbx-column-size-column]", never, { "index": { "alias": "dbx-column-size-column"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|