@dereekb/dbx-web 13.12.5 → 13.12.6

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/dbx-web",
3
- "version": "13.12.5",
3
+ "version": "13.12.6",
4
4
  "sideEffects": [
5
5
  "*.scss",
6
6
  "*.css"
@@ -13,12 +13,12 @@
13
13
  "@angular/material": "^21.2.9",
14
14
  "@angular/platform-browser": "21.2.11",
15
15
  "@cantoo/pdf-lib": "^2.6.5",
16
- "@dereekb/browser": "13.12.5",
17
- "@dereekb/date": "13.12.5",
18
- "@dereekb/dbx-core": "13.12.5",
19
- "@dereekb/rxjs": "13.12.5",
20
- "@dereekb/util": "13.12.5",
21
- "@dereekb/vitest": "13.12.5",
16
+ "@dereekb/browser": "13.12.6",
17
+ "@dereekb/date": "13.12.6",
18
+ "@dereekb/dbx-core": "13.12.6",
19
+ "@dereekb/rxjs": "13.12.6",
20
+ "@dereekb/util": "13.12.6",
21
+ "@dereekb/vitest": "13.12.6",
22
22
  "@ngbracket/ngx-layout": "^21.0.0",
23
23
  "@ngrx/component-store": "^21.1.0",
24
24
  "@ngrx/effects": "^21.1.0",
@@ -1,5 +1,5 @@
1
1
  import * as _dereekb_dbx_core from '@dereekb/dbx-core';
2
- import { DbxActionWorkOrWorkProgress, DbxActionWorkProgress, DbxActionContextStoreSourceInstance, DbxActionContextSourceReference, DbxActionSuccessHandlerFunction, AbstractTransitionWatcherDirective, AbstractDbxButtonDirective, AuthUserIdentifier, DbxInjectionComponentConfig, SegueRef, ClickableAnchor, SegueRefOrSegueRefRouterLink, DbxButtonDisplay, DbxButtonWorking, DbxButtonEcho, SimpleStorageAccessorFactory, StorageAccessor, AbstractDbxAnchorDirective, ClickableIconAnchorLink, ClickableAnchorLink, DbxInjectionTemplateConfig, ClickableAnchorLinkTree, ExpandedClickableAnchorLinkTree, AbstractTransitionDirective, ClickableAnchorLinkSegueRef, AbstractIfDirective, AbstractDbxActionValueGetterDirective, DbxButton, FilterSourceDirective, ClickablePartialFilterPreset, AbstractDbxActionHandlerDirective, ClickableFilterPresetOrPartialPreset, ClickableFilterPreset, DbxButtonInterceptor } from '@dereekb/dbx-core';
2
+ import { DbxActionWorkOrWorkProgress, DbxActionWorkProgress, DbxActionContextStoreSourceInstance, DbxActionContextSourceReference, DbxActionSuccessHandlerFunction, AbstractTransitionWatcherDirective, AbstractDbxButtonDirective, AuthUserIdentifier, DbxInjectionComponentConfig, SegueRef, ClickableAnchor, SegueRefOrSegueRefRouterLink, DbxButtonDisplay, DbxButtonWorking, DbxButtonEcho, SimpleStorageAccessorFactory, StorageAccessor, AbstractDbxAnchorDirective, ClickableIconAnchorLink, ClickableAnchorLink, DbxInjectionTemplateConfig, ClickableAnchorLinkTree, ExpandedClickableAnchorLinkTree, AbstractTransitionDirective, ClickableAnchorLinkSegueRef, AbstractIfDirective, AbstractDbxActionValueGetterDirective, DbxActionWorkable, DbxButton, FilterSourceDirective, ClickablePartialFilterPreset, AbstractDbxActionHandlerDirective, ClickableFilterPresetOrPartialPreset, ClickableFilterPreset, DbxButtonInterceptor } from '@dereekb/dbx-core';
3
3
  import * as _dereekb_dbx_web from '@dereekb/dbx-web';
4
4
  import * as _angular_core from '@angular/core';
5
5
  import { Signal, ElementRef, AfterViewInit, InjectionToken, Type, OnInit, OnDestroy, ViewContainerRef, Provider, Injector, TrackByFunction, OutputEmitterRef, OutputRef, EnvironmentProviders, TemplateRef, ComponentRef } from '@angular/core';
@@ -9929,10 +9929,10 @@ declare function fileAcceptFunction(accept: FileAcceptString | FileAcceptFilterT
9929
9929
 
9930
9930
  /**
9931
9931
  * Abstract interface for file upload components that can be controlled by the action system (disabled, working, multiple, accept states).
9932
+ *
9933
+ * Extends {@link DbxActionWorkable} (disabled/working), adding upload-specific multiple/accept controls.
9932
9934
  */
9933
- declare abstract class DbxFileUploadActionCompatable {
9934
- abstract setDisabled(disabled?: Maybe<boolean>): void;
9935
- abstract setWorking(working?: Maybe<DbxButtonWorking>): void;
9935
+ declare abstract class DbxFileUploadActionCompatable extends DbxActionWorkable {
9936
9936
  abstract setMultiple(multiple?: Maybe<boolean>): void;
9937
9937
  abstract setAccept(accept?: Maybe<FileArrayAcceptMatchConfig['accept']>): void;
9938
9938
  }
@@ -12029,16 +12029,24 @@ declare class DbxInteractionModule {
12029
12029
  }
12030
12030
 
12031
12031
  /**
12032
- * Syncs the disabled and working states from an ActionContextStoreSource to a {@link DbxFileUploadActionCompatable} component.
12032
+ * Syncs the disabled and working states from an ActionContextStoreSource to a {@link DbxActionWorkable} target.
12033
+ *
12034
+ * The target is any element that provides {@link DbxActionWorkable} -- a {@link DbxFileUploadActionCompatable}
12035
+ * file upload component, or a {@link DbxButton} (e.g. `<dbx-button>`).
12033
12036
  *
12034
12037
  * @example
12035
12038
  * ```html
12036
12039
  * <dbx-file-upload-button dbxFileUploadActionSync (filesChanged)="onFiles($event)"></dbx-file-upload-button>
12037
12040
  * ```
12041
+ *
12042
+ * @example
12043
+ * ```html
12044
+ * <dbx-button dbxFileUploadActionSync></dbx-button>
12045
+ * ```
12038
12046
  */
12039
12047
  declare class DbxFileUploadActionSyncDirective {
12040
12048
  readonly source: DbxActionContextStoreSourceInstance<any, any>;
12041
- readonly uploadCompatable: DbxFileUploadActionCompatable;
12049
+ readonly workable: DbxActionWorkable;
12042
12050
  constructor();
12043
12051
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DbxFileUploadActionSyncDirective, never>;
12044
12052
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DbxFileUploadActionSyncDirective, "[dbxFileUploadActionSync]", never, {}, {}, never, never, true, never>;