@dereekb/dbx-web 11.0.21 → 11.1.1
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 +1 -1
- package/esm2022/lib/action/action.confirm.directive.mjs +1 -1
- package/esm2022/lib/action/key.trigger.directive.mjs +1 -1
- package/esm2022/lib/action/snackbar/action.snackbar.component.mjs +1 -1
- package/esm2022/lib/action/snackbar/action.snackbar.directive.mjs +1 -1
- package/esm2022/lib/action/snackbar/action.snackbar.mjs +1 -1
- package/esm2022/lib/button/button.component.mjs +1 -1
- package/esm2022/lib/button/progress/base.progress.button.directive.mjs +1 -1
- package/esm2022/lib/button/progress/button.progress.config.mjs +1 -1
- package/esm2022/lib/error/error.snackbar.service.mjs +1 -1
- package/esm2022/lib/error/error.view.component.mjs +1 -1
- package/esm2022/lib/error/error.widget.service.mjs +3 -3
- package/esm2022/lib/extension/download/text/download.text.component.mjs +1 -1
- package/esm2022/lib/extension/model/model.tracker.view.storage.mjs +1 -1
- package/esm2022/lib/extension/widget/widget.component.mjs +43 -10
- package/esm2022/lib/extension/widget/widget.mjs +1 -1
- package/esm2022/lib/extension/widget/widget.service.mjs +3 -3
- package/esm2022/lib/interaction/dialog/dialog.action.directive.mjs +1 -1
- package/esm2022/lib/interaction/dialog/dialog.content.footer.component.mjs +1 -1
- package/esm2022/lib/interaction/filter/filter.menu.mjs +1 -1
- package/esm2022/lib/interaction/filter/filter.popover.button.component.mjs +1 -1
- package/esm2022/lib/interaction/filter/filter.popover.component.mjs +1 -1
- package/esm2022/lib/interaction/popover/popover.action.directive.mjs +1 -1
- package/esm2022/lib/interaction/popover/popover.mjs +1 -1
- package/esm2022/lib/interaction/popup/popup.mjs +1 -1
- package/esm2022/lib/interaction/prompt/prompt.component.mjs +1 -1
- package/esm2022/lib/interaction/prompt/prompt.confirm.component.mjs +1 -1
- package/esm2022/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +1 -1
- package/esm2022/lib/interaction/prompt/prompt.confirm.directive.mjs +1 -1
- package/esm2022/lib/interaction/prompt/prompt.confirm.mjs +1 -1
- package/esm2022/lib/keypress/keydown.listener.directive.mjs +1 -1
- package/esm2022/lib/layout/bar/bar.directive.mjs +1 -1
- package/esm2022/lib/layout/bar/bar.header.component.mjs +1 -1
- package/esm2022/lib/layout/bar/pagebar.component.mjs +1 -1
- package/esm2022/lib/layout/column/two/two.column.context.directive.mjs +1 -1
- package/esm2022/lib/layout/column/two/two.column.full.left.directive.mjs +1 -1
- package/esm2022/lib/layout/column/two/two.column.right.component.mjs +1 -1
- package/esm2022/lib/layout/column/two/two.column.sref.directive.mjs +1 -1
- package/esm2022/lib/layout/column/two/two.column.store.mjs +1 -1
- package/esm2022/lib/layout/compact/compact.mjs +1 -1
- package/esm2022/lib/layout/compact/compact.store.mjs +2 -1
- package/esm2022/lib/layout/content/content.pit.directive.mjs +1 -1
- package/esm2022/lib/layout/flex/flex.group.directive.mjs +1 -1
- package/esm2022/lib/layout/item/item.icon.component.mjs +1 -1
- package/esm2022/lib/layout/list/list.directive.mjs +1 -1
- package/esm2022/lib/layout/list/list.view.directive.mjs +1 -1
- package/esm2022/lib/layout/list/list.view.meta.icon.component.mjs +1 -1
- package/esm2022/lib/layout/list/list.view.mjs +1 -1
- package/esm2022/lib/layout/list/list.view.value.mjs +1 -1
- package/esm2022/lib/layout/list/list.view.value.selection.component.mjs +1 -1
- package/esm2022/lib/layout/list/list.wrapper.mjs +1 -1
- package/esm2022/lib/layout/section/section.header.component.mjs +1 -1
- package/esm2022/lib/layout/section/section.mjs +1 -1
- package/esm2022/lib/layout/style/style.color.directive.mjs +1 -1
- package/esm2022/lib/layout/style/style.mjs +1 -1
- package/esm2022/lib/layout/style/style.service.mjs +1 -1
- package/esm2022/lib/layout/style/style.set.directive.mjs +1 -1
- package/esm2022/lib/layout/text/detail.block.component.mjs +1 -1
- package/esm2022/lib/layout/text/detail.block.header.component.mjs +1 -1
- package/esm2022/lib/layout/text/label.block.component.mjs +1 -1
- package/esm2022/lib/layout/text/linkify.component.mjs +1 -1
- package/esm2022/lib/layout/text/text.chip.directive.mjs +1 -1
- package/esm2022/lib/layout/text/text.chips.component.mjs +1 -1
- package/esm2022/lib/loading/basic-loading.component.mjs +1 -1
- package/esm2022/lib/loading/loading-progress.component.mjs +1 -1
- package/esm2022/lib/loading/loading.component.mjs +1 -1
- package/esm2022/lib/router/layout/anchor/anchor.component.mjs +1 -1
- package/esm2022/lib/router/layout/anchor/anchor.content.component.mjs +1 -1
- package/esm2022/lib/router/layout/anchor/anchor.icon.component.mjs +1 -1
- package/esm2022/lib/router/layout/anchor/anchor.link.component.mjs +1 -1
- package/esm2022/lib/router/layout/anchorlist/anchorlist.component.mjs +1 -1
- package/esm2022/lib/router/layout/navbar/navbar.component.mjs +1 -1
- package/esm2022/lib/router/layout/sidenav/sidenav.button.component.mjs +1 -1
- package/esm2022/lib/router/layout/sidenav/sidenav.component.mjs +1 -1
- package/esm2022/lib/router/layout/sidenav/sidenav.ifdisplaymode.directive.mjs +3 -3
- package/esm2022/lib/router/layout/sidenav/sidenav.page.component.mjs +1 -1
- package/esm2022/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +1 -1
- package/esm2022/mapbox/lib/mapbox.layout.component.mjs +1 -1
- package/esm2022/mapbox/lib/mapbox.marker.component.mjs +1 -1
- package/esm2022/mapbox/lib/mapbox.markers.component.mjs +1 -1
- package/esm2022/mapbox/lib/mapbox.rxjs.mjs +1 -1
- package/esm2022/mapbox/lib/mapbox.store.mjs +1 -1
- package/esm2022/table/lib/date/date.table.column.header.component.mjs +1 -1
- package/esm2022/table/lib/date/daterange.table.cell.input.component.mjs +1 -1
- package/esm2022/table/lib/table.column.directive.mjs +1 -1
- package/esm2022/table/lib/table.directive.mjs +1 -1
- package/esm2022/table/lib/table.item.cell.component.mjs +1 -1
- package/esm2022/table/lib/table.item.directive.mjs +1 -1
- package/esm2022/table/lib/table.mjs +1 -1
- package/esm2022/table/lib/table.store.mjs +1 -1
- package/fesm2022/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web-table.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web.mjs +44 -10
- package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
- package/lib/action/action.confirm.directive.d.ts +1 -1
- package/lib/action/key.trigger.directive.d.ts +1 -1
- package/lib/action/snackbar/action.snackbar.component.d.ts +1 -1
- package/lib/action/snackbar/action.snackbar.d.ts +1 -1
- package/lib/action/snackbar/action.snackbar.directive.d.ts +1 -1
- package/lib/button/button.component.d.ts +1 -1
- package/lib/button/progress/base.progress.button.directive.d.ts +1 -1
- package/lib/button/progress/button.progress.config.d.ts +1 -1
- package/lib/error/error.snackbar.service.d.ts +1 -1
- package/lib/error/error.view.component.d.ts +1 -1
- package/lib/extension/download/text/download.text.component.d.ts +1 -1
- package/lib/extension/model/model.tracker.view.storage.d.ts +1 -1
- package/lib/extension/widget/widget.component.d.ts +6 -5
- package/lib/extension/widget/widget.d.ts +7 -1
- package/lib/interaction/dialog/dialog.action.directive.d.ts +1 -1
- package/lib/interaction/dialog/dialog.content.footer.component.d.ts +1 -1
- package/lib/interaction/filter/filter.menu.d.ts +1 -1
- package/lib/interaction/filter/filter.popover.button.component.d.ts +1 -1
- package/lib/interaction/filter/filter.popover.component.d.ts +1 -1
- package/lib/interaction/popover/popover.action.directive.d.ts +1 -1
- package/lib/interaction/popover/popover.d.ts +1 -1
- package/lib/interaction/popup/popup.d.ts +1 -1
- package/lib/interaction/prompt/prompt.component.d.ts +1 -1
- package/lib/interaction/prompt/prompt.confirm.component.d.ts +1 -1
- package/lib/interaction/prompt/prompt.confirm.d.ts +1 -1
- package/lib/interaction/prompt/prompt.confirm.dialog.component.d.ts +1 -1
- package/lib/interaction/prompt/prompt.confirm.directive.d.ts +1 -1
- package/lib/layout/bar/bar.directive.d.ts +1 -1
- package/lib/layout/bar/bar.header.component.d.ts +1 -1
- package/lib/layout/bar/pagebar.component.d.ts +1 -1
- package/lib/layout/column/two/two.column.context.directive.d.ts +1 -1
- package/lib/layout/column/two/two.column.full.left.directive.d.ts +1 -1
- package/lib/layout/column/two/two.column.right.component.d.ts +1 -1
- package/lib/layout/column/two/two.column.sref.directive.d.ts +1 -1
- package/lib/layout/column/two/two.column.store.d.ts +1 -1
- package/lib/layout/compact/compact.d.ts +1 -1
- package/lib/layout/content/content.pit.directive.d.ts +1 -1
- package/lib/layout/flex/flex.group.directive.d.ts +1 -1
- package/lib/layout/item/item.icon.component.d.ts +1 -1
- package/lib/layout/list/_list.scss +6 -0
- package/lib/layout/list/list.directive.d.ts +1 -1
- package/lib/layout/list/list.view.d.ts +1 -1
- package/lib/layout/list/list.view.directive.d.ts +1 -1
- package/lib/layout/list/list.view.meta.icon.component.d.ts +1 -1
- package/lib/layout/list/list.view.value.d.ts +1 -1
- package/lib/layout/list/list.view.value.selection.component.d.ts +1 -1
- package/lib/layout/list/list.wrapper.d.ts +1 -1
- package/lib/layout/section/section.d.ts +1 -1
- package/lib/layout/section/section.header.component.d.ts +1 -1
- package/lib/layout/style/style.color.directive.d.ts +1 -1
- package/lib/layout/style/style.d.ts +1 -1
- package/lib/layout/style/style.service.d.ts +1 -1
- package/lib/layout/style/style.set.directive.d.ts +1 -1
- package/lib/layout/text/detail.block.component.d.ts +1 -1
- package/lib/layout/text/detail.block.header.component.d.ts +1 -1
- package/lib/layout/text/label.block.component.d.ts +1 -1
- package/lib/layout/text/linkify.component.d.ts +1 -1
- package/lib/layout/text/text.chip.directive.d.ts +1 -1
- package/lib/layout/text/text.chips.component.d.ts +1 -1
- package/lib/loading/basic-loading.component.d.ts +1 -1
- package/lib/loading/loading-progress.component.d.ts +1 -1
- package/lib/loading/loading.component.d.ts +1 -1
- package/lib/router/layout/anchor/anchor.component.d.ts +1 -1
- package/lib/router/layout/anchor/anchor.content.component.d.ts +1 -1
- package/lib/router/layout/anchor/anchor.icon.component.d.ts +1 -1
- package/lib/router/layout/anchor/anchor.link.component.d.ts +1 -1
- package/lib/router/layout/anchorlist/anchorlist.component.d.ts +1 -1
- package/lib/router/layout/navbar/navbar.component.d.ts +1 -1
- package/lib/router/layout/sidenav/sidenav.button.component.d.ts +1 -1
- package/lib/router/layout/sidenav/sidenav.component.d.ts +1 -1
- package/lib/router/layout/sidenav/sidenav.page.component.d.ts +1 -1
- package/lib/router/layout/sidenav/sidenav.pagebar.component.d.ts +1 -1
- package/mapbox/esm2022/lib/mapbox.layout.component.mjs +1 -1
- package/mapbox/esm2022/lib/mapbox.marker.component.mjs +1 -1
- package/mapbox/esm2022/lib/mapbox.markers.component.mjs +1 -1
- package/mapbox/esm2022/lib/mapbox.rxjs.mjs +1 -1
- package/mapbox/esm2022/lib/mapbox.store.mjs +1 -1
- package/mapbox/fesm2022/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/lib/mapbox.layout.component.d.ts +1 -1
- package/mapbox/lib/mapbox.marker.component.d.ts +1 -1
- package/mapbox/lib/mapbox.markers.component.d.ts +1 -1
- package/mapbox/lib/mapbox.rxjs.d.ts +1 -1
- package/mapbox/lib/mapbox.store.d.ts +16 -16
- package/mapbox/package.json +1 -1
- package/package.json +1 -1
- package/table/esm2022/lib/date/date.table.column.header.component.mjs +1 -1
- package/table/esm2022/lib/date/daterange.table.cell.input.component.mjs +1 -1
- package/table/esm2022/lib/table.column.directive.mjs +1 -1
- package/table/esm2022/lib/table.directive.mjs +1 -1
- package/table/esm2022/lib/table.item.cell.component.mjs +1 -1
- package/table/esm2022/lib/table.item.directive.mjs +1 -1
- package/table/esm2022/lib/table.mjs +1 -1
- package/table/esm2022/lib/table.store.mjs +1 -1
- package/table/fesm2022/dereekb-dbx-web-table.mjs.map +1 -1
- package/table/lib/date/date.table.column.header.component.d.ts +1 -1
- package/table/lib/date/daterange.table.cell.input.component.d.ts +1 -1
- package/table/lib/table.column.directive.d.ts +1 -1
- package/table/lib/table.d.ts +1 -1
- package/table/lib/table.directive.d.ts +1 -1
- package/table/lib/table.item.cell.component.d.ts +1 -1
- package/table/lib/table.item.directive.d.ts +1 -1
- package/table/lib/table.store.d.ts +1 -1
- package/table/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { AbstractPromptConfirmDirective } from '../interaction/prompt/prompt.confirm.directive';
|
|
3
3
|
import { DbxPromptConfirmConfig } from '../interaction/prompt/prompt.confirm.component';
|
|
4
4
|
import { DbxActionContextStoreSourceInstance } from '@dereekb/dbx-core';
|
|
5
|
-
import { Maybe } from '@dereekb/util';
|
|
5
|
+
import { type Maybe } from '@dereekb/util';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* DbxActionConfirmDirective configuration.
|
|
@@ -2,7 +2,7 @@ import { OnInit, OnDestroy, AfterViewInit } from '@angular/core';
|
|
|
2
2
|
import { LoadingStateType } from '@dereekb/rxjs';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { MatSnackBarRef } from '@angular/material/snack-bar';
|
|
5
|
-
import { Maybe } from '@dereekb/util';
|
|
5
|
+
import { type Maybe } from '@dereekb/util';
|
|
6
6
|
import { DbxActionSnackbarDisplayConfig, DbxActionSnackbarActionConfig } from './action.snackbar';
|
|
7
7
|
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MatSnackBarConfig } from '@angular/material/snack-bar';
|
|
2
2
|
import { DbxActionContextSourceReference } from '@dereekb/dbx-core';
|
|
3
3
|
import { LoadingState, LoadingStateType } from '@dereekb/rxjs';
|
|
4
|
-
import { Maybe } from '@dereekb/util';
|
|
4
|
+
import { type Maybe } from '@dereekb/util';
|
|
5
5
|
export type DbxActionSnackbarType = string;
|
|
6
6
|
export type DbxActionSnackbarKnownType = 'none' | 'create' | 'save' | 'delete' | 'merge' | 'send' | 'cancel' | 'restore' | 'refresh' | 'read' | 'unread';
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { AbstractSubscriptionDirective, DbxActionContextStoreSourceInstance } from '@dereekb/dbx-core';
|
|
3
|
-
import { Maybe } from '@dereekb/util';
|
|
3
|
+
import { type Maybe } from '@dereekb/util';
|
|
4
4
|
import { DbxActionSnackbarDisplayConfig, DbxActionSnackbarEvent, DbxActionSnackbarType } from './action.snackbar';
|
|
5
5
|
import { DbxActionSnackbarService } from './action.snackbar.service';
|
|
6
6
|
import { DbxActionSnackbarDisplayConfigGeneratorFunction, DbxActionSnackbarGeneratorUndoInput } from './action.snackbar.generator';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ThemePalette } from '@angular/material/core';
|
|
2
2
|
import { AbstractDbxButtonDirective } from '@dereekb/dbx-core';
|
|
3
|
-
import { Maybe } from '@dereekb/util';
|
|
3
|
+
import { type Maybe } from '@dereekb/util';
|
|
4
4
|
import { DbxProgressButtonOptions } from './progress/button.progress.config';
|
|
5
5
|
import { DbxThemeColor } from '../layout/style/style';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
3
|
-
import { CssClass, Maybe } from '@dereekb/util';
|
|
3
|
+
import { CssClass, type Maybe } from '@dereekb/util';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { DbxProgressButtonOptions } from './button.progress.config';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { ThemePalette } from '@angular/material/core';
|
|
3
3
|
import { ProgressSpinnerMode } from '@angular/material/progress-spinner';
|
|
4
|
-
import { Maybe } from '@dereekb/util';
|
|
4
|
+
import { type Maybe } from '@dereekb/util';
|
|
5
5
|
import { DbxThemeColor } from '../../layout/style/style';
|
|
6
6
|
export interface DbxProgressButtonOptions {
|
|
7
7
|
working?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
2
|
-
import { ErrorInput, Maybe } from '@dereekb/util';
|
|
2
|
+
import { ErrorInput, type Maybe } from '@dereekb/util';
|
|
3
3
|
import { DbxErrorSnackbarConfig } from './error.snackbar.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Maybe } from '@dereekb/util';
|
|
2
|
+
import { type Maybe } from '@dereekb/util';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export interface DbxErrorViewButtonEvent {
|
|
5
5
|
readonly origin: ElementRef;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { WorkUsingObservable, LoadingState } from '@dereekb/rxjs';
|
|
3
|
-
import { Maybe } from '@dereekb/util';
|
|
3
|
+
import { type Maybe } from '@dereekb/util';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { DownloadTextContent } from './download.text';
|
|
6
6
|
import { SafeResourceUrl } from '@angular/platform-browser';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InjectionToken, OnDestroy } from '@angular/core';
|
|
2
2
|
import { StorageAccessor } from '@dereekb/dbx-core';
|
|
3
|
-
import { Maybe } from '@dereekb/util';
|
|
3
|
+
import { type Maybe } from '@dereekb/util';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { DbxModelViewTrackerEventSet, DbxModelViewTrackerEvent } from './model.tracker';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { OnDestroy } from '@angular/core';
|
|
3
|
-
import { Maybe } from '@dereekb/util';
|
|
3
|
+
import { type Maybe } from '@dereekb/util';
|
|
4
4
|
import { DbxInjectionComponentConfig } from '@dereekb/dbx-core';
|
|
5
|
-
import {
|
|
5
|
+
import { DbxWidgetViewComponentConfig } from './widget';
|
|
6
6
|
import { DbxWidgetService } from './widget.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
@@ -10,10 +10,11 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class DbxWidgetViewComponent implements OnDestroy {
|
|
12
12
|
readonly dbxWidgetService: DbxWidgetService;
|
|
13
|
-
private _config;
|
|
13
|
+
private readonly _config;
|
|
14
14
|
readonly config$: Observable<Maybe<DbxInjectionComponentConfig>>;
|
|
15
|
+
readonly widgetConfigExists$: Observable<boolean>;
|
|
15
16
|
ngOnDestroy(): void;
|
|
16
|
-
set config(config: Maybe<
|
|
17
|
+
set config(config: Maybe<DbxWidgetViewComponentConfig>);
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxWidgetViewComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxWidgetViewComponent, "dbx-widget-view", never, { "config": { "alias": "config"; "required": false; }; }, {}, never,
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxWidgetViewComponent, "dbx-widget-view", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, ["[unknownWidget]"], false, never>;
|
|
19
20
|
}
|
|
@@ -6,8 +6,14 @@ export type DbxWidgetType = string;
|
|
|
6
6
|
/**
|
|
7
7
|
* Type and data pair for a DbxWidget.
|
|
8
8
|
*/
|
|
9
|
-
export type DbxWidgetDataPair<T = unknown> = ModelTypeDataPair<T
|
|
9
|
+
export type DbxWidgetDataPair<T = unknown> = Readonly<ModelTypeDataPair<T>>;
|
|
10
10
|
/**
|
|
11
11
|
* Used for converting the input data into a DbxWidgetDataPair value.
|
|
12
12
|
*/
|
|
13
13
|
export type DbxWidgetDataPairFactory<T> = MapFunction<T, DbxWidgetDataPair<T>>;
|
|
14
|
+
export interface DbxWidgetViewComponentConfig<T = unknown> extends DbxWidgetDataPair<T> {
|
|
15
|
+
/**
|
|
16
|
+
* Alternative, default type to use if this type is not known/configured.
|
|
17
|
+
*/
|
|
18
|
+
readonly defaultType?: DbxWidgetType;
|
|
19
|
+
}
|
|
@@ -2,7 +2,7 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import { OnInit, OnDestroy, ElementRef } from '@angular/core';
|
|
3
3
|
import { AbstractDbxActionValueOnTriggerDirective } from '@dereekb/dbx-core';
|
|
4
4
|
import { IsModifiedFunction } from '@dereekb/rxjs';
|
|
5
|
-
import { Maybe } from '@dereekb/util';
|
|
5
|
+
import { type Maybe } from '@dereekb/util';
|
|
6
6
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export type DbxActionDialogFunction<T = unknown> = () => MatDialogRef<unknown, Maybe<T>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
2
|
import { ThemePalette } from '@angular/material/core';
|
|
3
|
-
import { Maybe } from '@dereekb/util';
|
|
3
|
+
import { type Maybe } from '@dereekb/util';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export interface DbxDialogContentFooterConfig {
|
|
6
6
|
buttonColor?: ThemePalette;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { AbstractFilterPopoverButtonDirective } from './filter.popover.button.directive';
|
|
3
3
|
import { DbxButtonDisplayContent } from '@dereekb/dbx-core';
|
|
4
|
-
import { Maybe } from '@dereekb/util';
|
|
4
|
+
import { type Maybe } from '@dereekb/util';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class DbxFilterPopoverButtonComponent<F extends object = object> extends AbstractFilterPopoverButtonDirective<F> {
|
|
7
7
|
private _buttonDisplay;
|
|
@@ -6,7 +6,7 @@ import { AbstractPopoverDirective } from '../popover/abstract.popover.directive'
|
|
|
6
6
|
import { DbxPopoverConfigSizing, DbxPopoverService } from '../popover/popover.service';
|
|
7
7
|
import { FilterSource, FilterSourceConnector, PresetFilterSource } from '@dereekb/rxjs';
|
|
8
8
|
import { DbxPopoverKey } from '../popover/popover';
|
|
9
|
-
import { Maybe } from '@dereekb/util';
|
|
9
|
+
import { type Maybe } from '@dereekb/util';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export interface DbxFilterComponentParams<F extends object = object, P extends string = string, CF extends FilterSource<F> = FilterSource<F>, PF extends PresetFilterSource<F, P> = PresetFilterSource<F, P>> extends DbxPopoverConfigSizing {
|
|
12
12
|
/**
|
|
@@ -3,7 +3,7 @@ import { OnInit, OnDestroy, ElementRef } from '@angular/core';
|
|
|
3
3
|
import { NgPopoverRef } from 'ng-overlay-container';
|
|
4
4
|
import { AbstractDbxActionValueOnTriggerDirective } from '@dereekb/dbx-core';
|
|
5
5
|
import { IsModifiedFunction } from '@dereekb/rxjs';
|
|
6
|
-
import { Maybe } from '@dereekb/util';
|
|
6
|
+
import { type Maybe } from '@dereekb/util';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export interface DbxActionPopoverFunctionParams {
|
|
9
9
|
origin: ElementRef;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Provider, Type } from '@angular/core';
|
|
2
|
-
import { Maybe } from '@dereekb/util';
|
|
2
|
+
import { type Maybe } from '@dereekb/util';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
export declare abstract class DbxPromptConfirm {
|
|
5
5
|
abstract showDialog(): Observable<Maybe<boolean>>;
|
|
@@ -3,7 +3,7 @@ import { DbxInjectionComponentConfig } from '@dereekb/dbx-core';
|
|
|
3
3
|
import { OnInit } from '@angular/core';
|
|
4
4
|
import { AbstractDialogDirective } from '../dialog/abstract.dialog.directive';
|
|
5
5
|
import { DbxPromptConfirmConfig, DbxPromptConfirmTypes } from './prompt.confirm.component';
|
|
6
|
-
import { Maybe } from '@dereekb/util';
|
|
6
|
+
import { type Maybe } from '@dereekb/util';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare const DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG: {
|
|
9
9
|
title: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import { Maybe } from '@dereekb/util';
|
|
2
|
+
import { type Maybe } from '@dereekb/util';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { DbxPromptConfirm } from './prompt.confirm';
|
|
5
5
|
import { DbxPromptConfirmConfig } from './prompt.confirm.component';
|
|
@@ -2,7 +2,7 @@ import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { ClickableAnchor } from '@dereekb/dbx-core';
|
|
4
4
|
import { TwoColumnsContextStore } from './two.column.store';
|
|
5
|
-
import { Maybe } from '@dereekb/util';
|
|
5
|
+
import { type Maybe } from '@dereekb/util';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Optional responsive component that wraps content on the right side and shows a navigation bar.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SegueRefOrSegueRefRouterLink } from '@dereekb/dbx-core';
|
|
2
|
-
import { Maybe } from '@dereekb/util';
|
|
2
|
+
import { type Maybe } from '@dereekb/util';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* Used with a DbxTwoColumnComponent to set the backRef of the TwoColumnsContextStore.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnDestroy, Provider } from '@angular/core';
|
|
2
2
|
import { ComponentStore } from '@ngrx/component-store';
|
|
3
3
|
import { SegueRef } from '@dereekb/dbx-core';
|
|
4
|
-
import { Maybe } from '@dereekb/util';
|
|
4
|
+
import { type Maybe } from '@dereekb/util';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export interface TwoColumnsState {
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ScreenMediaWidthType } from '../../screen/screen';
|
|
2
2
|
import { ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
|
|
3
3
|
import { AbstractSubscriptionDirective } from '@dereekb/dbx-core';
|
|
4
|
-
import { Maybe } from '@dereekb/util';
|
|
4
|
+
import { type Maybe } from '@dereekb/util';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
/**
|
|
7
7
|
* Used to declare a dbxFlexGroup.
|
|
@@ -119,6 +119,12 @@ $list-item-padded-min-height: 42px;
|
|
|
119
119
|
.item-details {
|
|
120
120
|
font-size: 0.8em;
|
|
121
121
|
}
|
|
122
|
+
|
|
123
|
+
.item-details-footnote {
|
|
124
|
+
padding: 3px 0;
|
|
125
|
+
font-size: 0.75em;
|
|
126
|
+
opacity: 0.8;
|
|
127
|
+
}
|
|
122
128
|
}
|
|
123
129
|
|
|
124
130
|
.dbx-list-no-hover-effects .dbx-list > .dbx-list-content .dbx-list-view .mat-mdc-list-item {
|
|
@@ -3,7 +3,7 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
4
4
|
import { DbxListConfig } from './list.component';
|
|
5
5
|
import { DbxListSelectionMode, DbxListView, ListSelectionState } from './list.view';
|
|
6
|
-
import { Maybe } from '@dereekb/util';
|
|
6
|
+
import { type Maybe } from '@dereekb/util';
|
|
7
7
|
import { DbxListViewWrapper } from './list.wrapper';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare const DEFAULT_STATIC_LIST_DIRECTIVE_TEMPLATE = "\n<dbx-list [config]=\"config\">\n <ng-content top select=\"[top]\"></ng-content>\n <ng-content bottom select=\"[bottom]\"></ng-content>\n <ng-content empty select=\"[empty]\"></ng-content>\n <ng-content emptyLoading select=\"[emptyLoading]\"></ng-content>\n</dbx-list>\n";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { ListLoadingState, ListLoadingStateContext } from '@dereekb/rxjs';
|
|
3
3
|
import { EventEmitter, Provider, TrackByFunction, Type } from '@angular/core';
|
|
4
|
-
import { Maybe } from '@dereekb/util';
|
|
4
|
+
import { type Maybe } from '@dereekb/util';
|
|
5
5
|
export type DbxListSelectionMode = 'select' | 'view';
|
|
6
6
|
export interface ListSelectionStateItem<T> {
|
|
7
7
|
disabled?: boolean;
|
|
@@ -2,7 +2,7 @@ import { ListLoadingStateContext } from '@dereekb/rxjs';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { EventEmitter, OnDestroy, TrackByFunction } from '@angular/core';
|
|
4
4
|
import { DbxListSelectionMode, DbxListView } from './list.view';
|
|
5
|
-
import { Maybe } from '@dereekb/util';
|
|
5
|
+
import { type Maybe } from '@dereekb/util';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Abstract DbxListView implementation.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { DbxValueListItem } from './list.view.value';
|
|
3
|
-
import { Maybe } from '@dereekb/util';
|
|
3
|
+
import { type Maybe } from '@dereekb/util';
|
|
4
4
|
import { DbxInjectionComponentConfig } from '@dereekb/dbx-core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare const DBX_LIST_VIEW_DEFAULT_META_ICON: InjectionToken<string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InjectionToken, Provider, Type } from '@angular/core';
|
|
2
2
|
import { ClickableAnchor, DbxInjectionComponentConfig } from '@dereekb/dbx-core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { DecisionFunction, Maybe } from '@dereekb/util';
|
|
4
|
+
import { DecisionFunction, type Maybe } from '@dereekb/util';
|
|
5
5
|
export declare const DBX_VALUE_LIST_VIEW_ITEM: InjectionToken<unknown>;
|
|
6
6
|
export interface DbxValueListItem<T, M = unknown> {
|
|
7
7
|
itemValue: T;
|
|
@@ -3,7 +3,7 @@ import { MatSelectionListChange } from '@angular/material/list';
|
|
|
3
3
|
import { DbxListSelectionMode } from './list.view';
|
|
4
4
|
import { DbxValueListItem, AbstractDbxValueListViewConfig } from './list.view.value';
|
|
5
5
|
import { AbstractDbxValueListViewDirective } from './list.view.value.directive';
|
|
6
|
-
import { Maybe } from '@dereekb/util';
|
|
6
|
+
import { type Maybe } from '@dereekb/util';
|
|
7
7
|
import { DbxValueListViewContentComponent } from './list.view.value.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export interface DbxSelectionValueListViewConfig<T, I extends DbxValueListItem<T> = DbxValueListItem<T>, V = unknown> extends AbstractDbxValueListViewConfig<T, I, V> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { ListLoadingState } from '@dereekb/rxjs';
|
|
3
3
|
import { EventEmitter, Provider, Type } from '@angular/core';
|
|
4
|
-
import { Maybe } from '@dereekb/util';
|
|
4
|
+
import { type Maybe } from '@dereekb/util';
|
|
5
5
|
/**
|
|
6
6
|
* Common interface for views that may wrap a DbxListView, and pass values through to it.
|
|
7
7
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CssClass, Maybe } from '@dereekb/util';
|
|
1
|
+
import { CssClass, type Maybe } from '@dereekb/util';
|
|
2
2
|
export type DbxThemeColorMain = 'primary' | 'accent' | 'warn';
|
|
3
3
|
export type DbxThemeColorExtra = 'notice' | 'ok' | 'success' | 'grey';
|
|
4
4
|
export type DbxThemeColorExtraSecondary = 'background' | 'disabled';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnDestroy, ElementRef } from '@angular/core';
|
|
2
2
|
import { ThemePalette } from '@angular/material/core';
|
|
3
3
|
import { ProgressBarMode } from '@angular/material/progress-bar';
|
|
4
|
-
import { ErrorInput, Maybe } from '@dereekb/util';
|
|
4
|
+
import { ErrorInput, type Maybe } from '@dereekb/util';
|
|
5
5
|
import { ProgressSpinnerMode } from '@angular/material/progress-spinner';
|
|
6
6
|
import { DbxThemeColor } from '../layout/style/style';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ThemePalette } from '@angular/material/core';
|
|
2
2
|
import { ProgressBarMode } from '@angular/material/progress-bar';
|
|
3
3
|
import { ProgressSpinnerMode } from '@angular/material/progress-spinner';
|
|
4
|
-
import { Maybe } from '@dereekb/util';
|
|
4
|
+
import { type Maybe } from '@dereekb/util';
|
|
5
5
|
import { DbxThemeColor } from '../layout/style/style';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare const DEFAULT_LOADING_PROGRESS_DIAMETER = 96;
|
|
@@ -3,7 +3,7 @@ import { OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
|
3
3
|
import { ThemePalette } from '@angular/material/core';
|
|
4
4
|
import { ProgressBarMode } from '@angular/material/progress-bar';
|
|
5
5
|
import { LoadingContext } from '@dereekb/rxjs';
|
|
6
|
-
import { ErrorInput, Maybe } from '@dereekb/util';
|
|
6
|
+
import { ErrorInput, type Maybe } from '@dereekb/util';
|
|
7
7
|
import { DbxThemeColor } from '../layout/style/style';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export interface DbxLoadingComponentState {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TemplateRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import { AbstractDbxAnchorDirective, DbxInjectionComponentConfig } from '@dereekb/dbx-core';
|
|
3
|
-
import { Maybe } from '@dereekb/util';
|
|
3
|
+
import { type Maybe } from '@dereekb/util';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* Component that renders an anchor element depending on the input.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { OnDestroy } from '@angular/core';
|
|
3
3
|
import { ClickableAnchorLink } from '@dereekb/dbx-core';
|
|
4
|
-
import { Maybe } from '@dereekb/util';
|
|
4
|
+
import { type Maybe } from '@dereekb/util';
|
|
5
5
|
import { DbxAnchorComponent } from './anchor.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|