@dereekb/dbx-web 13.7.0 → 13.8.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/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web",
3
- "version": "13.7.0",
3
+ "version": "13.8.0",
4
4
  "peerDependencies": {
5
- "@angular/cdk": "21.2.3",
6
- "@angular/common": "21.2.3",
7
- "@angular/core": "21.2.3",
8
- "@angular/forms": "21.2.3",
9
- "@angular/material": "21.2.3",
10
- "@angular/platform-browser": "21.2.3",
11
- "@dereekb/browser": "13.7.0",
12
- "@dereekb/date": "13.7.0",
13
- "@dereekb/dbx-core": "13.7.0",
14
- "@dereekb/rxjs": "13.7.0",
15
- "@dereekb/util": "13.7.0",
16
- "@dereekb/vitest": "13.7.0",
5
+ "@angular/cdk": "^21.2.3",
6
+ "@angular/common": "21.2.4",
7
+ "@angular/core": "21.2.4",
8
+ "@angular/forms": "21.2.4",
9
+ "@angular/material": "^21.2.3",
10
+ "@angular/platform-browser": "21.2.4",
11
+ "@dereekb/browser": "13.8.0",
12
+ "@dereekb/date": "13.8.0",
13
+ "@dereekb/dbx-core": "13.8.0",
14
+ "@dereekb/rxjs": "13.8.0",
15
+ "@dereekb/util": "13.8.0",
16
+ "@dereekb/vitest": "13.8.0",
17
17
  "@ngbracket/ngx-layout": "^21.0.0",
18
18
  "@ngrx/component-store": "^21.0.0",
19
19
  "@ngrx/effects": "^21.0.0",
@@ -4,7 +4,7 @@ import * as _angular_core from '@angular/core';
4
4
  import { Signal, ElementRef, AfterViewInit, InjectionToken, Type, OnInit, OnDestroy, ViewContainerRef, Provider, Injector, TrackByFunction, OutputEmitterRef, OutputRef, EnvironmentProviders, TemplateRef, ComponentRef } from '@angular/core';
5
5
  import { ProgressBarMode } from '@angular/material/progress-bar';
6
6
  import * as _dereekb_util from '@dereekb/util';
7
- import { Maybe, ErrorInput, Milliseconds, GetterOrValue, Getter, CharacterPrefixSuffixCleanString, DashPrefixString, CssClass, CssToken, CssTokenVar, WebsiteUrlWithPrefix, WebsitePath, Pixels, PixelsString, DecisionFunction, ModifierMap, ArrayOrValue, Modifier, ModifierFunction, UniqueModel, CssClassesArray, PrimativeKey, SortCompareFunction, ModelKeyRef, Destroyable, UnitedStatesAddressWithContact, LabeledValue, GetterOrValueWithInput, Seconds, DestroyFunction, ReadableError, ReadableErrorWithCode, ServerError, ServerErrorResponseData, ServerErrorResponse, PromiseOrValue, SpaceSeparatedCssClasses, StringErrorCode, ModelKeyTypeNamePair, UnixDateTimeSecondsNumber, ModelKey, ModelTypeString, ContentTypeMimeType, MimeTypeWithoutParameters, ModelTypeDataPair, MapFunction, SlashPathDirectoryTreeNode, SlashPathDirectoryTreeNodeValue, SlashPathDirectoryTreeRoot, MimeTypeWildcard, MimeTypeWithSubtypeWildcardWithoutParameters, SlashPathTypedFileSuffix } from '@dereekb/util';
7
+ import { Maybe, ErrorInput, Milliseconds, GetterOrValue, Getter, CharacterPrefixSuffixCleanString, DashPrefixString, CssClass, CssToken, CssTokenVar, WebsiteUrlWithPrefix, WebsitePath, Pixels, PixelsString, DecisionFunction, ModifierMap, ArrayOrValue, Modifier, ModifierFunction, UniqueModel, CssClassesArray, PrimativeKey, SortCompareFunction, ModelKeyRef, HtmlHeaderLevel, Destroyable, UnitedStatesAddressWithContact, LabeledValue, GetterOrValueWithInput, Seconds, DestroyFunction, ReadableError, ReadableErrorWithCode, ServerError, ServerErrorResponseData, ServerErrorResponse, PromiseOrValue, SpaceSeparatedCssClasses, StringErrorCode, ModelKeyTypeNamePair, UnixDateTimeSecondsNumber, ModelKey, ModelTypeString, ContentTypeMimeType, MimeTypeWithoutParameters, ModelTypeDataPair, MapFunction, SlashPathDirectoryTreeNode, SlashPathDirectoryTreeNodeValue, SlashPathDirectoryTreeRoot, MimeTypeWildcard, MimeTypeWithSubtypeWildcardWithoutParameters, SlashPathTypedFileSuffix } from '@dereekb/util';
8
8
  import { ProgressSpinnerMode } from '@angular/material/progress-spinner';
9
9
  import * as dist_packages_dbx_core_types_dereekb_dbx_core from 'dist/packages/dbx-core/types/dereekb-dbx-core';
10
10
  import * as rxjs from 'rxjs';
@@ -3693,7 +3693,7 @@ declare abstract class AbstractDbxValueListViewItemComponent<T, I extends DbxVal
3693
3693
  /**
3694
3694
  * Heading level for a section header, corresponding to HTML heading elements h1 through h5.
3695
3695
  */
3696
- type DbxSectionHeaderHType = 1 | 2 | 3 | 4 | 5;
3696
+ type DbxSectionHeaderHType = Exclude<HtmlHeaderLevel, 6>;
3697
3697
  /**
3698
3698
  * Configuration object for a section header's display properties, including
3699
3699
  * heading level, text, icon, hint text, and padding options.
@@ -8262,6 +8262,7 @@ declare abstract class DbxDetachController<I = unknown> {
8262
8262
  * Creates Angular providers that register a {@link DbxDetachController} implementation for DI.
8263
8263
  *
8264
8264
  * @param sourceType - The concrete class to provide as the controller.
8265
+ * @returns An array of Angular providers that bind the source type to {@link DbxDetachController}.
8265
8266
  *
8266
8267
  * @example
8267
8268
  * ```typescript
@@ -8438,14 +8439,23 @@ declare class DbxDetachService {
8438
8439
  private readonly _entries$;
8439
8440
  /**
8440
8441
  * Initializes a detached component for the given key. Returns the existing instance if one already exists.
8442
+ *
8443
+ * @param config - The detach configuration including component class, key, and overlay settings.
8444
+ * @returns The new or existing {@link DbxDetachInstance} for the given key.
8441
8445
  */
8442
8446
  init<T>(config: DbxDetachConfig<T>): DbxDetachInstance<T>;
8443
8447
  /**
8444
8448
  * Gets the instance for the given key, if it exists.
8449
+ *
8450
+ * @param key - The detach key to look up. Defaults to {@link DBX_DETACH_DEFAULT_KEY}.
8451
+ * @returns The instance if found, otherwise `undefined`.
8445
8452
  */
8446
8453
  get<T = unknown>(key?: DbxDetachKey): Maybe<DbxDetachInstance<T>>;
8447
8454
  /**
8448
8455
  * Observable of whether an entry exists for the given key.
8456
+ *
8457
+ * @param key - The detach key to observe. Defaults to {@link DBX_DETACH_DEFAULT_KEY}.
8458
+ * @returns An observable that emits `true` when an entry exists for the key.
8449
8459
  */
8450
8460
  has$(key?: DbxDetachKey): Observable<boolean>;
8451
8461
  /**
@@ -8453,33 +8463,43 @@ declare class DbxDetachService {
8453
8463
  *
8454
8464
  * If no outlet element is provided, falls back to the last known outlet
8455
8465
  * (for reattaching from the overlay to the previous location).
8466
+ *
8467
+ * @param key - The detach key identifying the entry.
8468
+ * @param outletElement - The DOM element to move the component into. Falls back to the last known outlet.
8456
8469
  */
8457
8470
  attachToOutlet(key: DbxDetachKey, outletElement?: Element): void;
8458
8471
  /**
8459
8472
  * Moves the component to the floating overlay.
8473
+ *
8474
+ * @param key - The detach key identifying the entry.
8460
8475
  */
8461
8476
  detachToOverlay(key: DbxDetachKey): void;
8462
8477
  /**
8463
8478
  * Moves the component to the floating overlay in minimized state.
8479
+ *
8480
+ * @param key - The detach key identifying the entry.
8464
8481
  */
8465
8482
  minimizeToOverlay(key: DbxDetachKey): void;
8466
8483
  /**
8467
8484
  * Called when an outlet is destroyed.
8468
8485
  *
8486
+ * @param key - The detach key identifying the entry.
8487
+ * @param outletElement - The outlet element being destroyed.
8469
8488
  * @param detachToOverlay - When true, the component moves to the floating overlay.
8470
8489
  * When false, the component's DOM is removed but it stays alive in the service (hidden).
8471
8490
  */
8472
8491
  outletDestroyed(key: DbxDetachKey, outletElement: Element, detachToOverlay: boolean): void;
8473
- /**
8474
- * Destroys the component and removes it from the service.
8475
- */
8476
8492
  /**
8477
8493
  * If the last outlet is still in the DOM, reattaches the component there.
8478
8494
  * Otherwise destroys the component.
8495
+ *
8496
+ * @param key - The detach key identifying the entry.
8479
8497
  */
8480
8498
  closeOrReattach(key: DbxDetachKey): void;
8481
8499
  /**
8482
8500
  * Destroys the component and removes it from the service.
8501
+ *
8502
+ * @param key - The detach key identifying the entry to remove.
8483
8503
  */
8484
8504
  remove(key: DbxDetachKey): void;
8485
8505
  private _openOverlay;