@dereekb/dbx-firebase 13.6.6 → 13.6.8
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.
|
@@ -2106,7 +2106,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
2106
2106
|
class DbxFirebaseDevelopmentSchedulerListViewComponent extends AbstractDbxSelectionListViewDirective {
|
|
2107
2107
|
config = {
|
|
2108
2108
|
componentClass: DbxFirebaseDevelopmentSchedulerListViewItemComponent,
|
|
2109
|
-
mapValuesToItemValues: (x) => of(x.map((y) => ({ ...y, icon: y.icon, itemValue: y })))
|
|
2109
|
+
mapValuesToItemValues: (x) => of(x.map((y) => ({ ...y, key: y.name, icon: y.icon, itemValue: y })))
|
|
2110
2110
|
};
|
|
2111
2111
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFirebaseDevelopmentSchedulerListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2112
2112
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.3", type: DbxFirebaseDevelopmentSchedulerListViewComponent, isStandalone: true, selector: "dbx-firebase-development-scheduler-list-view", providers: provideDbxListView(DbxFirebaseDevelopmentSchedulerListViewComponent), usesInheritance: true, ngImport: i0, template: "<dbx-selection-list-view [config]=\"config\"></dbx-selection-list-view>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxSelectionValueListViewComponentImportsModule }, { kind: "component", type: i1$1.DbxSelectionValueListViewComponent, selector: "dbx-selection-list-view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
@@ -2722,10 +2722,11 @@ function provideStorageFileFirestoreCollections(appCollection) {
|
|
|
2722
2722
|
* @returns EnvironmentProviders
|
|
2723
2723
|
*/
|
|
2724
2724
|
function provideDbxFirestoreCollection(config) {
|
|
2725
|
+
const params = config.firestoreContextCacheFactory ? { firestoreContextCacheFactory: config.firestoreContextCacheFactory } : undefined;
|
|
2725
2726
|
const providers = [
|
|
2726
2727
|
{
|
|
2727
2728
|
provide: DBX_FIRESTORE_CONTEXT_TOKEN,
|
|
2728
|
-
useFactory: clientFirebaseFirestoreContextFactory,
|
|
2729
|
+
useFactory: (firestore) => clientFirebaseFirestoreContextFactory(firestore, params),
|
|
2729
2730
|
deps: [Firestore]
|
|
2730
2731
|
},
|
|
2731
2732
|
{
|
|
@@ -3634,7 +3635,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
3634
3635
|
class DbxFirebaseModelTypeInstanceListViewComponent extends AbstractDbxSelectionListViewDirective {
|
|
3635
3636
|
config = {
|
|
3636
3637
|
componentClass: DbxFirebaseModelTypeInstanceListViewItemComponent,
|
|
3637
|
-
mapValuesToItemValues: (x) => of(x.map((y) => ({ itemValue: y, icon: y.displayInfo.icon ?? y.icon, anchor: y.segueRef })))
|
|
3638
|
+
mapValuesToItemValues: (x) => of(x.map((y) => ({ itemValue: y, key: y.key, icon: y.displayInfo.icon ?? y.icon, anchor: y.segueRef })))
|
|
3638
3639
|
};
|
|
3639
3640
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFirebaseModelTypeInstanceListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3640
3641
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.3", type: DbxFirebaseModelTypeInstanceListViewComponent, isStandalone: true, selector: "dbx-firebase-model-type-instance-list-view", providers: provideDbxListView(DbxFirebaseModelTypeInstanceListViewComponent), usesInheritance: true, ngImport: i0, template: "<dbx-selection-list-view [config]=\"config\"></dbx-selection-list-view>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxSelectionValueListViewComponentImportsModule }, { kind: "component", type: i1$1.DbxSelectionValueListViewComponent, selector: "dbx-selection-list-view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
@@ -5646,7 +5647,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.3", ngImpor
|
|
|
5646
5647
|
class DbxFirebaseNotificationItemListViewComponent extends AbstractDbxSelectionListViewDirective {
|
|
5647
5648
|
config = {
|
|
5648
5649
|
componentClass: DbxFirebaseNotificationItemListViewItemComponent,
|
|
5649
|
-
mapValuesToItemValues: (x) => of(x.map((y) => ({ ...y, icon: y.icon, itemValue: y })))
|
|
5650
|
+
mapValuesToItemValues: (x) => of(x.map((y) => ({ ...y, key: y.id, icon: y.icon, itemValue: y })))
|
|
5650
5651
|
};
|
|
5651
5652
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.3", ngImport: i0, type: DbxFirebaseNotificationItemListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5652
5653
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.3", type: DbxFirebaseNotificationItemListViewComponent, isStandalone: true, selector: "dbx-firebase-notificationitem-list-view", providers: provideDbxListView(DbxFirebaseNotificationItemListViewComponent), usesInheritance: true, ngImport: i0, template: "<dbx-selection-list-view [config]=\"config\"></dbx-selection-list-view>", isInline: true, dependencies: [{ kind: "ngmodule", type: DbxSelectionValueListViewComponentImportsModule }, { kind: "component", type: i1$1.DbxSelectionValueListViewComponent, selector: "dbx-selection-list-view" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|