@dereekb/dbx-web 9.18.5 → 9.19.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/action.module.mjs +6 -8
- package/esm2020/lib/action/index.mjs +1 -2
- package/esm2020/lib/action/snackbar/action.snackbar.module.mjs +4 -5
- package/esm2020/lib/error/default.error.widget.component.mjs +32 -0
- package/esm2020/lib/error/error.component.mjs +30 -8
- package/esm2020/lib/error/error.details.component.mjs +24 -0
- package/esm2020/lib/error/error.module.mjs +41 -6
- package/esm2020/lib/error/error.popover.component.mjs +53 -0
- package/esm2020/lib/error/error.widget.component.mjs +55 -0
- package/esm2020/lib/error/error.widget.directive.mjs +23 -0
- package/esm2020/lib/error/error.widget.service.mjs +51 -0
- package/esm2020/lib/error/index.mjs +7 -1
- package/esm2020/lib/interaction/popover/index.mjs +2 -1
- package/esm2020/lib/interaction/popover/popover.component.mjs +3 -3
- package/esm2020/lib/interaction/popover/popover.content.module.mjs +33 -0
- package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +1 -2
- package/esm2020/lib/interaction/popover/popover.module.mjs +9 -16
- package/esm2020/lib/interaction/popover/popover.service.mjs +7 -4
- package/esm2020/lib/layout/section/section.header.component.mjs +39 -35
- package/esm2020/lib/layout/text/index.mjs +2 -1
- package/esm2020/lib/layout/text/label.block.component.mjs +29 -0
- package/esm2020/lib/layout/text/text.module.mjs +5 -4
- package/esm2020/lib/loading/loading.module.mjs +5 -4
- package/fesm2015/dereekb-dbx-web.mjs +5284 -4996
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +5099 -4813
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/action/action.module.d.ts +8 -10
- package/lib/action/index.d.ts +0 -1
- package/lib/action/snackbar/action.snackbar.module.d.ts +1 -2
- package/lib/error/_error.scss +14 -0
- package/lib/error/default.error.widget.component.d.ts +8 -0
- package/lib/error/error.component.d.ts +7 -0
- package/lib/error/error.details.component.d.ts +7 -0
- package/lib/error/error.module.d.ts +11 -2
- package/lib/error/error.popover.component.d.ts +18 -0
- package/lib/error/error.widget.component.d.ts +19 -0
- package/lib/error/error.widget.directive.d.ts +10 -0
- package/lib/error/error.widget.service.d.ts +29 -0
- package/lib/error/index.d.ts +6 -0
- package/lib/interaction/popover/index.d.ts +1 -0
- package/lib/interaction/popover/popover.component.d.ts +1 -1
- package/lib/interaction/popover/popover.content.module.d.ts +22 -0
- package/lib/interaction/popover/popover.module.d.ts +14 -20
- package/lib/interaction/popover/popover.service.d.ts +1 -0
- package/lib/layout/text/_text.scss +8 -1
- package/lib/layout/text/index.d.ts +1 -0
- package/lib/layout/text/label.block.component.d.ts +9 -0
- package/lib/layout/text/text.module.d.ts +12 -11
- package/lib/loading/loading.module.d.ts +1 -1
- package/mapbox/package.json +3 -3
- package/package.json +3 -3
- package/esm2020/lib/action/action.progress.component.mjs +0 -20
- package/lib/action/action.progress.component.d.ts +0 -5
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./key.trigger.directive";
|
|
3
3
|
import * as i2 from "./action.confirm.directive";
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "@angular/material/
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "@angular/material/button";
|
|
12
|
-
import * as i11 from "../interaction/prompt/prompt.module";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@dereekb/dbx-core";
|
|
6
|
+
import * as i5 from "../button/button.module";
|
|
7
|
+
import * as i6 from "@angular/material/snack-bar";
|
|
8
|
+
import * as i7 from "@angular/material/dialog";
|
|
9
|
+
import * as i8 from "@angular/material/button";
|
|
10
|
+
import * as i9 from "../interaction/prompt/prompt.module";
|
|
13
11
|
export declare class DbxActionModule {
|
|
14
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxActionModule, [typeof i1.DbxActionKeyTriggerDirective, typeof i2.DbxActionConfirmDirective
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxActionModule, [typeof i1.DbxActionKeyTriggerDirective, typeof i2.DbxActionConfirmDirective], [typeof i3.CommonModule, typeof i4.DbxCoreActionModule, typeof i5.DbxButtonModule, typeof i6.MatSnackBarModule, typeof i7.MatDialogModule, typeof i8.MatButtonModule, typeof i9.DbxPromptModule], [typeof i4.DbxCoreActionModule, typeof i1.DbxActionKeyTriggerDirective, typeof i2.DbxActionConfirmDirective]>;
|
|
16
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxActionModule>;
|
|
17
15
|
}
|
package/lib/action/index.d.ts
CHANGED
|
@@ -6,9 +6,8 @@ import * as i4 from "../../layout/style/style.layout.module";
|
|
|
6
6
|
import * as i5 from "@dereekb/dbx-core";
|
|
7
7
|
import * as i6 from "../../interaction/prompt/prompt.module";
|
|
8
8
|
import * as i7 from "../../button/button.module";
|
|
9
|
-
import * as i8 from "../../error/error.module";
|
|
10
9
|
export declare class DbxActionSnackbarModule {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionSnackbarModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxActionSnackbarModule, [typeof i1.DbxActionSnackbarComponent, typeof i2.DbxActionSnackbarDirective], [typeof i3.CommonModule, typeof i4.DbxStyleLayoutModule, typeof i5.DbxCoreActionModule, typeof i6.DbxPromptModule, typeof i7.DbxButtonModule
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxActionSnackbarModule, [typeof i1.DbxActionSnackbarComponent, typeof i2.DbxActionSnackbarDirective], [typeof i3.CommonModule, typeof i4.DbxStyleLayoutModule, typeof i5.DbxCoreActionModule, typeof i6.DbxPromptModule, typeof i7.DbxButtonModule], [typeof i1.DbxActionSnackbarComponent, typeof i2.DbxActionSnackbarDirective]>;
|
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxActionSnackbarModule>;
|
|
14
13
|
}
|
package/lib/error/_error.scss
CHANGED
|
@@ -4,6 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
// MARK: Mixin
|
|
6
6
|
@mixin core() {
|
|
7
|
+
.dbx-error {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
align-items: center;
|
|
11
|
+
|
|
12
|
+
.dbx-error-message {
|
|
13
|
+
margin-left: 12px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.dbx-error-default-error-widget {
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
}
|
|
7
21
|
}
|
|
8
22
|
|
|
9
23
|
@mixin color($theme-config) {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServerErrorResponseData } from '@dereekb/util';
|
|
2
|
+
import { AbstractDbxErrorWidgetComponent } from './error.widget.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DbxErrorDefaultErrorWidgetComponent extends AbstractDbxErrorWidgetComponent {
|
|
5
|
+
get serverErrorData(): ServerErrorResponseData | undefined;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxErrorDefaultErrorWidgetComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxErrorDefaultErrorWidgetComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
8
|
+
}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
1
2
|
import { Maybe, ErrorInput, ReadableError } from '@dereekb/util';
|
|
3
|
+
import { DbxPopoverService } from '../interaction/popover/popover.service';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
/**
|
|
4
6
|
* Basic error component.
|
|
5
7
|
*/
|
|
6
8
|
export declare class DbxReadableErrorComponent {
|
|
9
|
+
readonly popoverService: DbxPopoverService;
|
|
10
|
+
buttonPopoverOrigin: ElementRef;
|
|
7
11
|
private _error?;
|
|
12
|
+
constructor(popoverService: DbxPopoverService);
|
|
8
13
|
get error(): Maybe<ReadableError>;
|
|
9
14
|
set error(error: Maybe<ErrorInput>);
|
|
15
|
+
get isDefaultError(): boolean;
|
|
10
16
|
get message(): Maybe<string>;
|
|
17
|
+
openErrorPopover(): void;
|
|
11
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxReadableErrorComponent, never>;
|
|
12
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<DbxReadableErrorComponent, "dbx-error", never, { "error": "error"; }, {}, never, never, false>;
|
|
13
20
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Maybe, ReadableError } from '@dereekb/util';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DbxErrorDetailsComponent {
|
|
4
|
+
error?: Maybe<ReadableError>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxErrorDetailsComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxErrorDetailsComponent, "dbx-error-details", never, { "error": "error"; }, {}, never, never, false>;
|
|
7
|
+
}
|
|
@@ -2,9 +2,18 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./error.component";
|
|
3
3
|
import * as i2 from "./error.loading.directive";
|
|
4
4
|
import * as i3 from "./error.action.directive";
|
|
5
|
-
import * as i4 from "
|
|
5
|
+
import * as i4 from "./error.popover.component";
|
|
6
|
+
import * as i5 from "./error.details.component";
|
|
7
|
+
import * as i6 from "./error.widget.component";
|
|
8
|
+
import * as i7 from "./default.error.widget.component";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
10
|
+
import * as i9 from "../layout/text/text.module";
|
|
11
|
+
import * as i10 from "@dereekb/dbx-core";
|
|
12
|
+
import * as i11 from "../interaction/popover/popover.content.module";
|
|
13
|
+
import * as i12 from "@angular/material/button";
|
|
14
|
+
import * as i13 from "@angular/material/icon";
|
|
6
15
|
export declare class DbxReadableErrorModule {
|
|
7
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxReadableErrorModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxReadableErrorModule, [typeof i1.DbxReadableErrorComponent, typeof i2.DbxLoadingErrorDirective, typeof i3.DbxActionErrorDirective], [typeof
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxReadableErrorModule, [typeof i1.DbxReadableErrorComponent, typeof i2.DbxLoadingErrorDirective, typeof i3.DbxActionErrorDirective, typeof i4.DbxErrorPopoverComponent, typeof i5.DbxErrorDetailsComponent, typeof i6.DbxErrorWidgetViewComponent, typeof i7.DbxErrorDefaultErrorWidgetComponent], [typeof i8.CommonModule, typeof i9.DbxTextModule, typeof i10.DbxInjectionComponentModule, typeof i11.DbxPopoverInteractionContentModule, typeof i12.MatButtonModule, typeof i13.MatIconModule], [typeof i1.DbxReadableErrorComponent, typeof i2.DbxLoadingErrorDirective, typeof i3.DbxActionErrorDirective, typeof i4.DbxErrorPopoverComponent, typeof i5.DbxErrorDetailsComponent, typeof i6.DbxErrorWidgetViewComponent, typeof i7.DbxErrorDefaultErrorWidgetComponent]>;
|
|
9
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxReadableErrorModule>;
|
|
10
19
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ReadableError } from '@dereekb/util';
|
|
3
|
+
import { AbstractPopoverDirective } from '../interaction/popover/abstract.popover.directive';
|
|
4
|
+
import { DbxPopoverKey } from '../interaction/popover/popover';
|
|
5
|
+
import { DbxPopoverService } from '../interaction/popover/popover.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare const DEFAULT_ERROR_POPOVER_KEY = "error";
|
|
8
|
+
export interface DbxErrorPopoverConfig {
|
|
9
|
+
origin: ElementRef;
|
|
10
|
+
error: ReadableError;
|
|
11
|
+
}
|
|
12
|
+
export declare class DbxErrorPopoverComponent extends AbstractPopoverDirective<void, ReadableError> {
|
|
13
|
+
get error(): ReadableError;
|
|
14
|
+
get code(): string | undefined;
|
|
15
|
+
static openPopover(popoverService: DbxPopoverService, { origin, error }: DbxErrorPopoverConfig, popoverKey?: DbxPopoverKey): import("ng-overlay-container").NgPopoverRef<import("@dereekb/dbx-web").DbxPopoverComponentConfig<unknown, ReadableError, DbxErrorPopoverComponent>, unknown>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxErrorPopoverComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxErrorPopoverComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
import { Maybe, ReadableError } from '@dereekb/util';
|
|
4
|
+
import { DbxInjectionComponentConfig } from '@dereekb/dbx-core';
|
|
5
|
+
import { DbxErrorWidgetService } from './error.widget.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Used to display a corresponding error widget based on the input data.
|
|
9
|
+
*/
|
|
10
|
+
export declare class DbxErrorWidgetViewComponent implements OnDestroy {
|
|
11
|
+
readonly dbxErrorWidgetService: DbxErrorWidgetService;
|
|
12
|
+
private _errorWithCode;
|
|
13
|
+
readonly config$: Observable<Maybe<DbxInjectionComponentConfig>>;
|
|
14
|
+
constructor(dbxErrorWidgetService: DbxErrorWidgetService);
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
set error(error: Maybe<ReadableError>);
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxErrorWidgetViewComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxErrorWidgetViewComponent, "dbx-error-widget-view", never, { "error": "error"; }, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReadableError, ReadableErrorWithCode } from '@dereekb/util';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare abstract class AbstractDbxErrorWidgetComponent<T extends ReadableError = ReadableError> {
|
|
4
|
+
readonly data: ReadableErrorWithCode<T>;
|
|
5
|
+
get code(): string;
|
|
6
|
+
get message(): import("@dereekb/util").Maybe<string>;
|
|
7
|
+
constructor(data: ReadableErrorWithCode<T>);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDbxErrorWidgetComponent<any>, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDbxErrorWidgetComponent<any>, never, never, {}, {}, never, never, false>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { Maybe, StringErrorCode } from '@dereekb/util';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const DEFAULT_ERROR_WIDGET_CODE = "DEFAULT_ERROR_WIDGET";
|
|
5
|
+
export interface DbxErrorWidgetEntry {
|
|
6
|
+
/**
|
|
7
|
+
* Error code to respond to.
|
|
8
|
+
*/
|
|
9
|
+
readonly code: StringErrorCode;
|
|
10
|
+
/**
|
|
11
|
+
* Error widget component class to use.
|
|
12
|
+
*/
|
|
13
|
+
readonly componentClass: Type<unknown>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Service used to register error widgets.
|
|
17
|
+
*/
|
|
18
|
+
export declare class DbxErrorWidgetService {
|
|
19
|
+
private _entries;
|
|
20
|
+
constructor();
|
|
21
|
+
registerDefaultEntry(entry: Omit<DbxErrorWidgetEntry, 'code'>): boolean;
|
|
22
|
+
register(entry: DbxErrorWidgetEntry, override?: boolean): boolean;
|
|
23
|
+
getErrorWidgetIdentifiers(): StringErrorCode[];
|
|
24
|
+
getDefaultErrorWidgetEntry(): Maybe<DbxErrorWidgetEntry>;
|
|
25
|
+
getErrorWidgetEntry(code: StringErrorCode): Maybe<DbxErrorWidgetEntry>;
|
|
26
|
+
getErrorWidgetEntries(codes: Iterable<StringErrorCode>): DbxErrorWidgetEntry[];
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxErrorWidgetService, never>;
|
|
28
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DbxErrorWidgetService>;
|
|
29
|
+
}
|
package/lib/error/index.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
export * from './default.error.widget.component';
|
|
1
2
|
export * from './error.action.directive';
|
|
2
3
|
export * from './error.api';
|
|
3
4
|
export * from './error.component';
|
|
5
|
+
export * from './error.details.component';
|
|
4
6
|
export * from './error.loading.directive';
|
|
5
7
|
export * from './error.module';
|
|
8
|
+
export * from './error.popover.component';
|
|
9
|
+
export * from './error.widget.component';
|
|
10
|
+
export * from './error.widget.directive';
|
|
11
|
+
export * from './error.widget.service';
|
|
6
12
|
export * from './state';
|
|
@@ -3,6 +3,7 @@ export * from './abstract.popover.ref.directive';
|
|
|
3
3
|
export * from './popover.action.directive';
|
|
4
4
|
export * from './popover.component';
|
|
5
5
|
export * from './popover.content.component';
|
|
6
|
+
export * from './popover.content.module';
|
|
6
7
|
export * from './popover.controls.directive';
|
|
7
8
|
export * from './popover.coordinator.component';
|
|
8
9
|
export * from './popover.coordinator.service';
|
|
@@ -2,7 +2,7 @@ import { NgZone, Type, OnInit, OnDestroy, ElementRef } from '@angular/core';
|
|
|
2
2
|
import { NgOverlayContainerConfiguration, NgPopoverRef } from 'ng-overlay-container';
|
|
3
3
|
import { AbstractTransitionWatcherDirective, DbxRouterTransitionService, DbxInjectionComponentConfig } from '@dereekb/dbx-core';
|
|
4
4
|
import { LockSet } from '@dereekb/rxjs';
|
|
5
|
-
import { CompactContextStore } from '../../layout';
|
|
5
|
+
import { CompactContextStore } from '../../layout/compact';
|
|
6
6
|
import { Maybe } from '@dereekb/util';
|
|
7
7
|
import { DbxPopoverController, DbxPopoverKey } from './popover';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./popover.content.component";
|
|
3
|
+
import * as i2 from "./popover.controls.directive";
|
|
4
|
+
import * as i3 from "./popover.header.component";
|
|
5
|
+
import * as i4 from "./popover.scroll.content.component";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@angular/material/icon";
|
|
8
|
+
import * as i7 from "@angular/material/button";
|
|
9
|
+
import * as i8 from "@angular/material/divider";
|
|
10
|
+
import * as i9 from "../../keypress/keypress.module";
|
|
11
|
+
import * as i10 from "../../layout/style/style.layout.module";
|
|
12
|
+
import * as i11 from "@dereekb/dbx-core";
|
|
13
|
+
import * as i12 from "ng-overlay-container";
|
|
14
|
+
import * as i13 from "angular-resize-event";
|
|
15
|
+
/**
|
|
16
|
+
* Contains all popover content components, allowing other sibling dbx-web modules to use the directives without referencing the full popover module.
|
|
17
|
+
*/
|
|
18
|
+
export declare class DbxPopoverInteractionContentModule {
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopoverInteractionContentModule, never>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxPopoverInteractionContentModule, [typeof i1.DbxPopoverContentComponent, typeof i2.DbxPopoverControlsDirective, typeof i3.DbxPopoverHeaderComponent, typeof i4.DbxPopoverScrollContentComponent], [typeof i5.CommonModule, typeof i6.MatIconModule, typeof i7.MatButtonModule, typeof i8.MatDividerModule, typeof i9.DbxKeypressModule, typeof i10.DbxStyleLayoutModule, typeof i11.DbxInjectionComponentModule, typeof i12.NgOverlayContainerModule, typeof i13.AngularResizeEventModule], [typeof i1.DbxPopoverContentComponent, typeof i2.DbxPopoverControlsDirective, typeof i3.DbxPopoverHeaderComponent, typeof i4.DbxPopoverScrollContentComponent]>;
|
|
21
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DbxPopoverInteractionContentModule>;
|
|
22
|
+
}
|
|
@@ -1,25 +1,19 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./popover.
|
|
3
|
-
import * as i2 from "./popover.component";
|
|
4
|
-
import * as i3 from "./popover.
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "@
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "../../action/action.module";
|
|
16
|
-
import * as i15 from "../../keypress/keypress.module";
|
|
17
|
-
import * as i16 from "../../layout/style/style.layout.module";
|
|
18
|
-
import * as i17 from "@dereekb/dbx-core";
|
|
19
|
-
import * as i18 from "ng-overlay-container";
|
|
20
|
-
import * as i19 from "angular-resize-event";
|
|
2
|
+
import * as i1 from "./popover.component";
|
|
3
|
+
import * as i2 from "./popover.coordinator.component";
|
|
4
|
+
import * as i3 from "./popover.action.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
import * as i6 from "@angular/material/button";
|
|
8
|
+
import * as i7 from "@angular/material/divider";
|
|
9
|
+
import * as i8 from "../../keypress/keypress.module";
|
|
10
|
+
import * as i9 from "../../layout/style/style.layout.module";
|
|
11
|
+
import * as i10 from "@dereekb/dbx-core";
|
|
12
|
+
import * as i11 from "ng-overlay-container";
|
|
13
|
+
import * as i12 from "angular-resize-event";
|
|
14
|
+
import * as i13 from "./popover.content.module";
|
|
21
15
|
export declare class DbxPopoverInteractionModule {
|
|
22
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopoverInteractionModule, never>;
|
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxPopoverInteractionModule, [typeof i1.
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxPopoverInteractionModule, [typeof i1.DbxPopoverComponent, typeof i2.DbxPopoverCoordinatorComponent, typeof i3.DbxActionPopoverDirective], [typeof i4.CommonModule, typeof i5.MatIconModule, typeof i6.MatButtonModule, typeof i7.MatDividerModule, typeof i8.DbxKeypressModule, typeof i9.DbxStyleLayoutModule, typeof i10.DbxInjectionComponentModule, typeof i11.NgOverlayContainerModule, typeof i12.AngularResizeEventModule, typeof i13.DbxPopoverInteractionContentModule], [typeof i1.DbxPopoverComponent, typeof i2.DbxPopoverCoordinatorComponent, typeof i3.DbxActionPopoverDirective, typeof i13.DbxPopoverInteractionContentModule]>;
|
|
24
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxPopoverInteractionModule>;
|
|
25
19
|
}
|
|
@@ -7,6 +7,7 @@ $icon-spacing: 6px;
|
|
|
7
7
|
$hint-opacity: 0.8;
|
|
8
8
|
$note-opacity: 0.7;
|
|
9
9
|
$mat-hint-opacity: 0.54; // Opacity to mirror mat-hint
|
|
10
|
+
$dbx-label-padded-padding: 6px;
|
|
10
11
|
|
|
11
12
|
// MARK: Mixin
|
|
12
13
|
@mixin core() {
|
|
@@ -16,7 +17,7 @@ $mat-hint-opacity: 0.54; // Opacity to mirror mat-hint
|
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
.dbx-label-padded {
|
|
19
|
-
padding-bottom:
|
|
20
|
+
padding-bottom: $dbx-label-padded-padding;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
.text-center,
|
|
@@ -24,10 +25,16 @@ $mat-hint-opacity: 0.54; // Opacity to mirror mat-hint
|
|
|
24
25
|
text-align: center;
|
|
25
26
|
}
|
|
26
27
|
|
|
28
|
+
.dbx-json,
|
|
27
29
|
.prettyjson {
|
|
28
30
|
white-space: pre-wrap !important;
|
|
29
31
|
}
|
|
30
32
|
|
|
33
|
+
.dbx-label-block {
|
|
34
|
+
display: block;
|
|
35
|
+
padding: 3px 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
31
38
|
.dbx-text-no-overflow {
|
|
32
39
|
white-space: pre-wrap !important;
|
|
33
40
|
overflow: visible !important;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './form.description.component';
|
|
2
2
|
export * from './hint.component';
|
|
3
3
|
export * from './icon.spacer.component';
|
|
4
|
+
export * from './label.block.component';
|
|
4
5
|
export * from './label.component';
|
|
5
6
|
export * from './linkify.component';
|
|
6
7
|
export * from './note.component';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Combines a dbx-label and arbitrary content.
|
|
4
|
+
*/
|
|
5
|
+
export declare class DbxLabelBlockComponent {
|
|
6
|
+
header?: string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DbxLabelBlockComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DbxLabelBlockComponent, "dbx-label-block", never, { "header": "header"; }, {}, never, ["*"], false>;
|
|
9
|
+
}
|
|
@@ -4,18 +4,19 @@ import * as i2 from "./notice.component";
|
|
|
4
4
|
import * as i3 from "./success.component";
|
|
5
5
|
import * as i4 from "./warn.component";
|
|
6
6
|
import * as i5 from "./hint.component";
|
|
7
|
-
import * as i6 from "./label.component";
|
|
8
|
-
import * as i7 from "./
|
|
9
|
-
import * as i8 from "./
|
|
10
|
-
import * as i9 from "./
|
|
11
|
-
import * as i10 from "./
|
|
12
|
-
import * as i11 from "./
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "@angular/
|
|
15
|
-
import * as i14 from "@angular/material/
|
|
16
|
-
import * as i15 from "@angular/material/
|
|
7
|
+
import * as i6 from "./label.block.component";
|
|
8
|
+
import * as i7 from "./label.component";
|
|
9
|
+
import * as i8 from "./linkify.component";
|
|
10
|
+
import * as i9 from "./ok.component";
|
|
11
|
+
import * as i10 from "./text.chips.component";
|
|
12
|
+
import * as i11 from "./icon.spacer.component";
|
|
13
|
+
import * as i12 from "./form.description.component";
|
|
14
|
+
import * as i13 from "@angular/common";
|
|
15
|
+
import * as i14 from "@angular/material/chips";
|
|
16
|
+
import * as i15 from "@angular/material/tooltip";
|
|
17
|
+
import * as i16 from "@angular/material/icon";
|
|
17
18
|
export declare class DbxTextModule {
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxTextModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxTextModule, [typeof i1.DbxNoteComponent, typeof i2.DbxNoticeComponent, typeof i3.DbxSuccessComponent, typeof i4.DbxWarnComponent, typeof i5.DbxHintComponent, typeof i6.
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxTextModule, [typeof i1.DbxNoteComponent, typeof i2.DbxNoticeComponent, typeof i3.DbxSuccessComponent, typeof i4.DbxWarnComponent, typeof i5.DbxHintComponent, typeof i6.DbxLabelBlockComponent, typeof i7.DbxLabelComponent, typeof i8.DbxLinkifyComponent, typeof i9.DbxOkComponent, typeof i10.DbxTextChipsComponent, typeof i11.DbxIconSpacerDirective, typeof i12.DbxFormDescriptionComponent], [typeof i13.CommonModule, typeof i14.MatChipsModule, typeof i15.MatTooltipModule, typeof i16.MatIconModule], [typeof i1.DbxNoteComponent, typeof i2.DbxNoticeComponent, typeof i3.DbxSuccessComponent, typeof i4.DbxWarnComponent, typeof i5.DbxHintComponent, typeof i6.DbxLabelBlockComponent, typeof i7.DbxLabelComponent, typeof i8.DbxLinkifyComponent, typeof i9.DbxOkComponent, typeof i10.DbxTextChipsComponent, typeof i11.DbxIconSpacerDirective, typeof i12.DbxFormDescriptionComponent]>;
|
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxTextModule>;
|
|
21
22
|
}
|
|
@@ -9,6 +9,6 @@ import * as i7 from "@angular/material/progress-spinner";
|
|
|
9
9
|
import * as i8 from "@angular/material/progress-bar";
|
|
10
10
|
export declare class DbxLoadingModule {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbxLoadingModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxLoadingModule, [typeof i1.DbxLoadingComponent, typeof i2.DbxBasicLoadingComponent, typeof i3.DbxLoadingProgressComponent, typeof i4.DbxActionLoadingContextDirective], [typeof i5.CommonModule, typeof i6.DbxReadableErrorModule, typeof i7.MatProgressSpinnerModule, typeof i8.MatProgressBarModule], [typeof i1.DbxLoadingComponent, typeof i2.DbxBasicLoadingComponent, typeof i3.DbxLoadingProgressComponent, typeof
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DbxLoadingModule, [typeof i1.DbxLoadingComponent, typeof i2.DbxBasicLoadingComponent, typeof i3.DbxLoadingProgressComponent, typeof i4.DbxActionLoadingContextDirective], [typeof i5.CommonModule, typeof i6.DbxReadableErrorModule, typeof i7.MatProgressSpinnerModule, typeof i8.MatProgressBarModule], [typeof i1.DbxLoadingComponent, typeof i2.DbxBasicLoadingComponent, typeof i3.DbxLoadingProgressComponent, typeof i4.DbxActionLoadingContextDirective, typeof i7.MatProgressSpinnerModule, typeof i8.MatProgressBarModule]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<DbxLoadingModule>;
|
|
14
14
|
}
|
package/mapbox/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web/mapbox",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.19.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.1.0",
|
|
6
6
|
"@angular/core": "^14.1.0",
|
|
7
|
-
"@dereekb/dbx-core": "9.
|
|
8
|
-
"@dereekb/dbx-web": "9.
|
|
7
|
+
"@dereekb/dbx-core": "9.19.0",
|
|
8
|
+
"@dereekb/dbx-web": "9.19.0",
|
|
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.
|
|
3
|
+
"version": "9.19.0",
|
|
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.
|
|
11
|
-
"@dereekb/dbx-core": "9.
|
|
10
|
+
"@dereekb/rxjs": "9.19.0",
|
|
11
|
+
"@dereekb/dbx-core": "9.19.0",
|
|
12
12
|
"@angular/flex-layout": "^14.0.0-beta.41",
|
|
13
13
|
"ng-overlay-container": "^14.0.0",
|
|
14
14
|
"@angular/cdk": "^14.2.0",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@dereekb/dbx-core";
|
|
4
|
-
import * as i2 from "../loading/loading-progress.component";
|
|
5
|
-
export class DbxActionProgressComponent {
|
|
6
|
-
}
|
|
7
|
-
DbxActionProgressComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxActionProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
-
DbxActionProgressComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DbxActionProgressComponent, selector: "dbx-action-progress", ngImport: i0, template: `
|
|
9
|
-
<dbx-loading-progress *dbxActionIsWorking [linear]="true"></dbx-loading-progress>
|
|
10
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.DbxActionIsWorkingDirective, selector: "[dbxActionIsWorking]", inputs: ["dbxActionIsWorking"] }, { kind: "component", type: i2.DbxLoadingProgressComponent, selector: "dbx-loading-progress", inputs: ["text", "linear", "mode", "color", "value", "bufferValue", "diameter"] }] });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DbxActionProgressComponent, decorators: [{
|
|
12
|
-
type: Component,
|
|
13
|
-
args: [{
|
|
14
|
-
selector: 'dbx-action-progress',
|
|
15
|
-
template: `
|
|
16
|
-
<dbx-loading-progress *dbxActionIsWorking [linear]="true"></dbx-loading-progress>
|
|
17
|
-
`
|
|
18
|
-
}]
|
|
19
|
-
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLnByb2dyZXNzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2RieC13ZWIvc3JjL2xpYi9hY3Rpb24vYWN0aW9uLnByb2dyZXNzLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7O0FBUTFDLE1BQU0sT0FBTywwQkFBMEI7O3dIQUExQiwwQkFBMEI7NEdBQTFCLDBCQUEwQiwyREFKM0I7O0dBRVQ7NEZBRVUsMEJBQTBCO2tCQU50QyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxxQkFBcUI7b0JBQy9CLFFBQVEsRUFBRTs7R0FFVDtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdkYngtYWN0aW9uLXByb2dyZXNzJyxcbiAgdGVtcGxhdGU6IGBcbiAgICA8ZGJ4LWxvYWRpbmctcHJvZ3Jlc3MgKmRieEFjdGlvbklzV29ya2luZyBbbGluZWFyXT1cInRydWVcIj48L2RieC1sb2FkaW5nLXByb2dyZXNzPlxuICBgXG59KVxuZXhwb3J0IGNsYXNzIERieEFjdGlvblByb2dyZXNzQ29tcG9uZW50IHt9XG4iXX0=
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class DbxActionProgressComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DbxActionProgressComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DbxActionProgressComponent, "dbx-action-progress", never, {}, {}, never, never, false>;
|
|
5
|
-
}
|