@dereekb/dbx-web 13.12.3 → 13.12.5
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/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/dbx-web/eslint",
|
|
3
|
-
"version": "13.12.
|
|
3
|
+
"version": "13.12.5",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@dereekb/util": "13.12.
|
|
5
|
+
"@dereekb/util": "13.12.5",
|
|
6
6
|
"@typescript-eslint/utils": "8.59.3"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@angular/core": "21.2.11",
|
|
10
|
-
"@dereekb/dbx-core": "13.12.
|
|
11
|
-
"@dereekb/rxjs": "13.12.
|
|
10
|
+
"@dereekb/dbx-core": "13.12.5",
|
|
11
|
+
"@dereekb/rxjs": "13.12.5",
|
|
12
12
|
"@typescript-eslint/parser": "8.59.3",
|
|
13
13
|
"eslint": "10.4.0",
|
|
14
14
|
"rxjs": "^7.8.2"
|
|
@@ -17791,6 +17791,19 @@ const DBX_PDF_MERGE_EDITOR_CONFIG = new InjectionToken('DBX_PDF_MERGE_EDITOR_CON
|
|
|
17791
17791
|
function provideDbxPdfMergeEditorConfig(config) {
|
|
17792
17792
|
return { provide: DBX_PDF_MERGE_EDITOR_CONFIG, useValue: config };
|
|
17793
17793
|
}
|
|
17794
|
+
/**
|
|
17795
|
+
* Injection token that, when bound to `true`, makes `<dbx-pdf-merge-editor-file-upload>` slots skip their default `ngOnDestroy` cleanup (which removes the slot's entries from the shared store). Use when slots are hosted inside an ephemeral container — for example, the PDF merge upload dialog — and the store outlives that container, so the user's selection should survive when the container is torn down. Defaults to `false` (slot destroy removes its entries) which keeps the in-page editor's behavior for the common case where adding/removing a slot via `@if` should drop its entries with it.
|
|
17796
|
+
*/
|
|
17797
|
+
const DBX_PDF_MERGE_EDITOR_PRESERVE_ENTRIES_ON_SLOT_DESTROY = new InjectionToken('DBX_PDF_MERGE_EDITOR_PRESERVE_ENTRIES_ON_SLOT_DESTROY');
|
|
17798
|
+
/**
|
|
17799
|
+
* Helper that returns a {@link Provider} binding {@link DBX_PDF_MERGE_EDITOR_PRESERVE_ENTRIES_ON_SLOT_DESTROY}.
|
|
17800
|
+
*
|
|
17801
|
+
* @param preserve - When `true`, descendant `<dbx-pdf-merge-editor-file-upload>` slots skip the destroy-time entry removal. Defaults to `true` because that is the value callers typically want when they bother to reach for the helper.
|
|
17802
|
+
* @returns Provider entry suitable for inclusion in `providers`.
|
|
17803
|
+
*/
|
|
17804
|
+
function provideDbxPdfMergeEditorPreserveEntriesOnSlotDestroy(preserve = true) {
|
|
17805
|
+
return { provide: DBX_PDF_MERGE_EDITOR_PRESERVE_ENTRIES_ON_SLOT_DESTROY, useValue: preserve };
|
|
17806
|
+
}
|
|
17794
17807
|
|
|
17795
17808
|
const TEXT_DECODER = new TextDecoder('latin1');
|
|
17796
17809
|
const FORMAT_KILOBYTE = 1024;
|
|
@@ -18201,6 +18214,55 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
18201
18214
|
type: Injectable
|
|
18202
18215
|
}], ctorParameters: () => [] });
|
|
18203
18216
|
|
|
18217
|
+
/**
|
|
18218
|
+
* Provides a {@link DbxPdfMergeEditorStore} on its host element so descendant components (including {@link DbxPdfMergeUploadButtonComponent} and any dialog opened with the host's injector) share the same store instance. Optionally pushes configuration onto the store via inputs.
|
|
18219
|
+
*
|
|
18220
|
+
* The directive only writes to {@link DbxPdfMergeEditorStore.setOutputSizeLimit} when {@link outputSizeLimit} or {@link config}'s `outputSizeLimits.errorBytes` is explicitly bound — leaving the embedded {@link DbxPdfMergeEditorComponent}'s own effect free to handle the case where the editor is configured directly. Falls back to the workspace-wide {@link DBX_PDF_MERGE_EDITOR_CONFIG} token when neither input is set.
|
|
18221
|
+
*
|
|
18222
|
+
* @example
|
|
18223
|
+
* ```html
|
|
18224
|
+
* <div dbxPdfMergeEditorStore [config]="{ outputSizeLimits: { errorBytes: 8 * 1024 * 1024 } }">
|
|
18225
|
+
* <dbx-pdf-merge-upload-button></dbx-pdf-merge-upload-button>
|
|
18226
|
+
* </div>
|
|
18227
|
+
* ```
|
|
18228
|
+
*/
|
|
18229
|
+
class DbxPdfMergeEditorStoreDirective {
|
|
18230
|
+
store = inject(DbxPdfMergeEditorStore);
|
|
18231
|
+
_injectedConfig = inject(DBX_PDF_MERGE_EDITOR_CONFIG, { optional: true });
|
|
18232
|
+
config = input(...(ngDevMode ? [undefined, { debugName: "config" }] : /* istanbul ignore next */ []));
|
|
18233
|
+
outputSizeLimit = input(...(ngDevMode ? [undefined, { debugName: "outputSizeLimit" }] : /* istanbul ignore next */ []));
|
|
18234
|
+
effectiveErrorBytesSignal = computed(() => {
|
|
18235
|
+
const direct = this.outputSizeLimit();
|
|
18236
|
+
if (direct != null) {
|
|
18237
|
+
return direct;
|
|
18238
|
+
}
|
|
18239
|
+
const fromInput = this.config()?.outputSizeLimits?.errorBytes;
|
|
18240
|
+
if (fromInput != null) {
|
|
18241
|
+
return fromInput;
|
|
18242
|
+
}
|
|
18243
|
+
return this._injectedConfig?.outputSizeLimits?.errorBytes;
|
|
18244
|
+
}, ...(ngDevMode ? [{ debugName: "effectiveErrorBytesSignal" }] : /* istanbul ignore next */ []));
|
|
18245
|
+
constructor() {
|
|
18246
|
+
effect(() => {
|
|
18247
|
+
const errorBytes = this.effectiveErrorBytesSignal();
|
|
18248
|
+
if (errorBytes != null) {
|
|
18249
|
+
this.store.setOutputSizeLimit(errorBytes);
|
|
18250
|
+
}
|
|
18251
|
+
});
|
|
18252
|
+
}
|
|
18253
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxPdfMergeEditorStoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
18254
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.11", type: DbxPdfMergeEditorStoreDirective, isStandalone: true, selector: "[dbxPdfMergeEditorStore]", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null }, outputSizeLimit: { classPropertyName: "outputSizeLimit", publicName: "outputSizeLimit", isSignal: true, isRequired: false, transformFunction: null } }, providers: [DbxPdfMergeEditorStore], exportAs: ["dbxPdfMergeEditorStore"], ngImport: i0 });
|
|
18255
|
+
}
|
|
18256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxPdfMergeEditorStoreDirective, decorators: [{
|
|
18257
|
+
type: Directive,
|
|
18258
|
+
args: [{
|
|
18259
|
+
selector: '[dbxPdfMergeEditorStore]',
|
|
18260
|
+
standalone: true,
|
|
18261
|
+
providers: [DbxPdfMergeEditorStore],
|
|
18262
|
+
exportAs: 'dbxPdfMergeEditorStore'
|
|
18263
|
+
}]
|
|
18264
|
+
}], ctorParameters: () => [], propDecorators: { config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }], outputSizeLimit: [{ type: i0.Input, args: [{ isSignal: true, alias: "outputSizeLimit", required: false }] }] } });
|
|
18265
|
+
|
|
18204
18266
|
const PDF_ICON = 'picture_as_pdf';
|
|
18205
18267
|
const IMAGE_ICON = 'image';
|
|
18206
18268
|
const ERROR_ICON = 'error';
|
|
@@ -18703,6 +18765,7 @@ class DbxPdfMergeEditorFileUploadComponent {
|
|
|
18703
18765
|
store = inject(DbxPdfMergeEditorStore);
|
|
18704
18766
|
_validator = inject(DbxPdfMergeEditorFileUploadValidatorDirective, { optional: true });
|
|
18705
18767
|
_injectedConfig = inject(DBX_PDF_MERGE_EDITOR_CONFIG, { optional: true });
|
|
18768
|
+
_preserveEntriesOnDestroy = inject(DBX_PDF_MERGE_EDITOR_PRESERVE_ENTRIES_ON_SLOT_DESTROY, { optional: true }) ?? false;
|
|
18706
18769
|
slotId = input.required(...(ngDevMode ? [{ debugName: "slotId" }] : /* istanbul ignore next */ []));
|
|
18707
18770
|
config = input(...(ngDevMode ? [undefined, { debugName: "config" }] : /* istanbul ignore next */ []));
|
|
18708
18771
|
acceptSignal = computed(() => this.config()?.accept ?? DEFAULT_PDF_MERGE_ACCEPT, ...(ngDevMode ? [{ debugName: "acceptSignal" }] : /* istanbul ignore next */ []));
|
|
@@ -18794,7 +18857,13 @@ class DbxPdfMergeEditorFileUploadComponent {
|
|
|
18794
18857
|
}
|
|
18795
18858
|
ngOnDestroy() {
|
|
18796
18859
|
this._validator?.unregisterSlot(this);
|
|
18797
|
-
|
|
18860
|
+
// Default behavior: removing a slot from a template (e.g. via `@if`) also drops the slot's
|
|
18861
|
+
// entries from the store. Opt out by providing `DBX_PDF_MERGE_EDITOR_PRESERVE_ENTRIES_ON_SLOT_DESTROY`
|
|
18862
|
+
// (the PDF merge upload dialog supplies it automatically so dialog-hosted slots preserve
|
|
18863
|
+
// entries when the dialog tears down, while the user's selection lives on the ancestor store).
|
|
18864
|
+
if (!this._preserveEntriesOnDestroy) {
|
|
18865
|
+
this.store.removeEntriesBySlotId(this.slotId());
|
|
18866
|
+
}
|
|
18798
18867
|
}
|
|
18799
18868
|
onDrop(event) {
|
|
18800
18869
|
this.store.moveEntryWithinSlot({
|
|
@@ -18924,6 +18993,192 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
18924
18993
|
}]
|
|
18925
18994
|
}], propDecorators: { targetState: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxPdfMergeEditorFileUploadHasState", required: false }] }] } });
|
|
18926
18995
|
|
|
18996
|
+
const DEFAULT_UPLOAD_FOOTER_ICON = 'cloud_upload';
|
|
18997
|
+
const DEFAULT_UPLOAD_FOOTER_TEXT = 'Upload';
|
|
18998
|
+
const DEFAULT_UPLOAD_FOOTER_COLOR = 'primary';
|
|
18999
|
+
const DEFAULT_UPLOAD_FOOTER_RAISED = true;
|
|
19000
|
+
/**
|
|
19001
|
+
* Dialog content that hosts the PDF merge editor (or a caller-supplied alternative) inside a {@link MatDialog}. Closes with the merged {@link Blob} when the user clicks the footer Upload button.
|
|
19002
|
+
*
|
|
19003
|
+
* The dialog inherits its caller's injector via {@link MatDialog.open}'s `injector` option, so an ancestor-provided {@link DbxPdfMergeEditorStore} is shared with the embedded editor. The footer Upload button is disabled while the store reports invalid (`isValid$ === false`) or while there are no ready entries, and renders a spinner while validation is in flight. Closing the dialog without uploading leaves the store's entries intact so the user can reopen and resume.
|
|
19004
|
+
*
|
|
19005
|
+
* Use {@link DbxPdfMergeUploadButtonComponent} to open this dialog with the canonical configuration, or call {@link DbxPdfMergeUploadDialogComponent.openDialog} directly.
|
|
19006
|
+
*/
|
|
19007
|
+
class DbxPdfMergeUploadDialogComponent extends AbstractDialogDirective {
|
|
19008
|
+
store = inject(DbxPdfMergeEditorStore);
|
|
19009
|
+
componentConfigSignal = computed(() => this.data?.componentConfig, ...(ngDevMode ? [{ debugName: "componentConfigSignal" }] : /* istanbul ignore next */ []));
|
|
19010
|
+
showUploadButtonSignal = computed(() => this.data?.showUploadButton !== false, ...(ngDevMode ? [{ debugName: "showUploadButtonSignal" }] : /* istanbul ignore next */ []));
|
|
19011
|
+
uploadIconSignal = computed(() => this.data?.uploadButtonConfig?.icon ?? DEFAULT_UPLOAD_FOOTER_ICON, ...(ngDevMode ? [{ debugName: "uploadIconSignal" }] : /* istanbul ignore next */ []));
|
|
19012
|
+
uploadTextSignal = computed(() => this.data?.uploadButtonConfig?.text ?? DEFAULT_UPLOAD_FOOTER_TEXT, ...(ngDevMode ? [{ debugName: "uploadTextSignal" }] : /* istanbul ignore next */ []));
|
|
19013
|
+
uploadStyleSignal = computed(() => this.data?.uploadButtonConfig?.style, ...(ngDevMode ? [{ debugName: "uploadStyleSignal" }] : /* istanbul ignore next */ []));
|
|
19014
|
+
uploadColorSignal = computed(() => this.data?.uploadButtonConfig?.color ?? DEFAULT_UPLOAD_FOOTER_COLOR, ...(ngDevMode ? [{ debugName: "uploadColorSignal" }] : /* istanbul ignore next */ []));
|
|
19015
|
+
uploadRaisedSignal = computed(() => this.data?.uploadButtonConfig?.raised ?? DEFAULT_UPLOAD_FOOTER_RAISED, ...(ngDevMode ? [{ debugName: "uploadRaisedSignal" }] : /* istanbul ignore next */ []));
|
|
19016
|
+
uploadFlatSignal = computed(() => this.data?.uploadButtonConfig?.flat ?? false, ...(ngDevMode ? [{ debugName: "uploadFlatSignal" }] : /* istanbul ignore next */ []));
|
|
19017
|
+
uploadStrokedSignal = computed(() => this.data?.uploadButtonConfig?.stroked ?? false, ...(ngDevMode ? [{ debugName: "uploadStrokedSignal" }] : /* istanbul ignore next */ []));
|
|
19018
|
+
uploadTonalSignal = computed(() => this.data?.uploadButtonConfig?.tonal ?? false, ...(ngDevMode ? [{ debugName: "uploadTonalSignal" }] : /* istanbul ignore next */ []));
|
|
19019
|
+
uploadBasicSignal = computed(() => this.data?.uploadButtonConfig?.basic ?? false, ...(ngDevMode ? [{ debugName: "uploadBasicSignal" }] : /* istanbul ignore next */ []));
|
|
19020
|
+
uploadWorkingSignal = toSignal(this.store.isValidating$, { initialValue: false });
|
|
19021
|
+
_hasReadyEntriesSignal = toSignal(this.store.hasReadyEntries$, { initialValue: false });
|
|
19022
|
+
_isValidSignal = toSignal(this.store.isValid$, { initialValue: true });
|
|
19023
|
+
uploadDisabledSignal = computed(() => {
|
|
19024
|
+
const hasReady = this._hasReadyEntriesSignal();
|
|
19025
|
+
const isValid = this._isValidSignal();
|
|
19026
|
+
return !hasReady || !isValid;
|
|
19027
|
+
}, ...(ngDevMode ? [{ debugName: "uploadDisabledSignal" }] : /* istanbul ignore next */ []));
|
|
19028
|
+
confirmUpload() {
|
|
19029
|
+
this.store.mergeOutput$.pipe(first()).subscribe((blob) => this.close(blob));
|
|
19030
|
+
}
|
|
19031
|
+
static openDialog(matDialog, config) {
|
|
19032
|
+
return matDialog.open(DbxPdfMergeUploadDialogComponent, {
|
|
19033
|
+
panelClass: ['dbx-pdf-merge-upload-dialog'],
|
|
19034
|
+
width: '90vw',
|
|
19035
|
+
height: '90vh',
|
|
19036
|
+
maxWidth: '1200px',
|
|
19037
|
+
maxHeight: '900px',
|
|
19038
|
+
injector: config.injector,
|
|
19039
|
+
data: config
|
|
19040
|
+
});
|
|
19041
|
+
}
|
|
19042
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxPdfMergeUploadDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
19043
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: DbxPdfMergeUploadDialogComponent, isStandalone: true, selector: "dbx-pdf-merge-upload-dialog", host: { classAttribute: "dbx-pdf-merge-upload-dialog" }, providers: [provideDbxPdfMergeEditorPreserveEntriesOnSlotDestroy(true)], usesInheritance: true, ngImport: i0, template: `
|
|
19044
|
+
<dbx-dialog-content>
|
|
19045
|
+
<dbx-dialog-content-close (close)="close()"></dbx-dialog-content-close>
|
|
19046
|
+
@if (componentConfigSignal(); as componentConfig) {
|
|
19047
|
+
<dbx-injection [config]="componentConfig"></dbx-injection>
|
|
19048
|
+
} @else {
|
|
19049
|
+
<dbx-pdf-merge-editor [showPreviewButton]="true" [showDownloadButton]="false"></dbx-pdf-merge-editor>
|
|
19050
|
+
}
|
|
19051
|
+
@if (showUploadButtonSignal()) {
|
|
19052
|
+
<div class="dbx-pdf-merge-upload-dialog-footer">
|
|
19053
|
+
<dbx-button [icon]="uploadIconSignal()" [text]="uploadTextSignal()" [buttonStyle]="uploadStyleSignal()" [color]="uploadColorSignal()" [raised]="uploadRaisedSignal()" [flat]="uploadFlatSignal()" [stroked]="uploadStrokedSignal()" [tonal]="uploadTonalSignal()" [basic]="uploadBasicSignal()" [working]="uploadWorkingSignal()" [disabled]="uploadDisabledSignal()" (buttonClick)="confirmUpload()"></dbx-button>
|
|
19054
|
+
</div>
|
|
19055
|
+
}
|
|
19056
|
+
</dbx-dialog-content>
|
|
19057
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: DbxDialogContentDirective, selector: "dbx-dialog-content,[dbxDialogContent],.dbx-dialog-content", inputs: ["width"] }, { kind: "component", type: DbxDialogContentCloseComponent, selector: "dbx-dialog-content-close", inputs: ["padded"], outputs: ["close"] }, { kind: "component", type: DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "component", type: DbxPdfMergeEditorComponent, selector: "dbx-pdf-merge-editor", inputs: ["accept", "multiple", "fileName", "showDownloadButton", "showPreviewButton", "downloadButton", "showAddFiles", "showFileList", "config"], outputs: ["entriesChanged"] }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
19058
|
+
}
|
|
19059
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxPdfMergeUploadDialogComponent, decorators: [{
|
|
19060
|
+
type: Component,
|
|
19061
|
+
args: [{
|
|
19062
|
+
selector: 'dbx-pdf-merge-upload-dialog',
|
|
19063
|
+
template: `
|
|
19064
|
+
<dbx-dialog-content>
|
|
19065
|
+
<dbx-dialog-content-close (close)="close()"></dbx-dialog-content-close>
|
|
19066
|
+
@if (componentConfigSignal(); as componentConfig) {
|
|
19067
|
+
<dbx-injection [config]="componentConfig"></dbx-injection>
|
|
19068
|
+
} @else {
|
|
19069
|
+
<dbx-pdf-merge-editor [showPreviewButton]="true" [showDownloadButton]="false"></dbx-pdf-merge-editor>
|
|
19070
|
+
}
|
|
19071
|
+
@if (showUploadButtonSignal()) {
|
|
19072
|
+
<div class="dbx-pdf-merge-upload-dialog-footer">
|
|
19073
|
+
<dbx-button [icon]="uploadIconSignal()" [text]="uploadTextSignal()" [buttonStyle]="uploadStyleSignal()" [color]="uploadColorSignal()" [raised]="uploadRaisedSignal()" [flat]="uploadFlatSignal()" [stroked]="uploadStrokedSignal()" [tonal]="uploadTonalSignal()" [basic]="uploadBasicSignal()" [working]="uploadWorkingSignal()" [disabled]="uploadDisabledSignal()" (buttonClick)="confirmUpload()"></dbx-button>
|
|
19074
|
+
</div>
|
|
19075
|
+
}
|
|
19076
|
+
</dbx-dialog-content>
|
|
19077
|
+
`,
|
|
19078
|
+
host: {
|
|
19079
|
+
class: 'dbx-pdf-merge-upload-dialog'
|
|
19080
|
+
},
|
|
19081
|
+
providers: [provideDbxPdfMergeEditorPreserveEntriesOnSlotDestroy(true)],
|
|
19082
|
+
standalone: true,
|
|
19083
|
+
imports: [DbxDialogContentDirective, DbxDialogContentCloseComponent, DbxInjectionComponent, DbxPdfMergeEditorComponent, DbxButtonComponent],
|
|
19084
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
19085
|
+
}]
|
|
19086
|
+
}] });
|
|
19087
|
+
|
|
19088
|
+
/**
|
|
19089
|
+
* Drop-in interceptor for a stock `<dbx-button>` that opens {@link DbxPdfMergeUploadDialogComponent} on click. The click is allowed to propagate (so a sibling `dbxActionButton` can call `source.trigger()`) only when the user confirms the upload from inside the dialog — closing the dialog without confirming drops the click.
|
|
19090
|
+
*
|
|
19091
|
+
* Action-blind by design — this directive only links a `<dbx-button>` to the merge dialog. To bridge the result into a surrounding `dbxAction`, compose with {@link DbxPdfMergeUploadActionDirective} (`[dbxPdfMergeUploadAction]`), which listens for the action's `triggered$` and supplies `store.mergeOutput$` to `source.readyValue()`. The trio composes on a stock `<dbx-button>` alongside `dbxActionButton`:
|
|
19092
|
+
*
|
|
19093
|
+
* - Host `<dbx-button>` owns its own appearance (`text`, `icon`, `raised`, `color`, …).
|
|
19094
|
+
* - `dbxActionButton` drives `working`/`disabled` from the action and calls `source.trigger()` on click.
|
|
19095
|
+
* - `dbxPdfMergeUploadButton` (this directive) intercepts the click, opens the dialog, and resolves the interceptor with `true` only when the user confirms.
|
|
19096
|
+
* - `dbxPdfMergeUploadAction` reacts to `source.triggered$` by pulling the latest `store.mergeOutput$` into `source.readyValue(blob)` so the action handler runs with the merged PDF.
|
|
19097
|
+
*
|
|
19098
|
+
* An ancestor-provided {@link DbxPdfMergeEditorStore} is required — supply via {@link DbxPdfMergeEditorStoreDirective} on a wrapping element, or `providers: [DbxPdfMergeEditorStore]` on the parent component.
|
|
19099
|
+
*
|
|
19100
|
+
* @example
|
|
19101
|
+
* ```html
|
|
19102
|
+
* <div dbxAction [dbxActionHandler]="handleUpload">
|
|
19103
|
+
* <div dbxPdfMergeEditorStore [config]="storeConfig">
|
|
19104
|
+
* <dbx-button text="Upload PDF" icon="picture_as_pdf" raised color="primary" dbxActionButton dbxPdfMergeUploadAction [dbxPdfMergeUploadButton]="buttonConfig"></dbx-button>
|
|
19105
|
+
* </div>
|
|
19106
|
+
* </div>
|
|
19107
|
+
* ```
|
|
19108
|
+
*/
|
|
19109
|
+
class DbxPdfMergeUploadButtonDirective {
|
|
19110
|
+
button = inject(DbxButton, { host: true });
|
|
19111
|
+
store = inject(DbxPdfMergeEditorStore);
|
|
19112
|
+
dbxPdfMergeUploadButton = input(undefined, { ...(ngDevMode ? { debugName: "dbxPdfMergeUploadButton" } : /* istanbul ignore next */ {}), transform: (value) => (value === '' ? undefined : value) });
|
|
19113
|
+
constructor() {
|
|
19114
|
+
const matDialog = inject(MatDialog);
|
|
19115
|
+
const injector = inject(Injector);
|
|
19116
|
+
this.button.setButtonInterceptor({
|
|
19117
|
+
interceptButtonClick: () => {
|
|
19118
|
+
const config = this.dbxPdfMergeUploadButton();
|
|
19119
|
+
const ref = DbxPdfMergeUploadDialogComponent.openDialog(matDialog, {
|
|
19120
|
+
injector,
|
|
19121
|
+
componentConfig: config?.customDialogContent,
|
|
19122
|
+
showUploadButton: config?.showUploadButton,
|
|
19123
|
+
uploadButtonConfig: config?.uploadButtonConfig
|
|
19124
|
+
});
|
|
19125
|
+
return ref.afterClosed().pipe(first(), map((blob) => blob != null));
|
|
19126
|
+
}
|
|
19127
|
+
});
|
|
19128
|
+
}
|
|
19129
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxPdfMergeUploadButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
19130
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.11", type: DbxPdfMergeUploadButtonDirective, isStandalone: true, selector: "[dbxPdfMergeUploadButton]", inputs: { dbxPdfMergeUploadButton: { classPropertyName: "dbxPdfMergeUploadButton", publicName: "dbxPdfMergeUploadButton", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
19131
|
+
}
|
|
19132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxPdfMergeUploadButtonDirective, decorators: [{
|
|
19133
|
+
type: Directive,
|
|
19134
|
+
args: [{
|
|
19135
|
+
selector: '[dbxPdfMergeUploadButton]',
|
|
19136
|
+
standalone: true
|
|
19137
|
+
}]
|
|
19138
|
+
}], ctorParameters: () => [], propDecorators: { dbxPdfMergeUploadButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxPdfMergeUploadButton", required: false }] }] } });
|
|
19139
|
+
|
|
19140
|
+
/**
|
|
19141
|
+
* Bridges an ancestor `dbxAction` to an ancestor {@link DbxPdfMergeEditorStore}: when the action's `triggered$` fires, the directive reads the latest `mergeOutput$` from the store and calls `source.readyValue(blob)` so the action handler runs with the merged PDF.
|
|
19142
|
+
*
|
|
19143
|
+
* Action-aware companion to {@link DbxPdfMergeUploadButtonDirective}, which is intentionally action-blind. Together with the stock `dbxActionButton`, all three compose on a single `<dbx-button>`:
|
|
19144
|
+
*
|
|
19145
|
+
* - `dbxActionButton` fires `source.trigger()` on click and reflects the action's working/disabled state on the button.
|
|
19146
|
+
* - `dbxPdfMergeUploadButton` opens the merge dialog and only allows the click to propagate if the user confirms.
|
|
19147
|
+
* - `dbxPdfMergeUploadAction` (this directive) listens for `triggered$` and supplies the store's merge output to the action.
|
|
19148
|
+
*
|
|
19149
|
+
* The trigger-then-readyValue ordering matches the canonical {@link DbxActionContextStoreSourceInstance.triggerWithValue} flow — `readyValue` is only honored after `trigger()` has moved the state out of `IDLE`, so listening to `triggered$` is what makes the value actually reach the handler.
|
|
19150
|
+
*
|
|
19151
|
+
* @example
|
|
19152
|
+
* ```html
|
|
19153
|
+
* <div dbxAction [dbxActionHandler]="handleUpload">
|
|
19154
|
+
* <div dbxPdfMergeEditorStore>
|
|
19155
|
+
* <dbx-button text="Upload PDF" raised color="primary" dbxActionButton dbxPdfMergeUploadAction dbxPdfMergeUploadButton></dbx-button>
|
|
19156
|
+
* </div>
|
|
19157
|
+
* </div>
|
|
19158
|
+
* ```
|
|
19159
|
+
*/
|
|
19160
|
+
class DbxPdfMergeUploadActionDirective {
|
|
19161
|
+
source = inject(DbxActionContextStoreSourceInstance);
|
|
19162
|
+
store = inject(DbxPdfMergeEditorStore);
|
|
19163
|
+
constructor() {
|
|
19164
|
+
cleanSubscriptionWithLockSet({
|
|
19165
|
+
lockSet: this.source.lockSet,
|
|
19166
|
+
sub: this.source.triggered$.pipe(switchMap(() => this.store.mergeOutput$.pipe(first()))).subscribe((blob) => {
|
|
19167
|
+
this.source.readyValue(blob);
|
|
19168
|
+
})
|
|
19169
|
+
});
|
|
19170
|
+
}
|
|
19171
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxPdfMergeUploadActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
19172
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.11", type: DbxPdfMergeUploadActionDirective, isStandalone: true, selector: "[dbxPdfMergeUploadAction]", ngImport: i0 });
|
|
19173
|
+
}
|
|
19174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxPdfMergeUploadActionDirective, decorators: [{
|
|
19175
|
+
type: Directive,
|
|
19176
|
+
args: [{
|
|
19177
|
+
selector: '[dbxPdfMergeUploadAction]',
|
|
19178
|
+
standalone: true
|
|
19179
|
+
}]
|
|
19180
|
+
}], ctorParameters: () => [] });
|
|
19181
|
+
|
|
18927
19182
|
// export * from './calendar'; // nothing to export
|
|
18928
19183
|
|
|
18929
19184
|
/**
|
|
@@ -19002,5 +19257,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
19002
19257
|
* Generated bundle index. Do not edit.
|
|
19003
19258
|
*/
|
|
19004
19259
|
|
|
19005
|
-
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_COLOR_CUSTOM_BG_CSS_CLASS, DBX_COLOR_CUSTOM_TEXT_CSS_CLASS, DBX_DARK_STYLE_CLASS_SUFFIX, DBX_HELP_WIDGET_ENTRY_DATA_TOKEN, DBX_LIST_ACCORDION_VIEW_COMPONENT_IMPORTS_AND_EXPORTS, DBX_LIST_GRID_VIEW_COMPONENT_IMPORTS_AND_EXPORTS, DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY, DBX_LIST_ITEM_IS_SELECTED_ITEM_MODIFIER_KEY, DBX_MODEL_VIEW_TRACKER_STORAGE_ACCESSOR_TOKEN, DBX_PDF_MERGE_EDITOR_CONFIG, DBX_PDF_MERGE_EDITOR_INITIAL_STATE, DBX_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_ANCHOR_COMPONENTS, DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY, 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_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_CHIP_TONE, DEFAULT_DBX_DETACH_KEY, 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_DISABLE_FUNCTION, DEFAULT_DBX_LIST_ITEM_IS_SELECTED_FUNCTION, DEFAULT_DBX_LIST_SCROLL_DISTANCE, DEFAULT_DBX_LIST_THROTTLE_SCROLL, DEFAULT_DBX_LIST_VIEW_META_ICON, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_SIDENAV_MENU_ICON, DEFAULT_DBX_STYLE_CONFIG_TOKEN, DEFAULT_DBX_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_WEB_FILE_PREVIEW_SERVICE_DIALOG_WITH_COMPONENT_FUNCTION, DEFAULT_DBX_WEB_FILE_PREVIEW_SERVICE_PREVIEW_COMPONENT_FUNCTION, DEFAULT_ERROR_POPOVER_KEY, DEFAULT_ERROR_WIDGET_CODE, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_IMAGE_BITMAP_TO_BLOB_ENCODER, DEFAULT_IMAGE_JPEG_QUALITY, DEFAULT_LIST_GRID_SIZE_CONFIG, DEFAULT_LIST_WRAPPER_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_PDF_MERGE_ACCEPT, 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, DbxColorService, DbxColorServiceConfig, 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, DbxIconTileComponent, DbxIconTileDirective, 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, DbxPdfMergeEditorFileUploadComponent, DbxPdfMergeEditorFileUploadHasStateDirective, DbxPdfMergeEditorFileUploadValidatorDirective, 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_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, buildPdfMergeEntrySync, catchErrorServerParams, classifyPdfMergeFile, compactModeFromInput, compareScreenMediaWidthTypes, compressImageFile, 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, formatPdfMergeEntrySize, index as fromDbxModel, injectCopyToClipboardFunction, injectCopyToClipboardFunctionWithSnackbarMessage, isDbxColorConfig, listItemModifier, makeDbxActionSnackbarDisplayConfigGeneratorFunction, mapCompactModeObs, mapValuesToValuesListItemConfigObs, mergePdfMergeEntries, index$1 as onDbxModel, openEmbedDialog, openIframeDialog, openPdfPreviewDialog, openZipPreviewDialog, overrideClickElementEffect, provideDbxDetachController, provideDbxFileUploadActionCompatable, provideDbxHelpServices, provideDbxLinkify, provideDbxListView, provideDbxListViewWrapper, provideDbxModelService, provideDbxPdfMergeEditorConfig, provideDbxProgressButtonGlobalConfig, provideDbxPromptConfirm, provideDbxRouterWebAngularRouterProviderConfig, provideDbxRouterWebUiRouterProviderConfig, provideDbxScreenMediaService, provideDbxStyleService, provideDbxValueListView, provideDbxValueListViewGroupDelegate, provideDbxValueListViewModifier, provideDbxWebFilePreviewServiceEntries, provideDbxWebPageTitleService, provideTwoColumnsContext, registerHelpContextKeysWithDbxHelpContextService, resizeSignal, resolveSideNavDisplayMode, sanitizeDbxDialogContentConfig, screenMediaWidthTypeIsActive, trackByModelKeyRef, trackByUniqueIdentifier, validatePdfMergeEntry };
|
|
19260
|
+
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_COLOR_CUSTOM_BG_CSS_CLASS, DBX_COLOR_CUSTOM_TEXT_CSS_CLASS, DBX_DARK_STYLE_CLASS_SUFFIX, DBX_HELP_WIDGET_ENTRY_DATA_TOKEN, DBX_LIST_ACCORDION_VIEW_COMPONENT_IMPORTS_AND_EXPORTS, DBX_LIST_GRID_VIEW_COMPONENT_IMPORTS_AND_EXPORTS, DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY, DBX_LIST_ITEM_IS_SELECTED_ITEM_MODIFIER_KEY, DBX_MODEL_VIEW_TRACKER_STORAGE_ACCESSOR_TOKEN, DBX_PDF_MERGE_EDITOR_CONFIG, DBX_PDF_MERGE_EDITOR_INITIAL_STATE, DBX_PDF_MERGE_EDITOR_PRESERVE_ENTRIES_ON_SLOT_DESTROY, DBX_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_ANCHOR_COMPONENTS, DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY, 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_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_CHIP_TONE, DEFAULT_DBX_DETACH_KEY, 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_DISABLE_FUNCTION, DEFAULT_DBX_LIST_ITEM_IS_SELECTED_FUNCTION, DEFAULT_DBX_LIST_SCROLL_DISTANCE, DEFAULT_DBX_LIST_THROTTLE_SCROLL, DEFAULT_DBX_LIST_VIEW_META_ICON, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_SIDENAV_MENU_ICON, DEFAULT_DBX_STYLE_CONFIG_TOKEN, DEFAULT_DBX_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_WEB_FILE_PREVIEW_SERVICE_DIALOG_WITH_COMPONENT_FUNCTION, DEFAULT_DBX_WEB_FILE_PREVIEW_SERVICE_PREVIEW_COMPONENT_FUNCTION, DEFAULT_ERROR_POPOVER_KEY, DEFAULT_ERROR_WIDGET_CODE, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_IMAGE_BITMAP_TO_BLOB_ENCODER, DEFAULT_IMAGE_JPEG_QUALITY, DEFAULT_LIST_GRID_SIZE_CONFIG, DEFAULT_LIST_WRAPPER_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_PDF_MERGE_ACCEPT, 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, DbxColorService, DbxColorServiceConfig, 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, DbxIconTileComponent, DbxIconTileDirective, 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, DbxPdfMergeEditorFileUploadComponent, DbxPdfMergeEditorFileUploadHasStateDirective, DbxPdfMergeEditorFileUploadValidatorDirective, DbxPdfMergeEditorStore, DbxPdfMergeEditorStoreDirective, DbxPdfMergeEntryComponent, DbxPdfMergeListComponent, DbxPdfMergeUploadActionDirective, DbxPdfMergeUploadButtonDirective, DbxPdfMergeUploadDialogComponent, 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_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, buildPdfMergeEntrySync, catchErrorServerParams, classifyPdfMergeFile, compactModeFromInput, compareScreenMediaWidthTypes, compressImageFile, 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, formatPdfMergeEntrySize, index as fromDbxModel, injectCopyToClipboardFunction, injectCopyToClipboardFunctionWithSnackbarMessage, isDbxColorConfig, listItemModifier, makeDbxActionSnackbarDisplayConfigGeneratorFunction, mapCompactModeObs, mapValuesToValuesListItemConfigObs, mergePdfMergeEntries, index$1 as onDbxModel, openEmbedDialog, openIframeDialog, openPdfPreviewDialog, openZipPreviewDialog, overrideClickElementEffect, provideDbxDetachController, provideDbxFileUploadActionCompatable, provideDbxHelpServices, provideDbxLinkify, provideDbxListView, provideDbxListViewWrapper, provideDbxModelService, provideDbxPdfMergeEditorConfig, provideDbxPdfMergeEditorPreserveEntriesOnSlotDestroy, provideDbxProgressButtonGlobalConfig, provideDbxPromptConfirm, provideDbxRouterWebAngularRouterProviderConfig, provideDbxRouterWebUiRouterProviderConfig, provideDbxScreenMediaService, provideDbxStyleService, provideDbxValueListView, provideDbxValueListViewGroupDelegate, provideDbxValueListViewModifier, provideDbxWebFilePreviewServiceEntries, provideDbxWebPageTitleService, provideTwoColumnsContext, registerHelpContextKeysWithDbxHelpContextService, resizeSignal, resolveSideNavDisplayMode, sanitizeDbxDialogContentConfig, screenMediaWidthTypeIsActive, trackByModelKeyRef, trackByUniqueIdentifier, validatePdfMergeEntry };
|
|
19006
19261
|
//# sourceMappingURL=dereekb-dbx-web.mjs.map
|