@dereekb/dbx-web 13.10.6 → 13.10.7
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/eslint/index.cjs.default.js +1 -0
- package/eslint/index.cjs.js +1096 -0
- package/eslint/index.cjs.mjs +2 -0
- package/eslint/index.d.ts +1 -0
- package/eslint/index.esm.js +1091 -0
- package/eslint/src/index.d.ts +1 -0
- package/eslint/src/lib/index.d.ts +4 -0
- package/eslint/src/lib/no-redundant-on-destroy.rule.d.ts +40 -0
- package/eslint/src/lib/plugin.d.ts +20 -0
- package/eslint/src/lib/require-clean-subscription.rule.d.ts +79 -0
- package/eslint/src/lib/require-complete-on-destroy.rule.d.ts +33 -0
- package/eslint/src/lib/util.d.ts +256 -0
- package/fesm2022/dereekb-dbx-web-mapbox.mjs +6 -12
- package/fesm2022/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web-table.mjs +3 -3
- package/fesm2022/dereekb-dbx-web-table.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web.mjs +274 -37
- package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
- package/lib/style/_variables.scss +167 -0
- package/package.json +7 -7
- package/types/dereekb-dbx-web-mapbox.d.ts +4 -4
- package/types/dereekb-dbx-web.d.ts +280 -6
|
@@ -4,8 +4,8 @@ import { asPromise, isDefinedAndNotFalse, DASH_CHARACTER_PREFIX_INSTANCE, cssTok
|
|
|
4
4
|
import * as i1$2 from '@dereekb/dbx-core';
|
|
5
5
|
import { completeOnDestroy, clean, AbstractTransitionWatcherDirective, DbxInjectionComponent, dbxActionWorkProgress, AbstractDbxButtonDirective, hasNonTrivialChildNodes, provideDbxButton, DbxCoreButtonModule, createInjectorForInjectionComponentConfig, initInjectionComponent, AbstractDbxActionValueGetterDirective, cleanSubscription, AbstractDbxActionHandlerDirective, FilterSourceDirective, provideActionStoreSource, isClickableFilterPreset, AbstractDbxAnchorDirective, expandClickableAnchorLinkTrees, DbxCoreFilterModule, DbxButton, DbxActionContextStoreSourceInstance, cleanSubscriptionWithLockSet, DBX_INJECTION_COMPONENT_DATA, checkNgContentWrapperHasContent, cleanLoadingContext, DbxActionSourceDirective, DbxActionSuccessHandlerDirective, DbxActionDirective, transformEmptyStringInputToUndefined, isIdleActionState, canTriggerAction, DbxCoreActionModule, DbxActionButtonDirective, onDbxAppAuth, SimpleStorageAccessorFactory, mergeStaticProviders, asSegueRef, AbstractTransitionDirective, DbxRouterService, AbstractIfDirective, isSegueRefActive, anchorTypeForAnchor } from '@dereekb/dbx-core';
|
|
6
6
|
import { NgPopoverRef, NgOverlayContainerService } from 'ng-overlay-container';
|
|
7
|
-
import { of, map, BehaviorSubject, distinctUntilChanged, shareReplay, delay, Subject, first, startWith, filter, throttleTime, skip, defaultIfEmpty, combineLatest, switchMap, delayWhen, timer, asyncScheduler, from, firstValueFrom, mergeMap, race, tap, catchError, distinct, merge, exhaustMap } from 'rxjs';
|
|
8
|
-
import { LockSet, distinctUntilItemsHaveDifferentValues, filterMaybe, skipAllInitialMaybe, maybeValueFromObservableOrValue, switchMapMaybeLoadingContextStream, LoadingStateType, loadingStateType, successResult, valueFromFinishedLoadingState, loadingStateContext, initialize, asObservable, isNot, mapForEach,
|
|
7
|
+
import { of, map, BehaviorSubject, distinctUntilChanged, shareReplay, delay, Subject, first, startWith, filter, throttleTime, skip, defaultIfEmpty, combineLatest, switchMap, delayWhen, timer, asyncScheduler, from, firstValueFrom, mergeMap, race, tap, catchError, distinct, merge, exhaustMap, NEVER } from 'rxjs';
|
|
8
|
+
import { LockSet, distinctUntilItemsHaveDifferentValues, filterMaybe, skipAllInitialMaybe, maybeValueFromObservableOrValue, switchMapMaybeLoadingContextStream, LoadingStateType, loadingStateType, successResult, valueFromFinishedLoadingState, loadingStateContext, initialize, asObservable, isNot, mapForEach, switchMapMaybe, listLoadingStateContext, isLoadingStateFinishedLoading, startWithBeginLoading, loadingStateFromObs, errorResult, beginLoading, distinctUntilHasDifferentValues } from '@dereekb/rxjs';
|
|
9
9
|
import { ComponentStore } from '@ngrx/component-store';
|
|
10
10
|
import { toSignal, toObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
11
11
|
import * as i1 from '@angular/material/button';
|
|
@@ -25,7 +25,7 @@ import * as i1$6 from '@angular/material/list';
|
|
|
25
25
|
import { MatNavList, MatListItem, MatListItemIcon, MatListItemLine, MatListItemTitle, MatListModule, MatSelectionList } from '@angular/material/list';
|
|
26
26
|
import * as i2 from '@angular/material/menu';
|
|
27
27
|
import { MatMenuModule, MatMenu, MatMenuItem, MatMenuTrigger } from '@angular/material/menu';
|
|
28
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
28
|
+
import { DomSanitizer, Title } from '@angular/platform-browser';
|
|
29
29
|
import { browserObjectUrlRef } from '@dereekb/browser';
|
|
30
30
|
import { MatSnackBarRef, MAT_SNACK_BAR_DATA, MatSnackBar } from '@angular/material/snack-bar';
|
|
31
31
|
import { TransitionService } from '@uirouter/core';
|
|
@@ -421,7 +421,7 @@ class DbxPopoverComponent extends AbstractTransitionWatcherDirective {
|
|
|
421
421
|
init: this.config.init ? (instance) => this.config.init(instance, this) : undefined
|
|
422
422
|
};
|
|
423
423
|
_startedClosing = false;
|
|
424
|
-
_closing = new Subject();
|
|
424
|
+
_closing = completeOnDestroy(new Subject());
|
|
425
425
|
_triggerCloseKeys = [];
|
|
426
426
|
isClosing$ = this._closing.pipe(first(), map(() => true), startWith(false), shareReplay(1));
|
|
427
427
|
closing$ = this.isClosing$.pipe(filter((x) => x));
|
|
@@ -2786,19 +2786,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImpo
|
|
|
2786
2786
|
* ```
|
|
2787
2787
|
*/
|
|
2788
2788
|
class DbxPopoverContentComponent {
|
|
2789
|
-
hasControls = new BehaviorSubject(false);
|
|
2790
|
-
hasHeader = new BehaviorSubject(false);
|
|
2791
|
-
_height = new BehaviorSubject('');
|
|
2789
|
+
hasControls = completeOnDestroy(new BehaviorSubject(false));
|
|
2790
|
+
hasHeader = completeOnDestroy(new BehaviorSubject(false));
|
|
2791
|
+
_height = completeOnDestroy(new BehaviorSubject(''));
|
|
2792
2792
|
height$ = this._height.asObservable().pipe(throttleTime(100, undefined, { leading: true, trailing: true }));
|
|
2793
2793
|
heightSignal = toSignal(this.height$);
|
|
2794
2794
|
onResized(event) {
|
|
2795
2795
|
this._height.next(`${event.newRect.height}px`);
|
|
2796
2796
|
}
|
|
2797
|
-
ngOnDestroy() {
|
|
2798
|
-
this.hasControls.complete();
|
|
2799
|
-
this.hasHeader.complete();
|
|
2800
|
-
this._height.complete();
|
|
2801
|
-
}
|
|
2802
2797
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxPopoverContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2803
2798
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.10", type: DbxPopoverContentComponent, isStandalone: true, selector: "dbx-popover-content", ngImport: i0, template: `
|
|
2804
2799
|
<div class="d-block dbx-popover-content" (dbxResized)="onResized($event)" [style.--popoverh]="heightSignal()">
|
|
@@ -7241,7 +7236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImpo
|
|
|
7241
7236
|
* ```
|
|
7242
7237
|
*/
|
|
7243
7238
|
class DbxActionTransitionSafetyDirective {
|
|
7244
|
-
_safetyType = new BehaviorSubject(undefined);
|
|
7239
|
+
_safetyType = completeOnDestroy(new BehaviorSubject(undefined));
|
|
7245
7240
|
dbxActionTransitionSafety = input(...(ngDevMode ? [undefined, { debugName: "dbxActionTransitionSafety" }] : /* istanbul ignore next */ []));
|
|
7246
7241
|
transitionService = inject(TransitionService);
|
|
7247
7242
|
viewContainerRef = inject(ViewContainerRef);
|
|
@@ -13524,13 +13519,13 @@ class DbxListComponent {
|
|
|
13524
13519
|
hasMore$ = toObservable(this.hasMore);
|
|
13525
13520
|
_internalContentSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_internalContentSignal" }] : /* istanbul ignore next */ []));
|
|
13526
13521
|
nativeElementSignal = computed(() => this._internalContentSignal()?.elementRef?.nativeElement, ...(ngDevMode ? [{ debugName: "nativeElementSignal" }] : /* istanbul ignore next */ []));
|
|
13527
|
-
_loadMoreTrigger = new Subject();
|
|
13528
|
-
_scrollTrigger = new Subject();
|
|
13529
|
-
_loadMoreSub =
|
|
13530
|
-
_onClickSub =
|
|
13531
|
-
_disabledSub =
|
|
13532
|
-
_selectionModeSub =
|
|
13533
|
-
_onSelectionChangeSub =
|
|
13522
|
+
_loadMoreTrigger = completeOnDestroy(new Subject());
|
|
13523
|
+
_scrollTrigger = completeOnDestroy(new Subject());
|
|
13524
|
+
_loadMoreSub = cleanSubscription();
|
|
13525
|
+
_onClickSub = cleanSubscription();
|
|
13526
|
+
_disabledSub = cleanSubscription();
|
|
13527
|
+
_selectionModeSub = cleanSubscription();
|
|
13528
|
+
_onSelectionChangeSub = cleanSubscription();
|
|
13534
13529
|
currentState$ = toObservable(this.state).pipe(switchMapMaybe());
|
|
13535
13530
|
context = listLoadingStateContext({ obs: this.currentState$, showLoadingOnNoValue: false });
|
|
13536
13531
|
hasMoreFromCurrentState$ = this.currentState$.pipe(map((x) => x?.hasNextPage));
|
|
@@ -13617,12 +13612,6 @@ class DbxListComponent {
|
|
|
13617
13612
|
isEmptyLoadingSignal = toSignal(this.isEmptyLoading$);
|
|
13618
13613
|
isEndSignal = toSignal(this.isEnd$);
|
|
13619
13614
|
ngOnDestroy() {
|
|
13620
|
-
this._scrollTrigger.complete();
|
|
13621
|
-
this._loadMoreTrigger.complete();
|
|
13622
|
-
this._onClickSub.destroy();
|
|
13623
|
-
this._loadMoreSub.destroy();
|
|
13624
|
-
this._onSelectionChangeSub.destroy();
|
|
13625
|
-
this._disabledSub.destroy();
|
|
13626
13615
|
this.context.destroy();
|
|
13627
13616
|
}
|
|
13628
13617
|
getScrollPositionRelativeToBottom() {
|
|
@@ -13725,10 +13714,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImpo
|
|
|
13725
13714
|
* and emits `clickItem` and `loadMore` output events. Extend this to build custom list wrapper components.
|
|
13726
13715
|
*/
|
|
13727
13716
|
class AbstractDbxListWrapperDirective {
|
|
13728
|
-
_config = new BehaviorSubject(undefined);
|
|
13729
|
-
_stateOverride = new BehaviorSubject(undefined);
|
|
13730
|
-
_selectionModeOverride = new BehaviorSubject(undefined);
|
|
13731
|
-
_disabledOverride = new BehaviorSubject(undefined);
|
|
13717
|
+
_config = completeOnDestroy(new BehaviorSubject(undefined));
|
|
13718
|
+
_stateOverride = completeOnDestroy(new BehaviorSubject(undefined));
|
|
13719
|
+
_selectionModeOverride = completeOnDestroy(new BehaviorSubject(undefined));
|
|
13720
|
+
_disabledOverride = completeOnDestroy(new BehaviorSubject(undefined));
|
|
13732
13721
|
_selectionModeOverrideSignal = toSignal(this._selectionModeOverride.pipe(maybeValueFromObservableOrValue()));
|
|
13733
13722
|
_disabledOverrideSignal = toSignal(this._disabledOverride.pipe(maybeValueFromObservableOrValue()));
|
|
13734
13723
|
hasMore = input(undefined, ...(ngDevMode ? [{ debugName: "hasMore" }] : /* istanbul ignore next */ []));
|
|
@@ -13750,12 +13739,6 @@ class AbstractDbxListWrapperDirective {
|
|
|
13750
13739
|
constructor(initConfig) {
|
|
13751
13740
|
this._config.next(initConfig);
|
|
13752
13741
|
}
|
|
13753
|
-
ngOnDestroy() {
|
|
13754
|
-
this._config.complete();
|
|
13755
|
-
this._stateOverride.complete();
|
|
13756
|
-
this._selectionModeOverride.complete();
|
|
13757
|
-
this._disabledOverride.complete();
|
|
13758
|
-
}
|
|
13759
13742
|
setState(stateObs) {
|
|
13760
13743
|
this._stateOverride.next(stateObs);
|
|
13761
13744
|
}
|
|
@@ -15985,6 +15968,260 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImpo
|
|
|
15985
15968
|
}]
|
|
15986
15969
|
}] });
|
|
15987
15970
|
|
|
15971
|
+
/**
|
|
15972
|
+
* Builds a {@link DbxWebPageTitleDelegate} that prepends the optional rootConfig to the directive chain, then joins non-empty title segments with a separator.
|
|
15973
|
+
*
|
|
15974
|
+
* - Title: rootConfig (if set) sits at the root; the chain extends from there toward the leaf. Non-empty `title` values are joined using `separator`,
|
|
15975
|
+
* leaf-first by default. When the combined chain has no non-empty segments, `defaultTitle` is used. When `appNameSuffix` is set, it is appended with the same separator.
|
|
15976
|
+
* - Description: the leaf-most non-empty `description` across the combined chain wins. Falls back to `undefined` if no segment provides one.
|
|
15977
|
+
*
|
|
15978
|
+
* @param config - Delegate configuration.
|
|
15979
|
+
* @returns A configured {@link DbxWebPageTitleDelegate}.
|
|
15980
|
+
*
|
|
15981
|
+
* @example
|
|
15982
|
+
* ```ts
|
|
15983
|
+
* const delegate = dbxWebDefaultPageTitleDelegate({ separator: ' · ' });
|
|
15984
|
+
* delegate.buildPageTitleDetails({ chain: [{ title: 'Inbox' }], rootConfig: { title: 'MyApp' } }); // { title: 'Inbox · MyApp' }
|
|
15985
|
+
* ```
|
|
15986
|
+
*/
|
|
15987
|
+
function dbxWebDefaultPageTitleDelegate(config = {}) {
|
|
15988
|
+
const { defaultTitle = '', separator = ' | ', leafFirst = true, appNameSuffix } = config;
|
|
15989
|
+
return {
|
|
15990
|
+
buildPageTitleDetails({ chain, rootConfig }) {
|
|
15991
|
+
const fullChain = rootConfig ? [rootConfig, ...chain] : chain;
|
|
15992
|
+
const segments = [];
|
|
15993
|
+
for (const item of fullChain) {
|
|
15994
|
+
const t = item.title?.trim();
|
|
15995
|
+
if (t)
|
|
15996
|
+
segments.push(t);
|
|
15997
|
+
}
|
|
15998
|
+
const ordered = leafFirst ? [...segments].reverse() : segments;
|
|
15999
|
+
let title = ordered.length > 0 ? ordered.join(separator) : defaultTitle;
|
|
16000
|
+
if (appNameSuffix) {
|
|
16001
|
+
title = `${title}${separator}${appNameSuffix}`;
|
|
16002
|
+
}
|
|
16003
|
+
let description;
|
|
16004
|
+
for (let i = fullChain.length - 1; i >= 0; i -= 1) {
|
|
16005
|
+
const d = fullChain[i].description;
|
|
16006
|
+
if (d) {
|
|
16007
|
+
description = d;
|
|
16008
|
+
break;
|
|
16009
|
+
}
|
|
16010
|
+
}
|
|
16011
|
+
return { title, description };
|
|
16012
|
+
}
|
|
16013
|
+
};
|
|
16014
|
+
}
|
|
16015
|
+
|
|
16016
|
+
/**
|
|
16017
|
+
* Injection token for {@link DbxWebPageTitleServiceConfig}.
|
|
16018
|
+
*/
|
|
16019
|
+
const DBX_WEB_PAGE_TITLE_SERVICE_CONFIG = new InjectionToken('DBX_WEB_PAGE_TITLE_SERVICE_CONFIG');
|
|
16020
|
+
/**
|
|
16021
|
+
* Tracks all {@link DbxWebPageTitleInfoReference} values registered by `[dbxWebPageTitleInfo]` directives, identifies the active leaf,
|
|
16022
|
+
* composes its hierarchical chain, and feeds the chain through a swappable {@link DbxWebPageTitleDelegate} to produce {@link DbxWebPageTitleDetails}.
|
|
16023
|
+
*
|
|
16024
|
+
* When `isTitleSyncEnabled$` is true, the service applies `titleDetails$.title` to the document via Angular's {@link Title} service.
|
|
16025
|
+
*/
|
|
16026
|
+
class DbxWebPageTitleService {
|
|
16027
|
+
_titleService = inject(Title);
|
|
16028
|
+
_config = inject(DBX_WEB_PAGE_TITLE_SERVICE_CONFIG, { optional: true }) ?? {};
|
|
16029
|
+
_references = completeOnDestroy(new BehaviorSubject(new Set()));
|
|
16030
|
+
_delegate = completeOnDestroy(new BehaviorSubject(this._config.initialDelegate ?? dbxWebDefaultPageTitleDelegate()));
|
|
16031
|
+
_isTitleSyncEnabled = completeOnDestroy(new BehaviorSubject(this._config.initialTitleSyncEnabled ?? true));
|
|
16032
|
+
_rootConfig = completeOnDestroy(new BehaviorSubject(this._config.rootConfig));
|
|
16033
|
+
/**
|
|
16034
|
+
* Observable of all currently registered references.
|
|
16035
|
+
*/
|
|
16036
|
+
references$ = this._references.asObservable();
|
|
16037
|
+
/**
|
|
16038
|
+
* Observable of the active delegate.
|
|
16039
|
+
*/
|
|
16040
|
+
delegate$ = this._delegate.asObservable();
|
|
16041
|
+
/**
|
|
16042
|
+
* Whether the service applies `titleDetails$.title` to the document via {@link Title}.
|
|
16043
|
+
*/
|
|
16044
|
+
isTitleSyncEnabled$ = this._isTitleSyncEnabled.asObservable();
|
|
16045
|
+
/**
|
|
16046
|
+
* The default/root config supplied to the delegate alongside the directive chain. `undefined` when no root config is configured.
|
|
16047
|
+
*/
|
|
16048
|
+
rootConfig$ = this._rootConfig.asObservable();
|
|
16049
|
+
/**
|
|
16050
|
+
* The active leaf reference: the most recently registered reference whose `isLeaf$` is currently true. Emits `undefined` when no leaves exist.
|
|
16051
|
+
*/
|
|
16052
|
+
leafReference$ = this._references.pipe(switchMap((set) => {
|
|
16053
|
+
const refs = [...set];
|
|
16054
|
+
if (refs.length === 0)
|
|
16055
|
+
return of(undefined);
|
|
16056
|
+
return combineLatest(refs.map((ref) => ref.isLeaf$.pipe(map((isLeaf) => ({ ref, isLeaf }))))).pipe(map((items) => items
|
|
16057
|
+
.filter((x) => x.isLeaf)
|
|
16058
|
+
.map((x) => x.ref)
|
|
16059
|
+
.at(-1)));
|
|
16060
|
+
}), distinctUntilChanged(), shareReplay(1));
|
|
16061
|
+
/**
|
|
16062
|
+
* The directive-supplied chain (root → leaf) for the active leaf. Empty when there is no active leaf. Excludes the service-level rootConfig (delivered separately to the delegate).
|
|
16063
|
+
*/
|
|
16064
|
+
chain$ = this.leafReference$.pipe(switchMap((leaf) => leaf?.chain$ ?? of([])), shareReplay(1));
|
|
16065
|
+
/**
|
|
16066
|
+
* Final page title details produced by feeding `{ chain, rootConfig }` through the active delegate.
|
|
16067
|
+
*/
|
|
16068
|
+
titleDetails$ = combineLatest([this.chain$, this._rootConfig, this._delegate]).pipe(map(([chain, rootConfig, delegate]) => delegate.buildPageTitleDetails({ chain, rootConfig })), shareReplay(1));
|
|
16069
|
+
constructor() {
|
|
16070
|
+
const sub = this._isTitleSyncEnabled.pipe(switchMap((enabled) => (enabled ? this.titleDetails$ : NEVER))).subscribe((details) => this._titleService.setTitle(details.title));
|
|
16071
|
+
inject(DestroyRef).onDestroy(() => sub.unsubscribe());
|
|
16072
|
+
}
|
|
16073
|
+
/**
|
|
16074
|
+
* Replaces the active delegate.
|
|
16075
|
+
*
|
|
16076
|
+
* @param delegate - The new delegate.
|
|
16077
|
+
*/
|
|
16078
|
+
setDelegate(delegate) {
|
|
16079
|
+
this._delegate.next(delegate);
|
|
16080
|
+
}
|
|
16081
|
+
/**
|
|
16082
|
+
* Enables or disables auto-application of the computed title to the document.
|
|
16083
|
+
*
|
|
16084
|
+
* @param enabled - True to enable, false to disable.
|
|
16085
|
+
*/
|
|
16086
|
+
setTitleSyncEnabled(enabled) {
|
|
16087
|
+
this._isTitleSyncEnabled.next(enabled);
|
|
16088
|
+
}
|
|
16089
|
+
/**
|
|
16090
|
+
* Replaces (or clears, when `undefined`) the root/default config delivered to the delegate alongside the directive chain.
|
|
16091
|
+
*
|
|
16092
|
+
* @param config - The new root config, or `undefined` to clear it.
|
|
16093
|
+
*/
|
|
16094
|
+
setRootConfig(config) {
|
|
16095
|
+
this._rootConfig.next(config);
|
|
16096
|
+
}
|
|
16097
|
+
/**
|
|
16098
|
+
* Registers a reference. Called by {@link DbxWebPageTitleInfoDirective} on construction.
|
|
16099
|
+
*
|
|
16100
|
+
* @param reference - The reference to register.
|
|
16101
|
+
*/
|
|
16102
|
+
register(reference) {
|
|
16103
|
+
const set = this._references.value;
|
|
16104
|
+
set.add(reference);
|
|
16105
|
+
this._references.next(set);
|
|
16106
|
+
}
|
|
16107
|
+
/**
|
|
16108
|
+
* Unregisters a reference. Called by {@link DbxWebPageTitleInfoDirective} on destroy.
|
|
16109
|
+
*
|
|
16110
|
+
* @param reference - The reference to unregister.
|
|
16111
|
+
*/
|
|
16112
|
+
unregister(reference) {
|
|
16113
|
+
const set = this._references.value;
|
|
16114
|
+
set.delete(reference);
|
|
16115
|
+
this._references.next(set);
|
|
16116
|
+
}
|
|
16117
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxWebPageTitleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
16118
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxWebPageTitleService });
|
|
16119
|
+
}
|
|
16120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxWebPageTitleService, decorators: [{
|
|
16121
|
+
type: Injectable
|
|
16122
|
+
}], ctorParameters: () => [] });
|
|
16123
|
+
|
|
16124
|
+
/**
|
|
16125
|
+
* Registers a hierarchical page title segment with {@link DbxWebPageTitleService}. Multiple directives nested in the host tree
|
|
16126
|
+
* form a chain (root → leaf); the leaf's segment takes priority through the active delegate.
|
|
16127
|
+
*
|
|
16128
|
+
* The directive locates its parent of the same type via element-injector ascent (`{ skipSelf: true, optional: true }`),
|
|
16129
|
+
* mirroring Angular CDK's tree-node hierarchy pattern. Each directive maintains its own `children` set so the service can
|
|
16130
|
+
* compute which directives are leaves at any moment.
|
|
16131
|
+
*
|
|
16132
|
+
* Requires {@link provideDbxWebPageTitleService} to be set up at the application or feature scope.
|
|
16133
|
+
*
|
|
16134
|
+
* @dbxWebComponent
|
|
16135
|
+
* @dbxWebSlug page-title-info
|
|
16136
|
+
* @dbxWebCategory navigation
|
|
16137
|
+
* @dbxWebSkillRefs dbx__ref__dbx-app-structure
|
|
16138
|
+
* @dbxWebMinimalExample ```html
|
|
16139
|
+
* <div [dbxWebPageTitleInfo]="{ title: 'Docs' }"></div>
|
|
16140
|
+
* ```
|
|
16141
|
+
*
|
|
16142
|
+
* @example
|
|
16143
|
+
* ```html
|
|
16144
|
+
* <div [dbxWebPageTitleInfo]="appTitleConfigSignal()">
|
|
16145
|
+
* <ui-view>
|
|
16146
|
+
* <div [dbxWebPageTitleInfo]="pageTitleConfigSignal()">
|
|
16147
|
+
* <!-- leaf -->
|
|
16148
|
+
* </div>
|
|
16149
|
+
* </ui-view>
|
|
16150
|
+
* </div>
|
|
16151
|
+
* ```
|
|
16152
|
+
*/
|
|
16153
|
+
class DbxWebPageTitleInfoDirective {
|
|
16154
|
+
_service = inject(DbxWebPageTitleService);
|
|
16155
|
+
_parent = inject(DbxWebPageTitleInfoDirective, { skipSelf: true, optional: true });
|
|
16156
|
+
_destroyRef = inject(DestroyRef);
|
|
16157
|
+
dbxWebPageTitleInfo = input(...(ngDevMode ? [undefined, { debugName: "dbxWebPageTitleInfo" }] : /* istanbul ignore next */ []));
|
|
16158
|
+
_children = completeOnDestroy(new BehaviorSubject(new Set()));
|
|
16159
|
+
config$ = toObservable(this.dbxWebPageTitleInfo);
|
|
16160
|
+
chain$ = combineLatest([this._parent?.chain$ ?? of([]), this.config$]).pipe(map(([parentChain, config]) => (config ? [...parentChain, config] : parentChain)), shareReplay(1));
|
|
16161
|
+
isLeaf$ = this._children.pipe(map((c) => c.size === 0), shareReplay(1));
|
|
16162
|
+
constructor() {
|
|
16163
|
+
this._service.register(this);
|
|
16164
|
+
if (this._parent) {
|
|
16165
|
+
this._parent._addChild(this);
|
|
16166
|
+
}
|
|
16167
|
+
this._destroyRef.onDestroy(() => {
|
|
16168
|
+
this._service.unregister(this);
|
|
16169
|
+
this._parent?._removeChild(this);
|
|
16170
|
+
this._children.complete();
|
|
16171
|
+
});
|
|
16172
|
+
}
|
|
16173
|
+
/**
|
|
16174
|
+
* @internal Maintained by descendant directives to keep `isLeaf$` accurate.
|
|
16175
|
+
*
|
|
16176
|
+
* @param child - The descendant directive to register as a child.
|
|
16177
|
+
*/
|
|
16178
|
+
_addChild(child) {
|
|
16179
|
+
const next = new Set(this._children.value);
|
|
16180
|
+
next.add(child);
|
|
16181
|
+
this._children.next(next);
|
|
16182
|
+
}
|
|
16183
|
+
/**
|
|
16184
|
+
* @internal
|
|
16185
|
+
*
|
|
16186
|
+
* @param child - The descendant directive to unregister.
|
|
16187
|
+
*/
|
|
16188
|
+
_removeChild(child) {
|
|
16189
|
+
const next = new Set(this._children.value);
|
|
16190
|
+
next.delete(child);
|
|
16191
|
+
this._children.next(next);
|
|
16192
|
+
}
|
|
16193
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxWebPageTitleInfoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
16194
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.10", type: DbxWebPageTitleInfoDirective, isStandalone: true, selector: "[dbxWebPageTitleInfo]", inputs: { dbxWebPageTitleInfo: { classPropertyName: "dbxWebPageTitleInfo", publicName: "dbxWebPageTitleInfo", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["dbxWebPageTitleInfo"], ngImport: i0 });
|
|
16195
|
+
}
|
|
16196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DbxWebPageTitleInfoDirective, decorators: [{
|
|
16197
|
+
type: Directive,
|
|
16198
|
+
args: [{
|
|
16199
|
+
selector: '[dbxWebPageTitleInfo]',
|
|
16200
|
+
standalone: true,
|
|
16201
|
+
exportAs: 'dbxWebPageTitleInfo'
|
|
16202
|
+
}]
|
|
16203
|
+
}], ctorParameters: () => [], propDecorators: { dbxWebPageTitleInfo: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxWebPageTitleInfo", required: false }] }] } });
|
|
16204
|
+
|
|
16205
|
+
/**
|
|
16206
|
+
* Creates {@link EnvironmentProviders} that wire up {@link DbxWebPageTitleService} (and an optional
|
|
16207
|
+
* {@link DbxWebPageTitleServiceConfig}) for an app or feature scope.
|
|
16208
|
+
*
|
|
16209
|
+
* @param config - Optional service configuration.
|
|
16210
|
+
* @returns Environment providers ready to pass to `bootstrapApplication` or another `provide*` factory.
|
|
16211
|
+
*
|
|
16212
|
+
* @example
|
|
16213
|
+
* ```ts
|
|
16214
|
+
* provideDbxWebPageTitleService({ defaultTitle: 'MyApp' })
|
|
16215
|
+
* ```
|
|
16216
|
+
*/
|
|
16217
|
+
function provideDbxWebPageTitleService(config) {
|
|
16218
|
+
const providers = [DbxWebPageTitleService];
|
|
16219
|
+
if (config) {
|
|
16220
|
+
providers.push({ provide: DBX_WEB_PAGE_TITLE_SERVICE_CONFIG, useValue: config });
|
|
16221
|
+
}
|
|
16222
|
+
return makeEnvironmentProviders(providers);
|
|
16223
|
+
}
|
|
16224
|
+
|
|
15988
16225
|
/**
|
|
15989
16226
|
* Registry service for widget components. Components are registered by type identifier and resolved by {@link DbxWidgetViewComponent} to render the appropriate widget for a given type/data pair.
|
|
15990
16227
|
*
|
|
@@ -17405,5 +17642,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImpo
|
|
|
17405
17642
|
* Generated bundle index. Do not edit.
|
|
17406
17643
|
*/
|
|
17407
17644
|
|
|
17408
|
-
export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxClipboardDirective, AbstractDbxErrorWidgetComponent, AbstractDbxFileUploadComponent, AbstractDbxHelpWidgetDirective, AbstractDbxListAccordionViewDirective, AbstractDbxListGridViewDirective, AbstractDbxListViewDirective, AbstractDbxListWrapperDirective, AbstractDbxPartialPresetFilterMenuDirective, AbstractDbxSegueAnchorDirective, AbstractDbxSelectionListViewDirective, AbstractDbxSelectionListWrapperDirective, AbstractDbxValueListItemModifierDirective, AbstractDbxValueListViewDirective, AbstractDbxValueListViewItemComponent, AbstractDbxWidgetComponent, AbstractDialogDirective, AbstractFilterPopoverButtonDirective, AbstractPopoverDirective, AbstractPopoverRefDirective, AbstractPopoverRefWithEventsDirective, AbstractPopupDirective, AbstractPromptConfirmDirective, CompactContextStore, CompactMode, DBX_ACTION_SNACKBAR_DEFAULTS, DBX_ACTION_SNACKBAR_SERVICE_CONFIG, DBX_AVATAR_CONTEXT_DATA_TOKEN, DBX_CHIP_DEFAULT_TONE, DBX_DARK_STYLE_CLASS_SUFFIX, DBX_DETACH_DEFAULT_KEY, DBX_HELP_WIDGET_ENTRY_DATA_TOKEN, DBX_LIST_ACCORDION_VIEW_COMPONENT_IMPORTS_AND_EXPORTS, DBX_LIST_DEFAULT_SCROLL_DISTANCE, DBX_LIST_DEFAULT_THROTTLE_SCROLL, DBX_LIST_GRID_VIEW_COMPONENT_IMPORTS_AND_EXPORTS, DBX_LIST_ITEM_DEFAULT_DISABLE_FUNCTION, DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY, DBX_LIST_ITEM_IS_SELECTED_ITEM_MODIFIER_KEY, DBX_LIST_VIEW_DEFAULT_META_ICON, DBX_MODEL_VIEW_TRACKER_STORAGE_ACCESSOR_TOKEN, DBX_PDF_MERGE_EDITOR_INITIAL_STATE, DBX_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_ANCHOR_COMPONENTS, DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY, DBX_STYLE_DEFAULT_CONFIG_TOKEN, DBX_THEME_COLORS, DBX_THEME_COLORS_EXTRA, DBX_THEME_COLORS_EXTRA_SECONDARY, DBX_THEME_COLORS_MAIN, DBX_VALUE_LIST_VIEW_ITEM, DBX_WEB_FILE_PREVIEW_SERVICE_DEFAULT_DIALOG_WITH_COMPONENT_FUNCTION, DBX_WEB_FILE_PREVIEW_SERVICE_DEFAULT_PREVIEW_COMPONENT_FUNCTION, DBX_WEB_FILE_PREVIEW_SERVICE_ENTRIES_TOKEN, DBX_WEB_FILE_PREVIEW_SERVICE_ZIP_COMPONENT_PRESET, DBX_WEB_FILE_PREVIEW_SERVICE_ZIP_PRESET_ENTRY, DEFAULT_DBX_ERROR_SNACKBAR_CONFIG, DEFAULT_DBX_HELP_VIEW_POPOVER_KEY, DEFAULT_DBX_LINKIFY_STRING_TYPE, DEFAULT_DBX_LIST_ACCORDION_VIEW_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_LIST_GRID_VIEW_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_LIST_ITEM_IS_SELECTED_FUNCTION, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_SIDENAV_MENU_ICON, DEFAULT_DBX_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_ERROR_POPOVER_KEY, DEFAULT_ERROR_WIDGET_CODE, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_GRID_SIZE_CONFIG, DEFAULT_LIST_WRAPPER_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_TWO_COLUMNS_MIN_RIGHT_WIDTH, DEFAULT_VALUE_LIST_VIEW_CONTENT_COMPONENT_TRACK_BY_FUNCTION, DbxAccordionHeaderHeightDirective, DbxActionConfirmDirective, DbxActionDialogDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionLoadingContextDirective, DbxActionModule, DbxActionPopoverDirective, DbxActionSnackbarComponent, DbxActionSnackbarDirective, DbxActionSnackbarErrorDirective, DbxActionSnackbarModule, DbxActionSnackbarService, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorContentComponent, DbxAnchorIconComponent, DbxAnchorListComponent, DbxAngularRouterSegueAnchorComponent, DbxAvatarComponent, DbxAvatarViewService, DbxAvatarViewServiceConfig, DbxBarDirective, DbxBarHeaderComponent, DbxBarLayoutModule, DbxBasicLoadingComponent, DbxBodyDirective, DbxButtonComponent, DbxButtonModule, DbxButtonSpacerDirective, DbxCardBoxComponent, DbxCardBoxContainerDirective, DbxCardBoxLayoutModule, DbxChipDirective, DbxChipListComponent, DbxClickToCopyTextComponent, DbxClickToCopyTextDirective, DbxColorDirective, DbxColumnLayoutModule, DbxCompactDirective, DbxCompactLayoutModule, DbxContentBorderDirective, DbxContentBoxDirective, DbxContentContainerDirective, DbxContentDirective, DbxContentElevateDirective, DbxContentLayoutModule, DbxContentPageDirective, DbxContentPitDirective, DbxDetachContentComponent, DbxDetachControlButtonsComponent, DbxDetachController, DbxDetachControlsComponent, DbxDetachInitDirective, DbxDetachInteractionModule, DbxDetachOutletComponent, DbxDetachOverlayComponent, DbxDetachService, DbxDetachWindowState, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxDialogContentCloseComponent, DbxDialogContentDirective, DbxDialogContentFooterComponent, DbxDialogInteractionModule, DbxDialogModule, DbxDownloadBlobButtonComponent, DbxDownloadTextViewComponent, DbxEmbedComponent, DbxErrorComponent, DbxErrorDefaultErrorWidgetComponent, DbxErrorDetailsComponent, DbxErrorPopoverComponent, DbxErrorSnackbarComponent, DbxErrorSnackbarService, DbxErrorViewComponent, DbxErrorWidgetService, DbxErrorWidgetViewComponent, DbxFileUploadActionCompatable, DbxFileUploadActionSyncDirective, DbxFileUploadAreaComponent, DbxFileUploadButtonComponent, DbxFileUploadComponent, DbxFilterInteractionModule, DbxFilterPopoverButtonComponent, DbxFilterPopoverComponent, DbxFilterWrapperComponent, DbxFlagComponent, DbxFlagLayoutModule, DbxFlagPromptComponent, DbxFlexGroupDirective, DbxFlexLayoutModule, DbxFlexSizeDirective, DbxHelpContextDirective, DbxHelpContextService, DbxHelpViewListComponent, DbxHelpViewListEntryComponent, DbxHelpViewPopoverButtonComponent, DbxHelpViewPopoverComponent, DbxHelpWidgetService, DbxHelpWidgetServiceConfig, DbxIconButtonComponent, DbxIconButtonModule, DbxIconItemComponent, DbxIconSpacerDirective, DbxIfSidenavDisplayModeDirective, DbxIframeComponent, DbxInjectionDialogComponent, DbxInteractionModule, DbxIntroActionSectionComponent, DbxLabelBlockComponent, DbxLayoutModule, DbxLinkComponent, DbxLinkifyComponent, DbxLinkifyService, DbxLinkifyServiceConfig, DbxListAccordionViewComponentImportsModule, DbxListComponent, DbxListEmptyContentComponent, DbxListGridViewComponentImportsModule, DbxListInternalContentDirective, DbxListItemAnchorModifierDirective, DbxListItemDisableRippleModifierDirective, DbxListItemIsSelectedModifierDirective, DbxListModifierModule, DbxListModule, DbxListTitleGroupDirective, DbxListView, DbxListViewMetaIconComponent, DbxListViewWrapper, DbxListWrapperComponentImportsModule, DbxLoadingComponent, DbxLoadingErrorDirective, DbxLoadingModule, DbxLoadingProgressComponent, DbxModelObjectStateService, actions as DbxModelStateActions, model_actions as DbxModelStateModelActions, DbxModelTrackerService, DbxModelTypesService, DbxModelViewTrackerStorage, DbxNavbarComponent, DbxNumberWithLimitComponent, DbxOneColumnComponent, DbxOneColumnLayoutModule, DbxPagebarComponent, DbxPartialPresetFilterListComponent, DbxPartialPresetFilterMenuComponent, DbxPdfMergeEditorComponent, DbxPdfMergeEditorStore, DbxPdfMergeEntryComponent, DbxPdfMergeListComponent, DbxPdfPreviewComponent, DbxPopoverCloseButtonComponent, DbxPopoverComponent, DbxPopoverComponentController, DbxPopoverContentComponent, DbxPopoverController, DbxPopoverControlsDirective, DbxPopoverCoordinatorComponent, DbxPopoverCoordinatorService, DbxPopoverHeaderComponent, DbxPopoverInteractionContentModule, DbxPopoverInteractionModule, DbxPopoverScrollContentDirective, DbxPopoverService, DbxPopupComponent, DbxPopupComponentController, DbxPopupContentComponent, DbxPopupControlButtonsComponent, DbxPopupController, DbxPopupControlsComponent, DbxPopupCoordinatorComponent, DbxPopupCoordinatorService, DbxPopupInteractionModule, DbxPopupService, DbxPopupWindowState, DbxPresetFilterListComponent, DbxPresetFilterMenuComponent, DbxProgressBarButtonComponent, DbxProgressButtonsModule, DbxProgressSpinnerButtonComponent, DbxPromptBoxDirective, DbxPromptComponent, DbxPromptConfirm, DbxPromptConfirmButtonDirective, DbxPromptConfirmComponent, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective, DbxPromptModule, DbxPromptPageComponent, DbxReadableErrorModule, DbxResizedDirective, DbxRouterAnchorModule, DbxRouterLayoutModule, DbxRouterSidenavModule, DbxRouterWebProviderConfig, DbxScreenMediaService, DbxScreenMediaServiceConfig, DbxSectionComponent, DbxSectionHeaderComponent, DbxSectionLayoutModule, DbxSectionPageComponent, DbxSelectionValueListViewComponent, DbxSelectionValueListViewComponentImportsModule, DbxSelectionValueListViewContentComponent, DbxSetStyleDirective, DbxSidenavButtonComponent, DbxSidenavComponent, DbxSidenavPageComponent, DbxSidenavPagebarComponent, DbxSpacerDirective, DbxStepBlockComponent, DbxStructureDirective, DbxStructureModule, DbxStyleBodyDirective, DbxStyleDirective, DbxStyleLayoutModule, DbxStyleService, DbxSubSectionComponent, DbxTextChipsComponent, DbxTextColorDirective, DbxTextModule, DbxTwoBlockComponent, DbxTwoColumnBackDirective, DbxTwoColumnColumnHeadDirective, DbxTwoColumnComponent, DbxTwoColumnContextDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnLayoutModule, DbxTwoColumnRightComponent, DbxTwoColumnSrefDirective, DbxTwoColumnSrefShowRightDirective, DbxUIRouterSegueAnchorComponent, DbxUnitedStatesAddressComponent, DbxValueListAccordionViewComponent, DbxValueListAccordionViewContentComponent, DbxValueListAccordionViewContentGroupComponent, DbxValueListGridSizeDirective, DbxValueListGridViewComponent, DbxValueListGridViewContentComponent, DbxValueListGridViewContentGroupComponent, DbxValueListItemModifier, DbxValueListItemModifierDirective, DbxValueListView, DbxValueListViewComponent, DbxValueListViewComponentImportsModule, DbxValueListViewContentComponent, DbxValueListViewContentGroupComponent, DbxValueListViewGroupDelegate, DbxWebFilePreviewComponent, DbxWebFilePreviewService, DbxWebModule, DbxWidgetListGridComponent, DbxWidgetListGridViewComponent, DbxWidgetListGridViewItemComponent, DbxWidgetService, DbxWidgetViewComponent, DbxWindowKeyDownListenerDirective, DbxZipBlobPreviewComponent, DbxZipPreviewComponent, PDF_MERGE_DEFAULT_ACCEPT, PDF_MERGE_RESULT_MIME_TYPE, PopoverPositionStrategy, PopupGlobalPositionStrategy, SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP, SIDE_NAV_DISPLAY_MODE_ORDER, SideNavDisplayMode, TRACK_BY_MODEL_ID, TRACK_BY_MODEL_KEY, TwoColumnsContextStore, UNKNOWN_ERROR_WIDGET_CODE, addConfigToValueListItems, allDbxModelViewTrackerEventModelKeys, allDbxModelViewTrackerEventSetModelKeys, buildPdfMergeEntry, catchErrorServerParams, classifyPdfMergeFile, compactModeFromInput, compareScreenMediaWidthTypes, convertServerErrorParams, convertToPOJOServerErrorResponse, convertToServerErrorResponse, copyToClipboardFunction, dbxColorBackground, dbxListAccordionViewComponentImportsAndExports, dbxListGridViewComponentImportsAndExports, dbxPresetFilterMenuButtonIconObservable, dbxPresetFilterMenuButtonTextObservable, dbxStyleClassCleanSuffix, dbxThemeColorCssToken, dbxThemeColorCssTokenVar, dbxThemeColorCssVariable, dbxThemeColorCssVariableVar, dbxValueListItemDecisionFunction, dbxValueListItemKeyForItemValue, dbxZipBlobPreviewEntryTreeFromEntries, defaultDbxModelViewTrackerStorageAccessorFactory, defaultDbxValueListViewGroupDelegate, defaultDbxValueListViewGroupValuesFunction, disableRightClickInCdkBackdrop, fileAcceptFilterTypeStringArray, fileAcceptFunction, fileAcceptString, fileArrayAcceptMatchFunction, flattenAccordionGroups, index as fromDbxModel, injectCopyToClipboardFunction, injectCopyToClipboardFunctionWithSnackbarMessage, listItemModifier, makeDbxActionSnackbarDisplayConfigGeneratorFunction, mapCompactModeObs, mapValuesToValuesListItemConfigObs, mergePdfMergeEntries, index$1 as onDbxModel, openEmbedDialog, openIframeDialog, openPdfPreviewDialog, openZipPreviewDialog, overrideClickElementEffect, provideDbxDetachController, provideDbxFileUploadActionCompatable, provideDbxHelpServices, provideDbxLinkify, provideDbxListView, provideDbxListViewWrapper, provideDbxModelService, provideDbxProgressButtonGlobalConfig, provideDbxPromptConfirm, provideDbxRouterWebAngularRouterProviderConfig, provideDbxRouterWebUiRouterProviderConfig, provideDbxScreenMediaService, provideDbxStyleService, provideDbxValueListView, provideDbxValueListViewGroupDelegate, provideDbxValueListViewModifier, provideDbxWebFilePreviewServiceEntries, provideTwoColumnsContext, registerHelpContextKeysWithDbxHelpContextService, resizeSignal, resolveSideNavDisplayMode, sanitizeDbxDialogContentConfig, screenMediaWidthTypeIsActive, trackByModelKeyRef, trackByUniqueIdentifier, validatePdfMergeEntry };
|
|
17645
|
+
export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxClipboardDirective, AbstractDbxErrorWidgetComponent, AbstractDbxFileUploadComponent, AbstractDbxHelpWidgetDirective, AbstractDbxListAccordionViewDirective, AbstractDbxListGridViewDirective, AbstractDbxListViewDirective, AbstractDbxListWrapperDirective, AbstractDbxPartialPresetFilterMenuDirective, AbstractDbxSegueAnchorDirective, AbstractDbxSelectionListViewDirective, AbstractDbxSelectionListWrapperDirective, AbstractDbxValueListItemModifierDirective, AbstractDbxValueListViewDirective, AbstractDbxValueListViewItemComponent, AbstractDbxWidgetComponent, AbstractDialogDirective, AbstractFilterPopoverButtonDirective, AbstractPopoverDirective, AbstractPopoverRefDirective, AbstractPopoverRefWithEventsDirective, AbstractPopupDirective, AbstractPromptConfirmDirective, CompactContextStore, CompactMode, DBX_ACTION_SNACKBAR_DEFAULTS, DBX_ACTION_SNACKBAR_SERVICE_CONFIG, DBX_AVATAR_CONTEXT_DATA_TOKEN, DBX_CHIP_DEFAULT_TONE, DBX_DARK_STYLE_CLASS_SUFFIX, DBX_DETACH_DEFAULT_KEY, DBX_HELP_WIDGET_ENTRY_DATA_TOKEN, DBX_LIST_ACCORDION_VIEW_COMPONENT_IMPORTS_AND_EXPORTS, DBX_LIST_DEFAULT_SCROLL_DISTANCE, DBX_LIST_DEFAULT_THROTTLE_SCROLL, DBX_LIST_GRID_VIEW_COMPONENT_IMPORTS_AND_EXPORTS, DBX_LIST_ITEM_DEFAULT_DISABLE_FUNCTION, DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY, DBX_LIST_ITEM_IS_SELECTED_ITEM_MODIFIER_KEY, DBX_LIST_VIEW_DEFAULT_META_ICON, DBX_MODEL_VIEW_TRACKER_STORAGE_ACCESSOR_TOKEN, DBX_PDF_MERGE_EDITOR_INITIAL_STATE, DBX_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_ANCHOR_COMPONENTS, DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY, DBX_STYLE_DEFAULT_CONFIG_TOKEN, DBX_THEME_COLORS, DBX_THEME_COLORS_EXTRA, DBX_THEME_COLORS_EXTRA_SECONDARY, DBX_THEME_COLORS_MAIN, DBX_VALUE_LIST_VIEW_ITEM, DBX_WEB_FILE_PREVIEW_SERVICE_DEFAULT_DIALOG_WITH_COMPONENT_FUNCTION, DBX_WEB_FILE_PREVIEW_SERVICE_DEFAULT_PREVIEW_COMPONENT_FUNCTION, DBX_WEB_FILE_PREVIEW_SERVICE_ENTRIES_TOKEN, DBX_WEB_FILE_PREVIEW_SERVICE_ZIP_COMPONENT_PRESET, DBX_WEB_FILE_PREVIEW_SERVICE_ZIP_PRESET_ENTRY, DBX_WEB_PAGE_TITLE_SERVICE_CONFIG, DEFAULT_DBX_ERROR_SNACKBAR_CONFIG, DEFAULT_DBX_HELP_VIEW_POPOVER_KEY, DEFAULT_DBX_LINKIFY_STRING_TYPE, DEFAULT_DBX_LIST_ACCORDION_VIEW_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_LIST_GRID_VIEW_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_LIST_ITEM_IS_SELECTED_FUNCTION, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_SIDENAV_MENU_ICON, DEFAULT_DBX_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_ERROR_POPOVER_KEY, DEFAULT_ERROR_WIDGET_CODE, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_GRID_SIZE_CONFIG, DEFAULT_LIST_WRAPPER_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_TWO_COLUMNS_MIN_RIGHT_WIDTH, DEFAULT_VALUE_LIST_VIEW_CONTENT_COMPONENT_TRACK_BY_FUNCTION, DbxAccordionHeaderHeightDirective, DbxActionConfirmDirective, DbxActionDialogDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionLoadingContextDirective, DbxActionModule, DbxActionPopoverDirective, DbxActionSnackbarComponent, DbxActionSnackbarDirective, DbxActionSnackbarErrorDirective, DbxActionSnackbarModule, DbxActionSnackbarService, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorContentComponent, DbxAnchorIconComponent, DbxAnchorListComponent, DbxAngularRouterSegueAnchorComponent, DbxAvatarComponent, DbxAvatarViewService, DbxAvatarViewServiceConfig, DbxBarDirective, DbxBarHeaderComponent, DbxBarLayoutModule, DbxBasicLoadingComponent, DbxBodyDirective, DbxButtonComponent, DbxButtonModule, DbxButtonSpacerDirective, DbxCardBoxComponent, DbxCardBoxContainerDirective, DbxCardBoxLayoutModule, DbxChipDirective, DbxChipListComponent, DbxClickToCopyTextComponent, DbxClickToCopyTextDirective, DbxColorDirective, DbxColumnLayoutModule, DbxCompactDirective, DbxCompactLayoutModule, DbxContentBorderDirective, DbxContentBoxDirective, DbxContentContainerDirective, DbxContentDirective, DbxContentElevateDirective, DbxContentLayoutModule, DbxContentPageDirective, DbxContentPitDirective, DbxDetachContentComponent, DbxDetachControlButtonsComponent, DbxDetachController, DbxDetachControlsComponent, DbxDetachInitDirective, DbxDetachInteractionModule, DbxDetachOutletComponent, DbxDetachOverlayComponent, DbxDetachService, DbxDetachWindowState, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxDialogContentCloseComponent, DbxDialogContentDirective, DbxDialogContentFooterComponent, DbxDialogInteractionModule, DbxDialogModule, DbxDownloadBlobButtonComponent, DbxDownloadTextViewComponent, DbxEmbedComponent, DbxErrorComponent, DbxErrorDefaultErrorWidgetComponent, DbxErrorDetailsComponent, DbxErrorPopoverComponent, DbxErrorSnackbarComponent, DbxErrorSnackbarService, DbxErrorViewComponent, DbxErrorWidgetService, DbxErrorWidgetViewComponent, DbxFileUploadActionCompatable, DbxFileUploadActionSyncDirective, DbxFileUploadAreaComponent, DbxFileUploadButtonComponent, DbxFileUploadComponent, DbxFilterInteractionModule, DbxFilterPopoverButtonComponent, DbxFilterPopoverComponent, DbxFilterWrapperComponent, DbxFlagComponent, DbxFlagLayoutModule, DbxFlagPromptComponent, DbxFlexGroupDirective, DbxFlexLayoutModule, DbxFlexSizeDirective, DbxHelpContextDirective, DbxHelpContextService, DbxHelpViewListComponent, DbxHelpViewListEntryComponent, DbxHelpViewPopoverButtonComponent, DbxHelpViewPopoverComponent, DbxHelpWidgetService, DbxHelpWidgetServiceConfig, DbxIconButtonComponent, DbxIconButtonModule, DbxIconItemComponent, DbxIconSpacerDirective, DbxIfSidenavDisplayModeDirective, DbxIframeComponent, DbxInjectionDialogComponent, DbxInteractionModule, DbxIntroActionSectionComponent, DbxLabelBlockComponent, DbxLayoutModule, DbxLinkComponent, DbxLinkifyComponent, DbxLinkifyService, DbxLinkifyServiceConfig, DbxListAccordionViewComponentImportsModule, DbxListComponent, DbxListEmptyContentComponent, DbxListGridViewComponentImportsModule, DbxListInternalContentDirective, DbxListItemAnchorModifierDirective, DbxListItemDisableRippleModifierDirective, DbxListItemIsSelectedModifierDirective, DbxListModifierModule, DbxListModule, DbxListTitleGroupDirective, DbxListView, DbxListViewMetaIconComponent, DbxListViewWrapper, DbxListWrapperComponentImportsModule, DbxLoadingComponent, DbxLoadingErrorDirective, DbxLoadingModule, DbxLoadingProgressComponent, DbxModelObjectStateService, actions as DbxModelStateActions, model_actions as DbxModelStateModelActions, DbxModelTrackerService, DbxModelTypesService, DbxModelViewTrackerStorage, DbxNavbarComponent, DbxNumberWithLimitComponent, DbxOneColumnComponent, DbxOneColumnLayoutModule, DbxPagebarComponent, DbxPartialPresetFilterListComponent, DbxPartialPresetFilterMenuComponent, DbxPdfMergeEditorComponent, DbxPdfMergeEditorStore, DbxPdfMergeEntryComponent, DbxPdfMergeListComponent, DbxPdfPreviewComponent, DbxPopoverCloseButtonComponent, DbxPopoverComponent, DbxPopoverComponentController, DbxPopoverContentComponent, DbxPopoverController, DbxPopoverControlsDirective, DbxPopoverCoordinatorComponent, DbxPopoverCoordinatorService, DbxPopoverHeaderComponent, DbxPopoverInteractionContentModule, DbxPopoverInteractionModule, DbxPopoverScrollContentDirective, DbxPopoverService, DbxPopupComponent, DbxPopupComponentController, DbxPopupContentComponent, DbxPopupControlButtonsComponent, DbxPopupController, DbxPopupControlsComponent, DbxPopupCoordinatorComponent, DbxPopupCoordinatorService, DbxPopupInteractionModule, DbxPopupService, DbxPopupWindowState, DbxPresetFilterListComponent, DbxPresetFilterMenuComponent, DbxProgressBarButtonComponent, DbxProgressButtonsModule, DbxProgressSpinnerButtonComponent, DbxPromptBoxDirective, DbxPromptComponent, DbxPromptConfirm, DbxPromptConfirmButtonDirective, DbxPromptConfirmComponent, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective, DbxPromptModule, DbxPromptPageComponent, DbxReadableErrorModule, DbxResizedDirective, DbxRouterAnchorModule, DbxRouterLayoutModule, DbxRouterSidenavModule, DbxRouterWebProviderConfig, DbxScreenMediaService, DbxScreenMediaServiceConfig, DbxSectionComponent, DbxSectionHeaderComponent, DbxSectionLayoutModule, DbxSectionPageComponent, DbxSelectionValueListViewComponent, DbxSelectionValueListViewComponentImportsModule, DbxSelectionValueListViewContentComponent, DbxSetStyleDirective, DbxSidenavButtonComponent, DbxSidenavComponent, DbxSidenavPageComponent, DbxSidenavPagebarComponent, DbxSpacerDirective, DbxStepBlockComponent, DbxStructureDirective, DbxStructureModule, DbxStyleBodyDirective, DbxStyleDirective, DbxStyleLayoutModule, DbxStyleService, DbxSubSectionComponent, DbxTextChipsComponent, DbxTextColorDirective, DbxTextModule, DbxTwoBlockComponent, DbxTwoColumnBackDirective, DbxTwoColumnColumnHeadDirective, DbxTwoColumnComponent, DbxTwoColumnContextDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnLayoutModule, DbxTwoColumnRightComponent, DbxTwoColumnSrefDirective, DbxTwoColumnSrefShowRightDirective, DbxUIRouterSegueAnchorComponent, DbxUnitedStatesAddressComponent, DbxValueListAccordionViewComponent, DbxValueListAccordionViewContentComponent, DbxValueListAccordionViewContentGroupComponent, DbxValueListGridSizeDirective, DbxValueListGridViewComponent, DbxValueListGridViewContentComponent, DbxValueListGridViewContentGroupComponent, DbxValueListItemModifier, DbxValueListItemModifierDirective, DbxValueListView, DbxValueListViewComponent, DbxValueListViewComponentImportsModule, DbxValueListViewContentComponent, DbxValueListViewContentGroupComponent, DbxValueListViewGroupDelegate, DbxWebFilePreviewComponent, DbxWebFilePreviewService, DbxWebModule, DbxWebPageTitleInfoDirective, DbxWebPageTitleService, DbxWidgetListGridComponent, DbxWidgetListGridViewComponent, DbxWidgetListGridViewItemComponent, DbxWidgetService, DbxWidgetViewComponent, DbxWindowKeyDownListenerDirective, DbxZipBlobPreviewComponent, DbxZipPreviewComponent, PDF_MERGE_DEFAULT_ACCEPT, PDF_MERGE_RESULT_MIME_TYPE, PopoverPositionStrategy, PopupGlobalPositionStrategy, SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP, SIDE_NAV_DISPLAY_MODE_ORDER, SideNavDisplayMode, TRACK_BY_MODEL_ID, TRACK_BY_MODEL_KEY, TwoColumnsContextStore, UNKNOWN_ERROR_WIDGET_CODE, addConfigToValueListItems, allDbxModelViewTrackerEventModelKeys, allDbxModelViewTrackerEventSetModelKeys, buildPdfMergeEntry, catchErrorServerParams, classifyPdfMergeFile, compactModeFromInput, compareScreenMediaWidthTypes, convertServerErrorParams, convertToPOJOServerErrorResponse, convertToServerErrorResponse, copyToClipboardFunction, dbxColorBackground, dbxListAccordionViewComponentImportsAndExports, dbxListGridViewComponentImportsAndExports, dbxPresetFilterMenuButtonIconObservable, dbxPresetFilterMenuButtonTextObservable, dbxStyleClassCleanSuffix, dbxThemeColorCssToken, dbxThemeColorCssTokenVar, dbxThemeColorCssVariable, dbxThemeColorCssVariableVar, dbxValueListItemDecisionFunction, dbxValueListItemKeyForItemValue, dbxWebDefaultPageTitleDelegate, dbxZipBlobPreviewEntryTreeFromEntries, defaultDbxModelViewTrackerStorageAccessorFactory, defaultDbxValueListViewGroupDelegate, defaultDbxValueListViewGroupValuesFunction, disableRightClickInCdkBackdrop, fileAcceptFilterTypeStringArray, fileAcceptFunction, fileAcceptString, fileArrayAcceptMatchFunction, flattenAccordionGroups, index as fromDbxModel, injectCopyToClipboardFunction, injectCopyToClipboardFunctionWithSnackbarMessage, listItemModifier, makeDbxActionSnackbarDisplayConfigGeneratorFunction, mapCompactModeObs, mapValuesToValuesListItemConfigObs, mergePdfMergeEntries, index$1 as onDbxModel, openEmbedDialog, openIframeDialog, openPdfPreviewDialog, openZipPreviewDialog, overrideClickElementEffect, provideDbxDetachController, provideDbxFileUploadActionCompatable, provideDbxHelpServices, provideDbxLinkify, provideDbxListView, provideDbxListViewWrapper, provideDbxModelService, provideDbxProgressButtonGlobalConfig, provideDbxPromptConfirm, provideDbxRouterWebAngularRouterProviderConfig, provideDbxRouterWebUiRouterProviderConfig, provideDbxScreenMediaService, provideDbxStyleService, provideDbxValueListView, provideDbxValueListViewGroupDelegate, provideDbxValueListViewModifier, provideDbxWebFilePreviewServiceEntries, provideDbxWebPageTitleService, provideTwoColumnsContext, registerHelpContextKeysWithDbxHelpContextService, resizeSignal, resolveSideNavDisplayMode, sanitizeDbxDialogContentConfig, screenMediaWidthTypeIsActive, trackByModelKeyRef, trackByUniqueIdentifier, validatePdfMergeEntry };
|
|
17409
17646
|
//# sourceMappingURL=dereekb-dbx-web.mjs.map
|