@dereekb/dbx-web 10.0.24 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/calendar/package.json +1 -1
- package/esm2022/lib/layout/list/index.mjs +4 -1
- package/esm2022/lib/layout/list/list.grid.view.component.mjs +13 -11
- package/esm2022/lib/layout/list/list.layout.module.mjs +41 -45
- package/esm2022/lib/layout/list/list.view.value.component.mjs +126 -22
- package/esm2022/lib/layout/list/list.view.value.group.mjs +32 -0
- package/esm2022/lib/layout/list/list.view.value.group.title.directive.mjs +132 -0
- package/esm2022/lib/layout/list/list.view.value.group.title.mjs +2 -0
- package/esm2022/lib/layout/list/list.view.value.selection.component.mjs +20 -13
- package/fesm2022/dereekb-dbx-web.mjs +364 -104
- package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
- package/lib/layout/list/_list.scss +40 -0
- package/lib/layout/list/index.d.ts +3 -0
- package/lib/layout/list/list.grid.view.component.d.ts +4 -4
- package/lib/layout/list/list.layout.module.d.ts +15 -14
- package/lib/layout/list/list.view.value.component.d.ts +39 -8
- package/lib/layout/list/list.view.value.group.d.ts +44 -0
- package/lib/layout/list/list.view.value.group.title.d.ts +49 -0
- package/lib/layout/list/list.view.value.group.title.directive.d.ts +31 -0
- package/lib/layout/list/list.view.value.selection.component.d.ts +6 -5
- package/mapbox/package.json +1 -1
- package/package.json +1 -1
- package/table/package.json +1 -1
|
@@ -9,7 +9,7 @@ import { AbstractSubscriptionDirective, safeMarkForCheck, AbstractDbxButtonDirec
|
|
|
9
9
|
import ms from 'ms';
|
|
10
10
|
import * as i1 from '@angular/common';
|
|
11
11
|
import { CommonModule } from '@angular/common';
|
|
12
|
-
import { spaceSeparatedCssClasses, getValueFromGetter, mergeObjects, cssClassesSet, splitCommaSeparatedStringToSet, asPromise, objectHasNoKeys, modifier, combineMaps, addModifiers, removeModifiers, applyBestFit, findNext, filterMaybeValues, asArray, firstValue, filterUndefinedValues, isMaybeNot, isNotNullOrEmptyString, mapIterable, toReadableError, isDefaultReadableError, build, ServerErrorResponse, UnauthorizedServerErrorResponse, maybeModifierMapToFunction, ModelRelationUtility, encodeModelKeyTypePair, useIterableOrValue, MS_IN_SECOND } from '@dereekb/util';
|
|
12
|
+
import { spaceSeparatedCssClasses, getValueFromGetter, mergeObjects, cssClassesSet, splitCommaSeparatedStringToSet, asPromise, objectHasNoKeys, modifier, combineMaps, addModifiers, removeModifiers, applyBestFit, findNext, filterMaybeValues, asArray, firstValue, filterUndefinedValues, isMaybeNot, isNotNullOrEmptyString, mapIterable, toReadableError, isDefaultReadableError, build, ServerErrorResponse, UnauthorizedServerErrorResponse, maybeModifierMapToFunction, makeValuesGroupMap, compareWithMappedValuesFunction, ModelRelationUtility, encodeModelKeyTypePair, useIterableOrValue, MS_IN_SECOND } from '@dereekb/util';
|
|
13
13
|
import * as i2 from '@angular/material/button';
|
|
14
14
|
import { MatButtonModule } from '@angular/material/button';
|
|
15
15
|
import * as i3 from '@angular/material/progress-spinner';
|
|
@@ -1286,7 +1286,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1286
1286
|
type: Input
|
|
1287
1287
|
}] } });
|
|
1288
1288
|
|
|
1289
|
-
const declarations$
|
|
1289
|
+
const declarations$c = [DbxColorDirective, DbxSpacerDirective, DbxStyleDirective, DbxSetStyleDirective, DbxStyleBodyDirective];
|
|
1290
1290
|
class DbxStyleLayoutModule {
|
|
1291
1291
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxStyleLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1292
1292
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxStyleLayoutModule, declarations: [DbxColorDirective, DbxSpacerDirective, DbxStyleDirective, DbxSetStyleDirective, DbxStyleBodyDirective], imports: [CommonModule], exports: [DbxColorDirective, DbxSpacerDirective, DbxStyleDirective, DbxSetStyleDirective, DbxStyleBodyDirective] }); }
|
|
@@ -1296,8 +1296,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1296
1296
|
type: NgModule,
|
|
1297
1297
|
args: [{
|
|
1298
1298
|
imports: [CommonModule],
|
|
1299
|
-
declarations: declarations$
|
|
1300
|
-
exports: declarations$
|
|
1299
|
+
declarations: declarations$c,
|
|
1300
|
+
exports: declarations$c
|
|
1301
1301
|
}]
|
|
1302
1302
|
}] });
|
|
1303
1303
|
|
|
@@ -2237,7 +2237,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2237
2237
|
}]
|
|
2238
2238
|
}], ctorParameters: function () { return [{ type: DbxPopoverComponent }]; } });
|
|
2239
2239
|
|
|
2240
|
-
const declarations$
|
|
2240
|
+
const declarations$b = [DbxPopoverContentComponent, DbxPopoverControlsDirective, DbxPopoverHeaderComponent, DbxPopoverCloseButtonComponent, DbxPopoverScrollContentComponent];
|
|
2241
2241
|
/**
|
|
2242
2242
|
* Contains all popover content components, allowing other sibling dbx-web modules to use the directives without referencing the full popover module.
|
|
2243
2243
|
*/
|
|
@@ -2250,8 +2250,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2250
2250
|
type: NgModule,
|
|
2251
2251
|
args: [{
|
|
2252
2252
|
imports: [CommonModule, MatIconModule, MatButtonModule, MatDividerModule, DbxKeypressModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule, AngularResizeEventModule],
|
|
2253
|
-
declarations: declarations$
|
|
2254
|
-
exports: declarations$
|
|
2253
|
+
declarations: declarations$b,
|
|
2254
|
+
exports: declarations$b
|
|
2255
2255
|
}]
|
|
2256
2256
|
}] });
|
|
2257
2257
|
|
|
@@ -2294,7 +2294,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2294
2294
|
type: Input
|
|
2295
2295
|
}] } });
|
|
2296
2296
|
|
|
2297
|
-
const declarations$
|
|
2297
|
+
const declarations$a = [DbxPopoverComponent, DbxPopoverCoordinatorComponent, DbxActionPopoverDirective];
|
|
2298
2298
|
class DbxPopoverInteractionModule {
|
|
2299
2299
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxPopoverInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2300
2300
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxPopoverInteractionModule, declarations: [DbxPopoverComponent, DbxPopoverCoordinatorComponent, DbxActionPopoverDirective], imports: [CommonModule, MatIconModule, MatButtonModule, MatDividerModule, DbxKeypressModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule, AngularResizeEventModule, DbxPopoverInteractionContentModule], exports: [DbxPopoverComponent, DbxPopoverCoordinatorComponent, DbxActionPopoverDirective, DbxPopoverInteractionContentModule] }); }
|
|
@@ -2304,8 +2304,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2304
2304
|
type: NgModule,
|
|
2305
2305
|
args: [{
|
|
2306
2306
|
imports: [CommonModule, MatIconModule, MatButtonModule, MatDividerModule, DbxKeypressModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule, AngularResizeEventModule, DbxPopoverInteractionContentModule],
|
|
2307
|
-
declarations: declarations$
|
|
2308
|
-
exports: [...declarations$
|
|
2307
|
+
declarations: declarations$a,
|
|
2308
|
+
exports: [...declarations$a, DbxPopoverInteractionContentModule]
|
|
2309
2309
|
}]
|
|
2310
2310
|
}] });
|
|
2311
2311
|
|
|
@@ -3691,7 +3691,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3691
3691
|
type: Input
|
|
3692
3692
|
}] } });
|
|
3693
3693
|
|
|
3694
|
-
const declarations$
|
|
3694
|
+
const declarations$9 = [
|
|
3695
3695
|
//
|
|
3696
3696
|
DbxContentDirective,
|
|
3697
3697
|
DbxContentContainerDirective,
|
|
@@ -3729,8 +3729,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3729
3729
|
type: NgModule,
|
|
3730
3730
|
args: [{
|
|
3731
3731
|
imports: [CommonModule],
|
|
3732
|
-
declarations: declarations$
|
|
3733
|
-
exports: declarations$
|
|
3732
|
+
declarations: declarations$9,
|
|
3733
|
+
exports: declarations$9
|
|
3734
3734
|
}]
|
|
3735
3735
|
}] });
|
|
3736
3736
|
|
|
@@ -3768,7 +3768,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3768
3768
|
args: ['dbxIfSidenavDisplayMode']
|
|
3769
3769
|
}] } });
|
|
3770
3770
|
|
|
3771
|
-
const declarations$
|
|
3771
|
+
const declarations$8 = [DbxIfSidenavDisplayModeDirective, DbxSidenavComponent, DbxSidenavButtonComponent, DbxSidenavPagebarComponent, DbxSidenavPageComponent];
|
|
3772
3772
|
class DbxRouterSidenavModule {
|
|
3773
3773
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxRouterSidenavModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3774
3774
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxRouterSidenavModule, declarations: [DbxIfSidenavDisplayModeDirective, DbxSidenavComponent, DbxSidenavButtonComponent, DbxSidenavPagebarComponent, DbxSidenavPageComponent], imports: [CommonModule, DbxBarLayoutModule, DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxButtonModule, DbxContentLayoutModule, MatToolbarModule, MatButtonModule, MatIconModule, MatSidenavModule, MatListModule, MatDividerModule, UIRouterModule], exports: [DbxIfSidenavDisplayModeDirective, DbxSidenavComponent, DbxSidenavButtonComponent, DbxSidenavPagebarComponent, DbxSidenavPageComponent] }); }
|
|
@@ -3778,8 +3778,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3778
3778
|
type: NgModule,
|
|
3779
3779
|
args: [{
|
|
3780
3780
|
imports: [CommonModule, DbxBarLayoutModule, DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxButtonModule, DbxContentLayoutModule, MatToolbarModule, MatButtonModule, MatIconModule, MatSidenavModule, MatListModule, MatDividerModule, UIRouterModule],
|
|
3781
|
-
declarations: declarations$
|
|
3782
|
-
exports: declarations$
|
|
3781
|
+
declarations: declarations$8,
|
|
3782
|
+
exports: declarations$8
|
|
3783
3783
|
}]
|
|
3784
3784
|
}] });
|
|
3785
3785
|
|
|
@@ -3990,7 +3990,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3990
3990
|
}]
|
|
3991
3991
|
}] });
|
|
3992
3992
|
|
|
3993
|
-
const declarations$
|
|
3993
|
+
const declarations$7 = [DbxPartialPresetFilterListComponent, DbxPartialPresetFilterMenuComponent, DbxFilterPopoverComponent, DbxFilterPopoverButtonComponent, DbxFilterWrapperComponent, DbxPresetFilterListComponent, DbxPresetFilterMenuComponent];
|
|
3994
3994
|
class DbxFilterInteractionModule {
|
|
3995
3995
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxFilterInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3996
3996
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxFilterInteractionModule, declarations: [DbxPartialPresetFilterListComponent, DbxPartialPresetFilterMenuComponent, DbxFilterPopoverComponent, DbxFilterPopoverButtonComponent, DbxFilterWrapperComponent, DbxPresetFilterListComponent, DbxPresetFilterMenuComponent], imports: [CommonModule,
|
|
@@ -4035,8 +4035,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4035
4035
|
MatIconModule,
|
|
4036
4036
|
MatButtonModule
|
|
4037
4037
|
],
|
|
4038
|
-
declarations: declarations$
|
|
4039
|
-
exports: [...declarations$
|
|
4038
|
+
declarations: declarations$7,
|
|
4039
|
+
exports: [...declarations$7, DbxCoreFilterModule]
|
|
4040
4040
|
}]
|
|
4041
4041
|
}] });
|
|
4042
4042
|
|
|
@@ -6318,7 +6318,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6318
6318
|
}]
|
|
6319
6319
|
}] });
|
|
6320
6320
|
|
|
6321
|
-
const declarations$
|
|
6321
|
+
const declarations$6 = [DbxUnitedStatesAddressComponent, DbxChipDirective, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxNoteComponent, DbxNoticeComponent, DbxSuccessComponent, DbxWarnComponent, DbxHintComponent, DbxLabelBlockComponent, DbxLabelComponent, DbxLinkifyComponent, DbxOkComponent, DbxTextChipsComponent, DbxIconSpacerDirective, DbxFormDescriptionComponent];
|
|
6322
6322
|
class DbxTextModule {
|
|
6323
6323
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6324
6324
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxTextModule, declarations: [DbxUnitedStatesAddressComponent, DbxChipDirective, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxNoteComponent, DbxNoticeComponent, DbxSuccessComponent, DbxWarnComponent, DbxHintComponent, DbxLabelBlockComponent, DbxLabelComponent, DbxLinkifyComponent, DbxOkComponent, DbxTextChipsComponent, DbxIconSpacerDirective, DbxFormDescriptionComponent], imports: [CommonModule, MatChipsModule, MatTooltipModule, MatIconModule], exports: [DbxUnitedStatesAddressComponent, DbxChipDirective, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxNoteComponent, DbxNoticeComponent, DbxSuccessComponent, DbxWarnComponent, DbxHintComponent, DbxLabelBlockComponent, DbxLabelComponent, DbxLinkifyComponent, DbxOkComponent, DbxTextChipsComponent, DbxIconSpacerDirective, DbxFormDescriptionComponent] }); }
|
|
@@ -6328,12 +6328,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6328
6328
|
type: NgModule,
|
|
6329
6329
|
args: [{
|
|
6330
6330
|
imports: [CommonModule, MatChipsModule, MatTooltipModule, MatIconModule],
|
|
6331
|
-
declarations: declarations$
|
|
6332
|
-
exports: declarations$
|
|
6331
|
+
declarations: declarations$6,
|
|
6332
|
+
exports: declarations$6
|
|
6333
6333
|
}]
|
|
6334
6334
|
}] });
|
|
6335
6335
|
|
|
6336
|
-
const declarations$
|
|
6336
|
+
const declarations$5 = [
|
|
6337
6337
|
//
|
|
6338
6338
|
DbxReadableErrorComponent,
|
|
6339
6339
|
DbxLoadingErrorDirective,
|
|
@@ -6368,8 +6368,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6368
6368
|
type: NgModule,
|
|
6369
6369
|
args: [{
|
|
6370
6370
|
imports: [CommonModule, DbxTextModule, DbxInjectionComponentModule, DbxPopoverInteractionContentModule, MatButtonModule, MatIconModule],
|
|
6371
|
-
declarations: declarations$
|
|
6372
|
-
exports: declarations$
|
|
6371
|
+
declarations: declarations$5,
|
|
6372
|
+
exports: declarations$5
|
|
6373
6373
|
}]
|
|
6374
6374
|
}] });
|
|
6375
6375
|
|
|
@@ -6422,7 +6422,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6422
6422
|
type: Host
|
|
6423
6423
|
}] }, { type: i1$2.DbxActionContextStoreSourceInstance }]; } });
|
|
6424
6424
|
|
|
6425
|
-
const declarations$
|
|
6425
|
+
const declarations$4 = [DbxLoadingComponent, DbxBasicLoadingComponent, DbxLoadingProgressComponent, DbxActionLoadingContextDirective];
|
|
6426
6426
|
class DbxLoadingModule {
|
|
6427
6427
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6428
6428
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxLoadingModule, declarations: [DbxLoadingComponent, DbxBasicLoadingComponent, DbxLoadingProgressComponent, DbxActionLoadingContextDirective], imports: [CommonModule, DbxReadableErrorModule, MatProgressSpinnerModule, MatProgressBarModule], exports: [DbxLoadingComponent, DbxBasicLoadingComponent, DbxLoadingProgressComponent, DbxActionLoadingContextDirective, MatProgressSpinnerModule, MatProgressBarModule] }); }
|
|
@@ -6432,8 +6432,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6432
6432
|
type: NgModule,
|
|
6433
6433
|
args: [{
|
|
6434
6434
|
imports: [CommonModule, DbxReadableErrorModule, MatProgressSpinnerModule, MatProgressBarModule],
|
|
6435
|
-
declarations: declarations$
|
|
6436
|
-
exports: [...declarations$
|
|
6435
|
+
declarations: declarations$4,
|
|
6436
|
+
exports: [...declarations$4, MatProgressSpinnerModule, MatProgressBarModule]
|
|
6437
6437
|
}]
|
|
6438
6438
|
}] });
|
|
6439
6439
|
|
|
@@ -6537,6 +6537,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6537
6537
|
type: Input
|
|
6538
6538
|
}] } });
|
|
6539
6539
|
|
|
6540
|
+
const defaultDbxValueListViewGroupValuesFunction = (items) => {
|
|
6541
|
+
const data = {};
|
|
6542
|
+
const result = {
|
|
6543
|
+
id: '_',
|
|
6544
|
+
data,
|
|
6545
|
+
items
|
|
6546
|
+
};
|
|
6547
|
+
return [result];
|
|
6548
|
+
};
|
|
6549
|
+
/**
|
|
6550
|
+
* Interface for a view that renders the items of a DbxList.
|
|
6551
|
+
*/
|
|
6552
|
+
class DbxValueListViewGroupDelegate {
|
|
6553
|
+
}
|
|
6554
|
+
function defaultDbxValueListViewGroupDelegate() {
|
|
6555
|
+
const result = {
|
|
6556
|
+
groupValues: defaultDbxValueListViewGroupValuesFunction
|
|
6557
|
+
};
|
|
6558
|
+
return result;
|
|
6559
|
+
}
|
|
6560
|
+
// eslint-disable-next-line
|
|
6561
|
+
function provideDbxValueListViewGroupDelegate(sourceType) {
|
|
6562
|
+
// use of any here is allowed as typings are not relevant for providers
|
|
6563
|
+
return [
|
|
6564
|
+
{
|
|
6565
|
+
provide: DbxValueListViewGroupDelegate,
|
|
6566
|
+
useExisting: forwardRef(() => sourceType)
|
|
6567
|
+
}
|
|
6568
|
+
];
|
|
6569
|
+
}
|
|
6570
|
+
|
|
6540
6571
|
/**
|
|
6541
6572
|
* Renders a list view using input configuration. Requires a parent DbxListView.
|
|
6542
6573
|
*/
|
|
@@ -6548,7 +6579,7 @@ class DbxValueListViewComponent extends AbstractDbxValueListViewDirective {
|
|
|
6548
6579
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxValueListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6549
6580
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxValueListViewComponent, selector: "dbx-list-view", usesInheritance: true, ngImport: i0, template: `
|
|
6550
6581
|
<dbx-list-view-content [items]="items$ | async" [emitAllClicks]="emitAllClicks$ | async"></dbx-list-view-content>
|
|
6551
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i0.forwardRef(function () { return
|
|
6582
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i0.forwardRef(function () { return DbxValueListViewContentComponent; }), selector: "dbx-list-view-content", inputs: ["emitAllClicks", "items"] }, { kind: "pipe", type: i0.forwardRef(function () { return i1.AsyncPipe; }), name: "async" }] }); }
|
|
6552
6583
|
}
|
|
6553
6584
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxValueListViewComponent, decorators: [{
|
|
6554
6585
|
type: Component,
|
|
@@ -6562,13 +6593,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6562
6593
|
/**
|
|
6563
6594
|
* Content view for a DbxValueListView. It can be used directly in cases where the items are already configured, or want to be configured in a non-standard fashion.
|
|
6564
6595
|
*/
|
|
6565
|
-
class
|
|
6566
|
-
constructor(dbxListView) {
|
|
6596
|
+
class DbxValueListViewContentComponent {
|
|
6597
|
+
constructor(dbxListView, inputDbxListGroupDelegate) {
|
|
6567
6598
|
this.dbxListView = dbxListView;
|
|
6599
|
+
this._items = new BehaviorSubject(undefined);
|
|
6600
|
+
this.groups$ = this._items.pipe(switchMap((items) => asObservable(this._dbxListGroupDelegate.groupValues(items ?? []))), shareReplay(1));
|
|
6568
6601
|
this.disabled$ = this.dbxListView.disabled$;
|
|
6602
|
+
this.trackGroupByFunction = (_, v) => {
|
|
6603
|
+
return v.id; // track by the id
|
|
6604
|
+
};
|
|
6605
|
+
this._dbxListGroupDelegate = inputDbxListGroupDelegate ?? defaultDbxValueListViewGroupDelegate();
|
|
6569
6606
|
const trackBy = dbxListView.trackBy;
|
|
6570
6607
|
this.trackByFunction = trackBy ? (index, item) => trackBy(index, item.itemValue) : () => undefined;
|
|
6571
6608
|
}
|
|
6609
|
+
ngOnDestroy() {
|
|
6610
|
+
this._items.complete();
|
|
6611
|
+
}
|
|
6612
|
+
get items() {
|
|
6613
|
+
return this._items.value;
|
|
6614
|
+
}
|
|
6615
|
+
set items(items) {
|
|
6616
|
+
this._items.next(items);
|
|
6617
|
+
}
|
|
6572
6618
|
onClickItem(item) {
|
|
6573
6619
|
// do not emit clicks for disabled items.
|
|
6574
6620
|
if (!item.disabled) {
|
|
@@ -6584,39 +6630,125 @@ class DbxValueListItemViewComponent {
|
|
|
6584
6630
|
rippleDisabledOnItem(item) {
|
|
6585
6631
|
return item.rippleDisabled || (!this.emitAllClicks && !item.anchor);
|
|
6586
6632
|
}
|
|
6587
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
6588
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type:
|
|
6633
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxValueListViewContentComponent, deps: [{ token: DbxListView }, { token: DbxValueListViewGroupDelegate, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6634
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxValueListViewContentComponent, selector: "dbx-list-view-content", inputs: { emitAllClicks: "emitAllClicks", items: "items" }, host: { classAttribute: "dbx-list-view" }, ngImport: i0, template: `
|
|
6635
|
+
<mat-nav-list [disabled]="disabled$ | async">
|
|
6636
|
+
<ng-container *ngFor="let group of groups$ | async; trackBy: trackGroupByFunction">
|
|
6637
|
+
<dbx-list-view-content-group [group]="group"></dbx-list-view-content-group>
|
|
6638
|
+
</ng-container>
|
|
6639
|
+
</mat-nav-list>
|
|
6640
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i1.NgForOf; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i0.forwardRef(function () { return i4$2.MatNavList; }), selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: i0.forwardRef(function () { return DbxValueListViewContentGroupComponent; }), selector: "dbx-list-view-content-group", inputs: ["group"] }, { kind: "pipe", type: i0.forwardRef(function () { return i1.AsyncPipe; }), name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6641
|
+
}
|
|
6642
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxValueListViewContentComponent, decorators: [{
|
|
6643
|
+
type: Component,
|
|
6644
|
+
args: [{
|
|
6645
|
+
selector: 'dbx-list-view-content',
|
|
6646
|
+
template: `
|
|
6589
6647
|
<mat-nav-list [disabled]="disabled$ | async">
|
|
6648
|
+
<ng-container *ngFor="let group of groups$ | async; trackBy: trackGroupByFunction">
|
|
6649
|
+
<dbx-list-view-content-group [group]="group"></dbx-list-view-content-group>
|
|
6650
|
+
</ng-container>
|
|
6651
|
+
</mat-nav-list>
|
|
6652
|
+
`,
|
|
6653
|
+
host: {
|
|
6654
|
+
class: 'dbx-list-view'
|
|
6655
|
+
},
|
|
6656
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
6657
|
+
}]
|
|
6658
|
+
}], ctorParameters: function () { return [{ type: DbxListView }, { type: undefined, decorators: [{
|
|
6659
|
+
type: Optional
|
|
6660
|
+
}, {
|
|
6661
|
+
type: Inject,
|
|
6662
|
+
args: [DbxValueListViewGroupDelegate]
|
|
6663
|
+
}] }]; }, propDecorators: { emitAllClicks: [{
|
|
6664
|
+
type: Input
|
|
6665
|
+
}], items: [{
|
|
6666
|
+
type: Input
|
|
6667
|
+
}] } });
|
|
6668
|
+
/**
|
|
6669
|
+
* Content view for a DbxValueListView. It can be used directly in cases where the items are already configured, or want to be configured in a non-standard fashion.
|
|
6670
|
+
*/
|
|
6671
|
+
class DbxValueListViewContentGroupComponent {
|
|
6672
|
+
get cssClasses() {
|
|
6673
|
+
return this._cssClasses;
|
|
6674
|
+
}
|
|
6675
|
+
get items() {
|
|
6676
|
+
return this._group?.items;
|
|
6677
|
+
}
|
|
6678
|
+
get headerConfig() {
|
|
6679
|
+
return this._group?.headerConfig;
|
|
6680
|
+
}
|
|
6681
|
+
get footerConfig() {
|
|
6682
|
+
return this._group?.footerConfig;
|
|
6683
|
+
}
|
|
6684
|
+
constructor(dbxValueListViewContentComponent, cdRef) {
|
|
6685
|
+
this.dbxValueListViewContentComponent = dbxValueListViewContentComponent;
|
|
6686
|
+
this.cdRef = cdRef;
|
|
6687
|
+
this.disabled$ = this.dbxValueListViewContentComponent.disabled$;
|
|
6688
|
+
this.trackByFunction = this.dbxValueListViewContentComponent.trackByFunction;
|
|
6689
|
+
}
|
|
6690
|
+
get group() {
|
|
6691
|
+
return this._group;
|
|
6692
|
+
}
|
|
6693
|
+
set group(group) {
|
|
6694
|
+
this._group = group;
|
|
6695
|
+
this._cssClasses = spaceSeparatedCssClasses(group?.cssClasses);
|
|
6696
|
+
this.cdRef.markForCheck();
|
|
6697
|
+
}
|
|
6698
|
+
onClickItem(item) {
|
|
6699
|
+
this.dbxValueListViewContentComponent.onClickItem(item);
|
|
6700
|
+
}
|
|
6701
|
+
onClickValue(value) {
|
|
6702
|
+
this.dbxValueListViewContentComponent.onClickValue(value);
|
|
6703
|
+
}
|
|
6704
|
+
rippleDisabledOnItem(item) {
|
|
6705
|
+
return this.dbxValueListViewContentComponent.rippleDisabledOnItem(item);
|
|
6706
|
+
}
|
|
6707
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxValueListViewContentGroupComponent, deps: [{ token: DbxValueListViewContentComponent }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6708
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxValueListViewContentGroupComponent, selector: "dbx-list-view-content-group", inputs: { group: "group" }, host: { properties: { "class": "cssClasses" }, classAttribute: "dbx-list-view-group" }, ngImport: i0, template: `
|
|
6709
|
+
<div class="dbx-list-view-group-content">
|
|
6710
|
+
<div class="dbx-list-view-group-header" *ngIf="headerConfig">
|
|
6711
|
+
<dbx-injection [config]="headerConfig"></dbx-injection>
|
|
6712
|
+
</div>
|
|
6590
6713
|
<dbx-anchor *ngFor="let item of items; trackBy: trackByFunction" [anchor]="item.anchor" [disabled]="item.disabled">
|
|
6591
6714
|
<a mat-list-item class="dbx-list-view-item" [disabled]="item.disabled" [disableRipple]="rippleDisabledOnItem(item)" (click)="onClickItem(item)">
|
|
6592
6715
|
<mat-icon matListItemIcon *ngIf="item.icon">{{ item.icon }}</mat-icon>
|
|
6593
6716
|
<dbx-injection [config]="item.config"></dbx-injection>
|
|
6594
6717
|
</a>
|
|
6595
6718
|
</dbx-anchor>
|
|
6596
|
-
|
|
6597
|
-
|
|
6719
|
+
<div class="dbx-list-view-group-footer" *ngIf="footerConfig">
|
|
6720
|
+
<dbx-injection [config]="footerConfig"></dbx-injection>
|
|
6721
|
+
</div>
|
|
6722
|
+
</div>
|
|
6723
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { kind: "component", type: i1$2.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "component", type: i4$2.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i4$2.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6598
6724
|
}
|
|
6599
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
6725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxValueListViewContentGroupComponent, decorators: [{
|
|
6600
6726
|
type: Component,
|
|
6601
6727
|
args: [{
|
|
6602
|
-
selector: 'dbx-list-view-content',
|
|
6728
|
+
selector: 'dbx-list-view-content-group',
|
|
6603
6729
|
template: `
|
|
6604
|
-
<
|
|
6730
|
+
<div class="dbx-list-view-group-content">
|
|
6731
|
+
<div class="dbx-list-view-group-header" *ngIf="headerConfig">
|
|
6732
|
+
<dbx-injection [config]="headerConfig"></dbx-injection>
|
|
6733
|
+
</div>
|
|
6605
6734
|
<dbx-anchor *ngFor="let item of items; trackBy: trackByFunction" [anchor]="item.anchor" [disabled]="item.disabled">
|
|
6606
6735
|
<a mat-list-item class="dbx-list-view-item" [disabled]="item.disabled" [disableRipple]="rippleDisabledOnItem(item)" (click)="onClickItem(item)">
|
|
6607
6736
|
<mat-icon matListItemIcon *ngIf="item.icon">{{ item.icon }}</mat-icon>
|
|
6608
6737
|
<dbx-injection [config]="item.config"></dbx-injection>
|
|
6609
6738
|
</a>
|
|
6610
6739
|
</dbx-anchor>
|
|
6611
|
-
|
|
6740
|
+
<div class="dbx-list-view-group-footer" *ngIf="footerConfig">
|
|
6741
|
+
<dbx-injection [config]="footerConfig"></dbx-injection>
|
|
6742
|
+
</div>
|
|
6743
|
+
</div>
|
|
6612
6744
|
`,
|
|
6613
6745
|
host: {
|
|
6614
|
-
class: 'dbx-list-view'
|
|
6615
|
-
|
|
6746
|
+
class: 'dbx-list-view-group',
|
|
6747
|
+
'[class]': 'cssClasses'
|
|
6748
|
+
},
|
|
6749
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
6616
6750
|
}]
|
|
6617
|
-
}], ctorParameters: function () { return [{ type:
|
|
6618
|
-
type: Input
|
|
6619
|
-
}], items: [{
|
|
6751
|
+
}], ctorParameters: function () { return [{ type: DbxValueListViewContentComponent }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { group: [{
|
|
6620
6752
|
type: Input
|
|
6621
6753
|
}] } });
|
|
6622
6754
|
|
|
@@ -6632,7 +6764,7 @@ class DbxSelectionValueListViewComponent extends AbstractDbxValueListViewDirecti
|
|
|
6632
6764
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxSelectionValueListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6633
6765
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxSelectionValueListViewComponent, selector: "dbx-selection-list-view", usesInheritance: true, ngImport: i0, template: `
|
|
6634
6766
|
<dbx-selection-list-view-content [selectionMode]="selectionMode$ | async" [multiple]="multiple$ | async" [items]="items$ | async"></dbx-selection-list-view-content>
|
|
6635
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i0.forwardRef(function () { return
|
|
6767
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i0.forwardRef(function () { return DbxSelectionValueListViewContentComponent; }), selector: "dbx-selection-list-view-content", inputs: ["multiple", "selectionMode"] }, { kind: "pipe", type: i0.forwardRef(function () { return i1.AsyncPipe; }), name: "async" }] }); }
|
|
6636
6768
|
}
|
|
6637
6769
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxSelectionValueListViewComponent, decorators: [{
|
|
6638
6770
|
type: Component,
|
|
@@ -6646,9 +6778,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6646
6778
|
/**
|
|
6647
6779
|
* Content view for a DbxSelectionValueListView. It can be used directly in cases where the items are already configured, or want to be configured in a non-standard fashion.
|
|
6648
6780
|
*/
|
|
6649
|
-
class
|
|
6650
|
-
constructor(dbxListView) {
|
|
6651
|
-
super(dbxListView);
|
|
6781
|
+
class DbxSelectionValueListViewContentComponent extends DbxValueListViewContentComponent {
|
|
6782
|
+
constructor(dbxListView, inputDbxListGroupDelegate) {
|
|
6783
|
+
super(dbxListView, inputDbxListGroupDelegate);
|
|
6652
6784
|
if (!dbxListView.selectionChange) {
|
|
6653
6785
|
throw new Error('Parent dbxListView to DbxSelectionValueListViewComponent has no selectionChange emitter.');
|
|
6654
6786
|
}
|
|
@@ -6664,8 +6796,8 @@ class DbxSelectionValueListItemViewComponent extends DbxValueListItemViewCompone
|
|
|
6664
6796
|
items
|
|
6665
6797
|
});
|
|
6666
6798
|
}
|
|
6667
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
6668
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type:
|
|
6799
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxSelectionValueListViewContentComponent, deps: [{ token: DbxListView }, { token: DbxValueListViewGroupDelegate, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6800
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxSelectionValueListViewContentComponent, selector: "dbx-selection-list-view-content", inputs: { multiple: "multiple", selectionMode: "selectionMode" }, host: { classAttribute: "dbx-list-view dbx-selection-list-view" }, usesInheritance: true, ngImport: i0, template: `
|
|
6669
6801
|
<ng-container [ngSwitch]="selectionMode">
|
|
6670
6802
|
<ng-container *ngSwitchCase="'view'">
|
|
6671
6803
|
<dbx-list-view-content [items]="items"></dbx-list-view-content>
|
|
@@ -6679,9 +6811,9 @@ class DbxSelectionValueListItemViewComponent extends DbxValueListItemViewCompone
|
|
|
6679
6811
|
</mat-selection-list>
|
|
6680
6812
|
</ng-container>
|
|
6681
6813
|
</ng-container>
|
|
6682
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i1$2.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "component", type: i4$2.MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i4$2.MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "directive", type: i4$2.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type:
|
|
6814
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i1$2.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "component", type: i4$2.MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i4$2.MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "directive", type: i4$2.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: DbxValueListViewContentComponent, selector: "dbx-list-view-content", inputs: ["emitAllClicks", "items"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6683
6815
|
}
|
|
6684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
6816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxSelectionValueListViewContentComponent, decorators: [{
|
|
6685
6817
|
type: Component,
|
|
6686
6818
|
args: [{
|
|
6687
6819
|
selector: 'dbx-selection-list-view-content',
|
|
@@ -6702,9 +6834,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6702
6834
|
`,
|
|
6703
6835
|
host: {
|
|
6704
6836
|
class: 'dbx-list-view dbx-selection-list-view'
|
|
6705
|
-
}
|
|
6837
|
+
},
|
|
6838
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
6706
6839
|
}]
|
|
6707
|
-
}], ctorParameters: function () { return [{ type: DbxListView }
|
|
6840
|
+
}], ctorParameters: function () { return [{ type: DbxListView }, { type: undefined, decorators: [{
|
|
6841
|
+
type: Optional
|
|
6842
|
+
}, {
|
|
6843
|
+
type: Inject,
|
|
6844
|
+
args: [DbxValueListViewGroupDelegate]
|
|
6845
|
+
}] }]; }, propDecorators: { multiple: [{
|
|
6708
6846
|
type: Input
|
|
6709
6847
|
}], selectionMode: [{
|
|
6710
6848
|
type: Input
|
|
@@ -6762,7 +6900,7 @@ class DbxValueListGridViewComponent extends AbstractDbxValueListViewDirective {
|
|
|
6762
6900
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxValueListGridViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6763
6901
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxValueListGridViewComponent, selector: "dbx-list-grid-view", usesInheritance: true, ngImport: i0, template: `
|
|
6764
6902
|
<dbx-list-grid-view-content [grid]="grid$ | async" [items]="items$ | async" [emitAllClicks]="emitAllClicks$ | async"></dbx-list-grid-view-content>
|
|
6765
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i0.forwardRef(function () { return
|
|
6903
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i0.forwardRef(function () { return DbxValueListGridViewContentComponent; }), selector: "dbx-list-grid-view-content", inputs: ["grid"] }, { kind: "pipe", type: i0.forwardRef(function () { return i1.AsyncPipe; }), name: "async" }] }); }
|
|
6766
6904
|
}
|
|
6767
6905
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxValueListGridViewComponent, decorators: [{
|
|
6768
6906
|
type: Component,
|
|
@@ -6811,9 +6949,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6811
6949
|
/**
|
|
6812
6950
|
* Content view for a DbxValueListGridView. It can be used directly in cases where the items are already configured, or want to be configured in a non-standard fashion.
|
|
6813
6951
|
*/
|
|
6814
|
-
class
|
|
6952
|
+
class DbxValueListGridViewContentComponent extends DbxValueListViewContentComponent {
|
|
6815
6953
|
constructor(dbxListView, _gridSizeOverride) {
|
|
6816
|
-
super(dbxListView);
|
|
6954
|
+
super(dbxListView, undefined);
|
|
6817
6955
|
this._gridSizeOverride = _gridSizeOverride;
|
|
6818
6956
|
this._defaultGrid = new BehaviorSubject(undefined);
|
|
6819
6957
|
this.grid$ = combineLatest([this._defaultGrid, this._gridSizeOverride?.gridSize$ ?? of(undefined)]).pipe(map(([defaultGrid, overrideGrid]) => {
|
|
@@ -6827,18 +6965,19 @@ class DbxValueListGridItemViewComponent extends DbxValueListItemViewComponent {
|
|
|
6827
6965
|
this._defaultGrid.next(grid);
|
|
6828
6966
|
}
|
|
6829
6967
|
ngOnDestroy() {
|
|
6968
|
+
super.ngOnDestroy();
|
|
6830
6969
|
this._defaultGrid.complete();
|
|
6831
6970
|
}
|
|
6832
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
6833
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type:
|
|
6971
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxValueListGridViewContentComponent, deps: [{ token: DbxListView }, { token: DbxValueListGridSizeDirective, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6972
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxValueListGridViewContentComponent, selector: "dbx-list-grid-view-content", inputs: { grid: "grid" }, host: { classAttribute: "dbx-list-grid-view" }, usesInheritance: true, ngImport: i0, template: `
|
|
6834
6973
|
<div [gdGap]="gap$ | async" [gdColumns]="columns$ | async">
|
|
6835
6974
|
<dbx-anchor *ngFor="let item of items; trackBy: trackByFunction" matRipple [matRippleDisabled]="rippleDisabledOnItem(item)" class="dbx-list-grid-view-item" [anchor]="item.anchor" [disabled]="item.disabled" (click)="onClickItem(item)">
|
|
6836
6975
|
<div dbx-injection [config]="item.config"></div>
|
|
6837
6976
|
</dbx-anchor>
|
|
6838
6977
|
</div>
|
|
6839
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3$5.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "directive", type: i4$4.DefaultGridColumnsDirective, selector: " [gdColumns], [gdColumns.xs], [gdColumns.sm], [gdColumns.md], [gdColumns.lg], [gdColumns.xl], [gdColumns.lt-sm], [gdColumns.lt-md], [gdColumns.lt-lg], [gdColumns.lt-xl], [gdColumns.gt-xs], [gdColumns.gt-sm], [gdColumns.gt-md], [gdColumns.gt-lg]", inputs: ["gdColumns", "gdColumns.xs", "gdColumns.sm", "gdColumns.md", "gdColumns.lg", "gdColumns.xl", "gdColumns.lt-sm", "gdColumns.lt-md", "gdColumns.lt-lg", "gdColumns.lt-xl", "gdColumns.gt-xs", "gdColumns.gt-sm", "gdColumns.gt-md", "gdColumns.gt-lg"] }, { kind: "directive", type: i4$4.DefaultGridGapDirective, selector: " [gdGap], [gdGap.xs], [gdGap.sm], [gdGap.md], [gdGap.lg], [gdGap.xl], [gdGap.lt-sm], [gdGap.lt-md], [gdGap.lt-lg], [gdGap.lt-xl], [gdGap.gt-xs], [gdGap.gt-sm], [gdGap.gt-md], [gdGap.gt-lg]", inputs: ["gdGap", "gdGap.xs", "gdGap.sm", "gdGap.md", "gdGap.lg", "gdGap.xl", "gdGap.lt-sm", "gdGap.lt-md", "gdGap.lt-lg", "gdGap.lt-xl", "gdGap.gt-xs", "gdGap.gt-sm", "gdGap.gt-md", "gdGap.gt-lg"] }, { kind: "component", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { kind: "component", type: i1$2.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
6978
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3$5.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "directive", type: i4$4.DefaultGridColumnsDirective, selector: " [gdColumns], [gdColumns.xs], [gdColumns.sm], [gdColumns.md], [gdColumns.lg], [gdColumns.xl], [gdColumns.lt-sm], [gdColumns.lt-md], [gdColumns.lt-lg], [gdColumns.lt-xl], [gdColumns.gt-xs], [gdColumns.gt-sm], [gdColumns.gt-md], [gdColumns.gt-lg]", inputs: ["gdColumns", "gdColumns.xs", "gdColumns.sm", "gdColumns.md", "gdColumns.lg", "gdColumns.xl", "gdColumns.lt-sm", "gdColumns.lt-md", "gdColumns.lt-lg", "gdColumns.lt-xl", "gdColumns.gt-xs", "gdColumns.gt-sm", "gdColumns.gt-md", "gdColumns.gt-lg"] }, { kind: "directive", type: i4$4.DefaultGridGapDirective, selector: " [gdGap], [gdGap.xs], [gdGap.sm], [gdGap.md], [gdGap.lg], [gdGap.xl], [gdGap.lt-sm], [gdGap.lt-md], [gdGap.lt-lg], [gdGap.lt-xl], [gdGap.gt-xs], [gdGap.gt-sm], [gdGap.gt-md], [gdGap.gt-lg]", inputs: ["gdGap", "gdGap.xs", "gdGap.sm", "gdGap.md", "gdGap.lg", "gdGap.xl", "gdGap.lt-sm", "gdGap.lt-md", "gdGap.lt-lg", "gdGap.lt-xl", "gdGap.gt-xs", "gdGap.gt-sm", "gdGap.gt-md", "gdGap.gt-lg"] }, { kind: "component", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { kind: "component", type: i1$2.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6840
6979
|
}
|
|
6841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type:
|
|
6980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxValueListGridViewContentComponent, decorators: [{
|
|
6842
6981
|
type: Component,
|
|
6843
6982
|
args: [{
|
|
6844
6983
|
selector: 'dbx-list-grid-view-content',
|
|
@@ -6851,7 +6990,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6851
6990
|
`,
|
|
6852
6991
|
host: {
|
|
6853
6992
|
class: 'dbx-list-grid-view'
|
|
6854
|
-
}
|
|
6993
|
+
},
|
|
6994
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
6855
6995
|
}]
|
|
6856
6996
|
}], ctorParameters: function () { return [{ type: DbxListView }, { type: DbxValueListGridSizeDirective, decorators: [{
|
|
6857
6997
|
type: Optional
|
|
@@ -6897,33 +7037,182 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6897
7037
|
args: ['dbxListItemIsSelectedModifier']
|
|
6898
7038
|
}] } });
|
|
6899
7039
|
|
|
7040
|
+
const DBX_LIST_TITLE_GROUP_DATA = new InjectionToken('DbxListTitleGroupData');
|
|
7041
|
+
/**
|
|
7042
|
+
* Delegate used to for grouping DbxValueListItemConfig<T, I> values.
|
|
7043
|
+
*/
|
|
7044
|
+
class DbxListTitleGroupDirective {
|
|
7045
|
+
constructor() {
|
|
7046
|
+
this._delegate = new BehaviorSubject(undefined);
|
|
7047
|
+
this.groupValues = (items) => {
|
|
7048
|
+
return this._delegate.pipe(map((delegate) => {
|
|
7049
|
+
let groups;
|
|
7050
|
+
if (delegate != null) {
|
|
7051
|
+
const groupsValuesMap = makeValuesGroupMap(items, delegate.groupValueForItem);
|
|
7052
|
+
const { sortGroupsByData, cssClasses: inputCssClasses } = delegate;
|
|
7053
|
+
const cssClassesForAllGroups = inputCssClasses ?? [];
|
|
7054
|
+
const componentClass = delegate.headerComponentClass ?? DbxListTitleGroupHeaderComponent;
|
|
7055
|
+
groups = Array.from(groupsValuesMap.entries()).map(([value, items]) => {
|
|
7056
|
+
const data = delegate.dataForGroupValue(value, items);
|
|
7057
|
+
data.value = value;
|
|
7058
|
+
const cssClasses = data.cssClasses ? [...cssClassesForAllGroups, ...data.cssClasses] : cssClassesForAllGroups;
|
|
7059
|
+
const group = {
|
|
7060
|
+
id: String(value),
|
|
7061
|
+
data,
|
|
7062
|
+
items,
|
|
7063
|
+
headerConfig: {
|
|
7064
|
+
componentClass,
|
|
7065
|
+
providers: [
|
|
7066
|
+
{
|
|
7067
|
+
provide: DBX_LIST_TITLE_GROUP_DATA,
|
|
7068
|
+
useValue: data
|
|
7069
|
+
}
|
|
7070
|
+
]
|
|
7071
|
+
},
|
|
7072
|
+
cssClasses
|
|
7073
|
+
};
|
|
7074
|
+
return group;
|
|
7075
|
+
});
|
|
7076
|
+
if (sortGroupsByData) {
|
|
7077
|
+
groups.sort(compareWithMappedValuesFunction((x) => x.data, sortGroupsByData));
|
|
7078
|
+
}
|
|
7079
|
+
}
|
|
7080
|
+
else {
|
|
7081
|
+
groups = [
|
|
7082
|
+
{
|
|
7083
|
+
id: '_',
|
|
7084
|
+
data: { value: null, title: '' },
|
|
7085
|
+
items
|
|
7086
|
+
}
|
|
7087
|
+
];
|
|
7088
|
+
}
|
|
7089
|
+
return groups;
|
|
7090
|
+
}));
|
|
7091
|
+
};
|
|
7092
|
+
}
|
|
7093
|
+
ngOnDestroy() {
|
|
7094
|
+
this._delegate.complete();
|
|
7095
|
+
}
|
|
7096
|
+
get delegate() {
|
|
7097
|
+
return this._delegate.value;
|
|
7098
|
+
}
|
|
7099
|
+
set delegate(delegate) {
|
|
7100
|
+
this._delegate.next(delegate);
|
|
7101
|
+
}
|
|
7102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxListTitleGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7103
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DbxListTitleGroupDirective, selector: "[dbxListTitleGroup]", inputs: { delegate: ["dbxListTitleGroup", "delegate"] }, providers: [provideDbxValueListViewGroupDelegate(DbxListTitleGroupDirective)], ngImport: i0 }); }
|
|
7104
|
+
}
|
|
7105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxListTitleGroupDirective, decorators: [{
|
|
7106
|
+
type: Directive,
|
|
7107
|
+
args: [{
|
|
7108
|
+
selector: '[dbxListTitleGroup]',
|
|
7109
|
+
providers: [provideDbxValueListViewGroupDelegate(DbxListTitleGroupDirective)]
|
|
7110
|
+
}]
|
|
7111
|
+
}], propDecorators: { delegate: [{
|
|
7112
|
+
type: Input,
|
|
7113
|
+
args: ['dbxListTitleGroup']
|
|
7114
|
+
}] } });
|
|
7115
|
+
/**
|
|
7116
|
+
*
|
|
7117
|
+
*/
|
|
7118
|
+
class DbxListTitleGroupHeaderComponent {
|
|
7119
|
+
get icon() {
|
|
7120
|
+
return this.data.icon;
|
|
7121
|
+
}
|
|
7122
|
+
get title() {
|
|
7123
|
+
return this.data.title;
|
|
7124
|
+
}
|
|
7125
|
+
get hint() {
|
|
7126
|
+
return this.data.hint;
|
|
7127
|
+
}
|
|
7128
|
+
constructor(data) {
|
|
7129
|
+
this.data = data;
|
|
7130
|
+
}
|
|
7131
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxListTitleGroupHeaderComponent, deps: [{ token: DBX_LIST_TITLE_GROUP_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7132
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxListTitleGroupHeaderComponent, selector: "dbx-list-title-group-header", host: { classAttribute: "dbx-list-title-group-header" }, ngImport: i0, template: `
|
|
7133
|
+
<div class="dbx-list-item-padded dbx-list-two-line-item">
|
|
7134
|
+
<mat-icon class="item-icon" *ngIf="icon">{{ icon }}</mat-icon>
|
|
7135
|
+
<div class="item-left">
|
|
7136
|
+
<div class="mat-subtitle-2">{{ title }}</div>
|
|
7137
|
+
<div *ngIf="hint" class="item-details">{{ hint }}</div>
|
|
7138
|
+
</div>
|
|
7139
|
+
</div>
|
|
7140
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7141
|
+
}
|
|
7142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxListTitleGroupHeaderComponent, decorators: [{
|
|
7143
|
+
type: Component,
|
|
7144
|
+
args: [{
|
|
7145
|
+
selector: 'dbx-list-title-group-header',
|
|
7146
|
+
template: `
|
|
7147
|
+
<div class="dbx-list-item-padded dbx-list-two-line-item">
|
|
7148
|
+
<mat-icon class="item-icon" *ngIf="icon">{{ icon }}</mat-icon>
|
|
7149
|
+
<div class="item-left">
|
|
7150
|
+
<div class="mat-subtitle-2">{{ title }}</div>
|
|
7151
|
+
<div *ngIf="hint" class="item-details">{{ hint }}</div>
|
|
7152
|
+
</div>
|
|
7153
|
+
</div>
|
|
7154
|
+
`,
|
|
7155
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7156
|
+
host: {
|
|
7157
|
+
class: 'dbx-list-title-group-header'
|
|
7158
|
+
}
|
|
7159
|
+
}]
|
|
7160
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
7161
|
+
type: Inject,
|
|
7162
|
+
args: [DBX_LIST_TITLE_GROUP_DATA]
|
|
7163
|
+
}] }]; } });
|
|
7164
|
+
|
|
7165
|
+
const privateDeclarations = [DbxListInternalContentDirective];
|
|
7166
|
+
const declarations$3 = [
|
|
7167
|
+
// directives
|
|
7168
|
+
DbxListComponent,
|
|
7169
|
+
DbxListEmptyContentComponent,
|
|
7170
|
+
DbxValueListViewComponent,
|
|
7171
|
+
DbxValueListViewContentComponent,
|
|
7172
|
+
DbxValueListViewContentGroupComponent,
|
|
7173
|
+
DbxValueListGridSizeDirective,
|
|
7174
|
+
DbxValueListGridViewComponent,
|
|
7175
|
+
DbxValueListGridViewContentComponent,
|
|
7176
|
+
DbxListTitleGroupDirective,
|
|
7177
|
+
DbxListTitleGroupHeaderComponent,
|
|
7178
|
+
DbxSelectionValueListViewComponent,
|
|
7179
|
+
DbxSelectionValueListViewContentComponent,
|
|
7180
|
+
DbxValueListItemModifierDirective,
|
|
7181
|
+
DbxListItemDisableRippleModifierDirective,
|
|
7182
|
+
DbxListItemIsSelectedModifierDirective
|
|
7183
|
+
];
|
|
6900
7184
|
class DbxListLayoutModule {
|
|
6901
7185
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxListLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6902
7186
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxListLayoutModule, declarations: [
|
|
6903
|
-
//
|
|
7187
|
+
// directives
|
|
6904
7188
|
DbxListComponent,
|
|
6905
|
-
DbxListInternalContentDirective,
|
|
6906
7189
|
DbxListEmptyContentComponent,
|
|
6907
7190
|
DbxValueListViewComponent,
|
|
6908
|
-
|
|
7191
|
+
DbxValueListViewContentComponent,
|
|
7192
|
+
DbxValueListViewContentGroupComponent,
|
|
6909
7193
|
DbxValueListGridSizeDirective,
|
|
6910
7194
|
DbxValueListGridViewComponent,
|
|
6911
|
-
|
|
7195
|
+
DbxValueListGridViewContentComponent,
|
|
7196
|
+
DbxListTitleGroupDirective,
|
|
7197
|
+
DbxListTitleGroupHeaderComponent,
|
|
6912
7198
|
DbxSelectionValueListViewComponent,
|
|
6913
|
-
|
|
7199
|
+
DbxSelectionValueListViewContentComponent,
|
|
6914
7200
|
DbxValueListItemModifierDirective,
|
|
6915
7201
|
DbxListItemDisableRippleModifierDirective,
|
|
6916
|
-
DbxListItemIsSelectedModifierDirective], imports: [CommonModule, MatRippleModule, FlexLayoutModule, DbxLoadingModule, DbxRouterAnchorModule, InfiniteScrollModule, DbxInjectionComponentModule, MatListModule, MatIconModule], exports: [
|
|
6917
|
-
//
|
|
7202
|
+
DbxListItemIsSelectedModifierDirective, DbxListInternalContentDirective], imports: [CommonModule, MatRippleModule, FlexLayoutModule, DbxLoadingModule, DbxRouterAnchorModule, InfiniteScrollModule, DbxInjectionComponentModule, MatListModule, MatIconModule], exports: [
|
|
7203
|
+
// directives
|
|
6918
7204
|
DbxListComponent,
|
|
6919
7205
|
DbxListEmptyContentComponent,
|
|
6920
7206
|
DbxValueListViewComponent,
|
|
6921
|
-
|
|
7207
|
+
DbxValueListViewContentComponent,
|
|
7208
|
+
DbxValueListViewContentGroupComponent,
|
|
6922
7209
|
DbxValueListGridSizeDirective,
|
|
6923
7210
|
DbxValueListGridViewComponent,
|
|
6924
|
-
|
|
7211
|
+
DbxValueListGridViewContentComponent,
|
|
7212
|
+
DbxListTitleGroupDirective,
|
|
7213
|
+
DbxListTitleGroupHeaderComponent,
|
|
6925
7214
|
DbxSelectionValueListViewComponent,
|
|
6926
|
-
|
|
7215
|
+
DbxSelectionValueListViewContentComponent,
|
|
6927
7216
|
DbxValueListItemModifierDirective,
|
|
6928
7217
|
DbxListItemDisableRippleModifierDirective,
|
|
6929
7218
|
DbxListItemIsSelectedModifierDirective] }); }
|
|
@@ -6933,37 +7222,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6933
7222
|
type: NgModule,
|
|
6934
7223
|
args: [{
|
|
6935
7224
|
imports: [CommonModule, MatRippleModule, FlexLayoutModule, DbxLoadingModule, DbxRouterAnchorModule, InfiniteScrollModule, DbxInjectionComponentModule, MatListModule, MatIconModule],
|
|
6936
|
-
declarations: [
|
|
6937
|
-
|
|
6938
|
-
DbxListComponent,
|
|
6939
|
-
DbxListInternalContentDirective,
|
|
6940
|
-
DbxListEmptyContentComponent,
|
|
6941
|
-
DbxValueListViewComponent,
|
|
6942
|
-
DbxValueListItemViewComponent,
|
|
6943
|
-
DbxValueListGridSizeDirective,
|
|
6944
|
-
DbxValueListGridViewComponent,
|
|
6945
|
-
DbxValueListGridItemViewComponent,
|
|
6946
|
-
DbxSelectionValueListViewComponent,
|
|
6947
|
-
DbxSelectionValueListItemViewComponent,
|
|
6948
|
-
DbxValueListItemModifierDirective,
|
|
6949
|
-
DbxListItemDisableRippleModifierDirective,
|
|
6950
|
-
DbxListItemIsSelectedModifierDirective
|
|
6951
|
-
],
|
|
6952
|
-
exports: [
|
|
6953
|
-
//
|
|
6954
|
-
DbxListComponent,
|
|
6955
|
-
DbxListEmptyContentComponent,
|
|
6956
|
-
DbxValueListViewComponent,
|
|
6957
|
-
DbxValueListItemViewComponent,
|
|
6958
|
-
DbxValueListGridSizeDirective,
|
|
6959
|
-
DbxValueListGridViewComponent,
|
|
6960
|
-
DbxValueListGridItemViewComponent,
|
|
6961
|
-
DbxSelectionValueListViewComponent,
|
|
6962
|
-
DbxSelectionValueListItemViewComponent,
|
|
6963
|
-
DbxValueListItemModifierDirective,
|
|
6964
|
-
DbxListItemDisableRippleModifierDirective,
|
|
6965
|
-
DbxListItemIsSelectedModifierDirective
|
|
6966
|
-
]
|
|
7225
|
+
declarations: [...declarations$3, ...privateDeclarations],
|
|
7226
|
+
exports: declarations$3
|
|
6967
7227
|
}]
|
|
6968
7228
|
}] });
|
|
6969
7229
|
|
|
@@ -9259,5 +9519,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
9259
9519
|
* Generated bundle index. Do not edit.
|
|
9260
9520
|
*/
|
|
9261
9521
|
|
|
9262
|
-
export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxErrorWidgetComponent, 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_LIST_ITEM_DEFAULT_DISABLE_FUNCTION, DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY, DBX_LIST_ITEM_IS_SELECTED_ITEM_MODIFIER_KEY, DBX_MAT_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY, DBX_STYLE_DEFAULT_CONFIG_TOKEN, DBX_THEME_COLORS, DBX_VALUE_LIST_VIEW_ITEM, DEFAULT_DBX_LIST_ITEM_IS_SELECTED_FUNCTION, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_DIRECTIVE_TEMPLATE, DEFAULT_DBX_SIDENAV_MENU_ICON, DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES, DEFAULT_DBX_VALUE_LIST_GRID_DIRECTIVE_TEMPLATE, DEFAULT_ERROR_POPOVER_KEY, DEFAULT_ERROR_WIDGET_CODE, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_GRID_SIZE_CONFIG, DEFAULT_LIST_WRAPPER_DIRECTIVE_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_STATIC_LIST_DIRECTIVE_TEMPLATE, DEFAULT_TWO_COLUMNS_MIN_RIGHT_WIDTH, DbxActionConfirmDirective, DbxActionDialogDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionLoadingContextDirective, DbxActionModule, DbxActionPopoverDirective, DbxActionSnackbarComponent, DbxActionSnackbarDirective, DbxActionSnackbarModule, DbxActionSnackbarService, DbxActionTransitionSafetyDialogResult, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionModule, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorContentComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorListComponent, DbxAngularRouterSegueAnchorComponent, DbxBarButtonComponent, DbxBarDirective, DbxBarHeaderComponent, DbxBarLayoutModule, DbxBasicLoadingComponent, DbxBlockLayoutModule, DbxBodyDirective, DbxButtonComponent, DbxButtonDisplayType, DbxButtonModule, DbxButtonSpacerDirective, DbxCardBoxComponent, DbxCardBoxContainerComponent, DbxCardBoxLayoutModule, DbxChipDirective, DbxColorDirective, DbxColumnLayoutModule, DbxCompactDirective, DbxCompactLayoutModule, DbxContentBorderDirective, DbxContentBoxDirective, DbxContentContainerDirective, DbxContentDirective, DbxContentElevateDirective, DbxContentLayoutModule, DbxContentPageDirective, DbxContentPitDirective, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxDialogContentCloseComponent, DbxDialogContentDirective, DbxDialogContentFooterComponent, DbxDialogInteractionModule, DbxDownloadTextModule, DbxDownloadTextViewComponent, DbxErrorDefaultErrorWidgetComponent, DbxErrorDetailsComponent, DbxErrorPopoverComponent, DbxErrorWidgetService, DbxErrorWidgetViewComponent, DbxFilterInteractionModule, DbxFilterPopoverButtonComponent, DbxFilterPopoverComponent, DbxFilterWrapperComponent, DbxFlagComponent, DbxFlagLayoutModule, DbxFlagPromptComponent, DbxFlexGroupDirective, DbxFlexLayoutModule, DbxFlexSizeDirective, DbxFormDescriptionComponent, DbxHintComponent, DbxIconButtonComponent, DbxIconButtonModule, DbxIconItemComponent, DbxIconSpacerDirective, DbxIfSidenavDisplayModeDirective, DbxInteractionModule, DbxIntroActionSectionComponent, DbxItemLayoutModule, DbxKeypressModule, DbxLabelBlockComponent, DbxLabelComponent, DbxLayoutModule, DbxLinkifyComponent, DbxListComponent, DbxListEmptyContentComponent, DbxListInternalContentDirective, DbxListItemAnchorModifierDirective, DbxListItemDisableRippleModifierDirective, DbxListItemIsSelectedModifierDirective, DbxListLayoutModule, DbxListView, DbxListViewWrapper, DbxLoadingComponent, DbxLoadingErrorDirective, DbxLoadingModule, DbxLoadingProgressComponent, DbxModelInfoModule, DbxModelObjectStateService, actions as DbxModelStateActions, model_actions as DbxModelStateModelActions, DbxModelTrackerService, DbxModelTypesService, DbxModelViewTrackerStorage, DbxNavbarComponent, DbxNoteComponent, DbxNoticeComponent, DbxOkComponent, DbxOneColumnComponent, DbxOneColumnLayoutModule, DbxPagebarComponent, DbxPartialPresetFilterListComponent, DbxPartialPresetFilterMenuComponent, DbxPopoverCloseButtonComponent, DbxPopoverComponent, DbxPopoverComponentController, DbxPopoverContentComponent, DbxPopoverController, DbxPopoverControlsDirective, DbxPopoverCoordinatorComponent, DbxPopoverCoordinatorService, DbxPopoverHeaderComponent, DbxPopoverInteractionContentModule, DbxPopoverInteractionModule, DbxPopoverScrollContentComponent, DbxPopoverService, DbxPopupComponent, DbxPopupComponentController, DbxPopupContentComponent, DbxPopupControlButtonsComponent, DbxPopupController, DbxPopupControlsComponent, DbxPopupCoordinatorComponent, DbxPopupCoordinatorService, DbxPopupInteractionModule, DbxPopupService, DbxPopupWindowState, DbxPresetFilterListComponent, DbxPresetFilterMenuComponent, DbxProgressButtonsModule, DbxPromptBoxComponent, DbxPromptComponent, DbxPromptConfirm, DbxPromptConfirmButtonDirective, DbxPromptConfirmComponent, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective, DbxPromptConfirmTypes, DbxPromptModule, DbxPromptPageComponent, DbxReadableErrorComponent, DbxReadableErrorModule, DbxRouterAnchorListModule, DbxRouterAnchorModule, DbxRouterLayoutModule, DbxRouterListModule, DbxRouterNavbarModule, DbxRouterSidenavModule, DbxRouterWebProviderConfig, DbxScreenMediaService, DbxScreenMediaServiceConfig, DbxScreenModule, DbxSectionComponent, DbxSectionHeaderComponent, DbxSectionLayoutModule, DbxSectionPageComponent,
|
|
9522
|
+
export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxErrorWidgetComponent, 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_LIST_ITEM_DEFAULT_DISABLE_FUNCTION, DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY, DBX_LIST_ITEM_IS_SELECTED_ITEM_MODIFIER_KEY, DBX_LIST_TITLE_GROUP_DATA, DBX_MAT_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY, DBX_STYLE_DEFAULT_CONFIG_TOKEN, DBX_THEME_COLORS, DBX_VALUE_LIST_VIEW_ITEM, DEFAULT_DBX_LIST_ITEM_IS_SELECTED_FUNCTION, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_DIRECTIVE_TEMPLATE, DEFAULT_DBX_SIDENAV_MENU_ICON, DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES, DEFAULT_DBX_VALUE_LIST_GRID_DIRECTIVE_TEMPLATE, DEFAULT_ERROR_POPOVER_KEY, DEFAULT_ERROR_WIDGET_CODE, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_GRID_SIZE_CONFIG, DEFAULT_LIST_WRAPPER_DIRECTIVE_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_STATIC_LIST_DIRECTIVE_TEMPLATE, DEFAULT_TWO_COLUMNS_MIN_RIGHT_WIDTH, DbxActionConfirmDirective, DbxActionDialogDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionLoadingContextDirective, DbxActionModule, DbxActionPopoverDirective, DbxActionSnackbarComponent, DbxActionSnackbarDirective, DbxActionSnackbarModule, DbxActionSnackbarService, DbxActionTransitionSafetyDialogResult, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionModule, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorContentComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorListComponent, DbxAngularRouterSegueAnchorComponent, DbxBarButtonComponent, DbxBarDirective, DbxBarHeaderComponent, DbxBarLayoutModule, DbxBasicLoadingComponent, DbxBlockLayoutModule, DbxBodyDirective, DbxButtonComponent, DbxButtonDisplayType, DbxButtonModule, DbxButtonSpacerDirective, DbxCardBoxComponent, DbxCardBoxContainerComponent, DbxCardBoxLayoutModule, DbxChipDirective, DbxColorDirective, DbxColumnLayoutModule, DbxCompactDirective, DbxCompactLayoutModule, DbxContentBorderDirective, DbxContentBoxDirective, DbxContentContainerDirective, DbxContentDirective, DbxContentElevateDirective, DbxContentLayoutModule, DbxContentPageDirective, DbxContentPitDirective, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxDialogContentCloseComponent, DbxDialogContentDirective, DbxDialogContentFooterComponent, DbxDialogInteractionModule, DbxDownloadTextModule, DbxDownloadTextViewComponent, DbxErrorDefaultErrorWidgetComponent, DbxErrorDetailsComponent, DbxErrorPopoverComponent, DbxErrorWidgetService, DbxErrorWidgetViewComponent, DbxFilterInteractionModule, DbxFilterPopoverButtonComponent, DbxFilterPopoverComponent, DbxFilterWrapperComponent, DbxFlagComponent, DbxFlagLayoutModule, DbxFlagPromptComponent, DbxFlexGroupDirective, DbxFlexLayoutModule, DbxFlexSizeDirective, DbxFormDescriptionComponent, DbxHintComponent, DbxIconButtonComponent, DbxIconButtonModule, DbxIconItemComponent, DbxIconSpacerDirective, DbxIfSidenavDisplayModeDirective, DbxInteractionModule, DbxIntroActionSectionComponent, DbxItemLayoutModule, DbxKeypressModule, DbxLabelBlockComponent, DbxLabelComponent, DbxLayoutModule, DbxLinkifyComponent, DbxListComponent, DbxListEmptyContentComponent, DbxListInternalContentDirective, DbxListItemAnchorModifierDirective, DbxListItemDisableRippleModifierDirective, DbxListItemIsSelectedModifierDirective, DbxListLayoutModule, DbxListTitleGroupDirective, DbxListTitleGroupHeaderComponent, DbxListView, DbxListViewWrapper, DbxLoadingComponent, DbxLoadingErrorDirective, DbxLoadingModule, DbxLoadingProgressComponent, DbxModelInfoModule, DbxModelObjectStateService, actions as DbxModelStateActions, model_actions as DbxModelStateModelActions, DbxModelTrackerService, DbxModelTypesService, DbxModelViewTrackerStorage, DbxNavbarComponent, DbxNoteComponent, DbxNoticeComponent, DbxOkComponent, DbxOneColumnComponent, DbxOneColumnLayoutModule, DbxPagebarComponent, DbxPartialPresetFilterListComponent, DbxPartialPresetFilterMenuComponent, DbxPopoverCloseButtonComponent, DbxPopoverComponent, DbxPopoverComponentController, DbxPopoverContentComponent, DbxPopoverController, DbxPopoverControlsDirective, DbxPopoverCoordinatorComponent, DbxPopoverCoordinatorService, DbxPopoverHeaderComponent, DbxPopoverInteractionContentModule, DbxPopoverInteractionModule, DbxPopoverScrollContentComponent, DbxPopoverService, DbxPopupComponent, DbxPopupComponentController, DbxPopupContentComponent, DbxPopupControlButtonsComponent, DbxPopupController, DbxPopupControlsComponent, DbxPopupCoordinatorComponent, DbxPopupCoordinatorService, DbxPopupInteractionModule, DbxPopupService, DbxPopupWindowState, DbxPresetFilterListComponent, DbxPresetFilterMenuComponent, DbxProgressButtonsModule, DbxPromptBoxComponent, DbxPromptComponent, DbxPromptConfirm, DbxPromptConfirmButtonDirective, DbxPromptConfirmComponent, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective, DbxPromptConfirmTypes, DbxPromptModule, DbxPromptPageComponent, DbxReadableErrorComponent, DbxReadableErrorModule, DbxRouterAnchorListModule, DbxRouterAnchorModule, DbxRouterLayoutModule, DbxRouterListModule, DbxRouterNavbarModule, DbxRouterSidenavModule, DbxRouterWebProviderConfig, DbxScreenMediaService, DbxScreenMediaServiceConfig, DbxScreenModule, DbxSectionComponent, DbxSectionHeaderComponent, DbxSectionLayoutModule, DbxSectionPageComponent, DbxSelectionValueListViewComponent, DbxSelectionValueListViewContentComponent, DbxSetStyleDirective, DbxSidenavButtonComponent, DbxSidenavComponent, DbxSidenavPageComponent, DbxSidenavPagebarComponent, DbxSpacerDirective, DbxSpinnerButtonComponent, DbxStepComponent, DbxStepLayoutModule, DbxStructureDirective, DbxStructureModule, DbxStyleBodyDirective, DbxStyleDirective, DbxStyleLayoutModule, DbxStyleService, DbxSubSectionComponent, DbxSuccessComponent, DbxTextChipsComponent, DbxTextModule, DbxTwoBlocksComponent, DbxTwoColumnBackDirective, DbxTwoColumnColumnHeadComponent, DbxTwoColumnComponent, DbxTwoColumnContextDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnLayoutModule, DbxTwoColumnRightComponent, DbxTwoColumnSrefDirective, DbxTwoColumnSrefShowRightDirective, DbxUIRouterSegueAnchorComponent, DbxUnitedStatesAddressComponent, DbxValueListGridSizeDirective, DbxValueListGridViewComponent, DbxValueListGridViewContentComponent, DbxValueListItemModifier, DbxValueListItemModifierDirective, DbxValueListView, DbxValueListViewComponent, DbxValueListViewContentComponent, DbxValueListViewContentGroupComponent, DbxValueListViewGroupDelegate, DbxWarnComponent, DbxWebAngularRouterModule, DbxWebModule, DbxWebUIRouterModule, DbxWidgetListGridComponent, DbxWidgetListGridViewComponent, DbxWidgetListGridViewItemComponent, DbxWidgetModule, DbxWidgetService, DbxWidgetViewComponent, DbxWindowKeyDownListenerDirective, LoadingComponentState, PopoverPositionStrategy, PopupGlobalPositionStrategy, SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP, SideNavDisplayMode, TRACK_BY_MODEL_ID, TRACK_BY_MODEL_KEY, TwoColumnsContextStore, addConfigToValueListItems, allDbxModelViewTrackerEventModelKeys, allDbxModelViewTrackerEventSetModelKeys, appObjectViewTrackerStorageFactory, catchErrorServerParams, compactModeFromInput, compareScreenMediaWidthTypes, convertServerErrorParams, convertToPOJOServerErrorResponse, convertToServerErrorResponse, dbxColorBackground, dbxPresetFilterMenuButtonIconObservable, dbxPresetFilterMenuButtonTextObservable, dbxValueListItemDecisionFunction, defaultDbxValueListViewGroupDelegate, defaultDbxValueListViewGroupValuesFunction, disableRightClickInCdkBackdrop, index as fromDbxModel, listItemModifier, makeDbxActionSnackbarDisplayConfigGeneratorFunction, mapCompactModeObs, mapValuesToValuesListItemConfigObs, index$1 as onDbxModel, provideDbxListView, provideDbxListViewWrapper, provideDbxPromptConfirm, provideDbxValueListView, provideDbxValueListViewGroupDelegate, provideDbxValueListViewModifier, provideTwoColumnsContext, sanitizeDbxDialogContentConfig, screenMediaWidthTypeIsActive, trackByModelKeyRef, trackByUniqueIdentifier };
|
|
9263
9523
|
//# sourceMappingURL=dereekb-dbx-web.mjs.map
|